v1

package
v0.30.0 Latest Latest
Warning

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

Go to latest
Published: Dec 19, 2023 License: MIT Imports: 20 Imported by: 2

Documentation ¶

Index ¶

Constants ¶

This section is empty.

Variables ¶

View Source
var (
	JsonCheck = regexp.MustCompile(`(?i:(?:application|text)/(?:[^;]+\+)?json)`)
	XmlCheck  = regexp.MustCompile(`(?i:(?:application|text)/(?:[^;]+\+)?xml)`)
)
View Source
var (
	// ContextAPIKeys takes a string apikey as authentication for the request
	ContextAPIKeys = contextKey("apiKeys")

	// ContextServerIndex uses a server configuration from the index.
	ContextServerIndex = contextKey("serverIndex")

	// ContextOperationServerIndices uses a server configuration from the index mapping.
	ContextOperationServerIndices = contextKey("serverOperationIndices")

	// ContextServerVariables overrides a server configuration variables.
	ContextServerVariables = contextKey("serverVariables")

	// ContextOperationServerVariables overrides a server configuration variables using operation specific values.
	ContextOperationServerVariables = contextKey("serverOperationVariables")
)
View Source
var AllowedBGPSessionInputAddressFamilyEnumValues = []BGPSessionInputAddressFamily{
	"ipv4",
	"ipv6",
}

All allowed values of BGPSessionInputAddressFamily enum

View Source
var AllowedBgpConfigDeploymentTypeEnumValues = []BgpConfigDeploymentType{
	"global",
	"local",
}

All allowed values of BgpConfigDeploymentType enum

View Source
var AllowedBgpConfigRequestInputDeploymentTypeEnumValues = []BgpConfigRequestInputDeploymentType{
	"local",
	"global",
}

All allowed values of BgpConfigRequestInputDeploymentType enum

View Source
var AllowedBgpConfigStatusEnumValues = []BgpConfigStatus{
	"requested",
	"enabled",
	"disabled",
}

All allowed values of BgpConfigStatus enum

View Source
var AllowedBgpDynamicNeighborStateEnumValues = []BgpDynamicNeighborState{
	"active",
	"deleting",
	"pending",
	"ready",
}

All allowed values of BgpDynamicNeighborState enum

View Source
var AllowedBgpSessionAddressFamilyEnumValues = []BgpSessionAddressFamily{
	"ipv4",
	"ipv6",
}

All allowed values of BgpSessionAddressFamily enum

View Source
var AllowedCreateSelfServiceReservationRequestPeriodCountEnumValues = []CreateSelfServiceReservationRequestPeriodCount{
	12,
	36,
}

All allowed values of CreateSelfServiceReservationRequestPeriodCount enum

View Source
var AllowedCreateSelfServiceReservationRequestPeriodUnitEnumValues = []CreateSelfServiceReservationRequestPeriodUnit{
	"monthly",
}

All allowed values of CreateSelfServiceReservationRequestPeriodUnit enum

View Source
var AllowedDedicatedPortCreateInputModeEnumValues = []DedicatedPortCreateInputMode{
	"standard",
	"tunnel",
}

All allowed values of DedicatedPortCreateInputMode enum

View Source
var AllowedDedicatedPortCreateInputTypeEnumValues = []DedicatedPortCreateInputType{
	"dedicated",
}

All allowed values of DedicatedPortCreateInputType enum

View Source
var AllowedDeviceActionInputTypeEnumValues = []DeviceActionInputType{
	"power_on",
	"power_off",
	"reboot",
	"rescue",
	"reinstall",
}

All allowed values of DeviceActionInputType enum

View Source
var AllowedDeviceCreateInputBillingCycleEnumValues = []DeviceCreateInputBillingCycle{
	"hourly",
	"daily",
	"monthly",
	"yearly",
}

All allowed values of DeviceCreateInputBillingCycle enum

View Source
var AllowedDeviceHealthRollupHealthRollupEnumValues = []DeviceHealthRollupHealthRollup{
	"ok",
	"warning",
	"critical",
}

All allowed values of DeviceHealthRollupHealthRollup enum

View Source
var AllowedDeviceStateEnumValues = []DeviceState{
	"queued",
	"provisioning",
	"deprovisioning",
	"reinstalling",
	"active",
	"inactive",
	"failed",
	"powering_on",
	"powering_off",
	"deleted",
}

All allowed values of DeviceState enum

View Source
var AllowedFabricServiceTokenRoleEnumValues = []FabricServiceTokenRole{
	"primary",
	"secondary",
}

All allowed values of FabricServiceTokenRole enum

View Source
var AllowedFabricServiceTokenServiceTokenTypeEnumValues = []FabricServiceTokenServiceTokenType{
	"a_side",
	"z_side",
}

All allowed values of FabricServiceTokenServiceTokenType enum

View Source
var AllowedFabricServiceTokenStateEnumValues = []FabricServiceTokenState{
	"inactive",
	"active",
	"expired",
}

All allowed values of FabricServiceTokenState enum

View Source
var AllowedFacilityFeaturesInnerEnumValues = []FacilityFeaturesInner{
	"baremetal",
	"backend_transfer",
	"layer_2",
	"global_ipv4",
	"ibx",
}

All allowed values of FacilityFeaturesInner enum

View Source
var AllowedFindFacilitiesIncludeParameterInnerEnumValues = []FindFacilitiesIncludeParameterInner{
	"address",
	"labels",
}

All allowed values of FindFacilitiesIncludeParameterInner enum

View Source
var AllowedFindIPAvailabilitiesCidrParameterEnumValues = []FindIPAvailabilitiesCidrParameter{}/* 109 elements not displayed */

All allowed values of FindIPAvailabilitiesCidrParameter enum

View Source
var AllowedFindIPReservationsTypesParameterInnerEnumValues = []FindIPReservationsTypesParameterInner{
	"global_ipv4",
	"private_ipv4",
	"public_ipv4",
	"public_ipv6",
	"vrf",
}

All allowed values of FindIPReservationsTypesParameterInner enum

View Source
var AllowedFindOrganizationDevicesCategoriesParameterInnerEnumValues = []FindOrganizationDevicesCategoriesParameterInner{
	"compute",
	"storage",
	"vmce",
	"legacy_gen",
	"current_gen",
}

All allowed values of FindOrganizationDevicesCategoriesParameterInner enum

View Source
var AllowedFindOrganizationsPersonalParameterEnumValues = []FindOrganizationsPersonalParameter{
	"include",
	"exclude",
	"only",
}

All allowed values of FindOrganizationsPersonalParameter enum

View Source
var AllowedFindPlansTypeParameterEnumValues = []FindPlansTypeParameter{
	"standard",
	"workload_optimized",
	"custom",
}

All allowed values of FindPlansTypeParameter enum

View Source
var AllowedFindProjectHardwareReservationsProvisionableParameterEnumValues = []FindProjectHardwareReservationsProvisionableParameter{
	"only",
}

All allowed values of FindProjectHardwareReservationsProvisionableParameter enum

View Source
var AllowedFindProjectHardwareReservationsStateParameterEnumValues = []FindProjectHardwareReservationsStateParameter{
	"active",
	"spare",
	"need_of_service",
}

All allowed values of FindProjectHardwareReservationsStateParameter enum

View Source
var AllowedFindTrafficBucketParameterEnumValues = []FindTrafficBucketParameter{
	"internal",
	"external",
}

All allowed values of FindTrafficBucketParameter enum

View Source
var AllowedFindTrafficDirectionParameterEnumValues = []FindTrafficDirectionParameter{
	"inbound",
	"outbound",
}

All allowed values of FindTrafficDirectionParameter enum

View Source
var AllowedFindTrafficIntervalParameterEnumValues = []FindTrafficIntervalParameter{
	"minute",
	"hour",
	"day",
	"week",
	"month",
	"year",
	"hour_of_day",
	"day_of_week",
	"day_of_month",
	"month_of_year",
}

All allowed values of FindTrafficIntervalParameter enum

View Source
var AllowedIPAddressAddressFamilyEnumValues = []IPAddressAddressFamily{
	4,
	6,
}

All allowed values of IPAddressAddressFamily enum

View Source
var AllowedIPAssignmentStateEnumValues = []IPAssignmentState{
	"pending",
	"active",
	"deleting",
}

All allowed values of IPAssignmentState enum

View Source
var AllowedIPAssignmentTypeEnumValues = []IPAssignmentType{
	"IPAssignment",
}

All allowed values of IPAssignmentType enum

View Source
var AllowedIPReservationTypeEnumValues = []IPReservationType{
	"global_ipv4",
	"public_ipv4",
	"private_ipv4",
	"public_ipv6",
}

All allowed values of IPReservationType enum

View Source
var AllowedInterconnectionModeEnumValues = []InterconnectionMode{
	"standard",
	"tunnel",
}

All allowed values of InterconnectionMode enum

View Source
var AllowedInterconnectionPortRoleEnumValues = []InterconnectionPortRole{
	"primary",
	"secondary",
}

All allowed values of InterconnectionPortRole enum

View Source
var AllowedInterconnectionPortStatusEnumValues = []InterconnectionPortStatus{
	"requested",
	"active",
	"deleting",
	"expired",
	"delete_failed",
}

All allowed values of InterconnectionPortStatus enum

View Source
var AllowedInterconnectionRedundancyEnumValues = []InterconnectionRedundancy{
	"primary",
	"redundant",
}

All allowed values of InterconnectionRedundancy enum

View Source
var AllowedInterconnectionTypeEnumValues = []InterconnectionType{
	"shared",
	"dedicated",
}

All allowed values of InterconnectionType enum

View Source
var AllowedInvitationRolesInnerEnumValues = []InvitationRolesInner{
	"admin",
	"billing",
	"collaborator",
	"limited_collaborator",
}

All allowed values of InvitationRolesInner enum

View Source
var AllowedMetalGatewayStateEnumValues = []MetalGatewayState{
	"ready",
	"active",
	"deleting",
}

All allowed values of MetalGatewayState enum

View Source
var AllowedPlanDeploymentTypesInnerEnumValues = []PlanDeploymentTypesInner{
	"on_demand",
	"spot_market",
}

All allowed values of PlanDeploymentTypesInner enum

View Source
var AllowedPlanSpecsDrivesInnerCategoryEnumValues = []PlanSpecsDrivesInnerCategory{
	"boot",
	"cache",
	"storage",
}

All allowed values of PlanSpecsDrivesInnerCategory enum

View Source
var AllowedPlanTypeEnumValues = []PlanType{
	"standard",
	"workload_optimized",
	"custom",
}

All allowed values of PlanType enum

View Source
var AllowedPortNetworkTypeEnumValues = []PortNetworkType{
	"layer2-bonded",
	"layer2-individual",
	"layer3",
	"hybrid",
	"hybrid-bonded",
}

All allowed values of PortNetworkType enum

View Source
var AllowedPortTypeEnumValues = []PortType{
	"NetworkPort",
	"NetworkBondPort",
}

All allowed values of PortType enum

View Source
var AllowedPortVlanAssignmentBatchStateEnumValues = []PortVlanAssignmentBatchState{
	"queued",
	"in_progress",
	"completed",
	"failed",
}

All allowed values of PortVlanAssignmentBatchState enum

View Source
var AllowedPortVlanAssignmentBatchVlanAssignmentsInnerStateEnumValues = []PortVlanAssignmentBatchVlanAssignmentsInnerState{
	"assigned",
	"unassigned",
}

All allowed values of PortVlanAssignmentBatchVlanAssignmentsInnerState enum

View Source
var AllowedPortVlanAssignmentStateEnumValues = []PortVlanAssignmentState{
	"assigned",
	"unassigning",
}

All allowed values of PortVlanAssignmentState enum

View Source
var AllowedProjectCreateFromRootInputTypeEnumValues = []ProjectCreateFromRootInputType{
	"default",
	"vmce",
}

All allowed values of ProjectCreateFromRootInputType enum

View Source
var AllowedProjectTypeEnumValues = []ProjectType{
	"default",
	"vmce",
}

All allowed values of ProjectType enum

View Source
var AllowedSupportRequestInputPriorityEnumValues = []SupportRequestInputPriority{
	"urgent",
	"high",
	"medium",
	"low",
}

All allowed values of SupportRequestInputPriority enum

View Source
var AllowedVlanFabricVcCreateInputServiceTokenTypeEnumValues = []VlanFabricVcCreateInputServiceTokenType{
	"a_side",
	"z_side",
}

All allowed values of VlanFabricVcCreateInputServiceTokenType enum

View Source
var AllowedVlanFabricVcCreateInputTypeEnumValues = []VlanFabricVcCreateInputType{
	"shared",
}

All allowed values of VlanFabricVcCreateInputType enum

View Source
var AllowedVlanVirtualCircuitStatusEnumValues = []VlanVirtualCircuitStatus{
	"pending",
	"waiting_on_customer_vlan",
	"activating",
	"changing_vlan",
	"deactivating",
	"deleting",
	"active",
	"expired",
	"activation_failed",
	"changing_vlan_failed",
	"deactivation_failed",
	"delete_failed",
}

All allowed values of VlanVirtualCircuitStatus enum

View Source
var AllowedVlanVirtualCircuitTypeEnumValues = []VlanVirtualCircuitType{
	"vlan",
}

All allowed values of VlanVirtualCircuitType enum

View Source
var AllowedVrfIpReservationTypeEnumValues = []VrfIpReservationType{
	"vrf",
}

All allowed values of VrfIpReservationType enum

View Source
var AllowedVrfRouteStatusEnumValues = []VrfRouteStatus{
	"pending",
	"active",
	"deleting",
	"error",
}

All allowed values of VrfRouteStatus enum

View Source
var AllowedVrfRouteTypeEnumValues = []VrfRouteType{
	"static",
}

All allowed values of VrfRouteType enum

View Source
var AllowedVrfVirtualCircuitStatusEnumValues = []VrfVirtualCircuitStatus{
	"pending",
	"waiting_on_peering_details",
	"activating",
	"changing_peering_details",
	"deactivating",
	"deleting",
	"active",
	"expired",
	"activation_failed",
	"changing_peering_details_failed",
	"deactivation_failed",
	"delete_failed",
}

All allowed values of VrfVirtualCircuitStatus enum

Functions ¶

func CacheExpires ¶

func CacheExpires(r *http.Response) time.Time

CacheExpires helper function to determine remaining time before repeating a request.

func IsNil ¶ added in v0.9.0

func IsNil(i interface{}) bool

IsNil checks if an input is nil

func PtrBool ¶

func PtrBool(v bool) *bool

PtrBool is a helper routine that returns a pointer to given boolean value.

func PtrFloat32 ¶

func PtrFloat32(v float32) *float32

PtrFloat32 is a helper routine that returns a pointer to given float value.

func PtrFloat64 ¶

func PtrFloat64(v float64) *float64

PtrFloat64 is a helper routine that returns a pointer to given float value.

func PtrInt ¶

func PtrInt(v int) *int

PtrInt is a helper routine that returns a pointer to given integer value.

func PtrInt32 ¶

func PtrInt32(v int32) *int32

PtrInt32 is a helper routine that returns a pointer to given integer value.

func PtrInt64 ¶

func PtrInt64(v int64) *int64

PtrInt64 is a helper routine that returns a pointer to given integer value.

func PtrString ¶

func PtrString(v string) *string

PtrString is a helper routine that returns a pointer to given string value.

func PtrTime ¶

func PtrTime(v time.Time) *time.Time

PtrTime is helper routine that returns a pointer to given Time value.

Types ¶

type APIClient ¶

type APIClient struct {
	AuthenticationApi *AuthenticationApiService

	BGPApi *BGPApiService

	BatchesApi *BatchesApiService

	CapacityApi *CapacityApiService

	ConsoleLogDetailsApi *ConsoleLogDetailsApiService

	DevicesApi *DevicesApiService

	EmailsApi *EmailsApiService

	EventsApi *EventsApiService

	FacilitiesApi *FacilitiesApiService

	FirmwareSetsApi *FirmwareSetsApiService

	HardwareReservationsApi *HardwareReservationsApiService

	IPAddressesApi *IPAddressesApiService

	IncidentsApi *IncidentsApiService

	InterconnectionsApi *InterconnectionsApiService

	InvitationsApi *InvitationsApiService

	InvoicesApi *InvoicesApiService

	LicensesApi *LicensesApiService

	MembershipsApi *MembershipsApiService

	MetalGatewaysApi *MetalGatewaysApiService

	MetrosApi *MetrosApiService

	OTPsApi *OTPsApiService

	OperatingSystemsApi *OperatingSystemsApiService

	OrganizationsApi *OrganizationsApiService

	PasswordResetTokensApi *PasswordResetTokensApiService

	PaymentMethodsApi *PaymentMethodsApiService

	PlansApi *PlansApiService

	PortsApi *PortsApiService

	ProjectsApi *ProjectsApiService

	SSHKeysApi *SSHKeysApiService

	SelfServiceReservationsApi *SelfServiceReservationsApiService

	SpotMarketApi *SpotMarketApiService

	SupportRequestApi *SupportRequestApiService

	TransferRequestsApi *TransferRequestsApiService

	TwoFactorAuthApi *TwoFactorAuthApiService

	UsagesApi *UsagesApiService

	UserVerificationTokensApi *UserVerificationTokensApiService

	UserdataApi *UserdataApiService

	UsersApi *UsersApiService

	VLANsApi *VLANsApiService

	VRFsApi *VRFsApiService
	// contains filtered or unexported fields
}

APIClient manages communication with the Metal API API v1.0.0 In most cases there should be only one, shared, APIClient.

func NewAPIClient ¶

func NewAPIClient(cfg *Configuration) *APIClient

NewAPIClient creates a new API client. Requires a userAgent string describing your application. optionally a custom http.Client to allow for advanced features such as caching.

func (*APIClient) GetConfig ¶

func (c *APIClient) GetConfig() *Configuration

Allow modification of underlying config for alternate implementations and testing Caution: modifying the configuration while live can cause data races and potentially unwanted behavior

type APIKey ¶

type APIKey struct {
	Key    string
	Prefix string
}

APIKey provides API key based authentication to a request passed via context using ContextAPIKey

type APIResponse ¶

type APIResponse struct {
	*http.Response `json:"-"`
	Message        string `json:"message,omitempty"`
	// Operation is the name of the OpenAPI operation.
	Operation string `json:"operation,omitempty"`
	// RequestURL is the request URL. This value is always available, even if the
	// embedded *http.Response is nil.
	RequestURL string `json:"url,omitempty"`
	// Method is the HTTP method used for the request.  This value is always
	// available, even if the embedded *http.Response is nil.
	Method string `json:"method,omitempty"`
	// Payload holds the contents of the response body (which may be nil or empty).
	// This is provided here as the raw response.Body() reader will have already
	// been drained.
	Payload []byte `json:"-"`
}

APIResponse stores the API response returned by the server.

func NewAPIResponse ¶

func NewAPIResponse(r *http.Response) *APIResponse

NewAPIResponse returns a new APIResponse object.

func NewAPIResponseWithError ¶

func NewAPIResponseWithError(errorMessage string) *APIResponse

NewAPIResponseWithError returns a new APIResponse object with the provided error message.

type ActivateHardwareReservationRequest ¶ added in v0.5.0

type ActivateHardwareReservationRequest struct {
	Description          *string `json:"description,omitempty"`
	AdditionalProperties map[string]interface{}
}

ActivateHardwareReservationRequest struct for ActivateHardwareReservationRequest

func NewActivateHardwareReservationRequest ¶ added in v0.5.0

func NewActivateHardwareReservationRequest() *ActivateHardwareReservationRequest

NewActivateHardwareReservationRequest instantiates a new ActivateHardwareReservationRequest object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewActivateHardwareReservationRequestWithDefaults ¶ added in v0.5.0

func NewActivateHardwareReservationRequestWithDefaults() *ActivateHardwareReservationRequest

NewActivateHardwareReservationRequestWithDefaults instantiates a new ActivateHardwareReservationRequest object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*ActivateHardwareReservationRequest) GetDescription ¶ added in v0.5.0

func (o *ActivateHardwareReservationRequest) GetDescription() string

GetDescription returns the Description field value if set, zero value otherwise.

func (*ActivateHardwareReservationRequest) GetDescriptionOk ¶ added in v0.5.0

func (o *ActivateHardwareReservationRequest) GetDescriptionOk() (*string, bool)

GetDescriptionOk returns a tuple with the Description field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ActivateHardwareReservationRequest) HasDescription ¶ added in v0.5.0

func (o *ActivateHardwareReservationRequest) HasDescription() bool

HasDescription returns a boolean if a field has been set.

func (ActivateHardwareReservationRequest) MarshalJSON ¶ added in v0.5.0

func (o ActivateHardwareReservationRequest) MarshalJSON() ([]byte, error)

func (*ActivateHardwareReservationRequest) SetDescription ¶ added in v0.5.0

func (o *ActivateHardwareReservationRequest) SetDescription(v string)

SetDescription gets a reference to the given string and assigns it to the Description field.

func (ActivateHardwareReservationRequest) ToMap ¶ added in v0.5.0

func (o ActivateHardwareReservationRequest) ToMap() (map[string]interface{}, error)

func (*ActivateHardwareReservationRequest) UnmarshalJSON ¶ added in v0.7.0

func (o *ActivateHardwareReservationRequest) UnmarshalJSON(bytes []byte) (err error)

type Address ¶

type Address struct {
	Address              string       `json:"address"`
	Address2             *string      `json:"address2,omitempty"`
	City                 *string      `json:"city,omitempty"`
	Coordinates          *Coordinates `json:"coordinates,omitempty"`
	Country              string       `json:"country"`
	State                *string      `json:"state,omitempty"`
	ZipCode              string       `json:"zip_code"`
	AdditionalProperties map[string]interface{}
}

Address struct for Address

func NewAddress ¶

func NewAddress(address string, country string, zipCode string) *Address

NewAddress instantiates a new Address object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewAddressWithDefaults ¶

func NewAddressWithDefaults() *Address

NewAddressWithDefaults instantiates a new Address object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*Address) GetAddress ¶

func (o *Address) GetAddress() string

GetAddress returns the Address field value

func (*Address) GetAddress2 ¶

func (o *Address) GetAddress2() string

GetAddress2 returns the Address2 field value if set, zero value otherwise.

func (*Address) GetAddress2Ok ¶

func (o *Address) GetAddress2Ok() (*string, bool)

GetAddress2Ok returns a tuple with the Address2 field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Address) GetAddressOk ¶

func (o *Address) GetAddressOk() (*string, bool)

GetAddressOk returns a tuple with the Address field value and a boolean to check if the value has been set.

func (*Address) GetCity ¶

func (o *Address) GetCity() string

GetCity returns the City field value if set, zero value otherwise.

func (*Address) GetCityOk ¶

func (o *Address) GetCityOk() (*string, bool)

GetCityOk returns a tuple with the City field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Address) GetCoordinates ¶

func (o *Address) GetCoordinates() Coordinates

GetCoordinates returns the Coordinates field value if set, zero value otherwise.

func (*Address) GetCoordinatesOk ¶

func (o *Address) GetCoordinatesOk() (*Coordinates, bool)

GetCoordinatesOk returns a tuple with the Coordinates field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Address) GetCountry ¶

func (o *Address) GetCountry() string

GetCountry returns the Country field value

func (*Address) GetCountryOk ¶

func (o *Address) GetCountryOk() (*string, bool)

GetCountryOk returns a tuple with the Country field value and a boolean to check if the value has been set.

func (*Address) GetState ¶

func (o *Address) GetState() string

GetState returns the State field value if set, zero value otherwise.

func (*Address) GetStateOk ¶

func (o *Address) GetStateOk() (*string, bool)

GetStateOk returns a tuple with the State field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Address) GetZipCode ¶

func (o *Address) GetZipCode() string

GetZipCode returns the ZipCode field value

func (*Address) GetZipCodeOk ¶

func (o *Address) GetZipCodeOk() (*string, bool)

GetZipCodeOk returns a tuple with the ZipCode field value and a boolean to check if the value has been set.

func (*Address) HasAddress2 ¶

func (o *Address) HasAddress2() bool

HasAddress2 returns a boolean if a field has been set.

func (*Address) HasCity ¶

func (o *Address) HasCity() bool

HasCity returns a boolean if a field has been set.

func (*Address) HasCoordinates ¶

func (o *Address) HasCoordinates() bool

HasCoordinates returns a boolean if a field has been set.

func (*Address) HasState ¶

func (o *Address) HasState() bool

HasState returns a boolean if a field has been set.

func (Address) MarshalJSON ¶

func (o Address) MarshalJSON() ([]byte, error)

func (*Address) SetAddress ¶

func (o *Address) SetAddress(v string)

SetAddress sets field value

func (*Address) SetAddress2 ¶

func (o *Address) SetAddress2(v string)

SetAddress2 gets a reference to the given string and assigns it to the Address2 field.

func (*Address) SetCity ¶

func (o *Address) SetCity(v string)

SetCity gets a reference to the given string and assigns it to the City field.

func (*Address) SetCoordinates ¶

func (o *Address) SetCoordinates(v Coordinates)

SetCoordinates gets a reference to the given Coordinates and assigns it to the Coordinates field.

func (*Address) SetCountry ¶

func (o *Address) SetCountry(v string)

SetCountry sets field value

func (*Address) SetState ¶

func (o *Address) SetState(v string)

SetState gets a reference to the given string and assigns it to the State field.

func (*Address) SetZipCode ¶

func (o *Address) SetZipCode(v string)

SetZipCode sets field value

func (Address) ToMap ¶ added in v0.4.0

func (o Address) ToMap() (map[string]interface{}, error)

func (*Address) UnmarshalJSON ¶ added in v0.7.0

func (o *Address) UnmarshalJSON(bytes []byte) (err error)

type ApiAcceptInvitationRequest ¶

type ApiAcceptInvitationRequest struct {
	ApiService *InvitationsApiService
	// contains filtered or unexported fields
}

func (ApiAcceptInvitationRequest) Execute ¶

func (ApiAcceptInvitationRequest) Include ¶ added in v0.15.0

Nested attributes to include. Included objects will return their full attributes. Attribute names can be dotted (up to 3 levels) to included deeply nested objects.

type ApiAcceptTransferRequestRequest ¶

type ApiAcceptTransferRequestRequest struct {
	ApiService *TransferRequestsApiService
	// contains filtered or unexported fields
}

func (ApiAcceptTransferRequestRequest) Execute ¶

type ApiActivateHardwareReservationRequest ¶ added in v0.5.0

type ApiActivateHardwareReservationRequest struct {
	ApiService *HardwareReservationsApiService
	// contains filtered or unexported fields
}

func (ApiActivateHardwareReservationRequest) ActivateHardwareReservationRequest ¶ added in v0.5.0

func (r ApiActivateHardwareReservationRequest) ActivateHardwareReservationRequest(activateHardwareReservationRequest ActivateHardwareReservationRequest) ApiActivateHardwareReservationRequest

Note to attach to the reservation

func (ApiActivateHardwareReservationRequest) Exclude ¶ added in v0.15.0

Nested attributes to exclude. Excluded objects will return only the href attribute. Attribute names can be dotted (up to 3 levels) to exclude deeply nested objects.

func (ApiActivateHardwareReservationRequest) Execute ¶ added in v0.5.0

func (ApiActivateHardwareReservationRequest) Include ¶ added in v0.15.0

Nested attributes to include. Included objects will return their full attributes. Attribute names can be dotted (up to 3 levels) to included deeply nested objects.

type ApiAssignNativeVlanRequest ¶

type ApiAssignNativeVlanRequest struct {
	ApiService *PortsApiService
	// contains filtered or unexported fields
}

func (ApiAssignNativeVlanRequest) Execute ¶

func (ApiAssignNativeVlanRequest) Include ¶ added in v0.15.0

Nested attributes to include. Included objects will return their full attributes. Attribute names can be dotted (up to 3 levels) to included deeply nested objects.

func (ApiAssignNativeVlanRequest) Vnid ¶

Virtual Network ID. May be the UUID of the Virtual Network record, or the VLAN value itself (ex: '1001').

type ApiAssignPortRequest ¶

type ApiAssignPortRequest struct {
	ApiService *PortsApiService
	// contains filtered or unexported fields
}

func (ApiAssignPortRequest) Execute ¶

func (r ApiAssignPortRequest) Execute() (*Port, *http.Response, error)

func (ApiAssignPortRequest) Include ¶ added in v0.15.0

func (r ApiAssignPortRequest) Include(include []string) ApiAssignPortRequest

Nested attributes to include. Included objects will return their full attributes. Attribute names can be dotted (up to 3 levels) to included deeply nested objects.

func (ApiAssignPortRequest) PortAssignInput ¶ added in v0.4.0

func (r ApiAssignPortRequest) PortAssignInput(portAssignInput PortAssignInput) ApiAssignPortRequest

Virtual Network ID. May be the UUID of the Virtual Network record, or the VLAN value itself (ex: '1001').

type ApiBgpDynamicNeighborsIdGetRequest ¶ added in v0.9.0

type ApiBgpDynamicNeighborsIdGetRequest struct {
	ApiService *VRFsApiService
	// contains filtered or unexported fields
}

func (ApiBgpDynamicNeighborsIdGetRequest) Exclude ¶ added in v0.9.0

Nested attributes to exclude. Excluded objects will return only the href attribute. Attribute names can be dotted (up to 3 levels) to exclude deeply nested objects.

func (ApiBgpDynamicNeighborsIdGetRequest) Execute ¶ added in v0.9.0

func (ApiBgpDynamicNeighborsIdGetRequest) Include ¶ added in v0.9.0

Nested attributes to include. Included objects will return their full attributes. Attribute names can be dotted (up to 3 levels) to included deeply nested objects.

type ApiBondPortRequest ¶

type ApiBondPortRequest struct {
	ApiService *PortsApiService
	// contains filtered or unexported fields
}

func (ApiBondPortRequest) BulkEnable ¶

func (r ApiBondPortRequest) BulkEnable(bulkEnable bool) ApiBondPortRequest

enable both ports

func (ApiBondPortRequest) Execute ¶

func (r ApiBondPortRequest) Execute() (*Port, *http.Response, error)

func (ApiBondPortRequest) Include ¶ added in v0.15.0

func (r ApiBondPortRequest) Include(include []string) ApiBondPortRequest

Nested attributes to include. Included objects will return their full attributes. Attribute names can be dotted (up to 3 levels) to included deeply nested objects.

type ApiCaptureScreenshotRequest ¶ added in v0.24.0

type ApiCaptureScreenshotRequest struct {
	ApiService *ConsoleLogDetailsApiService
	// contains filtered or unexported fields
}

func (ApiCaptureScreenshotRequest) Execute ¶ added in v0.24.0

type ApiCheckCapacityForFacilityRequest ¶

type ApiCheckCapacityForFacilityRequest struct {
	ApiService *CapacityApiService
	// contains filtered or unexported fields
}

func (ApiCheckCapacityForFacilityRequest) CapacityInput ¶ added in v0.4.0

Facility to check capacity in

func (ApiCheckCapacityForFacilityRequest) Execute ¶

type ApiCheckCapacityForMetroRequest ¶

type ApiCheckCapacityForMetroRequest struct {
	ApiService *CapacityApiService
	// contains filtered or unexported fields
}

func (ApiCheckCapacityForMetroRequest) CapacityInput ¶ added in v0.10.0

Metro to check capacity in

func (ApiCheckCapacityForMetroRequest) Execute ¶

type ApiConsumeVerificationRequestRequest ¶

type ApiConsumeVerificationRequestRequest struct {
	ApiService *UserVerificationTokensApiService
	// contains filtered or unexported fields
}

func (ApiConsumeVerificationRequestRequest) Execute ¶

func (ApiConsumeVerificationRequestRequest) Include ¶ added in v0.15.0

Nested attributes to include. Included objects will return their full attributes. Attribute names can be dotted (up to 3 levels) to included deeply nested objects.

func (ApiConsumeVerificationRequestRequest) VerifyEmail ¶ added in v0.4.0

Email to create

type ApiConvertLayer2Request ¶

type ApiConvertLayer2Request struct {
	ApiService *PortsApiService
	// contains filtered or unexported fields
}

func (ApiConvertLayer2Request) Execute ¶

func (r ApiConvertLayer2Request) Execute() (*Port, *http.Response, error)

func (ApiConvertLayer2Request) Include ¶ added in v0.15.0

Nested attributes to include. Included objects will return their full attributes. Attribute names can be dotted (up to 3 levels) to included deeply nested objects.

func (ApiConvertLayer2Request) PortAssignInput ¶ added in v0.4.0

func (r ApiConvertLayer2Request) PortAssignInput(portAssignInput PortAssignInput) ApiConvertLayer2Request

Virtual Network ID. May be the UUID of the Virtual Network record, or the VLAN value itself (ex: '1001').

type ApiConvertLayer3Request ¶

type ApiConvertLayer3Request struct {
	ApiService *PortsApiService
	// contains filtered or unexported fields
}

func (ApiConvertLayer3Request) Execute ¶

func (r ApiConvertLayer3Request) Execute() (*Port, *http.Response, error)

func (ApiConvertLayer3Request) Include ¶ added in v0.15.0

Nested attributes to include. Included objects will return their full attributes. Attribute names can be dotted (up to 3 levels) to included deeply nested objects.

func (ApiConvertLayer3Request) PortConvertLayer3Input ¶ added in v0.4.0

func (r ApiConvertLayer3Request) PortConvertLayer3Input(portConvertLayer3Input PortConvertLayer3Input) ApiConvertLayer3Request

IPs to request

type ApiCreateAPIKeyRequest ¶

type ApiCreateAPIKeyRequest struct {
	ApiService *AuthenticationApiService
	// contains filtered or unexported fields
}

func (ApiCreateAPIKeyRequest) AuthTokenInput ¶ added in v0.4.0

func (r ApiCreateAPIKeyRequest) AuthTokenInput(authTokenInput AuthTokenInput) ApiCreateAPIKeyRequest

API key to create

func (ApiCreateAPIKeyRequest) Execute ¶

func (ApiCreateAPIKeyRequest) Include ¶ added in v0.15.0

Nested attributes to include. Included objects will return their full attributes. Attribute names can be dotted (up to 3 levels) to included deeply nested objects.

type ApiCreateBgpDynamicNeighborRequest ¶ added in v0.9.0

type ApiCreateBgpDynamicNeighborRequest struct {
	ApiService *VRFsApiService
	// contains filtered or unexported fields
}

func (ApiCreateBgpDynamicNeighborRequest) BgpDynamicNeighborCreateInput ¶ added in v0.9.0

func (r ApiCreateBgpDynamicNeighborRequest) BgpDynamicNeighborCreateInput(bgpDynamicNeighborCreateInput BgpDynamicNeighborCreateInput) ApiCreateBgpDynamicNeighborRequest

func (ApiCreateBgpDynamicNeighborRequest) Exclude ¶ added in v0.9.0

Nested attributes to exclude. Excluded objects will return only the href attribute. Attribute names can be dotted (up to 3 levels) to exclude deeply nested objects.

func (ApiCreateBgpDynamicNeighborRequest) Execute ¶ added in v0.9.0

func (ApiCreateBgpDynamicNeighborRequest) Include ¶ added in v0.9.0

Nested attributes to include. Included objects will return their full attributes. Attribute names can be dotted (up to 3 levels) to included deeply nested objects.

type ApiCreateBgpSessionRequest ¶

type ApiCreateBgpSessionRequest struct {
	ApiService *DevicesApiService
	// contains filtered or unexported fields
}

func (ApiCreateBgpSessionRequest) BGPSessionInput ¶ added in v0.4.0

func (r ApiCreateBgpSessionRequest) BGPSessionInput(bGPSessionInput BGPSessionInput) ApiCreateBgpSessionRequest

BGP session to create

func (ApiCreateBgpSessionRequest) Execute ¶

func (ApiCreateBgpSessionRequest) Include ¶ added in v0.15.0

Nested attributes to include. Included objects will return their full attributes. Attribute names can be dotted (up to 3 levels) to included deeply nested objects.

type ApiCreateDeviceBatchRequest ¶

type ApiCreateDeviceBatchRequest struct {
	ApiService *BatchesApiService
	// contains filtered or unexported fields
}

func (ApiCreateDeviceBatchRequest) Execute ¶

func (ApiCreateDeviceBatchRequest) InstancesBatchCreateInput ¶ added in v0.4.0

func (r ApiCreateDeviceBatchRequest) InstancesBatchCreateInput(instancesBatchCreateInput InstancesBatchCreateInput) ApiCreateDeviceBatchRequest

Batches to create

type ApiCreateDeviceRequest ¶

type ApiCreateDeviceRequest struct {
	ApiService *DevicesApiService
	// contains filtered or unexported fields
}

func (ApiCreateDeviceRequest) CreateDeviceRequest ¶ added in v0.3.0

func (r ApiCreateDeviceRequest) CreateDeviceRequest(createDeviceRequest CreateDeviceRequest) ApiCreateDeviceRequest

Device to create

func (ApiCreateDeviceRequest) Exclude ¶ added in v0.9.0

Nested attributes to exclude. Excluded objects will return only the href attribute. Attribute names can be dotted (up to 3 levels) to exclude deeply nested objects.

func (ApiCreateDeviceRequest) Execute ¶

func (r ApiCreateDeviceRequest) Execute() (*Device, *http.Response, error)

func (ApiCreateDeviceRequest) Include ¶ added in v0.9.0

Nested attributes to include. Included objects will return their full attributes. Attribute names can be dotted (up to 3 levels) to included deeply nested objects.

type ApiCreateEmailRequest ¶

type ApiCreateEmailRequest struct {
	ApiService *EmailsApiService
	// contains filtered or unexported fields
}

func (ApiCreateEmailRequest) CreateEmailInput ¶ added in v0.4.0

func (r ApiCreateEmailRequest) CreateEmailInput(createEmailInput CreateEmailInput) ApiCreateEmailRequest

Email to create

func (ApiCreateEmailRequest) Execute ¶

func (r ApiCreateEmailRequest) Execute() (*Email, *http.Response, error)

type ApiCreateIPAssignmentRequest ¶

type ApiCreateIPAssignmentRequest struct {
	ApiService *DevicesApiService
	// contains filtered or unexported fields
}

func (ApiCreateIPAssignmentRequest) Exclude ¶ added in v0.9.0

Nested attributes to exclude. Excluded objects will return only the href attribute. Attribute names can be dotted (up to 3 levels) to exclude deeply nested objects.

func (ApiCreateIPAssignmentRequest) Execute ¶

func (ApiCreateIPAssignmentRequest) IPAssignmentInput ¶ added in v0.4.0

func (r ApiCreateIPAssignmentRequest) IPAssignmentInput(iPAssignmentInput IPAssignmentInput) ApiCreateIPAssignmentRequest

IPAssignment to create

func (ApiCreateIPAssignmentRequest) Include ¶ added in v0.9.0

Nested attributes to include. Included objects will return their full attributes. Attribute names can be dotted (up to 3 levels) to included deeply nested objects.

type ApiCreateInterconnectionPortVirtualCircuitRequest ¶ added in v0.3.0

type ApiCreateInterconnectionPortVirtualCircuitRequest struct {
	ApiService *InterconnectionsApiService
	// contains filtered or unexported fields
}

func (ApiCreateInterconnectionPortVirtualCircuitRequest) Execute ¶ added in v0.3.0

func (ApiCreateInterconnectionPortVirtualCircuitRequest) VirtualCircuitCreateInput ¶ added in v0.8.0

Virtual Circuit details

type ApiCreateLicenseRequest ¶

type ApiCreateLicenseRequest struct {
	ApiService *LicensesApiService
	// contains filtered or unexported fields
}

func (ApiCreateLicenseRequest) Exclude ¶ added in v0.15.0

Nested attributes to exclude. Excluded objects will return only the href attribute. Attribute names can be dotted (up to 3 levels) to exclude deeply nested objects.

func (ApiCreateLicenseRequest) Execute ¶

func (ApiCreateLicenseRequest) Include ¶ added in v0.15.0

Nested attributes to include. Included objects will return their full attributes. Attribute names can be dotted (up to 3 levels) to included deeply nested objects.

func (ApiCreateLicenseRequest) LicenseCreateInput ¶ added in v0.4.0

func (r ApiCreateLicenseRequest) LicenseCreateInput(licenseCreateInput LicenseCreateInput) ApiCreateLicenseRequest

License to create

type ApiCreateMetalGatewayElasticIpRequest ¶ added in v0.8.0

type ApiCreateMetalGatewayElasticIpRequest struct {
	ApiService *MetalGatewaysApiService
	// contains filtered or unexported fields
}

func (ApiCreateMetalGatewayElasticIpRequest) Exclude ¶ added in v0.15.0

Nested attributes to exclude. Excluded objects will return only the href attribute. Attribute names can be dotted (up to 3 levels) to exclude deeply nested objects.

func (ApiCreateMetalGatewayElasticIpRequest) Execute ¶ added in v0.8.0

func (ApiCreateMetalGatewayElasticIpRequest) Include ¶ added in v0.15.0

Nested attributes to include. Included objects will return their full attributes. Attribute names can be dotted (up to 3 levels) to included deeply nested objects.

func (ApiCreateMetalGatewayElasticIpRequest) MetalGatewayElasticIpCreateInput ¶ added in v0.8.0

func (r ApiCreateMetalGatewayElasticIpRequest) MetalGatewayElasticIpCreateInput(metalGatewayElasticIpCreateInput MetalGatewayElasticIpCreateInput) ApiCreateMetalGatewayElasticIpRequest

type ApiCreateMetalGatewayRequest ¶

type ApiCreateMetalGatewayRequest struct {
	ApiService *MetalGatewaysApiService
	// contains filtered or unexported fields
}

func (ApiCreateMetalGatewayRequest) CreateMetalGatewayRequest ¶ added in v0.3.0

func (r ApiCreateMetalGatewayRequest) CreateMetalGatewayRequest(createMetalGatewayRequest CreateMetalGatewayRequest) ApiCreateMetalGatewayRequest

Metal Gateway to create

func (ApiCreateMetalGatewayRequest) Exclude ¶ added in v0.6.0

Nested attributes to exclude. Excluded objects will return only the href attribute. Attribute names can be dotted (up to 3 levels) to exclude deeply nested objects.

func (ApiCreateMetalGatewayRequest) Execute ¶

func (ApiCreateMetalGatewayRequest) Include ¶ added in v0.6.0

Nested attributes to include. Included objects will return their full attributes. Attribute names can be dotted (up to 3 levels) to included deeply nested objects.

func (ApiCreateMetalGatewayRequest) Page ¶

Page to return

func (ApiCreateMetalGatewayRequest) PerPage ¶

Items returned per page

type ApiCreateOrganizationInterconnectionRequest ¶

type ApiCreateOrganizationInterconnectionRequest struct {
	ApiService *InterconnectionsApiService
	// contains filtered or unexported fields
}

func (ApiCreateOrganizationInterconnectionRequest) CreateOrganizationInterconnectionRequest ¶ added in v0.3.0

func (r ApiCreateOrganizationInterconnectionRequest) CreateOrganizationInterconnectionRequest(createOrganizationInterconnectionRequest CreateOrganizationInterconnectionRequest) ApiCreateOrganizationInterconnectionRequest

Dedicated port or shared interconnection (also known as Fabric VC) creation request

func (ApiCreateOrganizationInterconnectionRequest) Exclude ¶ added in v0.15.0

Nested attributes to exclude. Excluded objects will return only the href attribute. Attribute names can be dotted (up to 3 levels) to exclude deeply nested objects.

func (ApiCreateOrganizationInterconnectionRequest) Execute ¶

func (ApiCreateOrganizationInterconnectionRequest) Include ¶ added in v0.15.0

Nested attributes to include. Included objects will return their full attributes. Attribute names can be dotted (up to 3 levels) to included deeply nested objects.

type ApiCreateOrganizationInvitationRequest ¶

type ApiCreateOrganizationInvitationRequest struct {
	ApiService *OrganizationsApiService
	// contains filtered or unexported fields
}

func (ApiCreateOrganizationInvitationRequest) Execute ¶

func (ApiCreateOrganizationInvitationRequest) Include ¶ added in v0.15.0

Nested attributes to include. Included objects will return their full attributes. Attribute names can be dotted (up to 3 levels) to included deeply nested objects.

func (ApiCreateOrganizationInvitationRequest) InvitationInput ¶ added in v0.4.0

Invitation to create

type ApiCreateOrganizationProjectRequest ¶

type ApiCreateOrganizationProjectRequest struct {
	ApiService *OrganizationsApiService
	// contains filtered or unexported fields
}

func (ApiCreateOrganizationProjectRequest) Exclude ¶ added in v0.15.0

Nested attributes to exclude. Excluded objects will return only the href attribute. Attribute names can be dotted (up to 3 levels) to exclude deeply nested objects.

func (ApiCreateOrganizationProjectRequest) Execute ¶

func (ApiCreateOrganizationProjectRequest) Include ¶ added in v0.15.0

Nested attributes to include. Included objects will return their full attributes. Attribute names can be dotted (up to 3 levels) to included deeply nested objects.

func (ApiCreateOrganizationProjectRequest) ProjectCreateInput ¶ added in v0.4.0

Project to create

type ApiCreateOrganizationRequest ¶

type ApiCreateOrganizationRequest struct {
	ApiService *OrganizationsApiService
	// contains filtered or unexported fields
}

func (ApiCreateOrganizationRequest) Exclude ¶ added in v0.9.0

Nested attributes to exclude. Excluded objects will return only the href attribute. Attribute names can be dotted (up to 3 levels) to exclude deeply nested objects.

func (ApiCreateOrganizationRequest) Execute ¶

func (ApiCreateOrganizationRequest) Include ¶ added in v0.9.0

Nested attributes to include. Included objects will return their full attributes. Attribute names can be dotted (up to 3 levels) to included deeply nested objects.

func (ApiCreateOrganizationRequest) OrganizationInput ¶ added in v0.4.0

func (r ApiCreateOrganizationRequest) OrganizationInput(organizationInput OrganizationInput) ApiCreateOrganizationRequest

Organization to create

type ApiCreatePasswordResetTokenRequest ¶

type ApiCreatePasswordResetTokenRequest struct {
	ApiService *PasswordResetTokensApiService
	// contains filtered or unexported fields
}

func (ApiCreatePasswordResetTokenRequest) Email ¶

Email of user to create password reset token

func (ApiCreatePasswordResetTokenRequest) Execute ¶

type ApiCreatePaymentMethodRequest ¶

type ApiCreatePaymentMethodRequest struct {
	ApiService *OrganizationsApiService
	// contains filtered or unexported fields
}

func (ApiCreatePaymentMethodRequest) Execute ¶

func (ApiCreatePaymentMethodRequest) Include ¶ added in v0.15.0

Nested attributes to include. Included objects will return their full attributes. Attribute names can be dotted (up to 3 levels) to included deeply nested objects.

func (ApiCreatePaymentMethodRequest) PaymentMethodCreateInput ¶ added in v0.4.0

func (r ApiCreatePaymentMethodRequest) PaymentMethodCreateInput(paymentMethodCreateInput PaymentMethodCreateInput) ApiCreatePaymentMethodRequest

Payment Method to create

type ApiCreatePortVlanAssignmentBatchRequest ¶

type ApiCreatePortVlanAssignmentBatchRequest struct {
	ApiService *PortsApiService
	// contains filtered or unexported fields
}

func (ApiCreatePortVlanAssignmentBatchRequest) Execute ¶

func (ApiCreatePortVlanAssignmentBatchRequest) Include ¶ added in v0.15.0

Nested attributes to include. Included objects will return their full attributes. Attribute names can be dotted (up to 3 levels) to included deeply nested objects.

func (ApiCreatePortVlanAssignmentBatchRequest) PortVlanAssignmentBatchCreateInput ¶ added in v0.4.0

func (r ApiCreatePortVlanAssignmentBatchRequest) PortVlanAssignmentBatchCreateInput(portVlanAssignmentBatchCreateInput PortVlanAssignmentBatchCreateInput) ApiCreatePortVlanAssignmentBatchRequest

VLAN Assignment batch details

type ApiCreateProjectAPIKeyRequest ¶

type ApiCreateProjectAPIKeyRequest struct {
	ApiService *AuthenticationApiService
	// contains filtered or unexported fields
}

func (ApiCreateProjectAPIKeyRequest) AuthTokenInput ¶ added in v0.4.0

API Key to create

func (ApiCreateProjectAPIKeyRequest) Execute ¶

func (ApiCreateProjectAPIKeyRequest) Include ¶ added in v0.15.0

Nested attributes to include. Included objects will return their full attributes. Attribute names can be dotted (up to 3 levels) to included deeply nested objects.

type ApiCreateProjectInterconnectionRequest ¶

type ApiCreateProjectInterconnectionRequest struct {
	ApiService *InterconnectionsApiService
	// contains filtered or unexported fields
}

func (ApiCreateProjectInterconnectionRequest) CreateOrganizationInterconnectionRequest ¶ added in v0.3.0

func (r ApiCreateProjectInterconnectionRequest) CreateOrganizationInterconnectionRequest(createOrganizationInterconnectionRequest CreateOrganizationInterconnectionRequest) ApiCreateProjectInterconnectionRequest

Dedicated port or shared interconnection (also known as Fabric VC) creation request

func (ApiCreateProjectInterconnectionRequest) Exclude ¶ added in v0.15.0

Nested attributes to exclude. Excluded objects will return only the href attribute. Attribute names can be dotted (up to 3 levels) to exclude deeply nested objects.

func (ApiCreateProjectInterconnectionRequest) Execute ¶

func (ApiCreateProjectInterconnectionRequest) Include ¶ added in v0.15.0

Nested attributes to include. Included objects will return their full attributes. Attribute names can be dotted (up to 3 levels) to included deeply nested objects.

type ApiCreateProjectInvitationRequest ¶

type ApiCreateProjectInvitationRequest struct {
	ApiService *ProjectsApiService
	// contains filtered or unexported fields
}

func (ApiCreateProjectInvitationRequest) Execute ¶

func (ApiCreateProjectInvitationRequest) Include ¶ added in v0.15.0

Nested attributes to include. Included objects will return their full attributes. Attribute names can be dotted (up to 3 levels) to included deeply nested objects.

func (ApiCreateProjectInvitationRequest) InvitationInput ¶ added in v0.4.0

Invitation to create

type ApiCreateProjectRequest ¶

type ApiCreateProjectRequest struct {
	ApiService *ProjectsApiService
	// contains filtered or unexported fields
}

func (ApiCreateProjectRequest) Exclude ¶ added in v0.9.0

Nested attributes to exclude. Excluded objects will return only the href attribute. Attribute names can be dotted (up to 3 levels) to exclude deeply nested objects.

func (ApiCreateProjectRequest) Execute ¶

func (ApiCreateProjectRequest) Include ¶ added in v0.9.0

Nested attributes to include. Included objects will return their full attributes. Attribute names can be dotted (up to 3 levels) to included deeply nested objects.

func (ApiCreateProjectRequest) ProjectCreateFromRootInput ¶ added in v0.4.0

func (r ApiCreateProjectRequest) ProjectCreateFromRootInput(projectCreateFromRootInput ProjectCreateFromRootInput) ApiCreateProjectRequest

Project to create

type ApiCreateProjectSSHKeyRequest ¶

type ApiCreateProjectSSHKeyRequest struct {
	ApiService *SSHKeysApiService
	// contains filtered or unexported fields
}

func (ApiCreateProjectSSHKeyRequest) Execute ¶

func (ApiCreateProjectSSHKeyRequest) Include ¶ added in v0.15.0

Nested attributes to include. Included objects will return their full attributes. Attribute names can be dotted (up to 3 levels) to included deeply nested objects.

func (ApiCreateProjectSSHKeyRequest) SSHKeyCreateInput ¶ added in v0.4.0

func (r ApiCreateProjectSSHKeyRequest) SSHKeyCreateInput(sSHKeyCreateInput SSHKeyCreateInput) ApiCreateProjectSSHKeyRequest

ssh key to create

type ApiCreateSSHKeyRequest ¶

type ApiCreateSSHKeyRequest struct {
	ApiService *SSHKeysApiService
	// contains filtered or unexported fields
}

func (ApiCreateSSHKeyRequest) Execute ¶

func (r ApiCreateSSHKeyRequest) Execute() (*SSHKey, *http.Response, error)

func (ApiCreateSSHKeyRequest) Include ¶ added in v0.15.0

Nested attributes to include. Included objects will return their full attributes. Attribute names can be dotted (up to 3 levels) to included deeply nested objects.

func (ApiCreateSSHKeyRequest) SSHKeyCreateInput ¶ added in v0.4.0

func (r ApiCreateSSHKeyRequest) SSHKeyCreateInput(sSHKeyCreateInput SSHKeyCreateInput) ApiCreateSSHKeyRequest

ssh key to create

type ApiCreateSelfServiceReservationRequest ¶

type ApiCreateSelfServiceReservationRequest struct {
	ApiService *SelfServiceReservationsApiService
	// contains filtered or unexported fields
}

func (ApiCreateSelfServiceReservationRequest) CreateSelfServiceReservationRequest ¶ added in v0.3.0

func (r ApiCreateSelfServiceReservationRequest) CreateSelfServiceReservationRequest(createSelfServiceReservationRequest CreateSelfServiceReservationRequest) ApiCreateSelfServiceReservationRequest

reservation to create

func (ApiCreateSelfServiceReservationRequest) Execute ¶

type ApiCreateSpotMarketRequestRequest ¶

type ApiCreateSpotMarketRequestRequest struct {
	ApiService *SpotMarketApiService
	// contains filtered or unexported fields
}

func (ApiCreateSpotMarketRequestRequest) Execute ¶

func (ApiCreateSpotMarketRequestRequest) SpotMarketRequestCreateInput ¶ added in v0.4.0

func (r ApiCreateSpotMarketRequestRequest) SpotMarketRequestCreateInput(spotMarketRequestCreateInput SpotMarketRequestCreateInput) ApiCreateSpotMarketRequestRequest

Spot Market Request to create

type ApiCreateTransferRequestRequest ¶

type ApiCreateTransferRequestRequest struct {
	ApiService *ProjectsApiService
	// contains filtered or unexported fields
}

func (ApiCreateTransferRequestRequest) Execute ¶

func (ApiCreateTransferRequestRequest) Include ¶ added in v0.15.0

Nested attributes to include. Included objects will return their full attributes. Attribute names can be dotted (up to 3 levels) to included deeply nested objects.

func (ApiCreateTransferRequestRequest) TransferRequestInput ¶ added in v0.4.0

func (r ApiCreateTransferRequestRequest) TransferRequestInput(transferRequestInput TransferRequestInput) ApiCreateTransferRequestRequest

Transfer Request to create

type ApiCreateUserRequest ¶

type ApiCreateUserRequest struct {
	ApiService *UsersApiService
	// contains filtered or unexported fields
}

func (ApiCreateUserRequest) Exclude ¶ added in v0.15.0

func (r ApiCreateUserRequest) Exclude(exclude []string) ApiCreateUserRequest

Nested attributes to exclude. Excluded objects will return only the href attribute. Attribute names can be dotted (up to 3 levels) to exclude deeply nested objects.

func (ApiCreateUserRequest) Execute ¶

func (r ApiCreateUserRequest) Execute() (*User, *http.Response, error)

func (ApiCreateUserRequest) Include ¶ added in v0.15.0

func (r ApiCreateUserRequest) Include(include []string) ApiCreateUserRequest

Nested attributes to include. Included objects will return their full attributes. Attribute names can be dotted (up to 3 levels) to included deeply nested objects.

func (ApiCreateUserRequest) UserCreateInput ¶ added in v0.4.0

func (r ApiCreateUserRequest) UserCreateInput(userCreateInput UserCreateInput) ApiCreateUserRequest

User to create

type ApiCreateValidationRequestRequest ¶

type ApiCreateValidationRequestRequest struct {
	ApiService *UserVerificationTokensApiService
	// contains filtered or unexported fields
}

func (ApiCreateValidationRequestRequest) Execute ¶

func (ApiCreateValidationRequestRequest) Include ¶ added in v0.15.0

Nested attributes to include. Included objects will return their full attributes. Attribute names can be dotted (up to 3 levels) to included deeply nested objects.

func (ApiCreateValidationRequestRequest) Login ¶

Email for verification request

type ApiCreateVirtualNetworkRequest ¶

type ApiCreateVirtualNetworkRequest struct {
	ApiService *VLANsApiService
	// contains filtered or unexported fields
}

func (ApiCreateVirtualNetworkRequest) Exclude ¶ added in v0.9.0

Nested attributes to exclude. Excluded objects will return only the href attribute. Attribute names can be dotted (up to 3 levels) to exclude deeply nested objects.

func (ApiCreateVirtualNetworkRequest) Execute ¶

func (ApiCreateVirtualNetworkRequest) Include ¶ added in v0.9.0

Nested attributes to include. Included objects will return their full attributes. Attribute names can be dotted (up to 3 levels) to included deeply nested objects.

func (ApiCreateVirtualNetworkRequest) VirtualNetworkCreateInput ¶ added in v0.4.0

func (r ApiCreateVirtualNetworkRequest) VirtualNetworkCreateInput(virtualNetworkCreateInput VirtualNetworkCreateInput) ApiCreateVirtualNetworkRequest

Virtual Network to create

type ApiCreateVrfRequest ¶

type ApiCreateVrfRequest struct {
	ApiService *VRFsApiService
	// contains filtered or unexported fields
}

func (ApiCreateVrfRequest) Exclude ¶ added in v0.9.0

func (r ApiCreateVrfRequest) Exclude(exclude []string) ApiCreateVrfRequest

Nested attributes to exclude. Excluded objects will return only the href attribute. Attribute names can be dotted (up to 3 levels) to exclude deeply nested objects.

func (ApiCreateVrfRequest) Execute ¶

func (r ApiCreateVrfRequest) Execute() (*Vrf, *http.Response, error)

func (ApiCreateVrfRequest) Include ¶ added in v0.9.0

func (r ApiCreateVrfRequest) Include(include []string) ApiCreateVrfRequest

Nested attributes to include. Included objects will return their full attributes. Attribute names can be dotted (up to 3 levels) to included deeply nested objects.

func (ApiCreateVrfRequest) VrfCreateInput ¶ added in v0.4.0

func (r ApiCreateVrfRequest) VrfCreateInput(vrfCreateInput VrfCreateInput) ApiCreateVrfRequest

VRF to create

type ApiCreateVrfRouteRequest ¶ added in v0.5.0

type ApiCreateVrfRouteRequest struct {
	ApiService *VRFsApiService
	// contains filtered or unexported fields
}

func (ApiCreateVrfRouteRequest) Exclude ¶ added in v0.9.0

Nested attributes to exclude. Excluded objects will return only the href attribute. Attribute names can be dotted (up to 3 levels) to exclude deeply nested objects.

func (ApiCreateVrfRouteRequest) Execute ¶ added in v0.5.0

func (ApiCreateVrfRouteRequest) Include ¶ added in v0.9.0

Nested attributes to include. Included objects will return their full attributes. Attribute names can be dotted (up to 3 levels) to included deeply nested objects.

func (ApiCreateVrfRouteRequest) VrfRouteCreateInput ¶ added in v0.5.0

func (r ApiCreateVrfRouteRequest) VrfRouteCreateInput(vrfRouteCreateInput VrfRouteCreateInput) ApiCreateVrfRouteRequest

type ApiDeclineInvitationRequest ¶

type ApiDeclineInvitationRequest struct {
	ApiService *InvitationsApiService
	// contains filtered or unexported fields
}

func (ApiDeclineInvitationRequest) Execute ¶

type ApiDeclineTransferRequestRequest ¶

type ApiDeclineTransferRequestRequest struct {
	ApiService *TransferRequestsApiService
	// contains filtered or unexported fields
}

func (ApiDeclineTransferRequestRequest) Execute ¶

type ApiDeleteAPIKeyRequest ¶

type ApiDeleteAPIKeyRequest struct {
	ApiService *AuthenticationApiService
	// contains filtered or unexported fields
}

func (ApiDeleteAPIKeyRequest) Execute ¶

func (r ApiDeleteAPIKeyRequest) Execute() (*http.Response, error)

type ApiDeleteBatchRequest ¶

type ApiDeleteBatchRequest struct {
	ApiService *BatchesApiService
	// contains filtered or unexported fields
}

func (ApiDeleteBatchRequest) Execute ¶

func (r ApiDeleteBatchRequest) Execute() (*http.Response, error)

func (ApiDeleteBatchRequest) RemoveAssociatedInstances ¶

func (r ApiDeleteBatchRequest) RemoveAssociatedInstances(removeAssociatedInstances bool) ApiDeleteBatchRequest

Delete all instances created from this batch

type ApiDeleteBgpDynamicNeighborByIdRequest ¶ added in v0.9.0

type ApiDeleteBgpDynamicNeighborByIdRequest struct {
	ApiService *VRFsApiService
	// contains filtered or unexported fields
}

func (ApiDeleteBgpDynamicNeighborByIdRequest) Exclude ¶ added in v0.9.0

Nested attributes to exclude. Excluded objects will return only the href attribute. Attribute names can be dotted (up to 3 levels) to exclude deeply nested objects.

func (ApiDeleteBgpDynamicNeighborByIdRequest) Execute ¶ added in v0.9.0

func (ApiDeleteBgpDynamicNeighborByIdRequest) Include ¶ added in v0.9.0

Nested attributes to include. Included objects will return their full attributes. Attribute names can be dotted (up to 3 levels) to included deeply nested objects.

type ApiDeleteBgpSessionRequest ¶

type ApiDeleteBgpSessionRequest struct {
	ApiService *BGPApiService
	// contains filtered or unexported fields
}

func (ApiDeleteBgpSessionRequest) Execute ¶

type ApiDeleteDeviceRequest ¶

type ApiDeleteDeviceRequest struct {
	ApiService *DevicesApiService
	// contains filtered or unexported fields
}

func (ApiDeleteDeviceRequest) Execute ¶

func (r ApiDeleteDeviceRequest) Execute() (*http.Response, error)

func (ApiDeleteDeviceRequest) ForceDelete ¶

func (r ApiDeleteDeviceRequest) ForceDelete(forceDelete bool) ApiDeleteDeviceRequest

Force the deletion of the device, by detaching any storage volume still active.

type ApiDeleteEmailRequest ¶

type ApiDeleteEmailRequest struct {
	ApiService *EmailsApiService
	// contains filtered or unexported fields
}

func (ApiDeleteEmailRequest) Execute ¶

func (r ApiDeleteEmailRequest) Execute() (*http.Response, error)

type ApiDeleteIPAddressRequest ¶

type ApiDeleteIPAddressRequest struct {
	ApiService *IPAddressesApiService
	// contains filtered or unexported fields
}

func (ApiDeleteIPAddressRequest) Execute ¶

func (r ApiDeleteIPAddressRequest) Execute() (*http.Response, error)

type ApiDeleteInterconnectionRequest ¶

type ApiDeleteInterconnectionRequest struct {
	ApiService *InterconnectionsApiService
	// contains filtered or unexported fields
}

func (ApiDeleteInterconnectionRequest) Exclude ¶ added in v0.15.0

Nested attributes to exclude. Excluded objects will return only the href attribute. Attribute names can be dotted (up to 3 levels) to exclude deeply nested objects.

func (ApiDeleteInterconnectionRequest) Execute ¶

func (ApiDeleteInterconnectionRequest) Include ¶ added in v0.15.0

Nested attributes to include. Included objects will return their full attributes. Attribute names can be dotted (up to 3 levels) to included deeply nested objects.

type ApiDeleteLicenseRequest ¶

type ApiDeleteLicenseRequest struct {
	ApiService *LicensesApiService
	// contains filtered or unexported fields
}

func (ApiDeleteLicenseRequest) Execute ¶

func (r ApiDeleteLicenseRequest) Execute() (*http.Response, error)

type ApiDeleteMembershipRequest ¶

type ApiDeleteMembershipRequest struct {
	ApiService *MembershipsApiService
	// contains filtered or unexported fields
}

func (ApiDeleteMembershipRequest) Execute ¶

type ApiDeleteMetalGatewayRequest ¶

type ApiDeleteMetalGatewayRequest struct {
	ApiService *MetalGatewaysApiService
	// contains filtered or unexported fields
}

func (ApiDeleteMetalGatewayRequest) Exclude ¶ added in v0.3.0

Nested attributes to exclude. Excluded objects will return only the href attribute. Attribute names can be dotted (up to 3 levels) to exclude deeply nested objects.

func (ApiDeleteMetalGatewayRequest) Execute ¶

func (ApiDeleteMetalGatewayRequest) Include ¶ added in v0.3.0

Nested attributes to include. Included objects will return their full attributes. Attribute names can be dotted (up to 3 levels) to included deeply nested objects.

type ApiDeleteNativeVlanRequest ¶

type ApiDeleteNativeVlanRequest struct {
	ApiService *PortsApiService
	// contains filtered or unexported fields
}

func (ApiDeleteNativeVlanRequest) Execute ¶

func (ApiDeleteNativeVlanRequest) Include ¶ added in v0.15.0

Nested attributes to include. Included objects will return their full attributes. Attribute names can be dotted (up to 3 levels) to included deeply nested objects.

type ApiDeleteOrganizationRequest ¶

type ApiDeleteOrganizationRequest struct {
	ApiService *OrganizationsApiService
	// contains filtered or unexported fields
}

func (ApiDeleteOrganizationRequest) Execute ¶

type ApiDeletePaymentMethodRequest ¶

type ApiDeletePaymentMethodRequest struct {
	ApiService *PaymentMethodsApiService
	// contains filtered or unexported fields
}

func (ApiDeletePaymentMethodRequest) Execute ¶

type ApiDeleteProjectRequest ¶

type ApiDeleteProjectRequest struct {
	ApiService *ProjectsApiService
	// contains filtered or unexported fields
}

func (ApiDeleteProjectRequest) Execute ¶

func (r ApiDeleteProjectRequest) Execute() (*http.Response, error)

type ApiDeleteSSHKeyRequest ¶

type ApiDeleteSSHKeyRequest struct {
	ApiService *SSHKeysApiService
	// contains filtered or unexported fields
}

func (ApiDeleteSSHKeyRequest) Execute ¶

func (r ApiDeleteSSHKeyRequest) Execute() (*http.Response, error)

type ApiDeleteSpotMarketRequestRequest ¶

type ApiDeleteSpotMarketRequestRequest struct {
	ApiService *SpotMarketApiService
	// contains filtered or unexported fields
}

func (ApiDeleteSpotMarketRequestRequest) Execute ¶

func (ApiDeleteSpotMarketRequestRequest) ForceTermination ¶

func (r ApiDeleteSpotMarketRequestRequest) ForceTermination(forceTermination bool) ApiDeleteSpotMarketRequestRequest

Terminate associated spot instances

type ApiDeleteUserAPIKeyRequest ¶

type ApiDeleteUserAPIKeyRequest struct {
	ApiService *AuthenticationApiService
	// contains filtered or unexported fields
}

func (ApiDeleteUserAPIKeyRequest) Execute ¶

type ApiDeleteVirtualCircuitRequest ¶

type ApiDeleteVirtualCircuitRequest struct {
	ApiService *InterconnectionsApiService
	// contains filtered or unexported fields
}

func (ApiDeleteVirtualCircuitRequest) Exclude ¶ added in v0.15.0

Nested attributes to exclude. Excluded objects will return only the href attribute. Attribute names can be dotted (up to 3 levels) to exclude deeply nested objects.

func (ApiDeleteVirtualCircuitRequest) Execute ¶

func (ApiDeleteVirtualCircuitRequest) Include ¶ added in v0.15.0

Nested attributes to include. Included objects will return their full attributes. Attribute names can be dotted (up to 3 levels) to included deeply nested objects.

type ApiDeleteVirtualNetworkRequest ¶

type ApiDeleteVirtualNetworkRequest struct {
	ApiService *VLANsApiService
	// contains filtered or unexported fields
}

func (ApiDeleteVirtualNetworkRequest) Exclude ¶ added in v0.15.0

Nested attributes to exclude. Excluded objects will return only the href attribute. Attribute names can be dotted (up to 3 levels) to exclude deeply nested objects.

func (ApiDeleteVirtualNetworkRequest) Execute ¶

func (ApiDeleteVirtualNetworkRequest) Include ¶ added in v0.15.0

Nested attributes to include. Included objects will return their full attributes. Attribute names can be dotted (up to 3 levels) to included deeply nested objects.

type ApiDeleteVrfRequest ¶

type ApiDeleteVrfRequest struct {
	ApiService *VRFsApiService
	// contains filtered or unexported fields
}

func (ApiDeleteVrfRequest) Execute ¶

func (r ApiDeleteVrfRequest) Execute() (*http.Response, error)

type ApiDeleteVrfRouteByIdRequest ¶ added in v0.5.0

type ApiDeleteVrfRouteByIdRequest struct {
	ApiService *VRFsApiService
	// contains filtered or unexported fields
}

func (ApiDeleteVrfRouteByIdRequest) Exclude ¶ added in v0.5.0

Nested attributes to exclude. Excluded objects will return only the href attribute. Attribute names can be dotted (up to 3 levels) to exclude deeply nested objects.

func (ApiDeleteVrfRouteByIdRequest) Execute ¶ added in v0.5.0

func (ApiDeleteVrfRouteByIdRequest) Include ¶ added in v0.5.0

Nested attributes to include. Included objects will return their full attributes. Attribute names can be dotted (up to 3 levels) to included deeply nested objects.

type ApiDisableTfaAppRequest ¶

type ApiDisableTfaAppRequest struct {
	ApiService *TwoFactorAuthApiService
	// contains filtered or unexported fields
}

func (ApiDisableTfaAppRequest) Execute ¶

func (r ApiDisableTfaAppRequest) Execute() (*http.Response, error)

type ApiDisableTfaSmsRequest ¶

type ApiDisableTfaSmsRequest struct {
	ApiService *TwoFactorAuthApiService
	// contains filtered or unexported fields
}

func (ApiDisableTfaSmsRequest) Execute ¶

func (r ApiDisableTfaSmsRequest) Execute() (*http.Response, error)

type ApiDisbondPortRequest ¶

type ApiDisbondPortRequest struct {
	ApiService *PortsApiService
	// contains filtered or unexported fields
}

func (ApiDisbondPortRequest) BulkDisable ¶

func (r ApiDisbondPortRequest) BulkDisable(bulkDisable bool) ApiDisbondPortRequest

disable both ports

func (ApiDisbondPortRequest) Execute ¶

func (r ApiDisbondPortRequest) Execute() (*Port, *http.Response, error)

func (ApiDisbondPortRequest) Include ¶ added in v0.15.0

func (r ApiDisbondPortRequest) Include(include []string) ApiDisbondPortRequest

Nested attributes to include. Included objects will return their full attributes. Attribute names can be dotted (up to 3 levels) to included deeply nested objects.

type ApiEnableTfaAppRequest ¶

type ApiEnableTfaAppRequest struct {
	ApiService *TwoFactorAuthApiService
	// contains filtered or unexported fields
}

func (ApiEnableTfaAppRequest) Execute ¶

func (r ApiEnableTfaAppRequest) Execute() (*http.Response, error)

type ApiEnableTfaSmsRequest ¶

type ApiEnableTfaSmsRequest struct {
	ApiService *TwoFactorAuthApiService
	// contains filtered or unexported fields
}

func (ApiEnableTfaSmsRequest) Execute ¶

func (r ApiEnableTfaSmsRequest) Execute() (*http.Response, error)

type ApiFindAPIKeysRequest ¶

type ApiFindAPIKeysRequest struct {
	ApiService *AuthenticationApiService
	// contains filtered or unexported fields
}

func (ApiFindAPIKeysRequest) Execute ¶

func (ApiFindAPIKeysRequest) Include ¶

func (r ApiFindAPIKeysRequest) Include(include []string) ApiFindAPIKeysRequest

Nested attributes to include. Included objects will return their full attributes. Attribute names can be dotted (up to 3 levels) to included deeply nested objects.

func (ApiFindAPIKeysRequest) Search ¶ added in v0.13.0

Search by description

type ApiFindBatchByIdRequest ¶

type ApiFindBatchByIdRequest struct {
	ApiService *BatchesApiService
	// contains filtered or unexported fields
}

func (ApiFindBatchByIdRequest) Execute ¶

func (r ApiFindBatchByIdRequest) Execute() (*Batch, *http.Response, error)

func (ApiFindBatchByIdRequest) Include ¶

Nested attributes to include. Included objects will return their full attributes. Attribute names can be dotted (up to 3 levels) to included deeply nested objects.

type ApiFindBatchesByProjectRequest ¶

type ApiFindBatchesByProjectRequest struct {
	ApiService *BatchesApiService
	// contains filtered or unexported fields
}

func (ApiFindBatchesByProjectRequest) Execute ¶

func (ApiFindBatchesByProjectRequest) Include ¶

Nested attributes to include. Included objects will return their full attributes. Attribute names can be dotted (up to 3 levels) to included deeply nested objects.

type ApiFindBgpConfigByProjectRequest ¶

type ApiFindBgpConfigByProjectRequest struct {
	ApiService *BGPApiService
	// contains filtered or unexported fields
}

func (ApiFindBgpConfigByProjectRequest) Execute ¶

func (ApiFindBgpConfigByProjectRequest) Include ¶

Nested attributes to include. Included objects will return their full attributes. Attribute names can be dotted (up to 3 levels) to included deeply nested objects.

type ApiFindBgpSessionByIdRequest ¶

type ApiFindBgpSessionByIdRequest struct {
	ApiService *BGPApiService
	// contains filtered or unexported fields
}

func (ApiFindBgpSessionByIdRequest) Execute ¶

func (ApiFindBgpSessionByIdRequest) Include ¶

Nested attributes to include. Included objects will return their full attributes. Attribute names can be dotted (up to 3 levels) to included deeply nested objects.

type ApiFindBgpSessionsRequest ¶

type ApiFindBgpSessionsRequest struct {
	ApiService *DevicesApiService
	// contains filtered or unexported fields
}

func (ApiFindBgpSessionsRequest) Execute ¶

func (ApiFindBgpSessionsRequest) Include ¶ added in v0.15.0

Nested attributes to include. Included objects will return their full attributes. Attribute names can be dotted (up to 3 levels) to included deeply nested objects.

type ApiFindCapacityForFacilityRequest ¶

type ApiFindCapacityForFacilityRequest struct {
	ApiService *CapacityApiService
	// contains filtered or unexported fields
}

func (ApiFindCapacityForFacilityRequest) Execute ¶

type ApiFindCapacityForMetroRequest ¶

type ApiFindCapacityForMetroRequest struct {
	ApiService *CapacityApiService
	// contains filtered or unexported fields
}

func (ApiFindCapacityForMetroRequest) Execute ¶

type ApiFindCurrentUserRequest ¶

type ApiFindCurrentUserRequest struct {
	ApiService *UsersApiService
	// contains filtered or unexported fields
}

func (ApiFindCurrentUserRequest) Exclude ¶

Nested attributes to exclude. Excluded objects will return only the href attribute. Attribute names can be dotted (up to 3 levels) to exclude deeply nested objects.

func (ApiFindCurrentUserRequest) Execute ¶

func (r ApiFindCurrentUserRequest) Execute() (*User, *http.Response, error)

func (ApiFindCurrentUserRequest) Include ¶

Nested attributes to include. Included objects will return their full attributes. Attribute names can be dotted (up to 3 levels) to included deeply nested objects.

type ApiFindDeviceByIdRequest ¶

type ApiFindDeviceByIdRequest struct {
	ApiService *DevicesApiService
	// contains filtered or unexported fields
}

func (ApiFindDeviceByIdRequest) Exclude ¶

Nested attributes to exclude. Excluded objects will return only the href attribute. Attribute names can be dotted (up to 3 levels) to exclude deeply nested objects.

func (ApiFindDeviceByIdRequest) Execute ¶

func (ApiFindDeviceByIdRequest) Include ¶

Nested attributes to include. Included objects will return their full attributes. Attribute names can be dotted (up to 3 levels) to included deeply nested objects.

type ApiFindDeviceCustomdataRequest ¶

type ApiFindDeviceCustomdataRequest struct {
	ApiService *DevicesApiService
	// contains filtered or unexported fields
}

func (ApiFindDeviceCustomdataRequest) Execute ¶

type ApiFindDeviceEventsRequest ¶

type ApiFindDeviceEventsRequest struct {
	ApiService *EventsApiService
	// contains filtered or unexported fields
}

func (ApiFindDeviceEventsRequest) Exclude ¶

Nested attributes to exclude. Excluded objects will return only the href attribute. Attribute names can be dotted (up to 3 levels) to exclude deeply nested objects.

func (ApiFindDeviceEventsRequest) Execute ¶

func (ApiFindDeviceEventsRequest) ExecuteWithPagination ¶ added in v0.23.0

func (r ApiFindDeviceEventsRequest) ExecuteWithPagination() (*EventList, error)

ExecuteWithPagination executes the request to fetch and return all pages of results as a single slice

@return EventList

func (ApiFindDeviceEventsRequest) Include ¶

Nested attributes to include. Included objects will return their full attributes. Attribute names can be dotted (up to 3 levels) to included deeply nested objects.

func (ApiFindDeviceEventsRequest) Page ¶

Page to return

func (ApiFindDeviceEventsRequest) PerPage ¶

Items returned per page

type ApiFindDeviceMetadataByIDRequest ¶ added in v0.3.0

type ApiFindDeviceMetadataByIDRequest struct {
	ApiService *DevicesApiService
	// contains filtered or unexported fields
}

func (ApiFindDeviceMetadataByIDRequest) Execute ¶ added in v0.3.0

type ApiFindDeviceSSHKeysRequest ¶

type ApiFindDeviceSSHKeysRequest struct {
	ApiService *SSHKeysApiService
	// contains filtered or unexported fields
}

func (ApiFindDeviceSSHKeysRequest) Execute ¶

func (ApiFindDeviceSSHKeysRequest) Include ¶

Nested attributes to include. Included objects will return their full attributes. Attribute names can be dotted (up to 3 levels) to included deeply nested objects.

func (ApiFindDeviceSSHKeysRequest) SearchString ¶

func (r ApiFindDeviceSSHKeysRequest) SearchString(searchString string) ApiFindDeviceSSHKeysRequest

Search by key, label, or fingerprint

type ApiFindDeviceUsagesRequest ¶

type ApiFindDeviceUsagesRequest struct {
	ApiService *UsagesApiService
	// contains filtered or unexported fields
}

func (ApiFindDeviceUsagesRequest) CreatedAfter ¶

func (r ApiFindDeviceUsagesRequest) CreatedAfter(createdAfter string) ApiFindDeviceUsagesRequest

Filter usages created after this date

func (ApiFindDeviceUsagesRequest) CreatedBefore ¶

func (r ApiFindDeviceUsagesRequest) CreatedBefore(createdBefore string) ApiFindDeviceUsagesRequest

Filter usages created before this date

func (ApiFindDeviceUsagesRequest) Execute ¶

type ApiFindDeviceUserdataByIDRequest ¶ added in v0.3.0

type ApiFindDeviceUserdataByIDRequest struct {
	ApiService *DevicesApiService
	// contains filtered or unexported fields
}

func (ApiFindDeviceUserdataByIDRequest) Execute ¶ added in v0.3.0

type ApiFindEmailByIdRequest ¶

type ApiFindEmailByIdRequest struct {
	ApiService *EmailsApiService
	// contains filtered or unexported fields
}

func (ApiFindEmailByIdRequest) Execute ¶

func (r ApiFindEmailByIdRequest) Execute() (*Email, *http.Response, error)

type ApiFindEnsureOtpRequest ¶

type ApiFindEnsureOtpRequest struct {
	ApiService *OTPsApiService
	// contains filtered or unexported fields
}

func (ApiFindEnsureOtpRequest) Execute ¶

func (r ApiFindEnsureOtpRequest) Execute() (*http.Response, error)

type ApiFindEventByIdRequest ¶

type ApiFindEventByIdRequest struct {
	ApiService *EventsApiService
	// contains filtered or unexported fields
}

func (ApiFindEventByIdRequest) Exclude ¶

Nested attributes to exclude. Excluded objects will return only the href attribute. Attribute names can be dotted (up to 3 levels) to exclude deeply nested objects.

func (ApiFindEventByIdRequest) Execute ¶

func (r ApiFindEventByIdRequest) Execute() (*Event, *http.Response, error)

func (ApiFindEventByIdRequest) Include ¶

Nested attributes to include. Included objects will return their full attributes. Attribute names can be dotted (up to 3 levels) to included deeply nested objects.

type ApiFindEventsRequest ¶

type ApiFindEventsRequest struct {
	ApiService *EventsApiService
	// contains filtered or unexported fields
}

func (ApiFindEventsRequest) Exclude ¶

func (r ApiFindEventsRequest) Exclude(exclude []string) ApiFindEventsRequest

Nested attributes to exclude. Excluded objects will return only the href attribute. Attribute names can be dotted (up to 3 levels) to exclude deeply nested objects.

func (ApiFindEventsRequest) Execute ¶

func (r ApiFindEventsRequest) Execute() (*EventList, *http.Response, error)

func (ApiFindEventsRequest) ExecuteWithPagination ¶ added in v0.23.0

func (r ApiFindEventsRequest) ExecuteWithPagination() (*EventList, error)

ExecuteWithPagination executes the request to fetch and return all pages of results as a single slice

@return EventList

func (ApiFindEventsRequest) Include ¶

func (r ApiFindEventsRequest) Include(include []string) ApiFindEventsRequest

Nested attributes to include. Included objects will return their full attributes. Attribute names can be dotted (up to 3 levels) to included deeply nested objects.

func (ApiFindEventsRequest) Page ¶

Page to return

func (ApiFindEventsRequest) PerPage ¶

func (r ApiFindEventsRequest) PerPage(perPage int32) ApiFindEventsRequest

Items returned per page

type ApiFindFacilitiesByOrganizationRequest ¶

type ApiFindFacilitiesByOrganizationRequest struct {
	ApiService *FacilitiesApiService
	// contains filtered or unexported fields
}

func (ApiFindFacilitiesByOrganizationRequest) Exclude ¶

Nested attributes to exclude. Excluded objects will return only the href attribute. Attribute names can be dotted (up to 3 levels) to exclude deeply nested objects.

func (ApiFindFacilitiesByOrganizationRequest) Execute ¶

func (ApiFindFacilitiesByOrganizationRequest) Include ¶

Nested attributes to include. Included objects will return their full attributes. Attribute names can be dotted (up to 3 levels) to included deeply nested objects.

type ApiFindFacilitiesByProjectRequest ¶

type ApiFindFacilitiesByProjectRequest struct {
	ApiService *FacilitiesApiService
	// contains filtered or unexported fields
}

func (ApiFindFacilitiesByProjectRequest) Exclude ¶

Nested attributes to exclude. Excluded objects will return only the href attribute. Attribute names can be dotted (up to 3 levels) to exclude deeply nested objects.

func (ApiFindFacilitiesByProjectRequest) Execute ¶

func (ApiFindFacilitiesByProjectRequest) Include ¶

Nested attributes to include. Included objects will return their full attributes. Attribute names can be dotted (up to 3 levels) to included deeply nested objects.

type ApiFindFacilitiesRequest ¶

type ApiFindFacilitiesRequest struct {
	ApiService *FacilitiesApiService
	// contains filtered or unexported fields
}

func (ApiFindFacilitiesRequest) Exclude ¶

Nested attributes to exclude. Excluded objects will return only the href attribute. Attribute names can be dotted (up to 3 levels) to exclude deeply nested objects.

func (ApiFindFacilitiesRequest) Execute ¶

func (ApiFindFacilitiesRequest) Include ¶

Nested attributes to include. Included objects will return their full attributes. Attribute names can be dotted (up to 3 levels) to included deeply nested objects.

type ApiFindGlobalBgpRangesRequest ¶

type ApiFindGlobalBgpRangesRequest struct {
	ApiService *BGPApiService
	// contains filtered or unexported fields
}

func (ApiFindGlobalBgpRangesRequest) Execute ¶

type ApiFindHardwareReservationByIdRequest ¶

type ApiFindHardwareReservationByIdRequest struct {
	ApiService *HardwareReservationsApiService
	// contains filtered or unexported fields
}

func (ApiFindHardwareReservationByIdRequest) Exclude ¶

Nested attributes to exclude. Excluded objects will return only the href attribute. Attribute names can be dotted (up to 3 levels) to exclude deeply nested objects.

func (ApiFindHardwareReservationByIdRequest) Execute ¶

func (ApiFindHardwareReservationByIdRequest) Include ¶

Nested attributes to include. Included objects will return their full attributes. Attribute names can be dotted (up to 3 levels) to included deeply nested objects.

type ApiFindIPAddressByIdRequest ¶

type ApiFindIPAddressByIdRequest struct {
	ApiService *IPAddressesApiService
	// contains filtered or unexported fields
}

func (ApiFindIPAddressByIdRequest) Exclude ¶

Nested attributes to exclude. Excluded objects will return only the href attribute. Attribute names can be dotted (up to 3 levels) to exclude deeply nested objects.

func (ApiFindIPAddressByIdRequest) Execute ¶

func (ApiFindIPAddressByIdRequest) Include ¶

Nested attributes to include. Included objects will return their full attributes. Attribute names can be dotted (up to 3 levels) to included deeply nested objects.

type ApiFindIPAddressCustomdataRequest ¶

type ApiFindIPAddressCustomdataRequest struct {
	ApiService *IPAddressesApiService
	// contains filtered or unexported fields
}

func (ApiFindIPAddressCustomdataRequest) Execute ¶

type ApiFindIPAssignmentCustomdataRequest ¶

type ApiFindIPAssignmentCustomdataRequest struct {
	ApiService *DevicesApiService
	// contains filtered or unexported fields
}

func (ApiFindIPAssignmentCustomdataRequest) Execute ¶

type ApiFindIPAssignmentsRequest ¶

type ApiFindIPAssignmentsRequest struct {
	ApiService *DevicesApiService
	// contains filtered or unexported fields
}

func (ApiFindIPAssignmentsRequest) Exclude ¶

Nested attributes to exclude. Excluded objects will return only the href attribute. Attribute names can be dotted (up to 3 levels) to exclude deeply nested objects.

func (ApiFindIPAssignmentsRequest) Execute ¶

func (ApiFindIPAssignmentsRequest) Include ¶

Nested attributes to include. Included objects will return their full attributes. Attribute names can be dotted (up to 3 levels) to included deeply nested objects.

type ApiFindIPAvailabilitiesRequest ¶

type ApiFindIPAvailabilitiesRequest struct {
	ApiService *IPAddressesApiService
	// contains filtered or unexported fields
}

func (ApiFindIPAvailabilitiesRequest) Cidr ¶

Size of subnets in bits

func (ApiFindIPAvailabilitiesRequest) Execute ¶

type ApiFindIPReservationCustomdataRequest ¶

type ApiFindIPReservationCustomdataRequest struct {
	ApiService *ProjectsApiService
	// contains filtered or unexported fields
}

func (ApiFindIPReservationCustomdataRequest) Execute ¶

type ApiFindIPReservationsRequest ¶

type ApiFindIPReservationsRequest struct {
	ApiService *IPAddressesApiService
	// contains filtered or unexported fields
}

func (ApiFindIPReservationsRequest) Exclude ¶

Nested attributes to exclude. Excluded objects will return only the href attribute. Attribute names can be dotted (up to 3 levels) to exclude deeply nested objects.

func (ApiFindIPReservationsRequest) Execute ¶

func (ApiFindIPReservationsRequest) Include ¶

Nested attributes to include. Included objects will return their full attributes. Attribute names can be dotted (up to 3 levels) to included deeply nested objects.

func (ApiFindIPReservationsRequest) PerPage ¶ added in v0.3.0

Items returned per page

func (ApiFindIPReservationsRequest) Types ¶

Filter project IP reservations by reservation type

type ApiFindIncidentsRequest ¶

type ApiFindIncidentsRequest struct {
	ApiService *IncidentsApiService
	// contains filtered or unexported fields
}

func (ApiFindIncidentsRequest) Exclude ¶

Nested attributes to exclude. Excluded objects will return only the href attribute. Attribute names can be dotted (up to 3 levels) to exclude deeply nested objects.

func (ApiFindIncidentsRequest) Execute ¶

func (r ApiFindIncidentsRequest) Execute() (*http.Response, error)

func (ApiFindIncidentsRequest) Include ¶

Nested attributes to include. Included objects will return their full attributes. Attribute names can be dotted (up to 3 levels) to included deeply nested objects.

type ApiFindInstanceBandwidthRequest ¶

type ApiFindInstanceBandwidthRequest struct {
	ApiService *DevicesApiService
	// contains filtered or unexported fields
}

func (ApiFindInstanceBandwidthRequest) Execute ¶

func (ApiFindInstanceBandwidthRequest) From ¶

Timestamp from range

func (ApiFindInstanceBandwidthRequest) Until ¶

Timestamp to range

type ApiFindInterconnectionEventsRequest ¶ added in v0.3.0

type ApiFindInterconnectionEventsRequest struct {
	ApiService *EventsApiService
	// contains filtered or unexported fields
}

func (ApiFindInterconnectionEventsRequest) Exclude ¶ added in v0.3.0

Nested attributes to exclude. Excluded objects will return only the href attribute. Attribute names can be dotted (up to 3 levels) to exclude deeply nested objects.

func (ApiFindInterconnectionEventsRequest) Execute ¶ added in v0.3.0

func (ApiFindInterconnectionEventsRequest) ExecuteWithPagination ¶ added in v0.23.0

func (r ApiFindInterconnectionEventsRequest) ExecuteWithPagination() (*EventList, error)

ExecuteWithPagination executes the request to fetch and return all pages of results as a single slice

@return EventList

func (ApiFindInterconnectionEventsRequest) Include ¶ added in v0.3.0

Nested attributes to include. Included objects will return their full attributes. Attribute names can be dotted (up to 3 levels) to included deeply nested objects.

func (ApiFindInterconnectionEventsRequest) Page ¶ added in v0.3.0

Page to return

func (ApiFindInterconnectionEventsRequest) PerPage ¶ added in v0.3.0

Items returned per page

type ApiFindInterconnectionPortEventsRequest ¶ added in v0.3.0

type ApiFindInterconnectionPortEventsRequest struct {
	ApiService *EventsApiService
	// contains filtered or unexported fields
}

func (ApiFindInterconnectionPortEventsRequest) Exclude ¶ added in v0.3.0

Nested attributes to exclude. Excluded objects will return only the href attribute. Attribute names can be dotted (up to 3 levels) to exclude deeply nested objects.

func (ApiFindInterconnectionPortEventsRequest) Execute ¶ added in v0.3.0

func (ApiFindInterconnectionPortEventsRequest) Include ¶ added in v0.3.0

Nested attributes to include. Included objects will return their full attributes. Attribute names can be dotted (up to 3 levels) to included deeply nested objects.

func (ApiFindInterconnectionPortEventsRequest) Page ¶ added in v0.3.0

Page to return

func (ApiFindInterconnectionPortEventsRequest) PerPage ¶ added in v0.3.0

Items returned per page

type ApiFindInvitationByIdRequest ¶

type ApiFindInvitationByIdRequest struct {
	ApiService *InvitationsApiService
	// contains filtered or unexported fields
}

func (ApiFindInvitationByIdRequest) Execute ¶

func (ApiFindInvitationByIdRequest) Include ¶

Nested attributes to include. Included objects will return their full attributes. Attribute names can be dotted (up to 3 levels) to included deeply nested objects.

type ApiFindInvitationsRequest ¶

type ApiFindInvitationsRequest struct {
	ApiService *UsersApiService
	// contains filtered or unexported fields
}

func (ApiFindInvitationsRequest) Execute ¶

func (ApiFindInvitationsRequest) Include ¶

Nested attributes to include. Included objects will return their full attributes. Attribute names can be dotted (up to 3 levels) to included deeply nested objects.

func (ApiFindInvitationsRequest) Page ¶

Page to return

func (ApiFindInvitationsRequest) PerPage ¶

Items returned per page

type ApiFindLicenseByIdRequest ¶

type ApiFindLicenseByIdRequest struct {
	ApiService *LicensesApiService
	// contains filtered or unexported fields
}

func (ApiFindLicenseByIdRequest) Exclude ¶

Nested attributes to exclude. Excluded objects will return only the href attribute. Attribute names can be dotted (up to 3 levels) to exclude deeply nested objects.

func (ApiFindLicenseByIdRequest) Execute ¶

func (ApiFindLicenseByIdRequest) Include ¶

Nested attributes to include. Included objects will return their full attributes. Attribute names can be dotted (up to 3 levels) to included deeply nested objects.

type ApiFindMembershipByIdRequest ¶

type ApiFindMembershipByIdRequest struct {
	ApiService *MembershipsApiService
	// contains filtered or unexported fields
}

func (ApiFindMembershipByIdRequest) Execute ¶

func (ApiFindMembershipByIdRequest) Include ¶

Nested attributes to include. Included objects will return their full attributes. Attribute names can be dotted (up to 3 levels) to included deeply nested objects.

type ApiFindMetalGatewayByIdRequest ¶

type ApiFindMetalGatewayByIdRequest struct {
	ApiService *MetalGatewaysApiService
	// contains filtered or unexported fields
}

func (ApiFindMetalGatewayByIdRequest) Exclude ¶ added in v0.6.0

Nested attributes to exclude. Excluded objects will return only the href attribute. Attribute names can be dotted (up to 3 levels) to exclude deeply nested objects.

func (ApiFindMetalGatewayByIdRequest) Execute ¶

func (ApiFindMetalGatewayByIdRequest) Include ¶ added in v0.6.0

Nested attributes to include. Included objects will return their full attributes. Attribute names can be dotted (up to 3 levels) to included deeply nested objects.

type ApiFindMetalGatewaysByProjectRequest ¶

type ApiFindMetalGatewaysByProjectRequest struct {
	ApiService *MetalGatewaysApiService
	// contains filtered or unexported fields
}

func (ApiFindMetalGatewaysByProjectRequest) Exclude ¶ added in v0.6.0

Nested attributes to exclude. Excluded objects will return only the href attribute. Attribute names can be dotted (up to 3 levels) to exclude deeply nested objects.

func (ApiFindMetalGatewaysByProjectRequest) Execute ¶

func (ApiFindMetalGatewaysByProjectRequest) ExecuteWithPagination ¶ added in v0.23.0

func (r ApiFindMetalGatewaysByProjectRequest) ExecuteWithPagination() (*MetalGatewayList, error)

ExecuteWithPagination executes the request to fetch and return all pages of results as a single slice

@return MetalGatewayList

func (ApiFindMetalGatewaysByProjectRequest) Include ¶ added in v0.6.0

Nested attributes to include. Included objects will return their full attributes. Attribute names can be dotted (up to 3 levels) to included deeply nested objects.

func (ApiFindMetalGatewaysByProjectRequest) Page ¶

Page to return

func (ApiFindMetalGatewaysByProjectRequest) PerPage ¶

Items returned per page

type ApiFindMetroSpotMarketPricesRequest ¶

type ApiFindMetroSpotMarketPricesRequest struct {
	ApiService *SpotMarketApiService
	// contains filtered or unexported fields
}

func (ApiFindMetroSpotMarketPricesRequest) Execute ¶

func (ApiFindMetroSpotMarketPricesRequest) Metro ¶

Metro to filter spot market prices

func (ApiFindMetroSpotMarketPricesRequest) Plan ¶

Plan to filter spot market prices

type ApiFindMetrosRequest ¶

type ApiFindMetrosRequest struct {
	ApiService *MetrosApiService
	// contains filtered or unexported fields
}

func (ApiFindMetrosRequest) Execute ¶

func (r ApiFindMetrosRequest) Execute() (*MetroList, *http.Response, error)

type ApiFindOperatingSystemVersionRequest ¶

type ApiFindOperatingSystemVersionRequest struct {
	ApiService *OperatingSystemsApiService
	// contains filtered or unexported fields
}

func (ApiFindOperatingSystemVersionRequest) Execute ¶

type ApiFindOperatingSystemsByOrganizationRequest ¶

type ApiFindOperatingSystemsByOrganizationRequest struct {
	ApiService *OrganizationsApiService
	// contains filtered or unexported fields
}

func (ApiFindOperatingSystemsByOrganizationRequest) Execute ¶

func (ApiFindOperatingSystemsByOrganizationRequest) Include ¶

Nested attributes to include. Included objects will return their full attributes. Attribute names can be dotted (up to 3 levels) to included deeply nested objects.

type ApiFindOperatingSystemsRequest ¶

type ApiFindOperatingSystemsRequest struct {
	ApiService *OperatingSystemsApiService
	// contains filtered or unexported fields
}

func (ApiFindOperatingSystemsRequest) Execute ¶

type ApiFindOrganizationByIdRequest ¶

type ApiFindOrganizationByIdRequest struct {
	ApiService *OrganizationsApiService
	// contains filtered or unexported fields
}

func (ApiFindOrganizationByIdRequest) Exclude ¶

Nested attributes to exclude. Excluded objects will return only the href attribute. Attribute names can be dotted (up to 3 levels) to exclude deeply nested objects.

func (ApiFindOrganizationByIdRequest) Execute ¶

func (ApiFindOrganizationByIdRequest) Include ¶

Nested attributes to include. Included objects will return their full attributes. Attribute names can be dotted (up to 3 levels) to included deeply nested objects.

type ApiFindOrganizationCapacityPerFacilityRequest ¶

type ApiFindOrganizationCapacityPerFacilityRequest struct {
	ApiService *CapacityApiService
	// contains filtered or unexported fields
}

func (ApiFindOrganizationCapacityPerFacilityRequest) Execute ¶

type ApiFindOrganizationCapacityPerMetroRequest ¶

type ApiFindOrganizationCapacityPerMetroRequest struct {
	ApiService *CapacityApiService
	// contains filtered or unexported fields
}

func (ApiFindOrganizationCapacityPerMetroRequest) Execute ¶

type ApiFindOrganizationCustomdataRequest ¶

type ApiFindOrganizationCustomdataRequest struct {
	ApiService *OrganizationsApiService
	// contains filtered or unexported fields
}

func (ApiFindOrganizationCustomdataRequest) Execute ¶

type ApiFindOrganizationDevicesRequest ¶

type ApiFindOrganizationDevicesRequest struct {
	ApiService *DevicesApiService
	// contains filtered or unexported fields
}

func (ApiFindOrganizationDevicesRequest) Categories ¶ added in v0.9.0

Filter by plan category

func (ApiFindOrganizationDevicesRequest) Exclude ¶

Nested attributes to exclude. Excluded objects will return only the href attribute. Attribute names can be dotted (up to 3 levels) to exclude deeply nested objects.

func (ApiFindOrganizationDevicesRequest) Execute ¶

func (ApiFindOrganizationDevicesRequest) ExecuteWithPagination ¶ added in v0.23.0

func (r ApiFindOrganizationDevicesRequest) ExecuteWithPagination() (*DeviceList, error)

ExecuteWithPagination executes the request to fetch and return all pages of results as a single slice

@return DeviceList

func (ApiFindOrganizationDevicesRequest) Facility ¶

Filter by device facility

func (ApiFindOrganizationDevicesRequest) HasTerminationTime ¶ added in v0.9.0

func (r ApiFindOrganizationDevicesRequest) HasTerminationTime(hasTerminationTime bool) ApiFindOrganizationDevicesRequest

Filter only instances marked for termination. When set to true, only include instances that have a termination time. When set to false, only include instances that do not have a termination time.

func (ApiFindOrganizationDevicesRequest) Hostname ¶

Filter by partial hostname

func (ApiFindOrganizationDevicesRequest) Include ¶

Nested attributes to include. Included objects will return their full attributes. Attribute names can be dotted (up to 3 levels) to included deeply nested objects.

func (ApiFindOrganizationDevicesRequest) Page ¶

Page to return

func (ApiFindOrganizationDevicesRequest) PerPage ¶

Items returned per page

func (ApiFindOrganizationDevicesRequest) Reserved ¶

Filter only reserved instances. When set to true, only include reserved instances. When set to false, only include on-demand instances.

func (ApiFindOrganizationDevicesRequest) Search ¶ added in v0.13.0

Search by hostname, description, short_id, reservation short_id, tags, plan name, plan slug, facility code, facility name, operating system name, operating system slug, IP addresses.

func (ApiFindOrganizationDevicesRequest) Tag ¶

Filter by device tag

func (ApiFindOrganizationDevicesRequest) Type_ ¶

Filter by instance type (ondemand,spot,reserved)

type ApiFindOrganizationEventsRequest ¶

type ApiFindOrganizationEventsRequest struct {
	ApiService *EventsApiService
	// contains filtered or unexported fields
}

func (ApiFindOrganizationEventsRequest) Exclude ¶

Nested attributes to exclude. Excluded objects will return only the href attribute. Attribute names can be dotted (up to 3 levels) to exclude deeply nested objects.

func (ApiFindOrganizationEventsRequest) Execute ¶

func (ApiFindOrganizationEventsRequest) ExecuteWithPagination ¶ added in v0.23.0

func (r ApiFindOrganizationEventsRequest) ExecuteWithPagination() (*EventList, error)

ExecuteWithPagination executes the request to fetch and return all pages of results as a single slice

@return EventList

func (ApiFindOrganizationEventsRequest) Include ¶

Nested attributes to include. Included objects will return their full attributes. Attribute names can be dotted (up to 3 levels) to included deeply nested objects.

func (ApiFindOrganizationEventsRequest) Page ¶

Page to return

func (ApiFindOrganizationEventsRequest) PerPage ¶

Items returned per page

type ApiFindOrganizationInvitationsRequest ¶

type ApiFindOrganizationInvitationsRequest struct {
	ApiService *OrganizationsApiService
	// contains filtered or unexported fields
}

func (ApiFindOrganizationInvitationsRequest) Execute ¶

func (ApiFindOrganizationInvitationsRequest) Include ¶

Nested attributes to include. Included objects will return their full attributes. Attribute names can be dotted (up to 3 levels) to included deeply nested objects.

func (ApiFindOrganizationInvitationsRequest) Page ¶

Page to return

func (ApiFindOrganizationInvitationsRequest) PerPage ¶

Items returned per page

type ApiFindOrganizationInvoicesRequest ¶ added in v0.9.0

type ApiFindOrganizationInvoicesRequest struct {
	ApiService *InvoicesApiService
	// contains filtered or unexported fields
}

func (ApiFindOrganizationInvoicesRequest) Execute ¶ added in v0.9.0

func (ApiFindOrganizationInvoicesRequest) Page ¶ added in v0.9.0

page number

func (ApiFindOrganizationInvoicesRequest) PerPage ¶ added in v0.9.0

per page

func (ApiFindOrganizationInvoicesRequest) Status ¶ added in v0.9.0

filter by status

type ApiFindOrganizationPaymentMethodsRequest ¶

type ApiFindOrganizationPaymentMethodsRequest struct {
	ApiService *OrganizationsApiService
	// contains filtered or unexported fields
}

func (ApiFindOrganizationPaymentMethodsRequest) Execute ¶

func (ApiFindOrganizationPaymentMethodsRequest) Include ¶

Nested attributes to include. Included objects will return their full attributes. Attribute names can be dotted (up to 3 levels) to included deeply nested objects.

func (ApiFindOrganizationPaymentMethodsRequest) Page ¶

Page to return

func (ApiFindOrganizationPaymentMethodsRequest) PerPage ¶

Items returned per page

type ApiFindOrganizationProjectsRequest ¶

type ApiFindOrganizationProjectsRequest struct {
	ApiService *OrganizationsApiService
	// contains filtered or unexported fields
}

func (ApiFindOrganizationProjectsRequest) Exclude ¶

Nested attributes to exclude. Excluded objects will return only the href attribute. Attribute names can be dotted (up to 3 levels) to exclude deeply nested objects.

func (ApiFindOrganizationProjectsRequest) Execute ¶

func (ApiFindOrganizationProjectsRequest) ExecuteWithPagination ¶ added in v0.23.0

func (r ApiFindOrganizationProjectsRequest) ExecuteWithPagination() (*ProjectList, error)

ExecuteWithPagination executes the request to fetch and return all pages of results as a single slice

@return ProjectList

func (ApiFindOrganizationProjectsRequest) Include ¶

Nested attributes to include. Included objects will return their full attributes. Attribute names can be dotted (up to 3 levels) to included deeply nested objects.

func (ApiFindOrganizationProjectsRequest) Name ¶ added in v0.13.0

Filter results by name.

func (ApiFindOrganizationProjectsRequest) Page ¶

Page to return

func (ApiFindOrganizationProjectsRequest) PerPage ¶

Items returned per page

type ApiFindOrganizationTransfersRequest ¶

type ApiFindOrganizationTransfersRequest struct {
	ApiService *OrganizationsApiService
	// contains filtered or unexported fields
}

func (ApiFindOrganizationTransfersRequest) Execute ¶

func (ApiFindOrganizationTransfersRequest) Include ¶

Nested attributes to include. Included objects will return their full attributes. Attribute names can be dotted (up to 3 levels) to included deeply nested objects.

type ApiFindOrganizationsRequest ¶

type ApiFindOrganizationsRequest struct {
	ApiService *OrganizationsApiService
	// contains filtered or unexported fields
}

func (ApiFindOrganizationsRequest) Exclude ¶

Nested attributes to exclude. Excluded objects will return only the href attribute. Attribute names can be dotted (up to 3 levels) to exclude deeply nested objects.

func (ApiFindOrganizationsRequest) Execute ¶

func (ApiFindOrganizationsRequest) ExecuteWithPagination ¶ added in v0.23.0

func (r ApiFindOrganizationsRequest) ExecuteWithPagination() (*OrganizationList, error)

ExecuteWithPagination executes the request to fetch and return all pages of results as a single slice

@return OrganizationList

func (ApiFindOrganizationsRequest) Include ¶

Nested attributes to include. Included objects will return their full attributes. Attribute names can be dotted (up to 3 levels) to included deeply nested objects.

func (ApiFindOrganizationsRequest) Page ¶

Page to return

func (ApiFindOrganizationsRequest) PerPage ¶

Items returned per page

func (ApiFindOrganizationsRequest) Personal ¶

Include, exclude or show only personal organizations.

func (ApiFindOrganizationsRequest) WithoutProjects ¶

Include, exclude or show only organizations that have no projects.

type ApiFindPaymentMethodByIdRequest ¶

type ApiFindPaymentMethodByIdRequest struct {
	ApiService *PaymentMethodsApiService
	// contains filtered or unexported fields
}

func (ApiFindPaymentMethodByIdRequest) Execute ¶

func (ApiFindPaymentMethodByIdRequest) Include ¶

Nested attributes to include. Included objects will return their full attributes. Attribute names can be dotted (up to 3 levels) to included deeply nested objects.

type ApiFindPlansByOrganizationRequest ¶

type ApiFindPlansByOrganizationRequest struct {
	ApiService *OrganizationsApiService
	// contains filtered or unexported fields
}

func (ApiFindPlansByOrganizationRequest) Exclude ¶

Nested attributes to exclude. Excluded objects will return only the href attribute. Attribute names can be dotted (up to 3 levels) to exclude deeply nested objects.

func (ApiFindPlansByOrganizationRequest) Execute ¶

func (ApiFindPlansByOrganizationRequest) Include ¶

Nested attributes to include. Included objects will return their full attributes. Attribute names can be dotted (up to 3 levels) to included deeply nested objects.

type ApiFindPlansByProjectRequest ¶

type ApiFindPlansByProjectRequest struct {
	ApiService *PlansApiService
	// contains filtered or unexported fields
}

func (ApiFindPlansByProjectRequest) Exclude ¶

Nested attributes to exclude. Excluded objects will return only the href attribute. Attribute names can be dotted (up to 3 levels) to exclude deeply nested objects.

func (ApiFindPlansByProjectRequest) Execute ¶

func (ApiFindPlansByProjectRequest) Include ¶

Nested attributes to include. Included objects will return their full attributes. Attribute names can be dotted (up to 3 levels) to included deeply nested objects.

type ApiFindPlansRequest ¶

type ApiFindPlansRequest struct {
	ApiService *PlansApiService
	// contains filtered or unexported fields
}

func (ApiFindPlansRequest) Categories ¶ added in v0.9.0

Filter plans by its category

func (ApiFindPlansRequest) Exclude ¶

func (r ApiFindPlansRequest) Exclude(exclude []string) ApiFindPlansRequest

Nested attributes to exclude. Excluded objects will return only the href attribute. Attribute names can be dotted (up to 3 levels) to exclude deeply nested objects.

func (ApiFindPlansRequest) Execute ¶

func (r ApiFindPlansRequest) Execute() (*PlanList, *http.Response, error)

func (ApiFindPlansRequest) Include ¶

func (r ApiFindPlansRequest) Include(include []string) ApiFindPlansRequest

Nested attributes to include. Included objects will return their full attributes. Attribute names can be dotted (up to 3 levels) to included deeply nested objects.

func (ApiFindPlansRequest) Slug ¶ added in v0.10.0

Filter plans by slug

func (ApiFindPlansRequest) Type_ ¶ added in v0.3.0

Filter plans by its plan type

type ApiFindPortByIdRequest ¶

type ApiFindPortByIdRequest struct {
	ApiService *PortsApiService
	// contains filtered or unexported fields
}

func (ApiFindPortByIdRequest) Execute ¶

func (r ApiFindPortByIdRequest) Execute() (*Port, *http.Response, error)

func (ApiFindPortByIdRequest) Include ¶

Nested attributes to include. Included objects will return their full attributes. Attribute names can be dotted (up to 3 levels) to included deeply nested objects.

type ApiFindPortVlanAssignmentBatchByPortIdAndBatchIdRequest ¶

type ApiFindPortVlanAssignmentBatchByPortIdAndBatchIdRequest struct {
	ApiService *PortsApiService
	// contains filtered or unexported fields
}

func (ApiFindPortVlanAssignmentBatchByPortIdAndBatchIdRequest) Execute ¶

func (ApiFindPortVlanAssignmentBatchByPortIdAndBatchIdRequest) Include ¶ added in v0.6.0

Nested attributes to include. Included objects will return their full attributes. Attribute names can be dotted (up to 3 levels) to included deeply nested objects.

type ApiFindPortVlanAssignmentBatchesRequest ¶

type ApiFindPortVlanAssignmentBatchesRequest struct {
	ApiService *PortsApiService
	// contains filtered or unexported fields
}

func (ApiFindPortVlanAssignmentBatchesRequest) Execute ¶

type ApiFindPortVlanAssignmentByPortIdAndAssignmentIdRequest ¶

type ApiFindPortVlanAssignmentByPortIdAndAssignmentIdRequest struct {
	ApiService *PortsApiService
	// contains filtered or unexported fields
}

func (ApiFindPortVlanAssignmentByPortIdAndAssignmentIdRequest) Execute ¶

func (ApiFindPortVlanAssignmentByPortIdAndAssignmentIdRequest) Include ¶

Nested attributes to include. Included objects will return their full attributes. Attribute names can be dotted (up to 3 levels) to included deeply nested objects.

type ApiFindPortVlanAssignmentsRequest ¶

type ApiFindPortVlanAssignmentsRequest struct {
	ApiService *PortsApiService
	// contains filtered or unexported fields
}

func (ApiFindPortVlanAssignmentsRequest) Execute ¶

func (ApiFindPortVlanAssignmentsRequest) Include ¶

Nested attributes to include. Included objects will return their full attributes. Attribute names can be dotted (up to 3 levels) to included deeply nested objects.

type ApiFindProjectAPIKeysRequest ¶

type ApiFindProjectAPIKeysRequest struct {
	ApiService *AuthenticationApiService
	// contains filtered or unexported fields
}

func (ApiFindProjectAPIKeysRequest) Execute ¶

func (ApiFindProjectAPIKeysRequest) Include ¶

Nested attributes to include. Included objects will return their full attributes. Attribute names can be dotted (up to 3 levels) to included deeply nested objects.

type ApiFindProjectBgpSessionsRequest ¶

type ApiFindProjectBgpSessionsRequest struct {
	ApiService *BGPApiService
	// contains filtered or unexported fields
}

func (ApiFindProjectBgpSessionsRequest) Execute ¶

type ApiFindProjectByIdRequest ¶

type ApiFindProjectByIdRequest struct {
	ApiService *ProjectsApiService
	// contains filtered or unexported fields
}

func (ApiFindProjectByIdRequest) Exclude ¶

Nested attributes to exclude. Excluded objects will return only the href attribute. Attribute names can be dotted (up to 3 levels) to exclude deeply nested objects.

func (ApiFindProjectByIdRequest) Execute ¶

func (ApiFindProjectByIdRequest) Include ¶

Nested attributes to include. Included objects will return their full attributes. Attribute names can be dotted (up to 3 levels) to included deeply nested objects.

type ApiFindProjectCustomdataRequest ¶

type ApiFindProjectCustomdataRequest struct {
	ApiService *ProjectsApiService
	// contains filtered or unexported fields
}

func (ApiFindProjectCustomdataRequest) Execute ¶

type ApiFindProjectDevicesRequest ¶

type ApiFindProjectDevicesRequest struct {
	ApiService *DevicesApiService
	// contains filtered or unexported fields
}

func (ApiFindProjectDevicesRequest) Categories ¶ added in v0.9.0

Filter by plan category

func (ApiFindProjectDevicesRequest) Exclude ¶

Nested attributes to exclude. Excluded objects will return only the href attribute. Attribute names can be dotted (up to 3 levels) to exclude deeply nested objects.

func (ApiFindProjectDevicesRequest) Execute ¶

func (ApiFindProjectDevicesRequest) ExecuteWithPagination ¶ added in v0.23.0

func (r ApiFindProjectDevicesRequest) ExecuteWithPagination() (*DeviceList, error)

ExecuteWithPagination executes the request to fetch and return all pages of results as a single slice

@return DeviceList

func (ApiFindProjectDevicesRequest) Facility ¶

Filter by device facility

func (ApiFindProjectDevicesRequest) HasTerminationTime ¶ added in v0.9.0

func (r ApiFindProjectDevicesRequest) HasTerminationTime(hasTerminationTime bool) ApiFindProjectDevicesRequest

Filter only instances marked for termination. When set to true, only include instances that have a termination time. When set to false, only include instances that do not have a termination time.

func (ApiFindProjectDevicesRequest) Hostname ¶

Filter by partial hostname

func (ApiFindProjectDevicesRequest) Include ¶

Nested attributes to include. Included objects will return their full attributes. Attribute names can be dotted (up to 3 levels) to included deeply nested objects.

func (ApiFindProjectDevicesRequest) Metro ¶ added in v0.24.0

Filter by device metro

func (ApiFindProjectDevicesRequest) Page ¶

Page to return

func (ApiFindProjectDevicesRequest) PerPage ¶

Items returned per page

func (ApiFindProjectDevicesRequest) Reserved ¶

Filter only reserved instances. When set to true, only include reserved instances. When set to false, only include on-demand instances.

func (ApiFindProjectDevicesRequest) Search ¶ added in v0.13.0

Search by hostname, description, short_id, reservation short_id, tags, plan name, plan slug, facility code, facility name, operating system name, operating system slug, IP addresses.

func (ApiFindProjectDevicesRequest) Tag ¶

Filter by device tag

func (ApiFindProjectDevicesRequest) Type_ ¶

Filter by instance type (ondemand,spot,reserved)

type ApiFindProjectEventsRequest ¶

type ApiFindProjectEventsRequest struct {
	ApiService *EventsApiService
	// contains filtered or unexported fields
}

func (ApiFindProjectEventsRequest) Exclude ¶

Nested attributes to exclude. Excluded objects will return only the href attribute. Attribute names can be dotted (up to 3 levels) to exclude deeply nested objects.

func (ApiFindProjectEventsRequest) Execute ¶

func (ApiFindProjectEventsRequest) ExecuteWithPagination ¶ added in v0.23.0

func (r ApiFindProjectEventsRequest) ExecuteWithPagination() (*EventList, error)

ExecuteWithPagination executes the request to fetch and return all pages of results as a single slice

@return EventList

func (ApiFindProjectEventsRequest) Include ¶

Nested attributes to include. Included objects will return their full attributes. Attribute names can be dotted (up to 3 levels) to included deeply nested objects.

func (ApiFindProjectEventsRequest) Page ¶

Page to return

func (ApiFindProjectEventsRequest) PerPage ¶

Items returned per page

type ApiFindProjectHardwareReservationsRequest ¶

type ApiFindProjectHardwareReservationsRequest struct {
	ApiService *HardwareReservationsApiService
	// contains filtered or unexported fields
}

func (ApiFindProjectHardwareReservationsRequest) Exclude ¶

Nested attributes to exclude. Excluded objects will return only the href attribute. Attribute names can be dotted (up to 3 levels) to exclude deeply nested objects.

func (ApiFindProjectHardwareReservationsRequest) Execute ¶

func (ApiFindProjectHardwareReservationsRequest) ExecuteWithPagination ¶ added in v0.23.0

ExecuteWithPagination executes the request to fetch and return all pages of results as a single slice

@return HardwareReservationList

func (ApiFindProjectHardwareReservationsRequest) Include ¶

Nested attributes to include. Included objects will return their full attributes. Attribute names can be dotted (up to 3 levels) to included deeply nested objects.

func (ApiFindProjectHardwareReservationsRequest) Page ¶

Page to return

func (ApiFindProjectHardwareReservationsRequest) PerPage ¶

Items returned per page

func (ApiFindProjectHardwareReservationsRequest) Provisionable ¶ added in v0.5.0

Filter hardware reservation that is provisionable

func (ApiFindProjectHardwareReservationsRequest) Query ¶ added in v0.5.0

Search by facility code, plan name, project name, reservation short ID or device hostname

func (ApiFindProjectHardwareReservationsRequest) State ¶ added in v0.5.0

Filter by hardware reservation state

type ApiFindProjectInvitationsRequest ¶

type ApiFindProjectInvitationsRequest struct {
	ApiService *ProjectsApiService
	// contains filtered or unexported fields
}

func (ApiFindProjectInvitationsRequest) Execute ¶

func (ApiFindProjectInvitationsRequest) Include ¶

Nested attributes to include. Included objects will return their full attributes. Attribute names can be dotted (up to 3 levels) to included deeply nested objects.

func (ApiFindProjectInvitationsRequest) Page ¶

Page to return

func (ApiFindProjectInvitationsRequest) PerPage ¶

Items returned per page

type ApiFindProjectLicensesRequest ¶

type ApiFindProjectLicensesRequest struct {
	ApiService *LicensesApiService
	// contains filtered or unexported fields
}

func (ApiFindProjectLicensesRequest) Exclude ¶

Nested attributes to exclude. Excluded objects will return only the href attribute. Attribute names can be dotted (up to 3 levels) to exclude deeply nested objects.

func (ApiFindProjectLicensesRequest) Execute ¶

func (ApiFindProjectLicensesRequest) Include ¶

Nested attributes to include. Included objects will return their full attributes. Attribute names can be dotted (up to 3 levels) to included deeply nested objects.

func (ApiFindProjectLicensesRequest) Page ¶

Page to return

func (ApiFindProjectLicensesRequest) PerPage ¶

Items returned per page

type ApiFindProjectMembershipsRequest ¶

type ApiFindProjectMembershipsRequest struct {
	ApiService *ProjectsApiService
	// contains filtered or unexported fields
}

func (ApiFindProjectMembershipsRequest) Execute ¶

func (ApiFindProjectMembershipsRequest) Include ¶

Nested attributes to include. Included objects will return their full attributes. Attribute names can be dotted (up to 3 levels) to included deeply nested objects.

func (ApiFindProjectMembershipsRequest) Page ¶

Page to return

func (ApiFindProjectMembershipsRequest) PerPage ¶

Items returned per page

func (ApiFindProjectMembershipsRequest) Search ¶ added in v0.13.0

Search by member full name, id and email.

type ApiFindProjectSSHKeysRequest ¶

type ApiFindProjectSSHKeysRequest struct {
	ApiService *SSHKeysApiService
	// contains filtered or unexported fields
}

func (ApiFindProjectSSHKeysRequest) Execute ¶

func (ApiFindProjectSSHKeysRequest) Include ¶

Nested attributes to include. Included objects will return their full attributes. Attribute names can be dotted (up to 3 levels) to included deeply nested objects.

func (ApiFindProjectSSHKeysRequest) Query ¶ added in v0.5.0

Search by key, label, or fingerprint

type ApiFindProjectUsageRequest ¶

type ApiFindProjectUsageRequest struct {
	ApiService *UsagesApiService
	// contains filtered or unexported fields
}

func (ApiFindProjectUsageRequest) CreatedAfter ¶

func (r ApiFindProjectUsageRequest) CreatedAfter(createdAfter string) ApiFindProjectUsageRequest

Filter usages created after this date

func (ApiFindProjectUsageRequest) CreatedBefore ¶

func (r ApiFindProjectUsageRequest) CreatedBefore(createdBefore string) ApiFindProjectUsageRequest

Filter usages created before this date

func (ApiFindProjectUsageRequest) Execute ¶

type ApiFindProjectsRequest ¶

type ApiFindProjectsRequest struct {
	ApiService *ProjectsApiService
	// contains filtered or unexported fields
}

func (ApiFindProjectsRequest) Exclude ¶

Nested attributes to exclude. Excluded objects will return only the href attribute. Attribute names can be dotted (up to 3 levels) to exclude deeply nested objects.

func (ApiFindProjectsRequest) Execute ¶

func (ApiFindProjectsRequest) ExecuteWithPagination ¶ added in v0.23.0

func (r ApiFindProjectsRequest) ExecuteWithPagination() (*ProjectList, error)

ExecuteWithPagination executes the request to fetch and return all pages of results as a single slice

@return ProjectList

func (ApiFindProjectsRequest) Include ¶

Nested attributes to include. Included objects will return their full attributes. Attribute names can be dotted (up to 3 levels) to included deeply nested objects.

func (ApiFindProjectsRequest) Name ¶ added in v0.13.0

Filter results by name.

func (ApiFindProjectsRequest) Page ¶

Page to return

func (ApiFindProjectsRequest) PerPage ¶

Items returned per page

type ApiFindRecoveryCodesRequest ¶

type ApiFindRecoveryCodesRequest struct {
	ApiService *OTPsApiService
	// contains filtered or unexported fields
}

func (ApiFindRecoveryCodesRequest) Execute ¶

type ApiFindSSHKeyByIdRequest ¶

type ApiFindSSHKeyByIdRequest struct {
	ApiService *SSHKeysApiService
	// contains filtered or unexported fields
}

func (ApiFindSSHKeyByIdRequest) Execute ¶

func (ApiFindSSHKeyByIdRequest) Include ¶

Nested attributes to include. Included objects will return their full attributes. Attribute names can be dotted (up to 3 levels) to included deeply nested objects.

type ApiFindSSHKeysRequest ¶

type ApiFindSSHKeysRequest struct {
	ApiService *SSHKeysApiService
	// contains filtered or unexported fields
}

func (ApiFindSSHKeysRequest) Execute ¶

func (ApiFindSSHKeysRequest) Include ¶

func (r ApiFindSSHKeysRequest) Include(include []string) ApiFindSSHKeysRequest

Nested attributes to include. Included objects will return their full attributes. Attribute names can be dotted (up to 3 levels) to included deeply nested objects.

func (ApiFindSSHKeysRequest) Search ¶ added in v0.13.0

Search by key, label, or fingerprint

type ApiFindSelfServiceReservationRequest ¶

type ApiFindSelfServiceReservationRequest struct {
	ApiService *SelfServiceReservationsApiService
	// contains filtered or unexported fields
}

func (ApiFindSelfServiceReservationRequest) Execute ¶

type ApiFindSelfServiceReservationsRequest ¶

type ApiFindSelfServiceReservationsRequest struct {
	ApiService *SelfServiceReservationsApiService
	// contains filtered or unexported fields
}

func (ApiFindSelfServiceReservationsRequest) Categories ¶ added in v0.9.0

Filter reservations by items category

func (ApiFindSelfServiceReservationsRequest) Execute ¶

func (ApiFindSelfServiceReservationsRequest) Page ¶

Page to return

func (ApiFindSelfServiceReservationsRequest) PerPage ¶

Items returned per page

type ApiFindSpotMarketPricesHistoryRequest ¶

type ApiFindSpotMarketPricesHistoryRequest struct {
	ApiService *SpotMarketApiService
	// contains filtered or unexported fields
}

func (ApiFindSpotMarketPricesHistoryRequest) Execute ¶

func (ApiFindSpotMarketPricesHistoryRequest) Facility ¶

Facility to check spot market prices

func (ApiFindSpotMarketPricesHistoryRequest) From ¶

Timestamp from range

func (ApiFindSpotMarketPricesHistoryRequest) Metro ¶

Metro to check spot market price history

func (ApiFindSpotMarketPricesHistoryRequest) Plan ¶

Plan to check spot market prices

func (ApiFindSpotMarketPricesHistoryRequest) Until ¶

Timestamp to range

type ApiFindSpotMarketPricesRequest ¶

type ApiFindSpotMarketPricesRequest struct {
	ApiService *SpotMarketApiService
	// contains filtered or unexported fields
}

func (ApiFindSpotMarketPricesRequest) Execute ¶

func (ApiFindSpotMarketPricesRequest) Facility ¶

Facility to check spot market prices

func (ApiFindSpotMarketPricesRequest) Plan ¶

Plan to check spot market prices

type ApiFindSpotMarketRequestByIdRequest ¶

type ApiFindSpotMarketRequestByIdRequest struct {
	ApiService *SpotMarketApiService
	// contains filtered or unexported fields
}

func (ApiFindSpotMarketRequestByIdRequest) Execute ¶

func (ApiFindSpotMarketRequestByIdRequest) Include ¶

Nested attributes to include. Included objects will return their full attributes. Attribute names can be dotted (up to 3 levels) to included deeply nested objects.

type ApiFindTrafficRequest ¶

type ApiFindTrafficRequest struct {
	ApiService *DevicesApiService
	// contains filtered or unexported fields
}

func (ApiFindTrafficRequest) Bucket ¶

Traffic bucket

func (ApiFindTrafficRequest) Direction ¶

Traffic direction

func (ApiFindTrafficRequest) Execute ¶

func (r ApiFindTrafficRequest) Execute() (*http.Response, error)

func (ApiFindTrafficRequest) Interval ¶

Traffic interval

func (ApiFindTrafficRequest) Timeframe ¶ added in v0.3.0

type ApiFindTransferRequestByIdRequest ¶

type ApiFindTransferRequestByIdRequest struct {
	ApiService *TransferRequestsApiService
	// contains filtered or unexported fields
}

func (ApiFindTransferRequestByIdRequest) Execute ¶

func (ApiFindTransferRequestByIdRequest) Include ¶

Nested attributes to include. Included objects will return their full attributes. Attribute names can be dotted (up to 3 levels) to included deeply nested objects.

type ApiFindUserByIdRequest ¶

type ApiFindUserByIdRequest struct {
	ApiService *UsersApiService
	// contains filtered or unexported fields
}

func (ApiFindUserByIdRequest) Exclude ¶

Nested attributes to exclude. Excluded objects will return only the href attribute. Attribute names can be dotted (up to 3 levels) to exclude deeply nested objects.

func (ApiFindUserByIdRequest) Execute ¶

func (r ApiFindUserByIdRequest) Execute() (*User, *http.Response, error)

func (ApiFindUserByIdRequest) Include ¶

Nested attributes to include. Included objects will return their full attributes. Attribute names can be dotted (up to 3 levels) to included deeply nested objects.

type ApiFindUserCustomdataRequest ¶

type ApiFindUserCustomdataRequest struct {
	ApiService *UsersApiService
	// contains filtered or unexported fields
}

func (ApiFindUserCustomdataRequest) Execute ¶

type ApiFindUsersRequest ¶

type ApiFindUsersRequest struct {
	ApiService *UsersApiService
	// contains filtered or unexported fields
}

func (ApiFindUsersRequest) Exclude ¶

func (r ApiFindUsersRequest) Exclude(exclude []string) ApiFindUsersRequest

Nested attributes to exclude. Excluded objects will return only the href attribute. Attribute names can be dotted (up to 3 levels) to exclude deeply nested objects.

func (ApiFindUsersRequest) Execute ¶

func (r ApiFindUsersRequest) Execute() (*UserList, *http.Response, error)

func (ApiFindUsersRequest) ExecuteWithPagination ¶ added in v0.23.0

func (r ApiFindUsersRequest) ExecuteWithPagination() (*UserList, error)

ExecuteWithPagination executes the request to fetch and return all pages of results as a single slice

@return UserList

func (ApiFindUsersRequest) Include ¶

func (r ApiFindUsersRequest) Include(include []string) ApiFindUsersRequest

Nested attributes to include. Included objects will return their full attributes. Attribute names can be dotted (up to 3 levels) to included deeply nested objects.

func (ApiFindUsersRequest) Page ¶

Page to return

func (ApiFindUsersRequest) PerPage ¶

func (r ApiFindUsersRequest) PerPage(perPage int32) ApiFindUsersRequest

Items returned per page

type ApiFindVirtualCircuitEventsRequest ¶

type ApiFindVirtualCircuitEventsRequest struct {
	ApiService *EventsApiService
	// contains filtered or unexported fields
}

func (ApiFindVirtualCircuitEventsRequest) Exclude ¶

Nested attributes to exclude. Excluded objects will return only the href attribute. Attribute names can be dotted (up to 3 levels) to exclude deeply nested objects.

func (ApiFindVirtualCircuitEventsRequest) Execute ¶

func (ApiFindVirtualCircuitEventsRequest) Include ¶

Nested attributes to include. Included objects will return their full attributes. Attribute names can be dotted (up to 3 levels) to included deeply nested objects.

func (ApiFindVirtualCircuitEventsRequest) Page ¶

Page to return

func (ApiFindVirtualCircuitEventsRequest) PerPage ¶

Items returned per page

type ApiFindVirtualNetworksRequest ¶

type ApiFindVirtualNetworksRequest struct {
	ApiService *VLANsApiService
	// contains filtered or unexported fields
}

func (ApiFindVirtualNetworksRequest) Exclude ¶

Nested attributes to exclude. Excluded objects will return only the href attribute. Attribute names can be dotted (up to 3 levels) to exclude deeply nested objects.

func (ApiFindVirtualNetworksRequest) Execute ¶

func (ApiFindVirtualNetworksRequest) Facility ¶

Filter by Facility ID (uuid) or Facility Code Deprecated

func (ApiFindVirtualNetworksRequest) Include ¶

Nested attributes to include. Included objects will return their full attributes. Attribute names can be dotted (up to 3 levels) to included deeply nested objects.

func (ApiFindVirtualNetworksRequest) Metro ¶

Filter by Metro ID (uuid) or Metro Code

type ApiFindVrfByIdRequest ¶

type ApiFindVrfByIdRequest struct {
	ApiService *VRFsApiService
	// contains filtered or unexported fields
}

func (ApiFindVrfByIdRequest) Exclude ¶

func (r ApiFindVrfByIdRequest) Exclude(exclude []string) ApiFindVrfByIdRequest

Nested attributes to exclude. Excluded objects will return only the href attribute. Attribute names can be dotted (up to 3 levels) to exclude deeply nested objects.

func (ApiFindVrfByIdRequest) Execute ¶

func (r ApiFindVrfByIdRequest) Execute() (*Vrf, *http.Response, error)

func (ApiFindVrfByIdRequest) Include ¶

func (r ApiFindVrfByIdRequest) Include(include []string) ApiFindVrfByIdRequest

Nested attributes to include. Included objects will return their full attributes. Attribute names can be dotted (up to 3 levels) to included deeply nested objects.

type ApiFindVrfIpReservationRequest ¶ added in v0.5.0

type ApiFindVrfIpReservationRequest struct {
	ApiService *VRFsApiService
	// contains filtered or unexported fields
}

func (ApiFindVrfIpReservationRequest) Exclude ¶ added in v0.5.0

Nested attributes to exclude. Excluded objects will return only the href attribute. Attribute names can be dotted (up to 3 levels) to exclude deeply nested objects.

func (ApiFindVrfIpReservationRequest) Execute ¶ added in v0.5.0

func (ApiFindVrfIpReservationRequest) Include ¶ added in v0.5.0

Nested attributes to include. Included objects will return their full attributes. Attribute names can be dotted (up to 3 levels) to included deeply nested objects.

type ApiFindVrfIpReservationsRequest ¶

type ApiFindVrfIpReservationsRequest struct {
	ApiService *VRFsApiService
	// contains filtered or unexported fields
}

func (ApiFindVrfIpReservationsRequest) Exclude ¶

Nested attributes to exclude. Excluded objects will return only the href attribute. Attribute names can be dotted (up to 3 levels) to exclude deeply nested objects.

func (ApiFindVrfIpReservationsRequest) Execute ¶

func (ApiFindVrfIpReservationsRequest) Include ¶

Nested attributes to include. Included objects will return their full attributes. Attribute names can be dotted (up to 3 levels) to included deeply nested objects.

type ApiFindVrfRouteByIdRequest ¶ added in v0.5.0

type ApiFindVrfRouteByIdRequest struct {
	ApiService *VRFsApiService
	// contains filtered or unexported fields
}

func (ApiFindVrfRouteByIdRequest) Exclude ¶ added in v0.5.0

Nested attributes to exclude. Excluded objects will return only the href attribute. Attribute names can be dotted (up to 3 levels) to exclude deeply nested objects.

func (ApiFindVrfRouteByIdRequest) Execute ¶ added in v0.5.0

func (ApiFindVrfRouteByIdRequest) Include ¶ added in v0.5.0

Nested attributes to include. Included objects will return their full attributes. Attribute names can be dotted (up to 3 levels) to included deeply nested objects.

type ApiFindVrfRouteEventsRequest ¶ added in v0.9.0

type ApiFindVrfRouteEventsRequest struct {
	ApiService *EventsApiService
	// contains filtered or unexported fields
}

func (ApiFindVrfRouteEventsRequest) Exclude ¶ added in v0.9.0

Nested attributes to exclude. Excluded objects will return only the href attribute. Attribute names can be dotted (up to 3 levels) to exclude deeply nested objects.

func (ApiFindVrfRouteEventsRequest) Execute ¶ added in v0.9.0

func (ApiFindVrfRouteEventsRequest) Include ¶ added in v0.9.0

Nested attributes to include. Included objects will return their full attributes. Attribute names can be dotted (up to 3 levels) to included deeply nested objects.

func (ApiFindVrfRouteEventsRequest) Page ¶ added in v0.9.0

Page to return

func (ApiFindVrfRouteEventsRequest) PerPage ¶ added in v0.9.0

Items returned per page

type ApiFindVrfsRequest ¶

type ApiFindVrfsRequest struct {
	ApiService *VRFsApiService
	// contains filtered or unexported fields
}

func (ApiFindVrfsRequest) Exclude ¶

func (r ApiFindVrfsRequest) Exclude(exclude []string) ApiFindVrfsRequest

Nested attributes to exclude. Excluded objects will return only the href attribute. Attribute names can be dotted (up to 3 levels) to exclude deeply nested objects.

func (ApiFindVrfsRequest) Execute ¶

func (r ApiFindVrfsRequest) Execute() (*VrfList, *http.Response, error)

func (ApiFindVrfsRequest) Include ¶

func (r ApiFindVrfsRequest) Include(include []string) ApiFindVrfsRequest

Nested attributes to include. Included objects will return their full attributes. Attribute names can be dotted (up to 3 levels) to included deeply nested objects.

func (ApiFindVrfsRequest) Metro ¶

Filter by Metro ID (uuid) or Metro Code

type ApiGetBgpDynamicNeighborsRequest ¶ added in v0.9.0

type ApiGetBgpDynamicNeighborsRequest struct {
	ApiService *VRFsApiService
	// contains filtered or unexported fields
}

func (ApiGetBgpDynamicNeighborsRequest) Exclude ¶ added in v0.9.0

Nested attributes to exclude. Excluded objects will return only the href attribute. Attribute names can be dotted (up to 3 levels) to exclude deeply nested objects.

func (ApiGetBgpDynamicNeighborsRequest) Execute ¶ added in v0.9.0

func (ApiGetBgpDynamicNeighborsRequest) Include ¶ added in v0.9.0

Nested attributes to include. Included objects will return their full attributes. Attribute names can be dotted (up to 3 levels) to included deeply nested objects.

type ApiGetBgpNeighborDataRequest ¶

type ApiGetBgpNeighborDataRequest struct {
	ApiService *DevicesApiService
	// contains filtered or unexported fields
}

func (ApiGetBgpNeighborDataRequest) Execute ¶

func (ApiGetBgpNeighborDataRequest) Include ¶ added in v0.15.0

Nested attributes to include. Included objects will return their full attributes. Attribute names can be dotted (up to 3 levels) to included deeply nested objects.

type ApiGetDeviceFirmwareSetsRequest ¶ added in v0.21.0

type ApiGetDeviceFirmwareSetsRequest struct {
	ApiService *DevicesApiService
	// contains filtered or unexported fields
}

func (ApiGetDeviceFirmwareSetsRequest) Execute ¶ added in v0.21.0

type ApiGetDeviceHealthRollupRequest ¶ added in v0.21.0

type ApiGetDeviceHealthRollupRequest struct {
	ApiService *DevicesApiService
	// contains filtered or unexported fields
}

func (ApiGetDeviceHealthRollupRequest) Execute ¶ added in v0.21.0

type ApiGetInterconnectionPortRequest ¶ added in v0.3.0

type ApiGetInterconnectionPortRequest struct {
	ApiService *InterconnectionsApiService
	// contains filtered or unexported fields
}

func (ApiGetInterconnectionPortRequest) Exclude ¶ added in v0.15.0

Nested attributes to exclude. Excluded objects will return only the href attribute. Attribute names can be dotted (up to 3 levels) to exclude deeply nested objects.

func (ApiGetInterconnectionPortRequest) Execute ¶ added in v0.3.0

func (ApiGetInterconnectionPortRequest) Include ¶ added in v0.15.0

Nested attributes to include. Included objects will return their full attributes. Attribute names can be dotted (up to 3 levels) to included deeply nested objects.

type ApiGetInterconnectionRequest ¶

type ApiGetInterconnectionRequest struct {
	ApiService *InterconnectionsApiService
	// contains filtered or unexported fields
}

func (ApiGetInterconnectionRequest) Exclude ¶ added in v0.15.0

Nested attributes to exclude. Excluded objects will return only the href attribute. Attribute names can be dotted (up to 3 levels) to exclude deeply nested objects.

func (ApiGetInterconnectionRequest) Execute ¶

func (ApiGetInterconnectionRequest) Include ¶ added in v0.15.0

Nested attributes to include. Included objects will return their full attributes. Attribute names can be dotted (up to 3 levels) to included deeply nested objects.

type ApiGetInvoiceByIdRequest ¶ added in v0.9.0

type ApiGetInvoiceByIdRequest struct {
	ApiService *InvoicesApiService
	// contains filtered or unexported fields
}

func (ApiGetInvoiceByIdRequest) Execute ¶ added in v0.9.0

type ApiGetMetalGatewayElasticIpsRequest ¶ added in v0.8.0

type ApiGetMetalGatewayElasticIpsRequest struct {
	ApiService *MetalGatewaysApiService
	// contains filtered or unexported fields
}

func (ApiGetMetalGatewayElasticIpsRequest) Exclude ¶ added in v0.8.0

Nested attributes to exclude. Excluded objects will return only the href attribute. Attribute names can be dotted (up to 3 levels) to exclude deeply nested objects.

func (ApiGetMetalGatewayElasticIpsRequest) Execute ¶ added in v0.8.0

func (ApiGetMetalGatewayElasticIpsRequest) Include ¶ added in v0.8.0

Nested attributes to include. Included objects will return their full attributes. Attribute names can be dotted (up to 3 levels) to included deeply nested objects.

type ApiGetMetroRequest ¶

type ApiGetMetroRequest struct {
	ApiService *MetrosApiService
	// contains filtered or unexported fields
}

func (ApiGetMetroRequest) Execute ¶

func (r ApiGetMetroRequest) Execute() (*Metro, *http.Response, error)

type ApiGetOrganizationFirmwareSetsRequest ¶ added in v0.21.0

type ApiGetOrganizationFirmwareSetsRequest struct {
	ApiService *FirmwareSetsApiService
	// contains filtered or unexported fields
}

func (ApiGetOrganizationFirmwareSetsRequest) Execute ¶ added in v0.21.0

func (ApiGetOrganizationFirmwareSetsRequest) Page ¶ added in v0.21.0

page number to return

func (ApiGetOrganizationFirmwareSetsRequest) PerPage ¶ added in v0.21.0

items returned per page.

type ApiGetProjectFirmwareSetsRequest ¶ added in v0.21.0

type ApiGetProjectFirmwareSetsRequest struct {
	ApiService *FirmwareSetsApiService
	// contains filtered or unexported fields
}

func (ApiGetProjectFirmwareSetsRequest) Execute ¶ added in v0.21.0

func (ApiGetProjectFirmwareSetsRequest) Page ¶ added in v0.21.0

page number to return

func (ApiGetProjectFirmwareSetsRequest) PerPage ¶ added in v0.21.0

items returned per page.

type ApiGetVirtualCircuitRequest ¶

type ApiGetVirtualCircuitRequest struct {
	ApiService *InterconnectionsApiService
	// contains filtered or unexported fields
}

func (ApiGetVirtualCircuitRequest) Exclude ¶ added in v0.15.0

Nested attributes to exclude. Excluded objects will return only the href attribute. Attribute names can be dotted (up to 3 levels) to exclude deeply nested objects.

func (ApiGetVirtualCircuitRequest) Execute ¶

func (ApiGetVirtualCircuitRequest) Include ¶ added in v0.15.0

Nested attributes to include. Included objects will return their full attributes. Attribute names can be dotted (up to 3 levels) to included deeply nested objects.

type ApiGetVirtualNetworkRequest ¶

type ApiGetVirtualNetworkRequest struct {
	ApiService *VLANsApiService
	// contains filtered or unexported fields
}

func (ApiGetVirtualNetworkRequest) Exclude ¶ added in v0.15.0

Nested attributes to exclude. Excluded objects will return only the href attribute. Attribute names can be dotted (up to 3 levels) to exclude deeply nested objects.

func (ApiGetVirtualNetworkRequest) Execute ¶

func (ApiGetVirtualNetworkRequest) Include ¶ added in v0.15.0

Nested attributes to include. Included objects will return their full attributes. Attribute names can be dotted (up to 3 levels) to included deeply nested objects.

type ApiGetVrfRoutesRequest ¶ added in v0.5.0

type ApiGetVrfRoutesRequest struct {
	ApiService *VRFsApiService
	// contains filtered or unexported fields
}

func (ApiGetVrfRoutesRequest) Exclude ¶ added in v0.5.0

Nested attributes to exclude. Excluded objects will return only the href attribute. Attribute names can be dotted (up to 3 levels) to exclude deeply nested objects.

func (ApiGetVrfRoutesRequest) Execute ¶ added in v0.5.0

func (ApiGetVrfRoutesRequest) Include ¶ added in v0.5.0

Nested attributes to include. Included objects will return their full attributes. Attribute names can be dotted (up to 3 levels) to included deeply nested objects.

type ApiListInterconnectionPortVirtualCircuitsRequest ¶ added in v0.3.0

type ApiListInterconnectionPortVirtualCircuitsRequest struct {
	ApiService *InterconnectionsApiService
	// contains filtered or unexported fields
}

func (ApiListInterconnectionPortVirtualCircuitsRequest) Exclude ¶ added in v0.15.0

Nested attributes to exclude. Excluded objects will return only the href attribute. Attribute names can be dotted (up to 3 levels) to exclude deeply nested objects.

func (ApiListInterconnectionPortVirtualCircuitsRequest) Execute ¶ added in v0.3.0

func (ApiListInterconnectionPortVirtualCircuitsRequest) Include ¶ added in v0.15.0

Nested attributes to include. Included objects will return their full attributes. Attribute names can be dotted (up to 3 levels) to included deeply nested objects.

type ApiListInterconnectionPortsRequest ¶ added in v0.3.0

type ApiListInterconnectionPortsRequest struct {
	ApiService *InterconnectionsApiService
	// contains filtered or unexported fields
}

func (ApiListInterconnectionPortsRequest) Execute ¶ added in v0.3.0

type ApiListInterconnectionVirtualCircuitsRequest ¶ added in v0.5.0

type ApiListInterconnectionVirtualCircuitsRequest struct {
	ApiService *InterconnectionsApiService
	// contains filtered or unexported fields
}

func (ApiListInterconnectionVirtualCircuitsRequest) Execute ¶ added in v0.5.0

type ApiListSpotMarketRequestsRequest ¶

type ApiListSpotMarketRequestsRequest struct {
	ApiService *SpotMarketApiService
	// contains filtered or unexported fields
}

func (ApiListSpotMarketRequestsRequest) Execute ¶

type ApiMoveHardwareReservationRequest ¶

type ApiMoveHardwareReservationRequest struct {
	ApiService *HardwareReservationsApiService
	// contains filtered or unexported fields
}

func (ApiMoveHardwareReservationRequest) Exclude ¶ added in v0.15.0

Nested attributes to exclude. Excluded objects will return only the href attribute. Attribute names can be dotted (up to 3 levels) to exclude deeply nested objects.

func (ApiMoveHardwareReservationRequest) Execute ¶

func (ApiMoveHardwareReservationRequest) Include ¶ added in v0.15.0

Nested attributes to include. Included objects will return their full attributes. Attribute names can be dotted (up to 3 levels) to included deeply nested objects.

func (ApiMoveHardwareReservationRequest) MoveHardwareReservationRequest ¶ added in v0.5.0

func (r ApiMoveHardwareReservationRequest) MoveHardwareReservationRequest(moveHardwareReservationRequest MoveHardwareReservationRequest) ApiMoveHardwareReservationRequest

Destination Project UUID

type ApiOrganizationListInterconnectionsRequest ¶

type ApiOrganizationListInterconnectionsRequest struct {
	ApiService *InterconnectionsApiService
	// contains filtered or unexported fields
}

func (ApiOrganizationListInterconnectionsRequest) Exclude ¶ added in v0.15.0

Nested attributes to exclude. Excluded objects will return only the href attribute. Attribute names can be dotted (up to 3 levels) to exclude deeply nested objects.

func (ApiOrganizationListInterconnectionsRequest) Execute ¶

func (ApiOrganizationListInterconnectionsRequest) Include ¶ added in v0.15.0

Nested attributes to include. Included objects will return their full attributes. Attribute names can be dotted (up to 3 levels) to included deeply nested objects.

type ApiPerformActionRequest ¶

type ApiPerformActionRequest struct {
	ApiService *DevicesApiService
	// contains filtered or unexported fields
}

func (ApiPerformActionRequest) DeviceActionInput ¶ added in v0.4.0

func (r ApiPerformActionRequest) DeviceActionInput(deviceActionInput DeviceActionInput) ApiPerformActionRequest

Action to perform

func (ApiPerformActionRequest) Execute ¶

func (r ApiPerformActionRequest) Execute() (*http.Response, error)

type ApiProjectListInterconnectionsRequest ¶

type ApiProjectListInterconnectionsRequest struct {
	ApiService *InterconnectionsApiService
	// contains filtered or unexported fields
}

func (ApiProjectListInterconnectionsRequest) Exclude ¶ added in v0.8.0

Nested attributes to exclude. Excluded objects will return only the href attribute. Attribute names can be dotted (up to 3 levels) to exclude deeply nested objects.

func (ApiProjectListInterconnectionsRequest) Execute ¶

func (ApiProjectListInterconnectionsRequest) ExecuteWithPagination ¶ added in v0.23.0

func (r ApiProjectListInterconnectionsRequest) ExecuteWithPagination() (*InterconnectionList, error)

ExecuteWithPagination executes the request to fetch and return all pages of results as a single slice

@return InterconnectionList

func (ApiProjectListInterconnectionsRequest) Include ¶ added in v0.8.0

Nested attributes to include. Included objects will return their full attributes. Attribute names can be dotted (up to 3 levels) to included deeply nested objects.

func (ApiProjectListInterconnectionsRequest) Page ¶ added in v0.8.0

Page to return

func (ApiProjectListInterconnectionsRequest) PerPage ¶ added in v0.8.0

Items returned per page

type ApiReceiveCodesRequest ¶

type ApiReceiveCodesRequest struct {
	ApiService *OTPsApiService
	// contains filtered or unexported fields
}

func (ApiReceiveCodesRequest) Execute ¶

func (r ApiReceiveCodesRequest) Execute() (*http.Response, error)

type ApiRegenerateCodesRequest ¶

type ApiRegenerateCodesRequest struct {
	ApiService *OTPsApiService
	// contains filtered or unexported fields
}

func (ApiRegenerateCodesRequest) Execute ¶

type ApiRequestBgpConfigRequest ¶

type ApiRequestBgpConfigRequest struct {
	ApiService *BGPApiService
	// contains filtered or unexported fields
}

func (ApiRequestBgpConfigRequest) BgpConfigRequestInput ¶ added in v0.4.0

func (r ApiRequestBgpConfigRequest) BgpConfigRequestInput(bgpConfigRequestInput BgpConfigRequestInput) ApiRequestBgpConfigRequest

BGP config Request to create

func (ApiRequestBgpConfigRequest) Execute ¶

func (ApiRequestBgpConfigRequest) Include ¶ added in v0.15.0

Nested attributes to include. Included objects will return their full attributes. Attribute names can be dotted (up to 3 levels) to included deeply nested objects.

type ApiRequestIPReservationRequest ¶

type ApiRequestIPReservationRequest struct {
	ApiService *IPAddressesApiService
	// contains filtered or unexported fields
}

func (ApiRequestIPReservationRequest) Exclude ¶ added in v0.15.0

Nested attributes to exclude. Excluded objects will return only the href attribute. Attribute names can be dotted (up to 3 levels) to exclude deeply nested objects.

func (ApiRequestIPReservationRequest) Execute ¶

func (ApiRequestIPReservationRequest) Include ¶ added in v0.15.0

Nested attributes to include. Included objects will return their full attributes. Attribute names can be dotted (up to 3 levels) to included deeply nested objects.

func (ApiRequestIPReservationRequest) RequestIPReservationRequest ¶ added in v0.3.0

func (r ApiRequestIPReservationRequest) RequestIPReservationRequest(requestIPReservationRequest RequestIPReservationRequest) ApiRequestIPReservationRequest

IP Reservation Request to create

type ApiRequestSuppertRequest ¶

type ApiRequestSuppertRequest struct {
	ApiService *SupportRequestApiService
	// contains filtered or unexported fields
}

func (ApiRequestSuppertRequest) Execute ¶

func (r ApiRequestSuppertRequest) Execute() (*http.Response, error)

func (ApiRequestSuppertRequest) SupportRequestInput ¶ added in v0.4.0

func (r ApiRequestSuppertRequest) SupportRequestInput(supportRequestInput SupportRequestInput) ApiRequestSuppertRequest

Support Request to create

type ApiResetPasswordRequest ¶

type ApiResetPasswordRequest struct {
	ApiService *PasswordResetTokensApiService
	// contains filtered or unexported fields
}

func (ApiResetPasswordRequest) Execute ¶

type ApiUnassignPortRequest ¶

type ApiUnassignPortRequest struct {
	ApiService *PortsApiService
	// contains filtered or unexported fields
}

func (ApiUnassignPortRequest) Execute ¶

func (r ApiUnassignPortRequest) Execute() (*Port, *http.Response, error)

func (ApiUnassignPortRequest) Include ¶ added in v0.15.0

Nested attributes to include. Included objects will return their full attributes. Attribute names can be dotted (up to 3 levels) to included deeply nested objects.

func (ApiUnassignPortRequest) PortAssignInput ¶ added in v0.4.0

func (r ApiUnassignPortRequest) PortAssignInput(portAssignInput PortAssignInput) ApiUnassignPortRequest

Virtual Network ID. May be the UUID of the Virtual Network record, or the VLAN value itself (ex: '1001').

type ApiUpdateBgpSessionRequest ¶

type ApiUpdateBgpSessionRequest struct {
	ApiService *BGPApiService
	// contains filtered or unexported fields
}

func (ApiUpdateBgpSessionRequest) Body ¶

Default route

func (ApiUpdateBgpSessionRequest) Execute ¶

type ApiUpdateCurrentUserRequest ¶

type ApiUpdateCurrentUserRequest struct {
	ApiService *UsersApiService
	// contains filtered or unexported fields
}

func (ApiUpdateCurrentUserRequest) Exclude ¶ added in v0.15.0

Nested attributes to exclude. Excluded objects will return only the href attribute. Attribute names can be dotted (up to 3 levels) to exclude deeply nested objects.

func (ApiUpdateCurrentUserRequest) Execute ¶

func (ApiUpdateCurrentUserRequest) Include ¶ added in v0.15.0

Nested attributes to include. Included objects will return their full attributes. Attribute names can be dotted (up to 3 levels) to included deeply nested objects.

func (ApiUpdateCurrentUserRequest) UserUpdateInput ¶ added in v0.4.0

func (r ApiUpdateCurrentUserRequest) UserUpdateInput(userUpdateInput UserUpdateInput) ApiUpdateCurrentUserRequest

User to update

type ApiUpdateDeviceRequest ¶

type ApiUpdateDeviceRequest struct {
	ApiService *DevicesApiService
	// contains filtered or unexported fields
}

func (ApiUpdateDeviceRequest) DeviceUpdateInput ¶ added in v0.4.0

func (r ApiUpdateDeviceRequest) DeviceUpdateInput(deviceUpdateInput DeviceUpdateInput) ApiUpdateDeviceRequest

Device to update

func (ApiUpdateDeviceRequest) Exclude ¶ added in v0.15.0

Nested attributes to exclude. Excluded objects will return only the href attribute. Attribute names can be dotted (up to 3 levels) to exclude deeply nested objects.

func (ApiUpdateDeviceRequest) Execute ¶

func (r ApiUpdateDeviceRequest) Execute() (*Device, *http.Response, error)

func (ApiUpdateDeviceRequest) Include ¶ added in v0.15.0

Nested attributes to include. Included objects will return their full attributes. Attribute names can be dotted (up to 3 levels) to included deeply nested objects.

type ApiUpdateEmailRequest ¶

type ApiUpdateEmailRequest struct {
	ApiService *EmailsApiService
	// contains filtered or unexported fields
}

func (ApiUpdateEmailRequest) Execute ¶

func (r ApiUpdateEmailRequest) Execute() (*Email, *http.Response, error)

func (ApiUpdateEmailRequest) UpdateEmailInput ¶ added in v0.4.0

func (r ApiUpdateEmailRequest) UpdateEmailInput(updateEmailInput UpdateEmailInput) ApiUpdateEmailRequest

email to update

type ApiUpdateIPAddressRequest ¶

type ApiUpdateIPAddressRequest struct {
	ApiService *IPAddressesApiService
	// contains filtered or unexported fields
}

func (ApiUpdateIPAddressRequest) Exclude ¶ added in v0.15.0

Nested attributes to exclude. Excluded objects will return only the href attribute. Attribute names can be dotted (up to 3 levels) to exclude deeply nested objects.

func (ApiUpdateIPAddressRequest) Execute ¶

func (ApiUpdateIPAddressRequest) IPAssignmentUpdateInput ¶ added in v0.5.0

func (r ApiUpdateIPAddressRequest) IPAssignmentUpdateInput(iPAssignmentUpdateInput IPAssignmentUpdateInput) ApiUpdateIPAddressRequest

func (ApiUpdateIPAddressRequest) Include ¶ added in v0.15.0

Nested attributes to include. Included objects will return their full attributes. Attribute names can be dotted (up to 3 levels) to included deeply nested objects.

type ApiUpdateInterconnectionRequest ¶

type ApiUpdateInterconnectionRequest struct {
	ApiService *InterconnectionsApiService
	// contains filtered or unexported fields
}

func (ApiUpdateInterconnectionRequest) Exclude ¶ added in v0.15.0

Nested attributes to exclude. Excluded objects will return only the href attribute. Attribute names can be dotted (up to 3 levels) to exclude deeply nested objects.

func (ApiUpdateInterconnectionRequest) Execute ¶

func (ApiUpdateInterconnectionRequest) Include ¶ added in v0.15.0

Nested attributes to include. Included objects will return their full attributes. Attribute names can be dotted (up to 3 levels) to included deeply nested objects.

func (ApiUpdateInterconnectionRequest) InterconnectionUpdateInput ¶ added in v0.4.0

func (r ApiUpdateInterconnectionRequest) InterconnectionUpdateInput(interconnectionUpdateInput InterconnectionUpdateInput) ApiUpdateInterconnectionRequest

Updated interconnection details

type ApiUpdateLicenseRequest ¶

type ApiUpdateLicenseRequest struct {
	ApiService *LicensesApiService
	// contains filtered or unexported fields
}

func (ApiUpdateLicenseRequest) Exclude ¶ added in v0.15.0

Nested attributes to exclude. Excluded objects will return only the href attribute. Attribute names can be dotted (up to 3 levels) to exclude deeply nested objects.

func (ApiUpdateLicenseRequest) Execute ¶

func (ApiUpdateLicenseRequest) Include ¶ added in v0.15.0

Nested attributes to include. Included objects will return their full attributes. Attribute names can be dotted (up to 3 levels) to included deeply nested objects.

func (ApiUpdateLicenseRequest) LicenseUpdateInput ¶ added in v0.4.0

func (r ApiUpdateLicenseRequest) LicenseUpdateInput(licenseUpdateInput LicenseUpdateInput) ApiUpdateLicenseRequest

License to update

type ApiUpdateMembershipRequest ¶

type ApiUpdateMembershipRequest struct {
	ApiService *MembershipsApiService
	// contains filtered or unexported fields
}

func (ApiUpdateMembershipRequest) Execute ¶

func (ApiUpdateMembershipRequest) Include ¶ added in v0.15.0

Nested attributes to include. Included objects will return their full attributes. Attribute names can be dotted (up to 3 levels) to included deeply nested objects.

func (ApiUpdateMembershipRequest) MembershipInput ¶ added in v0.4.0

func (r ApiUpdateMembershipRequest) MembershipInput(membershipInput MembershipInput) ApiUpdateMembershipRequest

Membership to update

type ApiUpdateOrganizationRequest ¶

type ApiUpdateOrganizationRequest struct {
	ApiService *OrganizationsApiService
	// contains filtered or unexported fields
}

func (ApiUpdateOrganizationRequest) Exclude ¶ added in v0.15.0

Nested attributes to exclude. Excluded objects will return only the href attribute. Attribute names can be dotted (up to 3 levels) to exclude deeply nested objects.

func (ApiUpdateOrganizationRequest) Execute ¶

func (ApiUpdateOrganizationRequest) Include ¶ added in v0.15.0

Nested attributes to include. Included objects will return their full attributes. Attribute names can be dotted (up to 3 levels) to included deeply nested objects.

func (ApiUpdateOrganizationRequest) OrganizationInput ¶ added in v0.4.0

func (r ApiUpdateOrganizationRequest) OrganizationInput(organizationInput OrganizationInput) ApiUpdateOrganizationRequest

Organization to update

type ApiUpdatePaymentMethodRequest ¶

type ApiUpdatePaymentMethodRequest struct {
	ApiService *PaymentMethodsApiService
	// contains filtered or unexported fields
}

func (ApiUpdatePaymentMethodRequest) Execute ¶

func (ApiUpdatePaymentMethodRequest) Include ¶ added in v0.15.0

Nested attributes to include. Included objects will return their full attributes. Attribute names can be dotted (up to 3 levels) to included deeply nested objects.

func (ApiUpdatePaymentMethodRequest) PaymentMethodUpdateInput ¶ added in v0.4.0

func (r ApiUpdatePaymentMethodRequest) PaymentMethodUpdateInput(paymentMethodUpdateInput PaymentMethodUpdateInput) ApiUpdatePaymentMethodRequest

Payment Method to update

type ApiUpdateProjectRequest ¶

type ApiUpdateProjectRequest struct {
	ApiService *ProjectsApiService
	// contains filtered or unexported fields
}

func (ApiUpdateProjectRequest) Exclude ¶ added in v0.15.0

Nested attributes to exclude. Excluded objects will return only the href attribute. Attribute names can be dotted (up to 3 levels) to exclude deeply nested objects.

func (ApiUpdateProjectRequest) Execute ¶

func (ApiUpdateProjectRequest) Include ¶ added in v0.15.0

Nested attributes to include. Included objects will return their full attributes. Attribute names can be dotted (up to 3 levels) to included deeply nested objects.

func (ApiUpdateProjectRequest) ProjectUpdateInput ¶ added in v0.4.0

func (r ApiUpdateProjectRequest) ProjectUpdateInput(projectUpdateInput ProjectUpdateInput) ApiUpdateProjectRequest

Project to update

type ApiUpdateSSHKeyRequest ¶

type ApiUpdateSSHKeyRequest struct {
	ApiService *SSHKeysApiService
	// contains filtered or unexported fields
}

func (ApiUpdateSSHKeyRequest) Execute ¶

func (r ApiUpdateSSHKeyRequest) Execute() (*SSHKey, *http.Response, error)

func (ApiUpdateSSHKeyRequest) Include ¶ added in v0.15.0

Nested attributes to include. Included objects will return their full attributes. Attribute names can be dotted (up to 3 levels) to included deeply nested objects.

func (ApiUpdateSSHKeyRequest) SSHKeyInput ¶ added in v0.4.0

func (r ApiUpdateSSHKeyRequest) SSHKeyInput(sSHKeyInput SSHKeyInput) ApiUpdateSSHKeyRequest

ssh key to update

type ApiUpdateVirtualCircuitRequest ¶

type ApiUpdateVirtualCircuitRequest struct {
	ApiService *InterconnectionsApiService
	// contains filtered or unexported fields
}

func (ApiUpdateVirtualCircuitRequest) Exclude ¶ added in v0.15.0

Nested attributes to exclude. Excluded objects will return only the href attribute. Attribute names can be dotted (up to 3 levels) to exclude deeply nested objects.

func (ApiUpdateVirtualCircuitRequest) Execute ¶

func (ApiUpdateVirtualCircuitRequest) Include ¶ added in v0.15.0

Nested attributes to include. Included objects will return their full attributes. Attribute names can be dotted (up to 3 levels) to included deeply nested objects.

func (ApiUpdateVirtualCircuitRequest) VirtualCircuitUpdateInput ¶ added in v0.8.0

func (r ApiUpdateVirtualCircuitRequest) VirtualCircuitUpdateInput(virtualCircuitUpdateInput VirtualCircuitUpdateInput) ApiUpdateVirtualCircuitRequest

Updated Virtual Circuit details

type ApiUpdateVrfRequest ¶

type ApiUpdateVrfRequest struct {
	ApiService *VRFsApiService
	// contains filtered or unexported fields
}

func (ApiUpdateVrfRequest) Exclude ¶ added in v0.15.0

func (r ApiUpdateVrfRequest) Exclude(exclude []string) ApiUpdateVrfRequest

Nested attributes to exclude. Excluded objects will return only the href attribute. Attribute names can be dotted (up to 3 levels) to exclude deeply nested objects.

func (ApiUpdateVrfRequest) Execute ¶

func (r ApiUpdateVrfRequest) Execute() (*Vrf, *http.Response, error)

func (ApiUpdateVrfRequest) Include ¶ added in v0.15.0

func (r ApiUpdateVrfRequest) Include(include []string) ApiUpdateVrfRequest

Nested attributes to include. Included objects will return their full attributes. Attribute names can be dotted (up to 3 levels) to included deeply nested objects.

func (ApiUpdateVrfRequest) VrfUpdateInput ¶ added in v0.4.0

func (r ApiUpdateVrfRequest) VrfUpdateInput(vrfUpdateInput VrfUpdateInput) ApiUpdateVrfRequest

VRF to update

type ApiUpdateVrfRouteByIdRequest ¶ added in v0.5.0

type ApiUpdateVrfRouteByIdRequest struct {
	ApiService *VRFsApiService
	// contains filtered or unexported fields
}

func (ApiUpdateVrfRouteByIdRequest) Exclude ¶ added in v0.5.0

Nested attributes to exclude. Excluded objects will return only the href attribute. Attribute names can be dotted (up to 3 levels) to exclude deeply nested objects.

func (ApiUpdateVrfRouteByIdRequest) Execute ¶ added in v0.5.0

func (ApiUpdateVrfRouteByIdRequest) Include ¶ added in v0.5.0

Nested attributes to include. Included objects will return their full attributes. Attribute names can be dotted (up to 3 levels) to included deeply nested objects.

func (ApiUpdateVrfRouteByIdRequest) VrfRouteUpdateInput ¶ added in v0.9.0

func (r ApiUpdateVrfRouteByIdRequest) VrfRouteUpdateInput(vrfRouteUpdateInput VrfRouteUpdateInput) ApiUpdateVrfRouteByIdRequest

type ApiValidateUserdataRequest ¶

type ApiValidateUserdataRequest struct {
	ApiService *UserdataApiService
	// contains filtered or unexported fields
}

func (ApiValidateUserdataRequest) Execute ¶

func (ApiValidateUserdataRequest) Userdata ¶

Userdata to validate

type Attribute ¶ added in v0.21.0

type Attribute struct {
	// Attribute namespace
	Namespace *string `json:"namespace,omitempty"`
	// Datetime when the block was created.
	CreatedAt *time.Time `json:"created_at,omitempty"`
	// Datetime when the block was updated.
	UpdatedAt            *time.Time     `json:"updated_at,omitempty"`
	Data                 *AttributeData `json:"data,omitempty"`
	AdditionalProperties map[string]interface{}
}

Attribute struct for Attribute

func NewAttribute ¶ added in v0.21.0

func NewAttribute() *Attribute

NewAttribute instantiates a new Attribute object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewAttributeWithDefaults ¶ added in v0.21.0

func NewAttributeWithDefaults() *Attribute

NewAttributeWithDefaults instantiates a new Attribute object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*Attribute) GetCreatedAt ¶ added in v0.21.0

func (o *Attribute) GetCreatedAt() time.Time

GetCreatedAt returns the CreatedAt field value if set, zero value otherwise.

func (*Attribute) GetCreatedAtOk ¶ added in v0.21.0

func (o *Attribute) GetCreatedAtOk() (*time.Time, bool)

GetCreatedAtOk returns a tuple with the CreatedAt field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Attribute) GetData ¶ added in v0.21.0

func (o *Attribute) GetData() AttributeData

GetData returns the Data field value if set, zero value otherwise.

func (*Attribute) GetDataOk ¶ added in v0.21.0

func (o *Attribute) GetDataOk() (*AttributeData, bool)

GetDataOk returns a tuple with the Data field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Attribute) GetNamespace ¶ added in v0.21.0

func (o *Attribute) GetNamespace() string

GetNamespace returns the Namespace field value if set, zero value otherwise.

func (*Attribute) GetNamespaceOk ¶ added in v0.21.0

func (o *Attribute) GetNamespaceOk() (*string, bool)

GetNamespaceOk returns a tuple with the Namespace field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Attribute) GetUpdatedAt ¶ added in v0.21.0

func (o *Attribute) GetUpdatedAt() time.Time

GetUpdatedAt returns the UpdatedAt field value if set, zero value otherwise.

func (*Attribute) GetUpdatedAtOk ¶ added in v0.21.0

func (o *Attribute) GetUpdatedAtOk() (*time.Time, bool)

GetUpdatedAtOk returns a tuple with the UpdatedAt field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Attribute) HasCreatedAt ¶ added in v0.21.0

func (o *Attribute) HasCreatedAt() bool

HasCreatedAt returns a boolean if a field has been set.

func (*Attribute) HasData ¶ added in v0.21.0

func (o *Attribute) HasData() bool

HasData returns a boolean if a field has been set.

func (*Attribute) HasNamespace ¶ added in v0.21.0

func (o *Attribute) HasNamespace() bool

HasNamespace returns a boolean if a field has been set.

func (*Attribute) HasUpdatedAt ¶ added in v0.21.0

func (o *Attribute) HasUpdatedAt() bool

HasUpdatedAt returns a boolean if a field has been set.

func (Attribute) MarshalJSON ¶ added in v0.21.0

func (o Attribute) MarshalJSON() ([]byte, error)

func (*Attribute) SetCreatedAt ¶ added in v0.21.0

func (o *Attribute) SetCreatedAt(v time.Time)

SetCreatedAt gets a reference to the given time.Time and assigns it to the CreatedAt field.

func (*Attribute) SetData ¶ added in v0.21.0

func (o *Attribute) SetData(v AttributeData)

SetData gets a reference to the given AttributeData and assigns it to the Data field.

func (*Attribute) SetNamespace ¶ added in v0.21.0

func (o *Attribute) SetNamespace(v string)

SetNamespace gets a reference to the given string and assigns it to the Namespace field.

func (*Attribute) SetUpdatedAt ¶ added in v0.21.0

func (o *Attribute) SetUpdatedAt(v time.Time)

SetUpdatedAt gets a reference to the given time.Time and assigns it to the UpdatedAt field.

func (Attribute) ToMap ¶ added in v0.21.0

func (o Attribute) ToMap() (map[string]interface{}, error)

func (*Attribute) UnmarshalJSON ¶ added in v0.21.0

func (o *Attribute) UnmarshalJSON(bytes []byte) (err error)

type AttributeData ¶ added in v0.21.0

type AttributeData struct {
	// Boolean flag to know if the firmware set is the latest for the model and vendor
	Latest *bool `json:"latest,omitempty"`
	// Model on which this firmware set can be applied
	Model *string `json:"model,omitempty"`
	// Vendor on which this firmware set can be applied
	Vendor *string `json:"vendor,omitempty"`
	// Plan where the firmware set can be applied
	Plan                 *string `json:"plan,omitempty"`
	AdditionalProperties map[string]interface{}
}

AttributeData struct for AttributeData

func NewAttributeData ¶ added in v0.21.0

func NewAttributeData() *AttributeData

NewAttributeData instantiates a new AttributeData object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewAttributeDataWithDefaults ¶ added in v0.21.0

func NewAttributeDataWithDefaults() *AttributeData

NewAttributeDataWithDefaults instantiates a new AttributeData object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*AttributeData) GetLatest ¶ added in v0.21.0

func (o *AttributeData) GetLatest() bool

GetLatest returns the Latest field value if set, zero value otherwise.

func (*AttributeData) GetLatestOk ¶ added in v0.21.0

func (o *AttributeData) GetLatestOk() (*bool, bool)

GetLatestOk returns a tuple with the Latest field value if set, nil otherwise and a boolean to check if the value has been set.

func (*AttributeData) GetModel ¶ added in v0.21.0

func (o *AttributeData) GetModel() string

GetModel returns the Model field value if set, zero value otherwise.

func (*AttributeData) GetModelOk ¶ added in v0.21.0

func (o *AttributeData) GetModelOk() (*string, bool)

GetModelOk returns a tuple with the Model field value if set, nil otherwise and a boolean to check if the value has been set.

func (*AttributeData) GetPlan ¶ added in v0.21.0

func (o *AttributeData) GetPlan() string

GetPlan returns the Plan field value if set, zero value otherwise.

func (*AttributeData) GetPlanOk ¶ added in v0.21.0

func (o *AttributeData) GetPlanOk() (*string, bool)

GetPlanOk returns a tuple with the Plan field value if set, nil otherwise and a boolean to check if the value has been set.

func (*AttributeData) GetVendor ¶ added in v0.21.0

func (o *AttributeData) GetVendor() string

GetVendor returns the Vendor field value if set, zero value otherwise.

func (*AttributeData) GetVendorOk ¶ added in v0.21.0

func (o *AttributeData) GetVendorOk() (*string, bool)

GetVendorOk returns a tuple with the Vendor field value if set, nil otherwise and a boolean to check if the value has been set.

func (*AttributeData) HasLatest ¶ added in v0.21.0

func (o *AttributeData) HasLatest() bool

HasLatest returns a boolean if a field has been set.

func (*AttributeData) HasModel ¶ added in v0.21.0

func (o *AttributeData) HasModel() bool

HasModel returns a boolean if a field has been set.

func (*AttributeData) HasPlan ¶ added in v0.21.0

func (o *AttributeData) HasPlan() bool

HasPlan returns a boolean if a field has been set.

func (*AttributeData) HasVendor ¶ added in v0.21.0

func (o *AttributeData) HasVendor() bool

HasVendor returns a boolean if a field has been set.

func (AttributeData) MarshalJSON ¶ added in v0.21.0

func (o AttributeData) MarshalJSON() ([]byte, error)

func (*AttributeData) SetLatest ¶ added in v0.21.0

func (o *AttributeData) SetLatest(v bool)

SetLatest gets a reference to the given bool and assigns it to the Latest field.

func (*AttributeData) SetModel ¶ added in v0.21.0

func (o *AttributeData) SetModel(v string)

SetModel gets a reference to the given string and assigns it to the Model field.

func (*AttributeData) SetPlan ¶ added in v0.21.0

func (o *AttributeData) SetPlan(v string)

SetPlan gets a reference to the given string and assigns it to the Plan field.

func (*AttributeData) SetVendor ¶ added in v0.21.0

func (o *AttributeData) SetVendor(v string)

SetVendor gets a reference to the given string and assigns it to the Vendor field.

func (AttributeData) ToMap ¶ added in v0.21.0

func (o AttributeData) ToMap() (map[string]interface{}, error)

func (*AttributeData) UnmarshalJSON ¶ added in v0.21.0

func (o *AttributeData) UnmarshalJSON(bytes []byte) (err error)

type AuthToken ¶

type AuthToken struct {
	CreatedAt *time.Time `json:"created_at,omitempty"`
	// Available only for API keys
	Description          *string           `json:"description,omitempty"`
	Id                   *string           `json:"id,omitempty"`
	Project              *AuthTokenProject `json:"project,omitempty"`
	ReadOnly             *bool             `json:"read_only,omitempty"`
	Token                *string           `json:"token,omitempty"`
	UpdatedAt            *time.Time        `json:"updated_at,omitempty"`
	User                 *AuthTokenUser    `json:"user,omitempty"`
	AdditionalProperties map[string]interface{}
}

AuthToken struct for AuthToken

func NewAuthToken ¶

func NewAuthToken() *AuthToken

NewAuthToken instantiates a new AuthToken object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewAuthTokenWithDefaults ¶

func NewAuthTokenWithDefaults() *AuthToken

NewAuthTokenWithDefaults instantiates a new AuthToken object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*AuthToken) GetCreatedAt ¶

func (o *AuthToken) GetCreatedAt() time.Time

GetCreatedAt returns the CreatedAt field value if set, zero value otherwise.

func (*AuthToken) GetCreatedAtOk ¶

func (o *AuthToken) GetCreatedAtOk() (*time.Time, bool)

GetCreatedAtOk returns a tuple with the CreatedAt field value if set, nil otherwise and a boolean to check if the value has been set.

func (*AuthToken) GetDescription ¶

func (o *AuthToken) GetDescription() string

GetDescription returns the Description field value if set, zero value otherwise.

func (*AuthToken) GetDescriptionOk ¶

func (o *AuthToken) GetDescriptionOk() (*string, bool)

GetDescriptionOk returns a tuple with the Description field value if set, nil otherwise and a boolean to check if the value has been set.

func (*AuthToken) GetId ¶

func (o *AuthToken) GetId() string

GetId returns the Id field value if set, zero value otherwise.

func (*AuthToken) GetIdOk ¶

func (o *AuthToken) GetIdOk() (*string, bool)

GetIdOk returns a tuple with the Id field value if set, nil otherwise and a boolean to check if the value has been set.

func (*AuthToken) GetProject ¶

func (o *AuthToken) GetProject() AuthTokenProject

GetProject returns the Project field value if set, zero value otherwise.

func (*AuthToken) GetProjectOk ¶

func (o *AuthToken) GetProjectOk() (*AuthTokenProject, bool)

GetProjectOk returns a tuple with the Project field value if set, nil otherwise and a boolean to check if the value has been set.

func (*AuthToken) GetReadOnly ¶

func (o *AuthToken) GetReadOnly() bool

GetReadOnly returns the ReadOnly field value if set, zero value otherwise.

func (*AuthToken) GetReadOnlyOk ¶

func (o *AuthToken) GetReadOnlyOk() (*bool, bool)

GetReadOnlyOk returns a tuple with the ReadOnly field value if set, nil otherwise and a boolean to check if the value has been set.

func (*AuthToken) GetToken ¶

func (o *AuthToken) GetToken() string

GetToken returns the Token field value if set, zero value otherwise.

func (*AuthToken) GetTokenOk ¶

func (o *AuthToken) GetTokenOk() (*string, bool)

GetTokenOk returns a tuple with the Token field value if set, nil otherwise and a boolean to check if the value has been set.

func (*AuthToken) GetUpdatedAt ¶

func (o *AuthToken) GetUpdatedAt() time.Time

GetUpdatedAt returns the UpdatedAt field value if set, zero value otherwise.

func (*AuthToken) GetUpdatedAtOk ¶

func (o *AuthToken) GetUpdatedAtOk() (*time.Time, bool)

GetUpdatedAtOk returns a tuple with the UpdatedAt field value if set, nil otherwise and a boolean to check if the value has been set.

func (*AuthToken) GetUser ¶

func (o *AuthToken) GetUser() AuthTokenUser

GetUser returns the User field value if set, zero value otherwise.

func (*AuthToken) GetUserOk ¶

func (o *AuthToken) GetUserOk() (*AuthTokenUser, bool)

GetUserOk returns a tuple with the User field value if set, nil otherwise and a boolean to check if the value has been set.

func (*AuthToken) HasCreatedAt ¶

func (o *AuthToken) HasCreatedAt() bool

HasCreatedAt returns a boolean if a field has been set.

func (*AuthToken) HasDescription ¶

func (o *AuthToken) HasDescription() bool

HasDescription returns a boolean if a field has been set.

func (*AuthToken) HasId ¶

func (o *AuthToken) HasId() bool

HasId returns a boolean if a field has been set.

func (*AuthToken) HasProject ¶

func (o *AuthToken) HasProject() bool

HasProject returns a boolean if a field has been set.

func (*AuthToken) HasReadOnly ¶

func (o *AuthToken) HasReadOnly() bool

HasReadOnly returns a boolean if a field has been set.

func (*AuthToken) HasToken ¶

func (o *AuthToken) HasToken() bool

HasToken returns a boolean if a field has been set.

func (*AuthToken) HasUpdatedAt ¶

func (o *AuthToken) HasUpdatedAt() bool

HasUpdatedAt returns a boolean if a field has been set.

func (*AuthToken) HasUser ¶

func (o *AuthToken) HasUser() bool

HasUser returns a boolean if a field has been set.

func (AuthToken) MarshalJSON ¶

func (o AuthToken) MarshalJSON() ([]byte, error)

func (*AuthToken) SetCreatedAt ¶

func (o *AuthToken) SetCreatedAt(v time.Time)

SetCreatedAt gets a reference to the given time.Time and assigns it to the CreatedAt field.

func (*AuthToken) SetDescription ¶

func (o *AuthToken) SetDescription(v string)

SetDescription gets a reference to the given string and assigns it to the Description field.

func (*AuthToken) SetId ¶

func (o *AuthToken) SetId(v string)

SetId gets a reference to the given string and assigns it to the Id field.

func (*AuthToken) SetProject ¶

func (o *AuthToken) SetProject(v AuthTokenProject)

SetProject gets a reference to the given AuthTokenProject and assigns it to the Project field.

func (*AuthToken) SetReadOnly ¶

func (o *AuthToken) SetReadOnly(v bool)

SetReadOnly gets a reference to the given bool and assigns it to the ReadOnly field.

func (*AuthToken) SetToken ¶

func (o *AuthToken) SetToken(v string)

SetToken gets a reference to the given string and assigns it to the Token field.

func (*AuthToken) SetUpdatedAt ¶

func (o *AuthToken) SetUpdatedAt(v time.Time)

SetUpdatedAt gets a reference to the given time.Time and assigns it to the UpdatedAt field.

func (*AuthToken) SetUser ¶

func (o *AuthToken) SetUser(v AuthTokenUser)

SetUser gets a reference to the given AuthTokenUser and assigns it to the User field.

func (AuthToken) ToMap ¶ added in v0.4.0

func (o AuthToken) ToMap() (map[string]interface{}, error)

func (*AuthToken) UnmarshalJSON ¶ added in v0.7.0

func (o *AuthToken) UnmarshalJSON(bytes []byte) (err error)

type AuthTokenInput ¶

type AuthTokenInput struct {
	Description          *string `json:"description,omitempty"`
	ReadOnly             *bool   `json:"read_only,omitempty"`
	AdditionalProperties map[string]interface{}
}

AuthTokenInput struct for AuthTokenInput

func NewAuthTokenInput ¶

func NewAuthTokenInput() *AuthTokenInput

NewAuthTokenInput instantiates a new AuthTokenInput object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewAuthTokenInputWithDefaults ¶

func NewAuthTokenInputWithDefaults() *AuthTokenInput

NewAuthTokenInputWithDefaults instantiates a new AuthTokenInput object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*AuthTokenInput) GetDescription ¶

func (o *AuthTokenInput) GetDescription() string

GetDescription returns the Description field value if set, zero value otherwise.

func (*AuthTokenInput) GetDescriptionOk ¶

func (o *AuthTokenInput) GetDescriptionOk() (*string, bool)

GetDescriptionOk returns a tuple with the Description field value if set, nil otherwise and a boolean to check if the value has been set.

func (*AuthTokenInput) GetReadOnly ¶

func (o *AuthTokenInput) GetReadOnly() bool

GetReadOnly returns the ReadOnly field value if set, zero value otherwise.

func (*AuthTokenInput) GetReadOnlyOk ¶

func (o *AuthTokenInput) GetReadOnlyOk() (*bool, bool)

GetReadOnlyOk returns a tuple with the ReadOnly field value if set, nil otherwise and a boolean to check if the value has been set.

func (*AuthTokenInput) HasDescription ¶

func (o *AuthTokenInput) HasDescription() bool

HasDescription returns a boolean if a field has been set.

func (*AuthTokenInput) HasReadOnly ¶

func (o *AuthTokenInput) HasReadOnly() bool

HasReadOnly returns a boolean if a field has been set.

func (AuthTokenInput) MarshalJSON ¶

func (o AuthTokenInput) MarshalJSON() ([]byte, error)

func (*AuthTokenInput) SetDescription ¶

func (o *AuthTokenInput) SetDescription(v string)

SetDescription gets a reference to the given string and assigns it to the Description field.

func (*AuthTokenInput) SetReadOnly ¶

func (o *AuthTokenInput) SetReadOnly(v bool)

SetReadOnly gets a reference to the given bool and assigns it to the ReadOnly field.

func (AuthTokenInput) ToMap ¶ added in v0.4.0

func (o AuthTokenInput) ToMap() (map[string]interface{}, error)

func (*AuthTokenInput) UnmarshalJSON ¶ added in v0.7.0

func (o *AuthTokenInput) UnmarshalJSON(bytes []byte) (err error)

type AuthTokenList ¶

type AuthTokenList struct {
	ApiKeys              []AuthToken `json:"api_keys,omitempty"`
	AdditionalProperties map[string]interface{}
}

AuthTokenList struct for AuthTokenList

func NewAuthTokenList ¶

func NewAuthTokenList() *AuthTokenList

NewAuthTokenList instantiates a new AuthTokenList object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewAuthTokenListWithDefaults ¶

func NewAuthTokenListWithDefaults() *AuthTokenList

NewAuthTokenListWithDefaults instantiates a new AuthTokenList object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*AuthTokenList) GetApiKeys ¶

func (o *AuthTokenList) GetApiKeys() []AuthToken

GetApiKeys returns the ApiKeys field value if set, zero value otherwise.

func (*AuthTokenList) GetApiKeysOk ¶

func (o *AuthTokenList) GetApiKeysOk() ([]AuthToken, bool)

GetApiKeysOk returns a tuple with the ApiKeys field value if set, nil otherwise and a boolean to check if the value has been set.

func (*AuthTokenList) HasApiKeys ¶

func (o *AuthTokenList) HasApiKeys() bool

HasApiKeys returns a boolean if a field has been set.

func (AuthTokenList) MarshalJSON ¶

func (o AuthTokenList) MarshalJSON() ([]byte, error)

func (*AuthTokenList) SetApiKeys ¶

func (o *AuthTokenList) SetApiKeys(v []AuthToken)

SetApiKeys gets a reference to the given []AuthToken and assigns it to the ApiKeys field.

func (AuthTokenList) ToMap ¶ added in v0.4.0

func (o AuthTokenList) ToMap() (map[string]interface{}, error)

func (*AuthTokenList) UnmarshalJSON ¶ added in v0.7.0

func (o *AuthTokenList) UnmarshalJSON(bytes []byte) (err error)

type AuthTokenProject ¶ added in v0.4.0

type AuthTokenProject struct {
	BgpConfig   *Href                  `json:"bgp_config,omitempty"`
	CreatedAt   *time.Time             `json:"created_at,omitempty"`
	Customdata  map[string]interface{} `json:"customdata,omitempty"`
	Devices     []Href                 `json:"devices,omitempty"`
	Href        *string                `json:"href,omitempty"`
	Id          *string                `json:"id,omitempty"`
	Invitations []Href                 `json:"invitations,omitempty"`
	MaxDevices  map[string]interface{} `json:"max_devices,omitempty"`
	Members     []Href                 `json:"members,omitempty"`
	Memberships []Href                 `json:"memberships,omitempty"`
	// The name of the project. Cannot contain characters encoded in greater than 3 bytes such as emojis.
	Name                 *string                `json:"name,omitempty"`
	NetworkStatus        map[string]interface{} `json:"network_status,omitempty"`
	Organization         *Organization          `json:"organization,omitempty"`
	PaymentMethod        *Href                  `json:"payment_method,omitempty"`
	SshKeys              []Href                 `json:"ssh_keys,omitempty"`
	UpdatedAt            *time.Time             `json:"updated_at,omitempty"`
	Volumes              []Href                 `json:"volumes,omitempty"`
	Type                 *ProjectType           `json:"type,omitempty"`
	Tags                 []string               `json:"tags,omitempty"`
	AdditionalProperties map[string]interface{}
}

AuthTokenProject struct for AuthTokenProject

func NewAuthTokenProject ¶ added in v0.4.0

func NewAuthTokenProject() *AuthTokenProject

NewAuthTokenProject instantiates a new AuthTokenProject object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewAuthTokenProjectWithDefaults ¶ added in v0.4.0

func NewAuthTokenProjectWithDefaults() *AuthTokenProject

NewAuthTokenProjectWithDefaults instantiates a new AuthTokenProject object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*AuthTokenProject) GetBgpConfig ¶ added in v0.4.0

func (o *AuthTokenProject) GetBgpConfig() Href

GetBgpConfig returns the BgpConfig field value if set, zero value otherwise.

func (*AuthTokenProject) GetBgpConfigOk ¶ added in v0.4.0

func (o *AuthTokenProject) GetBgpConfigOk() (*Href, bool)

GetBgpConfigOk returns a tuple with the BgpConfig field value if set, nil otherwise and a boolean to check if the value has been set.

func (*AuthTokenProject) GetCreatedAt ¶ added in v0.4.0

func (o *AuthTokenProject) GetCreatedAt() time.Time

GetCreatedAt returns the CreatedAt field value if set, zero value otherwise.

func (*AuthTokenProject) GetCreatedAtOk ¶ added in v0.4.0

func (o *AuthTokenProject) GetCreatedAtOk() (*time.Time, bool)

GetCreatedAtOk returns a tuple with the CreatedAt field value if set, nil otherwise and a boolean to check if the value has been set.

func (*AuthTokenProject) GetCustomdata ¶ added in v0.4.0

func (o *AuthTokenProject) GetCustomdata() map[string]interface{}

GetCustomdata returns the Customdata field value if set, zero value otherwise.

func (*AuthTokenProject) GetCustomdataOk ¶ added in v0.4.0

func (o *AuthTokenProject) GetCustomdataOk() (map[string]interface{}, bool)

GetCustomdataOk returns a tuple with the Customdata field value if set, nil otherwise and a boolean to check if the value has been set.

func (*AuthTokenProject) GetDevices ¶ added in v0.4.0

func (o *AuthTokenProject) GetDevices() []Href

GetDevices returns the Devices field value if set, zero value otherwise.

func (*AuthTokenProject) GetDevicesOk ¶ added in v0.4.0

func (o *AuthTokenProject) GetDevicesOk() ([]Href, bool)

GetDevicesOk returns a tuple with the Devices field value if set, nil otherwise and a boolean to check if the value has been set.

func (*AuthTokenProject) GetHref ¶ added in v0.7.0

func (o *AuthTokenProject) GetHref() string

GetHref returns the Href field value if set, zero value otherwise.

func (*AuthTokenProject) GetHrefOk ¶ added in v0.7.0

func (o *AuthTokenProject) GetHrefOk() (*string, bool)

GetHrefOk returns a tuple with the Href field value if set, nil otherwise and a boolean to check if the value has been set.

func (*AuthTokenProject) GetId ¶ added in v0.4.0

func (o *AuthTokenProject) GetId() string

GetId returns the Id field value if set, zero value otherwise.

func (*AuthTokenProject) GetIdOk ¶ added in v0.4.0

func (o *AuthTokenProject) GetIdOk() (*string, bool)

GetIdOk returns a tuple with the Id field value if set, nil otherwise and a boolean to check if the value has been set.

func (*AuthTokenProject) GetInvitations ¶ added in v0.4.0

func (o *AuthTokenProject) GetInvitations() []Href

GetInvitations returns the Invitations field value if set, zero value otherwise.

func (*AuthTokenProject) GetInvitationsOk ¶ added in v0.4.0

func (o *AuthTokenProject) GetInvitationsOk() ([]Href, bool)

GetInvitationsOk returns a tuple with the Invitations field value if set, nil otherwise and a boolean to check if the value has been set.

func (*AuthTokenProject) GetMaxDevices ¶ added in v0.4.0

func (o *AuthTokenProject) GetMaxDevices() map[string]interface{}

GetMaxDevices returns the MaxDevices field value if set, zero value otherwise.

func (*AuthTokenProject) GetMaxDevicesOk ¶ added in v0.4.0

func (o *AuthTokenProject) GetMaxDevicesOk() (map[string]interface{}, bool)

GetMaxDevicesOk returns a tuple with the MaxDevices field value if set, nil otherwise and a boolean to check if the value has been set.

func (*AuthTokenProject) GetMembers ¶ added in v0.4.0

func (o *AuthTokenProject) GetMembers() []Href

GetMembers returns the Members field value if set, zero value otherwise.

func (*AuthTokenProject) GetMembersOk ¶ added in v0.4.0

func (o *AuthTokenProject) GetMembersOk() ([]Href, bool)

GetMembersOk returns a tuple with the Members field value if set, nil otherwise and a boolean to check if the value has been set.

func (*AuthTokenProject) GetMemberships ¶ added in v0.4.0

func (o *AuthTokenProject) GetMemberships() []Href

GetMemberships returns the Memberships field value if set, zero value otherwise.

func (*AuthTokenProject) GetMembershipsOk ¶ added in v0.4.0

func (o *AuthTokenProject) GetMembershipsOk() ([]Href, bool)

GetMembershipsOk returns a tuple with the Memberships field value if set, nil otherwise and a boolean to check if the value has been set.

func (*AuthTokenProject) GetName ¶ added in v0.4.0

func (o *AuthTokenProject) GetName() string

GetName returns the Name field value if set, zero value otherwise.

func (*AuthTokenProject) GetNameOk ¶ added in v0.4.0

func (o *AuthTokenProject) GetNameOk() (*string, bool)

GetNameOk returns a tuple with the Name field value if set, nil otherwise and a boolean to check if the value has been set.

func (*AuthTokenProject) GetNetworkStatus ¶ added in v0.4.0

func (o *AuthTokenProject) GetNetworkStatus() map[string]interface{}

GetNetworkStatus returns the NetworkStatus field value if set, zero value otherwise.

func (*AuthTokenProject) GetNetworkStatusOk ¶ added in v0.4.0

func (o *AuthTokenProject) GetNetworkStatusOk() (map[string]interface{}, bool)

GetNetworkStatusOk returns a tuple with the NetworkStatus field value if set, nil otherwise and a boolean to check if the value has been set.

func (*AuthTokenProject) GetOrganization ¶ added in v0.9.0

func (o *AuthTokenProject) GetOrganization() Organization

GetOrganization returns the Organization field value if set, zero value otherwise.

func (*AuthTokenProject) GetOrganizationOk ¶ added in v0.9.0

func (o *AuthTokenProject) GetOrganizationOk() (*Organization, bool)

GetOrganizationOk returns a tuple with the Organization field value if set, nil otherwise and a boolean to check if the value has been set.

func (*AuthTokenProject) GetPaymentMethod ¶ added in v0.4.0

func (o *AuthTokenProject) GetPaymentMethod() Href

GetPaymentMethod returns the PaymentMethod field value if set, zero value otherwise.

func (*AuthTokenProject) GetPaymentMethodOk ¶ added in v0.4.0

func (o *AuthTokenProject) GetPaymentMethodOk() (*Href, bool)

GetPaymentMethodOk returns a tuple with the PaymentMethod field value if set, nil otherwise and a boolean to check if the value has been set.

func (*AuthTokenProject) GetSshKeys ¶ added in v0.4.0

func (o *AuthTokenProject) GetSshKeys() []Href

GetSshKeys returns the SshKeys field value if set, zero value otherwise.

func (*AuthTokenProject) GetSshKeysOk ¶ added in v0.4.0

func (o *AuthTokenProject) GetSshKeysOk() ([]Href, bool)

GetSshKeysOk returns a tuple with the SshKeys field value if set, nil otherwise and a boolean to check if the value has been set.

func (*AuthTokenProject) GetTags ¶ added in v0.14.0

func (o *AuthTokenProject) GetTags() []string

GetTags returns the Tags field value if set, zero value otherwise.

func (*AuthTokenProject) GetTagsOk ¶ added in v0.14.0

func (o *AuthTokenProject) GetTagsOk() ([]string, bool)

GetTagsOk returns a tuple with the Tags field value if set, nil otherwise and a boolean to check if the value has been set.

func (*AuthTokenProject) GetType ¶ added in v0.21.0

func (o *AuthTokenProject) GetType() ProjectType

GetType returns the Type field value if set, zero value otherwise.

func (*AuthTokenProject) GetTypeOk ¶ added in v0.21.0

func (o *AuthTokenProject) GetTypeOk() (*ProjectType, bool)

GetTypeOk returns a tuple with the Type field value if set, nil otherwise and a boolean to check if the value has been set.

func (*AuthTokenProject) GetUpdatedAt ¶ added in v0.4.0

func (o *AuthTokenProject) GetUpdatedAt() time.Time

GetUpdatedAt returns the UpdatedAt field value if set, zero value otherwise.

func (*AuthTokenProject) GetUpdatedAtOk ¶ added in v0.4.0

func (o *AuthTokenProject) GetUpdatedAtOk() (*time.Time, bool)

GetUpdatedAtOk returns a tuple with the UpdatedAt field value if set, nil otherwise and a boolean to check if the value has been set.

func (*AuthTokenProject) GetVolumes ¶ added in v0.4.0

func (o *AuthTokenProject) GetVolumes() []Href

GetVolumes returns the Volumes field value if set, zero value otherwise.

func (*AuthTokenProject) GetVolumesOk ¶ added in v0.4.0

func (o *AuthTokenProject) GetVolumesOk() ([]Href, bool)

GetVolumesOk returns a tuple with the Volumes field value if set, nil otherwise and a boolean to check if the value has been set.

func (*AuthTokenProject) HasBgpConfig ¶ added in v0.4.0

func (o *AuthTokenProject) HasBgpConfig() bool

HasBgpConfig returns a boolean if a field has been set.

func (*AuthTokenProject) HasCreatedAt ¶ added in v0.4.0

func (o *AuthTokenProject) HasCreatedAt() bool

HasCreatedAt returns a boolean if a field has been set.

func (*AuthTokenProject) HasCustomdata ¶ added in v0.4.0

func (o *AuthTokenProject) HasCustomdata() bool

HasCustomdata returns a boolean if a field has been set.

func (*AuthTokenProject) HasDevices ¶ added in v0.4.0

func (o *AuthTokenProject) HasDevices() bool

HasDevices returns a boolean if a field has been set.

func (*AuthTokenProject) HasHref ¶ added in v0.7.0

func (o *AuthTokenProject) HasHref() bool

HasHref returns a boolean if a field has been set.

func (*AuthTokenProject) HasId ¶ added in v0.4.0

func (o *AuthTokenProject) HasId() bool

HasId returns a boolean if a field has been set.

func (*AuthTokenProject) HasInvitations ¶ added in v0.4.0

func (o *AuthTokenProject) HasInvitations() bool

HasInvitations returns a boolean if a field has been set.

func (*AuthTokenProject) HasMaxDevices ¶ added in v0.4.0

func (o *AuthTokenProject) HasMaxDevices() bool

HasMaxDevices returns a boolean if a field has been set.

func (*AuthTokenProject) HasMembers ¶ added in v0.4.0

func (o *AuthTokenProject) HasMembers() bool

HasMembers returns a boolean if a field has been set.

func (*AuthTokenProject) HasMemberships ¶ added in v0.4.0

func (o *AuthTokenProject) HasMemberships() bool

HasMemberships returns a boolean if a field has been set.

func (*AuthTokenProject) HasName ¶ added in v0.4.0

func (o *AuthTokenProject) HasName() bool

HasName returns a boolean if a field has been set.

func (*AuthTokenProject) HasNetworkStatus ¶ added in v0.4.0

func (o *AuthTokenProject) HasNetworkStatus() bool

HasNetworkStatus returns a boolean if a field has been set.

func (*AuthTokenProject) HasOrganization ¶ added in v0.9.0

func (o *AuthTokenProject) HasOrganization() bool

HasOrganization returns a boolean if a field has been set.

func (*AuthTokenProject) HasPaymentMethod ¶ added in v0.4.0

func (o *AuthTokenProject) HasPaymentMethod() bool

HasPaymentMethod returns a boolean if a field has been set.

func (*AuthTokenProject) HasSshKeys ¶ added in v0.4.0

func (o *AuthTokenProject) HasSshKeys() bool

HasSshKeys returns a boolean if a field has been set.

func (*AuthTokenProject) HasTags ¶ added in v0.14.0

func (o *AuthTokenProject) HasTags() bool

HasTags returns a boolean if a field has been set.

func (*AuthTokenProject) HasType ¶ added in v0.21.0

func (o *AuthTokenProject) HasType() bool

HasType returns a boolean if a field has been set.

func (*AuthTokenProject) HasUpdatedAt ¶ added in v0.4.0

func (o *AuthTokenProject) HasUpdatedAt() bool

HasUpdatedAt returns a boolean if a field has been set.

func (*AuthTokenProject) HasVolumes ¶ added in v0.4.0

func (o *AuthTokenProject) HasVolumes() bool

HasVolumes returns a boolean if a field has been set.

func (AuthTokenProject) MarshalJSON ¶ added in v0.4.0

func (o AuthTokenProject) MarshalJSON() ([]byte, error)

func (*AuthTokenProject) SetBgpConfig ¶ added in v0.4.0

func (o *AuthTokenProject) SetBgpConfig(v Href)

SetBgpConfig gets a reference to the given Href and assigns it to the BgpConfig field.

func (*AuthTokenProject) SetCreatedAt ¶ added in v0.4.0

func (o *AuthTokenProject) SetCreatedAt(v time.Time)

SetCreatedAt gets a reference to the given time.Time and assigns it to the CreatedAt field.

func (*AuthTokenProject) SetCustomdata ¶ added in v0.4.0

func (o *AuthTokenProject) SetCustomdata(v map[string]interface{})

SetCustomdata gets a reference to the given map[string]interface{} and assigns it to the Customdata field.

func (*AuthTokenProject) SetDevices ¶ added in v0.4.0

func (o *AuthTokenProject) SetDevices(v []Href)

SetDevices gets a reference to the given []Href and assigns it to the Devices field.

func (*AuthTokenProject) SetHref ¶ added in v0.7.0

func (o *AuthTokenProject) SetHref(v string)

SetHref gets a reference to the given string and assigns it to the Href field.

func (*AuthTokenProject) SetId ¶ added in v0.4.0

func (o *AuthTokenProject) SetId(v string)

SetId gets a reference to the given string and assigns it to the Id field.

func (*AuthTokenProject) SetInvitations ¶ added in v0.4.0

func (o *AuthTokenProject) SetInvitations(v []Href)

SetInvitations gets a reference to the given []Href and assigns it to the Invitations field.

func (*AuthTokenProject) SetMaxDevices ¶ added in v0.4.0

func (o *AuthTokenProject) SetMaxDevices(v map[string]interface{})

SetMaxDevices gets a reference to the given map[string]interface{} and assigns it to the MaxDevices field.

func (*AuthTokenProject) SetMembers ¶ added in v0.4.0

func (o *AuthTokenProject) SetMembers(v []Href)

SetMembers gets a reference to the given []Href and assigns it to the Members field.

func (*AuthTokenProject) SetMemberships ¶ added in v0.4.0

func (o *AuthTokenProject) SetMemberships(v []Href)

SetMemberships gets a reference to the given []Href and assigns it to the Memberships field.

func (*AuthTokenProject) SetName ¶ added in v0.4.0

func (o *AuthTokenProject) SetName(v string)

SetName gets a reference to the given string and assigns it to the Name field.

func (*AuthTokenProject) SetNetworkStatus ¶ added in v0.4.0

func (o *AuthTokenProject) SetNetworkStatus(v map[string]interface{})

SetNetworkStatus gets a reference to the given map[string]interface{} and assigns it to the NetworkStatus field.

func (*AuthTokenProject) SetOrganization ¶ added in v0.9.0

func (o *AuthTokenProject) SetOrganization(v Organization)

SetOrganization gets a reference to the given Organization and assigns it to the Organization field.

func (*AuthTokenProject) SetPaymentMethod ¶ added in v0.4.0

func (o *AuthTokenProject) SetPaymentMethod(v Href)

SetPaymentMethod gets a reference to the given Href and assigns it to the PaymentMethod field.

func (*AuthTokenProject) SetSshKeys ¶ added in v0.4.0

func (o *AuthTokenProject) SetSshKeys(v []Href)

SetSshKeys gets a reference to the given []Href and assigns it to the SshKeys field.

func (*AuthTokenProject) SetTags ¶ added in v0.14.0

func (o *AuthTokenProject) SetTags(v []string)

SetTags gets a reference to the given []string and assigns it to the Tags field.

func (*AuthTokenProject) SetType ¶ added in v0.21.0

func (o *AuthTokenProject) SetType(v ProjectType)

SetType gets a reference to the given ProjectType and assigns it to the Type field.

func (*AuthTokenProject) SetUpdatedAt ¶ added in v0.4.0

func (o *AuthTokenProject) SetUpdatedAt(v time.Time)

SetUpdatedAt gets a reference to the given time.Time and assigns it to the UpdatedAt field.

func (*AuthTokenProject) SetVolumes ¶ added in v0.4.0

func (o *AuthTokenProject) SetVolumes(v []Href)

SetVolumes gets a reference to the given []Href and assigns it to the Volumes field.

func (AuthTokenProject) ToMap ¶ added in v0.4.0

func (o AuthTokenProject) ToMap() (map[string]interface{}, error)

func (*AuthTokenProject) UnmarshalJSON ¶ added in v0.7.0

func (o *AuthTokenProject) UnmarshalJSON(bytes []byte) (err error)

type AuthTokenUser ¶ added in v0.4.0

type AuthTokenUser struct {
	AvatarThumbUrl        *string                `json:"avatar_thumb_url,omitempty"`
	AvatarUrl             *string                `json:"avatar_url,omitempty"`
	CreatedAt             *time.Time             `json:"created_at,omitempty"`
	Customdata            map[string]interface{} `json:"customdata,omitempty"`
	DefaultOrganizationId *string                `json:"default_organization_id,omitempty"`
	DefaultProjectId      *string                `json:"default_project_id,omitempty"`
	Email                 *string                `json:"email,omitempty"`
	Emails                []Href                 `json:"emails,omitempty"`
	FirstName             *string                `json:"first_name,omitempty"`
	FraudScore            *string                `json:"fraud_score,omitempty"`
	FullName              *string                `json:"full_name,omitempty"`
	Href                  *string                `json:"href,omitempty"`
	Id                    *string                `json:"id,omitempty"`
	LastLoginAt           *time.Time             `json:"last_login_at,omitempty"`
	LastName              *string                `json:"last_name,omitempty"`
	MaxOrganizations      *int32                 `json:"max_organizations,omitempty"`
	MaxProjects           *int32                 `json:"max_projects,omitempty"`
	PhoneNumber           *string                `json:"phone_number,omitempty"`
	ShortId               *string                `json:"short_id,omitempty"`
	Timezone              *string                `json:"timezone,omitempty"`
	TwoFactorAuth         *string                `json:"two_factor_auth,omitempty"`
	UpdatedAt             *time.Time             `json:"updated_at,omitempty"`
	AdditionalProperties  map[string]interface{}
}

AuthTokenUser struct for AuthTokenUser

func NewAuthTokenUser ¶ added in v0.4.0

func NewAuthTokenUser() *AuthTokenUser

NewAuthTokenUser instantiates a new AuthTokenUser object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewAuthTokenUserWithDefaults ¶ added in v0.4.0

func NewAuthTokenUserWithDefaults() *AuthTokenUser

NewAuthTokenUserWithDefaults instantiates a new AuthTokenUser object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*AuthTokenUser) GetAvatarThumbUrl ¶ added in v0.4.0

func (o *AuthTokenUser) GetAvatarThumbUrl() string

GetAvatarThumbUrl returns the AvatarThumbUrl field value if set, zero value otherwise.

func (*AuthTokenUser) GetAvatarThumbUrlOk ¶ added in v0.4.0

func (o *AuthTokenUser) GetAvatarThumbUrlOk() (*string, bool)

GetAvatarThumbUrlOk returns a tuple with the AvatarThumbUrl field value if set, nil otherwise and a boolean to check if the value has been set.

func (*AuthTokenUser) GetAvatarUrl ¶ added in v0.4.0

func (o *AuthTokenUser) GetAvatarUrl() string

GetAvatarUrl returns the AvatarUrl field value if set, zero value otherwise.

func (*AuthTokenUser) GetAvatarUrlOk ¶ added in v0.4.0

func (o *AuthTokenUser) GetAvatarUrlOk() (*string, bool)

GetAvatarUrlOk returns a tuple with the AvatarUrl field value if set, nil otherwise and a boolean to check if the value has been set.

func (*AuthTokenUser) GetCreatedAt ¶ added in v0.4.0

func (o *AuthTokenUser) GetCreatedAt() time.Time

GetCreatedAt returns the CreatedAt field value if set, zero value otherwise.

func (*AuthTokenUser) GetCreatedAtOk ¶ added in v0.4.0

func (o *AuthTokenUser) GetCreatedAtOk() (*time.Time, bool)

GetCreatedAtOk returns a tuple with the CreatedAt field value if set, nil otherwise and a boolean to check if the value has been set.

func (*AuthTokenUser) GetCustomdata ¶ added in v0.4.0

func (o *AuthTokenUser) GetCustomdata() map[string]interface{}

GetCustomdata returns the Customdata field value if set, zero value otherwise.

func (*AuthTokenUser) GetCustomdataOk ¶ added in v0.4.0

func (o *AuthTokenUser) GetCustomdataOk() (map[string]interface{}, bool)

GetCustomdataOk returns a tuple with the Customdata field value if set, nil otherwise and a boolean to check if the value has been set.

func (*AuthTokenUser) GetDefaultOrganizationId ¶ added in v0.9.0

func (o *AuthTokenUser) GetDefaultOrganizationId() string

GetDefaultOrganizationId returns the DefaultOrganizationId field value if set, zero value otherwise.

func (*AuthTokenUser) GetDefaultOrganizationIdOk ¶ added in v0.9.0

func (o *AuthTokenUser) GetDefaultOrganizationIdOk() (*string, bool)

GetDefaultOrganizationIdOk returns a tuple with the DefaultOrganizationId field value if set, nil otherwise and a boolean to check if the value has been set.

func (*AuthTokenUser) GetDefaultProjectId ¶ added in v0.9.0

func (o *AuthTokenUser) GetDefaultProjectId() string

GetDefaultProjectId returns the DefaultProjectId field value if set, zero value otherwise.

func (*AuthTokenUser) GetDefaultProjectIdOk ¶ added in v0.9.0

func (o *AuthTokenUser) GetDefaultProjectIdOk() (*string, bool)

GetDefaultProjectIdOk returns a tuple with the DefaultProjectId field value if set, nil otherwise and a boolean to check if the value has been set.

func (*AuthTokenUser) GetEmail ¶ added in v0.4.0

func (o *AuthTokenUser) GetEmail() string

GetEmail returns the Email field value if set, zero value otherwise.

func (*AuthTokenUser) GetEmailOk ¶ added in v0.4.0

func (o *AuthTokenUser) GetEmailOk() (*string, bool)

GetEmailOk returns a tuple with the Email field value if set, nil otherwise and a boolean to check if the value has been set.

func (*AuthTokenUser) GetEmails ¶ added in v0.4.0

func (o *AuthTokenUser) GetEmails() []Href

GetEmails returns the Emails field value if set, zero value otherwise.

func (*AuthTokenUser) GetEmailsOk ¶ added in v0.4.0

func (o *AuthTokenUser) GetEmailsOk() ([]Href, bool)

GetEmailsOk returns a tuple with the Emails field value if set, nil otherwise and a boolean to check if the value has been set.

func (*AuthTokenUser) GetFirstName ¶ added in v0.4.0

func (o *AuthTokenUser) GetFirstName() string

GetFirstName returns the FirstName field value if set, zero value otherwise.

func (*AuthTokenUser) GetFirstNameOk ¶ added in v0.4.0

func (o *AuthTokenUser) GetFirstNameOk() (*string, bool)

GetFirstNameOk returns a tuple with the FirstName field value if set, nil otherwise and a boolean to check if the value has been set.

func (*AuthTokenUser) GetFraudScore ¶ added in v0.4.0

func (o *AuthTokenUser) GetFraudScore() string

GetFraudScore returns the FraudScore field value if set, zero value otherwise.

func (*AuthTokenUser) GetFraudScoreOk ¶ added in v0.4.0

func (o *AuthTokenUser) GetFraudScoreOk() (*string, bool)

GetFraudScoreOk returns a tuple with the FraudScore field value if set, nil otherwise and a boolean to check if the value has been set.

func (*AuthTokenUser) GetFullName ¶ added in v0.4.0

func (o *AuthTokenUser) GetFullName() string

GetFullName returns the FullName field value if set, zero value otherwise.

func (*AuthTokenUser) GetFullNameOk ¶ added in v0.4.0

func (o *AuthTokenUser) GetFullNameOk() (*string, bool)

GetFullNameOk returns a tuple with the FullName field value if set, nil otherwise and a boolean to check if the value has been set.

func (*AuthTokenUser) GetHref ¶ added in v0.4.0

func (o *AuthTokenUser) GetHref() string

GetHref returns the Href field value if set, zero value otherwise.

func (*AuthTokenUser) GetHrefOk ¶ added in v0.4.0

func (o *AuthTokenUser) GetHrefOk() (*string, bool)

GetHrefOk returns a tuple with the Href field value if set, nil otherwise and a boolean to check if the value has been set.

func (*AuthTokenUser) GetId ¶ added in v0.4.0

func (o *AuthTokenUser) GetId() string

GetId returns the Id field value if set, zero value otherwise.

func (*AuthTokenUser) GetIdOk ¶ added in v0.4.0

func (o *AuthTokenUser) GetIdOk() (*string, bool)

GetIdOk returns a tuple with the Id field value if set, nil otherwise and a boolean to check if the value has been set.

func (*AuthTokenUser) GetLastLoginAt ¶ added in v0.4.0

func (o *AuthTokenUser) GetLastLoginAt() time.Time

GetLastLoginAt returns the LastLoginAt field value if set, zero value otherwise.

func (*AuthTokenUser) GetLastLoginAtOk ¶ added in v0.4.0

func (o *AuthTokenUser) GetLastLoginAtOk() (*time.Time, bool)

GetLastLoginAtOk returns a tuple with the LastLoginAt field value if set, nil otherwise and a boolean to check if the value has been set.

func (*AuthTokenUser) GetLastName ¶ added in v0.4.0

func (o *AuthTokenUser) GetLastName() string

GetLastName returns the LastName field value if set, zero value otherwise.

func (*AuthTokenUser) GetLastNameOk ¶ added in v0.4.0

func (o *AuthTokenUser) GetLastNameOk() (*string, bool)

GetLastNameOk returns a tuple with the LastName field value if set, nil otherwise and a boolean to check if the value has been set.

func (*AuthTokenUser) GetMaxOrganizations ¶ added in v0.4.0

func (o *AuthTokenUser) GetMaxOrganizations() int32

GetMaxOrganizations returns the MaxOrganizations field value if set, zero value otherwise.

func (*AuthTokenUser) GetMaxOrganizationsOk ¶ added in v0.4.0

func (o *AuthTokenUser) GetMaxOrganizationsOk() (*int32, bool)

GetMaxOrganizationsOk returns a tuple with the MaxOrganizations field value if set, nil otherwise and a boolean to check if the value has been set.

func (*AuthTokenUser) GetMaxProjects ¶ added in v0.4.0

func (o *AuthTokenUser) GetMaxProjects() int32

GetMaxProjects returns the MaxProjects field value if set, zero value otherwise.

func (*AuthTokenUser) GetMaxProjectsOk ¶ added in v0.4.0

func (o *AuthTokenUser) GetMaxProjectsOk() (*int32, bool)

GetMaxProjectsOk returns a tuple with the MaxProjects field value if set, nil otherwise and a boolean to check if the value has been set.

func (*AuthTokenUser) GetPhoneNumber ¶ added in v0.4.0

func (o *AuthTokenUser) GetPhoneNumber() string

GetPhoneNumber returns the PhoneNumber field value if set, zero value otherwise.

func (*AuthTokenUser) GetPhoneNumberOk ¶ added in v0.4.0

func (o *AuthTokenUser) GetPhoneNumberOk() (*string, bool)

GetPhoneNumberOk returns a tuple with the PhoneNumber field value if set, nil otherwise and a boolean to check if the value has been set.

func (*AuthTokenUser) GetShortId ¶ added in v0.4.0

func (o *AuthTokenUser) GetShortId() string

GetShortId returns the ShortId field value if set, zero value otherwise.

func (*AuthTokenUser) GetShortIdOk ¶ added in v0.4.0

func (o *AuthTokenUser) GetShortIdOk() (*string, bool)

GetShortIdOk returns a tuple with the ShortId field value if set, nil otherwise and a boolean to check if the value has been set.

func (*AuthTokenUser) GetTimezone ¶ added in v0.4.0

func (o *AuthTokenUser) GetTimezone() string

GetTimezone returns the Timezone field value if set, zero value otherwise.

func (*AuthTokenUser) GetTimezoneOk ¶ added in v0.4.0

func (o *AuthTokenUser) GetTimezoneOk() (*string, bool)

GetTimezoneOk returns a tuple with the Timezone field value if set, nil otherwise and a boolean to check if the value has been set.

func (*AuthTokenUser) GetTwoFactorAuth ¶ added in v0.4.0

func (o *AuthTokenUser) GetTwoFactorAuth() string

GetTwoFactorAuth returns the TwoFactorAuth field value if set, zero value otherwise.

func (*AuthTokenUser) GetTwoFactorAuthOk ¶ added in v0.4.0

func (o *AuthTokenUser) GetTwoFactorAuthOk() (*string, bool)

GetTwoFactorAuthOk returns a tuple with the TwoFactorAuth field value if set, nil otherwise and a boolean to check if the value has been set.

func (*AuthTokenUser) GetUpdatedAt ¶ added in v0.4.0

func (o *AuthTokenUser) GetUpdatedAt() time.Time

GetUpdatedAt returns the UpdatedAt field value if set, zero value otherwise.

func (*AuthTokenUser) GetUpdatedAtOk ¶ added in v0.4.0

func (o *AuthTokenUser) GetUpdatedAtOk() (*time.Time, bool)

GetUpdatedAtOk returns a tuple with the UpdatedAt field value if set, nil otherwise and a boolean to check if the value has been set.

func (*AuthTokenUser) HasAvatarThumbUrl ¶ added in v0.4.0

func (o *AuthTokenUser) HasAvatarThumbUrl() bool

HasAvatarThumbUrl returns a boolean if a field has been set.

func (*AuthTokenUser) HasAvatarUrl ¶ added in v0.4.0

func (o *AuthTokenUser) HasAvatarUrl() bool

HasAvatarUrl returns a boolean if a field has been set.

func (*AuthTokenUser) HasCreatedAt ¶ added in v0.4.0

func (o *AuthTokenUser) HasCreatedAt() bool

HasCreatedAt returns a boolean if a field has been set.

func (*AuthTokenUser) HasCustomdata ¶ added in v0.4.0

func (o *AuthTokenUser) HasCustomdata() bool

HasCustomdata returns a boolean if a field has been set.

func (*AuthTokenUser) HasDefaultOrganizationId ¶ added in v0.9.0

func (o *AuthTokenUser) HasDefaultOrganizationId() bool

HasDefaultOrganizationId returns a boolean if a field has been set.

func (*AuthTokenUser) HasDefaultProjectId ¶ added in v0.9.0

func (o *AuthTokenUser) HasDefaultProjectId() bool

HasDefaultProjectId returns a boolean if a field has been set.

func (*AuthTokenUser) HasEmail ¶ added in v0.4.0

func (o *AuthTokenUser) HasEmail() bool

HasEmail returns a boolean if a field has been set.

func (*AuthTokenUser) HasEmails ¶ added in v0.4.0

func (o *AuthTokenUser) HasEmails() bool

HasEmails returns a boolean if a field has been set.

func (*AuthTokenUser) HasFirstName ¶ added in v0.4.0

func (o *AuthTokenUser) HasFirstName() bool

HasFirstName returns a boolean if a field has been set.

func (*AuthTokenUser) HasFraudScore ¶ added in v0.4.0

func (o *AuthTokenUser) HasFraudScore() bool

HasFraudScore returns a boolean if a field has been set.

func (*AuthTokenUser) HasFullName ¶ added in v0.4.0

func (o *AuthTokenUser) HasFullName() bool

HasFullName returns a boolean if a field has been set.

func (*AuthTokenUser) HasHref ¶ added in v0.4.0

func (o *AuthTokenUser) HasHref() bool

HasHref returns a boolean if a field has been set.

func (*AuthTokenUser) HasId ¶ added in v0.4.0

func (o *AuthTokenUser) HasId() bool

HasId returns a boolean if a field has been set.

func (*AuthTokenUser) HasLastLoginAt ¶ added in v0.4.0

func (o *AuthTokenUser) HasLastLoginAt() bool

HasLastLoginAt returns a boolean if a field has been set.

func (*AuthTokenUser) HasLastName ¶ added in v0.4.0

func (o *AuthTokenUser) HasLastName() bool

HasLastName returns a boolean if a field has been set.

func (*AuthTokenUser) HasMaxOrganizations ¶ added in v0.4.0

func (o *AuthTokenUser) HasMaxOrganizations() bool

HasMaxOrganizations returns a boolean if a field has been set.

func (*AuthTokenUser) HasMaxProjects ¶ added in v0.4.0

func (o *AuthTokenUser) HasMaxProjects() bool

HasMaxProjects returns a boolean if a field has been set.

func (*AuthTokenUser) HasPhoneNumber ¶ added in v0.4.0

func (o *AuthTokenUser) HasPhoneNumber() bool

HasPhoneNumber returns a boolean if a field has been set.

func (*AuthTokenUser) HasShortId ¶ added in v0.4.0

func (o *AuthTokenUser) HasShortId() bool

HasShortId returns a boolean if a field has been set.

func (*AuthTokenUser) HasTimezone ¶ added in v0.4.0

func (o *AuthTokenUser) HasTimezone() bool

HasTimezone returns a boolean if a field has been set.

func (*AuthTokenUser) HasTwoFactorAuth ¶ added in v0.4.0

func (o *AuthTokenUser) HasTwoFactorAuth() bool

HasTwoFactorAuth returns a boolean if a field has been set.

func (*AuthTokenUser) HasUpdatedAt ¶ added in v0.4.0

func (o *AuthTokenUser) HasUpdatedAt() bool

HasUpdatedAt returns a boolean if a field has been set.

func (AuthTokenUser) MarshalJSON ¶ added in v0.4.0

func (o AuthTokenUser) MarshalJSON() ([]byte, error)

func (*AuthTokenUser) SetAvatarThumbUrl ¶ added in v0.4.0

func (o *AuthTokenUser) SetAvatarThumbUrl(v string)

SetAvatarThumbUrl gets a reference to the given string and assigns it to the AvatarThumbUrl field.

func (*AuthTokenUser) SetAvatarUrl ¶ added in v0.4.0

func (o *AuthTokenUser) SetAvatarUrl(v string)

SetAvatarUrl gets a reference to the given string and assigns it to the AvatarUrl field.

func (*AuthTokenUser) SetCreatedAt ¶ added in v0.4.0

func (o *AuthTokenUser) SetCreatedAt(v time.Time)

SetCreatedAt gets a reference to the given time.Time and assigns it to the CreatedAt field.

func (*AuthTokenUser) SetCustomdata ¶ added in v0.4.0

func (o *AuthTokenUser) SetCustomdata(v map[string]interface{})

SetCustomdata gets a reference to the given map[string]interface{} and assigns it to the Customdata field.

func (*AuthTokenUser) SetDefaultOrganizationId ¶ added in v0.9.0

func (o *AuthTokenUser) SetDefaultOrganizationId(v string)

SetDefaultOrganizationId gets a reference to the given string and assigns it to the DefaultOrganizationId field.

func (*AuthTokenUser) SetDefaultProjectId ¶ added in v0.9.0

func (o *AuthTokenUser) SetDefaultProjectId(v string)

SetDefaultProjectId gets a reference to the given string and assigns it to the DefaultProjectId field.

func (*AuthTokenUser) SetEmail ¶ added in v0.4.0

func (o *AuthTokenUser) SetEmail(v string)

SetEmail gets a reference to the given string and assigns it to the Email field.

func (*AuthTokenUser) SetEmails ¶ added in v0.4.0

func (o *AuthTokenUser) SetEmails(v []Href)

SetEmails gets a reference to the given []Href and assigns it to the Emails field.

func (*AuthTokenUser) SetFirstName ¶ added in v0.4.0

func (o *AuthTokenUser) SetFirstName(v string)

SetFirstName gets a reference to the given string and assigns it to the FirstName field.

func (*AuthTokenUser) SetFraudScore ¶ added in v0.4.0

func (o *AuthTokenUser) SetFraudScore(v string)

SetFraudScore gets a reference to the given string and assigns it to the FraudScore field.

func (*AuthTokenUser) SetFullName ¶ added in v0.4.0

func (o *AuthTokenUser) SetFullName(v string)

SetFullName gets a reference to the given string and assigns it to the FullName field.

func (*AuthTokenUser) SetHref ¶ added in v0.4.0

func (o *AuthTokenUser) SetHref(v string)

SetHref gets a reference to the given string and assigns it to the Href field.

func (*AuthTokenUser) SetId ¶ added in v0.4.0

func (o *AuthTokenUser) SetId(v string)

SetId gets a reference to the given string and assigns it to the Id field.

func (*AuthTokenUser) SetLastLoginAt ¶ added in v0.4.0

func (o *AuthTokenUser) SetLastLoginAt(v time.Time)

SetLastLoginAt gets a reference to the given time.Time and assigns it to the LastLoginAt field.

func (*AuthTokenUser) SetLastName ¶ added in v0.4.0

func (o *AuthTokenUser) SetLastName(v string)

SetLastName gets a reference to the given string and assigns it to the LastName field.

func (*AuthTokenUser) SetMaxOrganizations ¶ added in v0.4.0

func (o *AuthTokenUser) SetMaxOrganizations(v int32)

SetMaxOrganizations gets a reference to the given int32 and assigns it to the MaxOrganizations field.

func (*AuthTokenUser) SetMaxProjects ¶ added in v0.4.0

func (o *AuthTokenUser) SetMaxProjects(v int32)

SetMaxProjects gets a reference to the given int32 and assigns it to the MaxProjects field.

func (*AuthTokenUser) SetPhoneNumber ¶ added in v0.4.0

func (o *AuthTokenUser) SetPhoneNumber(v string)

SetPhoneNumber gets a reference to the given string and assigns it to the PhoneNumber field.

func (*AuthTokenUser) SetShortId ¶ added in v0.4.0

func (o *AuthTokenUser) SetShortId(v string)

SetShortId gets a reference to the given string and assigns it to the ShortId field.

func (*AuthTokenUser) SetTimezone ¶ added in v0.4.0

func (o *AuthTokenUser) SetTimezone(v string)

SetTimezone gets a reference to the given string and assigns it to the Timezone field.

func (*AuthTokenUser) SetTwoFactorAuth ¶ added in v0.4.0

func (o *AuthTokenUser) SetTwoFactorAuth(v string)

SetTwoFactorAuth gets a reference to the given string and assigns it to the TwoFactorAuth field.

func (*AuthTokenUser) SetUpdatedAt ¶ added in v0.4.0

func (o *AuthTokenUser) SetUpdatedAt(v time.Time)

SetUpdatedAt gets a reference to the given time.Time and assigns it to the UpdatedAt field.

func (AuthTokenUser) ToMap ¶ added in v0.4.0

func (o AuthTokenUser) ToMap() (map[string]interface{}, error)

func (*AuthTokenUser) UnmarshalJSON ¶ added in v0.7.0

func (o *AuthTokenUser) UnmarshalJSON(bytes []byte) (err error)

type AuthenticationApiService ¶

type AuthenticationApiService service

AuthenticationApiService AuthenticationApi service

func (*AuthenticationApiService) CreateAPIKey ¶

CreateAPIKey Create an API key

Creates a API key for the current user.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@return ApiCreateAPIKeyRequest

func (*AuthenticationApiService) CreateAPIKeyExecute ¶

Execute executes the request

@return AuthToken

func (*AuthenticationApiService) CreateProjectAPIKey ¶

CreateProjectAPIKey Create an API key for a project.

Creates an API key for a project.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param id Project UUID
@return ApiCreateProjectAPIKeyRequest

func (*AuthenticationApiService) CreateProjectAPIKeyExecute ¶

func (a *AuthenticationApiService) CreateProjectAPIKeyExecute(r ApiCreateProjectAPIKeyRequest) (*AuthToken, *http.Response, error)

Execute executes the request

@return AuthToken

func (*AuthenticationApiService) DeleteAPIKey ¶

DeleteAPIKey Delete the API key

Deletes the API key.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param id API Key UUID
@return ApiDeleteAPIKeyRequest

func (*AuthenticationApiService) DeleteAPIKeyExecute ¶

func (a *AuthenticationApiService) DeleteAPIKeyExecute(r ApiDeleteAPIKeyRequest) (*http.Response, error)

Execute executes the request

func (*AuthenticationApiService) DeleteUserAPIKey ¶

DeleteUserAPIKey Delete the API key

Deletes the current user API key.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param id API Key UUID
@return ApiDeleteUserAPIKeyRequest

func (*AuthenticationApiService) DeleteUserAPIKeyExecute ¶

func (a *AuthenticationApiService) DeleteUserAPIKeyExecute(r ApiDeleteUserAPIKeyRequest) (*http.Response, error)

Execute executes the request

func (*AuthenticationApiService) FindAPIKeys ¶

FindAPIKeys Retrieve all user API keys

Returns all API keys for the current user.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@return ApiFindAPIKeysRequest

func (*AuthenticationApiService) FindAPIKeysExecute ¶

Execute executes the request

@return AuthTokenList

func (*AuthenticationApiService) FindProjectAPIKeys ¶

FindProjectAPIKeys Retrieve all API keys for the project.

Returns all API keys for a specific project.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param id Project UUID
@return ApiFindProjectAPIKeysRequest

func (*AuthenticationApiService) FindProjectAPIKeysExecute ¶

Execute executes the request

@return AuthTokenList

type BGPApiService ¶

type BGPApiService service

BGPApiService BGPApi service

func (*BGPApiService) DeleteBgpSession ¶

func (a *BGPApiService) DeleteBgpSession(ctx context.Context, id string) ApiDeleteBgpSessionRequest

DeleteBgpSession Delete the BGP session

Deletes the BGP session.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param id BGP session UUID
@return ApiDeleteBgpSessionRequest

func (*BGPApiService) DeleteBgpSessionExecute ¶

func (a *BGPApiService) DeleteBgpSessionExecute(r ApiDeleteBgpSessionRequest) (*http.Response, error)

Execute executes the request

func (*BGPApiService) FindBgpConfigByProject ¶

func (a *BGPApiService) FindBgpConfigByProject(ctx context.Context, id string) ApiFindBgpConfigByProjectRequest

FindBgpConfigByProject Retrieve a bgp config

Returns a bgp config

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param id Project UUID
@return ApiFindBgpConfigByProjectRequest

func (*BGPApiService) FindBgpConfigByProjectExecute ¶

func (a *BGPApiService) FindBgpConfigByProjectExecute(r ApiFindBgpConfigByProjectRequest) (*BgpConfig, *http.Response, error)

Execute executes the request

@return BgpConfig

func (*BGPApiService) FindBgpSessionById ¶

func (a *BGPApiService) FindBgpSessionById(ctx context.Context, id string) ApiFindBgpSessionByIdRequest

FindBgpSessionById Retrieve a BGP session

Returns a BGP session

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param id BGP session UUID
@return ApiFindBgpSessionByIdRequest

func (*BGPApiService) FindBgpSessionByIdExecute ¶

func (a *BGPApiService) FindBgpSessionByIdExecute(r ApiFindBgpSessionByIdRequest) (*BgpSession, *http.Response, error)

Execute executes the request

@return BgpSession

func (*BGPApiService) FindGlobalBgpRanges ¶

func (a *BGPApiService) FindGlobalBgpRanges(ctx context.Context, id string) ApiFindGlobalBgpRangesRequest

FindGlobalBgpRanges Retrieve all global bgp ranges

Returns all global bgp ranges for a project

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param id Project UUID
@return ApiFindGlobalBgpRangesRequest

func (*BGPApiService) FindGlobalBgpRangesExecute ¶

func (a *BGPApiService) FindGlobalBgpRangesExecute(r ApiFindGlobalBgpRangesRequest) (*GlobalBgpRangeList, *http.Response, error)

Execute executes the request

@return GlobalBgpRangeList

func (*BGPApiService) FindProjectBgpSessions ¶

func (a *BGPApiService) FindProjectBgpSessions(ctx context.Context, id string) ApiFindProjectBgpSessionsRequest

FindProjectBgpSessions Retrieve all BGP sessions for project

Provides a listing of available BGP sessions for the project.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param id Project UUID
@return ApiFindProjectBgpSessionsRequest

func (*BGPApiService) FindProjectBgpSessionsExecute ¶

func (a *BGPApiService) FindProjectBgpSessionsExecute(r ApiFindProjectBgpSessionsRequest) (*BgpSessionList, *http.Response, error)

Execute executes the request

@return BgpSessionList

func (*BGPApiService) RequestBgpConfig ¶

func (a *BGPApiService) RequestBgpConfig(ctx context.Context, id string) ApiRequestBgpConfigRequest

RequestBgpConfig Requesting bgp config

Requests to enable bgp configuration for a project.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param id Project UUID
@return ApiRequestBgpConfigRequest

func (*BGPApiService) RequestBgpConfigExecute ¶

func (a *BGPApiService) RequestBgpConfigExecute(r ApiRequestBgpConfigRequest) (*http.Response, error)

Execute executes the request

func (*BGPApiService) UpdateBgpSession ¶

func (a *BGPApiService) UpdateBgpSession(ctx context.Context, id string) ApiUpdateBgpSessionRequest

UpdateBgpSession Update the BGP session

Updates the BGP session by either enabling or disabling the default route functionality.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param id BGP session UUID
@return ApiUpdateBgpSessionRequest

func (*BGPApiService) UpdateBgpSessionExecute ¶

func (a *BGPApiService) UpdateBgpSessionExecute(r ApiUpdateBgpSessionRequest) (*http.Response, error)

Execute executes the request

type BGPSessionInput ¶

type BGPSessionInput struct {
	AddressFamily *BGPSessionInputAddressFamily `json:"address_family,omitempty"`
	// Set the default route policy.
	DefaultRoute         *bool `json:"default_route,omitempty"`
	AdditionalProperties map[string]interface{}
}

BGPSessionInput struct for BGPSessionInput

func NewBGPSessionInput ¶

func NewBGPSessionInput() *BGPSessionInput

NewBGPSessionInput instantiates a new BGPSessionInput object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewBGPSessionInputWithDefaults ¶

func NewBGPSessionInputWithDefaults() *BGPSessionInput

NewBGPSessionInputWithDefaults instantiates a new BGPSessionInput object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*BGPSessionInput) GetAddressFamily ¶

func (o *BGPSessionInput) GetAddressFamily() BGPSessionInputAddressFamily

GetAddressFamily returns the AddressFamily field value if set, zero value otherwise.

func (*BGPSessionInput) GetAddressFamilyOk ¶

func (o *BGPSessionInput) GetAddressFamilyOk() (*BGPSessionInputAddressFamily, bool)

GetAddressFamilyOk returns a tuple with the AddressFamily field value if set, nil otherwise and a boolean to check if the value has been set.

func (*BGPSessionInput) GetDefaultRoute ¶

func (o *BGPSessionInput) GetDefaultRoute() bool

GetDefaultRoute returns the DefaultRoute field value if set, zero value otherwise.

func (*BGPSessionInput) GetDefaultRouteOk ¶

func (o *BGPSessionInput) GetDefaultRouteOk() (*bool, bool)

GetDefaultRouteOk returns a tuple with the DefaultRoute field value if set, nil otherwise and a boolean to check if the value has been set.

func (*BGPSessionInput) HasAddressFamily ¶

func (o *BGPSessionInput) HasAddressFamily() bool

HasAddressFamily returns a boolean if a field has been set.

func (*BGPSessionInput) HasDefaultRoute ¶

func (o *BGPSessionInput) HasDefaultRoute() bool

HasDefaultRoute returns a boolean if a field has been set.

func (BGPSessionInput) MarshalJSON ¶

func (o BGPSessionInput) MarshalJSON() ([]byte, error)

func (*BGPSessionInput) SetAddressFamily ¶

func (o *BGPSessionInput) SetAddressFamily(v BGPSessionInputAddressFamily)

SetAddressFamily gets a reference to the given BGPSessionInputAddressFamily and assigns it to the AddressFamily field.

func (*BGPSessionInput) SetDefaultRoute ¶

func (o *BGPSessionInput) SetDefaultRoute(v bool)

SetDefaultRoute gets a reference to the given bool and assigns it to the DefaultRoute field.

func (BGPSessionInput) ToMap ¶ added in v0.4.0

func (o BGPSessionInput) ToMap() (map[string]interface{}, error)

func (*BGPSessionInput) UnmarshalJSON ¶ added in v0.7.0

func (o *BGPSessionInput) UnmarshalJSON(bytes []byte) (err error)

type BGPSessionInputAddressFamily ¶ added in v0.22.0

type BGPSessionInputAddressFamily string

BGPSessionInputAddressFamily Address family for BGP session.

const (
	BGPSESSIONINPUTADDRESSFAMILY_IPV4 BGPSessionInputAddressFamily = "ipv4"
	BGPSESSIONINPUTADDRESSFAMILY_IPV6 BGPSessionInputAddressFamily = "ipv6"
)

List of BGPSessionInput_address_family

func NewBGPSessionInputAddressFamilyFromValue ¶ added in v0.22.0

func NewBGPSessionInputAddressFamilyFromValue(v string) (*BGPSessionInputAddressFamily, error)

NewBGPSessionInputAddressFamilyFromValue returns a pointer to a valid BGPSessionInputAddressFamily for the value passed as argument, or an error if the value passed is not allowed by the enum

func (BGPSessionInputAddressFamily) IsValid ¶ added in v0.22.0

func (v BGPSessionInputAddressFamily) IsValid() bool

IsValid return true if the value is valid for the enum, false otherwise

func (BGPSessionInputAddressFamily) Ptr ¶ added in v0.22.0

Ptr returns reference to BGPSessionInput_address_family value

func (*BGPSessionInputAddressFamily) UnmarshalJSON ¶ added in v0.22.0

func (v *BGPSessionInputAddressFamily) UnmarshalJSON(src []byte) error

type BasicAuth ¶

type BasicAuth struct {
	UserName string `json:"userName,omitempty"`
	Password string `json:"password,omitempty"`
}

BasicAuth provides basic http authentication to a request passed via context using ContextBasicAuth

type Batch ¶

type Batch struct {
	CreatedAt            *time.Time `json:"created_at,omitempty"`
	Devices              []Href     `json:"devices,omitempty"`
	ErrorMessages        []string   `json:"error_messages,omitempty"`
	Id                   *string    `json:"id,omitempty"`
	Project              *Href      `json:"project,omitempty"`
	Quantity             *int32     `json:"quantity,omitempty"`
	State                *string    `json:"state,omitempty"`
	UpdatedAt            *time.Time `json:"updated_at,omitempty"`
	AdditionalProperties map[string]interface{}
}

Batch struct for Batch

func NewBatch ¶

func NewBatch() *Batch

NewBatch instantiates a new Batch object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewBatchWithDefaults ¶

func NewBatchWithDefaults() *Batch

NewBatchWithDefaults instantiates a new Batch object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*Batch) GetCreatedAt ¶

func (o *Batch) GetCreatedAt() time.Time

GetCreatedAt returns the CreatedAt field value if set, zero value otherwise.

func (*Batch) GetCreatedAtOk ¶

func (o *Batch) GetCreatedAtOk() (*time.Time, bool)

GetCreatedAtOk returns a tuple with the CreatedAt field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Batch) GetDevices ¶

func (o *Batch) GetDevices() []Href

GetDevices returns the Devices field value if set, zero value otherwise.

func (*Batch) GetDevicesOk ¶

func (o *Batch) GetDevicesOk() ([]Href, bool)

GetDevicesOk returns a tuple with the Devices field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Batch) GetErrorMessages ¶

func (o *Batch) GetErrorMessages() []string

GetErrorMessages returns the ErrorMessages field value if set, zero value otherwise.

func (*Batch) GetErrorMessagesOk ¶

func (o *Batch) GetErrorMessagesOk() ([]string, bool)

GetErrorMessagesOk returns a tuple with the ErrorMessages field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Batch) GetId ¶

func (o *Batch) GetId() string

GetId returns the Id field value if set, zero value otherwise.

func (*Batch) GetIdOk ¶

func (o *Batch) GetIdOk() (*string, bool)

GetIdOk returns a tuple with the Id field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Batch) GetProject ¶

func (o *Batch) GetProject() Href

GetProject returns the Project field value if set, zero value otherwise.

func (*Batch) GetProjectOk ¶

func (o *Batch) GetProjectOk() (*Href, bool)

GetProjectOk returns a tuple with the Project field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Batch) GetQuantity ¶

func (o *Batch) GetQuantity() int32

GetQuantity returns the Quantity field value if set, zero value otherwise.

func (*Batch) GetQuantityOk ¶

func (o *Batch) GetQuantityOk() (*int32, bool)

GetQuantityOk returns a tuple with the Quantity field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Batch) GetState ¶

func (o *Batch) GetState() string

GetState returns the State field value if set, zero value otherwise.

func (*Batch) GetStateOk ¶

func (o *Batch) GetStateOk() (*string, bool)

GetStateOk returns a tuple with the State field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Batch) GetUpdatedAt ¶

func (o *Batch) GetUpdatedAt() time.Time

GetUpdatedAt returns the UpdatedAt field value if set, zero value otherwise.

func (*Batch) GetUpdatedAtOk ¶

func (o *Batch) GetUpdatedAtOk() (*time.Time, bool)

GetUpdatedAtOk returns a tuple with the UpdatedAt field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Batch) HasCreatedAt ¶

func (o *Batch) HasCreatedAt() bool

HasCreatedAt returns a boolean if a field has been set.

func (*Batch) HasDevices ¶

func (o *Batch) HasDevices() bool

HasDevices returns a boolean if a field has been set.

func (*Batch) HasErrorMessages ¶

func (o *Batch) HasErrorMessages() bool

HasErrorMessages returns a boolean if a field has been set.

func (*Batch) HasId ¶

func (o *Batch) HasId() bool

HasId returns a boolean if a field has been set.

func (*Batch) HasProject ¶

func (o *Batch) HasProject() bool

HasProject returns a boolean if a field has been set.

func (*Batch) HasQuantity ¶

func (o *Batch) HasQuantity() bool

HasQuantity returns a boolean if a field has been set.

func (*Batch) HasState ¶

func (o *Batch) HasState() bool

HasState returns a boolean if a field has been set.

func (*Batch) HasUpdatedAt ¶

func (o *Batch) HasUpdatedAt() bool

HasUpdatedAt returns a boolean if a field has been set.

func (Batch) MarshalJSON ¶

func (o Batch) MarshalJSON() ([]byte, error)

func (*Batch) SetCreatedAt ¶

func (o *Batch) SetCreatedAt(v time.Time)

SetCreatedAt gets a reference to the given time.Time and assigns it to the CreatedAt field.

func (*Batch) SetDevices ¶

func (o *Batch) SetDevices(v []Href)

SetDevices gets a reference to the given []Href and assigns it to the Devices field.

func (*Batch) SetErrorMessages ¶

func (o *Batch) SetErrorMessages(v []string)

SetErrorMessages gets a reference to the given []string and assigns it to the ErrorMessages field.

func (*Batch) SetId ¶

func (o *Batch) SetId(v string)

SetId gets a reference to the given string and assigns it to the Id field.

func (*Batch) SetProject ¶

func (o *Batch) SetProject(v Href)

SetProject gets a reference to the given Href and assigns it to the Project field.

func (*Batch) SetQuantity ¶

func (o *Batch) SetQuantity(v int32)

SetQuantity gets a reference to the given int32 and assigns it to the Quantity field.

func (*Batch) SetState ¶

func (o *Batch) SetState(v string)

SetState gets a reference to the given string and assigns it to the State field.

func (*Batch) SetUpdatedAt ¶

func (o *Batch) SetUpdatedAt(v time.Time)

SetUpdatedAt gets a reference to the given time.Time and assigns it to the UpdatedAt field.

func (Batch) ToMap ¶ added in v0.4.0

func (o Batch) ToMap() (map[string]interface{}, error)

func (*Batch) UnmarshalJSON ¶ added in v0.7.0

func (o *Batch) UnmarshalJSON(bytes []byte) (err error)

type BatchesApiService ¶

type BatchesApiService service

BatchesApiService BatchesApi service

func (*BatchesApiService) CreateDeviceBatch ¶

func (a *BatchesApiService) CreateDeviceBatch(ctx context.Context, id string) ApiCreateDeviceBatchRequest

CreateDeviceBatch Create a devices batch

Creates new devices in batch and provisions them in our datacenter.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param id Project UUID
@return ApiCreateDeviceBatchRequest

func (*BatchesApiService) CreateDeviceBatchExecute ¶

func (a *BatchesApiService) CreateDeviceBatchExecute(r ApiCreateDeviceBatchRequest) (*BatchesList, *http.Response, error)

Execute executes the request

@return BatchesList

func (*BatchesApiService) DeleteBatch ¶

DeleteBatch Delete the Batch

Deletes the Batch.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param id Batch UUID
@return ApiDeleteBatchRequest

func (*BatchesApiService) DeleteBatchExecute ¶

func (a *BatchesApiService) DeleteBatchExecute(r ApiDeleteBatchRequest) (*http.Response, error)

Execute executes the request

func (*BatchesApiService) FindBatchById ¶

FindBatchById Retrieve a Batch

Returns a Batch

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param id Batch UUID
@return ApiFindBatchByIdRequest

func (*BatchesApiService) FindBatchByIdExecute ¶

func (a *BatchesApiService) FindBatchByIdExecute(r ApiFindBatchByIdRequest) (*Batch, *http.Response, error)

Execute executes the request

@return Batch

func (*BatchesApiService) FindBatchesByProject ¶

func (a *BatchesApiService) FindBatchesByProject(ctx context.Context, id string) ApiFindBatchesByProjectRequest

FindBatchesByProject Retrieve all batches by project

Returns all batches for the given project

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param id Project UUID
@return ApiFindBatchesByProjectRequest

func (*BatchesApiService) FindBatchesByProjectExecute ¶

func (a *BatchesApiService) FindBatchesByProjectExecute(r ApiFindBatchesByProjectRequest) (*BatchesList, *http.Response, error)

Execute executes the request

@return BatchesList

type BatchesList ¶

type BatchesList struct {
	Batches              []Batch `json:"batches,omitempty"`
	AdditionalProperties map[string]interface{}
}

BatchesList struct for BatchesList

func NewBatchesList ¶

func NewBatchesList() *BatchesList

NewBatchesList instantiates a new BatchesList object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewBatchesListWithDefaults ¶

func NewBatchesListWithDefaults() *BatchesList

NewBatchesListWithDefaults instantiates a new BatchesList object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*BatchesList) GetBatches ¶

func (o *BatchesList) GetBatches() []Batch

GetBatches returns the Batches field value if set, zero value otherwise.

func (*BatchesList) GetBatchesOk ¶

func (o *BatchesList) GetBatchesOk() ([]Batch, bool)

GetBatchesOk returns a tuple with the Batches field value if set, nil otherwise and a boolean to check if the value has been set.

func (*BatchesList) HasBatches ¶

func (o *BatchesList) HasBatches() bool

HasBatches returns a boolean if a field has been set.

func (BatchesList) MarshalJSON ¶

func (o BatchesList) MarshalJSON() ([]byte, error)

func (*BatchesList) SetBatches ¶

func (o *BatchesList) SetBatches(v []Batch)

SetBatches gets a reference to the given []Batch and assigns it to the Batches field.

func (BatchesList) ToMap ¶ added in v0.4.0

func (o BatchesList) ToMap() (map[string]interface{}, error)

func (*BatchesList) UnmarshalJSON ¶ added in v0.7.0

func (o *BatchesList) UnmarshalJSON(bytes []byte) (err error)

type BgpConfig ¶

type BgpConfig struct {
	// Autonomous System Number. ASN is required with Global BGP. With Local BGP the private ASN, 65000, is assigned.
	Asn            *int32                   `json:"asn,omitempty"`
	CreatedAt      *time.Time               `json:"created_at,omitempty"`
	DeploymentType *BgpConfigDeploymentType `json:"deployment_type,omitempty"`
	Href           *string                  `json:"href,omitempty"`
	Id             *string                  `json:"id,omitempty"`
	// The maximum number of route filters allowed per server
	MaxPrefix *int32 `json:"max_prefix,omitempty"`
	// (Optional) Password for BGP session in plaintext (not a checksum)
	Md5     NullableString `json:"md5,omitempty"`
	Project *Href          `json:"project,omitempty"`
	// The IP block ranges associated to the ASN (Populated in Global BGP only)
	Ranges      []GlobalBgpRange `json:"ranges,omitempty"`
	RequestedAt *time.Time       `json:"requested_at,omitempty"`
	// Specifies AS-MACRO (aka AS-SET) to use when building client route filters
	RouteObject *string `json:"route_object,omitempty"`
	// The direct connections between neighboring routers that want to exchange routing information.
	Sessions             []BgpSession     `json:"sessions,omitempty"`
	Status               *BgpConfigStatus `json:"status,omitempty"`
	AdditionalProperties map[string]interface{}
}

BgpConfig struct for BgpConfig

func NewBgpConfig ¶

func NewBgpConfig() *BgpConfig

NewBgpConfig instantiates a new BgpConfig object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewBgpConfigWithDefaults ¶

func NewBgpConfigWithDefaults() *BgpConfig

NewBgpConfigWithDefaults instantiates a new BgpConfig object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*BgpConfig) GetAsn ¶

func (o *BgpConfig) GetAsn() int32

GetAsn returns the Asn field value if set, zero value otherwise.

func (*BgpConfig) GetAsnOk ¶

func (o *BgpConfig) GetAsnOk() (*int32, bool)

GetAsnOk returns a tuple with the Asn field value if set, nil otherwise and a boolean to check if the value has been set.

func (*BgpConfig) GetCreatedAt ¶

func (o *BgpConfig) GetCreatedAt() time.Time

GetCreatedAt returns the CreatedAt field value if set, zero value otherwise.

func (*BgpConfig) GetCreatedAtOk ¶

func (o *BgpConfig) GetCreatedAtOk() (*time.Time, bool)

GetCreatedAtOk returns a tuple with the CreatedAt field value if set, nil otherwise and a boolean to check if the value has been set.

func (*BgpConfig) GetDeploymentType ¶

func (o *BgpConfig) GetDeploymentType() BgpConfigDeploymentType

GetDeploymentType returns the DeploymentType field value if set, zero value otherwise.

func (*BgpConfig) GetDeploymentTypeOk ¶

func (o *BgpConfig) GetDeploymentTypeOk() (*BgpConfigDeploymentType, bool)

GetDeploymentTypeOk returns a tuple with the DeploymentType field value if set, nil otherwise and a boolean to check if the value has been set.

func (*BgpConfig) GetHref ¶

func (o *BgpConfig) GetHref() string

GetHref returns the Href field value if set, zero value otherwise.

func (*BgpConfig) GetHrefOk ¶

func (o *BgpConfig) GetHrefOk() (*string, bool)

GetHrefOk returns a tuple with the Href field value if set, nil otherwise and a boolean to check if the value has been set.

func (*BgpConfig) GetId ¶

func (o *BgpConfig) GetId() string

GetId returns the Id field value if set, zero value otherwise.

func (*BgpConfig) GetIdOk ¶

func (o *BgpConfig) GetIdOk() (*string, bool)

GetIdOk returns a tuple with the Id field value if set, nil otherwise and a boolean to check if the value has been set.

func (*BgpConfig) GetMaxPrefix ¶

func (o *BgpConfig) GetMaxPrefix() int32

GetMaxPrefix returns the MaxPrefix field value if set, zero value otherwise.

func (*BgpConfig) GetMaxPrefixOk ¶

func (o *BgpConfig) GetMaxPrefixOk() (*int32, bool)

GetMaxPrefixOk returns a tuple with the MaxPrefix field value if set, nil otherwise and a boolean to check if the value has been set.

func (*BgpConfig) GetMd5 ¶

func (o *BgpConfig) GetMd5() string

GetMd5 returns the Md5 field value if set, zero value otherwise (both if not set or set to explicit null).

func (*BgpConfig) GetMd5Ok ¶

func (o *BgpConfig) GetMd5Ok() (*string, bool)

GetMd5Ok returns a tuple with the Md5 field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*BgpConfig) GetProject ¶

func (o *BgpConfig) GetProject() Href

GetProject returns the Project field value if set, zero value otherwise.

func (*BgpConfig) GetProjectOk ¶

func (o *BgpConfig) GetProjectOk() (*Href, bool)

GetProjectOk returns a tuple with the Project field value if set, nil otherwise and a boolean to check if the value has been set.

func (*BgpConfig) GetRanges ¶

func (o *BgpConfig) GetRanges() []GlobalBgpRange

GetRanges returns the Ranges field value if set, zero value otherwise.

func (*BgpConfig) GetRangesOk ¶

func (o *BgpConfig) GetRangesOk() ([]GlobalBgpRange, bool)

GetRangesOk returns a tuple with the Ranges field value if set, nil otherwise and a boolean to check if the value has been set.

func (*BgpConfig) GetRequestedAt ¶

func (o *BgpConfig) GetRequestedAt() time.Time

GetRequestedAt returns the RequestedAt field value if set, zero value otherwise.

func (*BgpConfig) GetRequestedAtOk ¶

func (o *BgpConfig) GetRequestedAtOk() (*time.Time, bool)

GetRequestedAtOk returns a tuple with the RequestedAt field value if set, nil otherwise and a boolean to check if the value has been set.

func (*BgpConfig) GetRouteObject ¶

func (o *BgpConfig) GetRouteObject() string

GetRouteObject returns the RouteObject field value if set, zero value otherwise.

func (*BgpConfig) GetRouteObjectOk ¶

func (o *BgpConfig) GetRouteObjectOk() (*string, bool)

GetRouteObjectOk returns a tuple with the RouteObject field value if set, nil otherwise and a boolean to check if the value has been set.

func (*BgpConfig) GetSessions ¶

func (o *BgpConfig) GetSessions() []BgpSession

GetSessions returns the Sessions field value if set, zero value otherwise.

func (*BgpConfig) GetSessionsOk ¶

func (o *BgpConfig) GetSessionsOk() ([]BgpSession, bool)

GetSessionsOk returns a tuple with the Sessions field value if set, nil otherwise and a boolean to check if the value has been set.

func (*BgpConfig) GetStatus ¶

func (o *BgpConfig) GetStatus() BgpConfigStatus

GetStatus returns the Status field value if set, zero value otherwise.

func (*BgpConfig) GetStatusOk ¶

func (o *BgpConfig) GetStatusOk() (*BgpConfigStatus, bool)

GetStatusOk returns a tuple with the Status field value if set, nil otherwise and a boolean to check if the value has been set.

func (*BgpConfig) HasAsn ¶

func (o *BgpConfig) HasAsn() bool

HasAsn returns a boolean if a field has been set.

func (*BgpConfig) HasCreatedAt ¶

func (o *BgpConfig) HasCreatedAt() bool

HasCreatedAt returns a boolean if a field has been set.

func (*BgpConfig) HasDeploymentType ¶

func (o *BgpConfig) HasDeploymentType() bool

HasDeploymentType returns a boolean if a field has been set.

func (*BgpConfig) HasHref ¶

func (o *BgpConfig) HasHref() bool

HasHref returns a boolean if a field has been set.

func (*BgpConfig) HasId ¶

func (o *BgpConfig) HasId() bool

HasId returns a boolean if a field has been set.

func (*BgpConfig) HasMaxPrefix ¶

func (o *BgpConfig) HasMaxPrefix() bool

HasMaxPrefix returns a boolean if a field has been set.

func (*BgpConfig) HasMd5 ¶

func (o *BgpConfig) HasMd5() bool

HasMd5 returns a boolean if a field has been set.

func (*BgpConfig) HasProject ¶

func (o *BgpConfig) HasProject() bool

HasProject returns a boolean if a field has been set.

func (*BgpConfig) HasRanges ¶

func (o *BgpConfig) HasRanges() bool

HasRanges returns a boolean if a field has been set.

func (*BgpConfig) HasRequestedAt ¶

func (o *BgpConfig) HasRequestedAt() bool

HasRequestedAt returns a boolean if a field has been set.

func (*BgpConfig) HasRouteObject ¶

func (o *BgpConfig) HasRouteObject() bool

HasRouteObject returns a boolean if a field has been set.

func (*BgpConfig) HasSessions ¶

func (o *BgpConfig) HasSessions() bool

HasSessions returns a boolean if a field has been set.

func (*BgpConfig) HasStatus ¶

func (o *BgpConfig) HasStatus() bool

HasStatus returns a boolean if a field has been set.

func (BgpConfig) MarshalJSON ¶

func (o BgpConfig) MarshalJSON() ([]byte, error)

func (*BgpConfig) SetAsn ¶

func (o *BgpConfig) SetAsn(v int32)

SetAsn gets a reference to the given int32 and assigns it to the Asn field.

func (*BgpConfig) SetCreatedAt ¶

func (o *BgpConfig) SetCreatedAt(v time.Time)

SetCreatedAt gets a reference to the given time.Time and assigns it to the CreatedAt field.

func (*BgpConfig) SetDeploymentType ¶

func (o *BgpConfig) SetDeploymentType(v BgpConfigDeploymentType)

SetDeploymentType gets a reference to the given BgpConfigDeploymentType and assigns it to the DeploymentType field.

func (*BgpConfig) SetHref ¶

func (o *BgpConfig) SetHref(v string)

SetHref gets a reference to the given string and assigns it to the Href field.

func (*BgpConfig) SetId ¶

func (o *BgpConfig) SetId(v string)

SetId gets a reference to the given string and assigns it to the Id field.

func (*BgpConfig) SetMaxPrefix ¶

func (o *BgpConfig) SetMaxPrefix(v int32)

SetMaxPrefix gets a reference to the given int32 and assigns it to the MaxPrefix field.

func (*BgpConfig) SetMd5 ¶

func (o *BgpConfig) SetMd5(v string)

SetMd5 gets a reference to the given NullableString and assigns it to the Md5 field.

func (*BgpConfig) SetMd5Nil ¶

func (o *BgpConfig) SetMd5Nil()

SetMd5Nil sets the value for Md5 to be an explicit nil

func (*BgpConfig) SetProject ¶

func (o *BgpConfig) SetProject(v Href)

SetProject gets a reference to the given Href and assigns it to the Project field.

func (*BgpConfig) SetRanges ¶

func (o *BgpConfig) SetRanges(v []GlobalBgpRange)

SetRanges gets a reference to the given []GlobalBgpRange and assigns it to the Ranges field.

func (*BgpConfig) SetRequestedAt ¶

func (o *BgpConfig) SetRequestedAt(v time.Time)

SetRequestedAt gets a reference to the given time.Time and assigns it to the RequestedAt field.

func (*BgpConfig) SetRouteObject ¶

func (o *BgpConfig) SetRouteObject(v string)

SetRouteObject gets a reference to the given string and assigns it to the RouteObject field.

func (*BgpConfig) SetSessions ¶

func (o *BgpConfig) SetSessions(v []BgpSession)

SetSessions gets a reference to the given []BgpSession and assigns it to the Sessions field.

func (*BgpConfig) SetStatus ¶

func (o *BgpConfig) SetStatus(v BgpConfigStatus)

SetStatus gets a reference to the given BgpConfigStatus and assigns it to the Status field.

func (BgpConfig) ToMap ¶ added in v0.4.0

func (o BgpConfig) ToMap() (map[string]interface{}, error)

func (*BgpConfig) UnmarshalJSON ¶ added in v0.7.0

func (o *BgpConfig) UnmarshalJSON(bytes []byte) (err error)

func (*BgpConfig) UnsetMd5 ¶

func (o *BgpConfig) UnsetMd5()

UnsetMd5 ensures that no value is present for Md5, not even an explicit nil

type BgpConfigDeploymentType ¶ added in v0.22.0

type BgpConfigDeploymentType string

BgpConfigDeploymentType In a Local BGP deployment, a customer uses an internal ASN to control routes within a single Equinix Metal datacenter. This means that the routes are never advertised to the global Internet. Global BGP, on the other hand, requires a customer to have a registered ASN and IP space.

const (
	BGPCONFIGDEPLOYMENTTYPE_GLOBAL BgpConfigDeploymentType = "global"
	BGPCONFIGDEPLOYMENTTYPE_LOCAL  BgpConfigDeploymentType = "local"
)

List of BgpConfig_deployment_type

func NewBgpConfigDeploymentTypeFromValue ¶ added in v0.22.0

func NewBgpConfigDeploymentTypeFromValue(v string) (*BgpConfigDeploymentType, error)

NewBgpConfigDeploymentTypeFromValue returns a pointer to a valid BgpConfigDeploymentType for the value passed as argument, or an error if the value passed is not allowed by the enum

func (BgpConfigDeploymentType) IsValid ¶ added in v0.22.0

func (v BgpConfigDeploymentType) IsValid() bool

IsValid return true if the value is valid for the enum, false otherwise

func (BgpConfigDeploymentType) Ptr ¶ added in v0.22.0

Ptr returns reference to BgpConfig_deployment_type value

func (*BgpConfigDeploymentType) UnmarshalJSON ¶ added in v0.22.0

func (v *BgpConfigDeploymentType) UnmarshalJSON(src []byte) error

type BgpConfigRequestInput ¶

type BgpConfigRequestInput struct {
	// Autonomous System Number for local BGP deployment.
	Asn            int32                               `json:"asn"`
	DeploymentType BgpConfigRequestInputDeploymentType `json:"deployment_type"`
	// The plaintext password to share between BGP neighbors as an MD5 checksum: * must be 10-20 characters long * may not include punctuation * must be a combination of numbers and letters * must contain at least one lowercase, uppercase, and digit character
	Md5 *string `json:"md5,omitempty"`
	// A use case explanation (necessary for global BGP request review).
	UseCase              *string `json:"use_case,omitempty"`
	AdditionalProperties map[string]interface{}
}

BgpConfigRequestInput struct for BgpConfigRequestInput

func NewBgpConfigRequestInput ¶

func NewBgpConfigRequestInput(asn int32, deploymentType BgpConfigRequestInputDeploymentType) *BgpConfigRequestInput

NewBgpConfigRequestInput instantiates a new BgpConfigRequestInput object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewBgpConfigRequestInputWithDefaults ¶

func NewBgpConfigRequestInputWithDefaults() *BgpConfigRequestInput

NewBgpConfigRequestInputWithDefaults instantiates a new BgpConfigRequestInput object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*BgpConfigRequestInput) GetAsn ¶

func (o *BgpConfigRequestInput) GetAsn() int32

GetAsn returns the Asn field value

func (*BgpConfigRequestInput) GetAsnOk ¶

func (o *BgpConfigRequestInput) GetAsnOk() (*int32, bool)

GetAsnOk returns a tuple with the Asn field value and a boolean to check if the value has been set.

func (*BgpConfigRequestInput) GetDeploymentType ¶

GetDeploymentType returns the DeploymentType field value

func (*BgpConfigRequestInput) GetDeploymentTypeOk ¶

func (o *BgpConfigRequestInput) GetDeploymentTypeOk() (*BgpConfigRequestInputDeploymentType, bool)

GetDeploymentTypeOk returns a tuple with the DeploymentType field value and a boolean to check if the value has been set.

func (*BgpConfigRequestInput) GetMd5 ¶

func (o *BgpConfigRequestInput) GetMd5() string

GetMd5 returns the Md5 field value if set, zero value otherwise.

func (*BgpConfigRequestInput) GetMd5Ok ¶

func (o *BgpConfigRequestInput) GetMd5Ok() (*string, bool)

GetMd5Ok returns a tuple with the Md5 field value if set, nil otherwise and a boolean to check if the value has been set.

func (*BgpConfigRequestInput) GetUseCase ¶

func (o *BgpConfigRequestInput) GetUseCase() string

GetUseCase returns the UseCase field value if set, zero value otherwise.

func (*BgpConfigRequestInput) GetUseCaseOk ¶

func (o *BgpConfigRequestInput) GetUseCaseOk() (*string, bool)

GetUseCaseOk returns a tuple with the UseCase field value if set, nil otherwise and a boolean to check if the value has been set.

func (*BgpConfigRequestInput) HasMd5 ¶

func (o *BgpConfigRequestInput) HasMd5() bool

HasMd5 returns a boolean if a field has been set.

func (*BgpConfigRequestInput) HasUseCase ¶

func (o *BgpConfigRequestInput) HasUseCase() bool

HasUseCase returns a boolean if a field has been set.

func (BgpConfigRequestInput) MarshalJSON ¶

func (o BgpConfigRequestInput) MarshalJSON() ([]byte, error)

func (*BgpConfigRequestInput) SetAsn ¶

func (o *BgpConfigRequestInput) SetAsn(v int32)

SetAsn sets field value

func (*BgpConfigRequestInput) SetDeploymentType ¶

SetDeploymentType sets field value

func (*BgpConfigRequestInput) SetMd5 ¶

func (o *BgpConfigRequestInput) SetMd5(v string)

SetMd5 gets a reference to the given string and assigns it to the Md5 field.

func (*BgpConfigRequestInput) SetUseCase ¶

func (o *BgpConfigRequestInput) SetUseCase(v string)

SetUseCase gets a reference to the given string and assigns it to the UseCase field.

func (BgpConfigRequestInput) ToMap ¶ added in v0.4.0

func (o BgpConfigRequestInput) ToMap() (map[string]interface{}, error)

func (*BgpConfigRequestInput) UnmarshalJSON ¶ added in v0.7.0

func (o *BgpConfigRequestInput) UnmarshalJSON(bytes []byte) (err error)

type BgpConfigRequestInputDeploymentType ¶ added in v0.22.0

type BgpConfigRequestInputDeploymentType string

BgpConfigRequestInputDeploymentType Wether the BGP deployment is local or global. Local deployments are configured immediately. Global deployments will need to be reviewed by Equinix Metal engineers.

const (
	BGPCONFIGREQUESTINPUTDEPLOYMENTTYPE_LOCAL  BgpConfigRequestInputDeploymentType = "local"
	BGPCONFIGREQUESTINPUTDEPLOYMENTTYPE_GLOBAL BgpConfigRequestInputDeploymentType = "global"
)

List of BgpConfigRequestInput_deployment_type

func NewBgpConfigRequestInputDeploymentTypeFromValue ¶ added in v0.22.0

func NewBgpConfigRequestInputDeploymentTypeFromValue(v string) (*BgpConfigRequestInputDeploymentType, error)

NewBgpConfigRequestInputDeploymentTypeFromValue returns a pointer to a valid BgpConfigRequestInputDeploymentType for the value passed as argument, or an error if the value passed is not allowed by the enum

func (BgpConfigRequestInputDeploymentType) IsValid ¶ added in v0.22.0

IsValid return true if the value is valid for the enum, false otherwise

func (BgpConfigRequestInputDeploymentType) Ptr ¶ added in v0.22.0

Ptr returns reference to BgpConfigRequestInput_deployment_type value

func (*BgpConfigRequestInputDeploymentType) UnmarshalJSON ¶ added in v0.22.0

func (v *BgpConfigRequestInputDeploymentType) UnmarshalJSON(src []byte) error

type BgpConfigStatus ¶ added in v0.22.0

type BgpConfigStatus string

BgpConfigStatus Status of the BGP Config. Status \"requested\" is valid only with the \"global\" deployment_type.

const (
	BGPCONFIGSTATUS_REQUESTED BgpConfigStatus = "requested"
	BGPCONFIGSTATUS_ENABLED   BgpConfigStatus = "enabled"
	BGPCONFIGSTATUS_DISABLED  BgpConfigStatus = "disabled"
)

List of BgpConfig_status

func NewBgpConfigStatusFromValue ¶ added in v0.22.0

func NewBgpConfigStatusFromValue(v string) (*BgpConfigStatus, error)

NewBgpConfigStatusFromValue returns a pointer to a valid BgpConfigStatus for the value passed as argument, or an error if the value passed is not allowed by the enum

func (BgpConfigStatus) IsValid ¶ added in v0.22.0

func (v BgpConfigStatus) IsValid() bool

IsValid return true if the value is valid for the enum, false otherwise

func (BgpConfigStatus) Ptr ¶ added in v0.22.0

Ptr returns reference to BgpConfig_status value

func (*BgpConfigStatus) UnmarshalJSON ¶ added in v0.22.0

func (v *BgpConfigStatus) UnmarshalJSON(src []byte) error

type BgpDynamicNeighbor ¶ added in v0.7.0

type BgpDynamicNeighbor struct {
	// The unique identifier for the resource
	Id *string `json:"id,omitempty"`
	// The ASN of the dynamic BGP neighbor
	BgpNeighborAsn *int32 `json:"bgp_neighbor_asn,omitempty"`
	// Network range of the dynamic BGP neighbor in CIDR format
	BgpNeighborRange     *string                  `json:"bgp_neighbor_range,omitempty"`
	MetalGateway         *VrfMetalGateway         `json:"metal_gateway,omitempty"`
	State                *BgpDynamicNeighborState `json:"state,omitempty"`
	Href                 *string                  `json:"href,omitempty"`
	CreatedAt            *time.Time               `json:"created_at,omitempty"`
	CreatedBy            *UserLimited             `json:"created_by,omitempty"`
	UpdatedAt            *time.Time               `json:"updated_at,omitempty"`
	Tags                 []string                 `json:"tags,omitempty"`
	AdditionalProperties map[string]interface{}
}

BgpDynamicNeighbor struct for BgpDynamicNeighbor

func NewBgpDynamicNeighbor ¶ added in v0.7.0

func NewBgpDynamicNeighbor() *BgpDynamicNeighbor

NewBgpDynamicNeighbor instantiates a new BgpDynamicNeighbor object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewBgpDynamicNeighborWithDefaults ¶ added in v0.7.0

func NewBgpDynamicNeighborWithDefaults() *BgpDynamicNeighbor

NewBgpDynamicNeighborWithDefaults instantiates a new BgpDynamicNeighbor object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*BgpDynamicNeighbor) GetBgpNeighborAsn ¶ added in v0.7.0

func (o *BgpDynamicNeighbor) GetBgpNeighborAsn() int32

GetBgpNeighborAsn returns the BgpNeighborAsn field value if set, zero value otherwise.

func (*BgpDynamicNeighbor) GetBgpNeighborAsnOk ¶ added in v0.7.0

func (o *BgpDynamicNeighbor) GetBgpNeighborAsnOk() (*int32, bool)

GetBgpNeighborAsnOk returns a tuple with the BgpNeighborAsn field value if set, nil otherwise and a boolean to check if the value has been set.

func (*BgpDynamicNeighbor) GetBgpNeighborRange ¶ added in v0.7.0

func (o *BgpDynamicNeighbor) GetBgpNeighborRange() string

GetBgpNeighborRange returns the BgpNeighborRange field value if set, zero value otherwise.

func (*BgpDynamicNeighbor) GetBgpNeighborRangeOk ¶ added in v0.7.0

func (o *BgpDynamicNeighbor) GetBgpNeighborRangeOk() (*string, bool)

GetBgpNeighborRangeOk returns a tuple with the BgpNeighborRange field value if set, nil otherwise and a boolean to check if the value has been set.

func (*BgpDynamicNeighbor) GetCreatedAt ¶ added in v0.7.0

func (o *BgpDynamicNeighbor) GetCreatedAt() time.Time

GetCreatedAt returns the CreatedAt field value if set, zero value otherwise.

func (*BgpDynamicNeighbor) GetCreatedAtOk ¶ added in v0.7.0

func (o *BgpDynamicNeighbor) GetCreatedAtOk() (*time.Time, bool)

GetCreatedAtOk returns a tuple with the CreatedAt field value if set, nil otherwise and a boolean to check if the value has been set.

func (*BgpDynamicNeighbor) GetCreatedBy ¶ added in v0.7.0

func (o *BgpDynamicNeighbor) GetCreatedBy() UserLimited

GetCreatedBy returns the CreatedBy field value if set, zero value otherwise.

func (*BgpDynamicNeighbor) GetCreatedByOk ¶ added in v0.7.0

func (o *BgpDynamicNeighbor) GetCreatedByOk() (*UserLimited, bool)

GetCreatedByOk returns a tuple with the CreatedBy field value if set, nil otherwise and a boolean to check if the value has been set.

func (*BgpDynamicNeighbor) GetHref ¶ added in v0.7.0

func (o *BgpDynamicNeighbor) GetHref() string

GetHref returns the Href field value if set, zero value otherwise.

func (*BgpDynamicNeighbor) GetHrefOk ¶ added in v0.7.0

func (o *BgpDynamicNeighbor) GetHrefOk() (*string, bool)

GetHrefOk returns a tuple with the Href field value if set, nil otherwise and a boolean to check if the value has been set.

func (*BgpDynamicNeighbor) GetId ¶ added in v0.7.0

func (o *BgpDynamicNeighbor) GetId() string

GetId returns the Id field value if set, zero value otherwise.

func (*BgpDynamicNeighbor) GetIdOk ¶ added in v0.7.0

func (o *BgpDynamicNeighbor) GetIdOk() (*string, bool)

GetIdOk returns a tuple with the Id field value if set, nil otherwise and a boolean to check if the value has been set.

func (*BgpDynamicNeighbor) GetMetalGateway ¶ added in v0.7.0

func (o *BgpDynamicNeighbor) GetMetalGateway() VrfMetalGateway

GetMetalGateway returns the MetalGateway field value if set, zero value otherwise.

func (*BgpDynamicNeighbor) GetMetalGatewayOk ¶ added in v0.7.0

func (o *BgpDynamicNeighbor) GetMetalGatewayOk() (*VrfMetalGateway, bool)

GetMetalGatewayOk returns a tuple with the MetalGateway field value if set, nil otherwise and a boolean to check if the value has been set.

func (*BgpDynamicNeighbor) GetState ¶ added in v0.7.0

GetState returns the State field value if set, zero value otherwise.

func (*BgpDynamicNeighbor) GetStateOk ¶ added in v0.7.0

func (o *BgpDynamicNeighbor) GetStateOk() (*BgpDynamicNeighborState, bool)

GetStateOk returns a tuple with the State field value if set, nil otherwise and a boolean to check if the value has been set.

func (*BgpDynamicNeighbor) GetTags ¶ added in v0.17.0

func (o *BgpDynamicNeighbor) GetTags() []string

GetTags returns the Tags field value if set, zero value otherwise.

func (*BgpDynamicNeighbor) GetTagsOk ¶ added in v0.17.0

func (o *BgpDynamicNeighbor) GetTagsOk() ([]string, bool)

GetTagsOk returns a tuple with the Tags field value if set, nil otherwise and a boolean to check if the value has been set.

func (*BgpDynamicNeighbor) GetUpdatedAt ¶ added in v0.7.0

func (o *BgpDynamicNeighbor) GetUpdatedAt() time.Time

GetUpdatedAt returns the UpdatedAt field value if set, zero value otherwise.

func (*BgpDynamicNeighbor) GetUpdatedAtOk ¶ added in v0.7.0

func (o *BgpDynamicNeighbor) GetUpdatedAtOk() (*time.Time, bool)

GetUpdatedAtOk returns a tuple with the UpdatedAt field value if set, nil otherwise and a boolean to check if the value has been set.

func (*BgpDynamicNeighbor) HasBgpNeighborAsn ¶ added in v0.7.0

func (o *BgpDynamicNeighbor) HasBgpNeighborAsn() bool

HasBgpNeighborAsn returns a boolean if a field has been set.

func (*BgpDynamicNeighbor) HasBgpNeighborRange ¶ added in v0.7.0

func (o *BgpDynamicNeighbor) HasBgpNeighborRange() bool

HasBgpNeighborRange returns a boolean if a field has been set.

func (*BgpDynamicNeighbor) HasCreatedAt ¶ added in v0.7.0

func (o *BgpDynamicNeighbor) HasCreatedAt() bool

HasCreatedAt returns a boolean if a field has been set.

func (*BgpDynamicNeighbor) HasCreatedBy ¶ added in v0.7.0

func (o *BgpDynamicNeighbor) HasCreatedBy() bool

HasCreatedBy returns a boolean if a field has been set.

func (*BgpDynamicNeighbor) HasHref ¶ added in v0.7.0

func (o *BgpDynamicNeighbor) HasHref() bool

HasHref returns a boolean if a field has been set.

func (*BgpDynamicNeighbor) HasId ¶ added in v0.7.0

func (o *BgpDynamicNeighbor) HasId() bool

HasId returns a boolean if a field has been set.

func (*BgpDynamicNeighbor) HasMetalGateway ¶ added in v0.7.0

func (o *BgpDynamicNeighbor) HasMetalGateway() bool

HasMetalGateway returns a boolean if a field has been set.

func (*BgpDynamicNeighbor) HasState ¶ added in v0.7.0

func (o *BgpDynamicNeighbor) HasState() bool

HasState returns a boolean if a field has been set.

func (*BgpDynamicNeighbor) HasTags ¶ added in v0.17.0

func (o *BgpDynamicNeighbor) HasTags() bool

HasTags returns a boolean if a field has been set.

func (*BgpDynamicNeighbor) HasUpdatedAt ¶ added in v0.7.0

func (o *BgpDynamicNeighbor) HasUpdatedAt() bool

HasUpdatedAt returns a boolean if a field has been set.

func (BgpDynamicNeighbor) MarshalJSON ¶ added in v0.7.0

func (o BgpDynamicNeighbor) MarshalJSON() ([]byte, error)

func (*BgpDynamicNeighbor) SetBgpNeighborAsn ¶ added in v0.7.0

func (o *BgpDynamicNeighbor) SetBgpNeighborAsn(v int32)

SetBgpNeighborAsn gets a reference to the given int32 and assigns it to the BgpNeighborAsn field.

func (*BgpDynamicNeighbor) SetBgpNeighborRange ¶ added in v0.7.0

func (o *BgpDynamicNeighbor) SetBgpNeighborRange(v string)

SetBgpNeighborRange gets a reference to the given string and assigns it to the BgpNeighborRange field.

func (*BgpDynamicNeighbor) SetCreatedAt ¶ added in v0.7.0

func (o *BgpDynamicNeighbor) SetCreatedAt(v time.Time)

SetCreatedAt gets a reference to the given time.Time and assigns it to the CreatedAt field.

func (*BgpDynamicNeighbor) SetCreatedBy ¶ added in v0.7.0

func (o *BgpDynamicNeighbor) SetCreatedBy(v UserLimited)

SetCreatedBy gets a reference to the given UserLimited and assigns it to the CreatedBy field.

func (*BgpDynamicNeighbor) SetHref ¶ added in v0.7.0

func (o *BgpDynamicNeighbor) SetHref(v string)

SetHref gets a reference to the given string and assigns it to the Href field.

func (*BgpDynamicNeighbor) SetId ¶ added in v0.7.0

func (o *BgpDynamicNeighbor) SetId(v string)

SetId gets a reference to the given string and assigns it to the Id field.

func (*BgpDynamicNeighbor) SetMetalGateway ¶ added in v0.7.0

func (o *BgpDynamicNeighbor) SetMetalGateway(v VrfMetalGateway)

SetMetalGateway gets a reference to the given VrfMetalGateway and assigns it to the MetalGateway field.

func (*BgpDynamicNeighbor) SetState ¶ added in v0.7.0

SetState gets a reference to the given BgpDynamicNeighborState and assigns it to the State field.

func (*BgpDynamicNeighbor) SetTags ¶ added in v0.17.0

func (o *BgpDynamicNeighbor) SetTags(v []string)

SetTags gets a reference to the given []string and assigns it to the Tags field.

func (*BgpDynamicNeighbor) SetUpdatedAt ¶ added in v0.7.0

func (o *BgpDynamicNeighbor) SetUpdatedAt(v time.Time)

SetUpdatedAt gets a reference to the given time.Time and assigns it to the UpdatedAt field.

func (BgpDynamicNeighbor) ToMap ¶ added in v0.7.0

func (o BgpDynamicNeighbor) ToMap() (map[string]interface{}, error)

func (*BgpDynamicNeighbor) UnmarshalJSON ¶ added in v0.7.0

func (o *BgpDynamicNeighbor) UnmarshalJSON(bytes []byte) (err error)

type BgpDynamicNeighborCreateInput ¶ added in v0.7.0

type BgpDynamicNeighborCreateInput struct {
	// Network range of the dynamic BGP neighbor in CIDR format
	BgpNeighborRange string `json:"bgp_neighbor_range"`
	// The ASN of the dynamic BGP neighbor
	BgpNeighborAsn       int32    `json:"bgp_neighbor_asn"`
	Tags                 []string `json:"tags,omitempty"`
	AdditionalProperties map[string]interface{}
}

BgpDynamicNeighborCreateInput struct for BgpDynamicNeighborCreateInput

func NewBgpDynamicNeighborCreateInput ¶ added in v0.7.0

func NewBgpDynamicNeighborCreateInput(bgpNeighborRange string, bgpNeighborAsn int32) *BgpDynamicNeighborCreateInput

NewBgpDynamicNeighborCreateInput instantiates a new BgpDynamicNeighborCreateInput object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewBgpDynamicNeighborCreateInputWithDefaults ¶ added in v0.7.0

func NewBgpDynamicNeighborCreateInputWithDefaults() *BgpDynamicNeighborCreateInput

NewBgpDynamicNeighborCreateInputWithDefaults instantiates a new BgpDynamicNeighborCreateInput object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*BgpDynamicNeighborCreateInput) GetBgpNeighborAsn ¶ added in v0.7.0

func (o *BgpDynamicNeighborCreateInput) GetBgpNeighborAsn() int32

GetBgpNeighborAsn returns the BgpNeighborAsn field value

func (*BgpDynamicNeighborCreateInput) GetBgpNeighborAsnOk ¶ added in v0.7.0

func (o *BgpDynamicNeighborCreateInput) GetBgpNeighborAsnOk() (*int32, bool)

GetBgpNeighborAsnOk returns a tuple with the BgpNeighborAsn field value and a boolean to check if the value has been set.

func (*BgpDynamicNeighborCreateInput) GetBgpNeighborRange ¶ added in v0.7.0

func (o *BgpDynamicNeighborCreateInput) GetBgpNeighborRange() string

GetBgpNeighborRange returns the BgpNeighborRange field value

func (*BgpDynamicNeighborCreateInput) GetBgpNeighborRangeOk ¶ added in v0.7.0

func (o *BgpDynamicNeighborCreateInput) GetBgpNeighborRangeOk() (*string, bool)

GetBgpNeighborRangeOk returns a tuple with the BgpNeighborRange field value and a boolean to check if the value has been set.

func (*BgpDynamicNeighborCreateInput) GetTags ¶ added in v0.17.0

func (o *BgpDynamicNeighborCreateInput) GetTags() []string

GetTags returns the Tags field value if set, zero value otherwise.

func (*BgpDynamicNeighborCreateInput) GetTagsOk ¶ added in v0.17.0

func (o *BgpDynamicNeighborCreateInput) GetTagsOk() ([]string, bool)

GetTagsOk returns a tuple with the Tags field value if set, nil otherwise and a boolean to check if the value has been set.

func (*BgpDynamicNeighborCreateInput) HasTags ¶ added in v0.17.0

func (o *BgpDynamicNeighborCreateInput) HasTags() bool

HasTags returns a boolean if a field has been set.

func (BgpDynamicNeighborCreateInput) MarshalJSON ¶ added in v0.7.0

func (o BgpDynamicNeighborCreateInput) MarshalJSON() ([]byte, error)

func (*BgpDynamicNeighborCreateInput) SetBgpNeighborAsn ¶ added in v0.7.0

func (o *BgpDynamicNeighborCreateInput) SetBgpNeighborAsn(v int32)

SetBgpNeighborAsn sets field value

func (*BgpDynamicNeighborCreateInput) SetBgpNeighborRange ¶ added in v0.7.0

func (o *BgpDynamicNeighborCreateInput) SetBgpNeighborRange(v string)

SetBgpNeighborRange sets field value

func (*BgpDynamicNeighborCreateInput) SetTags ¶ added in v0.17.0

func (o *BgpDynamicNeighborCreateInput) SetTags(v []string)

SetTags gets a reference to the given []string and assigns it to the Tags field.

func (BgpDynamicNeighborCreateInput) ToMap ¶ added in v0.7.0

func (o BgpDynamicNeighborCreateInput) ToMap() (map[string]interface{}, error)

func (*BgpDynamicNeighborCreateInput) UnmarshalJSON ¶ added in v0.7.0

func (o *BgpDynamicNeighborCreateInput) UnmarshalJSON(bytes []byte) (err error)

type BgpDynamicNeighborList ¶ added in v0.7.0

type BgpDynamicNeighborList struct {
	BgpDynamicNeighbors  []BgpDynamicNeighbor `json:"bgp_dynamic_neighbors,omitempty"`
	Meta                 *Meta                `json:"meta,omitempty"`
	AdditionalProperties map[string]interface{}
}

BgpDynamicNeighborList struct for BgpDynamicNeighborList

func NewBgpDynamicNeighborList ¶ added in v0.7.0

func NewBgpDynamicNeighborList() *BgpDynamicNeighborList

NewBgpDynamicNeighborList instantiates a new BgpDynamicNeighborList object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewBgpDynamicNeighborListWithDefaults ¶ added in v0.7.0

func NewBgpDynamicNeighborListWithDefaults() *BgpDynamicNeighborList

NewBgpDynamicNeighborListWithDefaults instantiates a new BgpDynamicNeighborList object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*BgpDynamicNeighborList) GetBgpDynamicNeighbors ¶ added in v0.7.0

func (o *BgpDynamicNeighborList) GetBgpDynamicNeighbors() []BgpDynamicNeighbor

GetBgpDynamicNeighbors returns the BgpDynamicNeighbors field value if set, zero value otherwise.

func (*BgpDynamicNeighborList) GetBgpDynamicNeighborsOk ¶ added in v0.7.0

func (o *BgpDynamicNeighborList) GetBgpDynamicNeighborsOk() ([]BgpDynamicNeighbor, bool)

GetBgpDynamicNeighborsOk returns a tuple with the BgpDynamicNeighbors field value if set, nil otherwise and a boolean to check if the value has been set.

func (*BgpDynamicNeighborList) GetMeta ¶ added in v0.7.0

func (o *BgpDynamicNeighborList) GetMeta() Meta

GetMeta returns the Meta field value if set, zero value otherwise.

func (*BgpDynamicNeighborList) GetMetaOk ¶ added in v0.7.0

func (o *BgpDynamicNeighborList) GetMetaOk() (*Meta, bool)

GetMetaOk returns a tuple with the Meta field value if set, nil otherwise and a boolean to check if the value has been set.

func (*BgpDynamicNeighborList) HasBgpDynamicNeighbors ¶ added in v0.7.0

func (o *BgpDynamicNeighborList) HasBgpDynamicNeighbors() bool

HasBgpDynamicNeighbors returns a boolean if a field has been set.

func (*BgpDynamicNeighborList) HasMeta ¶ added in v0.7.0

func (o *BgpDynamicNeighborList) HasMeta() bool

HasMeta returns a boolean if a field has been set.

func (BgpDynamicNeighborList) MarshalJSON ¶ added in v0.7.0

func (o BgpDynamicNeighborList) MarshalJSON() ([]byte, error)

func (*BgpDynamicNeighborList) SetBgpDynamicNeighbors ¶ added in v0.7.0

func (o *BgpDynamicNeighborList) SetBgpDynamicNeighbors(v []BgpDynamicNeighbor)

SetBgpDynamicNeighbors gets a reference to the given []BgpDynamicNeighbor and assigns it to the BgpDynamicNeighbors field.

func (*BgpDynamicNeighborList) SetMeta ¶ added in v0.7.0

func (o *BgpDynamicNeighborList) SetMeta(v Meta)

SetMeta gets a reference to the given Meta and assigns it to the Meta field.

func (BgpDynamicNeighborList) ToMap ¶ added in v0.7.0

func (o BgpDynamicNeighborList) ToMap() (map[string]interface{}, error)

func (*BgpDynamicNeighborList) UnmarshalJSON ¶ added in v0.7.0

func (o *BgpDynamicNeighborList) UnmarshalJSON(bytes []byte) (err error)

type BgpDynamicNeighborState ¶ added in v0.22.0

type BgpDynamicNeighborState string

BgpDynamicNeighborState the model 'BgpDynamicNeighborState'

const (
	BGPDYNAMICNEIGHBORSTATE_ACTIVE   BgpDynamicNeighborState = "active"
	BGPDYNAMICNEIGHBORSTATE_DELETING BgpDynamicNeighborState = "deleting"
	BGPDYNAMICNEIGHBORSTATE_PENDING  BgpDynamicNeighborState = "pending"
	BGPDYNAMICNEIGHBORSTATE_READY    BgpDynamicNeighborState = "ready"
)

List of BgpDynamicNeighbor_state

func NewBgpDynamicNeighborStateFromValue ¶ added in v0.22.0

func NewBgpDynamicNeighborStateFromValue(v string) (*BgpDynamicNeighborState, error)

NewBgpDynamicNeighborStateFromValue returns a pointer to a valid BgpDynamicNeighborState for the value passed as argument, or an error if the value passed is not allowed by the enum

func (BgpDynamicNeighborState) IsValid ¶ added in v0.22.0

func (v BgpDynamicNeighborState) IsValid() bool

IsValid return true if the value is valid for the enum, false otherwise

func (BgpDynamicNeighborState) Ptr ¶ added in v0.22.0

Ptr returns reference to BgpDynamicNeighbor_state value

func (*BgpDynamicNeighborState) UnmarshalJSON ¶ added in v0.22.0

func (v *BgpDynamicNeighborState) UnmarshalJSON(src []byte) error

type BgpNeighborData ¶

type BgpNeighborData struct {
	// Address Family for IP Address. Accepted values are 4 or 6
	AddressFamily *int32 `json:"address_family,omitempty"`
	// The customer's ASN. In a local BGP deployment, this will be an internal ASN used to route within the data center. For a global BGP deployment, this will be the your own ASN, configured when you set up BGP for your project.
	CustomerAs *int32 `json:"customer_as,omitempty"`
	// The device's IP address. For an IPv4 BGP session, this is typically the private bond0 address for the device.
	CustomerIp *string `json:"customer_ip,omitempty"`
	// True if an MD5 password is configured for the project.
	Md5Enabled *bool `json:"md5_enabled,omitempty"`
	// The MD5 password configured for the project, if set.
	Md5Password *string `json:"md5_password,omitempty"`
	// True when the BGP session should be configured as multihop.
	Multihop *bool `json:"multihop,omitempty"`
	// The Peer ASN to use when configuring BGP on your device.
	PeerAs *int32 `json:"peer_as,omitempty"`
	// A list of one or more IP addresses to use for the Peer IP section of your BGP configuration. For non-multihop sessions, this will typically be a single gateway address for the device. For multihop sessions, it will be a list of IPs.
	PeerIps []string `json:"peer_ips,omitempty"`
	// A list of project subnets
	RoutesIn []BgpRoute `json:"routes_in,omitempty"`
	// A list of outgoing routes. Only populated if the BGP session has default route enabled.
	RoutesOut            []BgpRoute `json:"routes_out,omitempty"`
	AdditionalProperties map[string]interface{}
}

BgpNeighborData struct for BgpNeighborData

func NewBgpNeighborData ¶

func NewBgpNeighborData() *BgpNeighborData

NewBgpNeighborData instantiates a new BgpNeighborData object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewBgpNeighborDataWithDefaults ¶

func NewBgpNeighborDataWithDefaults() *BgpNeighborData

NewBgpNeighborDataWithDefaults instantiates a new BgpNeighborData object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*BgpNeighborData) GetAddressFamily ¶

func (o *BgpNeighborData) GetAddressFamily() int32

GetAddressFamily returns the AddressFamily field value if set, zero value otherwise.

func (*BgpNeighborData) GetAddressFamilyOk ¶

func (o *BgpNeighborData) GetAddressFamilyOk() (*int32, bool)

GetAddressFamilyOk returns a tuple with the AddressFamily field value if set, nil otherwise and a boolean to check if the value has been set.

func (*BgpNeighborData) GetCustomerAs ¶

func (o *BgpNeighborData) GetCustomerAs() int32

GetCustomerAs returns the CustomerAs field value if set, zero value otherwise.

func (*BgpNeighborData) GetCustomerAsOk ¶

func (o *BgpNeighborData) GetCustomerAsOk() (*int32, bool)

GetCustomerAsOk returns a tuple with the CustomerAs field value if set, nil otherwise and a boolean to check if the value has been set.

func (*BgpNeighborData) GetCustomerIp ¶

func (o *BgpNeighborData) GetCustomerIp() string

GetCustomerIp returns the CustomerIp field value if set, zero value otherwise.

func (*BgpNeighborData) GetCustomerIpOk ¶

func (o *BgpNeighborData) GetCustomerIpOk() (*string, bool)

GetCustomerIpOk returns a tuple with the CustomerIp field value if set, nil otherwise and a boolean to check if the value has been set.

func (*BgpNeighborData) GetMd5Enabled ¶

func (o *BgpNeighborData) GetMd5Enabled() bool

GetMd5Enabled returns the Md5Enabled field value if set, zero value otherwise.

func (*BgpNeighborData) GetMd5EnabledOk ¶

func (o *BgpNeighborData) GetMd5EnabledOk() (*bool, bool)

GetMd5EnabledOk returns a tuple with the Md5Enabled field value if set, nil otherwise and a boolean to check if the value has been set.

func (*BgpNeighborData) GetMd5Password ¶

func (o *BgpNeighborData) GetMd5Password() string

GetMd5Password returns the Md5Password field value if set, zero value otherwise.

func (*BgpNeighborData) GetMd5PasswordOk ¶

func (o *BgpNeighborData) GetMd5PasswordOk() (*string, bool)

GetMd5PasswordOk returns a tuple with the Md5Password field value if set, nil otherwise and a boolean to check if the value has been set.

func (*BgpNeighborData) GetMultihop ¶

func (o *BgpNeighborData) GetMultihop() bool

GetMultihop returns the Multihop field value if set, zero value otherwise.

func (*BgpNeighborData) GetMultihopOk ¶

func (o *BgpNeighborData) GetMultihopOk() (*bool, bool)

GetMultihopOk returns a tuple with the Multihop field value if set, nil otherwise and a boolean to check if the value has been set.

func (*BgpNeighborData) GetPeerAs ¶

func (o *BgpNeighborData) GetPeerAs() int32

GetPeerAs returns the PeerAs field value if set, zero value otherwise.

func (*BgpNeighborData) GetPeerAsOk ¶

func (o *BgpNeighborData) GetPeerAsOk() (*int32, bool)

GetPeerAsOk returns a tuple with the PeerAs field value if set, nil otherwise and a boolean to check if the value has been set.

func (*BgpNeighborData) GetPeerIps ¶

func (o *BgpNeighborData) GetPeerIps() []string

GetPeerIps returns the PeerIps field value if set, zero value otherwise.

func (*BgpNeighborData) GetPeerIpsOk ¶

func (o *BgpNeighborData) GetPeerIpsOk() ([]string, bool)

GetPeerIpsOk returns a tuple with the PeerIps field value if set, nil otherwise and a boolean to check if the value has been set.

func (*BgpNeighborData) GetRoutesIn ¶

func (o *BgpNeighborData) GetRoutesIn() []BgpRoute

GetRoutesIn returns the RoutesIn field value if set, zero value otherwise.

func (*BgpNeighborData) GetRoutesInOk ¶

func (o *BgpNeighborData) GetRoutesInOk() ([]BgpRoute, bool)

GetRoutesInOk returns a tuple with the RoutesIn field value if set, nil otherwise and a boolean to check if the value has been set.

func (*BgpNeighborData) GetRoutesOut ¶

func (o *BgpNeighborData) GetRoutesOut() []BgpRoute

GetRoutesOut returns the RoutesOut field value if set, zero value otherwise.

func (*BgpNeighborData) GetRoutesOutOk ¶

func (o *BgpNeighborData) GetRoutesOutOk() ([]BgpRoute, bool)

GetRoutesOutOk returns a tuple with the RoutesOut field value if set, nil otherwise and a boolean to check if the value has been set.

func (*BgpNeighborData) HasAddressFamily ¶

func (o *BgpNeighborData) HasAddressFamily() bool

HasAddressFamily returns a boolean if a field has been set.

func (*BgpNeighborData) HasCustomerAs ¶

func (o *BgpNeighborData) HasCustomerAs() bool

HasCustomerAs returns a boolean if a field has been set.

func (*BgpNeighborData) HasCustomerIp ¶

func (o *BgpNeighborData) HasCustomerIp() bool

HasCustomerIp returns a boolean if a field has been set.

func (*BgpNeighborData) HasMd5Enabled ¶

func (o *BgpNeighborData) HasMd5Enabled() bool

HasMd5Enabled returns a boolean if a field has been set.

func (*BgpNeighborData) HasMd5Password ¶

func (o *BgpNeighborData) HasMd5Password() bool

HasMd5Password returns a boolean if a field has been set.

func (*BgpNeighborData) HasMultihop ¶

func (o *BgpNeighborData) HasMultihop() bool

HasMultihop returns a boolean if a field has been set.

func (*BgpNeighborData) HasPeerAs ¶

func (o *BgpNeighborData) HasPeerAs() bool

HasPeerAs returns a boolean if a field has been set.

func (*BgpNeighborData) HasPeerIps ¶

func (o *BgpNeighborData) HasPeerIps() bool

HasPeerIps returns a boolean if a field has been set.

func (*BgpNeighborData) HasRoutesIn ¶

func (o *BgpNeighborData) HasRoutesIn() bool

HasRoutesIn returns a boolean if a field has been set.

func (*BgpNeighborData) HasRoutesOut ¶

func (o *BgpNeighborData) HasRoutesOut() bool

HasRoutesOut returns a boolean if a field has been set.

func (BgpNeighborData) MarshalJSON ¶

func (o BgpNeighborData) MarshalJSON() ([]byte, error)

func (*BgpNeighborData) SetAddressFamily ¶

func (o *BgpNeighborData) SetAddressFamily(v int32)

SetAddressFamily gets a reference to the given int32 and assigns it to the AddressFamily field.

func (*BgpNeighborData) SetCustomerAs ¶

func (o *BgpNeighborData) SetCustomerAs(v int32)

SetCustomerAs gets a reference to the given int32 and assigns it to the CustomerAs field.

func (*BgpNeighborData) SetCustomerIp ¶

func (o *BgpNeighborData) SetCustomerIp(v string)

SetCustomerIp gets a reference to the given string and assigns it to the CustomerIp field.

func (*BgpNeighborData) SetMd5Enabled ¶

func (o *BgpNeighborData) SetMd5Enabled(v bool)

SetMd5Enabled gets a reference to the given bool and assigns it to the Md5Enabled field.

func (*BgpNeighborData) SetMd5Password ¶

func (o *BgpNeighborData) SetMd5Password(v string)

SetMd5Password gets a reference to the given string and assigns it to the Md5Password field.

func (*BgpNeighborData) SetMultihop ¶

func (o *BgpNeighborData) SetMultihop(v bool)

SetMultihop gets a reference to the given bool and assigns it to the Multihop field.

func (*BgpNeighborData) SetPeerAs ¶

func (o *BgpNeighborData) SetPeerAs(v int32)

SetPeerAs gets a reference to the given int32 and assigns it to the PeerAs field.

func (*BgpNeighborData) SetPeerIps ¶

func (o *BgpNeighborData) SetPeerIps(v []string)

SetPeerIps gets a reference to the given []string and assigns it to the PeerIps field.

func (*BgpNeighborData) SetRoutesIn ¶

func (o *BgpNeighborData) SetRoutesIn(v []BgpRoute)

SetRoutesIn gets a reference to the given []BgpRoute and assigns it to the RoutesIn field.

func (*BgpNeighborData) SetRoutesOut ¶

func (o *BgpNeighborData) SetRoutesOut(v []BgpRoute)

SetRoutesOut gets a reference to the given []BgpRoute and assigns it to the RoutesOut field.

func (BgpNeighborData) ToMap ¶ added in v0.4.0

func (o BgpNeighborData) ToMap() (map[string]interface{}, error)

func (*BgpNeighborData) UnmarshalJSON ¶ added in v0.7.0

func (o *BgpNeighborData) UnmarshalJSON(bytes []byte) (err error)

type BgpRoute ¶ added in v0.5.0

type BgpRoute struct {
	Exact                *bool   `json:"exact,omitempty"`
	Route                *string `json:"route,omitempty"`
	AdditionalProperties map[string]interface{}
}

BgpRoute struct for BgpRoute

func NewBgpRoute ¶ added in v0.5.0

func NewBgpRoute() *BgpRoute

NewBgpRoute instantiates a new BgpRoute object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewBgpRouteWithDefaults ¶ added in v0.5.0

func NewBgpRouteWithDefaults() *BgpRoute

NewBgpRouteWithDefaults instantiates a new BgpRoute object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*BgpRoute) GetExact ¶ added in v0.5.0

func (o *BgpRoute) GetExact() bool

GetExact returns the Exact field value if set, zero value otherwise.

func (*BgpRoute) GetExactOk ¶ added in v0.5.0

func (o *BgpRoute) GetExactOk() (*bool, bool)

GetExactOk returns a tuple with the Exact field value if set, nil otherwise and a boolean to check if the value has been set.

func (*BgpRoute) GetRoute ¶ added in v0.5.0

func (o *BgpRoute) GetRoute() string

GetRoute returns the Route field value if set, zero value otherwise.

func (*BgpRoute) GetRouteOk ¶ added in v0.5.0

func (o *BgpRoute) GetRouteOk() (*string, bool)

GetRouteOk returns a tuple with the Route field value if set, nil otherwise and a boolean to check if the value has been set.

func (*BgpRoute) HasExact ¶ added in v0.5.0

func (o *BgpRoute) HasExact() bool

HasExact returns a boolean if a field has been set.

func (*BgpRoute) HasRoute ¶ added in v0.5.0

func (o *BgpRoute) HasRoute() bool

HasRoute returns a boolean if a field has been set.

func (BgpRoute) MarshalJSON ¶ added in v0.5.0

func (o BgpRoute) MarshalJSON() ([]byte, error)

func (*BgpRoute) SetExact ¶ added in v0.5.0

func (o *BgpRoute) SetExact(v bool)

SetExact gets a reference to the given bool and assigns it to the Exact field.

func (*BgpRoute) SetRoute ¶ added in v0.5.0

func (o *BgpRoute) SetRoute(v string)

SetRoute gets a reference to the given string and assigns it to the Route field.

func (BgpRoute) ToMap ¶ added in v0.5.0

func (o BgpRoute) ToMap() (map[string]interface{}, error)

func (*BgpRoute) UnmarshalJSON ¶ added in v0.7.0

func (o *BgpRoute) UnmarshalJSON(bytes []byte) (err error)

type BgpSession ¶

type BgpSession struct {
	AddressFamily BgpSessionAddressFamily `json:"address_family"`
	CreatedAt     *time.Time              `json:"created_at,omitempty"`
	DefaultRoute  *bool                   `json:"default_route,omitempty"`
	Device        *Href                   `json:"device,omitempty"`
	Href          *string                 `json:"href,omitempty"`
	Id            *string                 `json:"id,omitempty"`
	LearnedRoutes []string                `json:"learned_routes,omitempty"`
	//  The status of the BGP Session. Multiple status values may be reported when the device is connected to multiple switches, one value per switch. Each status will start with \"unknown\" and progress to \"up\" or \"down\" depending on the connected device. Subsequent \"unknown\" values indicate a problem acquiring status from the switch.
	Status               *string    `json:"status,omitempty"`
	UpdatedAt            *time.Time `json:"updated_at,omitempty"`
	AdditionalProperties map[string]interface{}
}

BgpSession struct for BgpSession

func NewBgpSession ¶

func NewBgpSession(addressFamily BgpSessionAddressFamily) *BgpSession

NewBgpSession instantiates a new BgpSession object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewBgpSessionWithDefaults ¶

func NewBgpSessionWithDefaults() *BgpSession

NewBgpSessionWithDefaults instantiates a new BgpSession object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*BgpSession) GetAddressFamily ¶

func (o *BgpSession) GetAddressFamily() BgpSessionAddressFamily

GetAddressFamily returns the AddressFamily field value

func (*BgpSession) GetAddressFamilyOk ¶

func (o *BgpSession) GetAddressFamilyOk() (*BgpSessionAddressFamily, bool)

GetAddressFamilyOk returns a tuple with the AddressFamily field value and a boolean to check if the value has been set.

func (*BgpSession) GetCreatedAt ¶

func (o *BgpSession) GetCreatedAt() time.Time

GetCreatedAt returns the CreatedAt field value if set, zero value otherwise.

func (*BgpSession) GetCreatedAtOk ¶

func (o *BgpSession) GetCreatedAtOk() (*time.Time, bool)

GetCreatedAtOk returns a tuple with the CreatedAt field value if set, nil otherwise and a boolean to check if the value has been set.

func (*BgpSession) GetDefaultRoute ¶

func (o *BgpSession) GetDefaultRoute() bool

GetDefaultRoute returns the DefaultRoute field value if set, zero value otherwise.

func (*BgpSession) GetDefaultRouteOk ¶

func (o *BgpSession) GetDefaultRouteOk() (*bool, bool)

GetDefaultRouteOk returns a tuple with the DefaultRoute field value if set, nil otherwise and a boolean to check if the value has been set.

func (*BgpSession) GetDevice ¶

func (o *BgpSession) GetDevice() Href

GetDevice returns the Device field value if set, zero value otherwise.

func (*BgpSession) GetDeviceOk ¶

func (o *BgpSession) GetDeviceOk() (*Href, bool)

GetDeviceOk returns a tuple with the Device field value if set, nil otherwise and a boolean to check if the value has been set.

func (*BgpSession) GetHref ¶

func (o *BgpSession) GetHref() string

GetHref returns the Href field value if set, zero value otherwise.

func (*BgpSession) GetHrefOk ¶

func (o *BgpSession) GetHrefOk() (*string, bool)

GetHrefOk returns a tuple with the Href field value if set, nil otherwise and a boolean to check if the value has been set.

func (*BgpSession) GetId ¶

func (o *BgpSession) GetId() string

GetId returns the Id field value if set, zero value otherwise.

func (*BgpSession) GetIdOk ¶

func (o *BgpSession) GetIdOk() (*string, bool)

GetIdOk returns a tuple with the Id field value if set, nil otherwise and a boolean to check if the value has been set.

func (*BgpSession) GetLearnedRoutes ¶

func (o *BgpSession) GetLearnedRoutes() []string

GetLearnedRoutes returns the LearnedRoutes field value if set, zero value otherwise.

func (*BgpSession) GetLearnedRoutesOk ¶

func (o *BgpSession) GetLearnedRoutesOk() ([]string, bool)

GetLearnedRoutesOk returns a tuple with the LearnedRoutes field value if set, nil otherwise and a boolean to check if the value has been set.

func (*BgpSession) GetStatus ¶

func (o *BgpSession) GetStatus() string

GetStatus returns the Status field value if set, zero value otherwise.

func (*BgpSession) GetStatusOk ¶

func (o *BgpSession) GetStatusOk() (*string, bool)

GetStatusOk returns a tuple with the Status field value if set, nil otherwise and a boolean to check if the value has been set.

func (*BgpSession) GetUpdatedAt ¶

func (o *BgpSession) GetUpdatedAt() time.Time

GetUpdatedAt returns the UpdatedAt field value if set, zero value otherwise.

func (*BgpSession) GetUpdatedAtOk ¶

func (o *BgpSession) GetUpdatedAtOk() (*time.Time, bool)

GetUpdatedAtOk returns a tuple with the UpdatedAt field value if set, nil otherwise and a boolean to check if the value has been set.

func (*BgpSession) HasCreatedAt ¶

func (o *BgpSession) HasCreatedAt() bool

HasCreatedAt returns a boolean if a field has been set.

func (*BgpSession) HasDefaultRoute ¶

func (o *BgpSession) HasDefaultRoute() bool

HasDefaultRoute returns a boolean if a field has been set.

func (*BgpSession) HasDevice ¶

func (o *BgpSession) HasDevice() bool

HasDevice returns a boolean if a field has been set.

func (*BgpSession) HasHref ¶

func (o *BgpSession) HasHref() bool

HasHref returns a boolean if a field has been set.

func (*BgpSession) HasId ¶

func (o *BgpSession) HasId() bool

HasId returns a boolean if a field has been set.

func (*BgpSession) HasLearnedRoutes ¶

func (o *BgpSession) HasLearnedRoutes() bool

HasLearnedRoutes returns a boolean if a field has been set.

func (*BgpSession) HasStatus ¶

func (o *BgpSession) HasStatus() bool

HasStatus returns a boolean if a field has been set.

func (*BgpSession) HasUpdatedAt ¶

func (o *BgpSession) HasUpdatedAt() bool

HasUpdatedAt returns a boolean if a field has been set.

func (BgpSession) MarshalJSON ¶

func (o BgpSession) MarshalJSON() ([]byte, error)

func (*BgpSession) SetAddressFamily ¶

func (o *BgpSession) SetAddressFamily(v BgpSessionAddressFamily)

SetAddressFamily sets field value

func (*BgpSession) SetCreatedAt ¶

func (o *BgpSession) SetCreatedAt(v time.Time)

SetCreatedAt gets a reference to the given time.Time and assigns it to the CreatedAt field.

func (*BgpSession) SetDefaultRoute ¶

func (o *BgpSession) SetDefaultRoute(v bool)

SetDefaultRoute gets a reference to the given bool and assigns it to the DefaultRoute field.

func (*BgpSession) SetDevice ¶

func (o *BgpSession) SetDevice(v Href)

SetDevice gets a reference to the given Href and assigns it to the Device field.

func (*BgpSession) SetHref ¶

func (o *BgpSession) SetHref(v string)

SetHref gets a reference to the given string and assigns it to the Href field.

func (*BgpSession) SetId ¶

func (o *BgpSession) SetId(v string)

SetId gets a reference to the given string and assigns it to the Id field.

func (*BgpSession) SetLearnedRoutes ¶

func (o *BgpSession) SetLearnedRoutes(v []string)

SetLearnedRoutes gets a reference to the given []string and assigns it to the LearnedRoutes field.

func (*BgpSession) SetStatus ¶

func (o *BgpSession) SetStatus(v string)

SetStatus gets a reference to the given string and assigns it to the Status field.

func (*BgpSession) SetUpdatedAt ¶

func (o *BgpSession) SetUpdatedAt(v time.Time)

SetUpdatedAt gets a reference to the given time.Time and assigns it to the UpdatedAt field.

func (BgpSession) ToMap ¶ added in v0.4.0

func (o BgpSession) ToMap() (map[string]interface{}, error)

func (*BgpSession) UnmarshalJSON ¶ added in v0.7.0

func (o *BgpSession) UnmarshalJSON(bytes []byte) (err error)

type BgpSessionAddressFamily ¶ added in v0.22.0

type BgpSessionAddressFamily string

BgpSessionAddressFamily the model 'BgpSessionAddressFamily'

const (
	BGPSESSIONADDRESSFAMILY_IPV4 BgpSessionAddressFamily = "ipv4"
	BGPSESSIONADDRESSFAMILY_IPV6 BgpSessionAddressFamily = "ipv6"
)

List of BgpSession_address_family

func NewBgpSessionAddressFamilyFromValue ¶ added in v0.22.0

func NewBgpSessionAddressFamilyFromValue(v string) (*BgpSessionAddressFamily, error)

NewBgpSessionAddressFamilyFromValue returns a pointer to a valid BgpSessionAddressFamily for the value passed as argument, or an error if the value passed is not allowed by the enum

func (BgpSessionAddressFamily) IsValid ¶ added in v0.22.0

func (v BgpSessionAddressFamily) IsValid() bool

IsValid return true if the value is valid for the enum, false otherwise

func (BgpSessionAddressFamily) Ptr ¶ added in v0.22.0

Ptr returns reference to BgpSession_address_family value

func (*BgpSessionAddressFamily) UnmarshalJSON ¶ added in v0.22.0

func (v *BgpSessionAddressFamily) UnmarshalJSON(src []byte) error

type BgpSessionList ¶

type BgpSessionList struct {
	BgpSessions          []BgpSession `json:"bgp_sessions,omitempty"`
	AdditionalProperties map[string]interface{}
}

BgpSessionList struct for BgpSessionList

func NewBgpSessionList ¶

func NewBgpSessionList() *BgpSessionList

NewBgpSessionList instantiates a new BgpSessionList object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewBgpSessionListWithDefaults ¶

func NewBgpSessionListWithDefaults() *BgpSessionList

NewBgpSessionListWithDefaults instantiates a new BgpSessionList object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*BgpSessionList) GetBgpSessions ¶

func (o *BgpSessionList) GetBgpSessions() []BgpSession

GetBgpSessions returns the BgpSessions field value if set, zero value otherwise.

func (*BgpSessionList) GetBgpSessionsOk ¶

func (o *BgpSessionList) GetBgpSessionsOk() ([]BgpSession, bool)

GetBgpSessionsOk returns a tuple with the BgpSessions field value if set, nil otherwise and a boolean to check if the value has been set.

func (*BgpSessionList) HasBgpSessions ¶

func (o *BgpSessionList) HasBgpSessions() bool

HasBgpSessions returns a boolean if a field has been set.

func (BgpSessionList) MarshalJSON ¶

func (o BgpSessionList) MarshalJSON() ([]byte, error)

func (*BgpSessionList) SetBgpSessions ¶

func (o *BgpSessionList) SetBgpSessions(v []BgpSession)

SetBgpSessions gets a reference to the given []BgpSession and assigns it to the BgpSessions field.

func (BgpSessionList) ToMap ¶ added in v0.4.0

func (o BgpSessionList) ToMap() (map[string]interface{}, error)

func (*BgpSessionList) UnmarshalJSON ¶ added in v0.7.0

func (o *BgpSessionList) UnmarshalJSON(bytes []byte) (err error)

type BgpSessionNeighbors ¶

type BgpSessionNeighbors struct {
	// A list of BGP session neighbor data
	BgpNeighbors         []BgpNeighborData `json:"bgp_neighbors,omitempty"`
	AdditionalProperties map[string]interface{}
}

BgpSessionNeighbors struct for BgpSessionNeighbors

func NewBgpSessionNeighbors ¶

func NewBgpSessionNeighbors() *BgpSessionNeighbors

NewBgpSessionNeighbors instantiates a new BgpSessionNeighbors object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewBgpSessionNeighborsWithDefaults ¶

func NewBgpSessionNeighborsWithDefaults() *BgpSessionNeighbors

NewBgpSessionNeighborsWithDefaults instantiates a new BgpSessionNeighbors object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*BgpSessionNeighbors) GetBgpNeighbors ¶

func (o *BgpSessionNeighbors) GetBgpNeighbors() []BgpNeighborData

GetBgpNeighbors returns the BgpNeighbors field value if set, zero value otherwise.

func (*BgpSessionNeighbors) GetBgpNeighborsOk ¶

func (o *BgpSessionNeighbors) GetBgpNeighborsOk() ([]BgpNeighborData, bool)

GetBgpNeighborsOk returns a tuple with the BgpNeighbors field value if set, nil otherwise and a boolean to check if the value has been set.

func (*BgpSessionNeighbors) HasBgpNeighbors ¶

func (o *BgpSessionNeighbors) HasBgpNeighbors() bool

HasBgpNeighbors returns a boolean if a field has been set.

func (BgpSessionNeighbors) MarshalJSON ¶

func (o BgpSessionNeighbors) MarshalJSON() ([]byte, error)

func (*BgpSessionNeighbors) SetBgpNeighbors ¶

func (o *BgpSessionNeighbors) SetBgpNeighbors(v []BgpNeighborData)

SetBgpNeighbors gets a reference to the given []BgpNeighborData and assigns it to the BgpNeighbors field.

func (BgpSessionNeighbors) ToMap ¶ added in v0.4.0

func (o BgpSessionNeighbors) ToMap() (map[string]interface{}, error)

func (*BgpSessionNeighbors) UnmarshalJSON ¶ added in v0.7.0

func (o *BgpSessionNeighbors) UnmarshalJSON(bytes []byte) (err error)

type BondPortData ¶ added in v0.4.0

type BondPortData struct {
	// ID of the bonding port
	Id *string `json:"id,omitempty"`
	// Name of the port interface for the bond (\"bond0\")
	Name                 *string `json:"name,omitempty"`
	AdditionalProperties map[string]interface{}
}

BondPortData struct for BondPortData

func NewBondPortData ¶ added in v0.4.0

func NewBondPortData() *BondPortData

NewBondPortData instantiates a new BondPortData object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewBondPortDataWithDefaults ¶ added in v0.4.0

func NewBondPortDataWithDefaults() *BondPortData

NewBondPortDataWithDefaults instantiates a new BondPortData object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*BondPortData) GetId ¶ added in v0.4.0

func (o *BondPortData) GetId() string

GetId returns the Id field value if set, zero value otherwise.

func (*BondPortData) GetIdOk ¶ added in v0.4.0

func (o *BondPortData) GetIdOk() (*string, bool)

GetIdOk returns a tuple with the Id field value if set, nil otherwise and a boolean to check if the value has been set.

func (*BondPortData) GetName ¶ added in v0.4.0

func (o *BondPortData) GetName() string

GetName returns the Name field value if set, zero value otherwise.

func (*BondPortData) GetNameOk ¶ added in v0.4.0

func (o *BondPortData) GetNameOk() (*string, bool)

GetNameOk returns a tuple with the Name field value if set, nil otherwise and a boolean to check if the value has been set.

func (*BondPortData) HasId ¶ added in v0.4.0

func (o *BondPortData) HasId() bool

HasId returns a boolean if a field has been set.

func (*BondPortData) HasName ¶ added in v0.4.0

func (o *BondPortData) HasName() bool

HasName returns a boolean if a field has been set.

func (BondPortData) MarshalJSON ¶ added in v0.4.0

func (o BondPortData) MarshalJSON() ([]byte, error)

func (*BondPortData) SetId ¶ added in v0.4.0

func (o *BondPortData) SetId(v string)

SetId gets a reference to the given string and assigns it to the Id field.

func (*BondPortData) SetName ¶ added in v0.4.0

func (o *BondPortData) SetName(v string)

SetName gets a reference to the given string and assigns it to the Name field.

func (BondPortData) ToMap ¶ added in v0.4.0

func (o BondPortData) ToMap() (map[string]interface{}, error)

func (*BondPortData) UnmarshalJSON ¶ added in v0.7.0

func (o *BondPortData) UnmarshalJSON(bytes []byte) (err error)

type CapacityApiService ¶

type CapacityApiService service

CapacityApiService CapacityApi service

func (*CapacityApiService) CheckCapacityForFacility ¶

func (a *CapacityApiService) CheckCapacityForFacility(ctx context.Context) ApiCheckCapacityForFacilityRequest

CheckCapacityForFacility Check capacity

Validates if a deploy can be fulfilled.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@return ApiCheckCapacityForFacilityRequest

Deprecated

func (*CapacityApiService) CheckCapacityForFacilityExecute ¶

Execute executes the request

@return CapacityCheckPerFacilityList

Deprecated

func (*CapacityApiService) CheckCapacityForMetro ¶

func (a *CapacityApiService) CheckCapacityForMetro(ctx context.Context) ApiCheckCapacityForMetroRequest

CheckCapacityForMetro Check capacity for a metro

Validates if a deploy can be fulfilled in a metro.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@return ApiCheckCapacityForMetroRequest

func (*CapacityApiService) CheckCapacityForMetroExecute ¶

Execute executes the request

@return CapacityCheckPerMetroList

func (*CapacityApiService) FindCapacityForFacility ¶

func (a *CapacityApiService) FindCapacityForFacility(ctx context.Context) ApiFindCapacityForFacilityRequest

FindCapacityForFacility View capacity

Returns a list of facilities and plans with their current capacity.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@return ApiFindCapacityForFacilityRequest

func (*CapacityApiService) FindCapacityForFacilityExecute ¶

func (a *CapacityApiService) FindCapacityForFacilityExecute(r ApiFindCapacityForFacilityRequest) (*CapacityList, *http.Response, error)

Execute executes the request

@return CapacityList

func (*CapacityApiService) FindCapacityForMetro ¶

FindCapacityForMetro View capacity for metros

Returns a list of metros and plans with their current capacity.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@return ApiFindCapacityForMetroRequest

func (*CapacityApiService) FindCapacityForMetroExecute ¶

func (a *CapacityApiService) FindCapacityForMetroExecute(r ApiFindCapacityForMetroRequest) (*CapacityList, *http.Response, error)

Execute executes the request

@return CapacityList

func (*CapacityApiService) FindOrganizationCapacityPerFacility ¶

func (a *CapacityApiService) FindOrganizationCapacityPerFacility(ctx context.Context, id string) ApiFindOrganizationCapacityPerFacilityRequest

FindOrganizationCapacityPerFacility View available hardware plans per Facility for given organization

Returns a list of facilities and plans with their current capacity.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param id Organization UUID
@return ApiFindOrganizationCapacityPerFacilityRequest

func (*CapacityApiService) FindOrganizationCapacityPerFacilityExecute ¶

func (a *CapacityApiService) FindOrganizationCapacityPerFacilityExecute(r ApiFindOrganizationCapacityPerFacilityRequest) (*CapacityList, *http.Response, error)

Execute executes the request

@return CapacityList

func (*CapacityApiService) FindOrganizationCapacityPerMetro ¶

func (a *CapacityApiService) FindOrganizationCapacityPerMetro(ctx context.Context, id string) ApiFindOrganizationCapacityPerMetroRequest

FindOrganizationCapacityPerMetro View available hardware plans per Metro for given organization

Returns a list of metros and plans with their current capacity.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param id Organization UUID
@return ApiFindOrganizationCapacityPerMetroRequest

func (*CapacityApiService) FindOrganizationCapacityPerMetroExecute ¶

func (a *CapacityApiService) FindOrganizationCapacityPerMetroExecute(r ApiFindOrganizationCapacityPerMetroRequest) (*CapacityList, *http.Response, error)

Execute executes the request

@return CapacityList

type CapacityCheckPerFacilityInfo ¶

type CapacityCheckPerFacilityInfo struct {
	Available            *bool   `json:"available,omitempty"`
	Facility             *string `json:"facility,omitempty"`
	Plan                 *string `json:"plan,omitempty"`
	Quantity             *string `json:"quantity,omitempty"`
	AdditionalProperties map[string]interface{}
}

CapacityCheckPerFacilityInfo struct for CapacityCheckPerFacilityInfo

func NewCapacityCheckPerFacilityInfo ¶

func NewCapacityCheckPerFacilityInfo() *CapacityCheckPerFacilityInfo

NewCapacityCheckPerFacilityInfo instantiates a new CapacityCheckPerFacilityInfo object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewCapacityCheckPerFacilityInfoWithDefaults ¶

func NewCapacityCheckPerFacilityInfoWithDefaults() *CapacityCheckPerFacilityInfo

NewCapacityCheckPerFacilityInfoWithDefaults instantiates a new CapacityCheckPerFacilityInfo object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*CapacityCheckPerFacilityInfo) GetAvailable ¶

func (o *CapacityCheckPerFacilityInfo) GetAvailable() bool

GetAvailable returns the Available field value if set, zero value otherwise.

func (*CapacityCheckPerFacilityInfo) GetAvailableOk ¶

func (o *CapacityCheckPerFacilityInfo) GetAvailableOk() (*bool, bool)

GetAvailableOk returns a tuple with the Available field value if set, nil otherwise and a boolean to check if the value has been set.

func (*CapacityCheckPerFacilityInfo) GetFacility ¶

func (o *CapacityCheckPerFacilityInfo) GetFacility() string

GetFacility returns the Facility field value if set, zero value otherwise.

func (*CapacityCheckPerFacilityInfo) GetFacilityOk ¶

func (o *CapacityCheckPerFacilityInfo) GetFacilityOk() (*string, bool)

GetFacilityOk returns a tuple with the Facility field value if set, nil otherwise and a boolean to check if the value has been set.

func (*CapacityCheckPerFacilityInfo) GetPlan ¶

func (o *CapacityCheckPerFacilityInfo) GetPlan() string

GetPlan returns the Plan field value if set, zero value otherwise.

func (*CapacityCheckPerFacilityInfo) GetPlanOk ¶

func (o *CapacityCheckPerFacilityInfo) GetPlanOk() (*string, bool)

GetPlanOk returns a tuple with the Plan field value if set, nil otherwise and a boolean to check if the value has been set.

func (*CapacityCheckPerFacilityInfo) GetQuantity ¶

func (o *CapacityCheckPerFacilityInfo) GetQuantity() string

GetQuantity returns the Quantity field value if set, zero value otherwise.

func (*CapacityCheckPerFacilityInfo) GetQuantityOk ¶

func (o *CapacityCheckPerFacilityInfo) GetQuantityOk() (*string, bool)

GetQuantityOk returns a tuple with the Quantity field value if set, nil otherwise and a boolean to check if the value has been set.

func (*CapacityCheckPerFacilityInfo) HasAvailable ¶

func (o *CapacityCheckPerFacilityInfo) HasAvailable() bool

HasAvailable returns a boolean if a field has been set.

func (*CapacityCheckPerFacilityInfo) HasFacility ¶

func (o *CapacityCheckPerFacilityInfo) HasFacility() bool

HasFacility returns a boolean if a field has been set.

func (*CapacityCheckPerFacilityInfo) HasPlan ¶

func (o *CapacityCheckPerFacilityInfo) HasPlan() bool

HasPlan returns a boolean if a field has been set.

func (*CapacityCheckPerFacilityInfo) HasQuantity ¶

func (o *CapacityCheckPerFacilityInfo) HasQuantity() bool

HasQuantity returns a boolean if a field has been set.

func (CapacityCheckPerFacilityInfo) MarshalJSON ¶

func (o CapacityCheckPerFacilityInfo) MarshalJSON() ([]byte, error)

func (*CapacityCheckPerFacilityInfo) SetAvailable ¶

func (o *CapacityCheckPerFacilityInfo) SetAvailable(v bool)

SetAvailable gets a reference to the given bool and assigns it to the Available field.

func (*CapacityCheckPerFacilityInfo) SetFacility ¶

func (o *CapacityCheckPerFacilityInfo) SetFacility(v string)

SetFacility gets a reference to the given string and assigns it to the Facility field.

func (*CapacityCheckPerFacilityInfo) SetPlan ¶

func (o *CapacityCheckPerFacilityInfo) SetPlan(v string)

SetPlan gets a reference to the given string and assigns it to the Plan field.

func (*CapacityCheckPerFacilityInfo) SetQuantity ¶

func (o *CapacityCheckPerFacilityInfo) SetQuantity(v string)

SetQuantity gets a reference to the given string and assigns it to the Quantity field.

func (CapacityCheckPerFacilityInfo) ToMap ¶ added in v0.4.0

func (o CapacityCheckPerFacilityInfo) ToMap() (map[string]interface{}, error)

func (*CapacityCheckPerFacilityInfo) UnmarshalJSON ¶ added in v0.7.0

func (o *CapacityCheckPerFacilityInfo) UnmarshalJSON(bytes []byte) (err error)

type CapacityCheckPerFacilityList ¶

type CapacityCheckPerFacilityList struct {
	Servers              []CapacityCheckPerFacilityInfo `json:"servers,omitempty"`
	AdditionalProperties map[string]interface{}
}

CapacityCheckPerFacilityList struct for CapacityCheckPerFacilityList

func NewCapacityCheckPerFacilityList ¶

func NewCapacityCheckPerFacilityList() *CapacityCheckPerFacilityList

NewCapacityCheckPerFacilityList instantiates a new CapacityCheckPerFacilityList object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewCapacityCheckPerFacilityListWithDefaults ¶

func NewCapacityCheckPerFacilityListWithDefaults() *CapacityCheckPerFacilityList

NewCapacityCheckPerFacilityListWithDefaults instantiates a new CapacityCheckPerFacilityList object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*CapacityCheckPerFacilityList) GetServers ¶

GetServers returns the Servers field value if set, zero value otherwise.

func (*CapacityCheckPerFacilityList) GetServersOk ¶

GetServersOk returns a tuple with the Servers field value if set, nil otherwise and a boolean to check if the value has been set.

func (*CapacityCheckPerFacilityList) HasServers ¶

func (o *CapacityCheckPerFacilityList) HasServers() bool

HasServers returns a boolean if a field has been set.

func (CapacityCheckPerFacilityList) MarshalJSON ¶

func (o CapacityCheckPerFacilityList) MarshalJSON() ([]byte, error)

func (*CapacityCheckPerFacilityList) SetServers ¶

SetServers gets a reference to the given []CapacityCheckPerFacilityInfo and assigns it to the Servers field.

func (CapacityCheckPerFacilityList) ToMap ¶ added in v0.4.0

func (o CapacityCheckPerFacilityList) ToMap() (map[string]interface{}, error)

func (*CapacityCheckPerFacilityList) UnmarshalJSON ¶ added in v0.7.0

func (o *CapacityCheckPerFacilityList) UnmarshalJSON(bytes []byte) (err error)

type CapacityCheckPerMetroInfo ¶

type CapacityCheckPerMetroInfo struct {
	// Returns true if there is enough capacity in the metro to fulfill the quantity set. Returns false if there is not enough.
	Available *bool `json:"available,omitempty"`
	// The metro ID or code sent to check capacity.
	Metro *string `json:"metro,omitempty"`
	// The plan ID or slug sent to check capacity.
	Plan *string `json:"plan,omitempty"`
	// The number of servers sent to check capacity.
	Quantity             *string `json:"quantity,omitempty"`
	AdditionalProperties map[string]interface{}
}

CapacityCheckPerMetroInfo struct for CapacityCheckPerMetroInfo

func NewCapacityCheckPerMetroInfo ¶

func NewCapacityCheckPerMetroInfo() *CapacityCheckPerMetroInfo

NewCapacityCheckPerMetroInfo instantiates a new CapacityCheckPerMetroInfo object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewCapacityCheckPerMetroInfoWithDefaults ¶

func NewCapacityCheckPerMetroInfoWithDefaults() *CapacityCheckPerMetroInfo

NewCapacityCheckPerMetroInfoWithDefaults instantiates a new CapacityCheckPerMetroInfo object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*CapacityCheckPerMetroInfo) GetAvailable ¶

func (o *CapacityCheckPerMetroInfo) GetAvailable() bool

GetAvailable returns the Available field value if set, zero value otherwise.

func (*CapacityCheckPerMetroInfo) GetAvailableOk ¶

func (o *CapacityCheckPerMetroInfo) GetAvailableOk() (*bool, bool)

GetAvailableOk returns a tuple with the Available field value if set, nil otherwise and a boolean to check if the value has been set.

func (*CapacityCheckPerMetroInfo) GetMetro ¶

func (o *CapacityCheckPerMetroInfo) GetMetro() string

GetMetro returns the Metro field value if set, zero value otherwise.

func (*CapacityCheckPerMetroInfo) GetMetroOk ¶

func (o *CapacityCheckPerMetroInfo) GetMetroOk() (*string, bool)

GetMetroOk returns a tuple with the Metro field value if set, nil otherwise and a boolean to check if the value has been set.

func (*CapacityCheckPerMetroInfo) GetPlan ¶

func (o *CapacityCheckPerMetroInfo) GetPlan() string

GetPlan returns the Plan field value if set, zero value otherwise.

func (*CapacityCheckPerMetroInfo) GetPlanOk ¶

func (o *CapacityCheckPerMetroInfo) GetPlanOk() (*string, bool)

GetPlanOk returns a tuple with the Plan field value if set, nil otherwise and a boolean to check if the value has been set.

func (*CapacityCheckPerMetroInfo) GetQuantity ¶

func (o *CapacityCheckPerMetroInfo) GetQuantity() string

GetQuantity returns the Quantity field value if set, zero value otherwise.

func (*CapacityCheckPerMetroInfo) GetQuantityOk ¶

func (o *CapacityCheckPerMetroInfo) GetQuantityOk() (*string, bool)

GetQuantityOk returns a tuple with the Quantity field value if set, nil otherwise and a boolean to check if the value has been set.

func (*CapacityCheckPerMetroInfo) HasAvailable ¶

func (o *CapacityCheckPerMetroInfo) HasAvailable() bool

HasAvailable returns a boolean if a field has been set.

func (*CapacityCheckPerMetroInfo) HasMetro ¶

func (o *CapacityCheckPerMetroInfo) HasMetro() bool

HasMetro returns a boolean if a field has been set.

func (*CapacityCheckPerMetroInfo) HasPlan ¶

func (o *CapacityCheckPerMetroInfo) HasPlan() bool

HasPlan returns a boolean if a field has been set.

func (*CapacityCheckPerMetroInfo) HasQuantity ¶

func (o *CapacityCheckPerMetroInfo) HasQuantity() bool

HasQuantity returns a boolean if a field has been set.

func (CapacityCheckPerMetroInfo) MarshalJSON ¶

func (o CapacityCheckPerMetroInfo) MarshalJSON() ([]byte, error)

func (*CapacityCheckPerMetroInfo) SetAvailable ¶

func (o *CapacityCheckPerMetroInfo) SetAvailable(v bool)

SetAvailable gets a reference to the given bool and assigns it to the Available field.

func (*CapacityCheckPerMetroInfo) SetMetro ¶

func (o *CapacityCheckPerMetroInfo) SetMetro(v string)

SetMetro gets a reference to the given string and assigns it to the Metro field.

func (*CapacityCheckPerMetroInfo) SetPlan ¶

func (o *CapacityCheckPerMetroInfo) SetPlan(v string)

SetPlan gets a reference to the given string and assigns it to the Plan field.

func (*CapacityCheckPerMetroInfo) SetQuantity ¶

func (o *CapacityCheckPerMetroInfo) SetQuantity(v string)

SetQuantity gets a reference to the given string and assigns it to the Quantity field.

func (CapacityCheckPerMetroInfo) ToMap ¶ added in v0.4.0

func (o CapacityCheckPerMetroInfo) ToMap() (map[string]interface{}, error)

func (*CapacityCheckPerMetroInfo) UnmarshalJSON ¶ added in v0.7.0

func (o *CapacityCheckPerMetroInfo) UnmarshalJSON(bytes []byte) (err error)

type CapacityCheckPerMetroList ¶

type CapacityCheckPerMetroList struct {
	Servers              []CapacityCheckPerMetroInfo `json:"servers,omitempty"`
	AdditionalProperties map[string]interface{}
}

CapacityCheckPerMetroList struct for CapacityCheckPerMetroList

func NewCapacityCheckPerMetroList ¶

func NewCapacityCheckPerMetroList() *CapacityCheckPerMetroList

NewCapacityCheckPerMetroList instantiates a new CapacityCheckPerMetroList object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewCapacityCheckPerMetroListWithDefaults ¶

func NewCapacityCheckPerMetroListWithDefaults() *CapacityCheckPerMetroList

NewCapacityCheckPerMetroListWithDefaults instantiates a new CapacityCheckPerMetroList object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*CapacityCheckPerMetroList) GetServers ¶

GetServers returns the Servers field value if set, zero value otherwise.

func (*CapacityCheckPerMetroList) GetServersOk ¶

GetServersOk returns a tuple with the Servers field value if set, nil otherwise and a boolean to check if the value has been set.

func (*CapacityCheckPerMetroList) HasServers ¶

func (o *CapacityCheckPerMetroList) HasServers() bool

HasServers returns a boolean if a field has been set.

func (CapacityCheckPerMetroList) MarshalJSON ¶

func (o CapacityCheckPerMetroList) MarshalJSON() ([]byte, error)

func (*CapacityCheckPerMetroList) SetServers ¶

SetServers gets a reference to the given []CapacityCheckPerMetroInfo and assigns it to the Servers field.

func (CapacityCheckPerMetroList) ToMap ¶ added in v0.4.0

func (o CapacityCheckPerMetroList) ToMap() (map[string]interface{}, error)

func (*CapacityCheckPerMetroList) UnmarshalJSON ¶ added in v0.7.0

func (o *CapacityCheckPerMetroList) UnmarshalJSON(bytes []byte) (err error)

type CapacityInput ¶

type CapacityInput struct {
	Servers              []ServerInfo `json:"servers,omitempty"`
	AdditionalProperties map[string]interface{}
}

CapacityInput struct for CapacityInput

func NewCapacityInput ¶

func NewCapacityInput() *CapacityInput

NewCapacityInput instantiates a new CapacityInput object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewCapacityInputWithDefaults ¶

func NewCapacityInputWithDefaults() *CapacityInput

NewCapacityInputWithDefaults instantiates a new CapacityInput object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*CapacityInput) GetServers ¶

func (o *CapacityInput) GetServers() []ServerInfo

GetServers returns the Servers field value if set, zero value otherwise.

func (*CapacityInput) GetServersOk ¶

func (o *CapacityInput) GetServersOk() ([]ServerInfo, bool)

GetServersOk returns a tuple with the Servers field value if set, nil otherwise and a boolean to check if the value has been set.

func (*CapacityInput) HasServers ¶

func (o *CapacityInput) HasServers() bool

HasServers returns a boolean if a field has been set.

func (CapacityInput) MarshalJSON ¶

func (o CapacityInput) MarshalJSON() ([]byte, error)

func (*CapacityInput) SetServers ¶

func (o *CapacityInput) SetServers(v []ServerInfo)

SetServers gets a reference to the given []ServerInfo and assigns it to the Servers field.

func (CapacityInput) ToMap ¶ added in v0.4.0

func (o CapacityInput) ToMap() (map[string]interface{}, error)

func (*CapacityInput) UnmarshalJSON ¶ added in v0.7.0

func (o *CapacityInput) UnmarshalJSON(bytes []byte) (err error)

type CapacityLevelPerBaremetal ¶

type CapacityLevelPerBaremetal struct {
	Level                *string `json:"level,omitempty"`
	AdditionalProperties map[string]interface{}
}

CapacityLevelPerBaremetal struct for CapacityLevelPerBaremetal

func NewCapacityLevelPerBaremetal ¶

func NewCapacityLevelPerBaremetal() *CapacityLevelPerBaremetal

NewCapacityLevelPerBaremetal instantiates a new CapacityLevelPerBaremetal object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewCapacityLevelPerBaremetalWithDefaults ¶

func NewCapacityLevelPerBaremetalWithDefaults() *CapacityLevelPerBaremetal

NewCapacityLevelPerBaremetalWithDefaults instantiates a new CapacityLevelPerBaremetal object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*CapacityLevelPerBaremetal) GetLevel ¶

func (o *CapacityLevelPerBaremetal) GetLevel() string

GetLevel returns the Level field value if set, zero value otherwise.

func (*CapacityLevelPerBaremetal) GetLevelOk ¶

func (o *CapacityLevelPerBaremetal) GetLevelOk() (*string, bool)

GetLevelOk returns a tuple with the Level field value if set, nil otherwise and a boolean to check if the value has been set.

func (*CapacityLevelPerBaremetal) HasLevel ¶

func (o *CapacityLevelPerBaremetal) HasLevel() bool

HasLevel returns a boolean if a field has been set.

func (CapacityLevelPerBaremetal) MarshalJSON ¶

func (o CapacityLevelPerBaremetal) MarshalJSON() ([]byte, error)

func (*CapacityLevelPerBaremetal) SetLevel ¶

func (o *CapacityLevelPerBaremetal) SetLevel(v string)

SetLevel gets a reference to the given string and assigns it to the Level field.

func (CapacityLevelPerBaremetal) ToMap ¶ added in v0.4.0

func (o CapacityLevelPerBaremetal) ToMap() (map[string]interface{}, error)

func (*CapacityLevelPerBaremetal) UnmarshalJSON ¶ added in v0.7.0

func (o *CapacityLevelPerBaremetal) UnmarshalJSON(bytes []byte) (err error)

type CapacityList ¶

type CapacityList struct {
	Capacity             *map[string]map[string]CapacityLevelPerBaremetal `json:"capacity,omitempty"`
	AdditionalProperties map[string]interface{}
}

CapacityList struct for CapacityList

func NewCapacityList ¶

func NewCapacityList() *CapacityList

NewCapacityList instantiates a new CapacityList object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewCapacityListWithDefaults ¶

func NewCapacityListWithDefaults() *CapacityList

NewCapacityListWithDefaults instantiates a new CapacityList object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*CapacityList) GetCapacity ¶

func (o *CapacityList) GetCapacity() map[string]map[string]CapacityLevelPerBaremetal

GetCapacity returns the Capacity field value if set, zero value otherwise.

func (*CapacityList) GetCapacityOk ¶

func (o *CapacityList) GetCapacityOk() (*map[string]map[string]CapacityLevelPerBaremetal, bool)

GetCapacityOk returns a tuple with the Capacity field value if set, nil otherwise and a boolean to check if the value has been set.

func (*CapacityList) HasCapacity ¶

func (o *CapacityList) HasCapacity() bool

HasCapacity returns a boolean if a field has been set.

func (CapacityList) MarshalJSON ¶

func (o CapacityList) MarshalJSON() ([]byte, error)

func (*CapacityList) SetCapacity ¶

func (o *CapacityList) SetCapacity(v map[string]map[string]CapacityLevelPerBaremetal)

SetCapacity gets a reference to the given map[string]map[string]CapacityLevelPerBaremetal and assigns it to the Capacity field.

func (CapacityList) ToMap ¶ added in v0.4.0

func (o CapacityList) ToMap() (map[string]interface{}, error)

func (*CapacityList) UnmarshalJSON ¶ added in v0.7.0

func (o *CapacityList) UnmarshalJSON(bytes []byte) (err error)

type Component ¶ added in v0.21.0

type Component struct {
	// Component UUID
	Uuid *string `json:"uuid,omitempty"`
	// Component vendor
	Vendor *string `json:"vendor,omitempty"`
	// List of models where this component version can be applied
	Model []string `json:"model,omitempty"`
	// name of the file
	Filename *string `json:"filename,omitempty"`
	// Version of the component
	Version *string `json:"version,omitempty"`
	// Component type
	Component *string `json:"component,omitempty"`
	// File checksum
	Checksum *string `json:"checksum,omitempty"`
	// Location of the file
	UpstreamUrl *string `json:"upstream_url,omitempty"`
	// Location of the file in the repository
	RepositoryUrl *string `json:"repository_url,omitempty"`
	// Datetime when the block was created.
	CreatedAt *time.Time `json:"created_at,omitempty"`
	// Datetime when the block was updated.
	UpdatedAt            *time.Time `json:"updated_at,omitempty"`
	AdditionalProperties map[string]interface{}
}

Component struct for Component

func NewComponent ¶ added in v0.21.0

func NewComponent() *Component

NewComponent instantiates a new Component object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewComponentWithDefaults ¶ added in v0.21.0

func NewComponentWithDefaults() *Component

NewComponentWithDefaults instantiates a new Component object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*Component) GetChecksum ¶ added in v0.21.0

func (o *Component) GetChecksum() string

GetChecksum returns the Checksum field value if set, zero value otherwise.

func (*Component) GetChecksumOk ¶ added in v0.21.0

func (o *Component) GetChecksumOk() (*string, bool)

GetChecksumOk returns a tuple with the Checksum field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Component) GetComponent ¶ added in v0.21.0

func (o *Component) GetComponent() string

GetComponent returns the Component field value if set, zero value otherwise.

func (*Component) GetComponentOk ¶ added in v0.21.0

func (o *Component) GetComponentOk() (*string, bool)

GetComponentOk returns a tuple with the Component field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Component) GetCreatedAt ¶ added in v0.21.0

func (o *Component) GetCreatedAt() time.Time

GetCreatedAt returns the CreatedAt field value if set, zero value otherwise.

func (*Component) GetCreatedAtOk ¶ added in v0.21.0

func (o *Component) GetCreatedAtOk() (*time.Time, bool)

GetCreatedAtOk returns a tuple with the CreatedAt field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Component) GetFilename ¶ added in v0.21.0

func (o *Component) GetFilename() string

GetFilename returns the Filename field value if set, zero value otherwise.

func (*Component) GetFilenameOk ¶ added in v0.21.0

func (o *Component) GetFilenameOk() (*string, bool)

GetFilenameOk returns a tuple with the Filename field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Component) GetModel ¶ added in v0.21.0

func (o *Component) GetModel() []string

GetModel returns the Model field value if set, zero value otherwise.

func (*Component) GetModelOk ¶ added in v0.21.0

func (o *Component) GetModelOk() ([]string, bool)

GetModelOk returns a tuple with the Model field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Component) GetRepositoryUrl ¶ added in v0.21.0

func (o *Component) GetRepositoryUrl() string

GetRepositoryUrl returns the RepositoryUrl field value if set, zero value otherwise.

func (*Component) GetRepositoryUrlOk ¶ added in v0.21.0

func (o *Component) GetRepositoryUrlOk() (*string, bool)

GetRepositoryUrlOk returns a tuple with the RepositoryUrl field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Component) GetUpdatedAt ¶ added in v0.21.0

func (o *Component) GetUpdatedAt() time.Time

GetUpdatedAt returns the UpdatedAt field value if set, zero value otherwise.

func (*Component) GetUpdatedAtOk ¶ added in v0.21.0

func (o *Component) GetUpdatedAtOk() (*time.Time, bool)

GetUpdatedAtOk returns a tuple with the UpdatedAt field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Component) GetUpstreamUrl ¶ added in v0.21.0

func (o *Component) GetUpstreamUrl() string

GetUpstreamUrl returns the UpstreamUrl field value if set, zero value otherwise.

func (*Component) GetUpstreamUrlOk ¶ added in v0.21.0

func (o *Component) GetUpstreamUrlOk() (*string, bool)

GetUpstreamUrlOk returns a tuple with the UpstreamUrl field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Component) GetUuid ¶ added in v0.21.0

func (o *Component) GetUuid() string

GetUuid returns the Uuid field value if set, zero value otherwise.

func (*Component) GetUuidOk ¶ added in v0.21.0

func (o *Component) GetUuidOk() (*string, bool)

GetUuidOk returns a tuple with the Uuid field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Component) GetVendor ¶ added in v0.21.0

func (o *Component) GetVendor() string

GetVendor returns the Vendor field value if set, zero value otherwise.

func (*Component) GetVendorOk ¶ added in v0.21.0

func (o *Component) GetVendorOk() (*string, bool)

GetVendorOk returns a tuple with the Vendor field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Component) GetVersion ¶ added in v0.21.0

func (o *Component) GetVersion() string

GetVersion returns the Version field value if set, zero value otherwise.

func (*Component) GetVersionOk ¶ added in v0.21.0

func (o *Component) GetVersionOk() (*string, bool)

GetVersionOk returns a tuple with the Version field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Component) HasChecksum ¶ added in v0.21.0

func (o *Component) HasChecksum() bool

HasChecksum returns a boolean if a field has been set.

func (*Component) HasComponent ¶ added in v0.21.0

func (o *Component) HasComponent() bool

HasComponent returns a boolean if a field has been set.

func (*Component) HasCreatedAt ¶ added in v0.21.0

func (o *Component) HasCreatedAt() bool

HasCreatedAt returns a boolean if a field has been set.

func (*Component) HasFilename ¶ added in v0.21.0

func (o *Component) HasFilename() bool

HasFilename returns a boolean if a field has been set.

func (*Component) HasModel ¶ added in v0.21.0

func (o *Component) HasModel() bool

HasModel returns a boolean if a field has been set.

func (*Component) HasRepositoryUrl ¶ added in v0.21.0

func (o *Component) HasRepositoryUrl() bool

HasRepositoryUrl returns a boolean if a field has been set.

func (*Component) HasUpdatedAt ¶ added in v0.21.0

func (o *Component) HasUpdatedAt() bool

HasUpdatedAt returns a boolean if a field has been set.

func (*Component) HasUpstreamUrl ¶ added in v0.21.0

func (o *Component) HasUpstreamUrl() bool

HasUpstreamUrl returns a boolean if a field has been set.

func (*Component) HasUuid ¶ added in v0.21.0

func (o *Component) HasUuid() bool

HasUuid returns a boolean if a field has been set.

func (*Component) HasVendor ¶ added in v0.21.0

func (o *Component) HasVendor() bool

HasVendor returns a boolean if a field has been set.

func (*Component) HasVersion ¶ added in v0.21.0

func (o *Component) HasVersion() bool

HasVersion returns a boolean if a field has been set.

func (Component) MarshalJSON ¶ added in v0.21.0

func (o Component) MarshalJSON() ([]byte, error)

func (*Component) SetChecksum ¶ added in v0.21.0

func (o *Component) SetChecksum(v string)

SetChecksum gets a reference to the given string and assigns it to the Checksum field.

func (*Component) SetComponent ¶ added in v0.21.0

func (o *Component) SetComponent(v string)

SetComponent gets a reference to the given string and assigns it to the Component field.

func (*Component) SetCreatedAt ¶ added in v0.21.0

func (o *Component) SetCreatedAt(v time.Time)

SetCreatedAt gets a reference to the given time.Time and assigns it to the CreatedAt field.

func (*Component) SetFilename ¶ added in v0.21.0

func (o *Component) SetFilename(v string)

SetFilename gets a reference to the given string and assigns it to the Filename field.

func (*Component) SetModel ¶ added in v0.21.0

func (o *Component) SetModel(v []string)

SetModel gets a reference to the given []string and assigns it to the Model field.

func (*Component) SetRepositoryUrl ¶ added in v0.21.0

func (o *Component) SetRepositoryUrl(v string)

SetRepositoryUrl gets a reference to the given string and assigns it to the RepositoryUrl field.

func (*Component) SetUpdatedAt ¶ added in v0.21.0

func (o *Component) SetUpdatedAt(v time.Time)

SetUpdatedAt gets a reference to the given time.Time and assigns it to the UpdatedAt field.

func (*Component) SetUpstreamUrl ¶ added in v0.21.0

func (o *Component) SetUpstreamUrl(v string)

SetUpstreamUrl gets a reference to the given string and assigns it to the UpstreamUrl field.

func (*Component) SetUuid ¶ added in v0.21.0

func (o *Component) SetUuid(v string)

SetUuid gets a reference to the given string and assigns it to the Uuid field.

func (*Component) SetVendor ¶ added in v0.21.0

func (o *Component) SetVendor(v string)

SetVendor gets a reference to the given string and assigns it to the Vendor field.

func (*Component) SetVersion ¶ added in v0.21.0

func (o *Component) SetVersion(v string)

SetVersion gets a reference to the given string and assigns it to the Version field.

func (Component) ToMap ¶ added in v0.21.0

func (o Component) ToMap() (map[string]interface{}, error)

func (*Component) UnmarshalJSON ¶ added in v0.21.0

func (o *Component) UnmarshalJSON(bytes []byte) (err error)

type Configuration ¶

type Configuration struct {
	Host             string            `json:"host,omitempty"`
	Scheme           string            `json:"scheme,omitempty"`
	DefaultHeader    map[string]string `json:"defaultHeader,omitempty"`
	UserAgent        string            `json:"userAgent,omitempty"`
	Debug            bool              `json:"debug,omitempty"`
	Servers          ServerConfigurations
	OperationServers map[string]ServerConfigurations
	HTTPClient       *http.Client
}

Configuration stores the configuration of the API client

func NewConfiguration ¶

func NewConfiguration() *Configuration

NewConfiguration returns a new Configuration object

func (*Configuration) AddDefaultHeader ¶

func (c *Configuration) AddDefaultHeader(key string, value string)

AddDefaultHeader adds a new HTTP header to the default header in the request

func (*Configuration) ServerURL ¶

func (c *Configuration) ServerURL(index int, variables map[string]string) (string, error)

ServerURL returns URL based on server settings

func (*Configuration) ServerURLWithContext ¶

func (c *Configuration) ServerURLWithContext(ctx context.Context, endpoint string) (string, error)

ServerURLWithContext returns a new server URL given an endpoint

type ConsoleLogDetailsApiService ¶ added in v0.24.0

type ConsoleLogDetailsApiService service

ConsoleLogDetailsApiService ConsoleLogDetailsApi service

func (*ConsoleLogDetailsApiService) CaptureScreenshot ¶ added in v0.24.0

CaptureScreenshot Method for CaptureScreenshot

Capture a screenshot from the device, if supported, via the BMC.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param id Device UUID
@return ApiCaptureScreenshotRequest

func (*ConsoleLogDetailsApiService) CaptureScreenshotExecute ¶ added in v0.24.0

func (a *ConsoleLogDetailsApiService) CaptureScreenshotExecute(r ApiCaptureScreenshotRequest) (*os.File, *http.Response, error)

Execute executes the request

@return *os.File

type Coordinates ¶

type Coordinates struct {
	Latitude             *string `json:"latitude,omitempty"`
	Longitude            *string `json:"longitude,omitempty"`
	AdditionalProperties map[string]interface{}
}

Coordinates struct for Coordinates

func NewCoordinates ¶

func NewCoordinates() *Coordinates

NewCoordinates instantiates a new Coordinates object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewCoordinatesWithDefaults ¶

func NewCoordinatesWithDefaults() *Coordinates

NewCoordinatesWithDefaults instantiates a new Coordinates object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*Coordinates) GetLatitude ¶

func (o *Coordinates) GetLatitude() string

GetLatitude returns the Latitude field value if set, zero value otherwise.

func (*Coordinates) GetLatitudeOk ¶

func (o *Coordinates) GetLatitudeOk() (*string, bool)

GetLatitudeOk returns a tuple with the Latitude field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Coordinates) GetLongitude ¶

func (o *Coordinates) GetLongitude() string

GetLongitude returns the Longitude field value if set, zero value otherwise.

func (*Coordinates) GetLongitudeOk ¶

func (o *Coordinates) GetLongitudeOk() (*string, bool)

GetLongitudeOk returns a tuple with the Longitude field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Coordinates) HasLatitude ¶

func (o *Coordinates) HasLatitude() bool

HasLatitude returns a boolean if a field has been set.

func (*Coordinates) HasLongitude ¶

func (o *Coordinates) HasLongitude() bool

HasLongitude returns a boolean if a field has been set.

func (Coordinates) MarshalJSON ¶

func (o Coordinates) MarshalJSON() ([]byte, error)

func (*Coordinates) SetLatitude ¶

func (o *Coordinates) SetLatitude(v string)

SetLatitude gets a reference to the given string and assigns it to the Latitude field.

func (*Coordinates) SetLongitude ¶

func (o *Coordinates) SetLongitude(v string)

SetLongitude gets a reference to the given string and assigns it to the Longitude field.

func (Coordinates) ToMap ¶ added in v0.4.0

func (o Coordinates) ToMap() (map[string]interface{}, error)

func (*Coordinates) UnmarshalJSON ¶ added in v0.7.0

func (o *Coordinates) UnmarshalJSON(bytes []byte) (err error)

type CreateDeviceRequest ¶

type CreateDeviceRequest struct {
	DeviceCreateInFacilityInput *DeviceCreateInFacilityInput
	DeviceCreateInMetroInput    *DeviceCreateInMetroInput
}

CreateDeviceRequest - struct for CreateDeviceRequest

func DeviceCreateInFacilityInputAsCreateDeviceRequest ¶ added in v0.4.0

func DeviceCreateInFacilityInputAsCreateDeviceRequest(v *DeviceCreateInFacilityInput) CreateDeviceRequest

DeviceCreateInFacilityInputAsCreateDeviceRequest is a convenience function that returns DeviceCreateInFacilityInput wrapped in CreateDeviceRequest

func DeviceCreateInMetroInputAsCreateDeviceRequest ¶ added in v0.4.0

func DeviceCreateInMetroInputAsCreateDeviceRequest(v *DeviceCreateInMetroInput) CreateDeviceRequest

DeviceCreateInMetroInputAsCreateDeviceRequest is a convenience function that returns DeviceCreateInMetroInput wrapped in CreateDeviceRequest

func (*CreateDeviceRequest) GetActualInstance ¶ added in v0.3.0

func (obj *CreateDeviceRequest) GetActualInstance() interface{}

Get the actual instance

func (CreateDeviceRequest) MarshalJSON ¶

func (src CreateDeviceRequest) MarshalJSON() ([]byte, error)

Marshal data from the first non-nil pointers in the struct to JSON

func (*CreateDeviceRequest) UnmarshalJSON ¶ added in v0.3.0

func (dst *CreateDeviceRequest) UnmarshalJSON(data []byte) error

Unmarshal JSON data into one of the pointers in the struct

type CreateEmailInput ¶

type CreateEmailInput struct {
	Address              string `json:"address"`
	AdditionalProperties map[string]interface{}
}

CreateEmailInput struct for CreateEmailInput

func NewCreateEmailInput ¶

func NewCreateEmailInput(address string) *CreateEmailInput

NewCreateEmailInput instantiates a new CreateEmailInput object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewCreateEmailInputWithDefaults ¶

func NewCreateEmailInputWithDefaults() *CreateEmailInput

NewCreateEmailInputWithDefaults instantiates a new CreateEmailInput object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*CreateEmailInput) GetAddress ¶

func (o *CreateEmailInput) GetAddress() string

GetAddress returns the Address field value

func (*CreateEmailInput) GetAddressOk ¶

func (o *CreateEmailInput) GetAddressOk() (*string, bool)

GetAddressOk returns a tuple with the Address field value and a boolean to check if the value has been set.

func (CreateEmailInput) MarshalJSON ¶

func (o CreateEmailInput) MarshalJSON() ([]byte, error)

func (*CreateEmailInput) SetAddress ¶

func (o *CreateEmailInput) SetAddress(v string)

SetAddress sets field value

func (CreateEmailInput) ToMap ¶ added in v0.4.0

func (o CreateEmailInput) ToMap() (map[string]interface{}, error)

func (*CreateEmailInput) UnmarshalJSON ¶ added in v0.7.0

func (o *CreateEmailInput) UnmarshalJSON(bytes []byte) (err error)

type CreateMetalGatewayRequest ¶ added in v0.3.0

type CreateMetalGatewayRequest struct {
	MetalGatewayCreateInput    *MetalGatewayCreateInput
	VrfMetalGatewayCreateInput *VrfMetalGatewayCreateInput
}

CreateMetalGatewayRequest - struct for CreateMetalGatewayRequest

func MetalGatewayCreateInputAsCreateMetalGatewayRequest ¶ added in v0.4.0

func MetalGatewayCreateInputAsCreateMetalGatewayRequest(v *MetalGatewayCreateInput) CreateMetalGatewayRequest

MetalGatewayCreateInputAsCreateMetalGatewayRequest is a convenience function that returns MetalGatewayCreateInput wrapped in CreateMetalGatewayRequest

func VrfMetalGatewayCreateInputAsCreateMetalGatewayRequest ¶ added in v0.4.0

func VrfMetalGatewayCreateInputAsCreateMetalGatewayRequest(v *VrfMetalGatewayCreateInput) CreateMetalGatewayRequest

VrfMetalGatewayCreateInputAsCreateMetalGatewayRequest is a convenience function that returns VrfMetalGatewayCreateInput wrapped in CreateMetalGatewayRequest

func (*CreateMetalGatewayRequest) GetActualInstance ¶ added in v0.3.0

func (obj *CreateMetalGatewayRequest) GetActualInstance() interface{}

Get the actual instance

func (CreateMetalGatewayRequest) MarshalJSON ¶ added in v0.3.0

func (src CreateMetalGatewayRequest) MarshalJSON() ([]byte, error)

Marshal data from the first non-nil pointers in the struct to JSON

func (*CreateMetalGatewayRequest) UnmarshalJSON ¶ added in v0.3.0

func (dst *CreateMetalGatewayRequest) UnmarshalJSON(data []byte) error

Unmarshal JSON data into one of the pointers in the struct

type CreateOrganizationInterconnectionRequest ¶

type CreateOrganizationInterconnectionRequest struct {
	DedicatedPortCreateInput *DedicatedPortCreateInput
	VlanFabricVcCreateInput  *VlanFabricVcCreateInput
	VrfFabricVcCreateInput   *VrfFabricVcCreateInput
}

CreateOrganizationInterconnectionRequest - struct for CreateOrganizationInterconnectionRequest

func DedicatedPortCreateInputAsCreateOrganizationInterconnectionRequest ¶ added in v0.18.0

func DedicatedPortCreateInputAsCreateOrganizationInterconnectionRequest(v *DedicatedPortCreateInput) CreateOrganizationInterconnectionRequest

DedicatedPortCreateInputAsCreateOrganizationInterconnectionRequest is a convenience function that returns DedicatedPortCreateInput wrapped in CreateOrganizationInterconnectionRequest

func VlanFabricVcCreateInputAsCreateOrganizationInterconnectionRequest ¶ added in v0.18.0

func VlanFabricVcCreateInputAsCreateOrganizationInterconnectionRequest(v *VlanFabricVcCreateInput) CreateOrganizationInterconnectionRequest

VlanFabricVcCreateInputAsCreateOrganizationInterconnectionRequest is a convenience function that returns VlanFabricVcCreateInput wrapped in CreateOrganizationInterconnectionRequest

func VrfFabricVcCreateInputAsCreateOrganizationInterconnectionRequest ¶ added in v0.18.0

func VrfFabricVcCreateInputAsCreateOrganizationInterconnectionRequest(v *VrfFabricVcCreateInput) CreateOrganizationInterconnectionRequest

VrfFabricVcCreateInputAsCreateOrganizationInterconnectionRequest is a convenience function that returns VrfFabricVcCreateInput wrapped in CreateOrganizationInterconnectionRequest

func (*CreateOrganizationInterconnectionRequest) GetActualInstance ¶ added in v0.18.0

func (obj *CreateOrganizationInterconnectionRequest) GetActualInstance() interface{}

Get the actual instance

func (CreateOrganizationInterconnectionRequest) MarshalJSON ¶

func (src CreateOrganizationInterconnectionRequest) MarshalJSON() ([]byte, error)

Marshal data from the first non-nil pointers in the struct to JSON

func (*CreateOrganizationInterconnectionRequest) UnmarshalJSON ¶ added in v0.18.0

func (dst *CreateOrganizationInterconnectionRequest) UnmarshalJSON(data []byte) error

Unmarshal JSON data into one of the pointers in the struct

type CreateSelfServiceReservationRequest ¶

type CreateSelfServiceReservationRequest struct {
	Item                 []SelfServiceReservationItemRequest        `json:"item,omitempty"`
	Notes                *string                                    `json:"notes,omitempty"`
	Period               *CreateSelfServiceReservationRequestPeriod `json:"period,omitempty"`
	StartDate            *time.Time                                 `json:"start_date,omitempty"`
	AdditionalProperties map[string]interface{}
}

CreateSelfServiceReservationRequest struct for CreateSelfServiceReservationRequest

func NewCreateSelfServiceReservationRequest ¶

func NewCreateSelfServiceReservationRequest() *CreateSelfServiceReservationRequest

NewCreateSelfServiceReservationRequest instantiates a new CreateSelfServiceReservationRequest object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewCreateSelfServiceReservationRequestWithDefaults ¶

func NewCreateSelfServiceReservationRequestWithDefaults() *CreateSelfServiceReservationRequest

NewCreateSelfServiceReservationRequestWithDefaults instantiates a new CreateSelfServiceReservationRequest object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*CreateSelfServiceReservationRequest) GetItem ¶

GetItem returns the Item field value if set, zero value otherwise.

func (*CreateSelfServiceReservationRequest) GetItemOk ¶

GetItemOk returns a tuple with the Item field value if set, nil otherwise and a boolean to check if the value has been set.

func (*CreateSelfServiceReservationRequest) GetNotes ¶

GetNotes returns the Notes field value if set, zero value otherwise.

func (*CreateSelfServiceReservationRequest) GetNotesOk ¶

func (o *CreateSelfServiceReservationRequest) GetNotesOk() (*string, bool)

GetNotesOk returns a tuple with the Notes field value if set, nil otherwise and a boolean to check if the value has been set.

func (*CreateSelfServiceReservationRequest) GetPeriod ¶

GetPeriod returns the Period field value if set, zero value otherwise.

func (*CreateSelfServiceReservationRequest) GetPeriodOk ¶

GetPeriodOk returns a tuple with the Period field value if set, nil otherwise and a boolean to check if the value has been set.

func (*CreateSelfServiceReservationRequest) GetStartDate ¶

func (o *CreateSelfServiceReservationRequest) GetStartDate() time.Time

GetStartDate returns the StartDate field value if set, zero value otherwise.

func (*CreateSelfServiceReservationRequest) GetStartDateOk ¶

func (o *CreateSelfServiceReservationRequest) GetStartDateOk() (*time.Time, bool)

GetStartDateOk returns a tuple with the StartDate field value if set, nil otherwise and a boolean to check if the value has been set.

func (*CreateSelfServiceReservationRequest) HasItem ¶

HasItem returns a boolean if a field has been set.

func (*CreateSelfServiceReservationRequest) HasNotes ¶

HasNotes returns a boolean if a field has been set.

func (*CreateSelfServiceReservationRequest) HasPeriod ¶

HasPeriod returns a boolean if a field has been set.

func (*CreateSelfServiceReservationRequest) HasStartDate ¶

func (o *CreateSelfServiceReservationRequest) HasStartDate() bool

HasStartDate returns a boolean if a field has been set.

func (CreateSelfServiceReservationRequest) MarshalJSON ¶

func (o CreateSelfServiceReservationRequest) MarshalJSON() ([]byte, error)

func (*CreateSelfServiceReservationRequest) SetItem ¶

SetItem gets a reference to the given []SelfServiceReservationItemRequest and assigns it to the Item field.

func (*CreateSelfServiceReservationRequest) SetNotes ¶

SetNotes gets a reference to the given string and assigns it to the Notes field.

func (*CreateSelfServiceReservationRequest) SetPeriod ¶

SetPeriod gets a reference to the given CreateSelfServiceReservationRequestPeriod and assigns it to the Period field.

func (*CreateSelfServiceReservationRequest) SetStartDate ¶

func (o *CreateSelfServiceReservationRequest) SetStartDate(v time.Time)

SetStartDate gets a reference to the given time.Time and assigns it to the StartDate field.

func (CreateSelfServiceReservationRequest) ToMap ¶ added in v0.4.0

func (o CreateSelfServiceReservationRequest) ToMap() (map[string]interface{}, error)

func (*CreateSelfServiceReservationRequest) UnmarshalJSON ¶ added in v0.7.0

func (o *CreateSelfServiceReservationRequest) UnmarshalJSON(bytes []byte) (err error)

type CreateSelfServiceReservationRequestPeriod ¶ added in v0.4.0

type CreateSelfServiceReservationRequestPeriod struct {
	Count                *CreateSelfServiceReservationRequestPeriodCount `json:"count,omitempty"`
	Unit                 *CreateSelfServiceReservationRequestPeriodUnit  `json:"unit,omitempty"`
	AdditionalProperties map[string]interface{}
}

CreateSelfServiceReservationRequestPeriod struct for CreateSelfServiceReservationRequestPeriod

func NewCreateSelfServiceReservationRequestPeriod ¶ added in v0.4.0

func NewCreateSelfServiceReservationRequestPeriod() *CreateSelfServiceReservationRequestPeriod

NewCreateSelfServiceReservationRequestPeriod instantiates a new CreateSelfServiceReservationRequestPeriod object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewCreateSelfServiceReservationRequestPeriodWithDefaults ¶ added in v0.4.0

func NewCreateSelfServiceReservationRequestPeriodWithDefaults() *CreateSelfServiceReservationRequestPeriod

NewCreateSelfServiceReservationRequestPeriodWithDefaults instantiates a new CreateSelfServiceReservationRequestPeriod object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*CreateSelfServiceReservationRequestPeriod) GetCount ¶ added in v0.4.0

GetCount returns the Count field value if set, zero value otherwise.

func (*CreateSelfServiceReservationRequestPeriod) GetCountOk ¶ added in v0.4.0

GetCountOk returns a tuple with the Count field value if set, nil otherwise and a boolean to check if the value has been set.

func (*CreateSelfServiceReservationRequestPeriod) GetUnit ¶ added in v0.4.0

GetUnit returns the Unit field value if set, zero value otherwise.

func (*CreateSelfServiceReservationRequestPeriod) GetUnitOk ¶ added in v0.4.0

GetUnitOk returns a tuple with the Unit field value if set, nil otherwise and a boolean to check if the value has been set.

func (*CreateSelfServiceReservationRequestPeriod) HasCount ¶ added in v0.4.0

HasCount returns a boolean if a field has been set.

func (*CreateSelfServiceReservationRequestPeriod) HasUnit ¶ added in v0.4.0

HasUnit returns a boolean if a field has been set.

func (CreateSelfServiceReservationRequestPeriod) MarshalJSON ¶ added in v0.4.0

func (*CreateSelfServiceReservationRequestPeriod) SetCount ¶ added in v0.4.0

SetCount gets a reference to the given CreateSelfServiceReservationRequestPeriodCount and assigns it to the Count field.

func (*CreateSelfServiceReservationRequestPeriod) SetUnit ¶ added in v0.4.0

SetUnit gets a reference to the given CreateSelfServiceReservationRequestPeriodUnit and assigns it to the Unit field.

func (CreateSelfServiceReservationRequestPeriod) ToMap ¶ added in v0.4.0

func (o CreateSelfServiceReservationRequestPeriod) ToMap() (map[string]interface{}, error)

func (*CreateSelfServiceReservationRequestPeriod) UnmarshalJSON ¶ added in v0.7.0

func (o *CreateSelfServiceReservationRequestPeriod) UnmarshalJSON(bytes []byte) (err error)

type CreateSelfServiceReservationRequestPeriodCount ¶ added in v0.22.0

type CreateSelfServiceReservationRequestPeriodCount int32

CreateSelfServiceReservationRequestPeriodCount the model 'CreateSelfServiceReservationRequestPeriodCount'

const (
	CREATESELFSERVICERESERVATIONREQUESTPERIODCOUNT__12 CreateSelfServiceReservationRequestPeriodCount = 12
	CREATESELFSERVICERESERVATIONREQUESTPERIODCOUNT__36 CreateSelfServiceReservationRequestPeriodCount = 36
)

List of CreateSelfServiceReservationRequest_period_count

func NewCreateSelfServiceReservationRequestPeriodCountFromValue ¶ added in v0.22.0

func NewCreateSelfServiceReservationRequestPeriodCountFromValue(v int32) (*CreateSelfServiceReservationRequestPeriodCount, error)

NewCreateSelfServiceReservationRequestPeriodCountFromValue returns a pointer to a valid CreateSelfServiceReservationRequestPeriodCount for the value passed as argument, or an error if the value passed is not allowed by the enum

func (CreateSelfServiceReservationRequestPeriodCount) IsValid ¶ added in v0.22.0

IsValid return true if the value is valid for the enum, false otherwise

func (CreateSelfServiceReservationRequestPeriodCount) Ptr ¶ added in v0.22.0

Ptr returns reference to CreateSelfServiceReservationRequest_period_count value

func (*CreateSelfServiceReservationRequestPeriodCount) UnmarshalJSON ¶ added in v0.22.0

type CreateSelfServiceReservationRequestPeriodUnit ¶ added in v0.22.0

type CreateSelfServiceReservationRequestPeriodUnit string

CreateSelfServiceReservationRequestPeriodUnit the model 'CreateSelfServiceReservationRequestPeriodUnit'

const (
	CREATESELFSERVICERESERVATIONREQUESTPERIODUNIT_MONTHLY CreateSelfServiceReservationRequestPeriodUnit = "monthly"
)

List of CreateSelfServiceReservationRequest_period_unit

func NewCreateSelfServiceReservationRequestPeriodUnitFromValue ¶ added in v0.22.0

func NewCreateSelfServiceReservationRequestPeriodUnitFromValue(v string) (*CreateSelfServiceReservationRequestPeriodUnit, error)

NewCreateSelfServiceReservationRequestPeriodUnitFromValue returns a pointer to a valid CreateSelfServiceReservationRequestPeriodUnit for the value passed as argument, or an error if the value passed is not allowed by the enum

func (CreateSelfServiceReservationRequestPeriodUnit) IsValid ¶ added in v0.22.0

IsValid return true if the value is valid for the enum, false otherwise

func (CreateSelfServiceReservationRequestPeriodUnit) Ptr ¶ added in v0.22.0

Ptr returns reference to CreateSelfServiceReservationRequest_period_unit value

func (*CreateSelfServiceReservationRequestPeriodUnit) UnmarshalJSON ¶ added in v0.22.0

type DedicatedPortCreateInput ¶ added in v0.18.0

type DedicatedPortCreateInput struct {
	// The billing account name of the Equinix Fabric account.
	BillingAccountName *string `json:"billing_account_name,omitempty"`
	// The preferred email used for communication and notifications about the Equinix Fabric interconnection. Required when using a Project API key. Optional and defaults to the primary user email address when using a User API key.
	ContactEmail *string `json:"contact_email,omitempty"`
	Description  *string `json:"description,omitempty"`
	// A Metro ID or code. For interconnections with Dedicated Ports, this will be the location of the issued Dedicated Ports.
	Metro   string                        `json:"metro"`
	Mode    *DedicatedPortCreateInputMode `json:"mode,omitempty"`
	Name    string                        `json:"name"`
	Project *string                       `json:"project,omitempty"`
	// Either 'primary' or 'redundant'.
	Redundancy string `json:"redundancy"`
	// A interconnection speed, in bps, mbps, or gbps. For Dedicated Ports, this can be 10Gbps or 100Gbps.
	Speed *int32                       `json:"speed,omitempty"`
	Tags  []string                     `json:"tags,omitempty"`
	Type  DedicatedPortCreateInputType `json:"type"`
	// The intended use case of the dedicated port.
	UseCase              *string `json:"use_case,omitempty"`
	AdditionalProperties map[string]interface{}
}

DedicatedPortCreateInput struct for DedicatedPortCreateInput

func NewDedicatedPortCreateInput ¶ added in v0.18.0

func NewDedicatedPortCreateInput(metro string, name string, redundancy string, type_ DedicatedPortCreateInputType) *DedicatedPortCreateInput

NewDedicatedPortCreateInput instantiates a new DedicatedPortCreateInput object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewDedicatedPortCreateInputWithDefaults ¶ added in v0.18.0

func NewDedicatedPortCreateInputWithDefaults() *DedicatedPortCreateInput

NewDedicatedPortCreateInputWithDefaults instantiates a new DedicatedPortCreateInput object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*DedicatedPortCreateInput) GetBillingAccountName ¶ added in v0.19.0

func (o *DedicatedPortCreateInput) GetBillingAccountName() string

GetBillingAccountName returns the BillingAccountName field value if set, zero value otherwise.

func (*DedicatedPortCreateInput) GetBillingAccountNameOk ¶ added in v0.19.0

func (o *DedicatedPortCreateInput) GetBillingAccountNameOk() (*string, bool)

GetBillingAccountNameOk returns a tuple with the BillingAccountName field value if set, nil otherwise and a boolean to check if the value has been set.

func (*DedicatedPortCreateInput) GetContactEmail ¶ added in v0.18.0

func (o *DedicatedPortCreateInput) GetContactEmail() string

GetContactEmail returns the ContactEmail field value if set, zero value otherwise.

func (*DedicatedPortCreateInput) GetContactEmailOk ¶ added in v0.18.0

func (o *DedicatedPortCreateInput) GetContactEmailOk() (*string, bool)

GetContactEmailOk returns a tuple with the ContactEmail field value if set, nil otherwise and a boolean to check if the value has been set.

func (*DedicatedPortCreateInput) GetDescription ¶ added in v0.18.0

func (o *DedicatedPortCreateInput) GetDescription() string

GetDescription returns the Description field value if set, zero value otherwise.

func (*DedicatedPortCreateInput) GetDescriptionOk ¶ added in v0.18.0

func (o *DedicatedPortCreateInput) GetDescriptionOk() (*string, bool)

GetDescriptionOk returns a tuple with the Description field value if set, nil otherwise and a boolean to check if the value has been set.

func (*DedicatedPortCreateInput) GetMetro ¶ added in v0.18.0

func (o *DedicatedPortCreateInput) GetMetro() string

GetMetro returns the Metro field value

func (*DedicatedPortCreateInput) GetMetroOk ¶ added in v0.18.0

func (o *DedicatedPortCreateInput) GetMetroOk() (*string, bool)

GetMetroOk returns a tuple with the Metro field value and a boolean to check if the value has been set.

func (*DedicatedPortCreateInput) GetMode ¶ added in v0.18.0

GetMode returns the Mode field value if set, zero value otherwise.

func (*DedicatedPortCreateInput) GetModeOk ¶ added in v0.18.0

GetModeOk returns a tuple with the Mode field value if set, nil otherwise and a boolean to check if the value has been set.

func (*DedicatedPortCreateInput) GetName ¶ added in v0.18.0

func (o *DedicatedPortCreateInput) GetName() string

GetName returns the Name field value

func (*DedicatedPortCreateInput) GetNameOk ¶ added in v0.18.0

func (o *DedicatedPortCreateInput) GetNameOk() (*string, bool)

GetNameOk returns a tuple with the Name field value and a boolean to check if the value has been set.

func (*DedicatedPortCreateInput) GetProject ¶ added in v0.18.0

func (o *DedicatedPortCreateInput) GetProject() string

GetProject returns the Project field value if set, zero value otherwise.

func (*DedicatedPortCreateInput) GetProjectOk ¶ added in v0.18.0

func (o *DedicatedPortCreateInput) GetProjectOk() (*string, bool)

GetProjectOk returns a tuple with the Project field value if set, nil otherwise and a boolean to check if the value has been set.

func (*DedicatedPortCreateInput) GetRedundancy ¶ added in v0.18.0

func (o *DedicatedPortCreateInput) GetRedundancy() string

GetRedundancy returns the Redundancy field value

func (*DedicatedPortCreateInput) GetRedundancyOk ¶ added in v0.18.0

func (o *DedicatedPortCreateInput) GetRedundancyOk() (*string, bool)

GetRedundancyOk returns a tuple with the Redundancy field value and a boolean to check if the value has been set.

func (*DedicatedPortCreateInput) GetSpeed ¶ added in v0.18.0

func (o *DedicatedPortCreateInput) GetSpeed() int32

GetSpeed returns the Speed field value if set, zero value otherwise.

func (*DedicatedPortCreateInput) GetSpeedOk ¶ added in v0.18.0

func (o *DedicatedPortCreateInput) GetSpeedOk() (*int32, bool)

GetSpeedOk returns a tuple with the Speed field value if set, nil otherwise and a boolean to check if the value has been set.

func (*DedicatedPortCreateInput) GetTags ¶ added in v0.18.0

func (o *DedicatedPortCreateInput) GetTags() []string

GetTags returns the Tags field value if set, zero value otherwise.

func (*DedicatedPortCreateInput) GetTagsOk ¶ added in v0.18.0

func (o *DedicatedPortCreateInput) GetTagsOk() ([]string, bool)

GetTagsOk returns a tuple with the Tags field value if set, nil otherwise and a boolean to check if the value has been set.

func (*DedicatedPortCreateInput) GetType ¶ added in v0.18.0

GetType returns the Type field value

func (*DedicatedPortCreateInput) GetTypeOk ¶ added in v0.18.0

GetTypeOk returns a tuple with the Type field value and a boolean to check if the value has been set.

func (*DedicatedPortCreateInput) GetUseCase ¶ added in v0.19.0

func (o *DedicatedPortCreateInput) GetUseCase() string

GetUseCase returns the UseCase field value if set, zero value otherwise.

func (*DedicatedPortCreateInput) GetUseCaseOk ¶ added in v0.19.0

func (o *DedicatedPortCreateInput) GetUseCaseOk() (*string, bool)

GetUseCaseOk returns a tuple with the UseCase field value if set, nil otherwise and a boolean to check if the value has been set.

func (*DedicatedPortCreateInput) HasBillingAccountName ¶ added in v0.19.0

func (o *DedicatedPortCreateInput) HasBillingAccountName() bool

HasBillingAccountName returns a boolean if a field has been set.

func (*DedicatedPortCreateInput) HasContactEmail ¶ added in v0.18.0

func (o *DedicatedPortCreateInput) HasContactEmail() bool

HasContactEmail returns a boolean if a field has been set.

func (*DedicatedPortCreateInput) HasDescription ¶ added in v0.18.0

func (o *DedicatedPortCreateInput) HasDescription() bool

HasDescription returns a boolean if a field has been set.

func (*DedicatedPortCreateInput) HasMode ¶ added in v0.18.0

func (o *DedicatedPortCreateInput) HasMode() bool

HasMode returns a boolean if a field has been set.

func (*DedicatedPortCreateInput) HasProject ¶ added in v0.18.0

func (o *DedicatedPortCreateInput) HasProject() bool

HasProject returns a boolean if a field has been set.

func (*DedicatedPortCreateInput) HasSpeed ¶ added in v0.18.0

func (o *DedicatedPortCreateInput) HasSpeed() bool

HasSpeed returns a boolean if a field has been set.

func (*DedicatedPortCreateInput) HasTags ¶ added in v0.18.0

func (o *DedicatedPortCreateInput) HasTags() bool

HasTags returns a boolean if a field has been set.

func (*DedicatedPortCreateInput) HasUseCase ¶ added in v0.19.0

func (o *DedicatedPortCreateInput) HasUseCase() bool

HasUseCase returns a boolean if a field has been set.

func (DedicatedPortCreateInput) MarshalJSON ¶ added in v0.18.0

func (o DedicatedPortCreateInput) MarshalJSON() ([]byte, error)

func (*DedicatedPortCreateInput) SetBillingAccountName ¶ added in v0.19.0

func (o *DedicatedPortCreateInput) SetBillingAccountName(v string)

SetBillingAccountName gets a reference to the given string and assigns it to the BillingAccountName field.

func (*DedicatedPortCreateInput) SetContactEmail ¶ added in v0.18.0

func (o *DedicatedPortCreateInput) SetContactEmail(v string)

SetContactEmail gets a reference to the given string and assigns it to the ContactEmail field.

func (*DedicatedPortCreateInput) SetDescription ¶ added in v0.18.0

func (o *DedicatedPortCreateInput) SetDescription(v string)

SetDescription gets a reference to the given string and assigns it to the Description field.

func (*DedicatedPortCreateInput) SetMetro ¶ added in v0.18.0

func (o *DedicatedPortCreateInput) SetMetro(v string)

SetMetro sets field value

func (*DedicatedPortCreateInput) SetMode ¶ added in v0.18.0

SetMode gets a reference to the given DedicatedPortCreateInputMode and assigns it to the Mode field.

func (*DedicatedPortCreateInput) SetName ¶ added in v0.18.0

func (o *DedicatedPortCreateInput) SetName(v string)

SetName sets field value

func (*DedicatedPortCreateInput) SetProject ¶ added in v0.18.0

func (o *DedicatedPortCreateInput) SetProject(v string)

SetProject gets a reference to the given string and assigns it to the Project field.

func (*DedicatedPortCreateInput) SetRedundancy ¶ added in v0.18.0

func (o *DedicatedPortCreateInput) SetRedundancy(v string)

SetRedundancy sets field value

func (*DedicatedPortCreateInput) SetSpeed ¶ added in v0.18.0

func (o *DedicatedPortCreateInput) SetSpeed(v int32)

SetSpeed gets a reference to the given int32 and assigns it to the Speed field.

func (*DedicatedPortCreateInput) SetTags ¶ added in v0.18.0

func (o *DedicatedPortCreateInput) SetTags(v []string)

SetTags gets a reference to the given []string and assigns it to the Tags field.

func (*DedicatedPortCreateInput) SetType ¶ added in v0.18.0

SetType sets field value

func (*DedicatedPortCreateInput) SetUseCase ¶ added in v0.19.0

func (o *DedicatedPortCreateInput) SetUseCase(v string)

SetUseCase gets a reference to the given string and assigns it to the UseCase field.

func (DedicatedPortCreateInput) ToMap ¶ added in v0.18.0

func (o DedicatedPortCreateInput) ToMap() (map[string]interface{}, error)

func (*DedicatedPortCreateInput) UnmarshalJSON ¶ added in v0.18.0

func (o *DedicatedPortCreateInput) UnmarshalJSON(bytes []byte) (err error)

type DedicatedPortCreateInputMode ¶ added in v0.22.0

type DedicatedPortCreateInputMode string

DedicatedPortCreateInputMode The mode of the interconnection (only relevant to Dedicated Ports). Fabric VCs won't have this field. Can be either 'standard' or 'tunnel'. The default mode of an interconnection on a Dedicated Port is 'standard'. The mode can only be changed when there are no associated virtual circuits on the interconnection. In tunnel mode, an 802.1q tunnel is added to a port to send/receive double tagged packets from server instances.

const (
	DEDICATEDPORTCREATEINPUTMODE_STANDARD DedicatedPortCreateInputMode = "standard"
	DEDICATEDPORTCREATEINPUTMODE_TUNNEL   DedicatedPortCreateInputMode = "tunnel"
)

List of DedicatedPortCreateInput_mode

func NewDedicatedPortCreateInputModeFromValue ¶ added in v0.22.0

func NewDedicatedPortCreateInputModeFromValue(v string) (*DedicatedPortCreateInputMode, error)

NewDedicatedPortCreateInputModeFromValue returns a pointer to a valid DedicatedPortCreateInputMode for the value passed as argument, or an error if the value passed is not allowed by the enum

func (DedicatedPortCreateInputMode) IsValid ¶ added in v0.22.0

func (v DedicatedPortCreateInputMode) IsValid() bool

IsValid return true if the value is valid for the enum, false otherwise

func (DedicatedPortCreateInputMode) Ptr ¶ added in v0.22.0

Ptr returns reference to DedicatedPortCreateInput_mode value

func (*DedicatedPortCreateInputMode) UnmarshalJSON ¶ added in v0.22.0

func (v *DedicatedPortCreateInputMode) UnmarshalJSON(src []byte) error

type DedicatedPortCreateInputType ¶ added in v0.22.0

type DedicatedPortCreateInputType string

DedicatedPortCreateInputType When requesting for a dedicated port, the value of this field should be 'dedicated'.

const (
	DEDICATEDPORTCREATEINPUTTYPE_DEDICATED DedicatedPortCreateInputType = "dedicated"
)

List of DedicatedPortCreateInput_type

func NewDedicatedPortCreateInputTypeFromValue ¶ added in v0.22.0

func NewDedicatedPortCreateInputTypeFromValue(v string) (*DedicatedPortCreateInputType, error)

NewDedicatedPortCreateInputTypeFromValue returns a pointer to a valid DedicatedPortCreateInputType for the value passed as argument, or an error if the value passed is not allowed by the enum

func (DedicatedPortCreateInputType) IsValid ¶ added in v0.22.0

func (v DedicatedPortCreateInputType) IsValid() bool

IsValid return true if the value is valid for the enum, false otherwise

func (DedicatedPortCreateInputType) Ptr ¶ added in v0.22.0

Ptr returns reference to DedicatedPortCreateInput_type value

func (*DedicatedPortCreateInputType) UnmarshalJSON ¶ added in v0.22.0

func (v *DedicatedPortCreateInputType) UnmarshalJSON(src []byte) error

type Device ¶

type Device struct {
	AlwaysPxe    *bool                  `json:"always_pxe,omitempty"`
	BillingCycle *string                `json:"billing_cycle,omitempty"`
	BondingMode  *int32                 `json:"bonding_mode,omitempty"`
	CreatedAt    *time.Time             `json:"created_at,omitempty"`
	CreatedBy    *DeviceCreatedBy       `json:"created_by,omitempty"`
	Customdata   map[string]interface{} `json:"customdata,omitempty"`
	Description  *string                `json:"description,omitempty"`
	Facility     *Facility              `json:"facility,omitempty"`
	// The UUID of the firmware set to associate with the device.
	FirmwareSetId       *string              `json:"firmware_set_id,omitempty"`
	HardwareReservation *HardwareReservation `json:"hardware_reservation,omitempty"`
	Hostname            *string              `json:"hostname,omitempty"`
	Href                *string              `json:"href,omitempty"`
	Id                  *string              `json:"id,omitempty"`
	ImageUrl            *string              `json:"image_url,omitempty"`
	IpAddresses         []IPAssignment       `json:"ip_addresses,omitempty"`
	IpxeScriptUrl       *string              `json:"ipxe_script_url,omitempty"`
	Iqn                 *string              `json:"iqn,omitempty"`
	// Prevents accidental deletion of this resource when set to true.
	Locked *bool        `json:"locked,omitempty"`
	Metro  *DeviceMetro `json:"metro,omitempty"`
	// Whether network mode changes such as converting to/from Layer2 or Layer3 networking, bonding or disbonding network interfaces are permitted for the device.
	NetworkFrozen *bool `json:"network_frozen,omitempty"`
	// By default, servers at Equinix Metal are configured in a “bonded” mode using LACP (Link Aggregation Control Protocol). Each 2-NIC server is configured with a single bond (namely bond0) with both interfaces eth0 and eth1 as members of the bond in a default Layer 3 mode. Some device plans may have a different number of ports and bonds available.
	NetworkPorts    []Port           `json:"network_ports,omitempty"`
	OperatingSystem *OperatingSystem `json:"operating_system,omitempty"`
	// Actions supported by the device instance.
	Actions            []DeviceActionsInner `json:"actions,omitempty"`
	Plan               *Plan                `json:"plan,omitempty"`
	Project            *Project             `json:"project,omitempty"`
	ProjectLite        *DeviceProjectLite   `json:"project_lite,omitempty"`
	ProvisioningEvents []Event              `json:"provisioning_events,omitempty"`
	// Only visible while device provisioning
	ProvisioningPercentage *float32 `json:"provisioning_percentage,omitempty"`
	// Root password is automatically generated when server is provisioned and it is removed after 24 hours
	RootPassword *string `json:"root_password,omitempty"`
	ShortId      *string `json:"short_id,omitempty"`
	// Whether or not the device is a spot instance.
	SpotInstance *bool `json:"spot_instance,omitempty"`
	// The maximum price per hour you are willing to pay to keep this spot instance.  If you are outbid, the termination will be set allowing two minutes before shutdown.
	SpotPriceMax *float32     `json:"spot_price_max,omitempty"`
	SshKeys      []Href       `json:"ssh_keys,omitempty"`
	State        *DeviceState `json:"state,omitempty"`
	Storage      *Storage     `json:"storage,omitempty"`
	// Switch short id. This can be used to determine if two devices are connected to the same switch, for example.
	SwitchUuid *string  `json:"switch_uuid,omitempty"`
	Tags       []string `json:"tags,omitempty"`
	// When the device will be terminated. If you don't supply timezone info, the timestamp is assumed to be in UTC.  This is commonly set in advance for ephemeral spot market instances but this field may also be set with on-demand and reservation instances to automatically delete the resource at a given time. The termination time can also be used to release a hardware reservation instance at a given time, keeping the reservation open for other uses.  On a spot market device, the termination time will be set automatically when outbid.
	TerminationTime *time.Time `json:"termination_time,omitempty"`
	UpdatedAt       *time.Time `json:"updated_at,omitempty"`
	User            *string    `json:"user,omitempty"`
	Userdata        *string    `json:"userdata,omitempty"`
	Volumes         []Href     `json:"volumes,omitempty"`
	// Hostname used to connect to the instance via the SOS (Serial over SSH) out-of-band console.
	Sos                  *string `json:"sos,omitempty"`
	AdditionalProperties map[string]interface{}
}

Device struct for Device

func NewDevice ¶

func NewDevice() *Device

NewDevice instantiates a new Device object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewDeviceWithDefaults ¶

func NewDeviceWithDefaults() *Device

NewDeviceWithDefaults instantiates a new Device object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*Device) GetActions ¶ added in v0.3.0

func (o *Device) GetActions() []DeviceActionsInner

GetActions returns the Actions field value if set, zero value otherwise.

func (*Device) GetActionsOk ¶ added in v0.3.0

func (o *Device) GetActionsOk() ([]DeviceActionsInner, bool)

GetActionsOk returns a tuple with the Actions field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Device) GetAlwaysPxe ¶

func (o *Device) GetAlwaysPxe() bool

GetAlwaysPxe returns the AlwaysPxe field value if set, zero value otherwise.

func (*Device) GetAlwaysPxeOk ¶

func (o *Device) GetAlwaysPxeOk() (*bool, bool)

GetAlwaysPxeOk returns a tuple with the AlwaysPxe field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Device) GetBillingCycle ¶

func (o *Device) GetBillingCycle() string

GetBillingCycle returns the BillingCycle field value if set, zero value otherwise.

func (*Device) GetBillingCycleOk ¶

func (o *Device) GetBillingCycleOk() (*string, bool)

GetBillingCycleOk returns a tuple with the BillingCycle field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Device) GetBondingMode ¶

func (o *Device) GetBondingMode() int32

GetBondingMode returns the BondingMode field value if set, zero value otherwise.

func (*Device) GetBondingModeOk ¶

func (o *Device) GetBondingModeOk() (*int32, bool)

GetBondingModeOk returns a tuple with the BondingMode field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Device) GetCreatedAt ¶

func (o *Device) GetCreatedAt() time.Time

GetCreatedAt returns the CreatedAt field value if set, zero value otherwise.

func (*Device) GetCreatedAtOk ¶

func (o *Device) GetCreatedAtOk() (*time.Time, bool)

GetCreatedAtOk returns a tuple with the CreatedAt field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Device) GetCreatedBy ¶

func (o *Device) GetCreatedBy() DeviceCreatedBy

GetCreatedBy returns the CreatedBy field value if set, zero value otherwise.

func (*Device) GetCreatedByOk ¶

func (o *Device) GetCreatedByOk() (*DeviceCreatedBy, bool)

GetCreatedByOk returns a tuple with the CreatedBy field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Device) GetCustomdata ¶

func (o *Device) GetCustomdata() map[string]interface{}

GetCustomdata returns the Customdata field value if set, zero value otherwise.

func (*Device) GetCustomdataOk ¶

func (o *Device) GetCustomdataOk() (map[string]interface{}, bool)

GetCustomdataOk returns a tuple with the Customdata field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Device) GetDescription ¶

func (o *Device) GetDescription() string

GetDescription returns the Description field value if set, zero value otherwise.

func (*Device) GetDescriptionOk ¶

func (o *Device) GetDescriptionOk() (*string, bool)

GetDescriptionOk returns a tuple with the Description field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Device) GetFacility ¶

func (o *Device) GetFacility() Facility

GetFacility returns the Facility field value if set, zero value otherwise.

func (*Device) GetFacilityOk ¶

func (o *Device) GetFacilityOk() (*Facility, bool)

GetFacilityOk returns a tuple with the Facility field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Device) GetFirmwareSetId ¶ added in v0.21.0

func (o *Device) GetFirmwareSetId() string

GetFirmwareSetId returns the FirmwareSetId field value if set, zero value otherwise.

func (*Device) GetFirmwareSetIdOk ¶ added in v0.21.0

func (o *Device) GetFirmwareSetIdOk() (*string, bool)

GetFirmwareSetIdOk returns a tuple with the FirmwareSetId field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Device) GetHardwareReservation ¶

func (o *Device) GetHardwareReservation() HardwareReservation

GetHardwareReservation returns the HardwareReservation field value if set, zero value otherwise.

func (*Device) GetHardwareReservationOk ¶

func (o *Device) GetHardwareReservationOk() (*HardwareReservation, bool)

GetHardwareReservationOk returns a tuple with the HardwareReservation field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Device) GetHostname ¶

func (o *Device) GetHostname() string

GetHostname returns the Hostname field value if set, zero value otherwise.

func (*Device) GetHostnameOk ¶

func (o *Device) GetHostnameOk() (*string, bool)

GetHostnameOk returns a tuple with the Hostname field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Device) GetHref ¶

func (o *Device) GetHref() string

GetHref returns the Href field value if set, zero value otherwise.

func (*Device) GetHrefOk ¶

func (o *Device) GetHrefOk() (*string, bool)

GetHrefOk returns a tuple with the Href field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Device) GetId ¶

func (o *Device) GetId() string

GetId returns the Id field value if set, zero value otherwise.

func (*Device) GetIdOk ¶

func (o *Device) GetIdOk() (*string, bool)

GetIdOk returns a tuple with the Id field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Device) GetImageUrl ¶

func (o *Device) GetImageUrl() string

GetImageUrl returns the ImageUrl field value if set, zero value otherwise.

func (*Device) GetImageUrlOk ¶

func (o *Device) GetImageUrlOk() (*string, bool)

GetImageUrlOk returns a tuple with the ImageUrl field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Device) GetIpAddresses ¶

func (o *Device) GetIpAddresses() []IPAssignment

GetIpAddresses returns the IpAddresses field value if set, zero value otherwise.

func (*Device) GetIpAddressesOk ¶

func (o *Device) GetIpAddressesOk() ([]IPAssignment, bool)

GetIpAddressesOk returns a tuple with the IpAddresses field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Device) GetIpxeScriptUrl ¶

func (o *Device) GetIpxeScriptUrl() string

GetIpxeScriptUrl returns the IpxeScriptUrl field value if set, zero value otherwise.

func (*Device) GetIpxeScriptUrlOk ¶

func (o *Device) GetIpxeScriptUrlOk() (*string, bool)

GetIpxeScriptUrlOk returns a tuple with the IpxeScriptUrl field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Device) GetIqn ¶

func (o *Device) GetIqn() string

GetIqn returns the Iqn field value if set, zero value otherwise.

func (*Device) GetIqnOk ¶

func (o *Device) GetIqnOk() (*string, bool)

GetIqnOk returns a tuple with the Iqn field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Device) GetLocked ¶

func (o *Device) GetLocked() bool

GetLocked returns the Locked field value if set, zero value otherwise.

func (*Device) GetLockedOk ¶

func (o *Device) GetLockedOk() (*bool, bool)

GetLockedOk returns a tuple with the Locked field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Device) GetMetro ¶

func (o *Device) GetMetro() DeviceMetro

GetMetro returns the Metro field value if set, zero value otherwise.

func (*Device) GetMetroOk ¶

func (o *Device) GetMetroOk() (*DeviceMetro, bool)

GetMetroOk returns a tuple with the Metro field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Device) GetNetworkFrozen ¶ added in v0.10.0

func (o *Device) GetNetworkFrozen() bool

GetNetworkFrozen returns the NetworkFrozen field value if set, zero value otherwise.

func (*Device) GetNetworkFrozenOk ¶ added in v0.10.0

func (o *Device) GetNetworkFrozenOk() (*bool, bool)

GetNetworkFrozenOk returns a tuple with the NetworkFrozen field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Device) GetNetworkPorts ¶

func (o *Device) GetNetworkPorts() []Port

GetNetworkPorts returns the NetworkPorts field value if set, zero value otherwise.

func (*Device) GetNetworkPortsOk ¶

func (o *Device) GetNetworkPortsOk() ([]Port, bool)

GetNetworkPortsOk returns a tuple with the NetworkPorts field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Device) GetOperatingSystem ¶

func (o *Device) GetOperatingSystem() OperatingSystem

GetOperatingSystem returns the OperatingSystem field value if set, zero value otherwise.

func (*Device) GetOperatingSystemOk ¶

func (o *Device) GetOperatingSystemOk() (*OperatingSystem, bool)

GetOperatingSystemOk returns a tuple with the OperatingSystem field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Device) GetPlan ¶

func (o *Device) GetPlan() Plan

GetPlan returns the Plan field value if set, zero value otherwise.

func (*Device) GetPlanOk ¶

func (o *Device) GetPlanOk() (*Plan, bool)

GetPlanOk returns a tuple with the Plan field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Device) GetProject ¶

func (o *Device) GetProject() Project

GetProject returns the Project field value if set, zero value otherwise.

func (*Device) GetProjectLite ¶

func (o *Device) GetProjectLite() DeviceProjectLite

GetProjectLite returns the ProjectLite field value if set, zero value otherwise.

func (*Device) GetProjectLiteOk ¶

func (o *Device) GetProjectLiteOk() (*DeviceProjectLite, bool)

GetProjectLiteOk returns a tuple with the ProjectLite field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Device) GetProjectOk ¶

func (o *Device) GetProjectOk() (*Project, bool)

GetProjectOk returns a tuple with the Project field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Device) GetProvisioningEvents ¶

func (o *Device) GetProvisioningEvents() []Event

GetProvisioningEvents returns the ProvisioningEvents field value if set, zero value otherwise.

func (*Device) GetProvisioningEventsOk ¶

func (o *Device) GetProvisioningEventsOk() ([]Event, bool)

GetProvisioningEventsOk returns a tuple with the ProvisioningEvents field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Device) GetProvisioningPercentage ¶

func (o *Device) GetProvisioningPercentage() float32

GetProvisioningPercentage returns the ProvisioningPercentage field value if set, zero value otherwise.

func (*Device) GetProvisioningPercentageOk ¶

func (o *Device) GetProvisioningPercentageOk() (*float32, bool)

GetProvisioningPercentageOk returns a tuple with the ProvisioningPercentage field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Device) GetRootPassword ¶

func (o *Device) GetRootPassword() string

GetRootPassword returns the RootPassword field value if set, zero value otherwise.

func (*Device) GetRootPasswordOk ¶

func (o *Device) GetRootPasswordOk() (*string, bool)

GetRootPasswordOk returns a tuple with the RootPassword field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Device) GetShortId ¶

func (o *Device) GetShortId() string

GetShortId returns the ShortId field value if set, zero value otherwise.

func (*Device) GetShortIdOk ¶

func (o *Device) GetShortIdOk() (*string, bool)

GetShortIdOk returns a tuple with the ShortId field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Device) GetSos ¶ added in v0.8.0

func (o *Device) GetSos() string

GetSos returns the Sos field value if set, zero value otherwise.

func (*Device) GetSosOk ¶ added in v0.8.0

func (o *Device) GetSosOk() (*string, bool)

GetSosOk returns a tuple with the Sos field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Device) GetSpotInstance ¶

func (o *Device) GetSpotInstance() bool

GetSpotInstance returns the SpotInstance field value if set, zero value otherwise.

func (*Device) GetSpotInstanceOk ¶

func (o *Device) GetSpotInstanceOk() (*bool, bool)

GetSpotInstanceOk returns a tuple with the SpotInstance field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Device) GetSpotPriceMax ¶

func (o *Device) GetSpotPriceMax() float32

GetSpotPriceMax returns the SpotPriceMax field value if set, zero value otherwise.

func (*Device) GetSpotPriceMaxOk ¶

func (o *Device) GetSpotPriceMaxOk() (*float32, bool)

GetSpotPriceMaxOk returns a tuple with the SpotPriceMax field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Device) GetSshKeys ¶

func (o *Device) GetSshKeys() []Href

GetSshKeys returns the SshKeys field value if set, zero value otherwise.

func (*Device) GetSshKeysOk ¶

func (o *Device) GetSshKeysOk() ([]Href, bool)

GetSshKeysOk returns a tuple with the SshKeys field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Device) GetState ¶

func (o *Device) GetState() DeviceState

GetState returns the State field value if set, zero value otherwise.

func (*Device) GetStateOk ¶

func (o *Device) GetStateOk() (*DeviceState, bool)

GetStateOk returns a tuple with the State field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Device) GetStorage ¶ added in v0.6.0

func (o *Device) GetStorage() Storage

GetStorage returns the Storage field value if set, zero value otherwise.

func (*Device) GetStorageOk ¶ added in v0.6.0

func (o *Device) GetStorageOk() (*Storage, bool)

GetStorageOk returns a tuple with the Storage field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Device) GetSwitchUuid ¶

func (o *Device) GetSwitchUuid() string

GetSwitchUuid returns the SwitchUuid field value if set, zero value otherwise.

func (*Device) GetSwitchUuidOk ¶

func (o *Device) GetSwitchUuidOk() (*string, bool)

GetSwitchUuidOk returns a tuple with the SwitchUuid field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Device) GetTags ¶

func (o *Device) GetTags() []string

GetTags returns the Tags field value if set, zero value otherwise.

func (*Device) GetTagsOk ¶

func (o *Device) GetTagsOk() ([]string, bool)

GetTagsOk returns a tuple with the Tags field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Device) GetTerminationTime ¶

func (o *Device) GetTerminationTime() time.Time

GetTerminationTime returns the TerminationTime field value if set, zero value otherwise.

func (*Device) GetTerminationTimeOk ¶

func (o *Device) GetTerminationTimeOk() (*time.Time, bool)

GetTerminationTimeOk returns a tuple with the TerminationTime field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Device) GetUpdatedAt ¶

func (o *Device) GetUpdatedAt() time.Time

GetUpdatedAt returns the UpdatedAt field value if set, zero value otherwise.

func (*Device) GetUpdatedAtOk ¶

func (o *Device) GetUpdatedAtOk() (*time.Time, bool)

GetUpdatedAtOk returns a tuple with the UpdatedAt field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Device) GetUser ¶

func (o *Device) GetUser() string

GetUser returns the User field value if set, zero value otherwise.

func (*Device) GetUserOk ¶

func (o *Device) GetUserOk() (*string, bool)

GetUserOk returns a tuple with the User field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Device) GetUserdata ¶

func (o *Device) GetUserdata() string

GetUserdata returns the Userdata field value if set, zero value otherwise.

func (*Device) GetUserdataOk ¶

func (o *Device) GetUserdataOk() (*string, bool)

GetUserdataOk returns a tuple with the Userdata field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Device) GetVolumes ¶

func (o *Device) GetVolumes() []Href

GetVolumes returns the Volumes field value if set, zero value otherwise.

func (*Device) GetVolumesOk ¶

func (o *Device) GetVolumesOk() ([]Href, bool)

GetVolumesOk returns a tuple with the Volumes field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Device) HasActions ¶ added in v0.3.0

func (o *Device) HasActions() bool

HasActions returns a boolean if a field has been set.

func (*Device) HasAlwaysPxe ¶

func (o *Device) HasAlwaysPxe() bool

HasAlwaysPxe returns a boolean if a field has been set.

func (*Device) HasBillingCycle ¶

func (o *Device) HasBillingCycle() bool

HasBillingCycle returns a boolean if a field has been set.

func (*Device) HasBondingMode ¶

func (o *Device) HasBondingMode() bool

HasBondingMode returns a boolean if a field has been set.

func (*Device) HasCreatedAt ¶

func (o *Device) HasCreatedAt() bool

HasCreatedAt returns a boolean if a field has been set.

func (*Device) HasCreatedBy ¶

func (o *Device) HasCreatedBy() bool

HasCreatedBy returns a boolean if a field has been set.

func (*Device) HasCustomdata ¶

func (o *Device) HasCustomdata() bool

HasCustomdata returns a boolean if a field has been set.

func (*Device) HasDescription ¶

func (o *Device) HasDescription() bool

HasDescription returns a boolean if a field has been set.

func (*Device) HasFacility ¶

func (o *Device) HasFacility() bool

HasFacility returns a boolean if a field has been set.

func (*Device) HasFirmwareSetId ¶ added in v0.21.0

func (o *Device) HasFirmwareSetId() bool

HasFirmwareSetId returns a boolean if a field has been set.

func (*Device) HasHardwareReservation ¶

func (o *Device) HasHardwareReservation() bool

HasHardwareReservation returns a boolean if a field has been set.

func (*Device) HasHostname ¶

func (o *Device) HasHostname() bool

HasHostname returns a boolean if a field has been set.

func (*Device) HasHref ¶

func (o *Device) HasHref() bool

HasHref returns a boolean if a field has been set.

func (*Device) HasId ¶

func (o *Device) HasId() bool

HasId returns a boolean if a field has been set.

func (*Device) HasImageUrl ¶

func (o *Device) HasImageUrl() bool

HasImageUrl returns a boolean if a field has been set.

func (*Device) HasIpAddresses ¶

func (o *Device) HasIpAddresses() bool

HasIpAddresses returns a boolean if a field has been set.

func (*Device) HasIpxeScriptUrl ¶

func (o *Device) HasIpxeScriptUrl() bool

HasIpxeScriptUrl returns a boolean if a field has been set.

func (*Device) HasIqn ¶

func (o *Device) HasIqn() bool

HasIqn returns a boolean if a field has been set.

func (*Device) HasLocked ¶

func (o *Device) HasLocked() bool

HasLocked returns a boolean if a field has been set.

func (*Device) HasMetro ¶

func (o *Device) HasMetro() bool

HasMetro returns a boolean if a field has been set.

func (*Device) HasNetworkFrozen ¶ added in v0.10.0

func (o *Device) HasNetworkFrozen() bool

HasNetworkFrozen returns a boolean if a field has been set.

func (*Device) HasNetworkPorts ¶

func (o *Device) HasNetworkPorts() bool

HasNetworkPorts returns a boolean if a field has been set.

func (*Device) HasOperatingSystem ¶

func (o *Device) HasOperatingSystem() bool

HasOperatingSystem returns a boolean if a field has been set.

func (*Device) HasPlan ¶

func (o *Device) HasPlan() bool

HasPlan returns a boolean if a field has been set.

func (*Device) HasProject ¶

func (o *Device) HasProject() bool

HasProject returns a boolean if a field has been set.

func (*Device) HasProjectLite ¶

func (o *Device) HasProjectLite() bool

HasProjectLite returns a boolean if a field has been set.

func (*Device) HasProvisioningEvents ¶

func (o *Device) HasProvisioningEvents() bool

HasProvisioningEvents returns a boolean if a field has been set.

func (*Device) HasProvisioningPercentage ¶

func (o *Device) HasProvisioningPercentage() bool

HasProvisioningPercentage returns a boolean if a field has been set.

func (*Device) HasRootPassword ¶

func (o *Device) HasRootPassword() bool

HasRootPassword returns a boolean if a field has been set.

func (*Device) HasShortId ¶

func (o *Device) HasShortId() bool

HasShortId returns a boolean if a field has been set.

func (*Device) HasSos ¶ added in v0.8.0

func (o *Device) HasSos() bool

HasSos returns a boolean if a field has been set.

func (*Device) HasSpotInstance ¶

func (o *Device) HasSpotInstance() bool

HasSpotInstance returns a boolean if a field has been set.

func (*Device) HasSpotPriceMax ¶

func (o *Device) HasSpotPriceMax() bool

HasSpotPriceMax returns a boolean if a field has been set.

func (*Device) HasSshKeys ¶

func (o *Device) HasSshKeys() bool

HasSshKeys returns a boolean if a field has been set.

func (*Device) HasState ¶

func (o *Device) HasState() bool

HasState returns a boolean if a field has been set.

func (*Device) HasStorage ¶ added in v0.6.0

func (o *Device) HasStorage() bool

HasStorage returns a boolean if a field has been set.

func (*Device) HasSwitchUuid ¶

func (o *Device) HasSwitchUuid() bool

HasSwitchUuid returns a boolean if a field has been set.

func (*Device) HasTags ¶

func (o *Device) HasTags() bool

HasTags returns a boolean if a field has been set.

func (*Device) HasTerminationTime ¶

func (o *Device) HasTerminationTime() bool

HasTerminationTime returns a boolean if a field has been set.

func (*Device) HasUpdatedAt ¶

func (o *Device) HasUpdatedAt() bool

HasUpdatedAt returns a boolean if a field has been set.

func (*Device) HasUser ¶

func (o *Device) HasUser() bool

HasUser returns a boolean if a field has been set.

func (*Device) HasUserdata ¶

func (o *Device) HasUserdata() bool

HasUserdata returns a boolean if a field has been set.

func (*Device) HasVolumes ¶

func (o *Device) HasVolumes() bool

HasVolumes returns a boolean if a field has been set.

func (Device) MarshalJSON ¶

func (o Device) MarshalJSON() ([]byte, error)

func (*Device) SetActions ¶ added in v0.3.0

func (o *Device) SetActions(v []DeviceActionsInner)

SetActions gets a reference to the given []DeviceActionsInner and assigns it to the Actions field.

func (*Device) SetAlwaysPxe ¶

func (o *Device) SetAlwaysPxe(v bool)

SetAlwaysPxe gets a reference to the given bool and assigns it to the AlwaysPxe field.

func (*Device) SetBillingCycle ¶

func (o *Device) SetBillingCycle(v string)

SetBillingCycle gets a reference to the given string and assigns it to the BillingCycle field.

func (*Device) SetBondingMode ¶

func (o *Device) SetBondingMode(v int32)

SetBondingMode gets a reference to the given int32 and assigns it to the BondingMode field.

func (*Device) SetCreatedAt ¶

func (o *Device) SetCreatedAt(v time.Time)

SetCreatedAt gets a reference to the given time.Time and assigns it to the CreatedAt field.

func (*Device) SetCreatedBy ¶

func (o *Device) SetCreatedBy(v DeviceCreatedBy)

SetCreatedBy gets a reference to the given DeviceCreatedBy and assigns it to the CreatedBy field.

func (*Device) SetCustomdata ¶

func (o *Device) SetCustomdata(v map[string]interface{})

SetCustomdata gets a reference to the given map[string]interface{} and assigns it to the Customdata field.

func (*Device) SetDescription ¶

func (o *Device) SetDescription(v string)

SetDescription gets a reference to the given string and assigns it to the Description field.

func (*Device) SetFacility ¶

func (o *Device) SetFacility(v Facility)

SetFacility gets a reference to the given Facility and assigns it to the Facility field.

func (*Device) SetFirmwareSetId ¶ added in v0.21.0

func (o *Device) SetFirmwareSetId(v string)

SetFirmwareSetId gets a reference to the given string and assigns it to the FirmwareSetId field.

func (*Device) SetHardwareReservation ¶

func (o *Device) SetHardwareReservation(v HardwareReservation)

SetHardwareReservation gets a reference to the given HardwareReservation and assigns it to the HardwareReservation field.

func (*Device) SetHostname ¶

func (o *Device) SetHostname(v string)

SetHostname gets a reference to the given string and assigns it to the Hostname field.

func (*Device) SetHref ¶

func (o *Device) SetHref(v string)

SetHref gets a reference to the given string and assigns it to the Href field.

func (*Device) SetId ¶

func (o *Device) SetId(v string)

SetId gets a reference to the given string and assigns it to the Id field.

func (*Device) SetImageUrl ¶

func (o *Device) SetImageUrl(v string)

SetImageUrl gets a reference to the given string and assigns it to the ImageUrl field.

func (*Device) SetIpAddresses ¶

func (o *Device) SetIpAddresses(v []IPAssignment)

SetIpAddresses gets a reference to the given []IPAssignment and assigns it to the IpAddresses field.

func (*Device) SetIpxeScriptUrl ¶

func (o *Device) SetIpxeScriptUrl(v string)

SetIpxeScriptUrl gets a reference to the given string and assigns it to the IpxeScriptUrl field.

func (*Device) SetIqn ¶

func (o *Device) SetIqn(v string)

SetIqn gets a reference to the given string and assigns it to the Iqn field.

func (*Device) SetLocked ¶

func (o *Device) SetLocked(v bool)

SetLocked gets a reference to the given bool and assigns it to the Locked field.

func (*Device) SetMetro ¶

func (o *Device) SetMetro(v DeviceMetro)

SetMetro gets a reference to the given DeviceMetro and assigns it to the Metro field.

func (*Device) SetNetworkFrozen ¶ added in v0.10.0

func (o *Device) SetNetworkFrozen(v bool)

SetNetworkFrozen gets a reference to the given bool and assigns it to the NetworkFrozen field.

func (*Device) SetNetworkPorts ¶

func (o *Device) SetNetworkPorts(v []Port)

SetNetworkPorts gets a reference to the given []Port and assigns it to the NetworkPorts field.

func (*Device) SetOperatingSystem ¶

func (o *Device) SetOperatingSystem(v OperatingSystem)

SetOperatingSystem gets a reference to the given OperatingSystem and assigns it to the OperatingSystem field.

func (*Device) SetPlan ¶

func (o *Device) SetPlan(v Plan)

SetPlan gets a reference to the given Plan and assigns it to the Plan field.

func (*Device) SetProject ¶

func (o *Device) SetProject(v Project)

SetProject gets a reference to the given Project and assigns it to the Project field.

func (*Device) SetProjectLite ¶

func (o *Device) SetProjectLite(v DeviceProjectLite)

SetProjectLite gets a reference to the given DeviceProjectLite and assigns it to the ProjectLite field.

func (*Device) SetProvisioningEvents ¶

func (o *Device) SetProvisioningEvents(v []Event)

SetProvisioningEvents gets a reference to the given []Event and assigns it to the ProvisioningEvents field.

func (*Device) SetProvisioningPercentage ¶

func (o *Device) SetProvisioningPercentage(v float32)

SetProvisioningPercentage gets a reference to the given float32 and assigns it to the ProvisioningPercentage field.

func (*Device) SetRootPassword ¶

func (o *Device) SetRootPassword(v string)

SetRootPassword gets a reference to the given string and assigns it to the RootPassword field.

func (*Device) SetShortId ¶

func (o *Device) SetShortId(v string)

SetShortId gets a reference to the given string and assigns it to the ShortId field.

func (*Device) SetSos ¶ added in v0.8.0

func (o *Device) SetSos(v string)

SetSos gets a reference to the given string and assigns it to the Sos field.

func (*Device) SetSpotInstance ¶

func (o *Device) SetSpotInstance(v bool)

SetSpotInstance gets a reference to the given bool and assigns it to the SpotInstance field.

func (*Device) SetSpotPriceMax ¶

func (o *Device) SetSpotPriceMax(v float32)

SetSpotPriceMax gets a reference to the given float32 and assigns it to the SpotPriceMax field.

func (*Device) SetSshKeys ¶

func (o *Device) SetSshKeys(v []Href)

SetSshKeys gets a reference to the given []Href and assigns it to the SshKeys field.

func (*Device) SetState ¶

func (o *Device) SetState(v DeviceState)

SetState gets a reference to the given DeviceState and assigns it to the State field.

func (*Device) SetStorage ¶ added in v0.6.0

func (o *Device) SetStorage(v Storage)

SetStorage gets a reference to the given Storage and assigns it to the Storage field.

func (*Device) SetSwitchUuid ¶

func (o *Device) SetSwitchUuid(v string)

SetSwitchUuid gets a reference to the given string and assigns it to the SwitchUuid field.

func (*Device) SetTags ¶

func (o *Device) SetTags(v []string)

SetTags gets a reference to the given []string and assigns it to the Tags field.

func (*Device) SetTerminationTime ¶

func (o *Device) SetTerminationTime(v time.Time)

SetTerminationTime gets a reference to the given time.Time and assigns it to the TerminationTime field.

func (*Device) SetUpdatedAt ¶

func (o *Device) SetUpdatedAt(v time.Time)

SetUpdatedAt gets a reference to the given time.Time and assigns it to the UpdatedAt field.

func (*Device) SetUser ¶

func (o *Device) SetUser(v string)

SetUser gets a reference to the given string and assigns it to the User field.

func (*Device) SetUserdata ¶

func (o *Device) SetUserdata(v string)

SetUserdata gets a reference to the given string and assigns it to the Userdata field.

func (*Device) SetVolumes ¶

func (o *Device) SetVolumes(v []Href)

SetVolumes gets a reference to the given []Href and assigns it to the Volumes field.

func (Device) ToMap ¶ added in v0.4.0

func (o Device) ToMap() (map[string]interface{}, error)

func (*Device) UnmarshalJSON ¶ added in v0.7.0

func (o *Device) UnmarshalJSON(bytes []byte) (err error)

type DeviceActionInput ¶ added in v0.4.0

type DeviceActionInput struct {
	Type DeviceActionInputType `json:"type"`
	// May be required to perform actions under certain conditions
	ForceDelete *bool `json:"force_delete,omitempty"`
	// When type is `reinstall`, enabling fast deprovisioning will bypass full disk wiping.
	DeprovisionFast *bool `json:"deprovision_fast,omitempty"`
	// When type is `reinstall`, preserve the existing data on all disks except the operating-system disk.
	PreserveData *bool `json:"preserve_data,omitempty"`
	// When type is `reinstall`, use this `operating_system` (defaults to the current `operating system`)
	OperatingSystem *string `json:"operating_system,omitempty"`
	// When type is `reinstall`, use this `ipxe_script_url` (`operating_system` must be `custom_ipxe`, defaults to the current `ipxe_script_url`)
	IpxeScriptUrl        *string `json:"ipxe_script_url,omitempty"`
	AdditionalProperties map[string]interface{}
}

DeviceActionInput struct for DeviceActionInput

func NewDeviceActionInput ¶ added in v0.4.0

func NewDeviceActionInput(type_ DeviceActionInputType) *DeviceActionInput

NewDeviceActionInput instantiates a new DeviceActionInput object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewDeviceActionInputWithDefaults ¶ added in v0.4.0

func NewDeviceActionInputWithDefaults() *DeviceActionInput

NewDeviceActionInputWithDefaults instantiates a new DeviceActionInput object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*DeviceActionInput) GetDeprovisionFast ¶ added in v0.4.0

func (o *DeviceActionInput) GetDeprovisionFast() bool

GetDeprovisionFast returns the DeprovisionFast field value if set, zero value otherwise.

func (*DeviceActionInput) GetDeprovisionFastOk ¶ added in v0.4.0

func (o *DeviceActionInput) GetDeprovisionFastOk() (*bool, bool)

GetDeprovisionFastOk returns a tuple with the DeprovisionFast field value if set, nil otherwise and a boolean to check if the value has been set.

func (*DeviceActionInput) GetForceDelete ¶ added in v0.4.0

func (o *DeviceActionInput) GetForceDelete() bool

GetForceDelete returns the ForceDelete field value if set, zero value otherwise.

func (*DeviceActionInput) GetForceDeleteOk ¶ added in v0.4.0

func (o *DeviceActionInput) GetForceDeleteOk() (*bool, bool)

GetForceDeleteOk returns a tuple with the ForceDelete field value if set, nil otherwise and a boolean to check if the value has been set.

func (*DeviceActionInput) GetIpxeScriptUrl ¶ added in v0.4.0

func (o *DeviceActionInput) GetIpxeScriptUrl() string

GetIpxeScriptUrl returns the IpxeScriptUrl field value if set, zero value otherwise.

func (*DeviceActionInput) GetIpxeScriptUrlOk ¶ added in v0.4.0

func (o *DeviceActionInput) GetIpxeScriptUrlOk() (*string, bool)

GetIpxeScriptUrlOk returns a tuple with the IpxeScriptUrl field value if set, nil otherwise and a boolean to check if the value has been set.

func (*DeviceActionInput) GetOperatingSystem ¶ added in v0.4.0

func (o *DeviceActionInput) GetOperatingSystem() string

GetOperatingSystem returns the OperatingSystem field value if set, zero value otherwise.

func (*DeviceActionInput) GetOperatingSystemOk ¶ added in v0.4.0

func (o *DeviceActionInput) GetOperatingSystemOk() (*string, bool)

GetOperatingSystemOk returns a tuple with the OperatingSystem field value if set, nil otherwise and a boolean to check if the value has been set.

func (*DeviceActionInput) GetPreserveData ¶ added in v0.4.0

func (o *DeviceActionInput) GetPreserveData() bool

GetPreserveData returns the PreserveData field value if set, zero value otherwise.

func (*DeviceActionInput) GetPreserveDataOk ¶ added in v0.4.0

func (o *DeviceActionInput) GetPreserveDataOk() (*bool, bool)

GetPreserveDataOk returns a tuple with the PreserveData field value if set, nil otherwise and a boolean to check if the value has been set.

func (*DeviceActionInput) GetType ¶ added in v0.4.0

GetType returns the Type field value

func (*DeviceActionInput) GetTypeOk ¶ added in v0.4.0

func (o *DeviceActionInput) GetTypeOk() (*DeviceActionInputType, bool)

GetTypeOk returns a tuple with the Type field value and a boolean to check if the value has been set.

func (*DeviceActionInput) HasDeprovisionFast ¶ added in v0.4.0

func (o *DeviceActionInput) HasDeprovisionFast() bool

HasDeprovisionFast returns a boolean if a field has been set.

func (*DeviceActionInput) HasForceDelete ¶ added in v0.4.0

func (o *DeviceActionInput) HasForceDelete() bool

HasForceDelete returns a boolean if a field has been set.

func (*DeviceActionInput) HasIpxeScriptUrl ¶ added in v0.4.0

func (o *DeviceActionInput) HasIpxeScriptUrl() bool

HasIpxeScriptUrl returns a boolean if a field has been set.

func (*DeviceActionInput) HasOperatingSystem ¶ added in v0.4.0

func (o *DeviceActionInput) HasOperatingSystem() bool

HasOperatingSystem returns a boolean if a field has been set.

func (*DeviceActionInput) HasPreserveData ¶ added in v0.4.0

func (o *DeviceActionInput) HasPreserveData() bool

HasPreserveData returns a boolean if a field has been set.

func (DeviceActionInput) MarshalJSON ¶ added in v0.4.0

func (o DeviceActionInput) MarshalJSON() ([]byte, error)

func (*DeviceActionInput) SetDeprovisionFast ¶ added in v0.4.0

func (o *DeviceActionInput) SetDeprovisionFast(v bool)

SetDeprovisionFast gets a reference to the given bool and assigns it to the DeprovisionFast field.

func (*DeviceActionInput) SetForceDelete ¶ added in v0.4.0

func (o *DeviceActionInput) SetForceDelete(v bool)

SetForceDelete gets a reference to the given bool and assigns it to the ForceDelete field.

func (*DeviceActionInput) SetIpxeScriptUrl ¶ added in v0.4.0

func (o *DeviceActionInput) SetIpxeScriptUrl(v string)

SetIpxeScriptUrl gets a reference to the given string and assigns it to the IpxeScriptUrl field.

func (*DeviceActionInput) SetOperatingSystem ¶ added in v0.4.0

func (o *DeviceActionInput) SetOperatingSystem(v string)

SetOperatingSystem gets a reference to the given string and assigns it to the OperatingSystem field.

func (*DeviceActionInput) SetPreserveData ¶ added in v0.4.0

func (o *DeviceActionInput) SetPreserveData(v bool)

SetPreserveData gets a reference to the given bool and assigns it to the PreserveData field.

func (*DeviceActionInput) SetType ¶ added in v0.4.0

SetType sets field value

func (DeviceActionInput) ToMap ¶ added in v0.4.0

func (o DeviceActionInput) ToMap() (map[string]interface{}, error)

func (*DeviceActionInput) UnmarshalJSON ¶ added in v0.7.0

func (o *DeviceActionInput) UnmarshalJSON(bytes []byte) (err error)

type DeviceActionInputType ¶ added in v0.22.0

type DeviceActionInputType string

DeviceActionInputType Action to perform. See Device.actions for possible actions.

const (
	DEVICEACTIONINPUTTYPE_POWER_ON  DeviceActionInputType = "power_on"
	DEVICEACTIONINPUTTYPE_POWER_OFF DeviceActionInputType = "power_off"
	DEVICEACTIONINPUTTYPE_REBOOT    DeviceActionInputType = "reboot"
	DEVICEACTIONINPUTTYPE_RESCUE    DeviceActionInputType = "rescue"
	DEVICEACTIONINPUTTYPE_REINSTALL DeviceActionInputType = "reinstall"
)

List of DeviceActionInput_type

func NewDeviceActionInputTypeFromValue ¶ added in v0.22.0

func NewDeviceActionInputTypeFromValue(v string) (*DeviceActionInputType, error)

NewDeviceActionInputTypeFromValue returns a pointer to a valid DeviceActionInputType for the value passed as argument, or an error if the value passed is not allowed by the enum

func (DeviceActionInputType) IsValid ¶ added in v0.22.0

func (v DeviceActionInputType) IsValid() bool

IsValid return true if the value is valid for the enum, false otherwise

func (DeviceActionInputType) Ptr ¶ added in v0.22.0

Ptr returns reference to DeviceActionInput_type value

func (*DeviceActionInputType) UnmarshalJSON ¶ added in v0.22.0

func (v *DeviceActionInputType) UnmarshalJSON(src []byte) error

type DeviceActionsInner ¶ added in v0.4.0

type DeviceActionsInner struct {
	Type                 *string `json:"type,omitempty"`
	Name                 *string `json:"name,omitempty"`
	AdditionalProperties map[string]interface{}
}

DeviceActionsInner struct for DeviceActionsInner

func NewDeviceActionsInner ¶ added in v0.4.0

func NewDeviceActionsInner() *DeviceActionsInner

NewDeviceActionsInner instantiates a new DeviceActionsInner object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewDeviceActionsInnerWithDefaults ¶ added in v0.4.0

func NewDeviceActionsInnerWithDefaults() *DeviceActionsInner

NewDeviceActionsInnerWithDefaults instantiates a new DeviceActionsInner object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*DeviceActionsInner) GetName ¶ added in v0.4.0

func (o *DeviceActionsInner) GetName() string

GetName returns the Name field value if set, zero value otherwise.

func (*DeviceActionsInner) GetNameOk ¶ added in v0.4.0

func (o *DeviceActionsInner) GetNameOk() (*string, bool)

GetNameOk returns a tuple with the Name field value if set, nil otherwise and a boolean to check if the value has been set.

func (*DeviceActionsInner) GetType ¶ added in v0.4.0

func (o *DeviceActionsInner) GetType() string

GetType returns the Type field value if set, zero value otherwise.

func (*DeviceActionsInner) GetTypeOk ¶ added in v0.4.0

func (o *DeviceActionsInner) GetTypeOk() (*string, bool)

GetTypeOk returns a tuple with the Type field value if set, nil otherwise and a boolean to check if the value has been set.

func (*DeviceActionsInner) HasName ¶ added in v0.4.0

func (o *DeviceActionsInner) HasName() bool

HasName returns a boolean if a field has been set.

func (*DeviceActionsInner) HasType ¶ added in v0.4.0

func (o *DeviceActionsInner) HasType() bool

HasType returns a boolean if a field has been set.

func (DeviceActionsInner) MarshalJSON ¶ added in v0.4.0

func (o DeviceActionsInner) MarshalJSON() ([]byte, error)

func (*DeviceActionsInner) SetName ¶ added in v0.4.0

func (o *DeviceActionsInner) SetName(v string)

SetName gets a reference to the given string and assigns it to the Name field.

func (*DeviceActionsInner) SetType ¶ added in v0.4.0

func (o *DeviceActionsInner) SetType(v string)

SetType gets a reference to the given string and assigns it to the Type field.

func (DeviceActionsInner) ToMap ¶ added in v0.4.0

func (o DeviceActionsInner) ToMap() (map[string]interface{}, error)

func (*DeviceActionsInner) UnmarshalJSON ¶ added in v0.7.0

func (o *DeviceActionsInner) UnmarshalJSON(bytes []byte) (err error)

type DeviceCreateInFacilityInput ¶ added in v0.3.0

type DeviceCreateInFacilityInput struct {
	// The datacenter where the device should be created.  Either metro or facility must be provided.  The API will accept either a single facility `{ \"facility\": \"f1\" }`, or it can be instructed to create the device in the best available datacenter `{ \"facility\": \"any\" }`.  Additionally it is possible to set a prioritized location selection. For example `{ \"facility\": [\"f3\", \"f2\", \"any\"] }` can be used to prioritize `f3` and then `f2` before accepting `any` facility. If none of the facilities provided have availability for the requested device the request will fail.
	// Deprecated
	Facility []string `json:"facility"`
	// When true, devices with a `custom_ipxe` OS will always boot to iPXE. The default setting of false ensures that iPXE will be used on only the first boot.
	AlwaysPxe    *bool                          `json:"always_pxe,omitempty"`
	BillingCycle *DeviceCreateInputBillingCycle `json:"billing_cycle,omitempty"`
	// Customdata is an arbitrary JSON value that can be accessed via the metadata service.
	Customdata map[string]interface{} `json:"customdata,omitempty"`
	// Any description of the device or how it will be used. This may be used to inform other API consumers with project access.
	Description *string `json:"description,omitempty"`
	// The features attribute allows you to optionally specify what features your server should have.  In the API shorthand syntax, all features listed are `required`:  “` { \"features\": [\"tpm\"] } “`  Alternatively, if you do not require a certain feature, but would prefer to be assigned a server with that feature if there are any available, you may specify that feature with a `preferred` value. The request will not fail if we have no servers with that feature in our inventory. The API offers an alternative syntax for mixing preferred and required features:  “` { \"features\": { \"tpm\": \"required\", \"raid\": \"preferred\" } } “`  The request will only fail if there are no available servers matching the required `tpm` criteria.
	Features []string `json:"features,omitempty"`
	// The Hardware Reservation UUID to provision. Alternatively, `next-available` can be specified to select from any of the available hardware reservations. An error will be returned if the requested reservation option is not available.  See [Reserved Hardware](https://metal.equinix.com/developers/docs/deploy/reserved/) for more details.
	HardwareReservationId *string `json:"hardware_reservation_id,omitempty"`
	// The hostname to use within the operating system. The same hostname may be used on multiple devices within a project.
	Hostname *string `json:"hostname,omitempty"`
	// The `ip_addresses attribute will allow you to specify the addresses you want created with your device.  The default value configures public IPv4, public IPv6, and private IPv4.  Private IPv4 address is required. When specifying `ip_addresses`, one of the array items must enable private IPv4.  Some operating systems require public IPv4 address. In those cases you will receive an error message if public IPv4 is not enabled.  For example, to only configure your server with a private IPv4 address, you can send `{ \"ip_addresses\": [{ \"address_family\": 4, \"public\": false }] }`.  It is possible to request a subnet size larger than a `/30` by assigning addresses using the UUID(s) of ip_reservations in your project.  For example, `{ \"ip_addresses\": [..., {\"address_family\": 4, \"public\": true, \"ip_reservations\": [\"uuid1\", \"uuid2\"]}] }`  To access a server without public IPs, you can use our Out-of-Band console access (SOS) or proxy through another server in the project with public IPs enabled.
	IpAddresses []IPAddress `json:"ip_addresses,omitempty"`
	// When set, the device will chainload an iPXE Script at boot fetched from the supplied URL.  See [Custom iPXE](https://metal.equinix.com/developers/docs/operating-systems/custom-ipxe/) for more details.
	IpxeScriptUrl *string `json:"ipxe_script_url,omitempty"`
	// Whether the device should be locked, preventing accidental deletion.
	Locked *bool `json:"locked,omitempty"`
	// If true, this instance can not be converted to a different network type.
	NetworkFrozen *bool `json:"network_frozen,omitempty"`
	// Overrides default behaviour of attaching all of the organization members ssh keys and project ssh keys to device if no specific keys specified
	NoSshKeys *bool `json:"no_ssh_keys,omitempty"`
	// The slug of the operating system to provision. Check the Equinix Metal operating system documentation for rules that may be imposed per operating system, including restrictions on IP address options and device plans.
	OperatingSystem string `json:"operating_system"`
	// The slug of the device plan to provision.
	Plan string `json:"plan"`
	// Deprecated. Use ip_addresses. Subnet range for addresses allocated to this device.
	PrivateIpv4SubnetSize *int32 `json:"private_ipv4_subnet_size,omitempty"`
	// A list of UUIDs identifying the device parent project that should be authorized to access this device (typically via /root/.ssh/authorized_keys). These keys will also appear in the device metadata.  If no SSH keys are specified (`user_ssh_keys`, `project_ssh_keys`, and `ssh_keys` are all empty lists or omitted), all parent project keys, parent project members keys and organization members keys will be included. This behaviour can be changed with 'no_ssh_keys' option to omit any SSH key being added.
	ProjectSshKeys []string `json:"project_ssh_keys,omitempty"`
	// Deprecated. Use ip_addresses. Subnet range for addresses allocated to this device. Your project must have addresses available for a non-default request.
	PublicIpv4SubnetSize *int32 `json:"public_ipv4_subnet_size,omitempty"`
	// Create a spot instance. Spot instances are created with a maximum bid price. If the bid price is not met, the spot instance will be terminated as indicated by the `termination_time` field.
	SpotInstance *bool `json:"spot_instance,omitempty"`
	// The maximum amount to bid for a spot instance.
	SpotPriceMax *float32 `json:"spot_price_max,omitempty"`
	// A list of new or existing project ssh_keys that should be authorized to access this device (typically via /root/.ssh/authorized_keys). These keys will also appear in the device metadata.  These keys are added in addition to any keys defined by   `project_ssh_keys` and `user_ssh_keys`.
	SshKeys []SSHKeyInput `json:"ssh_keys,omitempty"`
	Storage *Storage      `json:"storage,omitempty"`
	Tags    []string      `json:"tags,omitempty"`
	// When the device will be terminated. If you don't supply timezone info, the timestamp is assumed to be in UTC.  This is commonly set in advance for ephemeral spot market instances but this field may also be set with on-demand and reservation instances to automatically delete the resource at a given time. The termination time can also be used to release a hardware reservation instance at a given time, keeping the reservation open for other uses.  On a spot market device, the termination time will be set automatically when outbid.
	TerminationTime *time.Time `json:"termination_time,omitempty"`
	// A list of UUIDs identifying the users that should be authorized to access this device (typically via /root/.ssh/authorized_keys).  These keys will also appear in the device metadata.  The users must be members of the project or organization.  If no SSH keys are specified (`user_ssh_keys`, `project_ssh_keys`, and `ssh_keys` are all empty lists or omitted), all parent project keys, parent project members keys and organization members keys will be included. This behaviour can be changed with 'no_ssh_keys' option to omit any SSH key being added.
	UserSshKeys []string `json:"user_ssh_keys,omitempty"`
	// The userdata presented in the metadata service for this device.  Userdata is fetched and interpreted by the operating system installed on the device. Acceptable formats are determined by the operating system, with the exception of a special iPXE enabling syntax which is handled before the operating system starts.  See [Server User Data](https://metal.equinix.com/developers/docs/servers/user-data/) and [Provisioning with Custom iPXE](https://metal.equinix.com/developers/docs/operating-systems/custom-ipxe/#provisioning-with-custom-ipxe) for more details.
	Userdata             *string `json:"userdata,omitempty"`
	AdditionalProperties map[string]interface{}
}

DeviceCreateInFacilityInput struct for DeviceCreateInFacilityInput

func NewDeviceCreateInFacilityInput ¶ added in v0.3.0

func NewDeviceCreateInFacilityInput(facility []string, operatingSystem string, plan string) *DeviceCreateInFacilityInput

NewDeviceCreateInFacilityInput instantiates a new DeviceCreateInFacilityInput object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewDeviceCreateInFacilityInputWithDefaults ¶ added in v0.3.0

func NewDeviceCreateInFacilityInputWithDefaults() *DeviceCreateInFacilityInput

NewDeviceCreateInFacilityInputWithDefaults instantiates a new DeviceCreateInFacilityInput object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*DeviceCreateInFacilityInput) GetAlwaysPxe ¶ added in v0.3.0

func (o *DeviceCreateInFacilityInput) GetAlwaysPxe() bool

GetAlwaysPxe returns the AlwaysPxe field value if set, zero value otherwise.

func (*DeviceCreateInFacilityInput) GetAlwaysPxeOk ¶ added in v0.3.0

func (o *DeviceCreateInFacilityInput) GetAlwaysPxeOk() (*bool, bool)

GetAlwaysPxeOk returns a tuple with the AlwaysPxe field value if set, nil otherwise and a boolean to check if the value has been set.

func (*DeviceCreateInFacilityInput) GetBillingCycle ¶ added in v0.3.0

GetBillingCycle returns the BillingCycle field value if set, zero value otherwise.

func (*DeviceCreateInFacilityInput) GetBillingCycleOk ¶ added in v0.3.0

GetBillingCycleOk returns a tuple with the BillingCycle field value if set, nil otherwise and a boolean to check if the value has been set.

func (*DeviceCreateInFacilityInput) GetCustomdata ¶ added in v0.3.0

func (o *DeviceCreateInFacilityInput) GetCustomdata() map[string]interface{}

GetCustomdata returns the Customdata field value if set, zero value otherwise.

func (*DeviceCreateInFacilityInput) GetCustomdataOk ¶ added in v0.3.0

func (o *DeviceCreateInFacilityInput) GetCustomdataOk() (map[string]interface{}, bool)

GetCustomdataOk returns a tuple with the Customdata field value if set, nil otherwise and a boolean to check if the value has been set.

func (*DeviceCreateInFacilityInput) GetDescription ¶ added in v0.3.0

func (o *DeviceCreateInFacilityInput) GetDescription() string

GetDescription returns the Description field value if set, zero value otherwise.

func (*DeviceCreateInFacilityInput) GetDescriptionOk ¶ added in v0.3.0

func (o *DeviceCreateInFacilityInput) GetDescriptionOk() (*string, bool)

GetDescriptionOk returns a tuple with the Description field value if set, nil otherwise and a boolean to check if the value has been set.

func (*DeviceCreateInFacilityInput) GetFacility ¶ added in v0.3.0

func (o *DeviceCreateInFacilityInput) GetFacility() []string

GetFacility returns the Facility field value Deprecated

func (*DeviceCreateInFacilityInput) GetFacilityOk ¶ added in v0.3.0

func (o *DeviceCreateInFacilityInput) GetFacilityOk() ([]string, bool)

GetFacilityOk returns a tuple with the Facility field value and a boolean to check if the value has been set. Deprecated

func (*DeviceCreateInFacilityInput) GetFeatures ¶ added in v0.3.0

func (o *DeviceCreateInFacilityInput) GetFeatures() []string

GetFeatures returns the Features field value if set, zero value otherwise.

func (*DeviceCreateInFacilityInput) GetFeaturesOk ¶ added in v0.3.0

func (o *DeviceCreateInFacilityInput) GetFeaturesOk() ([]string, bool)

GetFeaturesOk returns a tuple with the Features field value if set, nil otherwise and a boolean to check if the value has been set.

func (*DeviceCreateInFacilityInput) GetHardwareReservationId ¶ added in v0.3.0

func (o *DeviceCreateInFacilityInput) GetHardwareReservationId() string

GetHardwareReservationId returns the HardwareReservationId field value if set, zero value otherwise.

func (*DeviceCreateInFacilityInput) GetHardwareReservationIdOk ¶ added in v0.3.0

func (o *DeviceCreateInFacilityInput) GetHardwareReservationIdOk() (*string, bool)

GetHardwareReservationIdOk returns a tuple with the HardwareReservationId field value if set, nil otherwise and a boolean to check if the value has been set.

func (*DeviceCreateInFacilityInput) GetHostname ¶ added in v0.3.0

func (o *DeviceCreateInFacilityInput) GetHostname() string

GetHostname returns the Hostname field value if set, zero value otherwise.

func (*DeviceCreateInFacilityInput) GetHostnameOk ¶ added in v0.3.0

func (o *DeviceCreateInFacilityInput) GetHostnameOk() (*string, bool)

GetHostnameOk returns a tuple with the Hostname field value if set, nil otherwise and a boolean to check if the value has been set.

func (*DeviceCreateInFacilityInput) GetIpAddresses ¶ added in v0.3.0

func (o *DeviceCreateInFacilityInput) GetIpAddresses() []IPAddress

GetIpAddresses returns the IpAddresses field value if set, zero value otherwise.

func (*DeviceCreateInFacilityInput) GetIpAddressesOk ¶ added in v0.3.0

func (o *DeviceCreateInFacilityInput) GetIpAddressesOk() ([]IPAddress, bool)

GetIpAddressesOk returns a tuple with the IpAddresses field value if set, nil otherwise and a boolean to check if the value has been set.

func (*DeviceCreateInFacilityInput) GetIpxeScriptUrl ¶ added in v0.3.0

func (o *DeviceCreateInFacilityInput) GetIpxeScriptUrl() string

GetIpxeScriptUrl returns the IpxeScriptUrl field value if set, zero value otherwise.

func (*DeviceCreateInFacilityInput) GetIpxeScriptUrlOk ¶ added in v0.3.0

func (o *DeviceCreateInFacilityInput) GetIpxeScriptUrlOk() (*string, bool)

GetIpxeScriptUrlOk returns a tuple with the IpxeScriptUrl field value if set, nil otherwise and a boolean to check if the value has been set.

func (*DeviceCreateInFacilityInput) GetLocked ¶ added in v0.3.0

func (o *DeviceCreateInFacilityInput) GetLocked() bool

GetLocked returns the Locked field value if set, zero value otherwise.

func (*DeviceCreateInFacilityInput) GetLockedOk ¶ added in v0.3.0

func (o *DeviceCreateInFacilityInput) GetLockedOk() (*bool, bool)

GetLockedOk returns a tuple with the Locked field value if set, nil otherwise and a boolean to check if the value has been set.

func (*DeviceCreateInFacilityInput) GetNetworkFrozen ¶ added in v0.10.0

func (o *DeviceCreateInFacilityInput) GetNetworkFrozen() bool

GetNetworkFrozen returns the NetworkFrozen field value if set, zero value otherwise.

func (*DeviceCreateInFacilityInput) GetNetworkFrozenOk ¶ added in v0.10.0

func (o *DeviceCreateInFacilityInput) GetNetworkFrozenOk() (*bool, bool)

GetNetworkFrozenOk returns a tuple with the NetworkFrozen field value if set, nil otherwise and a boolean to check if the value has been set.

func (*DeviceCreateInFacilityInput) GetNoSshKeys ¶ added in v0.3.0

func (o *DeviceCreateInFacilityInput) GetNoSshKeys() bool

GetNoSshKeys returns the NoSshKeys field value if set, zero value otherwise.

func (*DeviceCreateInFacilityInput) GetNoSshKeysOk ¶ added in v0.3.0

func (o *DeviceCreateInFacilityInput) GetNoSshKeysOk() (*bool, bool)

GetNoSshKeysOk returns a tuple with the NoSshKeys field value if set, nil otherwise and a boolean to check if the value has been set.

func (*DeviceCreateInFacilityInput) GetOperatingSystem ¶ added in v0.3.0

func (o *DeviceCreateInFacilityInput) GetOperatingSystem() string

GetOperatingSystem returns the OperatingSystem field value

func (*DeviceCreateInFacilityInput) GetOperatingSystemOk ¶ added in v0.3.0

func (o *DeviceCreateInFacilityInput) GetOperatingSystemOk() (*string, bool)

GetOperatingSystemOk returns a tuple with the OperatingSystem field value and a boolean to check if the value has been set.

func (*DeviceCreateInFacilityInput) GetPlan ¶ added in v0.3.0

func (o *DeviceCreateInFacilityInput) GetPlan() string

GetPlan returns the Plan field value

func (*DeviceCreateInFacilityInput) GetPlanOk ¶ added in v0.3.0

func (o *DeviceCreateInFacilityInput) GetPlanOk() (*string, bool)

GetPlanOk returns a tuple with the Plan field value and a boolean to check if the value has been set.

func (*DeviceCreateInFacilityInput) GetPrivateIpv4SubnetSize ¶ added in v0.3.0

func (o *DeviceCreateInFacilityInput) GetPrivateIpv4SubnetSize() int32

GetPrivateIpv4SubnetSize returns the PrivateIpv4SubnetSize field value if set, zero value otherwise.

func (*DeviceCreateInFacilityInput) GetPrivateIpv4SubnetSizeOk ¶ added in v0.3.0

func (o *DeviceCreateInFacilityInput) GetPrivateIpv4SubnetSizeOk() (*int32, bool)

GetPrivateIpv4SubnetSizeOk returns a tuple with the PrivateIpv4SubnetSize field value if set, nil otherwise and a boolean to check if the value has been set.

func (*DeviceCreateInFacilityInput) GetProjectSshKeys ¶ added in v0.3.0

func (o *DeviceCreateInFacilityInput) GetProjectSshKeys() []string

GetProjectSshKeys returns the ProjectSshKeys field value if set, zero value otherwise.

func (*DeviceCreateInFacilityInput) GetProjectSshKeysOk ¶ added in v0.3.0

func (o *DeviceCreateInFacilityInput) GetProjectSshKeysOk() ([]string, bool)

GetProjectSshKeysOk returns a tuple with the ProjectSshKeys field value if set, nil otherwise and a boolean to check if the value has been set.

func (*DeviceCreateInFacilityInput) GetPublicIpv4SubnetSize ¶ added in v0.3.0

func (o *DeviceCreateInFacilityInput) GetPublicIpv4SubnetSize() int32

GetPublicIpv4SubnetSize returns the PublicIpv4SubnetSize field value if set, zero value otherwise.

func (*DeviceCreateInFacilityInput) GetPublicIpv4SubnetSizeOk ¶ added in v0.3.0

func (o *DeviceCreateInFacilityInput) GetPublicIpv4SubnetSizeOk() (*int32, bool)

GetPublicIpv4SubnetSizeOk returns a tuple with the PublicIpv4SubnetSize field value if set, nil otherwise and a boolean to check if the value has been set.

func (*DeviceCreateInFacilityInput) GetSpotInstance ¶ added in v0.3.0

func (o *DeviceCreateInFacilityInput) GetSpotInstance() bool

GetSpotInstance returns the SpotInstance field value if set, zero value otherwise.

func (*DeviceCreateInFacilityInput) GetSpotInstanceOk ¶ added in v0.3.0

func (o *DeviceCreateInFacilityInput) GetSpotInstanceOk() (*bool, bool)

GetSpotInstanceOk returns a tuple with the SpotInstance field value if set, nil otherwise and a boolean to check if the value has been set.

func (*DeviceCreateInFacilityInput) GetSpotPriceMax ¶ added in v0.3.0

func (o *DeviceCreateInFacilityInput) GetSpotPriceMax() float32

GetSpotPriceMax returns the SpotPriceMax field value if set, zero value otherwise.

func (*DeviceCreateInFacilityInput) GetSpotPriceMaxOk ¶ added in v0.3.0

func (o *DeviceCreateInFacilityInput) GetSpotPriceMaxOk() (*float32, bool)

GetSpotPriceMaxOk returns a tuple with the SpotPriceMax field value if set, nil otherwise and a boolean to check if the value has been set.

func (*DeviceCreateInFacilityInput) GetSshKeys ¶ added in v0.3.0

func (o *DeviceCreateInFacilityInput) GetSshKeys() []SSHKeyInput

GetSshKeys returns the SshKeys field value if set, zero value otherwise.

func (*DeviceCreateInFacilityInput) GetSshKeysOk ¶ added in v0.3.0

func (o *DeviceCreateInFacilityInput) GetSshKeysOk() ([]SSHKeyInput, bool)

GetSshKeysOk returns a tuple with the SshKeys field value if set, nil otherwise and a boolean to check if the value has been set.

func (*DeviceCreateInFacilityInput) GetStorage ¶ added in v0.15.0

func (o *DeviceCreateInFacilityInput) GetStorage() Storage

GetStorage returns the Storage field value if set, zero value otherwise.

func (*DeviceCreateInFacilityInput) GetStorageOk ¶ added in v0.15.0

func (o *DeviceCreateInFacilityInput) GetStorageOk() (*Storage, bool)

GetStorageOk returns a tuple with the Storage field value if set, nil otherwise and a boolean to check if the value has been set.

func (*DeviceCreateInFacilityInput) GetTags ¶ added in v0.3.0

func (o *DeviceCreateInFacilityInput) GetTags() []string

GetTags returns the Tags field value if set, zero value otherwise.

func (*DeviceCreateInFacilityInput) GetTagsOk ¶ added in v0.3.0

func (o *DeviceCreateInFacilityInput) GetTagsOk() ([]string, bool)

GetTagsOk returns a tuple with the Tags field value if set, nil otherwise and a boolean to check if the value has been set.

func (*DeviceCreateInFacilityInput) GetTerminationTime ¶ added in v0.3.0

func (o *DeviceCreateInFacilityInput) GetTerminationTime() time.Time

GetTerminationTime returns the TerminationTime field value if set, zero value otherwise.

func (*DeviceCreateInFacilityInput) GetTerminationTimeOk ¶ added in v0.3.0

func (o *DeviceCreateInFacilityInput) GetTerminationTimeOk() (*time.Time, bool)

GetTerminationTimeOk returns a tuple with the TerminationTime field value if set, nil otherwise and a boolean to check if the value has been set.

func (*DeviceCreateInFacilityInput) GetUserSshKeys ¶ added in v0.3.0

func (o *DeviceCreateInFacilityInput) GetUserSshKeys() []string

GetUserSshKeys returns the UserSshKeys field value if set, zero value otherwise.

func (*DeviceCreateInFacilityInput) GetUserSshKeysOk ¶ added in v0.3.0

func (o *DeviceCreateInFacilityInput) GetUserSshKeysOk() ([]string, bool)

GetUserSshKeysOk returns a tuple with the UserSshKeys field value if set, nil otherwise and a boolean to check if the value has been set.

func (*DeviceCreateInFacilityInput) GetUserdata ¶ added in v0.3.0

func (o *DeviceCreateInFacilityInput) GetUserdata() string

GetUserdata returns the Userdata field value if set, zero value otherwise.

func (*DeviceCreateInFacilityInput) GetUserdataOk ¶ added in v0.3.0

func (o *DeviceCreateInFacilityInput) GetUserdataOk() (*string, bool)

GetUserdataOk returns a tuple with the Userdata field value if set, nil otherwise and a boolean to check if the value has been set.

func (*DeviceCreateInFacilityInput) HasAlwaysPxe ¶ added in v0.3.0

func (o *DeviceCreateInFacilityInput) HasAlwaysPxe() bool

HasAlwaysPxe returns a boolean if a field has been set.

func (*DeviceCreateInFacilityInput) HasBillingCycle ¶ added in v0.3.0

func (o *DeviceCreateInFacilityInput) HasBillingCycle() bool

HasBillingCycle returns a boolean if a field has been set.

func (*DeviceCreateInFacilityInput) HasCustomdata ¶ added in v0.3.0

func (o *DeviceCreateInFacilityInput) HasCustomdata() bool

HasCustomdata returns a boolean if a field has been set.

func (*DeviceCreateInFacilityInput) HasDescription ¶ added in v0.3.0

func (o *DeviceCreateInFacilityInput) HasDescription() bool

HasDescription returns a boolean if a field has been set.

func (*DeviceCreateInFacilityInput) HasFeatures ¶ added in v0.3.0

func (o *DeviceCreateInFacilityInput) HasFeatures() bool

HasFeatures returns a boolean if a field has been set.

func (*DeviceCreateInFacilityInput) HasHardwareReservationId ¶ added in v0.3.0

func (o *DeviceCreateInFacilityInput) HasHardwareReservationId() bool

HasHardwareReservationId returns a boolean if a field has been set.

func (*DeviceCreateInFacilityInput) HasHostname ¶ added in v0.3.0

func (o *DeviceCreateInFacilityInput) HasHostname() bool

HasHostname returns a boolean if a field has been set.

func (*DeviceCreateInFacilityInput) HasIpAddresses ¶ added in v0.3.0

func (o *DeviceCreateInFacilityInput) HasIpAddresses() bool

HasIpAddresses returns a boolean if a field has been set.

func (*DeviceCreateInFacilityInput) HasIpxeScriptUrl ¶ added in v0.3.0

func (o *DeviceCreateInFacilityInput) HasIpxeScriptUrl() bool

HasIpxeScriptUrl returns a boolean if a field has been set.

func (*DeviceCreateInFacilityInput) HasLocked ¶ added in v0.3.0

func (o *DeviceCreateInFacilityInput) HasLocked() bool

HasLocked returns a boolean if a field has been set.

func (*DeviceCreateInFacilityInput) HasNetworkFrozen ¶ added in v0.10.0

func (o *DeviceCreateInFacilityInput) HasNetworkFrozen() bool

HasNetworkFrozen returns a boolean if a field has been set.

func (*DeviceCreateInFacilityInput) HasNoSshKeys ¶ added in v0.3.0

func (o *DeviceCreateInFacilityInput) HasNoSshKeys() bool

HasNoSshKeys returns a boolean if a field has been set.

func (*DeviceCreateInFacilityInput) HasPrivateIpv4SubnetSize ¶ added in v0.3.0

func (o *DeviceCreateInFacilityInput) HasPrivateIpv4SubnetSize() bool

HasPrivateIpv4SubnetSize returns a boolean if a field has been set.

func (*DeviceCreateInFacilityInput) HasProjectSshKeys ¶ added in v0.3.0

func (o *DeviceCreateInFacilityInput) HasProjectSshKeys() bool

HasProjectSshKeys returns a boolean if a field has been set.

func (*DeviceCreateInFacilityInput) HasPublicIpv4SubnetSize ¶ added in v0.3.0

func (o *DeviceCreateInFacilityInput) HasPublicIpv4SubnetSize() bool

HasPublicIpv4SubnetSize returns a boolean if a field has been set.

func (*DeviceCreateInFacilityInput) HasSpotInstance ¶ added in v0.3.0

func (o *DeviceCreateInFacilityInput) HasSpotInstance() bool

HasSpotInstance returns a boolean if a field has been set.

func (*DeviceCreateInFacilityInput) HasSpotPriceMax ¶ added in v0.3.0

func (o *DeviceCreateInFacilityInput) HasSpotPriceMax() bool

HasSpotPriceMax returns a boolean if a field has been set.

func (*DeviceCreateInFacilityInput) HasSshKeys ¶ added in v0.3.0

func (o *DeviceCreateInFacilityInput) HasSshKeys() bool

HasSshKeys returns a boolean if a field has been set.

func (*DeviceCreateInFacilityInput) HasStorage ¶ added in v0.15.0

func (o *DeviceCreateInFacilityInput) HasStorage() bool

HasStorage returns a boolean if a field has been set.

func (*DeviceCreateInFacilityInput) HasTags ¶ added in v0.3.0

func (o *DeviceCreateInFacilityInput) HasTags() bool

HasTags returns a boolean if a field has been set.

func (*DeviceCreateInFacilityInput) HasTerminationTime ¶ added in v0.3.0

func (o *DeviceCreateInFacilityInput) HasTerminationTime() bool

HasTerminationTime returns a boolean if a field has been set.

func (*DeviceCreateInFacilityInput) HasUserSshKeys ¶ added in v0.3.0

func (o *DeviceCreateInFacilityInput) HasUserSshKeys() bool

HasUserSshKeys returns a boolean if a field has been set.

func (*DeviceCreateInFacilityInput) HasUserdata ¶ added in v0.3.0

func (o *DeviceCreateInFacilityInput) HasUserdata() bool

HasUserdata returns a boolean if a field has been set.

func (DeviceCreateInFacilityInput) MarshalJSON ¶ added in v0.3.0

func (o DeviceCreateInFacilityInput) MarshalJSON() ([]byte, error)

func (*DeviceCreateInFacilityInput) SetAlwaysPxe ¶ added in v0.3.0

func (o *DeviceCreateInFacilityInput) SetAlwaysPxe(v bool)

SetAlwaysPxe gets a reference to the given bool and assigns it to the AlwaysPxe field.

func (*DeviceCreateInFacilityInput) SetBillingCycle ¶ added in v0.3.0

SetBillingCycle gets a reference to the given DeviceCreateInputBillingCycle and assigns it to the BillingCycle field.

func (*DeviceCreateInFacilityInput) SetCustomdata ¶ added in v0.3.0

func (o *DeviceCreateInFacilityInput) SetCustomdata(v map[string]interface{})

SetCustomdata gets a reference to the given map[string]interface{} and assigns it to the Customdata field.

func (*DeviceCreateInFacilityInput) SetDescription ¶ added in v0.3.0

func (o *DeviceCreateInFacilityInput) SetDescription(v string)

SetDescription gets a reference to the given string and assigns it to the Description field.

func (*DeviceCreateInFacilityInput) SetFacility ¶ added in v0.3.0

func (o *DeviceCreateInFacilityInput) SetFacility(v []string)

SetFacility sets field value Deprecated

func (*DeviceCreateInFacilityInput) SetFeatures ¶ added in v0.3.0

func (o *DeviceCreateInFacilityInput) SetFeatures(v []string)

SetFeatures gets a reference to the given []string and assigns it to the Features field.

func (*DeviceCreateInFacilityInput) SetHardwareReservationId ¶ added in v0.3.0

func (o *DeviceCreateInFacilityInput) SetHardwareReservationId(v string)

SetHardwareReservationId gets a reference to the given string and assigns it to the HardwareReservationId field.

func (*DeviceCreateInFacilityInput) SetHostname ¶ added in v0.3.0

func (o *DeviceCreateInFacilityInput) SetHostname(v string)

SetHostname gets a reference to the given string and assigns it to the Hostname field.

func (*DeviceCreateInFacilityInput) SetIpAddresses ¶ added in v0.3.0

func (o *DeviceCreateInFacilityInput) SetIpAddresses(v []IPAddress)

SetIpAddresses gets a reference to the given []IPAddress and assigns it to the IpAddresses field.

func (*DeviceCreateInFacilityInput) SetIpxeScriptUrl ¶ added in v0.3.0

func (o *DeviceCreateInFacilityInput) SetIpxeScriptUrl(v string)

SetIpxeScriptUrl gets a reference to the given string and assigns it to the IpxeScriptUrl field.

func (*DeviceCreateInFacilityInput) SetLocked ¶ added in v0.3.0

func (o *DeviceCreateInFacilityInput) SetLocked(v bool)

SetLocked gets a reference to the given bool and assigns it to the Locked field.

func (*DeviceCreateInFacilityInput) SetNetworkFrozen ¶ added in v0.10.0

func (o *DeviceCreateInFacilityInput) SetNetworkFrozen(v bool)

SetNetworkFrozen gets a reference to the given bool and assigns it to the NetworkFrozen field.

func (*DeviceCreateInFacilityInput) SetNoSshKeys ¶ added in v0.3.0

func (o *DeviceCreateInFacilityInput) SetNoSshKeys(v bool)

SetNoSshKeys gets a reference to the given bool and assigns it to the NoSshKeys field.

func (*DeviceCreateInFacilityInput) SetOperatingSystem ¶ added in v0.3.0

func (o *DeviceCreateInFacilityInput) SetOperatingSystem(v string)

SetOperatingSystem sets field value

func (*DeviceCreateInFacilityInput) SetPlan ¶ added in v0.3.0

func (o *DeviceCreateInFacilityInput) SetPlan(v string)

SetPlan sets field value

func (*DeviceCreateInFacilityInput) SetPrivateIpv4SubnetSize ¶ added in v0.3.0

func (o *DeviceCreateInFacilityInput) SetPrivateIpv4SubnetSize(v int32)

SetPrivateIpv4SubnetSize gets a reference to the given int32 and assigns it to the PrivateIpv4SubnetSize field.

func (*DeviceCreateInFacilityInput) SetProjectSshKeys ¶ added in v0.3.0

func (o *DeviceCreateInFacilityInput) SetProjectSshKeys(v []string)

SetProjectSshKeys gets a reference to the given []string and assigns it to the ProjectSshKeys field.

func (*DeviceCreateInFacilityInput) SetPublicIpv4SubnetSize ¶ added in v0.3.0

func (o *DeviceCreateInFacilityInput) SetPublicIpv4SubnetSize(v int32)

SetPublicIpv4SubnetSize gets a reference to the given int32 and assigns it to the PublicIpv4SubnetSize field.

func (*DeviceCreateInFacilityInput) SetSpotInstance ¶ added in v0.3.0

func (o *DeviceCreateInFacilityInput) SetSpotInstance(v bool)

SetSpotInstance gets a reference to the given bool and assigns it to the SpotInstance field.

func (*DeviceCreateInFacilityInput) SetSpotPriceMax ¶ added in v0.3.0

func (o *DeviceCreateInFacilityInput) SetSpotPriceMax(v float32)

SetSpotPriceMax gets a reference to the given float32 and assigns it to the SpotPriceMax field.

func (*DeviceCreateInFacilityInput) SetSshKeys ¶ added in v0.3.0

func (o *DeviceCreateInFacilityInput) SetSshKeys(v []SSHKeyInput)

SetSshKeys gets a reference to the given []SSHKeyInput and assigns it to the SshKeys field.

func (*DeviceCreateInFacilityInput) SetStorage ¶ added in v0.15.0

func (o *DeviceCreateInFacilityInput) SetStorage(v Storage)

SetStorage gets a reference to the given Storage and assigns it to the Storage field.

func (*DeviceCreateInFacilityInput) SetTags ¶ added in v0.3.0

func (o *DeviceCreateInFacilityInput) SetTags(v []string)

SetTags gets a reference to the given []string and assigns it to the Tags field.

func (*DeviceCreateInFacilityInput) SetTerminationTime ¶ added in v0.3.0

func (o *DeviceCreateInFacilityInput) SetTerminationTime(v time.Time)

SetTerminationTime gets a reference to the given time.Time and assigns it to the TerminationTime field.

func (*DeviceCreateInFacilityInput) SetUserSshKeys ¶ added in v0.3.0

func (o *DeviceCreateInFacilityInput) SetUserSshKeys(v []string)

SetUserSshKeys gets a reference to the given []string and assigns it to the UserSshKeys field.

func (*DeviceCreateInFacilityInput) SetUserdata ¶ added in v0.3.0

func (o *DeviceCreateInFacilityInput) SetUserdata(v string)

SetUserdata gets a reference to the given string and assigns it to the Userdata field.

func (DeviceCreateInFacilityInput) ToMap ¶ added in v0.4.0

func (o DeviceCreateInFacilityInput) ToMap() (map[string]interface{}, error)

func (*DeviceCreateInFacilityInput) UnmarshalJSON ¶ added in v0.7.0

func (o *DeviceCreateInFacilityInput) UnmarshalJSON(bytes []byte) (err error)

type DeviceCreateInMetroInput ¶ added in v0.3.0

type DeviceCreateInMetroInput struct {
	// Metro code or ID of where the instance should be provisioned in. Either metro or facility must be provided.
	Metro string `json:"metro"`
	// When true, devices with a `custom_ipxe` OS will always boot to iPXE. The default setting of false ensures that iPXE will be used on only the first boot.
	AlwaysPxe    *bool                          `json:"always_pxe,omitempty"`
	BillingCycle *DeviceCreateInputBillingCycle `json:"billing_cycle,omitempty"`
	// Customdata is an arbitrary JSON value that can be accessed via the metadata service.
	Customdata map[string]interface{} `json:"customdata,omitempty"`
	// Any description of the device or how it will be used. This may be used to inform other API consumers with project access.
	Description *string `json:"description,omitempty"`
	// The features attribute allows you to optionally specify what features your server should have.  In the API shorthand syntax, all features listed are `required`:  “` { \"features\": [\"tpm\"] } “`  Alternatively, if you do not require a certain feature, but would prefer to be assigned a server with that feature if there are any available, you may specify that feature with a `preferred` value. The request will not fail if we have no servers with that feature in our inventory. The API offers an alternative syntax for mixing preferred and required features:  “` { \"features\": { \"tpm\": \"required\", \"raid\": \"preferred\" } } “`  The request will only fail if there are no available servers matching the required `tpm` criteria.
	Features []string `json:"features,omitempty"`
	// The Hardware Reservation UUID to provision. Alternatively, `next-available` can be specified to select from any of the available hardware reservations. An error will be returned if the requested reservation option is not available.  See [Reserved Hardware](https://metal.equinix.com/developers/docs/deploy/reserved/) for more details.
	HardwareReservationId *string `json:"hardware_reservation_id,omitempty"`
	// The hostname to use within the operating system. The same hostname may be used on multiple devices within a project.
	Hostname *string `json:"hostname,omitempty"`
	// The `ip_addresses attribute will allow you to specify the addresses you want created with your device.  The default value configures public IPv4, public IPv6, and private IPv4.  Private IPv4 address is required. When specifying `ip_addresses`, one of the array items must enable private IPv4.  Some operating systems require public IPv4 address. In those cases you will receive an error message if public IPv4 is not enabled.  For example, to only configure your server with a private IPv4 address, you can send `{ \"ip_addresses\": [{ \"address_family\": 4, \"public\": false }] }`.  It is possible to request a subnet size larger than a `/30` by assigning addresses using the UUID(s) of ip_reservations in your project.  For example, `{ \"ip_addresses\": [..., {\"address_family\": 4, \"public\": true, \"ip_reservations\": [\"uuid1\", \"uuid2\"]}] }`  To access a server without public IPs, you can use our Out-of-Band console access (SOS) or proxy through another server in the project with public IPs enabled.
	IpAddresses []IPAddress `json:"ip_addresses,omitempty"`
	// When set, the device will chainload an iPXE Script at boot fetched from the supplied URL.  See [Custom iPXE](https://metal.equinix.com/developers/docs/operating-systems/custom-ipxe/) for more details.
	IpxeScriptUrl *string `json:"ipxe_script_url,omitempty"`
	// Whether the device should be locked, preventing accidental deletion.
	Locked *bool `json:"locked,omitempty"`
	// If true, this instance can not be converted to a different network type.
	NetworkFrozen *bool `json:"network_frozen,omitempty"`
	// Overrides default behaviour of attaching all of the organization members ssh keys and project ssh keys to device if no specific keys specified
	NoSshKeys *bool `json:"no_ssh_keys,omitempty"`
	// The slug of the operating system to provision. Check the Equinix Metal operating system documentation for rules that may be imposed per operating system, including restrictions on IP address options and device plans.
	OperatingSystem string `json:"operating_system"`
	// The slug of the device plan to provision.
	Plan string `json:"plan"`
	// Deprecated. Use ip_addresses. Subnet range for addresses allocated to this device.
	PrivateIpv4SubnetSize *int32 `json:"private_ipv4_subnet_size,omitempty"`
	// A list of UUIDs identifying the device parent project that should be authorized to access this device (typically via /root/.ssh/authorized_keys). These keys will also appear in the device metadata.  If no SSH keys are specified (`user_ssh_keys`, `project_ssh_keys`, and `ssh_keys` are all empty lists or omitted), all parent project keys, parent project members keys and organization members keys will be included. This behaviour can be changed with 'no_ssh_keys' option to omit any SSH key being added.
	ProjectSshKeys []string `json:"project_ssh_keys,omitempty"`
	// Deprecated. Use ip_addresses. Subnet range for addresses allocated to this device. Your project must have addresses available for a non-default request.
	PublicIpv4SubnetSize *int32 `json:"public_ipv4_subnet_size,omitempty"`
	// Create a spot instance. Spot instances are created with a maximum bid price. If the bid price is not met, the spot instance will be terminated as indicated by the `termination_time` field.
	SpotInstance *bool `json:"spot_instance,omitempty"`
	// The maximum amount to bid for a spot instance.
	SpotPriceMax *float32 `json:"spot_price_max,omitempty"`
	// A list of new or existing project ssh_keys that should be authorized to access this device (typically via /root/.ssh/authorized_keys). These keys will also appear in the device metadata.  These keys are added in addition to any keys defined by   `project_ssh_keys` and `user_ssh_keys`.
	SshKeys []SSHKeyInput `json:"ssh_keys,omitempty"`
	Storage *Storage      `json:"storage,omitempty"`
	Tags    []string      `json:"tags,omitempty"`
	// When the device will be terminated. If you don't supply timezone info, the timestamp is assumed to be in UTC.  This is commonly set in advance for ephemeral spot market instances but this field may also be set with on-demand and reservation instances to automatically delete the resource at a given time. The termination time can also be used to release a hardware reservation instance at a given time, keeping the reservation open for other uses.  On a spot market device, the termination time will be set automatically when outbid.
	TerminationTime *time.Time `json:"termination_time,omitempty"`
	// A list of UUIDs identifying the users that should be authorized to access this device (typically via /root/.ssh/authorized_keys).  These keys will also appear in the device metadata.  The users must be members of the project or organization.  If no SSH keys are specified (`user_ssh_keys`, `project_ssh_keys`, and `ssh_keys` are all empty lists or omitted), all parent project keys, parent project members keys and organization members keys will be included. This behaviour can be changed with 'no_ssh_keys' option to omit any SSH key being added.
	UserSshKeys []string `json:"user_ssh_keys,omitempty"`
	// The userdata presented in the metadata service for this device.  Userdata is fetched and interpreted by the operating system installed on the device. Acceptable formats are determined by the operating system, with the exception of a special iPXE enabling syntax which is handled before the operating system starts.  See [Server User Data](https://metal.equinix.com/developers/docs/servers/user-data/) and [Provisioning with Custom iPXE](https://metal.equinix.com/developers/docs/operating-systems/custom-ipxe/#provisioning-with-custom-ipxe) for more details.
	Userdata             *string `json:"userdata,omitempty"`
	AdditionalProperties map[string]interface{}
}

DeviceCreateInMetroInput struct for DeviceCreateInMetroInput

func NewDeviceCreateInMetroInput ¶ added in v0.3.0

func NewDeviceCreateInMetroInput(metro string, operatingSystem string, plan string) *DeviceCreateInMetroInput

NewDeviceCreateInMetroInput instantiates a new DeviceCreateInMetroInput object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewDeviceCreateInMetroInputWithDefaults ¶ added in v0.3.0

func NewDeviceCreateInMetroInputWithDefaults() *DeviceCreateInMetroInput

NewDeviceCreateInMetroInputWithDefaults instantiates a new DeviceCreateInMetroInput object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*DeviceCreateInMetroInput) GetAlwaysPxe ¶ added in v0.3.0

func (o *DeviceCreateInMetroInput) GetAlwaysPxe() bool

GetAlwaysPxe returns the AlwaysPxe field value if set, zero value otherwise.

func (*DeviceCreateInMetroInput) GetAlwaysPxeOk ¶ added in v0.3.0

func (o *DeviceCreateInMetroInput) GetAlwaysPxeOk() (*bool, bool)

GetAlwaysPxeOk returns a tuple with the AlwaysPxe field value if set, nil otherwise and a boolean to check if the value has been set.

func (*DeviceCreateInMetroInput) GetBillingCycle ¶ added in v0.3.0

GetBillingCycle returns the BillingCycle field value if set, zero value otherwise.

func (*DeviceCreateInMetroInput) GetBillingCycleOk ¶ added in v0.3.0

func (o *DeviceCreateInMetroInput) GetBillingCycleOk() (*DeviceCreateInputBillingCycle, bool)

GetBillingCycleOk returns a tuple with the BillingCycle field value if set, nil otherwise and a boolean to check if the value has been set.

func (*DeviceCreateInMetroInput) GetCustomdata ¶ added in v0.3.0

func (o *DeviceCreateInMetroInput) GetCustomdata() map[string]interface{}

GetCustomdata returns the Customdata field value if set, zero value otherwise.

func (*DeviceCreateInMetroInput) GetCustomdataOk ¶ added in v0.3.0

func (o *DeviceCreateInMetroInput) GetCustomdataOk() (map[string]interface{}, bool)

GetCustomdataOk returns a tuple with the Customdata field value if set, nil otherwise and a boolean to check if the value has been set.

func (*DeviceCreateInMetroInput) GetDescription ¶ added in v0.3.0

func (o *DeviceCreateInMetroInput) GetDescription() string

GetDescription returns the Description field value if set, zero value otherwise.

func (*DeviceCreateInMetroInput) GetDescriptionOk ¶ added in v0.3.0

func (o *DeviceCreateInMetroInput) GetDescriptionOk() (*string, bool)

GetDescriptionOk returns a tuple with the Description field value if set, nil otherwise and a boolean to check if the value has been set.

func (*DeviceCreateInMetroInput) GetFeatures ¶ added in v0.3.0

func (o *DeviceCreateInMetroInput) GetFeatures() []string

GetFeatures returns the Features field value if set, zero value otherwise.

func (*DeviceCreateInMetroInput) GetFeaturesOk ¶ added in v0.3.0

func (o *DeviceCreateInMetroInput) GetFeaturesOk() ([]string, bool)

GetFeaturesOk returns a tuple with the Features field value if set, nil otherwise and a boolean to check if the value has been set.

func (*DeviceCreateInMetroInput) GetHardwareReservationId ¶ added in v0.3.0

func (o *DeviceCreateInMetroInput) GetHardwareReservationId() string

GetHardwareReservationId returns the HardwareReservationId field value if set, zero value otherwise.

func (*DeviceCreateInMetroInput) GetHardwareReservationIdOk ¶ added in v0.3.0

func (o *DeviceCreateInMetroInput) GetHardwareReservationIdOk() (*string, bool)

GetHardwareReservationIdOk returns a tuple with the HardwareReservationId field value if set, nil otherwise and a boolean to check if the value has been set.

func (*DeviceCreateInMetroInput) GetHostname ¶ added in v0.3.0

func (o *DeviceCreateInMetroInput) GetHostname() string

GetHostname returns the Hostname field value if set, zero value otherwise.

func (*DeviceCreateInMetroInput) GetHostnameOk ¶ added in v0.3.0

func (o *DeviceCreateInMetroInput) GetHostnameOk() (*string, bool)

GetHostnameOk returns a tuple with the Hostname field value if set, nil otherwise and a boolean to check if the value has been set.

func (*DeviceCreateInMetroInput) GetIpAddresses ¶ added in v0.3.0

func (o *DeviceCreateInMetroInput) GetIpAddresses() []IPAddress

GetIpAddresses returns the IpAddresses field value if set, zero value otherwise.

func (*DeviceCreateInMetroInput) GetIpAddressesOk ¶ added in v0.3.0

func (o *DeviceCreateInMetroInput) GetIpAddressesOk() ([]IPAddress, bool)

GetIpAddressesOk returns a tuple with the IpAddresses field value if set, nil otherwise and a boolean to check if the value has been set.

func (*DeviceCreateInMetroInput) GetIpxeScriptUrl ¶ added in v0.3.0

func (o *DeviceCreateInMetroInput) GetIpxeScriptUrl() string

GetIpxeScriptUrl returns the IpxeScriptUrl field value if set, zero value otherwise.

func (*DeviceCreateInMetroInput) GetIpxeScriptUrlOk ¶ added in v0.3.0

func (o *DeviceCreateInMetroInput) GetIpxeScriptUrlOk() (*string, bool)

GetIpxeScriptUrlOk returns a tuple with the IpxeScriptUrl field value if set, nil otherwise and a boolean to check if the value has been set.

func (*DeviceCreateInMetroInput) GetLocked ¶ added in v0.3.0

func (o *DeviceCreateInMetroInput) GetLocked() bool

GetLocked returns the Locked field value if set, zero value otherwise.

func (*DeviceCreateInMetroInput) GetLockedOk ¶ added in v0.3.0

func (o *DeviceCreateInMetroInput) GetLockedOk() (*bool, bool)

GetLockedOk returns a tuple with the Locked field value if set, nil otherwise and a boolean to check if the value has been set.

func (*DeviceCreateInMetroInput) GetMetro ¶ added in v0.3.0

func (o *DeviceCreateInMetroInput) GetMetro() string

GetMetro returns the Metro field value

func (*DeviceCreateInMetroInput) GetMetroOk ¶ added in v0.3.0

func (o *DeviceCreateInMetroInput) GetMetroOk() (*string, bool)

GetMetroOk returns a tuple with the Metro field value and a boolean to check if the value has been set.

func (*DeviceCreateInMetroInput) GetNetworkFrozen ¶ added in v0.10.0

func (o *DeviceCreateInMetroInput) GetNetworkFrozen() bool

GetNetworkFrozen returns the NetworkFrozen field value if set, zero value otherwise.

func (*DeviceCreateInMetroInput) GetNetworkFrozenOk ¶ added in v0.10.0

func (o *DeviceCreateInMetroInput) GetNetworkFrozenOk() (*bool, bool)

GetNetworkFrozenOk returns a tuple with the NetworkFrozen field value if set, nil otherwise and a boolean to check if the value has been set.

func (*DeviceCreateInMetroInput) GetNoSshKeys ¶ added in v0.3.0

func (o *DeviceCreateInMetroInput) GetNoSshKeys() bool

GetNoSshKeys returns the NoSshKeys field value if set, zero value otherwise.

func (*DeviceCreateInMetroInput) GetNoSshKeysOk ¶ added in v0.3.0

func (o *DeviceCreateInMetroInput) GetNoSshKeysOk() (*bool, bool)

GetNoSshKeysOk returns a tuple with the NoSshKeys field value if set, nil otherwise and a boolean to check if the value has been set.

func (*DeviceCreateInMetroInput) GetOperatingSystem ¶ added in v0.3.0

func (o *DeviceCreateInMetroInput) GetOperatingSystem() string

GetOperatingSystem returns the OperatingSystem field value

func (*DeviceCreateInMetroInput) GetOperatingSystemOk ¶ added in v0.3.0

func (o *DeviceCreateInMetroInput) GetOperatingSystemOk() (*string, bool)

GetOperatingSystemOk returns a tuple with the OperatingSystem field value and a boolean to check if the value has been set.

func (*DeviceCreateInMetroInput) GetPlan ¶ added in v0.3.0

func (o *DeviceCreateInMetroInput) GetPlan() string

GetPlan returns the Plan field value

func (*DeviceCreateInMetroInput) GetPlanOk ¶ added in v0.3.0

func (o *DeviceCreateInMetroInput) GetPlanOk() (*string, bool)

GetPlanOk returns a tuple with the Plan field value and a boolean to check if the value has been set.

func (*DeviceCreateInMetroInput) GetPrivateIpv4SubnetSize ¶ added in v0.3.0

func (o *DeviceCreateInMetroInput) GetPrivateIpv4SubnetSize() int32

GetPrivateIpv4SubnetSize returns the PrivateIpv4SubnetSize field value if set, zero value otherwise.

func (*DeviceCreateInMetroInput) GetPrivateIpv4SubnetSizeOk ¶ added in v0.3.0

func (o *DeviceCreateInMetroInput) GetPrivateIpv4SubnetSizeOk() (*int32, bool)

GetPrivateIpv4SubnetSizeOk returns a tuple with the PrivateIpv4SubnetSize field value if set, nil otherwise and a boolean to check if the value has been set.

func (*DeviceCreateInMetroInput) GetProjectSshKeys ¶ added in v0.3.0

func (o *DeviceCreateInMetroInput) GetProjectSshKeys() []string

GetProjectSshKeys returns the ProjectSshKeys field value if set, zero value otherwise.

func (*DeviceCreateInMetroInput) GetProjectSshKeysOk ¶ added in v0.3.0

func (o *DeviceCreateInMetroInput) GetProjectSshKeysOk() ([]string, bool)

GetProjectSshKeysOk returns a tuple with the ProjectSshKeys field value if set, nil otherwise and a boolean to check if the value has been set.

func (*DeviceCreateInMetroInput) GetPublicIpv4SubnetSize ¶ added in v0.3.0

func (o *DeviceCreateInMetroInput) GetPublicIpv4SubnetSize() int32

GetPublicIpv4SubnetSize returns the PublicIpv4SubnetSize field value if set, zero value otherwise.

func (*DeviceCreateInMetroInput) GetPublicIpv4SubnetSizeOk ¶ added in v0.3.0

func (o *DeviceCreateInMetroInput) GetPublicIpv4SubnetSizeOk() (*int32, bool)

GetPublicIpv4SubnetSizeOk returns a tuple with the PublicIpv4SubnetSize field value if set, nil otherwise and a boolean to check if the value has been set.

func (*DeviceCreateInMetroInput) GetSpotInstance ¶ added in v0.3.0

func (o *DeviceCreateInMetroInput) GetSpotInstance() bool

GetSpotInstance returns the SpotInstance field value if set, zero value otherwise.

func (*DeviceCreateInMetroInput) GetSpotInstanceOk ¶ added in v0.3.0

func (o *DeviceCreateInMetroInput) GetSpotInstanceOk() (*bool, bool)

GetSpotInstanceOk returns a tuple with the SpotInstance field value if set, nil otherwise and a boolean to check if the value has been set.

func (*DeviceCreateInMetroInput) GetSpotPriceMax ¶ added in v0.3.0

func (o *DeviceCreateInMetroInput) GetSpotPriceMax() float32

GetSpotPriceMax returns the SpotPriceMax field value if set, zero value otherwise.

func (*DeviceCreateInMetroInput) GetSpotPriceMaxOk ¶ added in v0.3.0

func (o *DeviceCreateInMetroInput) GetSpotPriceMaxOk() (*float32, bool)

GetSpotPriceMaxOk returns a tuple with the SpotPriceMax field value if set, nil otherwise and a boolean to check if the value has been set.

func (*DeviceCreateInMetroInput) GetSshKeys ¶ added in v0.3.0

func (o *DeviceCreateInMetroInput) GetSshKeys() []SSHKeyInput

GetSshKeys returns the SshKeys field value if set, zero value otherwise.

func (*DeviceCreateInMetroInput) GetSshKeysOk ¶ added in v0.3.0

func (o *DeviceCreateInMetroInput) GetSshKeysOk() ([]SSHKeyInput, bool)

GetSshKeysOk returns a tuple with the SshKeys field value if set, nil otherwise and a boolean to check if the value has been set.

func (*DeviceCreateInMetroInput) GetStorage ¶ added in v0.15.0

func (o *DeviceCreateInMetroInput) GetStorage() Storage

GetStorage returns the Storage field value if set, zero value otherwise.

func (*DeviceCreateInMetroInput) GetStorageOk ¶ added in v0.15.0

func (o *DeviceCreateInMetroInput) GetStorageOk() (*Storage, bool)

GetStorageOk returns a tuple with the Storage field value if set, nil otherwise and a boolean to check if the value has been set.

func (*DeviceCreateInMetroInput) GetTags ¶ added in v0.3.0

func (o *DeviceCreateInMetroInput) GetTags() []string

GetTags returns the Tags field value if set, zero value otherwise.

func (*DeviceCreateInMetroInput) GetTagsOk ¶ added in v0.3.0

func (o *DeviceCreateInMetroInput) GetTagsOk() ([]string, bool)

GetTagsOk returns a tuple with the Tags field value if set, nil otherwise and a boolean to check if the value has been set.

func (*DeviceCreateInMetroInput) GetTerminationTime ¶ added in v0.3.0

func (o *DeviceCreateInMetroInput) GetTerminationTime() time.Time

GetTerminationTime returns the TerminationTime field value if set, zero value otherwise.

func (*DeviceCreateInMetroInput) GetTerminationTimeOk ¶ added in v0.3.0

func (o *DeviceCreateInMetroInput) GetTerminationTimeOk() (*time.Time, bool)

GetTerminationTimeOk returns a tuple with the TerminationTime field value if set, nil otherwise and a boolean to check if the value has been set.

func (*DeviceCreateInMetroInput) GetUserSshKeys ¶ added in v0.3.0

func (o *DeviceCreateInMetroInput) GetUserSshKeys() []string

GetUserSshKeys returns the UserSshKeys field value if set, zero value otherwise.

func (*DeviceCreateInMetroInput) GetUserSshKeysOk ¶ added in v0.3.0

func (o *DeviceCreateInMetroInput) GetUserSshKeysOk() ([]string, bool)

GetUserSshKeysOk returns a tuple with the UserSshKeys field value if set, nil otherwise and a boolean to check if the value has been set.

func (*DeviceCreateInMetroInput) GetUserdata ¶ added in v0.3.0

func (o *DeviceCreateInMetroInput) GetUserdata() string

GetUserdata returns the Userdata field value if set, zero value otherwise.

func (*DeviceCreateInMetroInput) GetUserdataOk ¶ added in v0.3.0

func (o *DeviceCreateInMetroInput) GetUserdataOk() (*string, bool)

GetUserdataOk returns a tuple with the Userdata field value if set, nil otherwise and a boolean to check if the value has been set.

func (*DeviceCreateInMetroInput) HasAlwaysPxe ¶ added in v0.3.0

func (o *DeviceCreateInMetroInput) HasAlwaysPxe() bool

HasAlwaysPxe returns a boolean if a field has been set.

func (*DeviceCreateInMetroInput) HasBillingCycle ¶ added in v0.3.0

func (o *DeviceCreateInMetroInput) HasBillingCycle() bool

HasBillingCycle returns a boolean if a field has been set.

func (*DeviceCreateInMetroInput) HasCustomdata ¶ added in v0.3.0

func (o *DeviceCreateInMetroInput) HasCustomdata() bool

HasCustomdata returns a boolean if a field has been set.

func (*DeviceCreateInMetroInput) HasDescription ¶ added in v0.3.0

func (o *DeviceCreateInMetroInput) HasDescription() bool

HasDescription returns a boolean if a field has been set.

func (*DeviceCreateInMetroInput) HasFeatures ¶ added in v0.3.0

func (o *DeviceCreateInMetroInput) HasFeatures() bool

HasFeatures returns a boolean if a field has been set.

func (*DeviceCreateInMetroInput) HasHardwareReservationId ¶ added in v0.3.0

func (o *DeviceCreateInMetroInput) HasHardwareReservationId() bool

HasHardwareReservationId returns a boolean if a field has been set.

func (*DeviceCreateInMetroInput) HasHostname ¶ added in v0.3.0

func (o *DeviceCreateInMetroInput) HasHostname() bool

HasHostname returns a boolean if a field has been set.

func (*DeviceCreateInMetroInput) HasIpAddresses ¶ added in v0.3.0

func (o *DeviceCreateInMetroInput) HasIpAddresses() bool

HasIpAddresses returns a boolean if a field has been set.

func (*DeviceCreateInMetroInput) HasIpxeScriptUrl ¶ added in v0.3.0

func (o *DeviceCreateInMetroInput) HasIpxeScriptUrl() bool

HasIpxeScriptUrl returns a boolean if a field has been set.

func (*DeviceCreateInMetroInput) HasLocked ¶ added in v0.3.0

func (o *DeviceCreateInMetroInput) HasLocked() bool

HasLocked returns a boolean if a field has been set.

func (*DeviceCreateInMetroInput) HasNetworkFrozen ¶ added in v0.10.0

func (o *DeviceCreateInMetroInput) HasNetworkFrozen() bool

HasNetworkFrozen returns a boolean if a field has been set.

func (*DeviceCreateInMetroInput) HasNoSshKeys ¶ added in v0.3.0

func (o *DeviceCreateInMetroInput) HasNoSshKeys() bool

HasNoSshKeys returns a boolean if a field has been set.

func (*DeviceCreateInMetroInput) HasPrivateIpv4SubnetSize ¶ added in v0.3.0

func (o *DeviceCreateInMetroInput) HasPrivateIpv4SubnetSize() bool

HasPrivateIpv4SubnetSize returns a boolean if a field has been set.

func (*DeviceCreateInMetroInput) HasProjectSshKeys ¶ added in v0.3.0

func (o *DeviceCreateInMetroInput) HasProjectSshKeys() bool

HasProjectSshKeys returns a boolean if a field has been set.

func (*DeviceCreateInMetroInput) HasPublicIpv4SubnetSize ¶ added in v0.3.0

func (o *DeviceCreateInMetroInput) HasPublicIpv4SubnetSize() bool

HasPublicIpv4SubnetSize returns a boolean if a field has been set.

func (*DeviceCreateInMetroInput) HasSpotInstance ¶ added in v0.3.0

func (o *DeviceCreateInMetroInput) HasSpotInstance() bool

HasSpotInstance returns a boolean if a field has been set.

func (*DeviceCreateInMetroInput) HasSpotPriceMax ¶ added in v0.3.0

func (o *DeviceCreateInMetroInput) HasSpotPriceMax() bool

HasSpotPriceMax returns a boolean if a field has been set.

func (*DeviceCreateInMetroInput) HasSshKeys ¶ added in v0.3.0

func (o *DeviceCreateInMetroInput) HasSshKeys() bool

HasSshKeys returns a boolean if a field has been set.

func (*DeviceCreateInMetroInput) HasStorage ¶ added in v0.15.0

func (o *DeviceCreateInMetroInput) HasStorage() bool

HasStorage returns a boolean if a field has been set.

func (*DeviceCreateInMetroInput) HasTags ¶ added in v0.3.0

func (o *DeviceCreateInMetroInput) HasTags() bool

HasTags returns a boolean if a field has been set.

func (*DeviceCreateInMetroInput) HasTerminationTime ¶ added in v0.3.0

func (o *DeviceCreateInMetroInput) HasTerminationTime() bool

HasTerminationTime returns a boolean if a field has been set.

func (*DeviceCreateInMetroInput) HasUserSshKeys ¶ added in v0.3.0

func (o *DeviceCreateInMetroInput) HasUserSshKeys() bool

HasUserSshKeys returns a boolean if a field has been set.

func (*DeviceCreateInMetroInput) HasUserdata ¶ added in v0.3.0

func (o *DeviceCreateInMetroInput) HasUserdata() bool

HasUserdata returns a boolean if a field has been set.

func (DeviceCreateInMetroInput) MarshalJSON ¶ added in v0.3.0

func (o DeviceCreateInMetroInput) MarshalJSON() ([]byte, error)

func (*DeviceCreateInMetroInput) SetAlwaysPxe ¶ added in v0.3.0

func (o *DeviceCreateInMetroInput) SetAlwaysPxe(v bool)

SetAlwaysPxe gets a reference to the given bool and assigns it to the AlwaysPxe field.

func (*DeviceCreateInMetroInput) SetBillingCycle ¶ added in v0.3.0

SetBillingCycle gets a reference to the given DeviceCreateInputBillingCycle and assigns it to the BillingCycle field.

func (*DeviceCreateInMetroInput) SetCustomdata ¶ added in v0.3.0

func (o *DeviceCreateInMetroInput) SetCustomdata(v map[string]interface{})

SetCustomdata gets a reference to the given map[string]interface{} and assigns it to the Customdata field.

func (*DeviceCreateInMetroInput) SetDescription ¶ added in v0.3.0

func (o *DeviceCreateInMetroInput) SetDescription(v string)

SetDescription gets a reference to the given string and assigns it to the Description field.

func (*DeviceCreateInMetroInput) SetFeatures ¶ added in v0.3.0

func (o *DeviceCreateInMetroInput) SetFeatures(v []string)

SetFeatures gets a reference to the given []string and assigns it to the Features field.

func (*DeviceCreateInMetroInput) SetHardwareReservationId ¶ added in v0.3.0

func (o *DeviceCreateInMetroInput) SetHardwareReservationId(v string)

SetHardwareReservationId gets a reference to the given string and assigns it to the HardwareReservationId field.

func (*DeviceCreateInMetroInput) SetHostname ¶ added in v0.3.0

func (o *DeviceCreateInMetroInput) SetHostname(v string)

SetHostname gets a reference to the given string and assigns it to the Hostname field.

func (*DeviceCreateInMetroInput) SetIpAddresses ¶ added in v0.3.0

func (o *DeviceCreateInMetroInput) SetIpAddresses(v []IPAddress)

SetIpAddresses gets a reference to the given []IPAddress and assigns it to the IpAddresses field.

func (*DeviceCreateInMetroInput) SetIpxeScriptUrl ¶ added in v0.3.0

func (o *DeviceCreateInMetroInput) SetIpxeScriptUrl(v string)

SetIpxeScriptUrl gets a reference to the given string and assigns it to the IpxeScriptUrl field.

func (*DeviceCreateInMetroInput) SetLocked ¶ added in v0.3.0

func (o *DeviceCreateInMetroInput) SetLocked(v bool)

SetLocked gets a reference to the given bool and assigns it to the Locked field.

func (*DeviceCreateInMetroInput) SetMetro ¶ added in v0.3.0

func (o *DeviceCreateInMetroInput) SetMetro(v string)

SetMetro sets field value

func (*DeviceCreateInMetroInput) SetNetworkFrozen ¶ added in v0.10.0

func (o *DeviceCreateInMetroInput) SetNetworkFrozen(v bool)

SetNetworkFrozen gets a reference to the given bool and assigns it to the NetworkFrozen field.

func (*DeviceCreateInMetroInput) SetNoSshKeys ¶ added in v0.3.0

func (o *DeviceCreateInMetroInput) SetNoSshKeys(v bool)

SetNoSshKeys gets a reference to the given bool and assigns it to the NoSshKeys field.

func (*DeviceCreateInMetroInput) SetOperatingSystem ¶ added in v0.3.0

func (o *DeviceCreateInMetroInput) SetOperatingSystem(v string)

SetOperatingSystem sets field value

func (*DeviceCreateInMetroInput) SetPlan ¶ added in v0.3.0

func (o *DeviceCreateInMetroInput) SetPlan(v string)

SetPlan sets field value

func (*DeviceCreateInMetroInput) SetPrivateIpv4SubnetSize ¶ added in v0.3.0

func (o *DeviceCreateInMetroInput) SetPrivateIpv4SubnetSize(v int32)

SetPrivateIpv4SubnetSize gets a reference to the given int32 and assigns it to the PrivateIpv4SubnetSize field.

func (*DeviceCreateInMetroInput) SetProjectSshKeys ¶ added in v0.3.0

func (o *DeviceCreateInMetroInput) SetProjectSshKeys(v []string)

SetProjectSshKeys gets a reference to the given []string and assigns it to the ProjectSshKeys field.

func (*DeviceCreateInMetroInput) SetPublicIpv4SubnetSize ¶ added in v0.3.0

func (o *DeviceCreateInMetroInput) SetPublicIpv4SubnetSize(v int32)

SetPublicIpv4SubnetSize gets a reference to the given int32 and assigns it to the PublicIpv4SubnetSize field.

func (*DeviceCreateInMetroInput) SetSpotInstance ¶ added in v0.3.0

func (o *DeviceCreateInMetroInput) SetSpotInstance(v bool)

SetSpotInstance gets a reference to the given bool and assigns it to the SpotInstance field.

func (*DeviceCreateInMetroInput) SetSpotPriceMax ¶ added in v0.3.0

func (o *DeviceCreateInMetroInput) SetSpotPriceMax(v float32)

SetSpotPriceMax gets a reference to the given float32 and assigns it to the SpotPriceMax field.

func (*DeviceCreateInMetroInput) SetSshKeys ¶ added in v0.3.0

func (o *DeviceCreateInMetroInput) SetSshKeys(v []SSHKeyInput)

SetSshKeys gets a reference to the given []SSHKeyInput and assigns it to the SshKeys field.

func (*DeviceCreateInMetroInput) SetStorage ¶ added in v0.15.0

func (o *DeviceCreateInMetroInput) SetStorage(v Storage)

SetStorage gets a reference to the given Storage and assigns it to the Storage field.

func (*DeviceCreateInMetroInput) SetTags ¶ added in v0.3.0

func (o *DeviceCreateInMetroInput) SetTags(v []string)

SetTags gets a reference to the given []string and assigns it to the Tags field.

func (*DeviceCreateInMetroInput) SetTerminationTime ¶ added in v0.3.0

func (o *DeviceCreateInMetroInput) SetTerminationTime(v time.Time)

SetTerminationTime gets a reference to the given time.Time and assigns it to the TerminationTime field.

func (*DeviceCreateInMetroInput) SetUserSshKeys ¶ added in v0.3.0

func (o *DeviceCreateInMetroInput) SetUserSshKeys(v []string)

SetUserSshKeys gets a reference to the given []string and assigns it to the UserSshKeys field.

func (*DeviceCreateInMetroInput) SetUserdata ¶ added in v0.3.0

func (o *DeviceCreateInMetroInput) SetUserdata(v string)

SetUserdata gets a reference to the given string and assigns it to the Userdata field.

func (DeviceCreateInMetroInput) ToMap ¶ added in v0.4.0

func (o DeviceCreateInMetroInput) ToMap() (map[string]interface{}, error)

func (*DeviceCreateInMetroInput) UnmarshalJSON ¶ added in v0.7.0

func (o *DeviceCreateInMetroInput) UnmarshalJSON(bytes []byte) (err error)

type DeviceCreateInput ¶

type DeviceCreateInput struct {
	// When true, devices with a `custom_ipxe` OS will always boot to iPXE. The default setting of false ensures that iPXE will be used on only the first boot.
	AlwaysPxe    *bool                          `json:"always_pxe,omitempty"`
	BillingCycle *DeviceCreateInputBillingCycle `json:"billing_cycle,omitempty"`
	// Customdata is an arbitrary JSON value that can be accessed via the metadata service.
	Customdata map[string]interface{} `json:"customdata,omitempty"`
	// Any description of the device or how it will be used. This may be used to inform other API consumers with project access.
	Description *string `json:"description,omitempty"`
	// The features attribute allows you to optionally specify what features your server should have.  In the API shorthand syntax, all features listed are `required`:  “` { \"features\": [\"tpm\"] } “`  Alternatively, if you do not require a certain feature, but would prefer to be assigned a server with that feature if there are any available, you may specify that feature with a `preferred` value. The request will not fail if we have no servers with that feature in our inventory. The API offers an alternative syntax for mixing preferred and required features:  “` { \"features\": { \"tpm\": \"required\", \"raid\": \"preferred\" } } “`  The request will only fail if there are no available servers matching the required `tpm` criteria.
	Features []string `json:"features,omitempty"`
	// The Hardware Reservation UUID to provision. Alternatively, `next-available` can be specified to select from any of the available hardware reservations. An error will be returned if the requested reservation option is not available.  See [Reserved Hardware](https://metal.equinix.com/developers/docs/deploy/reserved/) for more details.
	HardwareReservationId *string `json:"hardware_reservation_id,omitempty"`
	// The hostname to use within the operating system. The same hostname may be used on multiple devices within a project.
	Hostname *string `json:"hostname,omitempty"`
	// The `ip_addresses attribute will allow you to specify the addresses you want created with your device.  The default value configures public IPv4, public IPv6, and private IPv4.  Private IPv4 address is required. When specifying `ip_addresses`, one of the array items must enable private IPv4.  Some operating systems require public IPv4 address. In those cases you will receive an error message if public IPv4 is not enabled.  For example, to only configure your server with a private IPv4 address, you can send `{ \"ip_addresses\": [{ \"address_family\": 4, \"public\": false }] }`.  It is possible to request a subnet size larger than a `/30` by assigning addresses using the UUID(s) of ip_reservations in your project.  For example, `{ \"ip_addresses\": [..., {\"address_family\": 4, \"public\": true, \"ip_reservations\": [\"uuid1\", \"uuid2\"]}] }`  To access a server without public IPs, you can use our Out-of-Band console access (SOS) or proxy through another server in the project with public IPs enabled.
	IpAddresses []IPAddress `json:"ip_addresses,omitempty"`
	// When set, the device will chainload an iPXE Script at boot fetched from the supplied URL.  See [Custom iPXE](https://metal.equinix.com/developers/docs/operating-systems/custom-ipxe/) for more details.
	IpxeScriptUrl *string `json:"ipxe_script_url,omitempty"`
	// Whether the device should be locked, preventing accidental deletion.
	Locked *bool `json:"locked,omitempty"`
	// If true, this instance can not be converted to a different network type.
	NetworkFrozen *bool `json:"network_frozen,omitempty"`
	// Overrides default behaviour of attaching all of the organization members ssh keys and project ssh keys to device if no specific keys specified
	NoSshKeys *bool `json:"no_ssh_keys,omitempty"`
	// The slug of the operating system to provision. Check the Equinix Metal operating system documentation for rules that may be imposed per operating system, including restrictions on IP address options and device plans.
	OperatingSystem string `json:"operating_system"`
	// The slug of the device plan to provision.
	Plan string `json:"plan"`
	// Deprecated. Use ip_addresses. Subnet range for addresses allocated to this device.
	PrivateIpv4SubnetSize *int32 `json:"private_ipv4_subnet_size,omitempty"`
	// A list of UUIDs identifying the device parent project that should be authorized to access this device (typically via /root/.ssh/authorized_keys). These keys will also appear in the device metadata.  If no SSH keys are specified (`user_ssh_keys`, `project_ssh_keys`, and `ssh_keys` are all empty lists or omitted), all parent project keys, parent project members keys and organization members keys will be included. This behaviour can be changed with 'no_ssh_keys' option to omit any SSH key being added.
	ProjectSshKeys []string `json:"project_ssh_keys,omitempty"`
	// Deprecated. Use ip_addresses. Subnet range for addresses allocated to this device. Your project must have addresses available for a non-default request.
	PublicIpv4SubnetSize *int32 `json:"public_ipv4_subnet_size,omitempty"`
	// Create a spot instance. Spot instances are created with a maximum bid price. If the bid price is not met, the spot instance will be terminated as indicated by the `termination_time` field.
	SpotInstance *bool `json:"spot_instance,omitempty"`
	// The maximum amount to bid for a spot instance.
	SpotPriceMax *float32 `json:"spot_price_max,omitempty"`
	// A list of new or existing project ssh_keys that should be authorized to access this device (typically via /root/.ssh/authorized_keys). These keys will also appear in the device metadata.  These keys are added in addition to any keys defined by   `project_ssh_keys` and `user_ssh_keys`.
	SshKeys []SSHKeyInput `json:"ssh_keys,omitempty"`
	Storage *Storage      `json:"storage,omitempty"`
	Tags    []string      `json:"tags,omitempty"`
	// When the device will be terminated. If you don't supply timezone info, the timestamp is assumed to be in UTC.  This is commonly set in advance for ephemeral spot market instances but this field may also be set with on-demand and reservation instances to automatically delete the resource at a given time. The termination time can also be used to release a hardware reservation instance at a given time, keeping the reservation open for other uses.  On a spot market device, the termination time will be set automatically when outbid.
	TerminationTime *time.Time `json:"termination_time,omitempty"`
	// A list of UUIDs identifying the users that should be authorized to access this device (typically via /root/.ssh/authorized_keys).  These keys will also appear in the device metadata.  The users must be members of the project or organization.  If no SSH keys are specified (`user_ssh_keys`, `project_ssh_keys`, and `ssh_keys` are all empty lists or omitted), all parent project keys, parent project members keys and organization members keys will be included. This behaviour can be changed with 'no_ssh_keys' option to omit any SSH key being added.
	UserSshKeys []string `json:"user_ssh_keys,omitempty"`
	// The userdata presented in the metadata service for this device.  Userdata is fetched and interpreted by the operating system installed on the device. Acceptable formats are determined by the operating system, with the exception of a special iPXE enabling syntax which is handled before the operating system starts.  See [Server User Data](https://metal.equinix.com/developers/docs/servers/user-data/) and [Provisioning with Custom iPXE](https://metal.equinix.com/developers/docs/operating-systems/custom-ipxe/#provisioning-with-custom-ipxe) for more details.
	Userdata             *string `json:"userdata,omitempty"`
	AdditionalProperties map[string]interface{}
}

DeviceCreateInput struct for DeviceCreateInput

func NewDeviceCreateInput ¶

func NewDeviceCreateInput(operatingSystem string, plan string) *DeviceCreateInput

NewDeviceCreateInput instantiates a new DeviceCreateInput object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewDeviceCreateInputWithDefaults ¶

func NewDeviceCreateInputWithDefaults() *DeviceCreateInput

NewDeviceCreateInputWithDefaults instantiates a new DeviceCreateInput object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*DeviceCreateInput) GetAlwaysPxe ¶

func (o *DeviceCreateInput) GetAlwaysPxe() bool

GetAlwaysPxe returns the AlwaysPxe field value if set, zero value otherwise.

func (*DeviceCreateInput) GetAlwaysPxeOk ¶

func (o *DeviceCreateInput) GetAlwaysPxeOk() (*bool, bool)

GetAlwaysPxeOk returns a tuple with the AlwaysPxe field value if set, nil otherwise and a boolean to check if the value has been set.

func (*DeviceCreateInput) GetBillingCycle ¶

func (o *DeviceCreateInput) GetBillingCycle() DeviceCreateInputBillingCycle

GetBillingCycle returns the BillingCycle field value if set, zero value otherwise.

func (*DeviceCreateInput) GetBillingCycleOk ¶

func (o *DeviceCreateInput) GetBillingCycleOk() (*DeviceCreateInputBillingCycle, bool)

GetBillingCycleOk returns a tuple with the BillingCycle field value if set, nil otherwise and a boolean to check if the value has been set.

func (*DeviceCreateInput) GetCustomdata ¶

func (o *DeviceCreateInput) GetCustomdata() map[string]interface{}

GetCustomdata returns the Customdata field value if set, zero value otherwise.

func (*DeviceCreateInput) GetCustomdataOk ¶

func (o *DeviceCreateInput) GetCustomdataOk() (map[string]interface{}, bool)

GetCustomdataOk returns a tuple with the Customdata field value if set, nil otherwise and a boolean to check if the value has been set.

func (*DeviceCreateInput) GetDescription ¶

func (o *DeviceCreateInput) GetDescription() string

GetDescription returns the Description field value if set, zero value otherwise.

func (*DeviceCreateInput) GetDescriptionOk ¶

func (o *DeviceCreateInput) GetDescriptionOk() (*string, bool)

GetDescriptionOk returns a tuple with the Description field value if set, nil otherwise and a boolean to check if the value has been set.

func (*DeviceCreateInput) GetFeatures ¶

func (o *DeviceCreateInput) GetFeatures() []string

GetFeatures returns the Features field value if set, zero value otherwise.

func (*DeviceCreateInput) GetFeaturesOk ¶

func (o *DeviceCreateInput) GetFeaturesOk() ([]string, bool)

GetFeaturesOk returns a tuple with the Features field value if set, nil otherwise and a boolean to check if the value has been set.

func (*DeviceCreateInput) GetHardwareReservationId ¶

func (o *DeviceCreateInput) GetHardwareReservationId() string

GetHardwareReservationId returns the HardwareReservationId field value if set, zero value otherwise.

func (*DeviceCreateInput) GetHardwareReservationIdOk ¶

func (o *DeviceCreateInput) GetHardwareReservationIdOk() (*string, bool)

GetHardwareReservationIdOk returns a tuple with the HardwareReservationId field value if set, nil otherwise and a boolean to check if the value has been set.

func (*DeviceCreateInput) GetHostname ¶

func (o *DeviceCreateInput) GetHostname() string

GetHostname returns the Hostname field value if set, zero value otherwise.

func (*DeviceCreateInput) GetHostnameOk ¶

func (o *DeviceCreateInput) GetHostnameOk() (*string, bool)

GetHostnameOk returns a tuple with the Hostname field value if set, nil otherwise and a boolean to check if the value has been set.

func (*DeviceCreateInput) GetIpAddresses ¶

func (o *DeviceCreateInput) GetIpAddresses() []IPAddress

GetIpAddresses returns the IpAddresses field value if set, zero value otherwise.

func (*DeviceCreateInput) GetIpAddressesOk ¶

func (o *DeviceCreateInput) GetIpAddressesOk() ([]IPAddress, bool)

GetIpAddressesOk returns a tuple with the IpAddresses field value if set, nil otherwise and a boolean to check if the value has been set.

func (*DeviceCreateInput) GetIpxeScriptUrl ¶

func (o *DeviceCreateInput) GetIpxeScriptUrl() string

GetIpxeScriptUrl returns the IpxeScriptUrl field value if set, zero value otherwise.

func (*DeviceCreateInput) GetIpxeScriptUrlOk ¶

func (o *DeviceCreateInput) GetIpxeScriptUrlOk() (*string, bool)

GetIpxeScriptUrlOk returns a tuple with the IpxeScriptUrl field value if set, nil otherwise and a boolean to check if the value has been set.

func (*DeviceCreateInput) GetLocked ¶

func (o *DeviceCreateInput) GetLocked() bool

GetLocked returns the Locked field value if set, zero value otherwise.

func (*DeviceCreateInput) GetLockedOk ¶

func (o *DeviceCreateInput) GetLockedOk() (*bool, bool)

GetLockedOk returns a tuple with the Locked field value if set, nil otherwise and a boolean to check if the value has been set.

func (*DeviceCreateInput) GetNetworkFrozen ¶ added in v0.10.0

func (o *DeviceCreateInput) GetNetworkFrozen() bool

GetNetworkFrozen returns the NetworkFrozen field value if set, zero value otherwise.

func (*DeviceCreateInput) GetNetworkFrozenOk ¶ added in v0.10.0

func (o *DeviceCreateInput) GetNetworkFrozenOk() (*bool, bool)

GetNetworkFrozenOk returns a tuple with the NetworkFrozen field value if set, nil otherwise and a boolean to check if the value has been set.

func (*DeviceCreateInput) GetNoSshKeys ¶

func (o *DeviceCreateInput) GetNoSshKeys() bool

GetNoSshKeys returns the NoSshKeys field value if set, zero value otherwise.

func (*DeviceCreateInput) GetNoSshKeysOk ¶

func (o *DeviceCreateInput) GetNoSshKeysOk() (*bool, bool)

GetNoSshKeysOk returns a tuple with the NoSshKeys field value if set, nil otherwise and a boolean to check if the value has been set.

func (*DeviceCreateInput) GetOperatingSystem ¶

func (o *DeviceCreateInput) GetOperatingSystem() string

GetOperatingSystem returns the OperatingSystem field value

func (*DeviceCreateInput) GetOperatingSystemOk ¶

func (o *DeviceCreateInput) GetOperatingSystemOk() (*string, bool)

GetOperatingSystemOk returns a tuple with the OperatingSystem field value and a boolean to check if the value has been set.

func (*DeviceCreateInput) GetPlan ¶

func (o *DeviceCreateInput) GetPlan() string

GetPlan returns the Plan field value

func (*DeviceCreateInput) GetPlanOk ¶

func (o *DeviceCreateInput) GetPlanOk() (*string, bool)

GetPlanOk returns a tuple with the Plan field value and a boolean to check if the value has been set.

func (*DeviceCreateInput) GetPrivateIpv4SubnetSize ¶

func (o *DeviceCreateInput) GetPrivateIpv4SubnetSize() int32

GetPrivateIpv4SubnetSize returns the PrivateIpv4SubnetSize field value if set, zero value otherwise.

func (*DeviceCreateInput) GetPrivateIpv4SubnetSizeOk ¶

func (o *DeviceCreateInput) GetPrivateIpv4SubnetSizeOk() (*int32, bool)

GetPrivateIpv4SubnetSizeOk returns a tuple with the PrivateIpv4SubnetSize field value if set, nil otherwise and a boolean to check if the value has been set.

func (*DeviceCreateInput) GetProjectSshKeys ¶

func (o *DeviceCreateInput) GetProjectSshKeys() []string

GetProjectSshKeys returns the ProjectSshKeys field value if set, zero value otherwise.

func (*DeviceCreateInput) GetProjectSshKeysOk ¶

func (o *DeviceCreateInput) GetProjectSshKeysOk() ([]string, bool)

GetProjectSshKeysOk returns a tuple with the ProjectSshKeys field value if set, nil otherwise and a boolean to check if the value has been set.

func (*DeviceCreateInput) GetPublicIpv4SubnetSize ¶

func (o *DeviceCreateInput) GetPublicIpv4SubnetSize() int32

GetPublicIpv4SubnetSize returns the PublicIpv4SubnetSize field value if set, zero value otherwise.

func (*DeviceCreateInput) GetPublicIpv4SubnetSizeOk ¶

func (o *DeviceCreateInput) GetPublicIpv4SubnetSizeOk() (*int32, bool)

GetPublicIpv4SubnetSizeOk returns a tuple with the PublicIpv4SubnetSize field value if set, nil otherwise and a boolean to check if the value has been set.

func (*DeviceCreateInput) GetSpotInstance ¶

func (o *DeviceCreateInput) GetSpotInstance() bool

GetSpotInstance returns the SpotInstance field value if set, zero value otherwise.

func (*DeviceCreateInput) GetSpotInstanceOk ¶

func (o *DeviceCreateInput) GetSpotInstanceOk() (*bool, bool)

GetSpotInstanceOk returns a tuple with the SpotInstance field value if set, nil otherwise and a boolean to check if the value has been set.

func (*DeviceCreateInput) GetSpotPriceMax ¶

func (o *DeviceCreateInput) GetSpotPriceMax() float32

GetSpotPriceMax returns the SpotPriceMax field value if set, zero value otherwise.

func (*DeviceCreateInput) GetSpotPriceMaxOk ¶

func (o *DeviceCreateInput) GetSpotPriceMaxOk() (*float32, bool)

GetSpotPriceMaxOk returns a tuple with the SpotPriceMax field value if set, nil otherwise and a boolean to check if the value has been set.

func (*DeviceCreateInput) GetSshKeys ¶

func (o *DeviceCreateInput) GetSshKeys() []SSHKeyInput

GetSshKeys returns the SshKeys field value if set, zero value otherwise.

func (*DeviceCreateInput) GetSshKeysOk ¶

func (o *DeviceCreateInput) GetSshKeysOk() ([]SSHKeyInput, bool)

GetSshKeysOk returns a tuple with the SshKeys field value if set, nil otherwise and a boolean to check if the value has been set.

func (*DeviceCreateInput) GetStorage ¶ added in v0.15.0

func (o *DeviceCreateInput) GetStorage() Storage

GetStorage returns the Storage field value if set, zero value otherwise.

func (*DeviceCreateInput) GetStorageOk ¶ added in v0.15.0

func (o *DeviceCreateInput) GetStorageOk() (*Storage, bool)

GetStorageOk returns a tuple with the Storage field value if set, nil otherwise and a boolean to check if the value has been set.

func (*DeviceCreateInput) GetTags ¶

func (o *DeviceCreateInput) GetTags() []string

GetTags returns the Tags field value if set, zero value otherwise.

func (*DeviceCreateInput) GetTagsOk ¶

func (o *DeviceCreateInput) GetTagsOk() ([]string, bool)

GetTagsOk returns a tuple with the Tags field value if set, nil otherwise and a boolean to check if the value has been set.

func (*DeviceCreateInput) GetTerminationTime ¶

func (o *DeviceCreateInput) GetTerminationTime() time.Time

GetTerminationTime returns the TerminationTime field value if set, zero value otherwise.

func (*DeviceCreateInput) GetTerminationTimeOk ¶

func (o *DeviceCreateInput) GetTerminationTimeOk() (*time.Time, bool)

GetTerminationTimeOk returns a tuple with the TerminationTime field value if set, nil otherwise and a boolean to check if the value has been set.

func (*DeviceCreateInput) GetUserSshKeys ¶

func (o *DeviceCreateInput) GetUserSshKeys() []string

GetUserSshKeys returns the UserSshKeys field value if set, zero value otherwise.

func (*DeviceCreateInput) GetUserSshKeysOk ¶

func (o *DeviceCreateInput) GetUserSshKeysOk() ([]string, bool)

GetUserSshKeysOk returns a tuple with the UserSshKeys field value if set, nil otherwise and a boolean to check if the value has been set.

func (*DeviceCreateInput) GetUserdata ¶

func (o *DeviceCreateInput) GetUserdata() string

GetUserdata returns the Userdata field value if set, zero value otherwise.

func (*DeviceCreateInput) GetUserdataOk ¶

func (o *DeviceCreateInput) GetUserdataOk() (*string, bool)

GetUserdataOk returns a tuple with the Userdata field value if set, nil otherwise and a boolean to check if the value has been set.

func (*DeviceCreateInput) HasAlwaysPxe ¶

func (o *DeviceCreateInput) HasAlwaysPxe() bool

HasAlwaysPxe returns a boolean if a field has been set.

func (*DeviceCreateInput) HasBillingCycle ¶

func (o *DeviceCreateInput) HasBillingCycle() bool

HasBillingCycle returns a boolean if a field has been set.

func (*DeviceCreateInput) HasCustomdata ¶

func (o *DeviceCreateInput) HasCustomdata() bool

HasCustomdata returns a boolean if a field has been set.

func (*DeviceCreateInput) HasDescription ¶

func (o *DeviceCreateInput) HasDescription() bool

HasDescription returns a boolean if a field has been set.

func (*DeviceCreateInput) HasFeatures ¶

func (o *DeviceCreateInput) HasFeatures() bool

HasFeatures returns a boolean if a field has been set.

func (*DeviceCreateInput) HasHardwareReservationId ¶

func (o *DeviceCreateInput) HasHardwareReservationId() bool

HasHardwareReservationId returns a boolean if a field has been set.

func (*DeviceCreateInput) HasHostname ¶

func (o *DeviceCreateInput) HasHostname() bool

HasHostname returns a boolean if a field has been set.

func (*DeviceCreateInput) HasIpAddresses ¶

func (o *DeviceCreateInput) HasIpAddresses() bool

HasIpAddresses returns a boolean if a field has been set.

func (*DeviceCreateInput) HasIpxeScriptUrl ¶

func (o *DeviceCreateInput) HasIpxeScriptUrl() bool

HasIpxeScriptUrl returns a boolean if a field has been set.

func (*DeviceCreateInput) HasLocked ¶

func (o *DeviceCreateInput) HasLocked() bool

HasLocked returns a boolean if a field has been set.

func (*DeviceCreateInput) HasNetworkFrozen ¶ added in v0.10.0

func (o *DeviceCreateInput) HasNetworkFrozen() bool

HasNetworkFrozen returns a boolean if a field has been set.

func (*DeviceCreateInput) HasNoSshKeys ¶

func (o *DeviceCreateInput) HasNoSshKeys() bool

HasNoSshKeys returns a boolean if a field has been set.

func (*DeviceCreateInput) HasPrivateIpv4SubnetSize ¶

func (o *DeviceCreateInput) HasPrivateIpv4SubnetSize() bool

HasPrivateIpv4SubnetSize returns a boolean if a field has been set.

func (*DeviceCreateInput) HasProjectSshKeys ¶

func (o *DeviceCreateInput) HasProjectSshKeys() bool

HasProjectSshKeys returns a boolean if a field has been set.

func (*DeviceCreateInput) HasPublicIpv4SubnetSize ¶

func (o *DeviceCreateInput) HasPublicIpv4SubnetSize() bool

HasPublicIpv4SubnetSize returns a boolean if a field has been set.

func (*DeviceCreateInput) HasSpotInstance ¶

func (o *DeviceCreateInput) HasSpotInstance() bool

HasSpotInstance returns a boolean if a field has been set.

func (*DeviceCreateInput) HasSpotPriceMax ¶

func (o *DeviceCreateInput) HasSpotPriceMax() bool

HasSpotPriceMax returns a boolean if a field has been set.

func (*DeviceCreateInput) HasSshKeys ¶

func (o *DeviceCreateInput) HasSshKeys() bool

HasSshKeys returns a boolean if a field has been set.

func (*DeviceCreateInput) HasStorage ¶ added in v0.15.0

func (o *DeviceCreateInput) HasStorage() bool

HasStorage returns a boolean if a field has been set.

func (*DeviceCreateInput) HasTags ¶

func (o *DeviceCreateInput) HasTags() bool

HasTags returns a boolean if a field has been set.

func (*DeviceCreateInput) HasTerminationTime ¶

func (o *DeviceCreateInput) HasTerminationTime() bool

HasTerminationTime returns a boolean if a field has been set.

func (*DeviceCreateInput) HasUserSshKeys ¶

func (o *DeviceCreateInput) HasUserSshKeys() bool

HasUserSshKeys returns a boolean if a field has been set.

func (*DeviceCreateInput) HasUserdata ¶

func (o *DeviceCreateInput) HasUserdata() bool

HasUserdata returns a boolean if a field has been set.

func (DeviceCreateInput) MarshalJSON ¶

func (o DeviceCreateInput) MarshalJSON() ([]byte, error)

func (*DeviceCreateInput) SetAlwaysPxe ¶

func (o *DeviceCreateInput) SetAlwaysPxe(v bool)

SetAlwaysPxe gets a reference to the given bool and assigns it to the AlwaysPxe field.

func (*DeviceCreateInput) SetBillingCycle ¶

func (o *DeviceCreateInput) SetBillingCycle(v DeviceCreateInputBillingCycle)

SetBillingCycle gets a reference to the given DeviceCreateInputBillingCycle and assigns it to the BillingCycle field.

func (*DeviceCreateInput) SetCustomdata ¶

func (o *DeviceCreateInput) SetCustomdata(v map[string]interface{})

SetCustomdata gets a reference to the given map[string]interface{} and assigns it to the Customdata field.

func (*DeviceCreateInput) SetDescription ¶

func (o *DeviceCreateInput) SetDescription(v string)

SetDescription gets a reference to the given string and assigns it to the Description field.

func (*DeviceCreateInput) SetFeatures ¶

func (o *DeviceCreateInput) SetFeatures(v []string)

SetFeatures gets a reference to the given []string and assigns it to the Features field.

func (*DeviceCreateInput) SetHardwareReservationId ¶

func (o *DeviceCreateInput) SetHardwareReservationId(v string)

SetHardwareReservationId gets a reference to the given string and assigns it to the HardwareReservationId field.

func (*DeviceCreateInput) SetHostname ¶

func (o *DeviceCreateInput) SetHostname(v string)

SetHostname gets a reference to the given string and assigns it to the Hostname field.

func (*DeviceCreateInput) SetIpAddresses ¶

func (o *DeviceCreateInput) SetIpAddresses(v []IPAddress)

SetIpAddresses gets a reference to the given []IPAddress and assigns it to the IpAddresses field.

func (*DeviceCreateInput) SetIpxeScriptUrl ¶

func (o *DeviceCreateInput) SetIpxeScriptUrl(v string)

SetIpxeScriptUrl gets a reference to the given string and assigns it to the IpxeScriptUrl field.

func (*DeviceCreateInput) SetLocked ¶

func (o *DeviceCreateInput) SetLocked(v bool)

SetLocked gets a reference to the given bool and assigns it to the Locked field.

func (*DeviceCreateInput) SetNetworkFrozen ¶ added in v0.10.0

func (o *DeviceCreateInput) SetNetworkFrozen(v bool)

SetNetworkFrozen gets a reference to the given bool and assigns it to the NetworkFrozen field.

func (*DeviceCreateInput) SetNoSshKeys ¶

func (o *DeviceCreateInput) SetNoSshKeys(v bool)

SetNoSshKeys gets a reference to the given bool and assigns it to the NoSshKeys field.

func (*DeviceCreateInput) SetOperatingSystem ¶

func (o *DeviceCreateInput) SetOperatingSystem(v string)

SetOperatingSystem sets field value

func (*DeviceCreateInput) SetPlan ¶

func (o *DeviceCreateInput) SetPlan(v string)

SetPlan sets field value

func (*DeviceCreateInput) SetPrivateIpv4SubnetSize ¶

func (o *DeviceCreateInput) SetPrivateIpv4SubnetSize(v int32)

SetPrivateIpv4SubnetSize gets a reference to the given int32 and assigns it to the PrivateIpv4SubnetSize field.

func (*DeviceCreateInput) SetProjectSshKeys ¶

func (o *DeviceCreateInput) SetProjectSshKeys(v []string)

SetProjectSshKeys gets a reference to the given []string and assigns it to the ProjectSshKeys field.

func (*DeviceCreateInput) SetPublicIpv4SubnetSize ¶

func (o *DeviceCreateInput) SetPublicIpv4SubnetSize(v int32)

SetPublicIpv4SubnetSize gets a reference to the given int32 and assigns it to the PublicIpv4SubnetSize field.

func (*DeviceCreateInput) SetSpotInstance ¶

func (o *DeviceCreateInput) SetSpotInstance(v bool)

SetSpotInstance gets a reference to the given bool and assigns it to the SpotInstance field.

func (*DeviceCreateInput) SetSpotPriceMax ¶

func (o *DeviceCreateInput) SetSpotPriceMax(v float32)

SetSpotPriceMax gets a reference to the given float32 and assigns it to the SpotPriceMax field.

func (*DeviceCreateInput) SetSshKeys ¶

func (o *DeviceCreateInput) SetSshKeys(v []SSHKeyInput)

SetSshKeys gets a reference to the given []SSHKeyInput and assigns it to the SshKeys field.

func (*DeviceCreateInput) SetStorage ¶ added in v0.15.0

func (o *DeviceCreateInput) SetStorage(v Storage)

SetStorage gets a reference to the given Storage and assigns it to the Storage field.

func (*DeviceCreateInput) SetTags ¶

func (o *DeviceCreateInput) SetTags(v []string)

SetTags gets a reference to the given []string and assigns it to the Tags field.

func (*DeviceCreateInput) SetTerminationTime ¶

func (o *DeviceCreateInput) SetTerminationTime(v time.Time)

SetTerminationTime gets a reference to the given time.Time and assigns it to the TerminationTime field.

func (*DeviceCreateInput) SetUserSshKeys ¶

func (o *DeviceCreateInput) SetUserSshKeys(v []string)

SetUserSshKeys gets a reference to the given []string and assigns it to the UserSshKeys field.

func (*DeviceCreateInput) SetUserdata ¶

func (o *DeviceCreateInput) SetUserdata(v string)

SetUserdata gets a reference to the given string and assigns it to the Userdata field.

func (DeviceCreateInput) ToMap ¶ added in v0.4.0

func (o DeviceCreateInput) ToMap() (map[string]interface{}, error)

func (*DeviceCreateInput) UnmarshalJSON ¶ added in v0.7.0

func (o *DeviceCreateInput) UnmarshalJSON(bytes []byte) (err error)

type DeviceCreateInputBillingCycle ¶ added in v0.22.0

type DeviceCreateInputBillingCycle string

DeviceCreateInputBillingCycle The billing cycle of the device.

const (
	DEVICECREATEINPUTBILLINGCYCLE_HOURLY  DeviceCreateInputBillingCycle = "hourly"
	DEVICECREATEINPUTBILLINGCYCLE_DAILY   DeviceCreateInputBillingCycle = "daily"
	DEVICECREATEINPUTBILLINGCYCLE_MONTHLY DeviceCreateInputBillingCycle = "monthly"
	DEVICECREATEINPUTBILLINGCYCLE_YEARLY  DeviceCreateInputBillingCycle = "yearly"
)

List of DeviceCreateInput_billing_cycle

func NewDeviceCreateInputBillingCycleFromValue ¶ added in v0.22.0

func NewDeviceCreateInputBillingCycleFromValue(v string) (*DeviceCreateInputBillingCycle, error)

NewDeviceCreateInputBillingCycleFromValue returns a pointer to a valid DeviceCreateInputBillingCycle for the value passed as argument, or an error if the value passed is not allowed by the enum

func (DeviceCreateInputBillingCycle) IsValid ¶ added in v0.22.0

func (v DeviceCreateInputBillingCycle) IsValid() bool

IsValid return true if the value is valid for the enum, false otherwise

func (DeviceCreateInputBillingCycle) Ptr ¶ added in v0.22.0

Ptr returns reference to DeviceCreateInput_billing_cycle value

func (*DeviceCreateInputBillingCycle) UnmarshalJSON ¶ added in v0.22.0

func (v *DeviceCreateInputBillingCycle) UnmarshalJSON(src []byte) error

type DeviceCreatedBy ¶ added in v0.4.0

type DeviceCreatedBy struct {
	// Avatar thumbnail URL of the User
	AvatarThumbUrl *string `json:"avatar_thumb_url,omitempty"`
	// When the user was created
	CreatedAt *time.Time `json:"created_at,omitempty"`
	// Primary email address of the User
	Email *string `json:"email,omitempty"`
	// First name of the User
	FirstName *string `json:"first_name,omitempty"`
	// Full name of the User
	FullName *string `json:"full_name,omitempty"`
	// API URL uniquely representing the User
	Href *string `json:"href,omitempty"`
	// ID of the User
	Id string `json:"id"`
	// Last name of the User
	LastName *string `json:"last_name,omitempty"`
	// Short ID of the User
	ShortId string `json:"short_id"`
	// When the user details were last updated
	UpdatedAt            *time.Time `json:"updated_at,omitempty"`
	AdditionalProperties map[string]interface{}
}

DeviceCreatedBy struct for DeviceCreatedBy

func NewDeviceCreatedBy ¶ added in v0.4.0

func NewDeviceCreatedBy(id string, shortId string) *DeviceCreatedBy

NewDeviceCreatedBy instantiates a new DeviceCreatedBy object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewDeviceCreatedByWithDefaults ¶ added in v0.4.0

func NewDeviceCreatedByWithDefaults() *DeviceCreatedBy

NewDeviceCreatedByWithDefaults instantiates a new DeviceCreatedBy object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*DeviceCreatedBy) GetAvatarThumbUrl ¶ added in v0.4.0

func (o *DeviceCreatedBy) GetAvatarThumbUrl() string

GetAvatarThumbUrl returns the AvatarThumbUrl field value if set, zero value otherwise.

func (*DeviceCreatedBy) GetAvatarThumbUrlOk ¶ added in v0.4.0

func (o *DeviceCreatedBy) GetAvatarThumbUrlOk() (*string, bool)

GetAvatarThumbUrlOk returns a tuple with the AvatarThumbUrl field value if set, nil otherwise and a boolean to check if the value has been set.

func (*DeviceCreatedBy) GetCreatedAt ¶ added in v0.4.0

func (o *DeviceCreatedBy) GetCreatedAt() time.Time

GetCreatedAt returns the CreatedAt field value if set, zero value otherwise.

func (*DeviceCreatedBy) GetCreatedAtOk ¶ added in v0.4.0

func (o *DeviceCreatedBy) GetCreatedAtOk() (*time.Time, bool)

GetCreatedAtOk returns a tuple with the CreatedAt field value if set, nil otherwise and a boolean to check if the value has been set.

func (*DeviceCreatedBy) GetEmail ¶ added in v0.4.0

func (o *DeviceCreatedBy) GetEmail() string

GetEmail returns the Email field value if set, zero value otherwise.

func (*DeviceCreatedBy) GetEmailOk ¶ added in v0.4.0

func (o *DeviceCreatedBy) GetEmailOk() (*string, bool)

GetEmailOk returns a tuple with the Email field value if set, nil otherwise and a boolean to check if the value has been set.

func (*DeviceCreatedBy) GetFirstName ¶ added in v0.4.0

func (o *DeviceCreatedBy) GetFirstName() string

GetFirstName returns the FirstName field value if set, zero value otherwise.

func (*DeviceCreatedBy) GetFirstNameOk ¶ added in v0.4.0

func (o *DeviceCreatedBy) GetFirstNameOk() (*string, bool)

GetFirstNameOk returns a tuple with the FirstName field value if set, nil otherwise and a boolean to check if the value has been set.

func (*DeviceCreatedBy) GetFullName ¶ added in v0.4.0

func (o *DeviceCreatedBy) GetFullName() string

GetFullName returns the FullName field value if set, zero value otherwise.

func (*DeviceCreatedBy) GetFullNameOk ¶ added in v0.4.0

func (o *DeviceCreatedBy) GetFullNameOk() (*string, bool)

GetFullNameOk returns a tuple with the FullName field value if set, nil otherwise and a boolean to check if the value has been set.

func (*DeviceCreatedBy) GetHref ¶ added in v0.4.0

func (o *DeviceCreatedBy) GetHref() string

GetHref returns the Href field value if set, zero value otherwise.

func (*DeviceCreatedBy) GetHrefOk ¶ added in v0.4.0

func (o *DeviceCreatedBy) GetHrefOk() (*string, bool)

GetHrefOk returns a tuple with the Href field value if set, nil otherwise and a boolean to check if the value has been set.

func (*DeviceCreatedBy) GetId ¶ added in v0.4.0

func (o *DeviceCreatedBy) GetId() string

GetId returns the Id field value

func (*DeviceCreatedBy) GetIdOk ¶ added in v0.4.0

func (o *DeviceCreatedBy) GetIdOk() (*string, bool)

GetIdOk returns a tuple with the Id field value and a boolean to check if the value has been set.

func (*DeviceCreatedBy) GetLastName ¶ added in v0.4.0

func (o *DeviceCreatedBy) GetLastName() string

GetLastName returns the LastName field value if set, zero value otherwise.

func (*DeviceCreatedBy) GetLastNameOk ¶ added in v0.4.0

func (o *DeviceCreatedBy) GetLastNameOk() (*string, bool)

GetLastNameOk returns a tuple with the LastName field value if set, nil otherwise and a boolean to check if the value has been set.

func (*DeviceCreatedBy) GetShortId ¶ added in v0.4.0

func (o *DeviceCreatedBy) GetShortId() string

GetShortId returns the ShortId field value

func (*DeviceCreatedBy) GetShortIdOk ¶ added in v0.4.0

func (o *DeviceCreatedBy) GetShortIdOk() (*string, bool)

GetShortIdOk returns a tuple with the ShortId field value and a boolean to check if the value has been set.

func (*DeviceCreatedBy) GetUpdatedAt ¶ added in v0.4.0

func (o *DeviceCreatedBy) GetUpdatedAt() time.Time

GetUpdatedAt returns the UpdatedAt field value if set, zero value otherwise.

func (*DeviceCreatedBy) GetUpdatedAtOk ¶ added in v0.4.0

func (o *DeviceCreatedBy) GetUpdatedAtOk() (*time.Time, bool)

GetUpdatedAtOk returns a tuple with the UpdatedAt field value if set, nil otherwise and a boolean to check if the value has been set.

func (*DeviceCreatedBy) HasAvatarThumbUrl ¶ added in v0.4.0

func (o *DeviceCreatedBy) HasAvatarThumbUrl() bool

HasAvatarThumbUrl returns a boolean if a field has been set.

func (*DeviceCreatedBy) HasCreatedAt ¶ added in v0.4.0

func (o *DeviceCreatedBy) HasCreatedAt() bool

HasCreatedAt returns a boolean if a field has been set.

func (*DeviceCreatedBy) HasEmail ¶ added in v0.4.0

func (o *DeviceCreatedBy) HasEmail() bool

HasEmail returns a boolean if a field has been set.

func (*DeviceCreatedBy) HasFirstName ¶ added in v0.4.0

func (o *DeviceCreatedBy) HasFirstName() bool

HasFirstName returns a boolean if a field has been set.

func (*DeviceCreatedBy) HasFullName ¶ added in v0.4.0

func (o *DeviceCreatedBy) HasFullName() bool

HasFullName returns a boolean if a field has been set.

func (*DeviceCreatedBy) HasHref ¶ added in v0.4.0

func (o *DeviceCreatedBy) HasHref() bool

HasHref returns a boolean if a field has been set.

func (*DeviceCreatedBy) HasLastName ¶ added in v0.4.0

func (o *DeviceCreatedBy) HasLastName() bool

HasLastName returns a boolean if a field has been set.

func (*DeviceCreatedBy) HasUpdatedAt ¶ added in v0.4.0

func (o *DeviceCreatedBy) HasUpdatedAt() bool

HasUpdatedAt returns a boolean if a field has been set.

func (DeviceCreatedBy) MarshalJSON ¶ added in v0.4.0

func (o DeviceCreatedBy) MarshalJSON() ([]byte, error)

func (*DeviceCreatedBy) SetAvatarThumbUrl ¶ added in v0.4.0

func (o *DeviceCreatedBy) SetAvatarThumbUrl(v string)

SetAvatarThumbUrl gets a reference to the given string and assigns it to the AvatarThumbUrl field.

func (*DeviceCreatedBy) SetCreatedAt ¶ added in v0.4.0

func (o *DeviceCreatedBy) SetCreatedAt(v time.Time)

SetCreatedAt gets a reference to the given time.Time and assigns it to the CreatedAt field.

func (*DeviceCreatedBy) SetEmail ¶ added in v0.4.0

func (o *DeviceCreatedBy) SetEmail(v string)

SetEmail gets a reference to the given string and assigns it to the Email field.

func (*DeviceCreatedBy) SetFirstName ¶ added in v0.4.0

func (o *DeviceCreatedBy) SetFirstName(v string)

SetFirstName gets a reference to the given string and assigns it to the FirstName field.

func (*DeviceCreatedBy) SetFullName ¶ added in v0.4.0

func (o *DeviceCreatedBy) SetFullName(v string)

SetFullName gets a reference to the given string and assigns it to the FullName field.

func (*DeviceCreatedBy) SetHref ¶ added in v0.4.0

func (o *DeviceCreatedBy) SetHref(v string)

SetHref gets a reference to the given string and assigns it to the Href field.

func (*DeviceCreatedBy) SetId ¶ added in v0.4.0

func (o *DeviceCreatedBy) SetId(v string)

SetId sets field value

func (*DeviceCreatedBy) SetLastName ¶ added in v0.4.0

func (o *DeviceCreatedBy) SetLastName(v string)

SetLastName gets a reference to the given string and assigns it to the LastName field.

func (*DeviceCreatedBy) SetShortId ¶ added in v0.4.0

func (o *DeviceCreatedBy) SetShortId(v string)

SetShortId sets field value

func (*DeviceCreatedBy) SetUpdatedAt ¶ added in v0.4.0

func (o *DeviceCreatedBy) SetUpdatedAt(v time.Time)

SetUpdatedAt gets a reference to the given time.Time and assigns it to the UpdatedAt field.

func (DeviceCreatedBy) ToMap ¶ added in v0.4.0

func (o DeviceCreatedBy) ToMap() (map[string]interface{}, error)

func (*DeviceCreatedBy) UnmarshalJSON ¶ added in v0.7.0

func (o *DeviceCreatedBy) UnmarshalJSON(bytes []byte) (err error)

type DeviceHealthRollup ¶ added in v0.21.0

type DeviceHealthRollup struct {
	HealthRollup *DeviceHealthRollupHealthRollup `json:"health_rollup,omitempty"`
	// Last update of health status.
	UpdatedAt            *time.Time `json:"updated_at,omitempty"`
	AdditionalProperties map[string]interface{}
}

DeviceHealthRollup Represents a Device Health Status

func NewDeviceHealthRollup ¶ added in v0.21.0

func NewDeviceHealthRollup() *DeviceHealthRollup

NewDeviceHealthRollup instantiates a new DeviceHealthRollup object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewDeviceHealthRollupWithDefaults ¶ added in v0.21.0

func NewDeviceHealthRollupWithDefaults() *DeviceHealthRollup

NewDeviceHealthRollupWithDefaults instantiates a new DeviceHealthRollup object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*DeviceHealthRollup) GetHealthRollup ¶ added in v0.21.0

GetHealthRollup returns the HealthRollup field value if set, zero value otherwise.

func (*DeviceHealthRollup) GetHealthRollupOk ¶ added in v0.21.0

func (o *DeviceHealthRollup) GetHealthRollupOk() (*DeviceHealthRollupHealthRollup, bool)

GetHealthRollupOk returns a tuple with the HealthRollup field value if set, nil otherwise and a boolean to check if the value has been set.

func (*DeviceHealthRollup) GetUpdatedAt ¶ added in v0.21.0

func (o *DeviceHealthRollup) GetUpdatedAt() time.Time

GetUpdatedAt returns the UpdatedAt field value if set, zero value otherwise.

func (*DeviceHealthRollup) GetUpdatedAtOk ¶ added in v0.21.0

func (o *DeviceHealthRollup) GetUpdatedAtOk() (*time.Time, bool)

GetUpdatedAtOk returns a tuple with the UpdatedAt field value if set, nil otherwise and a boolean to check if the value has been set.

func (*DeviceHealthRollup) HasHealthRollup ¶ added in v0.21.0

func (o *DeviceHealthRollup) HasHealthRollup() bool

HasHealthRollup returns a boolean if a field has been set.

func (*DeviceHealthRollup) HasUpdatedAt ¶ added in v0.21.0

func (o *DeviceHealthRollup) HasUpdatedAt() bool

HasUpdatedAt returns a boolean if a field has been set.

func (DeviceHealthRollup) MarshalJSON ¶ added in v0.21.0

func (o DeviceHealthRollup) MarshalJSON() ([]byte, error)

func (*DeviceHealthRollup) SetHealthRollup ¶ added in v0.21.0

func (o *DeviceHealthRollup) SetHealthRollup(v DeviceHealthRollupHealthRollup)

SetHealthRollup gets a reference to the given DeviceHealthRollupHealthRollup and assigns it to the HealthRollup field.

func (*DeviceHealthRollup) SetUpdatedAt ¶ added in v0.21.0

func (o *DeviceHealthRollup) SetUpdatedAt(v time.Time)

SetUpdatedAt gets a reference to the given time.Time and assigns it to the UpdatedAt field.

func (DeviceHealthRollup) ToMap ¶ added in v0.21.0

func (o DeviceHealthRollup) ToMap() (map[string]interface{}, error)

func (*DeviceHealthRollup) UnmarshalJSON ¶ added in v0.21.0

func (o *DeviceHealthRollup) UnmarshalJSON(bytes []byte) (err error)

type DeviceHealthRollupHealthRollup ¶ added in v0.22.0

type DeviceHealthRollupHealthRollup string

DeviceHealthRollupHealthRollup Health Status

const (
	DEVICEHEALTHROLLUPHEALTHROLLUP_OK       DeviceHealthRollupHealthRollup = "ok"
	DEVICEHEALTHROLLUPHEALTHROLLUP_WARNING  DeviceHealthRollupHealthRollup = "warning"
	DEVICEHEALTHROLLUPHEALTHROLLUP_CRITICAL DeviceHealthRollupHealthRollup = "critical"
)

List of DeviceHealthRollup_health_rollup

func NewDeviceHealthRollupHealthRollupFromValue ¶ added in v0.22.0

func NewDeviceHealthRollupHealthRollupFromValue(v string) (*DeviceHealthRollupHealthRollup, error)

NewDeviceHealthRollupHealthRollupFromValue returns a pointer to a valid DeviceHealthRollupHealthRollup for the value passed as argument, or an error if the value passed is not allowed by the enum

func (DeviceHealthRollupHealthRollup) IsValid ¶ added in v0.22.0

IsValid return true if the value is valid for the enum, false otherwise

func (DeviceHealthRollupHealthRollup) Ptr ¶ added in v0.22.0

Ptr returns reference to DeviceHealthRollup_health_rollup value

func (*DeviceHealthRollupHealthRollup) UnmarshalJSON ¶ added in v0.22.0

func (v *DeviceHealthRollupHealthRollup) UnmarshalJSON(src []byte) error

type DeviceList ¶

type DeviceList struct {
	Devices              []Device `json:"devices,omitempty"`
	Meta                 *Meta    `json:"meta,omitempty"`
	AdditionalProperties map[string]interface{}
}

DeviceList struct for DeviceList

func NewDeviceList ¶

func NewDeviceList() *DeviceList

NewDeviceList instantiates a new DeviceList object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewDeviceListWithDefaults ¶

func NewDeviceListWithDefaults() *DeviceList

NewDeviceListWithDefaults instantiates a new DeviceList object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*DeviceList) GetDevices ¶

func (o *DeviceList) GetDevices() []Device

GetDevices returns the Devices field value if set, zero value otherwise.

func (*DeviceList) GetDevicesOk ¶

func (o *DeviceList) GetDevicesOk() ([]Device, bool)

GetDevicesOk returns a tuple with the Devices field value if set, nil otherwise and a boolean to check if the value has been set.

func (*DeviceList) GetMeta ¶

func (o *DeviceList) GetMeta() Meta

GetMeta returns the Meta field value if set, zero value otherwise.

func (*DeviceList) GetMetaOk ¶

func (o *DeviceList) GetMetaOk() (*Meta, bool)

GetMetaOk returns a tuple with the Meta field value if set, nil otherwise and a boolean to check if the value has been set.

func (*DeviceList) HasDevices ¶

func (o *DeviceList) HasDevices() bool

HasDevices returns a boolean if a field has been set.

func (*DeviceList) HasMeta ¶

func (o *DeviceList) HasMeta() bool

HasMeta returns a boolean if a field has been set.

func (DeviceList) MarshalJSON ¶

func (o DeviceList) MarshalJSON() ([]byte, error)

func (*DeviceList) SetDevices ¶

func (o *DeviceList) SetDevices(v []Device)

SetDevices gets a reference to the given []Device and assigns it to the Devices field.

func (*DeviceList) SetMeta ¶

func (o *DeviceList) SetMeta(v Meta)

SetMeta gets a reference to the given Meta and assigns it to the Meta field.

func (DeviceList) ToMap ¶ added in v0.4.0

func (o DeviceList) ToMap() (map[string]interface{}, error)

func (*DeviceList) UnmarshalJSON ¶ added in v0.7.0

func (o *DeviceList) UnmarshalJSON(bytes []byte) (err error)

type DeviceMetro ¶ added in v0.4.0

type DeviceMetro struct {
	Code                 *string `json:"code,omitempty"`
	Country              *string `json:"country,omitempty"`
	Id                   *string `json:"id,omitempty"`
	Name                 *string `json:"name,omitempty"`
	AdditionalProperties map[string]interface{}
}

DeviceMetro struct for DeviceMetro

func NewDeviceMetro ¶ added in v0.4.0

func NewDeviceMetro() *DeviceMetro

NewDeviceMetro instantiates a new DeviceMetro object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewDeviceMetroWithDefaults ¶ added in v0.4.0

func NewDeviceMetroWithDefaults() *DeviceMetro

NewDeviceMetroWithDefaults instantiates a new DeviceMetro object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*DeviceMetro) GetCode ¶ added in v0.4.0

func (o *DeviceMetro) GetCode() string

GetCode returns the Code field value if set, zero value otherwise.

func (*DeviceMetro) GetCodeOk ¶ added in v0.4.0

func (o *DeviceMetro) GetCodeOk() (*string, bool)

GetCodeOk returns a tuple with the Code field value if set, nil otherwise and a boolean to check if the value has been set.

func (*DeviceMetro) GetCountry ¶ added in v0.4.0

func (o *DeviceMetro) GetCountry() string

GetCountry returns the Country field value if set, zero value otherwise.

func (*DeviceMetro) GetCountryOk ¶ added in v0.4.0

func (o *DeviceMetro) GetCountryOk() (*string, bool)

GetCountryOk returns a tuple with the Country field value if set, nil otherwise and a boolean to check if the value has been set.

func (*DeviceMetro) GetId ¶ added in v0.4.0

func (o *DeviceMetro) GetId() string

GetId returns the Id field value if set, zero value otherwise.

func (*DeviceMetro) GetIdOk ¶ added in v0.4.0

func (o *DeviceMetro) GetIdOk() (*string, bool)

GetIdOk returns a tuple with the Id field value if set, nil otherwise and a boolean to check if the value has been set.

func (*DeviceMetro) GetName ¶ added in v0.4.0

func (o *DeviceMetro) GetName() string

GetName returns the Name field value if set, zero value otherwise.

func (*DeviceMetro) GetNameOk ¶ added in v0.4.0

func (o *DeviceMetro) GetNameOk() (*string, bool)

GetNameOk returns a tuple with the Name field value if set, nil otherwise and a boolean to check if the value has been set.

func (*DeviceMetro) HasCode ¶ added in v0.4.0

func (o *DeviceMetro) HasCode() bool

HasCode returns a boolean if a field has been set.

func (*DeviceMetro) HasCountry ¶ added in v0.4.0

func (o *DeviceMetro) HasCountry() bool

HasCountry returns a boolean if a field has been set.

func (*DeviceMetro) HasId ¶ added in v0.4.0

func (o *DeviceMetro) HasId() bool

HasId returns a boolean if a field has been set.

func (*DeviceMetro) HasName ¶ added in v0.4.0

func (o *DeviceMetro) HasName() bool

HasName returns a boolean if a field has been set.

func (DeviceMetro) MarshalJSON ¶ added in v0.4.0

func (o DeviceMetro) MarshalJSON() ([]byte, error)

func (*DeviceMetro) SetCode ¶ added in v0.4.0

func (o *DeviceMetro) SetCode(v string)

SetCode gets a reference to the given string and assigns it to the Code field.

func (*DeviceMetro) SetCountry ¶ added in v0.4.0

func (o *DeviceMetro) SetCountry(v string)

SetCountry gets a reference to the given string and assigns it to the Country field.

func (*DeviceMetro) SetId ¶ added in v0.4.0

func (o *DeviceMetro) SetId(v string)

SetId gets a reference to the given string and assigns it to the Id field.

func (*DeviceMetro) SetName ¶ added in v0.4.0

func (o *DeviceMetro) SetName(v string)

SetName gets a reference to the given string and assigns it to the Name field.

func (DeviceMetro) ToMap ¶ added in v0.4.0

func (o DeviceMetro) ToMap() (map[string]interface{}, error)

func (*DeviceMetro) UnmarshalJSON ¶ added in v0.7.0

func (o *DeviceMetro) UnmarshalJSON(bytes []byte) (err error)

type DeviceProjectLite ¶ added in v0.4.0

type DeviceProjectLite struct {
	Href                 string `json:"href"`
	AdditionalProperties map[string]interface{}
}

DeviceProjectLite struct for DeviceProjectLite

func NewDeviceProjectLite ¶ added in v0.4.0

func NewDeviceProjectLite(href string) *DeviceProjectLite

NewDeviceProjectLite instantiates a new DeviceProjectLite object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewDeviceProjectLiteWithDefaults ¶ added in v0.4.0

func NewDeviceProjectLiteWithDefaults() *DeviceProjectLite

NewDeviceProjectLiteWithDefaults instantiates a new DeviceProjectLite object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*DeviceProjectLite) GetHref ¶ added in v0.4.0

func (o *DeviceProjectLite) GetHref() string

GetHref returns the Href field value

func (*DeviceProjectLite) GetHrefOk ¶ added in v0.4.0

func (o *DeviceProjectLite) GetHrefOk() (*string, bool)

GetHrefOk returns a tuple with the Href field value and a boolean to check if the value has been set.

func (DeviceProjectLite) MarshalJSON ¶ added in v0.4.0

func (o DeviceProjectLite) MarshalJSON() ([]byte, error)

func (*DeviceProjectLite) SetHref ¶ added in v0.4.0

func (o *DeviceProjectLite) SetHref(v string)

SetHref sets field value

func (DeviceProjectLite) ToMap ¶ added in v0.4.0

func (o DeviceProjectLite) ToMap() (map[string]interface{}, error)

func (*DeviceProjectLite) UnmarshalJSON ¶ added in v0.7.0

func (o *DeviceProjectLite) UnmarshalJSON(bytes []byte) (err error)

type DeviceState ¶ added in v0.22.0

type DeviceState string

DeviceState The current state the instance is in. * When an instance is initially created it will be in the `queued` state until it is picked up by the provisioner. * Once provisioning has begun on the instance it's state will move to `provisioning`. * When an instance is deleted, it will move to `deprovisioning` state until the deprovision is completed and the instance state moves to `deleted`. * If an instance fails to provision or deprovision it will move to `failed` state. * Once an instance has completed provisioning it will move to `active` state. * If an instance is currently powering off or powering on it will move to `powering_off` or `powering_on` states respectively. * When the instance is powered off completely it will move to the `inactive` state. * When an instance is powered on completely it will move to the `active` state. * Using the reinstall action to install a new OS on the instance will cause the instance state to change to `reinstalling`. * When the reinstall action is complete the instance will move to `active` state.

const (
	DEVICESTATE_QUEUED         DeviceState = "queued"
	DEVICESTATE_PROVISIONING   DeviceState = "provisioning"
	DEVICESTATE_DEPROVISIONING DeviceState = "deprovisioning"
	DEVICESTATE_REINSTALLING   DeviceState = "reinstalling"
	DEVICESTATE_ACTIVE         DeviceState = "active"
	DEVICESTATE_INACTIVE       DeviceState = "inactive"
	DEVICESTATE_FAILED         DeviceState = "failed"
	DEVICESTATE_POWERING_ON    DeviceState = "powering_on"
	DEVICESTATE_POWERING_OFF   DeviceState = "powering_off"
	DEVICESTATE_DELETED        DeviceState = "deleted"
)

List of Device_state

func NewDeviceStateFromValue ¶ added in v0.22.0

func NewDeviceStateFromValue(v string) (*DeviceState, error)

NewDeviceStateFromValue returns a pointer to a valid DeviceState for the value passed as argument, or an error if the value passed is not allowed by the enum

func (DeviceState) IsValid ¶ added in v0.22.0

func (v DeviceState) IsValid() bool

IsValid return true if the value is valid for the enum, false otherwise

func (DeviceState) Ptr ¶ added in v0.22.0

func (v DeviceState) Ptr() *DeviceState

Ptr returns reference to Device_state value

func (*DeviceState) UnmarshalJSON ¶ added in v0.22.0

func (v *DeviceState) UnmarshalJSON(src []byte) error

type DeviceUpdateInput ¶

type DeviceUpdateInput struct {
	AlwaysPxe     *bool                  `json:"always_pxe,omitempty"`
	BillingCycle  *string                `json:"billing_cycle,omitempty"`
	Customdata    map[string]interface{} `json:"customdata,omitempty"`
	Description   *string                `json:"description,omitempty"`
	Hostname      *string                `json:"hostname,omitempty"`
	FirmwareSetId *string                `json:"firmware_set_id,omitempty"`
	IpxeScriptUrl *string                `json:"ipxe_script_url,omitempty"`
	// Whether the device should be locked, preventing accidental deletion.
	Locked *bool `json:"locked,omitempty"`
	// If true, this instance can not be converted to a different network type.
	NetworkFrozen *bool `json:"network_frozen,omitempty"`
	// Can be set to false to convert a spot-market instance to on-demand.
	SpotInstance         *bool    `json:"spot_instance,omitempty"`
	Tags                 []string `json:"tags,omitempty"`
	Userdata             *string  `json:"userdata,omitempty"`
	AdditionalProperties map[string]interface{}
}

DeviceUpdateInput struct for DeviceUpdateInput

func NewDeviceUpdateInput ¶

func NewDeviceUpdateInput() *DeviceUpdateInput

NewDeviceUpdateInput instantiates a new DeviceUpdateInput object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewDeviceUpdateInputWithDefaults ¶

func NewDeviceUpdateInputWithDefaults() *DeviceUpdateInput

NewDeviceUpdateInputWithDefaults instantiates a new DeviceUpdateInput object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*DeviceUpdateInput) GetAlwaysPxe ¶

func (o *DeviceUpdateInput) GetAlwaysPxe() bool

GetAlwaysPxe returns the AlwaysPxe field value if set, zero value otherwise.

func (*DeviceUpdateInput) GetAlwaysPxeOk ¶

func (o *DeviceUpdateInput) GetAlwaysPxeOk() (*bool, bool)

GetAlwaysPxeOk returns a tuple with the AlwaysPxe field value if set, nil otherwise and a boolean to check if the value has been set.

func (*DeviceUpdateInput) GetBillingCycle ¶

func (o *DeviceUpdateInput) GetBillingCycle() string

GetBillingCycle returns the BillingCycle field value if set, zero value otherwise.

func (*DeviceUpdateInput) GetBillingCycleOk ¶

func (o *DeviceUpdateInput) GetBillingCycleOk() (*string, bool)

GetBillingCycleOk returns a tuple with the BillingCycle field value if set, nil otherwise and a boolean to check if the value has been set.

func (*DeviceUpdateInput) GetCustomdata ¶

func (o *DeviceUpdateInput) GetCustomdata() map[string]interface{}

GetCustomdata returns the Customdata field value if set, zero value otherwise.

func (*DeviceUpdateInput) GetCustomdataOk ¶

func (o *DeviceUpdateInput) GetCustomdataOk() (map[string]interface{}, bool)

GetCustomdataOk returns a tuple with the Customdata field value if set, nil otherwise and a boolean to check if the value has been set.

func (*DeviceUpdateInput) GetDescription ¶

func (o *DeviceUpdateInput) GetDescription() string

GetDescription returns the Description field value if set, zero value otherwise.

func (*DeviceUpdateInput) GetDescriptionOk ¶

func (o *DeviceUpdateInput) GetDescriptionOk() (*string, bool)

GetDescriptionOk returns a tuple with the Description field value if set, nil otherwise and a boolean to check if the value has been set.

func (*DeviceUpdateInput) GetFirmwareSetId ¶ added in v0.21.0

func (o *DeviceUpdateInput) GetFirmwareSetId() string

GetFirmwareSetId returns the FirmwareSetId field value if set, zero value otherwise.

func (*DeviceUpdateInput) GetFirmwareSetIdOk ¶ added in v0.21.0

func (o *DeviceUpdateInput) GetFirmwareSetIdOk() (*string, bool)

GetFirmwareSetIdOk returns a tuple with the FirmwareSetId field value if set, nil otherwise and a boolean to check if the value has been set.

func (*DeviceUpdateInput) GetHostname ¶

func (o *DeviceUpdateInput) GetHostname() string

GetHostname returns the Hostname field value if set, zero value otherwise.

func (*DeviceUpdateInput) GetHostnameOk ¶

func (o *DeviceUpdateInput) GetHostnameOk() (*string, bool)

GetHostnameOk returns a tuple with the Hostname field value if set, nil otherwise and a boolean to check if the value has been set.

func (*DeviceUpdateInput) GetIpxeScriptUrl ¶

func (o *DeviceUpdateInput) GetIpxeScriptUrl() string

GetIpxeScriptUrl returns the IpxeScriptUrl field value if set, zero value otherwise.

func (*DeviceUpdateInput) GetIpxeScriptUrlOk ¶

func (o *DeviceUpdateInput) GetIpxeScriptUrlOk() (*string, bool)

GetIpxeScriptUrlOk returns a tuple with the IpxeScriptUrl field value if set, nil otherwise and a boolean to check if the value has been set.

func (*DeviceUpdateInput) GetLocked ¶

func (o *DeviceUpdateInput) GetLocked() bool

GetLocked returns the Locked field value if set, zero value otherwise.

func (*DeviceUpdateInput) GetLockedOk ¶

func (o *DeviceUpdateInput) GetLockedOk() (*bool, bool)

GetLockedOk returns a tuple with the Locked field value if set, nil otherwise and a boolean to check if the value has been set.

func (*DeviceUpdateInput) GetNetworkFrozen ¶

func (o *DeviceUpdateInput) GetNetworkFrozen() bool

GetNetworkFrozen returns the NetworkFrozen field value if set, zero value otherwise.

func (*DeviceUpdateInput) GetNetworkFrozenOk ¶

func (o *DeviceUpdateInput) GetNetworkFrozenOk() (*bool, bool)

GetNetworkFrozenOk returns a tuple with the NetworkFrozen field value if set, nil otherwise and a boolean to check if the value has been set.

func (*DeviceUpdateInput) GetSpotInstance ¶

func (o *DeviceUpdateInput) GetSpotInstance() bool

GetSpotInstance returns the SpotInstance field value if set, zero value otherwise.

func (*DeviceUpdateInput) GetSpotInstanceOk ¶

func (o *DeviceUpdateInput) GetSpotInstanceOk() (*bool, bool)

GetSpotInstanceOk returns a tuple with the SpotInstance field value if set, nil otherwise and a boolean to check if the value has been set.

func (*DeviceUpdateInput) GetTags ¶

func (o *DeviceUpdateInput) GetTags() []string

GetTags returns the Tags field value if set, zero value otherwise.

func (*DeviceUpdateInput) GetTagsOk ¶

func (o *DeviceUpdateInput) GetTagsOk() ([]string, bool)

GetTagsOk returns a tuple with the Tags field value if set, nil otherwise and a boolean to check if the value has been set.

func (*DeviceUpdateInput) GetUserdata ¶

func (o *DeviceUpdateInput) GetUserdata() string

GetUserdata returns the Userdata field value if set, zero value otherwise.

func (*DeviceUpdateInput) GetUserdataOk ¶

func (o *DeviceUpdateInput) GetUserdataOk() (*string, bool)

GetUserdataOk returns a tuple with the Userdata field value if set, nil otherwise and a boolean to check if the value has been set.

func (*DeviceUpdateInput) HasAlwaysPxe ¶

func (o *DeviceUpdateInput) HasAlwaysPxe() bool

HasAlwaysPxe returns a boolean if a field has been set.

func (*DeviceUpdateInput) HasBillingCycle ¶

func (o *DeviceUpdateInput) HasBillingCycle() bool

HasBillingCycle returns a boolean if a field has been set.

func (*DeviceUpdateInput) HasCustomdata ¶

func (o *DeviceUpdateInput) HasCustomdata() bool

HasCustomdata returns a boolean if a field has been set.

func (*DeviceUpdateInput) HasDescription ¶

func (o *DeviceUpdateInput) HasDescription() bool

HasDescription returns a boolean if a field has been set.

func (*DeviceUpdateInput) HasFirmwareSetId ¶ added in v0.21.0

func (o *DeviceUpdateInput) HasFirmwareSetId() bool

HasFirmwareSetId returns a boolean if a field has been set.

func (*DeviceUpdateInput) HasHostname ¶

func (o *DeviceUpdateInput) HasHostname() bool

HasHostname returns a boolean if a field has been set.

func (*DeviceUpdateInput) HasIpxeScriptUrl ¶

func (o *DeviceUpdateInput) HasIpxeScriptUrl() bool

HasIpxeScriptUrl returns a boolean if a field has been set.

func (*DeviceUpdateInput) HasLocked ¶

func (o *DeviceUpdateInput) HasLocked() bool

HasLocked returns a boolean if a field has been set.

func (*DeviceUpdateInput) HasNetworkFrozen ¶

func (o *DeviceUpdateInput) HasNetworkFrozen() bool

HasNetworkFrozen returns a boolean if a field has been set.

func (*DeviceUpdateInput) HasSpotInstance ¶

func (o *DeviceUpdateInput) HasSpotInstance() bool

HasSpotInstance returns a boolean if a field has been set.

func (*DeviceUpdateInput) HasTags ¶

func (o *DeviceUpdateInput) HasTags() bool

HasTags returns a boolean if a field has been set.

func (*DeviceUpdateInput) HasUserdata ¶

func (o *DeviceUpdateInput) HasUserdata() bool

HasUserdata returns a boolean if a field has been set.

func (DeviceUpdateInput) MarshalJSON ¶

func (o DeviceUpdateInput) MarshalJSON() ([]byte, error)

func (*DeviceUpdateInput) SetAlwaysPxe ¶

func (o *DeviceUpdateInput) SetAlwaysPxe(v bool)

SetAlwaysPxe gets a reference to the given bool and assigns it to the AlwaysPxe field.

func (*DeviceUpdateInput) SetBillingCycle ¶

func (o *DeviceUpdateInput) SetBillingCycle(v string)

SetBillingCycle gets a reference to the given string and assigns it to the BillingCycle field.

func (*DeviceUpdateInput) SetCustomdata ¶

func (o *DeviceUpdateInput) SetCustomdata(v map[string]interface{})

SetCustomdata gets a reference to the given map[string]interface{} and assigns it to the Customdata field.

func (*DeviceUpdateInput) SetDescription ¶

func (o *DeviceUpdateInput) SetDescription(v string)

SetDescription gets a reference to the given string and assigns it to the Description field.

func (*DeviceUpdateInput) SetFirmwareSetId ¶ added in v0.21.0

func (o *DeviceUpdateInput) SetFirmwareSetId(v string)

SetFirmwareSetId gets a reference to the given string and assigns it to the FirmwareSetId field.

func (*DeviceUpdateInput) SetHostname ¶

func (o *DeviceUpdateInput) SetHostname(v string)

SetHostname gets a reference to the given string and assigns it to the Hostname field.

func (*DeviceUpdateInput) SetIpxeScriptUrl ¶

func (o *DeviceUpdateInput) SetIpxeScriptUrl(v string)

SetIpxeScriptUrl gets a reference to the given string and assigns it to the IpxeScriptUrl field.

func (*DeviceUpdateInput) SetLocked ¶

func (o *DeviceUpdateInput) SetLocked(v bool)

SetLocked gets a reference to the given bool and assigns it to the Locked field.

func (*DeviceUpdateInput) SetNetworkFrozen ¶

func (o *DeviceUpdateInput) SetNetworkFrozen(v bool)

SetNetworkFrozen gets a reference to the given bool and assigns it to the NetworkFrozen field.

func (*DeviceUpdateInput) SetSpotInstance ¶

func (o *DeviceUpdateInput) SetSpotInstance(v bool)

SetSpotInstance gets a reference to the given bool and assigns it to the SpotInstance field.

func (*DeviceUpdateInput) SetTags ¶

func (o *DeviceUpdateInput) SetTags(v []string)

SetTags gets a reference to the given []string and assigns it to the Tags field.

func (*DeviceUpdateInput) SetUserdata ¶

func (o *DeviceUpdateInput) SetUserdata(v string)

SetUserdata gets a reference to the given string and assigns it to the Userdata field.

func (DeviceUpdateInput) ToMap ¶ added in v0.4.0

func (o DeviceUpdateInput) ToMap() (map[string]interface{}, error)

func (*DeviceUpdateInput) UnmarshalJSON ¶ added in v0.7.0

func (o *DeviceUpdateInput) UnmarshalJSON(bytes []byte) (err error)

type DeviceUsage ¶

type DeviceUsage struct {
	Quantity             *string `json:"quantity,omitempty"`
	Total                *string `json:"total,omitempty"`
	Unit                 *string `json:"unit,omitempty"`
	AdditionalProperties map[string]interface{}
}

DeviceUsage struct for DeviceUsage

func NewDeviceUsage ¶

func NewDeviceUsage() *DeviceUsage

NewDeviceUsage instantiates a new DeviceUsage object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewDeviceUsageWithDefaults ¶

func NewDeviceUsageWithDefaults() *DeviceUsage

NewDeviceUsageWithDefaults instantiates a new DeviceUsage object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*DeviceUsage) GetQuantity ¶

func (o *DeviceUsage) GetQuantity() string

GetQuantity returns the Quantity field value if set, zero value otherwise.

func (*DeviceUsage) GetQuantityOk ¶

func (o *DeviceUsage) GetQuantityOk() (*string, bool)

GetQuantityOk returns a tuple with the Quantity field value if set, nil otherwise and a boolean to check if the value has been set.

func (*DeviceUsage) GetTotal ¶

func (o *DeviceUsage) GetTotal() string

GetTotal returns the Total field value if set, zero value otherwise.

func (*DeviceUsage) GetTotalOk ¶

func (o *DeviceUsage) GetTotalOk() (*string, bool)

GetTotalOk returns a tuple with the Total field value if set, nil otherwise and a boolean to check if the value has been set.

func (*DeviceUsage) GetUnit ¶

func (o *DeviceUsage) GetUnit() string

GetUnit returns the Unit field value if set, zero value otherwise.

func (*DeviceUsage) GetUnitOk ¶

func (o *DeviceUsage) GetUnitOk() (*string, bool)

GetUnitOk returns a tuple with the Unit field value if set, nil otherwise and a boolean to check if the value has been set.

func (*DeviceUsage) HasQuantity ¶

func (o *DeviceUsage) HasQuantity() bool

HasQuantity returns a boolean if a field has been set.

func (*DeviceUsage) HasTotal ¶

func (o *DeviceUsage) HasTotal() bool

HasTotal returns a boolean if a field has been set.

func (*DeviceUsage) HasUnit ¶

func (o *DeviceUsage) HasUnit() bool

HasUnit returns a boolean if a field has been set.

func (DeviceUsage) MarshalJSON ¶

func (o DeviceUsage) MarshalJSON() ([]byte, error)

func (*DeviceUsage) SetQuantity ¶

func (o *DeviceUsage) SetQuantity(v string)

SetQuantity gets a reference to the given string and assigns it to the Quantity field.

func (*DeviceUsage) SetTotal ¶

func (o *DeviceUsage) SetTotal(v string)

SetTotal gets a reference to the given string and assigns it to the Total field.

func (*DeviceUsage) SetUnit ¶

func (o *DeviceUsage) SetUnit(v string)

SetUnit gets a reference to the given string and assigns it to the Unit field.

func (DeviceUsage) ToMap ¶ added in v0.4.0

func (o DeviceUsage) ToMap() (map[string]interface{}, error)

func (*DeviceUsage) UnmarshalJSON ¶ added in v0.7.0

func (o *DeviceUsage) UnmarshalJSON(bytes []byte) (err error)

type DeviceUsageList ¶

type DeviceUsageList struct {
	Usages               []DeviceUsage `json:"usages,omitempty"`
	AdditionalProperties map[string]interface{}
}

DeviceUsageList struct for DeviceUsageList

func NewDeviceUsageList ¶

func NewDeviceUsageList() *DeviceUsageList

NewDeviceUsageList instantiates a new DeviceUsageList object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewDeviceUsageListWithDefaults ¶

func NewDeviceUsageListWithDefaults() *DeviceUsageList

NewDeviceUsageListWithDefaults instantiates a new DeviceUsageList object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*DeviceUsageList) GetUsages ¶

func (o *DeviceUsageList) GetUsages() []DeviceUsage

GetUsages returns the Usages field value if set, zero value otherwise.

func (*DeviceUsageList) GetUsagesOk ¶

func (o *DeviceUsageList) GetUsagesOk() ([]DeviceUsage, bool)

GetUsagesOk returns a tuple with the Usages field value if set, nil otherwise and a boolean to check if the value has been set.

func (*DeviceUsageList) HasUsages ¶

func (o *DeviceUsageList) HasUsages() bool

HasUsages returns a boolean if a field has been set.

func (DeviceUsageList) MarshalJSON ¶

func (o DeviceUsageList) MarshalJSON() ([]byte, error)

func (*DeviceUsageList) SetUsages ¶

func (o *DeviceUsageList) SetUsages(v []DeviceUsage)

SetUsages gets a reference to the given []DeviceUsage and assigns it to the Usages field.

func (DeviceUsageList) ToMap ¶ added in v0.4.0

func (o DeviceUsageList) ToMap() (map[string]interface{}, error)

func (*DeviceUsageList) UnmarshalJSON ¶ added in v0.7.0

func (o *DeviceUsageList) UnmarshalJSON(bytes []byte) (err error)

type DevicesApiService ¶

type DevicesApiService service

DevicesApiService DevicesApi service

func (*DevicesApiService) CreateBgpSession ¶

func (a *DevicesApiService) CreateBgpSession(ctx context.Context, id string) ApiCreateBgpSessionRequest

CreateBgpSession Create a BGP session

Creates a BGP session.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param id Device UUID
@return ApiCreateBgpSessionRequest

func (*DevicesApiService) CreateBgpSessionExecute ¶

func (a *DevicesApiService) CreateBgpSessionExecute(r ApiCreateBgpSessionRequest) (*BgpSession, *http.Response, error)

Execute executes the request

@return BgpSession

func (*DevicesApiService) CreateDevice ¶

CreateDevice Create a device

Creates a new device and provisions it in the specified location.

Device type-specific options are accepted. For example, `baremetal` devices accept `operating_system`, `hostname`, and `plan`. These parameters may not be accepted for other device types. The default device type is `baremetal`.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param id Project UUID
@return ApiCreateDeviceRequest

func (*DevicesApiService) CreateDeviceExecute ¶

func (a *DevicesApiService) CreateDeviceExecute(r ApiCreateDeviceRequest) (*Device, *http.Response, error)

Execute executes the request

@return Device

func (*DevicesApiService) CreateIPAssignment ¶

func (a *DevicesApiService) CreateIPAssignment(ctx context.Context, id string) ApiCreateIPAssignmentRequest

CreateIPAssignment Create an ip assignment

Creates an ip assignment for a device.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param id Device UUID
@return ApiCreateIPAssignmentRequest

func (*DevicesApiService) CreateIPAssignmentExecute ¶

func (a *DevicesApiService) CreateIPAssignmentExecute(r ApiCreateIPAssignmentRequest) (*IPAssignment, *http.Response, error)

Execute executes the request

@return IPAssignment

func (*DevicesApiService) DeleteDevice ¶

DeleteDevice Delete the device

Deletes a device and deprovisions it in our datacenter.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param id Device UUID
@return ApiDeleteDeviceRequest

func (*DevicesApiService) DeleteDeviceExecute ¶

func (a *DevicesApiService) DeleteDeviceExecute(r ApiDeleteDeviceRequest) (*http.Response, error)

Execute executes the request

func (*DevicesApiService) FindBgpSessions ¶

FindBgpSessions Retrieve all BGP sessions

Provides a listing of available BGP sessions for the device.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param id Device UUID
@return ApiFindBgpSessionsRequest

func (*DevicesApiService) FindBgpSessionsExecute ¶

func (a *DevicesApiService) FindBgpSessionsExecute(r ApiFindBgpSessionsRequest) (*BgpSessionList, *http.Response, error)

Execute executes the request

@return BgpSessionList

func (*DevicesApiService) FindDeviceById ¶

FindDeviceById Retrieve a device

Type-specific options (such as facility for baremetal devices) will be included as part of the main data structure.

                        State value can be one of: active inactive queued or provisioning

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param id Device UUID
@return ApiFindDeviceByIdRequest

func (*DevicesApiService) FindDeviceByIdExecute ¶

func (a *DevicesApiService) FindDeviceByIdExecute(r ApiFindDeviceByIdRequest) (*Device, *http.Response, error)

Execute executes the request

@return Device

func (*DevicesApiService) FindDeviceCustomdata ¶

func (a *DevicesApiService) FindDeviceCustomdata(ctx context.Context, id string) ApiFindDeviceCustomdataRequest

FindDeviceCustomdata Retrieve the custom metadata of an instance

Provides the custom metadata stored for this instance in json format

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param id Instance UUID
@return ApiFindDeviceCustomdataRequest

func (*DevicesApiService) FindDeviceCustomdataExecute ¶

func (a *DevicesApiService) FindDeviceCustomdataExecute(r ApiFindDeviceCustomdataRequest) (*http.Response, error)

Execute executes the request

func (*DevicesApiService) FindDeviceMetadataByID ¶ added in v0.3.0

func (a *DevicesApiService) FindDeviceMetadataByID(ctx context.Context, id string) ApiFindDeviceMetadataByIDRequest

FindDeviceMetadataByID Retrieve metadata

Retrieve device metadata

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param id Device UUID
@return ApiFindDeviceMetadataByIDRequest

func (*DevicesApiService) FindDeviceMetadataByIDExecute ¶ added in v0.3.0

func (a *DevicesApiService) FindDeviceMetadataByIDExecute(r ApiFindDeviceMetadataByIDRequest) (*Metadata, *http.Response, error)

Execute executes the request

@return Metadata

func (*DevicesApiService) FindDeviceUserdataByID ¶ added in v0.3.0

func (a *DevicesApiService) FindDeviceUserdataByID(ctx context.Context, id string) ApiFindDeviceUserdataByIDRequest

FindDeviceUserdataByID Retrieve userdata

Retrieve device userdata

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param id Device UUID
@return ApiFindDeviceUserdataByIDRequest

func (*DevicesApiService) FindDeviceUserdataByIDExecute ¶ added in v0.3.0

func (a *DevicesApiService) FindDeviceUserdataByIDExecute(r ApiFindDeviceUserdataByIDRequest) (*Userdata, *http.Response, error)

Execute executes the request

@return Userdata

func (*DevicesApiService) FindIPAssignmentCustomdata ¶

func (a *DevicesApiService) FindIPAssignmentCustomdata(ctx context.Context, instanceId string, id string) ApiFindIPAssignmentCustomdataRequest

FindIPAssignmentCustomdata Retrieve the custom metadata of an IP Assignment

Provides the custom metadata stored for this IP Assignment in json format

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param instanceId Instance UUID
@param id Ip Assignment UUID
@return ApiFindIPAssignmentCustomdataRequest

func (*DevicesApiService) FindIPAssignmentCustomdataExecute ¶

func (a *DevicesApiService) FindIPAssignmentCustomdataExecute(r ApiFindIPAssignmentCustomdataRequest) (*http.Response, error)

Execute executes the request

func (*DevicesApiService) FindIPAssignments ¶

func (a *DevicesApiService) FindIPAssignments(ctx context.Context, id string) ApiFindIPAssignmentsRequest

FindIPAssignments Retrieve all ip assignments

Returns all ip assignments for a device.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param id Device UUID
@return ApiFindIPAssignmentsRequest

func (*DevicesApiService) FindIPAssignmentsExecute ¶

Execute executes the request

@return IPAssignmentList

func (*DevicesApiService) FindInstanceBandwidth ¶

func (a *DevicesApiService) FindInstanceBandwidth(ctx context.Context, id string) ApiFindInstanceBandwidthRequest

FindInstanceBandwidth Retrieve an instance bandwidth

Retrieve an instance bandwidth for a given period of time.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param id Device UUID
@return ApiFindInstanceBandwidthRequest

func (*DevicesApiService) FindInstanceBandwidthExecute ¶

func (a *DevicesApiService) FindInstanceBandwidthExecute(r ApiFindInstanceBandwidthRequest) (*http.Response, error)

Execute executes the request

func (*DevicesApiService) FindOrganizationDevices ¶

func (a *DevicesApiService) FindOrganizationDevices(ctx context.Context, id string) ApiFindOrganizationDevicesRequest

FindOrganizationDevices Retrieve all devices of an organization

Provides a collection of devices for a given organization.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param id Organization UUID
@return ApiFindOrganizationDevicesRequest

func (*DevicesApiService) FindOrganizationDevicesExecute ¶

func (a *DevicesApiService) FindOrganizationDevicesExecute(r ApiFindOrganizationDevicesRequest) (*DeviceList, *http.Response, error)

Execute executes the request

@return DeviceList

func (*DevicesApiService) FindProjectDevices ¶

func (a *DevicesApiService) FindProjectDevices(ctx context.Context, id string) ApiFindProjectDevicesRequest

FindProjectDevices Retrieve all devices of a project

Provides a collection of devices for a given project.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param id Project UUID
@return ApiFindProjectDevicesRequest

func (*DevicesApiService) FindProjectDevicesExecute ¶

func (a *DevicesApiService) FindProjectDevicesExecute(r ApiFindProjectDevicesRequest) (*DeviceList, *http.Response, error)

Execute executes the request

@return DeviceList

func (*DevicesApiService) FindTraffic ¶

FindTraffic Retrieve device traffic

Returns traffic for a specific device.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param id Device UUID
@return ApiFindTrafficRequest

func (*DevicesApiService) FindTrafficExecute ¶

func (a *DevicesApiService) FindTrafficExecute(r ApiFindTrafficRequest) (*http.Response, error)

Execute executes the request

func (*DevicesApiService) GetBgpNeighborData ¶

func (a *DevicesApiService) GetBgpNeighborData(ctx context.Context, id string) ApiGetBgpNeighborDataRequest

GetBgpNeighborData Retrieve BGP neighbor data for this device

Provides a summary of the BGP neighbor data associated to the BGP sessions for this device.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param id Device UUID
@return ApiGetBgpNeighborDataRequest

func (*DevicesApiService) GetBgpNeighborDataExecute ¶

Execute executes the request

@return BgpSessionNeighbors

func (*DevicesApiService) GetDeviceFirmwareSets ¶ added in v0.21.0

func (a *DevicesApiService) GetDeviceFirmwareSets(ctx context.Context, id string) ApiGetDeviceFirmwareSetsRequest

GetDeviceFirmwareSets Get Device's associated Firmware Set

Returns the firmware set associated with the device. If a custom firmware set is associated with the device, then it is returned. Otherwise, if a default firmware set is available it is returned.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param id Device UUID
@return ApiGetDeviceFirmwareSetsRequest

func (*DevicesApiService) GetDeviceFirmwareSetsExecute ¶ added in v0.21.0

Execute executes the request

@return FirmwareSetResponse

func (*DevicesApiService) GetDeviceHealthRollup ¶ added in v0.21.0

func (a *DevicesApiService) GetDeviceHealthRollup(ctx context.Context, id string) ApiGetDeviceHealthRollupRequest

GetDeviceHealthRollup Get Device's Health Status

Returns the health rollup status of the device.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param id Device UUID
@return ApiGetDeviceHealthRollupRequest

func (*DevicesApiService) GetDeviceHealthRollupExecute ¶ added in v0.21.0

Execute executes the request

@return DeviceHealthRollup

func (*DevicesApiService) PerformAction ¶

PerformAction Perform an action

Performs an action for the given device. Possible actions include: power_on, power_off, reboot, reinstall, and rescue (reboot the device into rescue OS.)

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param id Device UUID
@return ApiPerformActionRequest

func (*DevicesApiService) PerformActionExecute ¶

func (a *DevicesApiService) PerformActionExecute(r ApiPerformActionRequest) (*http.Response, error)

Execute executes the request

func (*DevicesApiService) UpdateDevice ¶

UpdateDevice Update the device

Updates the device.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param id Device UUID
@return ApiUpdateDeviceRequest

func (*DevicesApiService) UpdateDeviceExecute ¶

func (a *DevicesApiService) UpdateDeviceExecute(r ApiUpdateDeviceRequest) (*Device, *http.Response, error)

Execute executes the request

@return Device

type Disk ¶ added in v0.6.0

type Disk struct {
	Device               *string     `json:"device,omitempty"`
	WipeTable            *bool       `json:"wipeTable,omitempty"`
	Partitions           []Partition `json:"partitions,omitempty"`
	AdditionalProperties map[string]interface{}
}

Disk struct for Disk

func NewDisk ¶ added in v0.6.0

func NewDisk() *Disk

NewDisk instantiates a new Disk object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewDiskWithDefaults ¶ added in v0.6.0

func NewDiskWithDefaults() *Disk

NewDiskWithDefaults instantiates a new Disk object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*Disk) GetDevice ¶ added in v0.6.0

func (o *Disk) GetDevice() string

GetDevice returns the Device field value if set, zero value otherwise.

func (*Disk) GetDeviceOk ¶ added in v0.6.0

func (o *Disk) GetDeviceOk() (*string, bool)

GetDeviceOk returns a tuple with the Device field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Disk) GetPartitions ¶ added in v0.6.0

func (o *Disk) GetPartitions() []Partition

GetPartitions returns the Partitions field value if set, zero value otherwise.

func (*Disk) GetPartitionsOk ¶ added in v0.6.0

func (o *Disk) GetPartitionsOk() ([]Partition, bool)

GetPartitionsOk returns a tuple with the Partitions field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Disk) GetWipeTable ¶ added in v0.6.0

func (o *Disk) GetWipeTable() bool

GetWipeTable returns the WipeTable field value if set, zero value otherwise.

func (*Disk) GetWipeTableOk ¶ added in v0.6.0

func (o *Disk) GetWipeTableOk() (*bool, bool)

GetWipeTableOk returns a tuple with the WipeTable field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Disk) HasDevice ¶ added in v0.6.0

func (o *Disk) HasDevice() bool

HasDevice returns a boolean if a field has been set.

func (*Disk) HasPartitions ¶ added in v0.6.0

func (o *Disk) HasPartitions() bool

HasPartitions returns a boolean if a field has been set.

func (*Disk) HasWipeTable ¶ added in v0.6.0

func (o *Disk) HasWipeTable() bool

HasWipeTable returns a boolean if a field has been set.

func (Disk) MarshalJSON ¶ added in v0.6.0

func (o Disk) MarshalJSON() ([]byte, error)

func (*Disk) SetDevice ¶ added in v0.6.0

func (o *Disk) SetDevice(v string)

SetDevice gets a reference to the given string and assigns it to the Device field.

func (*Disk) SetPartitions ¶ added in v0.6.0

func (o *Disk) SetPartitions(v []Partition)

SetPartitions gets a reference to the given []Partition and assigns it to the Partitions field.

func (*Disk) SetWipeTable ¶ added in v0.6.0

func (o *Disk) SetWipeTable(v bool)

SetWipeTable gets a reference to the given bool and assigns it to the WipeTable field.

func (Disk) ToMap ¶ added in v0.6.0

func (o Disk) ToMap() (map[string]interface{}, error)

func (*Disk) UnmarshalJSON ¶ added in v0.7.0

func (o *Disk) UnmarshalJSON(bytes []byte) (err error)

type Email ¶

type Email struct {
	Address              *string `json:"address,omitempty"`
	Default              *bool   `json:"default,omitempty"`
	Href                 *string `json:"href,omitempty"`
	Id                   *string `json:"id,omitempty"`
	Verified             *bool   `json:"verified,omitempty"`
	AdditionalProperties map[string]interface{}
}

Email struct for Email

func NewEmail ¶

func NewEmail() *Email

NewEmail instantiates a new Email object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewEmailWithDefaults ¶

func NewEmailWithDefaults() *Email

NewEmailWithDefaults instantiates a new Email object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*Email) GetAddress ¶

func (o *Email) GetAddress() string

GetAddress returns the Address field value if set, zero value otherwise.

func (*Email) GetAddressOk ¶

func (o *Email) GetAddressOk() (*string, bool)

GetAddressOk returns a tuple with the Address field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Email) GetDefault ¶

func (o *Email) GetDefault() bool

GetDefault returns the Default field value if set, zero value otherwise.

func (*Email) GetDefaultOk ¶

func (o *Email) GetDefaultOk() (*bool, bool)

GetDefaultOk returns a tuple with the Default field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Email) GetHref ¶

func (o *Email) GetHref() string

GetHref returns the Href field value if set, zero value otherwise.

func (*Email) GetHrefOk ¶

func (o *Email) GetHrefOk() (*string, bool)

GetHrefOk returns a tuple with the Href field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Email) GetId ¶

func (o *Email) GetId() string

GetId returns the Id field value if set, zero value otherwise.

func (*Email) GetIdOk ¶

func (o *Email) GetIdOk() (*string, bool)

GetIdOk returns a tuple with the Id field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Email) GetVerified ¶

func (o *Email) GetVerified() bool

GetVerified returns the Verified field value if set, zero value otherwise.

func (*Email) GetVerifiedOk ¶

func (o *Email) GetVerifiedOk() (*bool, bool)

GetVerifiedOk returns a tuple with the Verified field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Email) HasAddress ¶

func (o *Email) HasAddress() bool

HasAddress returns a boolean if a field has been set.

func (*Email) HasDefault ¶

func (o *Email) HasDefault() bool

HasDefault returns a boolean if a field has been set.

func (*Email) HasHref ¶

func (o *Email) HasHref() bool

HasHref returns a boolean if a field has been set.

func (*Email) HasId ¶

func (o *Email) HasId() bool

HasId returns a boolean if a field has been set.

func (*Email) HasVerified ¶

func (o *Email) HasVerified() bool

HasVerified returns a boolean if a field has been set.

func (Email) MarshalJSON ¶

func (o Email) MarshalJSON() ([]byte, error)

func (*Email) SetAddress ¶

func (o *Email) SetAddress(v string)

SetAddress gets a reference to the given string and assigns it to the Address field.

func (*Email) SetDefault ¶

func (o *Email) SetDefault(v bool)

SetDefault gets a reference to the given bool and assigns it to the Default field.

func (*Email) SetHref ¶

func (o *Email) SetHref(v string)

SetHref gets a reference to the given string and assigns it to the Href field.

func (*Email) SetId ¶

func (o *Email) SetId(v string)

SetId gets a reference to the given string and assigns it to the Id field.

func (*Email) SetVerified ¶

func (o *Email) SetVerified(v bool)

SetVerified gets a reference to the given bool and assigns it to the Verified field.

func (Email) ToMap ¶ added in v0.4.0

func (o Email) ToMap() (map[string]interface{}, error)

func (*Email) UnmarshalJSON ¶ added in v0.7.0

func (o *Email) UnmarshalJSON(bytes []byte) (err error)

type EmailInput ¶

type EmailInput struct {
	Address              string `json:"address"`
	Default              *bool  `json:"default,omitempty"`
	AdditionalProperties map[string]interface{}
}

EmailInput struct for EmailInput

func NewEmailInput ¶

func NewEmailInput(address string) *EmailInput

NewEmailInput instantiates a new EmailInput object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewEmailInputWithDefaults ¶

func NewEmailInputWithDefaults() *EmailInput

NewEmailInputWithDefaults instantiates a new EmailInput object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*EmailInput) GetAddress ¶

func (o *EmailInput) GetAddress() string

GetAddress returns the Address field value

func (*EmailInput) GetAddressOk ¶

func (o *EmailInput) GetAddressOk() (*string, bool)

GetAddressOk returns a tuple with the Address field value and a boolean to check if the value has been set.

func (*EmailInput) GetDefault ¶

func (o *EmailInput) GetDefault() bool

GetDefault returns the Default field value if set, zero value otherwise.

func (*EmailInput) GetDefaultOk ¶

func (o *EmailInput) GetDefaultOk() (*bool, bool)

GetDefaultOk returns a tuple with the Default field value if set, nil otherwise and a boolean to check if the value has been set.

func (*EmailInput) HasDefault ¶

func (o *EmailInput) HasDefault() bool

HasDefault returns a boolean if a field has been set.

func (EmailInput) MarshalJSON ¶

func (o EmailInput) MarshalJSON() ([]byte, error)

func (*EmailInput) SetAddress ¶

func (o *EmailInput) SetAddress(v string)

SetAddress sets field value

func (*EmailInput) SetDefault ¶

func (o *EmailInput) SetDefault(v bool)

SetDefault gets a reference to the given bool and assigns it to the Default field.

func (EmailInput) ToMap ¶ added in v0.4.0

func (o EmailInput) ToMap() (map[string]interface{}, error)

func (*EmailInput) UnmarshalJSON ¶ added in v0.7.0

func (o *EmailInput) UnmarshalJSON(bytes []byte) (err error)

type EmailsApiService ¶

type EmailsApiService service

EmailsApiService EmailsApi service

func (*EmailsApiService) CreateEmail ¶

CreateEmail Create an email

Add a new email address to the current user.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@return ApiCreateEmailRequest

func (*EmailsApiService) CreateEmailExecute ¶

func (a *EmailsApiService) CreateEmailExecute(r ApiCreateEmailRequest) (*Email, *http.Response, error)

Execute executes the request

@return Email

func (*EmailsApiService) DeleteEmail ¶

DeleteEmail Delete the email

Deletes the email.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param id Email UUID
@return ApiDeleteEmailRequest

func (*EmailsApiService) DeleteEmailExecute ¶

func (a *EmailsApiService) DeleteEmailExecute(r ApiDeleteEmailRequest) (*http.Response, error)

Execute executes the request

func (*EmailsApiService) FindEmailById ¶

FindEmailById Retrieve an email

Provides one of the user’s emails.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param id Email UUID
@return ApiFindEmailByIdRequest

func (*EmailsApiService) FindEmailByIdExecute ¶

func (a *EmailsApiService) FindEmailByIdExecute(r ApiFindEmailByIdRequest) (*Email, *http.Response, error)

Execute executes the request

@return Email

func (*EmailsApiService) UpdateEmail ¶

UpdateEmail Update the email

Updates the email.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param id Email UUID
@return ApiUpdateEmailRequest

func (*EmailsApiService) UpdateEmailExecute ¶

func (a *EmailsApiService) UpdateEmailExecute(r ApiUpdateEmailRequest) (*Email, *http.Response, error)

Execute executes the request

@return Email

type Entitlement ¶

type Entitlement struct {
	Description          *string                `json:"description,omitempty"`
	FeatureAccess        map[string]interface{} `json:"feature_access,omitempty"`
	Href                 *string                `json:"href,omitempty"`
	Id                   string                 `json:"id"`
	InstanceQuota        map[string]interface{} `json:"instance_quota,omitempty"`
	IpQuota              map[string]interface{} `json:"ip_quota,omitempty"`
	Name                 *string                `json:"name,omitempty"`
	ProjectQuota         *int32                 `json:"project_quota,omitempty"`
	Slug                 string                 `json:"slug"`
	VolumeLimits         map[string]interface{} `json:"volume_limits,omitempty"`
	VolumeQuota          map[string]interface{} `json:"volume_quota,omitempty"`
	Weight               int32                  `json:"weight"`
	AdditionalProperties map[string]interface{}
}

Entitlement struct for Entitlement

func NewEntitlement ¶

func NewEntitlement(id string, slug string, weight int32) *Entitlement

NewEntitlement instantiates a new Entitlement object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewEntitlementWithDefaults ¶

func NewEntitlementWithDefaults() *Entitlement

NewEntitlementWithDefaults instantiates a new Entitlement object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*Entitlement) GetDescription ¶

func (o *Entitlement) GetDescription() string

GetDescription returns the Description field value if set, zero value otherwise.

func (*Entitlement) GetDescriptionOk ¶

func (o *Entitlement) GetDescriptionOk() (*string, bool)

GetDescriptionOk returns a tuple with the Description field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Entitlement) GetFeatureAccess ¶

func (o *Entitlement) GetFeatureAccess() map[string]interface{}

GetFeatureAccess returns the FeatureAccess field value if set, zero value otherwise.

func (*Entitlement) GetFeatureAccessOk ¶

func (o *Entitlement) GetFeatureAccessOk() (map[string]interface{}, bool)

GetFeatureAccessOk returns a tuple with the FeatureAccess field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Entitlement) GetHref ¶

func (o *Entitlement) GetHref() string

GetHref returns the Href field value if set, zero value otherwise.

func (*Entitlement) GetHrefOk ¶

func (o *Entitlement) GetHrefOk() (*string, bool)

GetHrefOk returns a tuple with the Href field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Entitlement) GetId ¶

func (o *Entitlement) GetId() string

GetId returns the Id field value

func (*Entitlement) GetIdOk ¶

func (o *Entitlement) GetIdOk() (*string, bool)

GetIdOk returns a tuple with the Id field value and a boolean to check if the value has been set.

func (*Entitlement) GetInstanceQuota ¶

func (o *Entitlement) GetInstanceQuota() map[string]interface{}

GetInstanceQuota returns the InstanceQuota field value if set, zero value otherwise.

func (*Entitlement) GetInstanceQuotaOk ¶

func (o *Entitlement) GetInstanceQuotaOk() (map[string]interface{}, bool)

GetInstanceQuotaOk returns a tuple with the InstanceQuota field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Entitlement) GetIpQuota ¶

func (o *Entitlement) GetIpQuota() map[string]interface{}

GetIpQuota returns the IpQuota field value if set, zero value otherwise.

func (*Entitlement) GetIpQuotaOk ¶

func (o *Entitlement) GetIpQuotaOk() (map[string]interface{}, bool)

GetIpQuotaOk returns a tuple with the IpQuota field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Entitlement) GetName ¶

func (o *Entitlement) GetName() string

GetName returns the Name field value if set, zero value otherwise.

func (*Entitlement) GetNameOk ¶

func (o *Entitlement) GetNameOk() (*string, bool)

GetNameOk returns a tuple with the Name field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Entitlement) GetProjectQuota ¶

func (o *Entitlement) GetProjectQuota() int32

GetProjectQuota returns the ProjectQuota field value if set, zero value otherwise.

func (*Entitlement) GetProjectQuotaOk ¶

func (o *Entitlement) GetProjectQuotaOk() (*int32, bool)

GetProjectQuotaOk returns a tuple with the ProjectQuota field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Entitlement) GetSlug ¶

func (o *Entitlement) GetSlug() string

GetSlug returns the Slug field value

func (*Entitlement) GetSlugOk ¶

func (o *Entitlement) GetSlugOk() (*string, bool)

GetSlugOk returns a tuple with the Slug field value and a boolean to check if the value has been set.

func (*Entitlement) GetVolumeLimits ¶

func (o *Entitlement) GetVolumeLimits() map[string]interface{}

GetVolumeLimits returns the VolumeLimits field value if set, zero value otherwise.

func (*Entitlement) GetVolumeLimitsOk ¶

func (o *Entitlement) GetVolumeLimitsOk() (map[string]interface{}, bool)

GetVolumeLimitsOk returns a tuple with the VolumeLimits field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Entitlement) GetVolumeQuota ¶

func (o *Entitlement) GetVolumeQuota() map[string]interface{}

GetVolumeQuota returns the VolumeQuota field value if set, zero value otherwise.

func (*Entitlement) GetVolumeQuotaOk ¶

func (o *Entitlement) GetVolumeQuotaOk() (map[string]interface{}, bool)

GetVolumeQuotaOk returns a tuple with the VolumeQuota field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Entitlement) GetWeight ¶

func (o *Entitlement) GetWeight() int32

GetWeight returns the Weight field value

func (*Entitlement) GetWeightOk ¶

func (o *Entitlement) GetWeightOk() (*int32, bool)

GetWeightOk returns a tuple with the Weight field value and a boolean to check if the value has been set.

func (*Entitlement) HasDescription ¶

func (o *Entitlement) HasDescription() bool

HasDescription returns a boolean if a field has been set.

func (*Entitlement) HasFeatureAccess ¶

func (o *Entitlement) HasFeatureAccess() bool

HasFeatureAccess returns a boolean if a field has been set.

func (*Entitlement) HasHref ¶

func (o *Entitlement) HasHref() bool

HasHref returns a boolean if a field has been set.

func (*Entitlement) HasInstanceQuota ¶

func (o *Entitlement) HasInstanceQuota() bool

HasInstanceQuota returns a boolean if a field has been set.

func (*Entitlement) HasIpQuota ¶

func (o *Entitlement) HasIpQuota() bool

HasIpQuota returns a boolean if a field has been set.

func (*Entitlement) HasName ¶

func (o *Entitlement) HasName() bool

HasName returns a boolean if a field has been set.

func (*Entitlement) HasProjectQuota ¶

func (o *Entitlement) HasProjectQuota() bool

HasProjectQuota returns a boolean if a field has been set.

func (*Entitlement) HasVolumeLimits ¶

func (o *Entitlement) HasVolumeLimits() bool

HasVolumeLimits returns a boolean if a field has been set.

func (*Entitlement) HasVolumeQuota ¶

func (o *Entitlement) HasVolumeQuota() bool

HasVolumeQuota returns a boolean if a field has been set.

func (Entitlement) MarshalJSON ¶

func (o Entitlement) MarshalJSON() ([]byte, error)

func (*Entitlement) SetDescription ¶

func (o *Entitlement) SetDescription(v string)

SetDescription gets a reference to the given string and assigns it to the Description field.

func (*Entitlement) SetFeatureAccess ¶

func (o *Entitlement) SetFeatureAccess(v map[string]interface{})

SetFeatureAccess gets a reference to the given map[string]interface{} and assigns it to the FeatureAccess field.

func (*Entitlement) SetHref ¶

func (o *Entitlement) SetHref(v string)

SetHref gets a reference to the given string and assigns it to the Href field.

func (*Entitlement) SetId ¶

func (o *Entitlement) SetId(v string)

SetId sets field value

func (*Entitlement) SetInstanceQuota ¶

func (o *Entitlement) SetInstanceQuota(v map[string]interface{})

SetInstanceQuota gets a reference to the given map[string]interface{} and assigns it to the InstanceQuota field.

func (*Entitlement) SetIpQuota ¶

func (o *Entitlement) SetIpQuota(v map[string]interface{})

SetIpQuota gets a reference to the given map[string]interface{} and assigns it to the IpQuota field.

func (*Entitlement) SetName ¶

func (o *Entitlement) SetName(v string)

SetName gets a reference to the given string and assigns it to the Name field.

func (*Entitlement) SetProjectQuota ¶

func (o *Entitlement) SetProjectQuota(v int32)

SetProjectQuota gets a reference to the given int32 and assigns it to the ProjectQuota field.

func (*Entitlement) SetSlug ¶

func (o *Entitlement) SetSlug(v string)

SetSlug sets field value

func (*Entitlement) SetVolumeLimits ¶

func (o *Entitlement) SetVolumeLimits(v map[string]interface{})

SetVolumeLimits gets a reference to the given map[string]interface{} and assigns it to the VolumeLimits field.

func (*Entitlement) SetVolumeQuota ¶

func (o *Entitlement) SetVolumeQuota(v map[string]interface{})

SetVolumeQuota gets a reference to the given map[string]interface{} and assigns it to the VolumeQuota field.

func (*Entitlement) SetWeight ¶

func (o *Entitlement) SetWeight(v int32)

SetWeight sets field value

func (Entitlement) ToMap ¶ added in v0.4.0

func (o Entitlement) ToMap() (map[string]interface{}, error)

func (*Entitlement) UnmarshalJSON ¶ added in v0.7.0

func (o *Entitlement) UnmarshalJSON(bytes []byte) (err error)

type Error ¶

type Error struct {
	// A description of the error that caused the request to fail.
	Error *string `json:"error,omitempty"`
	// A list of errors that contributed to the request failing.
	Errors               []string `json:"errors,omitempty"`
	AdditionalProperties map[string]interface{}
}

Error Error responses are included with 4xx and 5xx HTTP responses from the API service. Either \"error\" or \"errors\" will be set.

func NewError ¶

func NewError() *Error

NewError instantiates a new Error object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewErrorWithDefaults ¶

func NewErrorWithDefaults() *Error

NewErrorWithDefaults instantiates a new Error object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*Error) GetError ¶

func (o *Error) GetError() string

GetError returns the Error field value if set, zero value otherwise.

func (*Error) GetErrorOk ¶

func (o *Error) GetErrorOk() (*string, bool)

GetErrorOk returns a tuple with the Error field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Error) GetErrors ¶

func (o *Error) GetErrors() []string

GetErrors returns the Errors field value if set, zero value otherwise.

func (*Error) GetErrorsOk ¶

func (o *Error) GetErrorsOk() ([]string, bool)

GetErrorsOk returns a tuple with the Errors field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Error) HasError ¶

func (o *Error) HasError() bool

HasError returns a boolean if a field has been set.

func (*Error) HasErrors ¶

func (o *Error) HasErrors() bool

HasErrors returns a boolean if a field has been set.

func (Error) MarshalJSON ¶

func (o Error) MarshalJSON() ([]byte, error)

func (*Error) SetError ¶

func (o *Error) SetError(v string)

SetError gets a reference to the given string and assigns it to the Error field.

func (*Error) SetErrors ¶

func (o *Error) SetErrors(v []string)

SetErrors gets a reference to the given []string and assigns it to the Errors field.

func (Error) ToMap ¶ added in v0.4.0

func (o Error) ToMap() (map[string]interface{}, error)

func (*Error) UnmarshalJSON ¶ added in v0.7.0

func (o *Error) UnmarshalJSON(bytes []byte) (err error)

type Event ¶

type Event struct {
	Body                 *string                `json:"body,omitempty"`
	CreatedAt            *time.Time             `json:"created_at,omitempty"`
	Href                 *string                `json:"href,omitempty"`
	Id                   *string                `json:"id,omitempty"`
	Interpolated         *string                `json:"interpolated,omitempty"`
	Relationships        []Href                 `json:"relationships,omitempty"`
	State                *string                `json:"state,omitempty"`
	Type                 *string                `json:"type,omitempty"`
	ModifiedBy           map[string]interface{} `json:"modified_by,omitempty"`
	Ip                   *string                `json:"ip,omitempty"`
	AdditionalProperties map[string]interface{}
}

Event struct for Event

func NewEvent ¶

func NewEvent() *Event

NewEvent instantiates a new Event object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewEventWithDefaults ¶

func NewEventWithDefaults() *Event

NewEventWithDefaults instantiates a new Event object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*Event) GetBody ¶

func (o *Event) GetBody() string

GetBody returns the Body field value if set, zero value otherwise.

func (*Event) GetBodyOk ¶

func (o *Event) GetBodyOk() (*string, bool)

GetBodyOk returns a tuple with the Body field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Event) GetCreatedAt ¶

func (o *Event) GetCreatedAt() time.Time

GetCreatedAt returns the CreatedAt field value if set, zero value otherwise.

func (*Event) GetCreatedAtOk ¶

func (o *Event) GetCreatedAtOk() (*time.Time, bool)

GetCreatedAtOk returns a tuple with the CreatedAt field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Event) GetHref ¶

func (o *Event) GetHref() string

GetHref returns the Href field value if set, zero value otherwise.

func (*Event) GetHrefOk ¶

func (o *Event) GetHrefOk() (*string, bool)

GetHrefOk returns a tuple with the Href field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Event) GetId ¶

func (o *Event) GetId() string

GetId returns the Id field value if set, zero value otherwise.

func (*Event) GetIdOk ¶

func (o *Event) GetIdOk() (*string, bool)

GetIdOk returns a tuple with the Id field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Event) GetInterpolated ¶

func (o *Event) GetInterpolated() string

GetInterpolated returns the Interpolated field value if set, zero value otherwise.

func (*Event) GetInterpolatedOk ¶

func (o *Event) GetInterpolatedOk() (*string, bool)

GetInterpolatedOk returns a tuple with the Interpolated field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Event) GetIp ¶ added in v0.5.0

func (o *Event) GetIp() string

GetIp returns the Ip field value if set, zero value otherwise.

func (*Event) GetIpOk ¶ added in v0.5.0

func (o *Event) GetIpOk() (*string, bool)

GetIpOk returns a tuple with the Ip field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Event) GetModifiedBy ¶ added in v0.5.0

func (o *Event) GetModifiedBy() map[string]interface{}

GetModifiedBy returns the ModifiedBy field value if set, zero value otherwise.

func (*Event) GetModifiedByOk ¶ added in v0.5.0

func (o *Event) GetModifiedByOk() (map[string]interface{}, bool)

GetModifiedByOk returns a tuple with the ModifiedBy field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Event) GetRelationships ¶

func (o *Event) GetRelationships() []Href

GetRelationships returns the Relationships field value if set, zero value otherwise.

func (*Event) GetRelationshipsOk ¶

func (o *Event) GetRelationshipsOk() ([]Href, bool)

GetRelationshipsOk returns a tuple with the Relationships field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Event) GetState ¶

func (o *Event) GetState() string

GetState returns the State field value if set, zero value otherwise.

func (*Event) GetStateOk ¶

func (o *Event) GetStateOk() (*string, bool)

GetStateOk returns a tuple with the State field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Event) GetType ¶

func (o *Event) GetType() string

GetType returns the Type field value if set, zero value otherwise.

func (*Event) GetTypeOk ¶

func (o *Event) GetTypeOk() (*string, bool)

GetTypeOk returns a tuple with the Type field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Event) HasBody ¶

func (o *Event) HasBody() bool

HasBody returns a boolean if a field has been set.

func (*Event) HasCreatedAt ¶

func (o *Event) HasCreatedAt() bool

HasCreatedAt returns a boolean if a field has been set.

func (*Event) HasHref ¶

func (o *Event) HasHref() bool

HasHref returns a boolean if a field has been set.

func (*Event) HasId ¶

func (o *Event) HasId() bool

HasId returns a boolean if a field has been set.

func (*Event) HasInterpolated ¶

func (o *Event) HasInterpolated() bool

HasInterpolated returns a boolean if a field has been set.

func (*Event) HasIp ¶ added in v0.5.0

func (o *Event) HasIp() bool

HasIp returns a boolean if a field has been set.

func (*Event) HasModifiedBy ¶ added in v0.5.0

func (o *Event) HasModifiedBy() bool

HasModifiedBy returns a boolean if a field has been set.

func (*Event) HasRelationships ¶

func (o *Event) HasRelationships() bool

HasRelationships returns a boolean if a field has been set.

func (*Event) HasState ¶

func (o *Event) HasState() bool

HasState returns a boolean if a field has been set.

func (*Event) HasType ¶

func (o *Event) HasType() bool

HasType returns a boolean if a field has been set.

func (Event) MarshalJSON ¶

func (o Event) MarshalJSON() ([]byte, error)

func (*Event) SetBody ¶

func (o *Event) SetBody(v string)

SetBody gets a reference to the given string and assigns it to the Body field.

func (*Event) SetCreatedAt ¶

func (o *Event) SetCreatedAt(v time.Time)

SetCreatedAt gets a reference to the given time.Time and assigns it to the CreatedAt field.

func (*Event) SetHref ¶

func (o *Event) SetHref(v string)

SetHref gets a reference to the given string and assigns it to the Href field.

func (*Event) SetId ¶

func (o *Event) SetId(v string)

SetId gets a reference to the given string and assigns it to the Id field.

func (*Event) SetInterpolated ¶

func (o *Event) SetInterpolated(v string)

SetInterpolated gets a reference to the given string and assigns it to the Interpolated field.

func (*Event) SetIp ¶ added in v0.5.0

func (o *Event) SetIp(v string)

SetIp gets a reference to the given string and assigns it to the Ip field.

func (*Event) SetModifiedBy ¶ added in v0.5.0

func (o *Event) SetModifiedBy(v map[string]interface{})

SetModifiedBy gets a reference to the given map[string]interface{} and assigns it to the ModifiedBy field.

func (*Event) SetRelationships ¶

func (o *Event) SetRelationships(v []Href)

SetRelationships gets a reference to the given []Href and assigns it to the Relationships field.

func (*Event) SetState ¶

func (o *Event) SetState(v string)

SetState gets a reference to the given string and assigns it to the State field.

func (*Event) SetType ¶

func (o *Event) SetType(v string)

SetType gets a reference to the given string and assigns it to the Type field.

func (Event) ToMap ¶ added in v0.4.0

func (o Event) ToMap() (map[string]interface{}, error)

func (*Event) UnmarshalJSON ¶ added in v0.7.0

func (o *Event) UnmarshalJSON(bytes []byte) (err error)

type EventList ¶

type EventList struct {
	Events               []Event `json:"events,omitempty"`
	Meta                 *Meta   `json:"meta,omitempty"`
	AdditionalProperties map[string]interface{}
}

EventList struct for EventList

func NewEventList ¶

func NewEventList() *EventList

NewEventList instantiates a new EventList object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewEventListWithDefaults ¶

func NewEventListWithDefaults() *EventList

NewEventListWithDefaults instantiates a new EventList object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*EventList) GetEvents ¶

func (o *EventList) GetEvents() []Event

GetEvents returns the Events field value if set, zero value otherwise.

func (*EventList) GetEventsOk ¶

func (o *EventList) GetEventsOk() ([]Event, bool)

GetEventsOk returns a tuple with the Events field value if set, nil otherwise and a boolean to check if the value has been set.

func (*EventList) GetMeta ¶

func (o *EventList) GetMeta() Meta

GetMeta returns the Meta field value if set, zero value otherwise.

func (*EventList) GetMetaOk ¶

func (o *EventList) GetMetaOk() (*Meta, bool)

GetMetaOk returns a tuple with the Meta field value if set, nil otherwise and a boolean to check if the value has been set.

func (*EventList) HasEvents ¶

func (o *EventList) HasEvents() bool

HasEvents returns a boolean if a field has been set.

func (*EventList) HasMeta ¶

func (o *EventList) HasMeta() bool

HasMeta returns a boolean if a field has been set.

func (EventList) MarshalJSON ¶

func (o EventList) MarshalJSON() ([]byte, error)

func (*EventList) SetEvents ¶

func (o *EventList) SetEvents(v []Event)

SetEvents gets a reference to the given []Event and assigns it to the Events field.

func (*EventList) SetMeta ¶

func (o *EventList) SetMeta(v Meta)

SetMeta gets a reference to the given Meta and assigns it to the Meta field.

func (EventList) ToMap ¶ added in v0.4.0

func (o EventList) ToMap() (map[string]interface{}, error)

func (*EventList) UnmarshalJSON ¶ added in v0.7.0

func (o *EventList) UnmarshalJSON(bytes []byte) (err error)

type EventsApiService ¶

type EventsApiService service

EventsApiService EventsApi service

func (*EventsApiService) FindDeviceEvents ¶

func (a *EventsApiService) FindDeviceEvents(ctx context.Context, id string) ApiFindDeviceEventsRequest

FindDeviceEvents Retrieve device's events

Returns a list of events pertaining to a specific device

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param id Device UUID
@return ApiFindDeviceEventsRequest

func (*EventsApiService) FindDeviceEventsExecute ¶

func (a *EventsApiService) FindDeviceEventsExecute(r ApiFindDeviceEventsRequest) (*EventList, *http.Response, error)

Execute executes the request

@return EventList

func (*EventsApiService) FindEventById ¶

FindEventById Retrieve an event

Returns a single event if the user has access

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param id Event UUID
@return ApiFindEventByIdRequest

func (*EventsApiService) FindEventByIdExecute ¶

func (a *EventsApiService) FindEventByIdExecute(r ApiFindEventByIdRequest) (*Event, *http.Response, error)

Execute executes the request

@return Event

func (*EventsApiService) FindEvents ¶

FindEvents Retrieve current user's events

Returns a list of the current user’s events

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@return ApiFindEventsRequest

func (*EventsApiService) FindEventsExecute ¶

func (a *EventsApiService) FindEventsExecute(r ApiFindEventsRequest) (*EventList, *http.Response, error)

Execute executes the request

@return EventList

func (*EventsApiService) FindInterconnectionEvents ¶ added in v0.3.0

func (a *EventsApiService) FindInterconnectionEvents(ctx context.Context, connectionId string) ApiFindInterconnectionEventsRequest

FindInterconnectionEvents Retrieve interconnection events

Returns a list of the interconnection events

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param connectionId Interconnection UUID
@return ApiFindInterconnectionEventsRequest

func (*EventsApiService) FindInterconnectionEventsExecute ¶ added in v0.3.0

func (a *EventsApiService) FindInterconnectionEventsExecute(r ApiFindInterconnectionEventsRequest) (*EventList, *http.Response, error)

Execute executes the request

@return EventList

func (*EventsApiService) FindInterconnectionPortEvents ¶ added in v0.3.0

func (a *EventsApiService) FindInterconnectionPortEvents(ctx context.Context, connectionId string, id string) ApiFindInterconnectionPortEventsRequest

FindInterconnectionPortEvents Retrieve interconnection port events

Returns a list of the interconnection port events

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param connectionId Interconnection UUID
@param id Interconnection Port UUID
@return ApiFindInterconnectionPortEventsRequest

func (*EventsApiService) FindInterconnectionPortEventsExecute ¶ added in v0.3.0

func (a *EventsApiService) FindInterconnectionPortEventsExecute(r ApiFindInterconnectionPortEventsRequest) (*Event, *http.Response, error)

Execute executes the request

@return Event

func (*EventsApiService) FindOrganizationEvents ¶

func (a *EventsApiService) FindOrganizationEvents(ctx context.Context, id string) ApiFindOrganizationEventsRequest

FindOrganizationEvents Retrieve organization's events

Returns a list of events for a single organization

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param id Organization UUID
@return ApiFindOrganizationEventsRequest

func (*EventsApiService) FindOrganizationEventsExecute ¶

func (a *EventsApiService) FindOrganizationEventsExecute(r ApiFindOrganizationEventsRequest) (*EventList, *http.Response, error)

Execute executes the request

@return EventList

func (*EventsApiService) FindProjectEvents ¶

func (a *EventsApiService) FindProjectEvents(ctx context.Context, id string) ApiFindProjectEventsRequest

FindProjectEvents Retrieve project's events

Returns a list of events for a single project

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param id Project UUID
@return ApiFindProjectEventsRequest

func (*EventsApiService) FindProjectEventsExecute ¶

func (a *EventsApiService) FindProjectEventsExecute(r ApiFindProjectEventsRequest) (*EventList, *http.Response, error)

Execute executes the request

@return EventList

func (*EventsApiService) FindVirtualCircuitEvents ¶

func (a *EventsApiService) FindVirtualCircuitEvents(ctx context.Context, id string) ApiFindVirtualCircuitEventsRequest

FindVirtualCircuitEvents Retrieve virtual circuit events

Returns a list of the virtual circuit events

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param id Virtual Circuit UUID
@return ApiFindVirtualCircuitEventsRequest

func (*EventsApiService) FindVirtualCircuitEventsExecute ¶

func (a *EventsApiService) FindVirtualCircuitEventsExecute(r ApiFindVirtualCircuitEventsRequest) (*Event, *http.Response, error)

Execute executes the request

@return Event

func (*EventsApiService) FindVrfRouteEvents ¶ added in v0.9.0

func (a *EventsApiService) FindVrfRouteEvents(ctx context.Context, id string) ApiFindVrfRouteEventsRequest

FindVrfRouteEvents Retrieve VRF route events

Returns a list of the VRF route events

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param id VRF Route UUID
@return ApiFindVrfRouteEventsRequest

func (*EventsApiService) FindVrfRouteEventsExecute ¶ added in v0.9.0

func (a *EventsApiService) FindVrfRouteEventsExecute(r ApiFindVrfRouteEventsRequest) (*Event, *http.Response, error)

Execute executes the request

@return Event

type FabricServiceToken ¶

type FabricServiceToken struct {
	// The expiration date and time of the Fabric service token. Once a service token is expired, it is no longer redeemable.
	ExpiresAt *time.Time `json:"expires_at,omitempty"`
	// The UUID that can be used on the Fabric Portal to redeem either an A-Side or Z-Side Service Token. For Fabric VCs (Metal Billed), this UUID will represent an A-Side Service Token, which will allow interconnections to be made from Equinix Metal to other Service Providers on Fabric. For Fabric VCs (Fabric Billed), this UUID will represent a Z-Side Service Token, which will allow interconnections to be made to connect an owned Fabric Port or  Virtual Device to Equinix Metal.
	Id *string `json:"id,omitempty"`
	// The maximum speed that can be selected on the Fabric Portal when configuring a interconnection with either  an A-Side or Z-Side Service Token. For Fabric VCs (Metal Billed), this is what the billing is based off of, and can be one of the following options, '50mbps', '200mbps', '500mbps', '1gbps', '2gbps', '5gbps' or '10gbps'. For Fabric VCs (Fabric Billed), this will default to 10Gbps.
	MaxAllowedSpeed      *int32                              `json:"max_allowed_speed,omitempty"`
	Role                 *FabricServiceTokenRole             `json:"role,omitempty"`
	ServiceTokenType     *FabricServiceTokenServiceTokenType `json:"service_token_type,omitempty"`
	State                *FabricServiceTokenState            `json:"state,omitempty"`
	AdditionalProperties map[string]interface{}
}

FabricServiceToken struct for FabricServiceToken

func NewFabricServiceToken ¶

func NewFabricServiceToken() *FabricServiceToken

NewFabricServiceToken instantiates a new FabricServiceToken object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewFabricServiceTokenWithDefaults ¶

func NewFabricServiceTokenWithDefaults() *FabricServiceToken

NewFabricServiceTokenWithDefaults instantiates a new FabricServiceToken object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*FabricServiceToken) GetExpiresAt ¶

func (o *FabricServiceToken) GetExpiresAt() time.Time

GetExpiresAt returns the ExpiresAt field value if set, zero value otherwise.

func (*FabricServiceToken) GetExpiresAtOk ¶

func (o *FabricServiceToken) GetExpiresAtOk() (*time.Time, bool)

GetExpiresAtOk returns a tuple with the ExpiresAt field value if set, nil otherwise and a boolean to check if the value has been set.

func (*FabricServiceToken) GetId ¶

func (o *FabricServiceToken) GetId() string

GetId returns the Id field value if set, zero value otherwise.

func (*FabricServiceToken) GetIdOk ¶

func (o *FabricServiceToken) GetIdOk() (*string, bool)

GetIdOk returns a tuple with the Id field value if set, nil otherwise and a boolean to check if the value has been set.

func (*FabricServiceToken) GetMaxAllowedSpeed ¶

func (o *FabricServiceToken) GetMaxAllowedSpeed() int32

GetMaxAllowedSpeed returns the MaxAllowedSpeed field value if set, zero value otherwise.

func (*FabricServiceToken) GetMaxAllowedSpeedOk ¶

func (o *FabricServiceToken) GetMaxAllowedSpeedOk() (*int32, bool)

GetMaxAllowedSpeedOk returns a tuple with the MaxAllowedSpeed field value if set, nil otherwise and a boolean to check if the value has been set.

func (*FabricServiceToken) GetRole ¶

GetRole returns the Role field value if set, zero value otherwise.

func (*FabricServiceToken) GetRoleOk ¶

func (o *FabricServiceToken) GetRoleOk() (*FabricServiceTokenRole, bool)

GetRoleOk returns a tuple with the Role field value if set, nil otherwise and a boolean to check if the value has been set.

func (*FabricServiceToken) GetServiceTokenType ¶

func (o *FabricServiceToken) GetServiceTokenType() FabricServiceTokenServiceTokenType

GetServiceTokenType returns the ServiceTokenType field value if set, zero value otherwise.

func (*FabricServiceToken) GetServiceTokenTypeOk ¶

func (o *FabricServiceToken) GetServiceTokenTypeOk() (*FabricServiceTokenServiceTokenType, bool)

GetServiceTokenTypeOk returns a tuple with the ServiceTokenType field value if set, nil otherwise and a boolean to check if the value has been set.

func (*FabricServiceToken) GetState ¶

GetState returns the State field value if set, zero value otherwise.

func (*FabricServiceToken) GetStateOk ¶

func (o *FabricServiceToken) GetStateOk() (*FabricServiceTokenState, bool)

GetStateOk returns a tuple with the State field value if set, nil otherwise and a boolean to check if the value has been set.

func (*FabricServiceToken) HasExpiresAt ¶

func (o *FabricServiceToken) HasExpiresAt() bool

HasExpiresAt returns a boolean if a field has been set.

func (*FabricServiceToken) HasId ¶

func (o *FabricServiceToken) HasId() bool

HasId returns a boolean if a field has been set.

func (*FabricServiceToken) HasMaxAllowedSpeed ¶

func (o *FabricServiceToken) HasMaxAllowedSpeed() bool

HasMaxAllowedSpeed returns a boolean if a field has been set.

func (*FabricServiceToken) HasRole ¶

func (o *FabricServiceToken) HasRole() bool

HasRole returns a boolean if a field has been set.

func (*FabricServiceToken) HasServiceTokenType ¶

func (o *FabricServiceToken) HasServiceTokenType() bool

HasServiceTokenType returns a boolean if a field has been set.

func (*FabricServiceToken) HasState ¶

func (o *FabricServiceToken) HasState() bool

HasState returns a boolean if a field has been set.

func (FabricServiceToken) MarshalJSON ¶

func (o FabricServiceToken) MarshalJSON() ([]byte, error)

func (*FabricServiceToken) SetExpiresAt ¶

func (o *FabricServiceToken) SetExpiresAt(v time.Time)

SetExpiresAt gets a reference to the given time.Time and assigns it to the ExpiresAt field.

func (*FabricServiceToken) SetId ¶

func (o *FabricServiceToken) SetId(v string)

SetId gets a reference to the given string and assigns it to the Id field.

func (*FabricServiceToken) SetMaxAllowedSpeed ¶

func (o *FabricServiceToken) SetMaxAllowedSpeed(v int32)

SetMaxAllowedSpeed gets a reference to the given int32 and assigns it to the MaxAllowedSpeed field.

func (*FabricServiceToken) SetRole ¶

SetRole gets a reference to the given FabricServiceTokenRole and assigns it to the Role field.

func (*FabricServiceToken) SetServiceTokenType ¶

func (o *FabricServiceToken) SetServiceTokenType(v FabricServiceTokenServiceTokenType)

SetServiceTokenType gets a reference to the given FabricServiceTokenServiceTokenType and assigns it to the ServiceTokenType field.

func (*FabricServiceToken) SetState ¶

SetState gets a reference to the given FabricServiceTokenState and assigns it to the State field.

func (FabricServiceToken) ToMap ¶ added in v0.4.0

func (o FabricServiceToken) ToMap() (map[string]interface{}, error)

func (*FabricServiceToken) UnmarshalJSON ¶ added in v0.7.0

func (o *FabricServiceToken) UnmarshalJSON(bytes []byte) (err error)

type FabricServiceTokenRole ¶ added in v0.22.0

type FabricServiceTokenRole string

FabricServiceTokenRole Either primary or secondary, depending on which interconnection the service token is associated to.

const (
	FABRICSERVICETOKENROLE_PRIMARY   FabricServiceTokenRole = "primary"
	FABRICSERVICETOKENROLE_SECONDARY FabricServiceTokenRole = "secondary"
)

List of FabricServiceToken_role

func NewFabricServiceTokenRoleFromValue ¶ added in v0.22.0

func NewFabricServiceTokenRoleFromValue(v string) (*FabricServiceTokenRole, error)

NewFabricServiceTokenRoleFromValue returns a pointer to a valid FabricServiceTokenRole for the value passed as argument, or an error if the value passed is not allowed by the enum

func (FabricServiceTokenRole) IsValid ¶ added in v0.22.0

func (v FabricServiceTokenRole) IsValid() bool

IsValid return true if the value is valid for the enum, false otherwise

func (FabricServiceTokenRole) Ptr ¶ added in v0.22.0

Ptr returns reference to FabricServiceToken_role value

func (*FabricServiceTokenRole) UnmarshalJSON ¶ added in v0.22.0

func (v *FabricServiceTokenRole) UnmarshalJSON(src []byte) error

type FabricServiceTokenServiceTokenType ¶ added in v0.22.0

type FabricServiceTokenServiceTokenType string

FabricServiceTokenServiceTokenType Either 'a_side' or 'z_side', depending on which type of Fabric VC was requested.

const (
	FABRICSERVICETOKENSERVICETOKENTYPE_A_SIDE FabricServiceTokenServiceTokenType = "a_side"
	FABRICSERVICETOKENSERVICETOKENTYPE_Z_SIDE FabricServiceTokenServiceTokenType = "z_side"
)

List of FabricServiceToken_service_token_type

func NewFabricServiceTokenServiceTokenTypeFromValue ¶ added in v0.22.0

func NewFabricServiceTokenServiceTokenTypeFromValue(v string) (*FabricServiceTokenServiceTokenType, error)

NewFabricServiceTokenServiceTokenTypeFromValue returns a pointer to a valid FabricServiceTokenServiceTokenType for the value passed as argument, or an error if the value passed is not allowed by the enum

func (FabricServiceTokenServiceTokenType) IsValid ¶ added in v0.22.0

IsValid return true if the value is valid for the enum, false otherwise

func (FabricServiceTokenServiceTokenType) Ptr ¶ added in v0.22.0

Ptr returns reference to FabricServiceToken_service_token_type value

func (*FabricServiceTokenServiceTokenType) UnmarshalJSON ¶ added in v0.22.0

func (v *FabricServiceTokenServiceTokenType) UnmarshalJSON(src []byte) error

type FabricServiceTokenState ¶ added in v0.22.0

type FabricServiceTokenState string

FabricServiceTokenState The state of the service token that corresponds with the service token state on Fabric. An 'inactive' state refers to a token that has not been redeemed yet on the Fabric side, an 'active' state refers to a token that has already been redeemed, and an 'expired' state refers to a token that has reached its expiry time.

const (
	FABRICSERVICETOKENSTATE_INACTIVE FabricServiceTokenState = "inactive"
	FABRICSERVICETOKENSTATE_ACTIVE   FabricServiceTokenState = "active"
	FABRICSERVICETOKENSTATE_EXPIRED  FabricServiceTokenState = "expired"
)

List of FabricServiceToken_state

func NewFabricServiceTokenStateFromValue ¶ added in v0.22.0

func NewFabricServiceTokenStateFromValue(v string) (*FabricServiceTokenState, error)

NewFabricServiceTokenStateFromValue returns a pointer to a valid FabricServiceTokenState for the value passed as argument, or an error if the value passed is not allowed by the enum

func (FabricServiceTokenState) IsValid ¶ added in v0.22.0

func (v FabricServiceTokenState) IsValid() bool

IsValid return true if the value is valid for the enum, false otherwise

func (FabricServiceTokenState) Ptr ¶ added in v0.22.0

Ptr returns reference to FabricServiceToken_state value

func (*FabricServiceTokenState) UnmarshalJSON ¶ added in v0.22.0

func (v *FabricServiceTokenState) UnmarshalJSON(src []byte) error

type FacilitiesApiService ¶

type FacilitiesApiService service

FacilitiesApiService FacilitiesApi service

func (*FacilitiesApiService) FindFacilities ¶

FindFacilities Retrieve all facilities

Provides a listing of available datacenters where you can provision Packet devices.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@return ApiFindFacilitiesRequest

Deprecated

func (*FacilitiesApiService) FindFacilitiesByOrganization ¶

func (a *FacilitiesApiService) FindFacilitiesByOrganization(ctx context.Context, id string) ApiFindFacilitiesByOrganizationRequest

FindFacilitiesByOrganization Retrieve all facilities visible by the organization

Returns a listing of available datacenters for the given organization

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param id Organization UUID
@return ApiFindFacilitiesByOrganizationRequest

Deprecated

func (*FacilitiesApiService) FindFacilitiesByOrganizationExecute ¶

func (a *FacilitiesApiService) FindFacilitiesByOrganizationExecute(r ApiFindFacilitiesByOrganizationRequest) (*FacilityList, *http.Response, error)

Execute executes the request

@return FacilityList

Deprecated

func (*FacilitiesApiService) FindFacilitiesByProject ¶

func (a *FacilitiesApiService) FindFacilitiesByProject(ctx context.Context, id string) ApiFindFacilitiesByProjectRequest

FindFacilitiesByProject Retrieve all facilities visible by the project

Returns a listing of available datacenters for the given project

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param id Project UUID
@return ApiFindFacilitiesByProjectRequest

Deprecated

func (*FacilitiesApiService) FindFacilitiesByProjectExecute ¶

func (a *FacilitiesApiService) FindFacilitiesByProjectExecute(r ApiFindFacilitiesByProjectRequest) (*FacilityList, *http.Response, error)

Execute executes the request

@return FacilityList

Deprecated

func (*FacilitiesApiService) FindFacilitiesExecute ¶

Execute executes the request

@return FacilityList

Deprecated

type Facility ¶

type Facility struct {
	Address  *Address                `json:"address,omitempty"`
	Code     *string                 `json:"code,omitempty"`
	Features []FacilityFeaturesInner `json:"features,omitempty"`
	Id       *string                 `json:"id,omitempty"`
	// IP ranges registered in facility. Can be used for GeoIP location
	IpRanges             []string     `json:"ip_ranges,omitempty"`
	Metro                *DeviceMetro `json:"metro,omitempty"`
	Name                 *string      `json:"name,omitempty"`
	AdditionalProperties map[string]interface{}
}

Facility struct for Facility

func NewFacility ¶

func NewFacility() *Facility

NewFacility instantiates a new Facility object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewFacilityWithDefaults ¶

func NewFacilityWithDefaults() *Facility

NewFacilityWithDefaults instantiates a new Facility object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*Facility) GetAddress ¶

func (o *Facility) GetAddress() Address

GetAddress returns the Address field value if set, zero value otherwise.

func (*Facility) GetAddressOk ¶

func (o *Facility) GetAddressOk() (*Address, bool)

GetAddressOk returns a tuple with the Address field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Facility) GetCode ¶

func (o *Facility) GetCode() string

GetCode returns the Code field value if set, zero value otherwise.

func (*Facility) GetCodeOk ¶

func (o *Facility) GetCodeOk() (*string, bool)

GetCodeOk returns a tuple with the Code field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Facility) GetFeatures ¶

func (o *Facility) GetFeatures() []FacilityFeaturesInner

GetFeatures returns the Features field value if set, zero value otherwise.

func (*Facility) GetFeaturesOk ¶

func (o *Facility) GetFeaturesOk() ([]FacilityFeaturesInner, bool)

GetFeaturesOk returns a tuple with the Features field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Facility) GetId ¶

func (o *Facility) GetId() string

GetId returns the Id field value if set, zero value otherwise.

func (*Facility) GetIdOk ¶

func (o *Facility) GetIdOk() (*string, bool)

GetIdOk returns a tuple with the Id field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Facility) GetIpRanges ¶

func (o *Facility) GetIpRanges() []string

GetIpRanges returns the IpRanges field value if set, zero value otherwise.

func (*Facility) GetIpRangesOk ¶

func (o *Facility) GetIpRangesOk() ([]string, bool)

GetIpRangesOk returns a tuple with the IpRanges field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Facility) GetMetro ¶

func (o *Facility) GetMetro() DeviceMetro

GetMetro returns the Metro field value if set, zero value otherwise.

func (*Facility) GetMetroOk ¶

func (o *Facility) GetMetroOk() (*DeviceMetro, bool)

GetMetroOk returns a tuple with the Metro field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Facility) GetName ¶

func (o *Facility) GetName() string

GetName returns the Name field value if set, zero value otherwise.

func (*Facility) GetNameOk ¶

func (o *Facility) GetNameOk() (*string, bool)

GetNameOk returns a tuple with the Name field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Facility) HasAddress ¶

func (o *Facility) HasAddress() bool

HasAddress returns a boolean if a field has been set.

func (*Facility) HasCode ¶

func (o *Facility) HasCode() bool

HasCode returns a boolean if a field has been set.

func (*Facility) HasFeatures ¶

func (o *Facility) HasFeatures() bool

HasFeatures returns a boolean if a field has been set.

func (*Facility) HasId ¶

func (o *Facility) HasId() bool

HasId returns a boolean if a field has been set.

func (*Facility) HasIpRanges ¶

func (o *Facility) HasIpRanges() bool

HasIpRanges returns a boolean if a field has been set.

func (*Facility) HasMetro ¶

func (o *Facility) HasMetro() bool

HasMetro returns a boolean if a field has been set.

func (*Facility) HasName ¶

func (o *Facility) HasName() bool

HasName returns a boolean if a field has been set.

func (Facility) MarshalJSON ¶

func (o Facility) MarshalJSON() ([]byte, error)

func (*Facility) SetAddress ¶

func (o *Facility) SetAddress(v Address)

SetAddress gets a reference to the given Address and assigns it to the Address field.

func (*Facility) SetCode ¶

func (o *Facility) SetCode(v string)

SetCode gets a reference to the given string and assigns it to the Code field.

func (*Facility) SetFeatures ¶

func (o *Facility) SetFeatures(v []FacilityFeaturesInner)

SetFeatures gets a reference to the given []FacilityFeaturesInner and assigns it to the Features field.

func (*Facility) SetId ¶

func (o *Facility) SetId(v string)

SetId gets a reference to the given string and assigns it to the Id field.

func (*Facility) SetIpRanges ¶

func (o *Facility) SetIpRanges(v []string)

SetIpRanges gets a reference to the given []string and assigns it to the IpRanges field.

func (*Facility) SetMetro ¶

func (o *Facility) SetMetro(v DeviceMetro)

SetMetro gets a reference to the given DeviceMetro and assigns it to the Metro field.

func (*Facility) SetName ¶

func (o *Facility) SetName(v string)

SetName gets a reference to the given string and assigns it to the Name field.

func (Facility) ToMap ¶ added in v0.4.0

func (o Facility) ToMap() (map[string]interface{}, error)

func (*Facility) UnmarshalJSON ¶ added in v0.7.0

func (o *Facility) UnmarshalJSON(bytes []byte) (err error)

type FacilityFeaturesInner ¶ added in v0.22.0

type FacilityFeaturesInner string

FacilityFeaturesInner the model 'FacilityFeaturesInner'

const (
	FACILITYFEATURESINNER_BAREMETAL        FacilityFeaturesInner = "baremetal"
	FACILITYFEATURESINNER_BACKEND_TRANSFER FacilityFeaturesInner = "backend_transfer"
	FACILITYFEATURESINNER_LAYER_2          FacilityFeaturesInner = "layer_2"
	FACILITYFEATURESINNER_GLOBAL_IPV4      FacilityFeaturesInner = "global_ipv4"
	FACILITYFEATURESINNER_IBX              FacilityFeaturesInner = "ibx"
)

List of Facility_features_inner

func NewFacilityFeaturesInnerFromValue ¶ added in v0.22.0

func NewFacilityFeaturesInnerFromValue(v string) (*FacilityFeaturesInner, error)

NewFacilityFeaturesInnerFromValue returns a pointer to a valid FacilityFeaturesInner for the value passed as argument, or an error if the value passed is not allowed by the enum

func (FacilityFeaturesInner) IsValid ¶ added in v0.22.0

func (v FacilityFeaturesInner) IsValid() bool

IsValid return true if the value is valid for the enum, false otherwise

func (FacilityFeaturesInner) Ptr ¶ added in v0.22.0

Ptr returns reference to Facility_features_inner value

func (*FacilityFeaturesInner) UnmarshalJSON ¶ added in v0.22.0

func (v *FacilityFeaturesInner) UnmarshalJSON(src []byte) error

type FacilityInput ¶ added in v0.4.0

type FacilityInput struct {
	// The datacenter where the device should be created.  Either metro or facility must be provided.  The API will accept either a single facility `{ \"facility\": \"f1\" }`, or it can be instructed to create the device in the best available datacenter `{ \"facility\": \"any\" }`.  Additionally it is possible to set a prioritized location selection. For example `{ \"facility\": [\"f3\", \"f2\", \"any\"] }` can be used to prioritize `f3` and then `f2` before accepting `any` facility. If none of the facilities provided have availability for the requested device the request will fail.
	// Deprecated
	Facility             []string `json:"facility"`
	AdditionalProperties map[string]interface{}
}

FacilityInput struct for FacilityInput

func NewFacilityInput ¶ added in v0.4.0

func NewFacilityInput(facility []string) *FacilityInput

NewFacilityInput instantiates a new FacilityInput object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewFacilityInputWithDefaults ¶ added in v0.4.0

func NewFacilityInputWithDefaults() *FacilityInput

NewFacilityInputWithDefaults instantiates a new FacilityInput object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*FacilityInput) GetFacility ¶ added in v0.4.0

func (o *FacilityInput) GetFacility() []string

GetFacility returns the Facility field value Deprecated

func (*FacilityInput) GetFacilityOk ¶ added in v0.4.0

func (o *FacilityInput) GetFacilityOk() ([]string, bool)

GetFacilityOk returns a tuple with the Facility field value and a boolean to check if the value has been set. Deprecated

func (FacilityInput) MarshalJSON ¶ added in v0.4.0

func (o FacilityInput) MarshalJSON() ([]byte, error)

func (*FacilityInput) SetFacility ¶ added in v0.4.0

func (o *FacilityInput) SetFacility(v []string)

SetFacility sets field value Deprecated

func (FacilityInput) ToMap ¶ added in v0.4.0

func (o FacilityInput) ToMap() (map[string]interface{}, error)

func (*FacilityInput) UnmarshalJSON ¶ added in v0.7.0

func (o *FacilityInput) UnmarshalJSON(bytes []byte) (err error)

type FacilityList ¶

type FacilityList struct {
	Facilities           []Facility `json:"facilities,omitempty"`
	AdditionalProperties map[string]interface{}
}

FacilityList struct for FacilityList

func NewFacilityList ¶

func NewFacilityList() *FacilityList

NewFacilityList instantiates a new FacilityList object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewFacilityListWithDefaults ¶

func NewFacilityListWithDefaults() *FacilityList

NewFacilityListWithDefaults instantiates a new FacilityList object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*FacilityList) GetFacilities ¶

func (o *FacilityList) GetFacilities() []Facility

GetFacilities returns the Facilities field value if set, zero value otherwise.

func (*FacilityList) GetFacilitiesOk ¶

func (o *FacilityList) GetFacilitiesOk() ([]Facility, bool)

GetFacilitiesOk returns a tuple with the Facilities field value if set, nil otherwise and a boolean to check if the value has been set.

func (*FacilityList) HasFacilities ¶

func (o *FacilityList) HasFacilities() bool

HasFacilities returns a boolean if a field has been set.

func (FacilityList) MarshalJSON ¶

func (o FacilityList) MarshalJSON() ([]byte, error)

func (*FacilityList) SetFacilities ¶

func (o *FacilityList) SetFacilities(v []Facility)

SetFacilities gets a reference to the given []Facility and assigns it to the Facilities field.

func (FacilityList) ToMap ¶ added in v0.4.0

func (o FacilityList) ToMap() (map[string]interface{}, error)

func (*FacilityList) UnmarshalJSON ¶ added in v0.7.0

func (o *FacilityList) UnmarshalJSON(bytes []byte) (err error)

type Filesystem ¶ added in v0.6.0

type Filesystem struct {
	Mount                *Mount `json:"mount,omitempty"`
	AdditionalProperties map[string]interface{}
}

Filesystem struct for Filesystem

func NewFilesystem ¶ added in v0.6.0

func NewFilesystem() *Filesystem

NewFilesystem instantiates a new Filesystem object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewFilesystemWithDefaults ¶ added in v0.6.0

func NewFilesystemWithDefaults() *Filesystem

NewFilesystemWithDefaults instantiates a new Filesystem object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*Filesystem) GetMount ¶ added in v0.6.0

func (o *Filesystem) GetMount() Mount

GetMount returns the Mount field value if set, zero value otherwise.

func (*Filesystem) GetMountOk ¶ added in v0.6.0

func (o *Filesystem) GetMountOk() (*Mount, bool)

GetMountOk returns a tuple with the Mount field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Filesystem) HasMount ¶ added in v0.6.0

func (o *Filesystem) HasMount() bool

HasMount returns a boolean if a field has been set.

func (Filesystem) MarshalJSON ¶ added in v0.6.0

func (o Filesystem) MarshalJSON() ([]byte, error)

func (*Filesystem) SetMount ¶ added in v0.6.0

func (o *Filesystem) SetMount(v Mount)

SetMount gets a reference to the given Mount and assigns it to the Mount field.

func (Filesystem) ToMap ¶ added in v0.6.0

func (o Filesystem) ToMap() (map[string]interface{}, error)

func (*Filesystem) UnmarshalJSON ¶ added in v0.7.0

func (o *Filesystem) UnmarshalJSON(bytes []byte) (err error)

type FindFacilitiesIncludeParameterInner ¶ added in v0.22.0

type FindFacilitiesIncludeParameterInner string

FindFacilitiesIncludeParameterInner the model 'FindFacilitiesIncludeParameterInner'

const (
	FINDFACILITIESINCLUDEPARAMETERINNER_ADDRESS FindFacilitiesIncludeParameterInner = "address"
	FINDFACILITIESINCLUDEPARAMETERINNER_LABELS  FindFacilitiesIncludeParameterInner = "labels"
)

List of findFacilities_include_parameter_inner

func NewFindFacilitiesIncludeParameterInnerFromValue ¶ added in v0.22.0

func NewFindFacilitiesIncludeParameterInnerFromValue(v string) (*FindFacilitiesIncludeParameterInner, error)

NewFindFacilitiesIncludeParameterInnerFromValue returns a pointer to a valid FindFacilitiesIncludeParameterInner for the value passed as argument, or an error if the value passed is not allowed by the enum

func (FindFacilitiesIncludeParameterInner) IsValid ¶ added in v0.22.0

IsValid return true if the value is valid for the enum, false otherwise

func (FindFacilitiesIncludeParameterInner) Ptr ¶ added in v0.22.0

Ptr returns reference to findFacilities_include_parameter_inner value

func (*FindFacilitiesIncludeParameterInner) UnmarshalJSON ¶ added in v0.22.0

func (v *FindFacilitiesIncludeParameterInner) UnmarshalJSON(src []byte) error

type FindIPAddressById200Response ¶ added in v0.3.0

type FindIPAddressById200Response struct {
	IPAssignment     *IPAssignment
	IPReservation    *IPReservation
	VrfIpReservation *VrfIpReservation
}

FindIPAddressById200Response - struct for FindIPAddressById200Response

func IPAssignmentAsFindIPAddressById200Response ¶ added in v0.4.0

func IPAssignmentAsFindIPAddressById200Response(v *IPAssignment) FindIPAddressById200Response

IPAssignmentAsFindIPAddressById200Response is a convenience function that returns IPAssignment wrapped in FindIPAddressById200Response

func IPReservationAsFindIPAddressById200Response ¶ added in v0.4.0

func IPReservationAsFindIPAddressById200Response(v *IPReservation) FindIPAddressById200Response

IPReservationAsFindIPAddressById200Response is a convenience function that returns IPReservation wrapped in FindIPAddressById200Response

func VrfIpReservationAsFindIPAddressById200Response ¶ added in v0.4.0

func VrfIpReservationAsFindIPAddressById200Response(v *VrfIpReservation) FindIPAddressById200Response

VrfIpReservationAsFindIPAddressById200Response is a convenience function that returns VrfIpReservation wrapped in FindIPAddressById200Response

func (*FindIPAddressById200Response) GetActualInstance ¶ added in v0.3.0

func (obj *FindIPAddressById200Response) GetActualInstance() interface{}

Get the actual instance

func (FindIPAddressById200Response) MarshalJSON ¶ added in v0.3.0

func (src FindIPAddressById200Response) MarshalJSON() ([]byte, error)

Marshal data from the first non-nil pointers in the struct to JSON

func (*FindIPAddressById200Response) UnmarshalJSON ¶ added in v0.3.0

func (dst *FindIPAddressById200Response) UnmarshalJSON(data []byte) error

Unmarshal JSON data into one of the pointers in the struct

type FindIPAvailabilitiesCidrParameter ¶ added in v0.22.0

type FindIPAvailabilitiesCidrParameter string

FindIPAvailabilitiesCidrParameter the model 'FindIPAvailabilitiesCidrParameter'

const (
	FINDIPAVAILABILITIESCIDRPARAMETER__20  FindIPAvailabilitiesCidrParameter = "20"
	FINDIPAVAILABILITIESCIDRPARAMETER__21  FindIPAvailabilitiesCidrParameter = "21"
	FINDIPAVAILABILITIESCIDRPARAMETER__22  FindIPAvailabilitiesCidrParameter = "22"
	FINDIPAVAILABILITIESCIDRPARAMETER__23  FindIPAvailabilitiesCidrParameter = "23"
	FINDIPAVAILABILITIESCIDRPARAMETER__24  FindIPAvailabilitiesCidrParameter = "24"
	FINDIPAVAILABILITIESCIDRPARAMETER__25  FindIPAvailabilitiesCidrParameter = "25"
	FINDIPAVAILABILITIESCIDRPARAMETER__26  FindIPAvailabilitiesCidrParameter = "26"
	FINDIPAVAILABILITIESCIDRPARAMETER__27  FindIPAvailabilitiesCidrParameter = "27"
	FINDIPAVAILABILITIESCIDRPARAMETER__28  FindIPAvailabilitiesCidrParameter = "28"
	FINDIPAVAILABILITIESCIDRPARAMETER__29  FindIPAvailabilitiesCidrParameter = "29"
	FINDIPAVAILABILITIESCIDRPARAMETER__30  FindIPAvailabilitiesCidrParameter = "30"
	FINDIPAVAILABILITIESCIDRPARAMETER__31  FindIPAvailabilitiesCidrParameter = "31"
	FINDIPAVAILABILITIESCIDRPARAMETER__32  FindIPAvailabilitiesCidrParameter = "32"
	FINDIPAVAILABILITIESCIDRPARAMETER__33  FindIPAvailabilitiesCidrParameter = "33"
	FINDIPAVAILABILITIESCIDRPARAMETER__34  FindIPAvailabilitiesCidrParameter = "34"
	FINDIPAVAILABILITIESCIDRPARAMETER__35  FindIPAvailabilitiesCidrParameter = "35"
	FINDIPAVAILABILITIESCIDRPARAMETER__36  FindIPAvailabilitiesCidrParameter = "36"
	FINDIPAVAILABILITIESCIDRPARAMETER__37  FindIPAvailabilitiesCidrParameter = "37"
	FINDIPAVAILABILITIESCIDRPARAMETER__38  FindIPAvailabilitiesCidrParameter = "38"
	FINDIPAVAILABILITIESCIDRPARAMETER__39  FindIPAvailabilitiesCidrParameter = "39"
	FINDIPAVAILABILITIESCIDRPARAMETER__40  FindIPAvailabilitiesCidrParameter = "40"
	FINDIPAVAILABILITIESCIDRPARAMETER__41  FindIPAvailabilitiesCidrParameter = "41"
	FINDIPAVAILABILITIESCIDRPARAMETER__42  FindIPAvailabilitiesCidrParameter = "42"
	FINDIPAVAILABILITIESCIDRPARAMETER__43  FindIPAvailabilitiesCidrParameter = "43"
	FINDIPAVAILABILITIESCIDRPARAMETER__44  FindIPAvailabilitiesCidrParameter = "44"
	FINDIPAVAILABILITIESCIDRPARAMETER__45  FindIPAvailabilitiesCidrParameter = "45"
	FINDIPAVAILABILITIESCIDRPARAMETER__46  FindIPAvailabilitiesCidrParameter = "46"
	FINDIPAVAILABILITIESCIDRPARAMETER__47  FindIPAvailabilitiesCidrParameter = "47"
	FINDIPAVAILABILITIESCIDRPARAMETER__48  FindIPAvailabilitiesCidrParameter = "48"
	FINDIPAVAILABILITIESCIDRPARAMETER__49  FindIPAvailabilitiesCidrParameter = "49"
	FINDIPAVAILABILITIESCIDRPARAMETER__50  FindIPAvailabilitiesCidrParameter = "50"
	FINDIPAVAILABILITIESCIDRPARAMETER__51  FindIPAvailabilitiesCidrParameter = "51"
	FINDIPAVAILABILITIESCIDRPARAMETER__52  FindIPAvailabilitiesCidrParameter = "52"
	FINDIPAVAILABILITIESCIDRPARAMETER__53  FindIPAvailabilitiesCidrParameter = "53"
	FINDIPAVAILABILITIESCIDRPARAMETER__54  FindIPAvailabilitiesCidrParameter = "54"
	FINDIPAVAILABILITIESCIDRPARAMETER__55  FindIPAvailabilitiesCidrParameter = "55"
	FINDIPAVAILABILITIESCIDRPARAMETER__56  FindIPAvailabilitiesCidrParameter = "56"
	FINDIPAVAILABILITIESCIDRPARAMETER__57  FindIPAvailabilitiesCidrParameter = "57"
	FINDIPAVAILABILITIESCIDRPARAMETER__58  FindIPAvailabilitiesCidrParameter = "58"
	FINDIPAVAILABILITIESCIDRPARAMETER__59  FindIPAvailabilitiesCidrParameter = "59"
	FINDIPAVAILABILITIESCIDRPARAMETER__60  FindIPAvailabilitiesCidrParameter = "60"
	FINDIPAVAILABILITIESCIDRPARAMETER__61  FindIPAvailabilitiesCidrParameter = "61"
	FINDIPAVAILABILITIESCIDRPARAMETER__62  FindIPAvailabilitiesCidrParameter = "62"
	FINDIPAVAILABILITIESCIDRPARAMETER__63  FindIPAvailabilitiesCidrParameter = "63"
	FINDIPAVAILABILITIESCIDRPARAMETER__64  FindIPAvailabilitiesCidrParameter = "64"
	FINDIPAVAILABILITIESCIDRPARAMETER__65  FindIPAvailabilitiesCidrParameter = "65"
	FINDIPAVAILABILITIESCIDRPARAMETER__66  FindIPAvailabilitiesCidrParameter = "66"
	FINDIPAVAILABILITIESCIDRPARAMETER__67  FindIPAvailabilitiesCidrParameter = "67"
	FINDIPAVAILABILITIESCIDRPARAMETER__68  FindIPAvailabilitiesCidrParameter = "68"
	FINDIPAVAILABILITIESCIDRPARAMETER__69  FindIPAvailabilitiesCidrParameter = "69"
	FINDIPAVAILABILITIESCIDRPARAMETER__70  FindIPAvailabilitiesCidrParameter = "70"
	FINDIPAVAILABILITIESCIDRPARAMETER__71  FindIPAvailabilitiesCidrParameter = "71"
	FINDIPAVAILABILITIESCIDRPARAMETER__72  FindIPAvailabilitiesCidrParameter = "72"
	FINDIPAVAILABILITIESCIDRPARAMETER__73  FindIPAvailabilitiesCidrParameter = "73"
	FINDIPAVAILABILITIESCIDRPARAMETER__74  FindIPAvailabilitiesCidrParameter = "74"
	FINDIPAVAILABILITIESCIDRPARAMETER__75  FindIPAvailabilitiesCidrParameter = "75"
	FINDIPAVAILABILITIESCIDRPARAMETER__76  FindIPAvailabilitiesCidrParameter = "76"
	FINDIPAVAILABILITIESCIDRPARAMETER__77  FindIPAvailabilitiesCidrParameter = "77"
	FINDIPAVAILABILITIESCIDRPARAMETER__78  FindIPAvailabilitiesCidrParameter = "78"
	FINDIPAVAILABILITIESCIDRPARAMETER__79  FindIPAvailabilitiesCidrParameter = "79"
	FINDIPAVAILABILITIESCIDRPARAMETER__80  FindIPAvailabilitiesCidrParameter = "80"
	FINDIPAVAILABILITIESCIDRPARAMETER__81  FindIPAvailabilitiesCidrParameter = "81"
	FINDIPAVAILABILITIESCIDRPARAMETER__82  FindIPAvailabilitiesCidrParameter = "82"
	FINDIPAVAILABILITIESCIDRPARAMETER__83  FindIPAvailabilitiesCidrParameter = "83"
	FINDIPAVAILABILITIESCIDRPARAMETER__84  FindIPAvailabilitiesCidrParameter = "84"
	FINDIPAVAILABILITIESCIDRPARAMETER__85  FindIPAvailabilitiesCidrParameter = "85"
	FINDIPAVAILABILITIESCIDRPARAMETER__86  FindIPAvailabilitiesCidrParameter = "86"
	FINDIPAVAILABILITIESCIDRPARAMETER__87  FindIPAvailabilitiesCidrParameter = "87"
	FINDIPAVAILABILITIESCIDRPARAMETER__88  FindIPAvailabilitiesCidrParameter = "88"
	FINDIPAVAILABILITIESCIDRPARAMETER__89  FindIPAvailabilitiesCidrParameter = "89"
	FINDIPAVAILABILITIESCIDRPARAMETER__90  FindIPAvailabilitiesCidrParameter = "90"
	FINDIPAVAILABILITIESCIDRPARAMETER__91  FindIPAvailabilitiesCidrParameter = "91"
	FINDIPAVAILABILITIESCIDRPARAMETER__92  FindIPAvailabilitiesCidrParameter = "92"
	FINDIPAVAILABILITIESCIDRPARAMETER__93  FindIPAvailabilitiesCidrParameter = "93"
	FINDIPAVAILABILITIESCIDRPARAMETER__94  FindIPAvailabilitiesCidrParameter = "94"
	FINDIPAVAILABILITIESCIDRPARAMETER__95  FindIPAvailabilitiesCidrParameter = "95"
	FINDIPAVAILABILITIESCIDRPARAMETER__96  FindIPAvailabilitiesCidrParameter = "96"
	FINDIPAVAILABILITIESCIDRPARAMETER__97  FindIPAvailabilitiesCidrParameter = "97"
	FINDIPAVAILABILITIESCIDRPARAMETER__98  FindIPAvailabilitiesCidrParameter = "98"
	FINDIPAVAILABILITIESCIDRPARAMETER__99  FindIPAvailabilitiesCidrParameter = "99"
	FINDIPAVAILABILITIESCIDRPARAMETER__100 FindIPAvailabilitiesCidrParameter = "100"
	FINDIPAVAILABILITIESCIDRPARAMETER__101 FindIPAvailabilitiesCidrParameter = "101"
	FINDIPAVAILABILITIESCIDRPARAMETER__102 FindIPAvailabilitiesCidrParameter = "102"
	FINDIPAVAILABILITIESCIDRPARAMETER__103 FindIPAvailabilitiesCidrParameter = "103"
	FINDIPAVAILABILITIESCIDRPARAMETER__104 FindIPAvailabilitiesCidrParameter = "104"
	FINDIPAVAILABILITIESCIDRPARAMETER__105 FindIPAvailabilitiesCidrParameter = "105"
	FINDIPAVAILABILITIESCIDRPARAMETER__106 FindIPAvailabilitiesCidrParameter = "106"
	FINDIPAVAILABILITIESCIDRPARAMETER__107 FindIPAvailabilitiesCidrParameter = "107"
	FINDIPAVAILABILITIESCIDRPARAMETER__108 FindIPAvailabilitiesCidrParameter = "108"
	FINDIPAVAILABILITIESCIDRPARAMETER__109 FindIPAvailabilitiesCidrParameter = "109"
	FINDIPAVAILABILITIESCIDRPARAMETER__110 FindIPAvailabilitiesCidrParameter = "110"
	FINDIPAVAILABILITIESCIDRPARAMETER__111 FindIPAvailabilitiesCidrParameter = "111"
	FINDIPAVAILABILITIESCIDRPARAMETER__112 FindIPAvailabilitiesCidrParameter = "112"
	FINDIPAVAILABILITIESCIDRPARAMETER__113 FindIPAvailabilitiesCidrParameter = "113"
	FINDIPAVAILABILITIESCIDRPARAMETER__114 FindIPAvailabilitiesCidrParameter = "114"
	FINDIPAVAILABILITIESCIDRPARAMETER__115 FindIPAvailabilitiesCidrParameter = "115"
	FINDIPAVAILABILITIESCIDRPARAMETER__116 FindIPAvailabilitiesCidrParameter = "116"
	FINDIPAVAILABILITIESCIDRPARAMETER__117 FindIPAvailabilitiesCidrParameter = "117"
	FINDIPAVAILABILITIESCIDRPARAMETER__118 FindIPAvailabilitiesCidrParameter = "118"
	FINDIPAVAILABILITIESCIDRPARAMETER__119 FindIPAvailabilitiesCidrParameter = "119"
	FINDIPAVAILABILITIESCIDRPARAMETER__120 FindIPAvailabilitiesCidrParameter = "120"
	FINDIPAVAILABILITIESCIDRPARAMETER__121 FindIPAvailabilitiesCidrParameter = "121"
	FINDIPAVAILABILITIESCIDRPARAMETER__122 FindIPAvailabilitiesCidrParameter = "122"
	FINDIPAVAILABILITIESCIDRPARAMETER__123 FindIPAvailabilitiesCidrParameter = "123"
	FINDIPAVAILABILITIESCIDRPARAMETER__124 FindIPAvailabilitiesCidrParameter = "124"
	FINDIPAVAILABILITIESCIDRPARAMETER__125 FindIPAvailabilitiesCidrParameter = "125"
	FINDIPAVAILABILITIESCIDRPARAMETER__126 FindIPAvailabilitiesCidrParameter = "126"
	FINDIPAVAILABILITIESCIDRPARAMETER__127 FindIPAvailabilitiesCidrParameter = "127"
	FINDIPAVAILABILITIESCIDRPARAMETER__128 FindIPAvailabilitiesCidrParameter = "128"
)

List of findIPAvailabilities_cidr_parameter

func NewFindIPAvailabilitiesCidrParameterFromValue ¶ added in v0.22.0

func NewFindIPAvailabilitiesCidrParameterFromValue(v string) (*FindIPAvailabilitiesCidrParameter, error)

NewFindIPAvailabilitiesCidrParameterFromValue returns a pointer to a valid FindIPAvailabilitiesCidrParameter for the value passed as argument, or an error if the value passed is not allowed by the enum

func (FindIPAvailabilitiesCidrParameter) IsValid ¶ added in v0.22.0

IsValid return true if the value is valid for the enum, false otherwise

func (FindIPAvailabilitiesCidrParameter) Ptr ¶ added in v0.22.0

Ptr returns reference to findIPAvailabilities_cidr_parameter value

func (*FindIPAvailabilitiesCidrParameter) UnmarshalJSON ¶ added in v0.22.0

func (v *FindIPAvailabilitiesCidrParameter) UnmarshalJSON(src []byte) error

type FindIPReservationsTypesParameterInner ¶ added in v0.22.0

type FindIPReservationsTypesParameterInner string

FindIPReservationsTypesParameterInner the model 'FindIPReservationsTypesParameterInner'

const (
	FINDIPRESERVATIONSTYPESPARAMETERINNER_GLOBAL_IPV4  FindIPReservationsTypesParameterInner = "global_ipv4"
	FINDIPRESERVATIONSTYPESPARAMETERINNER_PRIVATE_IPV4 FindIPReservationsTypesParameterInner = "private_ipv4"
	FINDIPRESERVATIONSTYPESPARAMETERINNER_PUBLIC_IPV4  FindIPReservationsTypesParameterInner = "public_ipv4"
	FINDIPRESERVATIONSTYPESPARAMETERINNER_PUBLIC_IPV6  FindIPReservationsTypesParameterInner = "public_ipv6"
	FINDIPRESERVATIONSTYPESPARAMETERINNER_VRF          FindIPReservationsTypesParameterInner = "vrf"
)

List of findIPReservations_types_parameter_inner

func NewFindIPReservationsTypesParameterInnerFromValue ¶ added in v0.22.0

func NewFindIPReservationsTypesParameterInnerFromValue(v string) (*FindIPReservationsTypesParameterInner, error)

NewFindIPReservationsTypesParameterInnerFromValue returns a pointer to a valid FindIPReservationsTypesParameterInner for the value passed as argument, or an error if the value passed is not allowed by the enum

func (FindIPReservationsTypesParameterInner) IsValid ¶ added in v0.22.0

IsValid return true if the value is valid for the enum, false otherwise

func (FindIPReservationsTypesParameterInner) Ptr ¶ added in v0.22.0

Ptr returns reference to findIPReservations_types_parameter_inner value

func (*FindIPReservationsTypesParameterInner) UnmarshalJSON ¶ added in v0.22.0

func (v *FindIPReservationsTypesParameterInner) UnmarshalJSON(src []byte) error

type FindMetalGatewayById200Response ¶ added in v0.3.0

type FindMetalGatewayById200Response struct {
	MetalGateway    *MetalGateway
	VrfMetalGateway *VrfMetalGateway
}

FindMetalGatewayById200Response - struct for FindMetalGatewayById200Response

func MetalGatewayAsFindMetalGatewayById200Response ¶ added in v0.4.0

func MetalGatewayAsFindMetalGatewayById200Response(v *MetalGateway) FindMetalGatewayById200Response

MetalGatewayAsFindMetalGatewayById200Response is a convenience function that returns MetalGateway wrapped in FindMetalGatewayById200Response

func VrfMetalGatewayAsFindMetalGatewayById200Response ¶ added in v0.4.0

func VrfMetalGatewayAsFindMetalGatewayById200Response(v *VrfMetalGateway) FindMetalGatewayById200Response

VrfMetalGatewayAsFindMetalGatewayById200Response is a convenience function that returns VrfMetalGateway wrapped in FindMetalGatewayById200Response

func (*FindMetalGatewayById200Response) GetActualInstance ¶ added in v0.3.0

func (obj *FindMetalGatewayById200Response) GetActualInstance() interface{}

Get the actual instance

func (FindMetalGatewayById200Response) MarshalJSON ¶ added in v0.3.0

func (src FindMetalGatewayById200Response) MarshalJSON() ([]byte, error)

Marshal data from the first non-nil pointers in the struct to JSON

func (*FindMetalGatewayById200Response) UnmarshalJSON ¶ added in v0.3.0

func (dst *FindMetalGatewayById200Response) UnmarshalJSON(data []byte) error

Unmarshal JSON data into one of the pointers in the struct

type FindOrganizationDevicesCategoriesParameterInner ¶ added in v0.22.0

type FindOrganizationDevicesCategoriesParameterInner string

FindOrganizationDevicesCategoriesParameterInner the model 'FindOrganizationDevicesCategoriesParameterInner'

const (
	FINDORGANIZATIONDEVICESCATEGORIESPARAMETERINNER_COMPUTE     FindOrganizationDevicesCategoriesParameterInner = "compute"
	FINDORGANIZATIONDEVICESCATEGORIESPARAMETERINNER_STORAGE     FindOrganizationDevicesCategoriesParameterInner = "storage"
	FINDORGANIZATIONDEVICESCATEGORIESPARAMETERINNER_VMCE        FindOrganizationDevicesCategoriesParameterInner = "vmce"
	FINDORGANIZATIONDEVICESCATEGORIESPARAMETERINNER_LEGACY_GEN  FindOrganizationDevicesCategoriesParameterInner = "legacy_gen"
	FINDORGANIZATIONDEVICESCATEGORIESPARAMETERINNER_CURRENT_GEN FindOrganizationDevicesCategoriesParameterInner = "current_gen"
)

List of findOrganizationDevices_categories_parameter_inner

func NewFindOrganizationDevicesCategoriesParameterInnerFromValue ¶ added in v0.22.0

func NewFindOrganizationDevicesCategoriesParameterInnerFromValue(v string) (*FindOrganizationDevicesCategoriesParameterInner, error)

NewFindOrganizationDevicesCategoriesParameterInnerFromValue returns a pointer to a valid FindOrganizationDevicesCategoriesParameterInner for the value passed as argument, or an error if the value passed is not allowed by the enum

func (FindOrganizationDevicesCategoriesParameterInner) IsValid ¶ added in v0.22.0

IsValid return true if the value is valid for the enum, false otherwise

func (FindOrganizationDevicesCategoriesParameterInner) Ptr ¶ added in v0.22.0

Ptr returns reference to findOrganizationDevices_categories_parameter_inner value

func (*FindOrganizationDevicesCategoriesParameterInner) UnmarshalJSON ¶ added in v0.22.0

type FindOrganizationsPersonalParameter ¶ added in v0.22.0

type FindOrganizationsPersonalParameter string

FindOrganizationsPersonalParameter the model 'FindOrganizationsPersonalParameter'

const (
	FINDORGANIZATIONSPERSONALPARAMETER_INCLUDE FindOrganizationsPersonalParameter = "include"
	FINDORGANIZATIONSPERSONALPARAMETER_EXCLUDE FindOrganizationsPersonalParameter = "exclude"
	FINDORGANIZATIONSPERSONALPARAMETER_ONLY    FindOrganizationsPersonalParameter = "only"
)

List of findOrganizations_personal_parameter

func NewFindOrganizationsPersonalParameterFromValue ¶ added in v0.22.0

func NewFindOrganizationsPersonalParameterFromValue(v string) (*FindOrganizationsPersonalParameter, error)

NewFindOrganizationsPersonalParameterFromValue returns a pointer to a valid FindOrganizationsPersonalParameter for the value passed as argument, or an error if the value passed is not allowed by the enum

func (FindOrganizationsPersonalParameter) IsValid ¶ added in v0.22.0

IsValid return true if the value is valid for the enum, false otherwise

func (FindOrganizationsPersonalParameter) Ptr ¶ added in v0.22.0

Ptr returns reference to findOrganizations_personal_parameter value

func (*FindOrganizationsPersonalParameter) UnmarshalJSON ¶ added in v0.22.0

func (v *FindOrganizationsPersonalParameter) UnmarshalJSON(src []byte) error

type FindPlansTypeParameter ¶ added in v0.22.0

type FindPlansTypeParameter string

FindPlansTypeParameter the model 'FindPlansTypeParameter'

const (
	FINDPLANSTYPEPARAMETER_STANDARD           FindPlansTypeParameter = "standard"
	FINDPLANSTYPEPARAMETER_WORKLOAD_OPTIMIZED FindPlansTypeParameter = "workload_optimized"
	FINDPLANSTYPEPARAMETER_CUSTOM             FindPlansTypeParameter = "custom"
)

List of findPlans_type_parameter

func NewFindPlansTypeParameterFromValue ¶ added in v0.22.0

func NewFindPlansTypeParameterFromValue(v string) (*FindPlansTypeParameter, error)

NewFindPlansTypeParameterFromValue returns a pointer to a valid FindPlansTypeParameter for the value passed as argument, or an error if the value passed is not allowed by the enum

func (FindPlansTypeParameter) IsValid ¶ added in v0.22.0

func (v FindPlansTypeParameter) IsValid() bool

IsValid return true if the value is valid for the enum, false otherwise

func (FindPlansTypeParameter) Ptr ¶ added in v0.22.0

Ptr returns reference to findPlans_type_parameter value

func (*FindPlansTypeParameter) UnmarshalJSON ¶ added in v0.22.0

func (v *FindPlansTypeParameter) UnmarshalJSON(src []byte) error

type FindProjectHardwareReservationsProvisionableParameter ¶ added in v0.22.0

type FindProjectHardwareReservationsProvisionableParameter string

FindProjectHardwareReservationsProvisionableParameter the model 'FindProjectHardwareReservationsProvisionableParameter'

const (
	FINDPROJECTHARDWARERESERVATIONSPROVISIONABLEPARAMETER_ONLY FindProjectHardwareReservationsProvisionableParameter = "only"
)

List of findProjectHardwareReservations_provisionable_parameter

func NewFindProjectHardwareReservationsProvisionableParameterFromValue ¶ added in v0.22.0

func NewFindProjectHardwareReservationsProvisionableParameterFromValue(v string) (*FindProjectHardwareReservationsProvisionableParameter, error)

NewFindProjectHardwareReservationsProvisionableParameterFromValue returns a pointer to a valid FindProjectHardwareReservationsProvisionableParameter for the value passed as argument, or an error if the value passed is not allowed by the enum

func (FindProjectHardwareReservationsProvisionableParameter) IsValid ¶ added in v0.22.0

IsValid return true if the value is valid for the enum, false otherwise

func (FindProjectHardwareReservationsProvisionableParameter) Ptr ¶ added in v0.22.0

Ptr returns reference to findProjectHardwareReservations_provisionable_parameter value

func (*FindProjectHardwareReservationsProvisionableParameter) UnmarshalJSON ¶ added in v0.22.0

type FindProjectHardwareReservationsStateParameter ¶ added in v0.22.0

type FindProjectHardwareReservationsStateParameter string

FindProjectHardwareReservationsStateParameter the model 'FindProjectHardwareReservationsStateParameter'

const (
	FINDPROJECTHARDWARERESERVATIONSSTATEPARAMETER_ACTIVE          FindProjectHardwareReservationsStateParameter = "active"
	FINDPROJECTHARDWARERESERVATIONSSTATEPARAMETER_SPARE           FindProjectHardwareReservationsStateParameter = "spare"
	FINDPROJECTHARDWARERESERVATIONSSTATEPARAMETER_NEED_OF_SERVICE FindProjectHardwareReservationsStateParameter = "need_of_service"
)

List of findProjectHardwareReservations_state_parameter

func NewFindProjectHardwareReservationsStateParameterFromValue ¶ added in v0.22.0

func NewFindProjectHardwareReservationsStateParameterFromValue(v string) (*FindProjectHardwareReservationsStateParameter, error)

NewFindProjectHardwareReservationsStateParameterFromValue returns a pointer to a valid FindProjectHardwareReservationsStateParameter for the value passed as argument, or an error if the value passed is not allowed by the enum

func (FindProjectHardwareReservationsStateParameter) IsValid ¶ added in v0.22.0

IsValid return true if the value is valid for the enum, false otherwise

func (FindProjectHardwareReservationsStateParameter) Ptr ¶ added in v0.22.0

Ptr returns reference to findProjectHardwareReservations_state_parameter value

func (*FindProjectHardwareReservationsStateParameter) UnmarshalJSON ¶ added in v0.22.0

type FindTrafficBucketParameter ¶ added in v0.22.0

type FindTrafficBucketParameter string

FindTrafficBucketParameter the model 'FindTrafficBucketParameter'

const (
	FINDTRAFFICBUCKETPARAMETER_INTERNAL FindTrafficBucketParameter = "internal"
	FINDTRAFFICBUCKETPARAMETER_EXTERNAL FindTrafficBucketParameter = "external"
)

List of findTraffic_bucket_parameter

func NewFindTrafficBucketParameterFromValue ¶ added in v0.22.0

func NewFindTrafficBucketParameterFromValue(v string) (*FindTrafficBucketParameter, error)

NewFindTrafficBucketParameterFromValue returns a pointer to a valid FindTrafficBucketParameter for the value passed as argument, or an error if the value passed is not allowed by the enum

func (FindTrafficBucketParameter) IsValid ¶ added in v0.22.0

func (v FindTrafficBucketParameter) IsValid() bool

IsValid return true if the value is valid for the enum, false otherwise

func (FindTrafficBucketParameter) Ptr ¶ added in v0.22.0

Ptr returns reference to findTraffic_bucket_parameter value

func (*FindTrafficBucketParameter) UnmarshalJSON ¶ added in v0.22.0

func (v *FindTrafficBucketParameter) UnmarshalJSON(src []byte) error

type FindTrafficDirectionParameter ¶ added in v0.22.0

type FindTrafficDirectionParameter string

FindTrafficDirectionParameter the model 'FindTrafficDirectionParameter'

const (
	FINDTRAFFICDIRECTIONPARAMETER_INBOUND  FindTrafficDirectionParameter = "inbound"
	FINDTRAFFICDIRECTIONPARAMETER_OUTBOUND FindTrafficDirectionParameter = "outbound"
)

List of findTraffic_direction_parameter

func NewFindTrafficDirectionParameterFromValue ¶ added in v0.22.0

func NewFindTrafficDirectionParameterFromValue(v string) (*FindTrafficDirectionParameter, error)

NewFindTrafficDirectionParameterFromValue returns a pointer to a valid FindTrafficDirectionParameter for the value passed as argument, or an error if the value passed is not allowed by the enum

func (FindTrafficDirectionParameter) IsValid ¶ added in v0.22.0

func (v FindTrafficDirectionParameter) IsValid() bool

IsValid return true if the value is valid for the enum, false otherwise

func (FindTrafficDirectionParameter) Ptr ¶ added in v0.22.0

Ptr returns reference to findTraffic_direction_parameter value

func (*FindTrafficDirectionParameter) UnmarshalJSON ¶ added in v0.22.0

func (v *FindTrafficDirectionParameter) UnmarshalJSON(src []byte) error

type FindTrafficIntervalParameter ¶ added in v0.22.0

type FindTrafficIntervalParameter string

FindTrafficIntervalParameter the model 'FindTrafficIntervalParameter'

const (
	FINDTRAFFICINTERVALPARAMETER_MINUTE        FindTrafficIntervalParameter = "minute"
	FINDTRAFFICINTERVALPARAMETER_HOUR          FindTrafficIntervalParameter = "hour"
	FINDTRAFFICINTERVALPARAMETER_DAY           FindTrafficIntervalParameter = "day"
	FINDTRAFFICINTERVALPARAMETER_WEEK          FindTrafficIntervalParameter = "week"
	FINDTRAFFICINTERVALPARAMETER_MONTH         FindTrafficIntervalParameter = "month"
	FINDTRAFFICINTERVALPARAMETER_YEAR          FindTrafficIntervalParameter = "year"
	FINDTRAFFICINTERVALPARAMETER_HOUR_OF_DAY   FindTrafficIntervalParameter = "hour_of_day"
	FINDTRAFFICINTERVALPARAMETER_DAY_OF_WEEK   FindTrafficIntervalParameter = "day_of_week"
	FINDTRAFFICINTERVALPARAMETER_DAY_OF_MONTH  FindTrafficIntervalParameter = "day_of_month"
	FINDTRAFFICINTERVALPARAMETER_MONTH_OF_YEAR FindTrafficIntervalParameter = "month_of_year"
)

List of findTraffic_interval_parameter

func NewFindTrafficIntervalParameterFromValue ¶ added in v0.22.0

func NewFindTrafficIntervalParameterFromValue(v string) (*FindTrafficIntervalParameter, error)

NewFindTrafficIntervalParameterFromValue returns a pointer to a valid FindTrafficIntervalParameter for the value passed as argument, or an error if the value passed is not allowed by the enum

func (FindTrafficIntervalParameter) IsValid ¶ added in v0.22.0

func (v FindTrafficIntervalParameter) IsValid() bool

IsValid return true if the value is valid for the enum, false otherwise

func (FindTrafficIntervalParameter) Ptr ¶ added in v0.22.0

Ptr returns reference to findTraffic_interval_parameter value

func (*FindTrafficIntervalParameter) UnmarshalJSON ¶ added in v0.22.0

func (v *FindTrafficIntervalParameter) UnmarshalJSON(src []byte) error

type FindTrafficTimeframeParameter ¶ added in v0.3.0

type FindTrafficTimeframeParameter struct {
	EndedAt              time.Time `json:"ended_at"`
	StartedAt            time.Time `json:"started_at"`
	AdditionalProperties map[string]interface{}
}

FindTrafficTimeframeParameter struct for FindTrafficTimeframeParameter

func NewFindTrafficTimeframeParameter ¶ added in v0.3.0

func NewFindTrafficTimeframeParameter(endedAt time.Time, startedAt time.Time) *FindTrafficTimeframeParameter

NewFindTrafficTimeframeParameter instantiates a new FindTrafficTimeframeParameter object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewFindTrafficTimeframeParameterWithDefaults ¶ added in v0.3.0

func NewFindTrafficTimeframeParameterWithDefaults() *FindTrafficTimeframeParameter

NewFindTrafficTimeframeParameterWithDefaults instantiates a new FindTrafficTimeframeParameter object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*FindTrafficTimeframeParameter) GetEndedAt ¶ added in v0.3.0

func (o *FindTrafficTimeframeParameter) GetEndedAt() time.Time

GetEndedAt returns the EndedAt field value

func (*FindTrafficTimeframeParameter) GetEndedAtOk ¶ added in v0.3.0

func (o *FindTrafficTimeframeParameter) GetEndedAtOk() (*time.Time, bool)

GetEndedAtOk returns a tuple with the EndedAt field value and a boolean to check if the value has been set.

func (*FindTrafficTimeframeParameter) GetStartedAt ¶ added in v0.3.0

func (o *FindTrafficTimeframeParameter) GetStartedAt() time.Time

GetStartedAt returns the StartedAt field value

func (*FindTrafficTimeframeParameter) GetStartedAtOk ¶ added in v0.3.0

func (o *FindTrafficTimeframeParameter) GetStartedAtOk() (*time.Time, bool)

GetStartedAtOk returns a tuple with the StartedAt field value and a boolean to check if the value has been set.

func (FindTrafficTimeframeParameter) MarshalJSON ¶ added in v0.3.0

func (o FindTrafficTimeframeParameter) MarshalJSON() ([]byte, error)

func (*FindTrafficTimeframeParameter) SetEndedAt ¶ added in v0.3.0

func (o *FindTrafficTimeframeParameter) SetEndedAt(v time.Time)

SetEndedAt sets field value

func (*FindTrafficTimeframeParameter) SetStartedAt ¶ added in v0.3.0

func (o *FindTrafficTimeframeParameter) SetStartedAt(v time.Time)

SetStartedAt sets field value

func (FindTrafficTimeframeParameter) ToMap ¶ added in v0.4.0

func (o FindTrafficTimeframeParameter) ToMap() (map[string]interface{}, error)

func (*FindTrafficTimeframeParameter) UnmarshalJSON ¶ added in v0.7.0

func (o *FindTrafficTimeframeParameter) UnmarshalJSON(bytes []byte) (err error)

type FirmwareSet ¶ added in v0.21.0

type FirmwareSet struct {
	// Firmware Set UUID
	Uuid string `json:"uuid"`
	// Firmware Set Name
	Name string `json:"name"`
	// Datetime when the block was created.
	CreatedAt *time.Time `json:"created_at,omitempty"`
	// Datetime when the block was updated.
	UpdatedAt *time.Time `json:"updated_at,omitempty"`
	// Represents a list of attributes
	Attributes []Attribute `json:"attributes,omitempty"`
	// List of components versions
	ComponentFirmware    []Component `json:"component_firmware,omitempty"`
	AdditionalProperties map[string]interface{}
}

FirmwareSet Represents a Firmware Set

func NewFirmwareSet ¶ added in v0.21.0

func NewFirmwareSet(uuid string, name string) *FirmwareSet

NewFirmwareSet instantiates a new FirmwareSet object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewFirmwareSetWithDefaults ¶ added in v0.21.0

func NewFirmwareSetWithDefaults() *FirmwareSet

NewFirmwareSetWithDefaults instantiates a new FirmwareSet object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*FirmwareSet) GetAttributes ¶ added in v0.21.0

func (o *FirmwareSet) GetAttributes() []Attribute

GetAttributes returns the Attributes field value if set, zero value otherwise.

func (*FirmwareSet) GetAttributesOk ¶ added in v0.21.0

func (o *FirmwareSet) GetAttributesOk() ([]Attribute, bool)

GetAttributesOk returns a tuple with the Attributes field value if set, nil otherwise and a boolean to check if the value has been set.

func (*FirmwareSet) GetComponentFirmware ¶ added in v0.21.0

func (o *FirmwareSet) GetComponentFirmware() []Component

GetComponentFirmware returns the ComponentFirmware field value if set, zero value otherwise.

func (*FirmwareSet) GetComponentFirmwareOk ¶ added in v0.21.0

func (o *FirmwareSet) GetComponentFirmwareOk() ([]Component, bool)

GetComponentFirmwareOk returns a tuple with the ComponentFirmware field value if set, nil otherwise and a boolean to check if the value has been set.

func (*FirmwareSet) GetCreatedAt ¶ added in v0.21.0

func (o *FirmwareSet) GetCreatedAt() time.Time

GetCreatedAt returns the CreatedAt field value if set, zero value otherwise.

func (*FirmwareSet) GetCreatedAtOk ¶ added in v0.21.0

func (o *FirmwareSet) GetCreatedAtOk() (*time.Time, bool)

GetCreatedAtOk returns a tuple with the CreatedAt field value if set, nil otherwise and a boolean to check if the value has been set.

func (*FirmwareSet) GetName ¶ added in v0.21.0

func (o *FirmwareSet) GetName() string

GetName returns the Name field value

func (*FirmwareSet) GetNameOk ¶ added in v0.21.0

func (o *FirmwareSet) GetNameOk() (*string, bool)

GetNameOk returns a tuple with the Name field value and a boolean to check if the value has been set.

func (*FirmwareSet) GetUpdatedAt ¶ added in v0.21.0

func (o *FirmwareSet) GetUpdatedAt() time.Time

GetUpdatedAt returns the UpdatedAt field value if set, zero value otherwise.

func (*FirmwareSet) GetUpdatedAtOk ¶ added in v0.21.0

func (o *FirmwareSet) GetUpdatedAtOk() (*time.Time, bool)

GetUpdatedAtOk returns a tuple with the UpdatedAt field value if set, nil otherwise and a boolean to check if the value has been set.

func (*FirmwareSet) GetUuid ¶ added in v0.21.0

func (o *FirmwareSet) GetUuid() string

GetUuid returns the Uuid field value

func (*FirmwareSet) GetUuidOk ¶ added in v0.21.0

func (o *FirmwareSet) GetUuidOk() (*string, bool)

GetUuidOk returns a tuple with the Uuid field value and a boolean to check if the value has been set.

func (*FirmwareSet) HasAttributes ¶ added in v0.21.0

func (o *FirmwareSet) HasAttributes() bool

HasAttributes returns a boolean if a field has been set.

func (*FirmwareSet) HasComponentFirmware ¶ added in v0.21.0

func (o *FirmwareSet) HasComponentFirmware() bool

HasComponentFirmware returns a boolean if a field has been set.

func (*FirmwareSet) HasCreatedAt ¶ added in v0.21.0

func (o *FirmwareSet) HasCreatedAt() bool

HasCreatedAt returns a boolean if a field has been set.

func (*FirmwareSet) HasUpdatedAt ¶ added in v0.21.0

func (o *FirmwareSet) HasUpdatedAt() bool

HasUpdatedAt returns a boolean if a field has been set.

func (FirmwareSet) MarshalJSON ¶ added in v0.21.0

func (o FirmwareSet) MarshalJSON() ([]byte, error)

func (*FirmwareSet) SetAttributes ¶ added in v0.21.0

func (o *FirmwareSet) SetAttributes(v []Attribute)

SetAttributes gets a reference to the given []Attribute and assigns it to the Attributes field.

func (*FirmwareSet) SetComponentFirmware ¶ added in v0.21.0

func (o *FirmwareSet) SetComponentFirmware(v []Component)

SetComponentFirmware gets a reference to the given []Component and assigns it to the ComponentFirmware field.

func (*FirmwareSet) SetCreatedAt ¶ added in v0.21.0

func (o *FirmwareSet) SetCreatedAt(v time.Time)

SetCreatedAt gets a reference to the given time.Time and assigns it to the CreatedAt field.

func (*FirmwareSet) SetName ¶ added in v0.21.0

func (o *FirmwareSet) SetName(v string)

SetName sets field value

func (*FirmwareSet) SetUpdatedAt ¶ added in v0.21.0

func (o *FirmwareSet) SetUpdatedAt(v time.Time)

SetUpdatedAt gets a reference to the given time.Time and assigns it to the UpdatedAt field.

func (*FirmwareSet) SetUuid ¶ added in v0.21.0

func (o *FirmwareSet) SetUuid(v string)

SetUuid sets field value

func (FirmwareSet) ToMap ¶ added in v0.21.0

func (o FirmwareSet) ToMap() (map[string]interface{}, error)

func (*FirmwareSet) UnmarshalJSON ¶ added in v0.21.0

func (o *FirmwareSet) UnmarshalJSON(bytes []byte) (err error)

type FirmwareSetListResponse ¶ added in v0.21.0

type FirmwareSetListResponse struct {
	// Max number of items returned in a page
	PageSize *int32 `json:"page_size,omitempty"`
	// Page returned
	Page *int32 `json:"page,omitempty"`
	// Items returned in current page
	PageCount *int32 `json:"page_count,omitempty"`
	// Total count of pages
	TotalPages *int32 `json:"total_pages,omitempty"`
	// Total count of items
	TotalRecordCount *int32 `json:"total_record_count,omitempty"`
	// Represents a list of FirmwareSets
	Records              []FirmwareSet `json:"records,omitempty"`
	AdditionalProperties map[string]interface{}
}

FirmwareSetListResponse Represents collection of Firmware Sets

func NewFirmwareSetListResponse ¶ added in v0.21.0

func NewFirmwareSetListResponse() *FirmwareSetListResponse

NewFirmwareSetListResponse instantiates a new FirmwareSetListResponse object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewFirmwareSetListResponseWithDefaults ¶ added in v0.21.0

func NewFirmwareSetListResponseWithDefaults() *FirmwareSetListResponse

NewFirmwareSetListResponseWithDefaults instantiates a new FirmwareSetListResponse object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*FirmwareSetListResponse) GetPage ¶ added in v0.21.0

func (o *FirmwareSetListResponse) GetPage() int32

GetPage returns the Page field value if set, zero value otherwise.

func (*FirmwareSetListResponse) GetPageCount ¶ added in v0.21.0

func (o *FirmwareSetListResponse) GetPageCount() int32

GetPageCount returns the PageCount field value if set, zero value otherwise.

func (*FirmwareSetListResponse) GetPageCountOk ¶ added in v0.21.0

func (o *FirmwareSetListResponse) GetPageCountOk() (*int32, bool)

GetPageCountOk returns a tuple with the PageCount field value if set, nil otherwise and a boolean to check if the value has been set.

func (*FirmwareSetListResponse) GetPageOk ¶ added in v0.21.0

func (o *FirmwareSetListResponse) GetPageOk() (*int32, bool)

GetPageOk returns a tuple with the Page field value if set, nil otherwise and a boolean to check if the value has been set.

func (*FirmwareSetListResponse) GetPageSize ¶ added in v0.21.0

func (o *FirmwareSetListResponse) GetPageSize() int32

GetPageSize returns the PageSize field value if set, zero value otherwise.

func (*FirmwareSetListResponse) GetPageSizeOk ¶ added in v0.21.0

func (o *FirmwareSetListResponse) GetPageSizeOk() (*int32, bool)

GetPageSizeOk returns a tuple with the PageSize field value if set, nil otherwise and a boolean to check if the value has been set.

func (*FirmwareSetListResponse) GetRecords ¶ added in v0.21.0

func (o *FirmwareSetListResponse) GetRecords() []FirmwareSet

GetRecords returns the Records field value if set, zero value otherwise.

func (*FirmwareSetListResponse) GetRecordsOk ¶ added in v0.21.0

func (o *FirmwareSetListResponse) GetRecordsOk() ([]FirmwareSet, bool)

GetRecordsOk returns a tuple with the Records field value if set, nil otherwise and a boolean to check if the value has been set.

func (*FirmwareSetListResponse) GetTotalPages ¶ added in v0.21.0

func (o *FirmwareSetListResponse) GetTotalPages() int32

GetTotalPages returns the TotalPages field value if set, zero value otherwise.

func (*FirmwareSetListResponse) GetTotalPagesOk ¶ added in v0.21.0

func (o *FirmwareSetListResponse) GetTotalPagesOk() (*int32, bool)

GetTotalPagesOk returns a tuple with the TotalPages field value if set, nil otherwise and a boolean to check if the value has been set.

func (*FirmwareSetListResponse) GetTotalRecordCount ¶ added in v0.21.0

func (o *FirmwareSetListResponse) GetTotalRecordCount() int32

GetTotalRecordCount returns the TotalRecordCount field value if set, zero value otherwise.

func (*FirmwareSetListResponse) GetTotalRecordCountOk ¶ added in v0.21.0

func (o *FirmwareSetListResponse) GetTotalRecordCountOk() (*int32, bool)

GetTotalRecordCountOk returns a tuple with the TotalRecordCount field value if set, nil otherwise and a boolean to check if the value has been set.

func (*FirmwareSetListResponse) HasPage ¶ added in v0.21.0

func (o *FirmwareSetListResponse) HasPage() bool

HasPage returns a boolean if a field has been set.

func (*FirmwareSetListResponse) HasPageCount ¶ added in v0.21.0

func (o *FirmwareSetListResponse) HasPageCount() bool

HasPageCount returns a boolean if a field has been set.

func (*FirmwareSetListResponse) HasPageSize ¶ added in v0.21.0

func (o *FirmwareSetListResponse) HasPageSize() bool

HasPageSize returns a boolean if a field has been set.

func (*FirmwareSetListResponse) HasRecords ¶ added in v0.21.0

func (o *FirmwareSetListResponse) HasRecords() bool

HasRecords returns a boolean if a field has been set.

func (*FirmwareSetListResponse) HasTotalPages ¶ added in v0.21.0

func (o *FirmwareSetListResponse) HasTotalPages() bool

HasTotalPages returns a boolean if a field has been set.

func (*FirmwareSetListResponse) HasTotalRecordCount ¶ added in v0.21.0

func (o *FirmwareSetListResponse) HasTotalRecordCount() bool

HasTotalRecordCount returns a boolean if a field has been set.

func (FirmwareSetListResponse) MarshalJSON ¶ added in v0.21.0

func (o FirmwareSetListResponse) MarshalJSON() ([]byte, error)

func (*FirmwareSetListResponse) SetPage ¶ added in v0.21.0

func (o *FirmwareSetListResponse) SetPage(v int32)

SetPage gets a reference to the given int32 and assigns it to the Page field.

func (*FirmwareSetListResponse) SetPageCount ¶ added in v0.21.0

func (o *FirmwareSetListResponse) SetPageCount(v int32)

SetPageCount gets a reference to the given int32 and assigns it to the PageCount field.

func (*FirmwareSetListResponse) SetPageSize ¶ added in v0.21.0

func (o *FirmwareSetListResponse) SetPageSize(v int32)

SetPageSize gets a reference to the given int32 and assigns it to the PageSize field.

func (*FirmwareSetListResponse) SetRecords ¶ added in v0.21.0

func (o *FirmwareSetListResponse) SetRecords(v []FirmwareSet)

SetRecords gets a reference to the given []FirmwareSet and assigns it to the Records field.

func (*FirmwareSetListResponse) SetTotalPages ¶ added in v0.21.0

func (o *FirmwareSetListResponse) SetTotalPages(v int32)

SetTotalPages gets a reference to the given int32 and assigns it to the TotalPages field.

func (*FirmwareSetListResponse) SetTotalRecordCount ¶ added in v0.21.0

func (o *FirmwareSetListResponse) SetTotalRecordCount(v int32)

SetTotalRecordCount gets a reference to the given int32 and assigns it to the TotalRecordCount field.

func (FirmwareSetListResponse) ToMap ¶ added in v0.21.0

func (o FirmwareSetListResponse) ToMap() (map[string]interface{}, error)

func (*FirmwareSetListResponse) UnmarshalJSON ¶ added in v0.21.0

func (o *FirmwareSetListResponse) UnmarshalJSON(bytes []byte) (err error)

type FirmwareSetResponse ¶ added in v0.21.0

type FirmwareSetResponse struct {
	Record               *FirmwareSet `json:"record,omitempty"`
	AdditionalProperties map[string]interface{}
}

FirmwareSetResponse Represents single Firmware set response

func NewFirmwareSetResponse ¶ added in v0.21.0

func NewFirmwareSetResponse() *FirmwareSetResponse

NewFirmwareSetResponse instantiates a new FirmwareSetResponse object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewFirmwareSetResponseWithDefaults ¶ added in v0.21.0

func NewFirmwareSetResponseWithDefaults() *FirmwareSetResponse

NewFirmwareSetResponseWithDefaults instantiates a new FirmwareSetResponse object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*FirmwareSetResponse) GetRecord ¶ added in v0.21.0

func (o *FirmwareSetResponse) GetRecord() FirmwareSet

GetRecord returns the Record field value if set, zero value otherwise.

func (*FirmwareSetResponse) GetRecordOk ¶ added in v0.21.0

func (o *FirmwareSetResponse) GetRecordOk() (*FirmwareSet, bool)

GetRecordOk returns a tuple with the Record field value if set, nil otherwise and a boolean to check if the value has been set.

func (*FirmwareSetResponse) HasRecord ¶ added in v0.21.0

func (o *FirmwareSetResponse) HasRecord() bool

HasRecord returns a boolean if a field has been set.

func (FirmwareSetResponse) MarshalJSON ¶ added in v0.21.0

func (o FirmwareSetResponse) MarshalJSON() ([]byte, error)

func (*FirmwareSetResponse) SetRecord ¶ added in v0.21.0

func (o *FirmwareSetResponse) SetRecord(v FirmwareSet)

SetRecord gets a reference to the given FirmwareSet and assigns it to the Record field.

func (FirmwareSetResponse) ToMap ¶ added in v0.21.0

func (o FirmwareSetResponse) ToMap() (map[string]interface{}, error)

func (*FirmwareSetResponse) UnmarshalJSON ¶ added in v0.21.0

func (o *FirmwareSetResponse) UnmarshalJSON(bytes []byte) (err error)

type FirmwareSetsApiService ¶ added in v0.21.0

type FirmwareSetsApiService service

FirmwareSetsApiService FirmwareSetsApi service

func (*FirmwareSetsApiService) GetOrganizationFirmwareSets ¶ added in v0.21.0

func (a *FirmwareSetsApiService) GetOrganizationFirmwareSets(ctx context.Context, id string) ApiGetOrganizationFirmwareSetsRequest

GetOrganizationFirmwareSets Get Organization's Firmware Sets

Returns all firmware sets associated with the organization.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param id Organization UUID
@return ApiGetOrganizationFirmwareSetsRequest

func (*FirmwareSetsApiService) GetOrganizationFirmwareSetsExecute ¶ added in v0.21.0

Execute executes the request

@return FirmwareSetListResponse

func (*FirmwareSetsApiService) GetProjectFirmwareSets ¶ added in v0.21.0

GetProjectFirmwareSets Get Project's Firmware Sets

Returns all firmware sets associated with the project or organization.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param id Project UUID
@return ApiGetProjectFirmwareSetsRequest

func (*FirmwareSetsApiService) GetProjectFirmwareSetsExecute ¶ added in v0.21.0

Execute executes the request

@return FirmwareSetListResponse

type GenericOpenAPIError ¶

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

GenericOpenAPIError Provides access to the body, error and model on returned errors.

func (GenericOpenAPIError) Body ¶

func (e GenericOpenAPIError) Body() []byte

Body returns the raw bytes of the response

func (GenericOpenAPIError) Error ¶

func (e GenericOpenAPIError) Error() string

Error returns non-empty string if there was an error.

func (GenericOpenAPIError) Model ¶

func (e GenericOpenAPIError) Model() interface{}

Model returns the unpacked model of the error

type GlobalBgpRange ¶

type GlobalBgpRange struct {
	AddressFamily        *int32  `json:"address_family,omitempty"`
	Href                 *string `json:"href,omitempty"`
	Id                   *string `json:"id,omitempty"`
	Project              *Href   `json:"project,omitempty"`
	Range                *string `json:"range,omitempty"`
	AdditionalProperties map[string]interface{}
}

GlobalBgpRange struct for GlobalBgpRange

func NewGlobalBgpRange ¶

func NewGlobalBgpRange() *GlobalBgpRange

NewGlobalBgpRange instantiates a new GlobalBgpRange object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewGlobalBgpRangeWithDefaults ¶

func NewGlobalBgpRangeWithDefaults() *GlobalBgpRange

NewGlobalBgpRangeWithDefaults instantiates a new GlobalBgpRange object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*GlobalBgpRange) GetAddressFamily ¶

func (o *GlobalBgpRange) GetAddressFamily() int32

GetAddressFamily returns the AddressFamily field value if set, zero value otherwise.

func (*GlobalBgpRange) GetAddressFamilyOk ¶

func (o *GlobalBgpRange) GetAddressFamilyOk() (*int32, bool)

GetAddressFamilyOk returns a tuple with the AddressFamily field value if set, nil otherwise and a boolean to check if the value has been set.

func (*GlobalBgpRange) GetHref ¶

func (o *GlobalBgpRange) GetHref() string

GetHref returns the Href field value if set, zero value otherwise.

func (*GlobalBgpRange) GetHrefOk ¶

func (o *GlobalBgpRange) GetHrefOk() (*string, bool)

GetHrefOk returns a tuple with the Href field value if set, nil otherwise and a boolean to check if the value has been set.

func (*GlobalBgpRange) GetId ¶

func (o *GlobalBgpRange) GetId() string

GetId returns the Id field value if set, zero value otherwise.

func (*GlobalBgpRange) GetIdOk ¶

func (o *GlobalBgpRange) GetIdOk() (*string, bool)

GetIdOk returns a tuple with the Id field value if set, nil otherwise and a boolean to check if the value has been set.

func (*GlobalBgpRange) GetProject ¶

func (o *GlobalBgpRange) GetProject() Href

GetProject returns the Project field value if set, zero value otherwise.

func (*GlobalBgpRange) GetProjectOk ¶

func (o *GlobalBgpRange) GetProjectOk() (*Href, bool)

GetProjectOk returns a tuple with the Project field value if set, nil otherwise and a boolean to check if the value has been set.

func (*GlobalBgpRange) GetRange ¶

func (o *GlobalBgpRange) GetRange() string

GetRange returns the Range field value if set, zero value otherwise.

func (*GlobalBgpRange) GetRangeOk ¶

func (o *GlobalBgpRange) GetRangeOk() (*string, bool)

GetRangeOk returns a tuple with the Range field value if set, nil otherwise and a boolean to check if the value has been set.

func (*GlobalBgpRange) HasAddressFamily ¶

func (o *GlobalBgpRange) HasAddressFamily() bool

HasAddressFamily returns a boolean if a field has been set.

func (*GlobalBgpRange) HasHref ¶

func (o *GlobalBgpRange) HasHref() bool

HasHref returns a boolean if a field has been set.

func (*GlobalBgpRange) HasId ¶

func (o *GlobalBgpRange) HasId() bool

HasId returns a boolean if a field has been set.

func (*GlobalBgpRange) HasProject ¶

func (o *GlobalBgpRange) HasProject() bool

HasProject returns a boolean if a field has been set.

func (*GlobalBgpRange) HasRange ¶

func (o *GlobalBgpRange) HasRange() bool

HasRange returns a boolean if a field has been set.

func (GlobalBgpRange) MarshalJSON ¶

func (o GlobalBgpRange) MarshalJSON() ([]byte, error)

func (*GlobalBgpRange) SetAddressFamily ¶

func (o *GlobalBgpRange) SetAddressFamily(v int32)

SetAddressFamily gets a reference to the given int32 and assigns it to the AddressFamily field.

func (*GlobalBgpRange) SetHref ¶

func (o *GlobalBgpRange) SetHref(v string)

SetHref gets a reference to the given string and assigns it to the Href field.

func (*GlobalBgpRange) SetId ¶

func (o *GlobalBgpRange) SetId(v string)

SetId gets a reference to the given string and assigns it to the Id field.

func (*GlobalBgpRange) SetProject ¶

func (o *GlobalBgpRange) SetProject(v Href)

SetProject gets a reference to the given Href and assigns it to the Project field.

func (*GlobalBgpRange) SetRange ¶

func (o *GlobalBgpRange) SetRange(v string)

SetRange gets a reference to the given string and assigns it to the Range field.

func (GlobalBgpRange) ToMap ¶ added in v0.4.0

func (o GlobalBgpRange) ToMap() (map[string]interface{}, error)

func (*GlobalBgpRange) UnmarshalJSON ¶ added in v0.7.0

func (o *GlobalBgpRange) UnmarshalJSON(bytes []byte) (err error)

type GlobalBgpRangeList ¶

type GlobalBgpRangeList struct {
	GlobalBgpRanges      []GlobalBgpRange `json:"global_bgp_ranges,omitempty"`
	AdditionalProperties map[string]interface{}
}

GlobalBgpRangeList struct for GlobalBgpRangeList

func NewGlobalBgpRangeList ¶

func NewGlobalBgpRangeList() *GlobalBgpRangeList

NewGlobalBgpRangeList instantiates a new GlobalBgpRangeList object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewGlobalBgpRangeListWithDefaults ¶

func NewGlobalBgpRangeListWithDefaults() *GlobalBgpRangeList

NewGlobalBgpRangeListWithDefaults instantiates a new GlobalBgpRangeList object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*GlobalBgpRangeList) GetGlobalBgpRanges ¶

func (o *GlobalBgpRangeList) GetGlobalBgpRanges() []GlobalBgpRange

GetGlobalBgpRanges returns the GlobalBgpRanges field value if set, zero value otherwise.

func (*GlobalBgpRangeList) GetGlobalBgpRangesOk ¶

func (o *GlobalBgpRangeList) GetGlobalBgpRangesOk() ([]GlobalBgpRange, bool)

GetGlobalBgpRangesOk returns a tuple with the GlobalBgpRanges field value if set, nil otherwise and a boolean to check if the value has been set.

func (*GlobalBgpRangeList) HasGlobalBgpRanges ¶

func (o *GlobalBgpRangeList) HasGlobalBgpRanges() bool

HasGlobalBgpRanges returns a boolean if a field has been set.

func (GlobalBgpRangeList) MarshalJSON ¶

func (o GlobalBgpRangeList) MarshalJSON() ([]byte, error)

func (*GlobalBgpRangeList) SetGlobalBgpRanges ¶

func (o *GlobalBgpRangeList) SetGlobalBgpRanges(v []GlobalBgpRange)

SetGlobalBgpRanges gets a reference to the given []GlobalBgpRange and assigns it to the GlobalBgpRanges field.

func (GlobalBgpRangeList) ToMap ¶ added in v0.4.0

func (o GlobalBgpRangeList) ToMap() (map[string]interface{}, error)

func (*GlobalBgpRangeList) UnmarshalJSON ¶ added in v0.7.0

func (o *GlobalBgpRangeList) UnmarshalJSON(bytes []byte) (err error)

type HardwareReservation ¶

type HardwareReservation struct {
	CreatedAt *time.Time `json:"created_at,omitempty"`
	// Amount that will be charged for every billing_cycle.
	CustomRate *float32  `json:"custom_rate,omitempty"`
	Device     *Device   `json:"device,omitempty"`
	Facility   *Facility `json:"facility,omitempty"`
	Href       *string   `json:"href,omitempty"`
	Id         *string   `json:"id,omitempty"`
	// Whether this Device requires assistance from Equinix Metal.
	NeedOfService *bool    `json:"need_of_service,omitempty"`
	Plan          *Plan    `json:"plan,omitempty"`
	Project       *Project `json:"project,omitempty"`
	// Whether the reserved server is provisionable or not. Spare devices can't be provisioned unless they are activated first.
	Provisionable *bool `json:"provisionable,omitempty"`
	// Short version of the ID.
	ShortId *string `json:"short_id,omitempty"`
	// Whether the Hardware Reservation is a spare. Spare Hardware Reservations are used when a Hardware Reservations requires service from Equinix Metal
	Spare *bool `json:"spare,omitempty"`
	// Switch short id. This can be used to determine if two devices are connected to the same switch, for example.
	SwitchUuid *string `json:"switch_uuid,omitempty"`
	// Expiration date for the reservation.
	TerminationTime      *time.Time `json:"termination_time,omitempty"`
	AdditionalProperties map[string]interface{}
}

HardwareReservation struct for HardwareReservation

func NewHardwareReservation ¶

func NewHardwareReservation() *HardwareReservation

NewHardwareReservation instantiates a new HardwareReservation object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewHardwareReservationWithDefaults ¶

func NewHardwareReservationWithDefaults() *HardwareReservation

NewHardwareReservationWithDefaults instantiates a new HardwareReservation object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*HardwareReservation) GetCreatedAt ¶

func (o *HardwareReservation) GetCreatedAt() time.Time

GetCreatedAt returns the CreatedAt field value if set, zero value otherwise.

func (*HardwareReservation) GetCreatedAtOk ¶

func (o *HardwareReservation) GetCreatedAtOk() (*time.Time, bool)

GetCreatedAtOk returns a tuple with the CreatedAt field value if set, nil otherwise and a boolean to check if the value has been set.

func (*HardwareReservation) GetCustomRate ¶

func (o *HardwareReservation) GetCustomRate() float32

GetCustomRate returns the CustomRate field value if set, zero value otherwise.

func (*HardwareReservation) GetCustomRateOk ¶

func (o *HardwareReservation) GetCustomRateOk() (*float32, bool)

GetCustomRateOk returns a tuple with the CustomRate field value if set, nil otherwise and a boolean to check if the value has been set.

func (*HardwareReservation) GetDevice ¶

func (o *HardwareReservation) GetDevice() Device

GetDevice returns the Device field value if set, zero value otherwise.

func (*HardwareReservation) GetDeviceOk ¶

func (o *HardwareReservation) GetDeviceOk() (*Device, bool)

GetDeviceOk returns a tuple with the Device field value if set, nil otherwise and a boolean to check if the value has been set.

func (*HardwareReservation) GetFacility ¶

func (o *HardwareReservation) GetFacility() Facility

GetFacility returns the Facility field value if set, zero value otherwise.

func (*HardwareReservation) GetFacilityOk ¶

func (o *HardwareReservation) GetFacilityOk() (*Facility, bool)

GetFacilityOk returns a tuple with the Facility field value if set, nil otherwise and a boolean to check if the value has been set.

func (*HardwareReservation) GetHref ¶

func (o *HardwareReservation) GetHref() string

GetHref returns the Href field value if set, zero value otherwise.

func (*HardwareReservation) GetHrefOk ¶

func (o *HardwareReservation) GetHrefOk() (*string, bool)

GetHrefOk returns a tuple with the Href field value if set, nil otherwise and a boolean to check if the value has been set.

func (*HardwareReservation) GetId ¶

func (o *HardwareReservation) GetId() string

GetId returns the Id field value if set, zero value otherwise.

func (*HardwareReservation) GetIdOk ¶

func (o *HardwareReservation) GetIdOk() (*string, bool)

GetIdOk returns a tuple with the Id field value if set, nil otherwise and a boolean to check if the value has been set.

func (*HardwareReservation) GetNeedOfService ¶

func (o *HardwareReservation) GetNeedOfService() bool

GetNeedOfService returns the NeedOfService field value if set, zero value otherwise.

func (*HardwareReservation) GetNeedOfServiceOk ¶

func (o *HardwareReservation) GetNeedOfServiceOk() (*bool, bool)

GetNeedOfServiceOk returns a tuple with the NeedOfService field value if set, nil otherwise and a boolean to check if the value has been set.

func (*HardwareReservation) GetPlan ¶

func (o *HardwareReservation) GetPlan() Plan

GetPlan returns the Plan field value if set, zero value otherwise.

func (*HardwareReservation) GetPlanOk ¶

func (o *HardwareReservation) GetPlanOk() (*Plan, bool)

GetPlanOk returns a tuple with the Plan field value if set, nil otherwise and a boolean to check if the value has been set.

func (*HardwareReservation) GetProject ¶

func (o *HardwareReservation) GetProject() Project

GetProject returns the Project field value if set, zero value otherwise.

func (*HardwareReservation) GetProjectOk ¶

func (o *HardwareReservation) GetProjectOk() (*Project, bool)

GetProjectOk returns a tuple with the Project field value if set, nil otherwise and a boolean to check if the value has been set.

func (*HardwareReservation) GetProvisionable ¶

func (o *HardwareReservation) GetProvisionable() bool

GetProvisionable returns the Provisionable field value if set, zero value otherwise.

func (*HardwareReservation) GetProvisionableOk ¶

func (o *HardwareReservation) GetProvisionableOk() (*bool, bool)

GetProvisionableOk returns a tuple with the Provisionable field value if set, nil otherwise and a boolean to check if the value has been set.

func (*HardwareReservation) GetShortId ¶

func (o *HardwareReservation) GetShortId() string

GetShortId returns the ShortId field value if set, zero value otherwise.

func (*HardwareReservation) GetShortIdOk ¶

func (o *HardwareReservation) GetShortIdOk() (*string, bool)

GetShortIdOk returns a tuple with the ShortId field value if set, nil otherwise and a boolean to check if the value has been set.

func (*HardwareReservation) GetSpare ¶

func (o *HardwareReservation) GetSpare() bool

GetSpare returns the Spare field value if set, zero value otherwise.

func (*HardwareReservation) GetSpareOk ¶

func (o *HardwareReservation) GetSpareOk() (*bool, bool)

GetSpareOk returns a tuple with the Spare field value if set, nil otherwise and a boolean to check if the value has been set.

func (*HardwareReservation) GetSwitchUuid ¶

func (o *HardwareReservation) GetSwitchUuid() string

GetSwitchUuid returns the SwitchUuid field value if set, zero value otherwise.

func (*HardwareReservation) GetSwitchUuidOk ¶

func (o *HardwareReservation) GetSwitchUuidOk() (*string, bool)

GetSwitchUuidOk returns a tuple with the SwitchUuid field value if set, nil otherwise and a boolean to check if the value has been set.

func (*HardwareReservation) GetTerminationTime ¶ added in v0.6.0

func (o *HardwareReservation) GetTerminationTime() time.Time

GetTerminationTime returns the TerminationTime field value if set, zero value otherwise.

func (*HardwareReservation) GetTerminationTimeOk ¶ added in v0.6.0

func (o *HardwareReservation) GetTerminationTimeOk() (*time.Time, bool)

GetTerminationTimeOk returns a tuple with the TerminationTime field value if set, nil otherwise and a boolean to check if the value has been set.

func (*HardwareReservation) HasCreatedAt ¶

func (o *HardwareReservation) HasCreatedAt() bool

HasCreatedAt returns a boolean if a field has been set.

func (*HardwareReservation) HasCustomRate ¶

func (o *HardwareReservation) HasCustomRate() bool

HasCustomRate returns a boolean if a field has been set.

func (*HardwareReservation) HasDevice ¶

func (o *HardwareReservation) HasDevice() bool

HasDevice returns a boolean if a field has been set.

func (*HardwareReservation) HasFacility ¶

func (o *HardwareReservation) HasFacility() bool

HasFacility returns a boolean if a field has been set.

func (*HardwareReservation) HasHref ¶

func (o *HardwareReservation) HasHref() bool

HasHref returns a boolean if a field has been set.

func (*HardwareReservation) HasId ¶

func (o *HardwareReservation) HasId() bool

HasId returns a boolean if a field has been set.

func (*HardwareReservation) HasNeedOfService ¶

func (o *HardwareReservation) HasNeedOfService() bool

HasNeedOfService returns a boolean if a field has been set.

func (*HardwareReservation) HasPlan ¶

func (o *HardwareReservation) HasPlan() bool

HasPlan returns a boolean if a field has been set.

func (*HardwareReservation) HasProject ¶

func (o *HardwareReservation) HasProject() bool

HasProject returns a boolean if a field has been set.

func (*HardwareReservation) HasProvisionable ¶

func (o *HardwareReservation) HasProvisionable() bool

HasProvisionable returns a boolean if a field has been set.

func (*HardwareReservation) HasShortId ¶

func (o *HardwareReservation) HasShortId() bool

HasShortId returns a boolean if a field has been set.

func (*HardwareReservation) HasSpare ¶

func (o *HardwareReservation) HasSpare() bool

HasSpare returns a boolean if a field has been set.

func (*HardwareReservation) HasSwitchUuid ¶

func (o *HardwareReservation) HasSwitchUuid() bool

HasSwitchUuid returns a boolean if a field has been set.

func (*HardwareReservation) HasTerminationTime ¶ added in v0.6.0

func (o *HardwareReservation) HasTerminationTime() bool

HasTerminationTime returns a boolean if a field has been set.

func (HardwareReservation) MarshalJSON ¶

func (o HardwareReservation) MarshalJSON() ([]byte, error)

func (*HardwareReservation) SetCreatedAt ¶

func (o *HardwareReservation) SetCreatedAt(v time.Time)

SetCreatedAt gets a reference to the given time.Time and assigns it to the CreatedAt field.

func (*HardwareReservation) SetCustomRate ¶

func (o *HardwareReservation) SetCustomRate(v float32)

SetCustomRate gets a reference to the given float32 and assigns it to the CustomRate field.

func (*HardwareReservation) SetDevice ¶

func (o *HardwareReservation) SetDevice(v Device)

SetDevice gets a reference to the given Device and assigns it to the Device field.

func (*HardwareReservation) SetFacility ¶

func (o *HardwareReservation) SetFacility(v Facility)

SetFacility gets a reference to the given Facility and assigns it to the Facility field.

func (*HardwareReservation) SetHref ¶

func (o *HardwareReservation) SetHref(v string)

SetHref gets a reference to the given string and assigns it to the Href field.

func (*HardwareReservation) SetId ¶

func (o *HardwareReservation) SetId(v string)

SetId gets a reference to the given string and assigns it to the Id field.

func (*HardwareReservation) SetNeedOfService ¶

func (o *HardwareReservation) SetNeedOfService(v bool)

SetNeedOfService gets a reference to the given bool and assigns it to the NeedOfService field.

func (*HardwareReservation) SetPlan ¶

func (o *HardwareReservation) SetPlan(v Plan)

SetPlan gets a reference to the given Plan and assigns it to the Plan field.

func (*HardwareReservation) SetProject ¶

func (o *HardwareReservation) SetProject(v Project)

SetProject gets a reference to the given Project and assigns it to the Project field.

func (*HardwareReservation) SetProvisionable ¶

func (o *HardwareReservation) SetProvisionable(v bool)

SetProvisionable gets a reference to the given bool and assigns it to the Provisionable field.

func (*HardwareReservation) SetShortId ¶

func (o *HardwareReservation) SetShortId(v string)

SetShortId gets a reference to the given string and assigns it to the ShortId field.

func (*HardwareReservation) SetSpare ¶

func (o *HardwareReservation) SetSpare(v bool)

SetSpare gets a reference to the given bool and assigns it to the Spare field.

func (*HardwareReservation) SetSwitchUuid ¶

func (o *HardwareReservation) SetSwitchUuid(v string)

SetSwitchUuid gets a reference to the given string and assigns it to the SwitchUuid field.

func (*HardwareReservation) SetTerminationTime ¶ added in v0.6.0

func (o *HardwareReservation) SetTerminationTime(v time.Time)

SetTerminationTime gets a reference to the given time.Time and assigns it to the TerminationTime field.

func (HardwareReservation) ToMap ¶ added in v0.4.0

func (o HardwareReservation) ToMap() (map[string]interface{}, error)

func (*HardwareReservation) UnmarshalJSON ¶ added in v0.7.0

func (o *HardwareReservation) UnmarshalJSON(bytes []byte) (err error)

type HardwareReservationList ¶

type HardwareReservationList struct {
	HardwareReservations []HardwareReservation `json:"hardware_reservations,omitempty"`
	Meta                 *Meta                 `json:"meta,omitempty"`
	AdditionalProperties map[string]interface{}
}

HardwareReservationList struct for HardwareReservationList

func NewHardwareReservationList ¶

func NewHardwareReservationList() *HardwareReservationList

NewHardwareReservationList instantiates a new HardwareReservationList object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewHardwareReservationListWithDefaults ¶

func NewHardwareReservationListWithDefaults() *HardwareReservationList

NewHardwareReservationListWithDefaults instantiates a new HardwareReservationList object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*HardwareReservationList) GetHardwareReservations ¶

func (o *HardwareReservationList) GetHardwareReservations() []HardwareReservation

GetHardwareReservations returns the HardwareReservations field value if set, zero value otherwise.

func (*HardwareReservationList) GetHardwareReservationsOk ¶

func (o *HardwareReservationList) GetHardwareReservationsOk() ([]HardwareReservation, bool)

GetHardwareReservationsOk returns a tuple with the HardwareReservations field value if set, nil otherwise and a boolean to check if the value has been set.

func (*HardwareReservationList) GetMeta ¶

func (o *HardwareReservationList) GetMeta() Meta

GetMeta returns the Meta field value if set, zero value otherwise.

func (*HardwareReservationList) GetMetaOk ¶

func (o *HardwareReservationList) GetMetaOk() (*Meta, bool)

GetMetaOk returns a tuple with the Meta field value if set, nil otherwise and a boolean to check if the value has been set.

func (*HardwareReservationList) HasHardwareReservations ¶

func (o *HardwareReservationList) HasHardwareReservations() bool

HasHardwareReservations returns a boolean if a field has been set.

func (*HardwareReservationList) HasMeta ¶

func (o *HardwareReservationList) HasMeta() bool

HasMeta returns a boolean if a field has been set.

func (HardwareReservationList) MarshalJSON ¶

func (o HardwareReservationList) MarshalJSON() ([]byte, error)

func (*HardwareReservationList) SetHardwareReservations ¶

func (o *HardwareReservationList) SetHardwareReservations(v []HardwareReservation)

SetHardwareReservations gets a reference to the given []HardwareReservation and assigns it to the HardwareReservations field.

func (*HardwareReservationList) SetMeta ¶

func (o *HardwareReservationList) SetMeta(v Meta)

SetMeta gets a reference to the given Meta and assigns it to the Meta field.

func (HardwareReservationList) ToMap ¶ added in v0.4.0

func (o HardwareReservationList) ToMap() (map[string]interface{}, error)

func (*HardwareReservationList) UnmarshalJSON ¶ added in v0.7.0

func (o *HardwareReservationList) UnmarshalJSON(bytes []byte) (err error)

type HardwareReservationsApiService ¶

type HardwareReservationsApiService service

HardwareReservationsApiService HardwareReservationsApi service

func (*HardwareReservationsApiService) ActivateHardwareReservation ¶ added in v0.5.0

ActivateHardwareReservation Activate a spare hardware reservation

Activate a spare hardware reservation

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param id Hardware Reservation UUID
@return ApiActivateHardwareReservationRequest

func (*HardwareReservationsApiService) ActivateHardwareReservationExecute ¶ added in v0.5.0

Execute executes the request

@return HardwareReservation

func (*HardwareReservationsApiService) FindHardwareReservationById ¶

FindHardwareReservationById Retrieve a hardware reservation

Returns a single hardware reservation

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param id HardwareReservation UUID
@return ApiFindHardwareReservationByIdRequest

func (*HardwareReservationsApiService) FindHardwareReservationByIdExecute ¶

Execute executes the request

@return HardwareReservation

func (*HardwareReservationsApiService) FindProjectHardwareReservations ¶

FindProjectHardwareReservations Retrieve all hardware reservations for a given project

Provides a collection of hardware reservations for a given project.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param id Project UUID
@return ApiFindProjectHardwareReservationsRequest

func (*HardwareReservationsApiService) FindProjectHardwareReservationsExecute ¶

Execute executes the request

@return HardwareReservationList

func (*HardwareReservationsApiService) MoveHardwareReservation ¶

MoveHardwareReservation Move a hardware reservation

Move a hardware reservation to another project

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param id Hardware Reservation UUID
@return ApiMoveHardwareReservationRequest

func (*HardwareReservationsApiService) MoveHardwareReservationExecute ¶

Execute executes the request

@return HardwareReservation

type Href ¶

type Href struct {
	Href                 string `json:"href"`
	AdditionalProperties map[string]interface{}
}

Href struct for Href

func NewHref ¶

func NewHref(href string) *Href

NewHref instantiates a new Href object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewHrefWithDefaults ¶

func NewHrefWithDefaults() *Href

NewHrefWithDefaults instantiates a new Href object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*Href) GetHref ¶

func (o *Href) GetHref() string

GetHref returns the Href field value

func (*Href) GetHrefOk ¶

func (o *Href) GetHrefOk() (*string, bool)

GetHrefOk returns a tuple with the Href field value and a boolean to check if the value has been set.

func (Href) MarshalJSON ¶

func (o Href) MarshalJSON() ([]byte, error)

func (*Href) SetHref ¶

func (o *Href) SetHref(v string)

SetHref sets field value

func (Href) ToMap ¶ added in v0.4.0

func (o Href) ToMap() (map[string]interface{}, error)

func (*Href) UnmarshalJSON ¶ added in v0.7.0

func (o *Href) UnmarshalJSON(bytes []byte) (err error)

type IPAddress ¶ added in v0.7.1

type IPAddress struct {
	AddressFamily *IPAddressAddressFamily `json:"address_family,omitempty"`
	// Cidr Size for the IP Block created. Valid values depends on the operating system being provisioned. (28..32 for IPv4 addresses, 124..127 for IPv6 addresses)
	Cidr *int32 `json:"cidr,omitempty"`
	// UUIDs of any IP reservations to use when assigning IPs
	IpReservations []string `json:"ip_reservations,omitempty"`
	// Address Type for IP Address
	Public               *bool `json:"public,omitempty"`
	AdditionalProperties map[string]interface{}
}

IPAddress struct for IPAddress

func NewIPAddress ¶ added in v0.7.1

func NewIPAddress() *IPAddress

NewIPAddress instantiates a new IPAddress object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewIPAddressWithDefaults ¶ added in v0.7.1

func NewIPAddressWithDefaults() *IPAddress

NewIPAddressWithDefaults instantiates a new IPAddress object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*IPAddress) GetAddressFamily ¶ added in v0.7.1

func (o *IPAddress) GetAddressFamily() IPAddressAddressFamily

GetAddressFamily returns the AddressFamily field value if set, zero value otherwise.

func (*IPAddress) GetAddressFamilyOk ¶ added in v0.7.1

func (o *IPAddress) GetAddressFamilyOk() (*IPAddressAddressFamily, bool)

GetAddressFamilyOk returns a tuple with the AddressFamily field value if set, nil otherwise and a boolean to check if the value has been set.

func (*IPAddress) GetCidr ¶ added in v0.7.1

func (o *IPAddress) GetCidr() int32

GetCidr returns the Cidr field value if set, zero value otherwise.

func (*IPAddress) GetCidrOk ¶ added in v0.7.1

func (o *IPAddress) GetCidrOk() (*int32, bool)

GetCidrOk returns a tuple with the Cidr field value if set, nil otherwise and a boolean to check if the value has been set.

func (*IPAddress) GetIpReservations ¶ added in v0.7.1

func (o *IPAddress) GetIpReservations() []string

GetIpReservations returns the IpReservations field value if set, zero value otherwise.

func (*IPAddress) GetIpReservationsOk ¶ added in v0.7.1

func (o *IPAddress) GetIpReservationsOk() ([]string, bool)

GetIpReservationsOk returns a tuple with the IpReservations field value if set, nil otherwise and a boolean to check if the value has been set.

func (*IPAddress) GetPublic ¶ added in v0.7.1

func (o *IPAddress) GetPublic() bool

GetPublic returns the Public field value if set, zero value otherwise.

func (*IPAddress) GetPublicOk ¶ added in v0.7.1

func (o *IPAddress) GetPublicOk() (*bool, bool)

GetPublicOk returns a tuple with the Public field value if set, nil otherwise and a boolean to check if the value has been set.

func (*IPAddress) HasAddressFamily ¶ added in v0.7.1

func (o *IPAddress) HasAddressFamily() bool

HasAddressFamily returns a boolean if a field has been set.

func (*IPAddress) HasCidr ¶ added in v0.7.1

func (o *IPAddress) HasCidr() bool

HasCidr returns a boolean if a field has been set.

func (*IPAddress) HasIpReservations ¶ added in v0.7.1

func (o *IPAddress) HasIpReservations() bool

HasIpReservations returns a boolean if a field has been set.

func (*IPAddress) HasPublic ¶ added in v0.7.1

func (o *IPAddress) HasPublic() bool

HasPublic returns a boolean if a field has been set.

func (IPAddress) MarshalJSON ¶ added in v0.7.1

func (o IPAddress) MarshalJSON() ([]byte, error)

func (*IPAddress) SetAddressFamily ¶ added in v0.7.1

func (o *IPAddress) SetAddressFamily(v IPAddressAddressFamily)

SetAddressFamily gets a reference to the given IPAddressAddressFamily and assigns it to the AddressFamily field.

func (*IPAddress) SetCidr ¶ added in v0.7.1

func (o *IPAddress) SetCidr(v int32)

SetCidr gets a reference to the given int32 and assigns it to the Cidr field.

func (*IPAddress) SetIpReservations ¶ added in v0.7.1

func (o *IPAddress) SetIpReservations(v []string)

SetIpReservations gets a reference to the given []string and assigns it to the IpReservations field.

func (*IPAddress) SetPublic ¶ added in v0.7.1

func (o *IPAddress) SetPublic(v bool)

SetPublic gets a reference to the given bool and assigns it to the Public field.

func (IPAddress) ToMap ¶ added in v0.7.1

func (o IPAddress) ToMap() (map[string]interface{}, error)

func (*IPAddress) UnmarshalJSON ¶ added in v0.7.1

func (o *IPAddress) UnmarshalJSON(bytes []byte) (err error)

type IPAddressAddressFamily ¶ added in v0.22.0

type IPAddressAddressFamily int32

IPAddressAddressFamily Address Family for IP Address

const (
	IPADDRESSADDRESSFAMILY__4 IPAddressAddressFamily = 4
	IPADDRESSADDRESSFAMILY__6 IPAddressAddressFamily = 6
)

List of IPAddress_address_family

func NewIPAddressAddressFamilyFromValue ¶ added in v0.22.0

func NewIPAddressAddressFamilyFromValue(v int32) (*IPAddressAddressFamily, error)

NewIPAddressAddressFamilyFromValue returns a pointer to a valid IPAddressAddressFamily for the value passed as argument, or an error if the value passed is not allowed by the enum

func (IPAddressAddressFamily) IsValid ¶ added in v0.22.0

func (v IPAddressAddressFamily) IsValid() bool

IsValid return true if the value is valid for the enum, false otherwise

func (IPAddressAddressFamily) Ptr ¶ added in v0.22.0

Ptr returns reference to IPAddress_address_family value

func (*IPAddressAddressFamily) UnmarshalJSON ¶ added in v0.22.0

func (v *IPAddressAddressFamily) UnmarshalJSON(src []byte) error

type IPAddressesApiService ¶

type IPAddressesApiService service

IPAddressesApiService IPAddressesApi service

func (*IPAddressesApiService) DeleteIPAddress ¶

DeleteIPAddress Unassign an ip address

This call can be used to un-assign an IP assignment or delete an IP reservation.

Un-assign an IP address record. Use the assignment UUID you get after attaching the IP. This will remove the relationship between an IP and the device or metal gateway and will make the IP address available to be assigned to another device, once the IP has been un-configured from the network.

Delete an IP reservation. Use the reservation UUID you get after adding the IP to the project. This will permanently delete the IP block reservation from the project.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param id IP Address UUID
@return ApiDeleteIPAddressRequest

func (*IPAddressesApiService) DeleteIPAddressExecute ¶

func (a *IPAddressesApiService) DeleteIPAddressExecute(r ApiDeleteIPAddressRequest) (*http.Response, error)

Execute executes the request

func (*IPAddressesApiService) FindIPAddressById ¶

FindIPAddressById Retrieve an ip address

Returns a single ip address if the user has access.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param id IP Address UUID
@return ApiFindIPAddressByIdRequest

func (*IPAddressesApiService) FindIPAddressByIdExecute ¶

Execute executes the request

@return FindIPAddressById200Response

func (*IPAddressesApiService) FindIPAddressCustomdata ¶

FindIPAddressCustomdata Retrieve the custom metadata of an IP Reservation or IP Assignment

Provides the custom metadata stored for this IP Reservation or IP Assignment in json format

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param id Ip Reservation UUID
@return ApiFindIPAddressCustomdataRequest

func (*IPAddressesApiService) FindIPAddressCustomdataExecute ¶

func (a *IPAddressesApiService) FindIPAddressCustomdataExecute(r ApiFindIPAddressCustomdataRequest) (*http.Response, error)

Execute executes the request

func (*IPAddressesApiService) FindIPAvailabilities ¶

FindIPAvailabilities Retrieve all available subnets of a particular reservation

Provides a list of IP resevations for a single project.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param id IP Reservation UUID
@return ApiFindIPAvailabilitiesRequest

func (*IPAddressesApiService) FindIPAvailabilitiesExecute ¶

Execute executes the request

@return IPAvailabilitiesList

func (*IPAddressesApiService) FindIPReservations ¶

FindIPReservations Retrieve all ip reservations

Provides a paginated list of IP reservations for a single project.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param id Project UUID
@return ApiFindIPReservationsRequest

func (*IPAddressesApiService) FindIPReservationsExecute ¶

Execute executes the request

@return IPReservationList

func (*IPAddressesApiService) RequestIPReservation ¶

RequestIPReservation Requesting IP reservations

Request more IP space for a project in order to have additional IP addresses to assign to devices. If the request is within the max quota, an IP reservation will be created. If the project will exceed its IP quota, a request will be submitted for review, and will return an IP Reservation with a `state` of `pending`. You can automatically have the request fail with HTTP status 422 instead of triggering the review process by providing the `fail_on_approval_required` parameter set to `true` in the request.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param id Project UUID
@return ApiRequestIPReservationRequest

func (*IPAddressesApiService) RequestIPReservationExecute ¶

Execute executes the request

@return RequestIPReservation201Response

func (*IPAddressesApiService) UpdateIPAddress ¶

UpdateIPAddress Update an ip address

Update details about an ip address

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param id IP Address UUID
@return ApiUpdateIPAddressRequest

func (*IPAddressesApiService) UpdateIPAddressExecute ¶

Execute executes the request

@return FindIPAddressById200Response

type IPAssignment ¶

type IPAssignment struct {
	Address       *string            `json:"address,omitempty"`
	AddressFamily *int32             `json:"address_family,omitempty"`
	AssignedTo    *Href              `json:"assigned_to,omitempty"`
	Cidr          *int32             `json:"cidr,omitempty"`
	CreatedAt     *time.Time         `json:"created_at,omitempty"`
	Enabled       *bool              `json:"enabled,omitempty"`
	Gateway       *string            `json:"gateway,omitempty"`
	GlobalIp      *bool              `json:"global_ip,omitempty"`
	Href          *string            `json:"href,omitempty"`
	Id            *string            `json:"id,omitempty"`
	Manageable    *bool              `json:"manageable,omitempty"`
	Management    *bool              `json:"management,omitempty"`
	Metro         *IPAssignmentMetro `json:"metro,omitempty"`
	Netmask       *string            `json:"netmask,omitempty"`
	Network       *string            `json:"network,omitempty"`
	ParentBlock   *ParentBlock       `json:"parent_block,omitempty"`
	Public        *bool              `json:"public,omitempty"`
	State         *IPAssignmentState `json:"state,omitempty"`
	// Only set when this is a Metal Gateway Elastic IP Assignment.  The IP address within the Metal Gateway to which requests to the Elastic IP are forwarded.
	NextHop              *string           `json:"next_hop,omitempty"`
	Type                 *IPAssignmentType `json:"type,omitempty"`
	AdditionalProperties map[string]interface{}
}

IPAssignment struct for IPAssignment

func NewIPAssignment ¶

func NewIPAssignment() *IPAssignment

NewIPAssignment instantiates a new IPAssignment object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewIPAssignmentWithDefaults ¶

func NewIPAssignmentWithDefaults() *IPAssignment

NewIPAssignmentWithDefaults instantiates a new IPAssignment object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*IPAssignment) GetAddress ¶

func (o *IPAssignment) GetAddress() string

GetAddress returns the Address field value if set, zero value otherwise.

func (*IPAssignment) GetAddressFamily ¶

func (o *IPAssignment) GetAddressFamily() int32

GetAddressFamily returns the AddressFamily field value if set, zero value otherwise.

func (*IPAssignment) GetAddressFamilyOk ¶

func (o *IPAssignment) GetAddressFamilyOk() (*int32, bool)

GetAddressFamilyOk returns a tuple with the AddressFamily field value if set, nil otherwise and a boolean to check if the value has been set.

func (*IPAssignment) GetAddressOk ¶

func (o *IPAssignment) GetAddressOk() (*string, bool)

GetAddressOk returns a tuple with the Address field value if set, nil otherwise and a boolean to check if the value has been set.

func (*IPAssignment) GetAssignedTo ¶

func (o *IPAssignment) GetAssignedTo() Href

GetAssignedTo returns the AssignedTo field value if set, zero value otherwise.

func (*IPAssignment) GetAssignedToOk ¶

func (o *IPAssignment) GetAssignedToOk() (*Href, bool)

GetAssignedToOk returns a tuple with the AssignedTo field value if set, nil otherwise and a boolean to check if the value has been set.

func (*IPAssignment) GetCidr ¶

func (o *IPAssignment) GetCidr() int32

GetCidr returns the Cidr field value if set, zero value otherwise.

func (*IPAssignment) GetCidrOk ¶

func (o *IPAssignment) GetCidrOk() (*int32, bool)

GetCidrOk returns a tuple with the Cidr field value if set, nil otherwise and a boolean to check if the value has been set.

func (*IPAssignment) GetCreatedAt ¶

func (o *IPAssignment) GetCreatedAt() time.Time

GetCreatedAt returns the CreatedAt field value if set, zero value otherwise.

func (*IPAssignment) GetCreatedAtOk ¶

func (o *IPAssignment) GetCreatedAtOk() (*time.Time, bool)

GetCreatedAtOk returns a tuple with the CreatedAt field value if set, nil otherwise and a boolean to check if the value has been set.

func (*IPAssignment) GetEnabled ¶

func (o *IPAssignment) GetEnabled() bool

GetEnabled returns the Enabled field value if set, zero value otherwise.

func (*IPAssignment) GetEnabledOk ¶

func (o *IPAssignment) GetEnabledOk() (*bool, bool)

GetEnabledOk returns a tuple with the Enabled field value if set, nil otherwise and a boolean to check if the value has been set.

func (*IPAssignment) GetGateway ¶

func (o *IPAssignment) GetGateway() string

GetGateway returns the Gateway field value if set, zero value otherwise.

func (*IPAssignment) GetGatewayOk ¶

func (o *IPAssignment) GetGatewayOk() (*string, bool)

GetGatewayOk returns a tuple with the Gateway field value if set, nil otherwise and a boolean to check if the value has been set.

func (*IPAssignment) GetGlobalIp ¶

func (o *IPAssignment) GetGlobalIp() bool

GetGlobalIp returns the GlobalIp field value if set, zero value otherwise.

func (*IPAssignment) GetGlobalIpOk ¶

func (o *IPAssignment) GetGlobalIpOk() (*bool, bool)

GetGlobalIpOk returns a tuple with the GlobalIp field value if set, nil otherwise and a boolean to check if the value has been set.

func (*IPAssignment) GetHref ¶

func (o *IPAssignment) GetHref() string

GetHref returns the Href field value if set, zero value otherwise.

func (*IPAssignment) GetHrefOk ¶

func (o *IPAssignment) GetHrefOk() (*string, bool)

GetHrefOk returns a tuple with the Href field value if set, nil otherwise and a boolean to check if the value has been set.

func (*IPAssignment) GetId ¶

func (o *IPAssignment) GetId() string

GetId returns the Id field value if set, zero value otherwise.

func (*IPAssignment) GetIdOk ¶

func (o *IPAssignment) GetIdOk() (*string, bool)

GetIdOk returns a tuple with the Id field value if set, nil otherwise and a boolean to check if the value has been set.

func (*IPAssignment) GetManageable ¶

func (o *IPAssignment) GetManageable() bool

GetManageable returns the Manageable field value if set, zero value otherwise.

func (*IPAssignment) GetManageableOk ¶

func (o *IPAssignment) GetManageableOk() (*bool, bool)

GetManageableOk returns a tuple with the Manageable field value if set, nil otherwise and a boolean to check if the value has been set.

func (*IPAssignment) GetManagement ¶

func (o *IPAssignment) GetManagement() bool

GetManagement returns the Management field value if set, zero value otherwise.

func (*IPAssignment) GetManagementOk ¶

func (o *IPAssignment) GetManagementOk() (*bool, bool)

GetManagementOk returns a tuple with the Management field value if set, nil otherwise and a boolean to check if the value has been set.

func (*IPAssignment) GetMetro ¶

func (o *IPAssignment) GetMetro() IPAssignmentMetro

GetMetro returns the Metro field value if set, zero value otherwise.

func (*IPAssignment) GetMetroOk ¶

func (o *IPAssignment) GetMetroOk() (*IPAssignmentMetro, bool)

GetMetroOk returns a tuple with the Metro field value if set, nil otherwise and a boolean to check if the value has been set.

func (*IPAssignment) GetNetmask ¶

func (o *IPAssignment) GetNetmask() string

GetNetmask returns the Netmask field value if set, zero value otherwise.

func (*IPAssignment) GetNetmaskOk ¶

func (o *IPAssignment) GetNetmaskOk() (*string, bool)

GetNetmaskOk returns a tuple with the Netmask field value if set, nil otherwise and a boolean to check if the value has been set.

func (*IPAssignment) GetNetwork ¶

func (o *IPAssignment) GetNetwork() string

GetNetwork returns the Network field value if set, zero value otherwise.

func (*IPAssignment) GetNetworkOk ¶

func (o *IPAssignment) GetNetworkOk() (*string, bool)

GetNetworkOk returns a tuple with the Network field value if set, nil otherwise and a boolean to check if the value has been set.

func (*IPAssignment) GetNextHop ¶ added in v0.8.0

func (o *IPAssignment) GetNextHop() string

GetNextHop returns the NextHop field value if set, zero value otherwise.

func (*IPAssignment) GetNextHopOk ¶ added in v0.8.0

func (o *IPAssignment) GetNextHopOk() (*string, bool)

GetNextHopOk returns a tuple with the NextHop field value if set, nil otherwise and a boolean to check if the value has been set.

func (*IPAssignment) GetParentBlock ¶

func (o *IPAssignment) GetParentBlock() ParentBlock

GetParentBlock returns the ParentBlock field value if set, zero value otherwise.

func (*IPAssignment) GetParentBlockOk ¶

func (o *IPAssignment) GetParentBlockOk() (*ParentBlock, bool)

GetParentBlockOk returns a tuple with the ParentBlock field value if set, nil otherwise and a boolean to check if the value has been set.

func (*IPAssignment) GetPublic ¶

func (o *IPAssignment) GetPublic() bool

GetPublic returns the Public field value if set, zero value otherwise.

func (*IPAssignment) GetPublicOk ¶

func (o *IPAssignment) GetPublicOk() (*bool, bool)

GetPublicOk returns a tuple with the Public field value if set, nil otherwise and a boolean to check if the value has been set.

func (*IPAssignment) GetState ¶ added in v0.8.0

func (o *IPAssignment) GetState() IPAssignmentState

GetState returns the State field value if set, zero value otherwise.

func (*IPAssignment) GetStateOk ¶ added in v0.8.0

func (o *IPAssignment) GetStateOk() (*IPAssignmentState, bool)

GetStateOk returns a tuple with the State field value if set, nil otherwise and a boolean to check if the value has been set.

func (*IPAssignment) GetType ¶ added in v0.23.1

func (o *IPAssignment) GetType() IPAssignmentType

GetType returns the Type field value if set, zero value otherwise.

func (*IPAssignment) GetTypeOk ¶ added in v0.23.1

func (o *IPAssignment) GetTypeOk() (*IPAssignmentType, bool)

GetTypeOk returns a tuple with the Type field value if set, nil otherwise and a boolean to check if the value has been set.

func (*IPAssignment) HasAddress ¶

func (o *IPAssignment) HasAddress() bool

HasAddress returns a boolean if a field has been set.

func (*IPAssignment) HasAddressFamily ¶

func (o *IPAssignment) HasAddressFamily() bool

HasAddressFamily returns a boolean if a field has been set.

func (*IPAssignment) HasAssignedTo ¶

func (o *IPAssignment) HasAssignedTo() bool

HasAssignedTo returns a boolean if a field has been set.

func (*IPAssignment) HasCidr ¶

func (o *IPAssignment) HasCidr() bool

HasCidr returns a boolean if a field has been set.

func (*IPAssignment) HasCreatedAt ¶

func (o *IPAssignment) HasCreatedAt() bool

HasCreatedAt returns a boolean if a field has been set.

func (*IPAssignment) HasEnabled ¶

func (o *IPAssignment) HasEnabled() bool

HasEnabled returns a boolean if a field has been set.

func (*IPAssignment) HasGateway ¶

func (o *IPAssignment) HasGateway() bool

HasGateway returns a boolean if a field has been set.

func (*IPAssignment) HasGlobalIp ¶

func (o *IPAssignment) HasGlobalIp() bool

HasGlobalIp returns a boolean if a field has been set.

func (*IPAssignment) HasHref ¶

func (o *IPAssignment) HasHref() bool

HasHref returns a boolean if a field has been set.

func (*IPAssignment) HasId ¶

func (o *IPAssignment) HasId() bool

HasId returns a boolean if a field has been set.

func (*IPAssignment) HasManageable ¶

func (o *IPAssignment) HasManageable() bool

HasManageable returns a boolean if a field has been set.

func (*IPAssignment) HasManagement ¶

func (o *IPAssignment) HasManagement() bool

HasManagement returns a boolean if a field has been set.

func (*IPAssignment) HasMetro ¶

func (o *IPAssignment) HasMetro() bool

HasMetro returns a boolean if a field has been set.

func (*IPAssignment) HasNetmask ¶

func (o *IPAssignment) HasNetmask() bool

HasNetmask returns a boolean if a field has been set.

func (*IPAssignment) HasNetwork ¶

func (o *IPAssignment) HasNetwork() bool

HasNetwork returns a boolean if a field has been set.

func (*IPAssignment) HasNextHop ¶ added in v0.8.0

func (o *IPAssignment) HasNextHop() bool

HasNextHop returns a boolean if a field has been set.

func (*IPAssignment) HasParentBlock ¶

func (o *IPAssignment) HasParentBlock() bool

HasParentBlock returns a boolean if a field has been set.

func (*IPAssignment) HasPublic ¶

func (o *IPAssignment) HasPublic() bool

HasPublic returns a boolean if a field has been set.

func (*IPAssignment) HasState ¶ added in v0.8.0

func (o *IPAssignment) HasState() bool

HasState returns a boolean if a field has been set.

func (*IPAssignment) HasType ¶ added in v0.23.1

func (o *IPAssignment) HasType() bool

HasType returns a boolean if a field has been set.

func (IPAssignment) MarshalJSON ¶

func (o IPAssignment) MarshalJSON() ([]byte, error)

func (*IPAssignment) SetAddress ¶

func (o *IPAssignment) SetAddress(v string)

SetAddress gets a reference to the given string and assigns it to the Address field.

func (*IPAssignment) SetAddressFamily ¶

func (o *IPAssignment) SetAddressFamily(v int32)

SetAddressFamily gets a reference to the given int32 and assigns it to the AddressFamily field.

func (*IPAssignment) SetAssignedTo ¶

func (o *IPAssignment) SetAssignedTo(v Href)

SetAssignedTo gets a reference to the given Href and assigns it to the AssignedTo field.

func (*IPAssignment) SetCidr ¶

func (o *IPAssignment) SetCidr(v int32)

SetCidr gets a reference to the given int32 and assigns it to the Cidr field.

func (*IPAssignment) SetCreatedAt ¶

func (o *IPAssignment) SetCreatedAt(v time.Time)

SetCreatedAt gets a reference to the given time.Time and assigns it to the CreatedAt field.

func (*IPAssignment) SetEnabled ¶

func (o *IPAssignment) SetEnabled(v bool)

SetEnabled gets a reference to the given bool and assigns it to the Enabled field.

func (*IPAssignment) SetGateway ¶

func (o *IPAssignment) SetGateway(v string)

SetGateway gets a reference to the given string and assigns it to the Gateway field.

func (*IPAssignment) SetGlobalIp ¶

func (o *IPAssignment) SetGlobalIp(v bool)

SetGlobalIp gets a reference to the given bool and assigns it to the GlobalIp field.

func (*IPAssignment) SetHref ¶

func (o *IPAssignment) SetHref(v string)

SetHref gets a reference to the given string and assigns it to the Href field.

func (*IPAssignment) SetId ¶

func (o *IPAssignment) SetId(v string)

SetId gets a reference to the given string and assigns it to the Id field.

func (*IPAssignment) SetManageable ¶

func (o *IPAssignment) SetManageable(v bool)

SetManageable gets a reference to the given bool and assigns it to the Manageable field.

func (*IPAssignment) SetManagement ¶

func (o *IPAssignment) SetManagement(v bool)

SetManagement gets a reference to the given bool and assigns it to the Management field.

func (*IPAssignment) SetMetro ¶

func (o *IPAssignment) SetMetro(v IPAssignmentMetro)

SetMetro gets a reference to the given IPAssignmentMetro and assigns it to the Metro field.

func (*IPAssignment) SetNetmask ¶

func (o *IPAssignment) SetNetmask(v string)

SetNetmask gets a reference to the given string and assigns it to the Netmask field.

func (*IPAssignment) SetNetwork ¶

func (o *IPAssignment) SetNetwork(v string)

SetNetwork gets a reference to the given string and assigns it to the Network field.

func (*IPAssignment) SetNextHop ¶ added in v0.8.0

func (o *IPAssignment) SetNextHop(v string)

SetNextHop gets a reference to the given string and assigns it to the NextHop field.

func (*IPAssignment) SetParentBlock ¶

func (o *IPAssignment) SetParentBlock(v ParentBlock)

SetParentBlock gets a reference to the given ParentBlock and assigns it to the ParentBlock field.

func (*IPAssignment) SetPublic ¶

func (o *IPAssignment) SetPublic(v bool)

SetPublic gets a reference to the given bool and assigns it to the Public field.

func (*IPAssignment) SetState ¶ added in v0.8.0

func (o *IPAssignment) SetState(v IPAssignmentState)

SetState gets a reference to the given IPAssignmentState and assigns it to the State field.

func (*IPAssignment) SetType ¶ added in v0.23.1

func (o *IPAssignment) SetType(v IPAssignmentType)

SetType gets a reference to the given IPAssignmentType and assigns it to the Type field.

func (IPAssignment) ToMap ¶ added in v0.4.0

func (o IPAssignment) ToMap() (map[string]interface{}, error)

func (*IPAssignment) UnmarshalJSON ¶ added in v0.7.0

func (o *IPAssignment) UnmarshalJSON(bytes []byte) (err error)

type IPAssignmentInput ¶

type IPAssignmentInput struct {
	Address              string                 `json:"address"`
	Customdata           map[string]interface{} `json:"customdata,omitempty"`
	AdditionalProperties map[string]interface{}
}

IPAssignmentInput struct for IPAssignmentInput

func NewIPAssignmentInput ¶

func NewIPAssignmentInput(address string) *IPAssignmentInput

NewIPAssignmentInput instantiates a new IPAssignmentInput object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewIPAssignmentInputWithDefaults ¶

func NewIPAssignmentInputWithDefaults() *IPAssignmentInput

NewIPAssignmentInputWithDefaults instantiates a new IPAssignmentInput object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*IPAssignmentInput) GetAddress ¶

func (o *IPAssignmentInput) GetAddress() string

GetAddress returns the Address field value

func (*IPAssignmentInput) GetAddressOk ¶

func (o *IPAssignmentInput) GetAddressOk() (*string, bool)

GetAddressOk returns a tuple with the Address field value and a boolean to check if the value has been set.

func (*IPAssignmentInput) GetCustomdata ¶

func (o *IPAssignmentInput) GetCustomdata() map[string]interface{}

GetCustomdata returns the Customdata field value if set, zero value otherwise.

func (*IPAssignmentInput) GetCustomdataOk ¶

func (o *IPAssignmentInput) GetCustomdataOk() (map[string]interface{}, bool)

GetCustomdataOk returns a tuple with the Customdata field value if set, nil otherwise and a boolean to check if the value has been set.

func (*IPAssignmentInput) HasCustomdata ¶

func (o *IPAssignmentInput) HasCustomdata() bool

HasCustomdata returns a boolean if a field has been set.

func (IPAssignmentInput) MarshalJSON ¶

func (o IPAssignmentInput) MarshalJSON() ([]byte, error)

func (*IPAssignmentInput) SetAddress ¶

func (o *IPAssignmentInput) SetAddress(v string)

SetAddress sets field value

func (*IPAssignmentInput) SetCustomdata ¶

func (o *IPAssignmentInput) SetCustomdata(v map[string]interface{})

SetCustomdata gets a reference to the given map[string]interface{} and assigns it to the Customdata field.

func (IPAssignmentInput) ToMap ¶ added in v0.4.0

func (o IPAssignmentInput) ToMap() (map[string]interface{}, error)

func (*IPAssignmentInput) UnmarshalJSON ¶ added in v0.7.0

func (o *IPAssignmentInput) UnmarshalJSON(bytes []byte) (err error)

type IPAssignmentList ¶

type IPAssignmentList struct {
	IpAddresses          []IPAssignment `json:"ip_addresses,omitempty"`
	AdditionalProperties map[string]interface{}
}

IPAssignmentList struct for IPAssignmentList

func NewIPAssignmentList ¶

func NewIPAssignmentList() *IPAssignmentList

NewIPAssignmentList instantiates a new IPAssignmentList object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewIPAssignmentListWithDefaults ¶

func NewIPAssignmentListWithDefaults() *IPAssignmentList

NewIPAssignmentListWithDefaults instantiates a new IPAssignmentList object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*IPAssignmentList) GetIpAddresses ¶

func (o *IPAssignmentList) GetIpAddresses() []IPAssignment

GetIpAddresses returns the IpAddresses field value if set, zero value otherwise.

func (*IPAssignmentList) GetIpAddressesOk ¶

func (o *IPAssignmentList) GetIpAddressesOk() ([]IPAssignment, bool)

GetIpAddressesOk returns a tuple with the IpAddresses field value if set, nil otherwise and a boolean to check if the value has been set.

func (*IPAssignmentList) HasIpAddresses ¶

func (o *IPAssignmentList) HasIpAddresses() bool

HasIpAddresses returns a boolean if a field has been set.

func (IPAssignmentList) MarshalJSON ¶

func (o IPAssignmentList) MarshalJSON() ([]byte, error)

func (*IPAssignmentList) SetIpAddresses ¶

func (o *IPAssignmentList) SetIpAddresses(v []IPAssignment)

SetIpAddresses gets a reference to the given []IPAssignment and assigns it to the IpAddresses field.

func (IPAssignmentList) ToMap ¶ added in v0.4.0

func (o IPAssignmentList) ToMap() (map[string]interface{}, error)

func (*IPAssignmentList) UnmarshalJSON ¶ added in v0.7.0

func (o *IPAssignmentList) UnmarshalJSON(bytes []byte) (err error)

type IPAssignmentMetro ¶ added in v0.4.0

type IPAssignmentMetro struct {
	Code                 *string `json:"code,omitempty"`
	Country              *string `json:"country,omitempty"`
	Id                   *string `json:"id,omitempty"`
	Name                 *string `json:"name,omitempty"`
	AdditionalProperties map[string]interface{}
}

IPAssignmentMetro struct for IPAssignmentMetro

func NewIPAssignmentMetro ¶ added in v0.4.0

func NewIPAssignmentMetro() *IPAssignmentMetro

NewIPAssignmentMetro instantiates a new IPAssignmentMetro object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewIPAssignmentMetroWithDefaults ¶ added in v0.4.0

func NewIPAssignmentMetroWithDefaults() *IPAssignmentMetro

NewIPAssignmentMetroWithDefaults instantiates a new IPAssignmentMetro object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*IPAssignmentMetro) GetCode ¶ added in v0.4.0

func (o *IPAssignmentMetro) GetCode() string

GetCode returns the Code field value if set, zero value otherwise.

func (*IPAssignmentMetro) GetCodeOk ¶ added in v0.4.0

func (o *IPAssignmentMetro) GetCodeOk() (*string, bool)

GetCodeOk returns a tuple with the Code field value if set, nil otherwise and a boolean to check if the value has been set.

func (*IPAssignmentMetro) GetCountry ¶ added in v0.4.0

func (o *IPAssignmentMetro) GetCountry() string

GetCountry returns the Country field value if set, zero value otherwise.

func (*IPAssignmentMetro) GetCountryOk ¶ added in v0.4.0

func (o *IPAssignmentMetro) GetCountryOk() (*string, bool)

GetCountryOk returns a tuple with the Country field value if set, nil otherwise and a boolean to check if the value has been set.

func (*IPAssignmentMetro) GetId ¶ added in v0.4.0

func (o *IPAssignmentMetro) GetId() string

GetId returns the Id field value if set, zero value otherwise.

func (*IPAssignmentMetro) GetIdOk ¶ added in v0.4.0

func (o *IPAssignmentMetro) GetIdOk() (*string, bool)

GetIdOk returns a tuple with the Id field value if set, nil otherwise and a boolean to check if the value has been set.

func (*IPAssignmentMetro) GetName ¶ added in v0.4.0

func (o *IPAssignmentMetro) GetName() string

GetName returns the Name field value if set, zero value otherwise.

func (*IPAssignmentMetro) GetNameOk ¶ added in v0.4.0

func (o *IPAssignmentMetro) GetNameOk() (*string, bool)

GetNameOk returns a tuple with the Name field value if set, nil otherwise and a boolean to check if the value has been set.

func (*IPAssignmentMetro) HasCode ¶ added in v0.4.0

func (o *IPAssignmentMetro) HasCode() bool

HasCode returns a boolean if a field has been set.

func (*IPAssignmentMetro) HasCountry ¶ added in v0.4.0

func (o *IPAssignmentMetro) HasCountry() bool

HasCountry returns a boolean if a field has been set.

func (*IPAssignmentMetro) HasId ¶ added in v0.4.0

func (o *IPAssignmentMetro) HasId() bool

HasId returns a boolean if a field has been set.

func (*IPAssignmentMetro) HasName ¶ added in v0.4.0

func (o *IPAssignmentMetro) HasName() bool

HasName returns a boolean if a field has been set.

func (IPAssignmentMetro) MarshalJSON ¶ added in v0.4.0

func (o IPAssignmentMetro) MarshalJSON() ([]byte, error)

func (*IPAssignmentMetro) SetCode ¶ added in v0.4.0

func (o *IPAssignmentMetro) SetCode(v string)

SetCode gets a reference to the given string and assigns it to the Code field.

func (*IPAssignmentMetro) SetCountry ¶ added in v0.4.0

func (o *IPAssignmentMetro) SetCountry(v string)

SetCountry gets a reference to the given string and assigns it to the Country field.

func (*IPAssignmentMetro) SetId ¶ added in v0.4.0

func (o *IPAssignmentMetro) SetId(v string)

SetId gets a reference to the given string and assigns it to the Id field.

func (*IPAssignmentMetro) SetName ¶ added in v0.4.0

func (o *IPAssignmentMetro) SetName(v string)

SetName gets a reference to the given string and assigns it to the Name field.

func (IPAssignmentMetro) ToMap ¶ added in v0.4.0

func (o IPAssignmentMetro) ToMap() (map[string]interface{}, error)

func (*IPAssignmentMetro) UnmarshalJSON ¶ added in v0.7.0

func (o *IPAssignmentMetro) UnmarshalJSON(bytes []byte) (err error)

type IPAssignmentState ¶ added in v0.22.0

type IPAssignmentState string

IPAssignmentState Only set when this is a Metal Gateway Elastic IP Assignment. Describes the current configuration state of this IP on the network.

const (
	IPASSIGNMENTSTATE_PENDING  IPAssignmentState = "pending"
	IPASSIGNMENTSTATE_ACTIVE   IPAssignmentState = "active"
	IPASSIGNMENTSTATE_DELETING IPAssignmentState = "deleting"
)

List of IPAssignment_state

func NewIPAssignmentStateFromValue ¶ added in v0.22.0

func NewIPAssignmentStateFromValue(v string) (*IPAssignmentState, error)

NewIPAssignmentStateFromValue returns a pointer to a valid IPAssignmentState for the value passed as argument, or an error if the value passed is not allowed by the enum

func (IPAssignmentState) IsValid ¶ added in v0.22.0

func (v IPAssignmentState) IsValid() bool

IsValid return true if the value is valid for the enum, false otherwise

func (IPAssignmentState) Ptr ¶ added in v0.22.0

Ptr returns reference to IPAssignment_state value

func (*IPAssignmentState) UnmarshalJSON ¶ added in v0.22.0

func (v *IPAssignmentState) UnmarshalJSON(src []byte) error

type IPAssignmentType ¶ added in v0.23.1

type IPAssignmentType string

IPAssignmentType the model 'IPAssignmentType'

const (
	IPASSIGNMENTTYPE_IP_ASSIGNMENT IPAssignmentType = "IPAssignment"
)

List of IPAssignment_type

func NewIPAssignmentTypeFromValue ¶ added in v0.23.1

func NewIPAssignmentTypeFromValue(v string) (*IPAssignmentType, error)

NewIPAssignmentTypeFromValue returns a pointer to a valid IPAssignmentType for the value passed as argument, or an error if the value passed is not allowed by the enum

func (IPAssignmentType) IsValid ¶ added in v0.23.1

func (v IPAssignmentType) IsValid() bool

IsValid return true if the value is valid for the enum, false otherwise

func (IPAssignmentType) Ptr ¶ added in v0.23.1

Ptr returns reference to IPAssignment_type value

func (*IPAssignmentType) UnmarshalJSON ¶ added in v0.23.1

func (v *IPAssignmentType) UnmarshalJSON(src []byte) error

type IPAssignmentUpdateInput ¶ added in v0.5.0

type IPAssignmentUpdateInput struct {
	Details              *string                `json:"details,omitempty"`
	Customdata           map[string]interface{} `json:"customdata,omitempty"`
	Tags                 []string               `json:"tags,omitempty"`
	AdditionalProperties map[string]interface{}
}

IPAssignmentUpdateInput struct for IPAssignmentUpdateInput

func NewIPAssignmentUpdateInput ¶ added in v0.5.0

func NewIPAssignmentUpdateInput() *IPAssignmentUpdateInput

NewIPAssignmentUpdateInput instantiates a new IPAssignmentUpdateInput object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewIPAssignmentUpdateInputWithDefaults ¶ added in v0.5.0

func NewIPAssignmentUpdateInputWithDefaults() *IPAssignmentUpdateInput

NewIPAssignmentUpdateInputWithDefaults instantiates a new IPAssignmentUpdateInput object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*IPAssignmentUpdateInput) GetCustomdata ¶ added in v0.5.0

func (o *IPAssignmentUpdateInput) GetCustomdata() map[string]interface{}

GetCustomdata returns the Customdata field value if set, zero value otherwise.

func (*IPAssignmentUpdateInput) GetCustomdataOk ¶ added in v0.5.0

func (o *IPAssignmentUpdateInput) GetCustomdataOk() (map[string]interface{}, bool)

GetCustomdataOk returns a tuple with the Customdata field value if set, nil otherwise and a boolean to check if the value has been set.

func (*IPAssignmentUpdateInput) GetDetails ¶ added in v0.5.0

func (o *IPAssignmentUpdateInput) GetDetails() string

GetDetails returns the Details field value if set, zero value otherwise.

func (*IPAssignmentUpdateInput) GetDetailsOk ¶ added in v0.5.0

func (o *IPAssignmentUpdateInput) GetDetailsOk() (*string, bool)

GetDetailsOk returns a tuple with the Details field value if set, nil otherwise and a boolean to check if the value has been set.

func (*IPAssignmentUpdateInput) GetTags ¶ added in v0.5.0

func (o *IPAssignmentUpdateInput) GetTags() []string

GetTags returns the Tags field value if set, zero value otherwise.

func (*IPAssignmentUpdateInput) GetTagsOk ¶ added in v0.5.0

func (o *IPAssignmentUpdateInput) GetTagsOk() ([]string, bool)

GetTagsOk returns a tuple with the Tags field value if set, nil otherwise and a boolean to check if the value has been set.

func (*IPAssignmentUpdateInput) HasCustomdata ¶ added in v0.5.0

func (o *IPAssignmentUpdateInput) HasCustomdata() bool

HasCustomdata returns a boolean if a field has been set.

func (*IPAssignmentUpdateInput) HasDetails ¶ added in v0.5.0

func (o *IPAssignmentUpdateInput) HasDetails() bool

HasDetails returns a boolean if a field has been set.

func (*IPAssignmentUpdateInput) HasTags ¶ added in v0.5.0

func (o *IPAssignmentUpdateInput) HasTags() bool

HasTags returns a boolean if a field has been set.

func (IPAssignmentUpdateInput) MarshalJSON ¶ added in v0.5.0

func (o IPAssignmentUpdateInput) MarshalJSON() ([]byte, error)

func (*IPAssignmentUpdateInput) SetCustomdata ¶ added in v0.5.0

func (o *IPAssignmentUpdateInput) SetCustomdata(v map[string]interface{})

SetCustomdata gets a reference to the given map[string]interface{} and assigns it to the Customdata field.

func (*IPAssignmentUpdateInput) SetDetails ¶ added in v0.5.0

func (o *IPAssignmentUpdateInput) SetDetails(v string)

SetDetails gets a reference to the given string and assigns it to the Details field.

func (*IPAssignmentUpdateInput) SetTags ¶ added in v0.5.0

func (o *IPAssignmentUpdateInput) SetTags(v []string)

SetTags gets a reference to the given []string and assigns it to the Tags field.

func (IPAssignmentUpdateInput) ToMap ¶ added in v0.5.0

func (o IPAssignmentUpdateInput) ToMap() (map[string]interface{}, error)

func (*IPAssignmentUpdateInput) UnmarshalJSON ¶ added in v0.7.0

func (o *IPAssignmentUpdateInput) UnmarshalJSON(bytes []byte) (err error)

type IPAvailabilitiesList ¶

type IPAvailabilitiesList struct {
	Available            []string `json:"available,omitempty"`
	AdditionalProperties map[string]interface{}
}

IPAvailabilitiesList struct for IPAvailabilitiesList

func NewIPAvailabilitiesList ¶

func NewIPAvailabilitiesList() *IPAvailabilitiesList

NewIPAvailabilitiesList instantiates a new IPAvailabilitiesList object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewIPAvailabilitiesListWithDefaults ¶

func NewIPAvailabilitiesListWithDefaults() *IPAvailabilitiesList

NewIPAvailabilitiesListWithDefaults instantiates a new IPAvailabilitiesList object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*IPAvailabilitiesList) GetAvailable ¶

func (o *IPAvailabilitiesList) GetAvailable() []string

GetAvailable returns the Available field value if set, zero value otherwise.

func (*IPAvailabilitiesList) GetAvailableOk ¶

func (o *IPAvailabilitiesList) GetAvailableOk() ([]string, bool)

GetAvailableOk returns a tuple with the Available field value if set, nil otherwise and a boolean to check if the value has been set.

func (*IPAvailabilitiesList) HasAvailable ¶

func (o *IPAvailabilitiesList) HasAvailable() bool

HasAvailable returns a boolean if a field has been set.

func (IPAvailabilitiesList) MarshalJSON ¶

func (o IPAvailabilitiesList) MarshalJSON() ([]byte, error)

func (*IPAvailabilitiesList) SetAvailable ¶

func (o *IPAvailabilitiesList) SetAvailable(v []string)

SetAvailable gets a reference to the given []string and assigns it to the Available field.

func (IPAvailabilitiesList) ToMap ¶ added in v0.4.0

func (o IPAvailabilitiesList) ToMap() (map[string]interface{}, error)

func (*IPAvailabilitiesList) UnmarshalJSON ¶ added in v0.7.0

func (o *IPAvailabilitiesList) UnmarshalJSON(bytes []byte) (err error)

type IPReservation ¶

type IPReservation struct {
	Addon         *bool                  `json:"addon,omitempty"`
	Address       *string                `json:"address,omitempty"`
	AddressFamily *int32                 `json:"address_family,omitempty"`
	Assignments   []IPAssignment         `json:"assignments,omitempty"`
	Available     *string                `json:"available,omitempty"`
	Bill          *bool                  `json:"bill,omitempty"`
	Cidr          *int32                 `json:"cidr,omitempty"`
	CreatedAt     *time.Time             `json:"created_at,omitempty"`
	Customdata    map[string]interface{} `json:"customdata,omitempty"`
	Enabled       *bool                  `json:"enabled,omitempty"`
	Details       *string                `json:"details,omitempty"`
	Facility      *IPReservationFacility `json:"facility,omitempty"`
	Gateway       *string                `json:"gateway,omitempty"`
	GlobalIp      *bool                  `json:"global_ip,omitempty"`
	Href          *string                `json:"href,omitempty"`
	Id            *string                `json:"id,omitempty"`
	Manageable    *bool                  `json:"manageable,omitempty"`
	Management    *bool                  `json:"management,omitempty"`
	MetalGateway  *MetalGatewayLite      `json:"metal_gateway,omitempty"`
	Metro         *IPReservationMetro    `json:"metro,omitempty"`
	Netmask       *string                `json:"netmask,omitempty"`
	Network       *string                `json:"network,omitempty"`
	Project       *Project               `json:"project,omitempty"`
	ProjectLite   *Href                  `json:"project_lite,omitempty"`
	RequestedBy   *Href                  `json:"requested_by,omitempty"`
	Public        *bool                  `json:"public,omitempty"`
	State         *string                `json:"state,omitempty"`
	Tags          []string               `json:"tags,omitempty"`
	Type          IPReservationType      `json:"type"`
}

IPReservation struct for IPReservation

func NewIPReservation ¶

func NewIPReservation(type_ IPReservationType) *IPReservation

NewIPReservation instantiates a new IPReservation object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewIPReservationWithDefaults ¶

func NewIPReservationWithDefaults() *IPReservation

NewIPReservationWithDefaults instantiates a new IPReservation object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*IPReservation) GetAddon ¶

func (o *IPReservation) GetAddon() bool

GetAddon returns the Addon field value if set, zero value otherwise.

func (*IPReservation) GetAddonOk ¶

func (o *IPReservation) GetAddonOk() (*bool, bool)

GetAddonOk returns a tuple with the Addon field value if set, nil otherwise and a boolean to check if the value has been set.

func (*IPReservation) GetAddress ¶ added in v0.3.0

func (o *IPReservation) GetAddress() string

GetAddress returns the Address field value if set, zero value otherwise.

func (*IPReservation) GetAddressFamily ¶

func (o *IPReservation) GetAddressFamily() int32

GetAddressFamily returns the AddressFamily field value if set, zero value otherwise.

func (*IPReservation) GetAddressFamilyOk ¶

func (o *IPReservation) GetAddressFamilyOk() (*int32, bool)

GetAddressFamilyOk returns a tuple with the AddressFamily field value if set, nil otherwise and a boolean to check if the value has been set.

func (*IPReservation) GetAddressOk ¶ added in v0.3.0

func (o *IPReservation) GetAddressOk() (*string, bool)

GetAddressOk returns a tuple with the Address field value if set, nil otherwise and a boolean to check if the value has been set.

func (*IPReservation) GetAssignments ¶

func (o *IPReservation) GetAssignments() []IPAssignment

GetAssignments returns the Assignments field value if set, zero value otherwise.

func (*IPReservation) GetAssignmentsOk ¶

func (o *IPReservation) GetAssignmentsOk() ([]IPAssignment, bool)

GetAssignmentsOk returns a tuple with the Assignments field value if set, nil otherwise and a boolean to check if the value has been set.

func (*IPReservation) GetAvailable ¶ added in v0.3.0

func (o *IPReservation) GetAvailable() string

GetAvailable returns the Available field value if set, zero value otherwise.

func (*IPReservation) GetAvailableOk ¶ added in v0.3.0

func (o *IPReservation) GetAvailableOk() (*string, bool)

GetAvailableOk returns a tuple with the Available field value if set, nil otherwise and a boolean to check if the value has been set.

func (*IPReservation) GetBill ¶

func (o *IPReservation) GetBill() bool

GetBill returns the Bill field value if set, zero value otherwise.

func (*IPReservation) GetBillOk ¶

func (o *IPReservation) GetBillOk() (*bool, bool)

GetBillOk returns a tuple with the Bill field value if set, nil otherwise and a boolean to check if the value has been set.

func (*IPReservation) GetCidr ¶

func (o *IPReservation) GetCidr() int32

GetCidr returns the Cidr field value if set, zero value otherwise.

func (*IPReservation) GetCidrOk ¶

func (o *IPReservation) GetCidrOk() (*int32, bool)

GetCidrOk returns a tuple with the Cidr field value if set, nil otherwise and a boolean to check if the value has been set.

func (*IPReservation) GetCreatedAt ¶

func (o *IPReservation) GetCreatedAt() time.Time

GetCreatedAt returns the CreatedAt field value if set, zero value otherwise.

func (*IPReservation) GetCreatedAtOk ¶

func (o *IPReservation) GetCreatedAtOk() (*time.Time, bool)

GetCreatedAtOk returns a tuple with the CreatedAt field value if set, nil otherwise and a boolean to check if the value has been set.

func (*IPReservation) GetCustomdata ¶ added in v0.3.0

func (o *IPReservation) GetCustomdata() map[string]interface{}

GetCustomdata returns the Customdata field value if set, zero value otherwise.

func (*IPReservation) GetCustomdataOk ¶ added in v0.3.0

func (o *IPReservation) GetCustomdataOk() (map[string]interface{}, bool)

GetCustomdataOk returns a tuple with the Customdata field value if set, nil otherwise and a boolean to check if the value has been set.

func (*IPReservation) GetDetails ¶ added in v0.3.0

func (o *IPReservation) GetDetails() string

GetDetails returns the Details field value if set, zero value otherwise.

func (*IPReservation) GetDetailsOk ¶ added in v0.3.0

func (o *IPReservation) GetDetailsOk() (*string, bool)

GetDetailsOk returns a tuple with the Details field value if set, nil otherwise and a boolean to check if the value has been set.

func (*IPReservation) GetEnabled ¶

func (o *IPReservation) GetEnabled() bool

GetEnabled returns the Enabled field value if set, zero value otherwise.

func (*IPReservation) GetEnabledOk ¶

func (o *IPReservation) GetEnabledOk() (*bool, bool)

GetEnabledOk returns a tuple with the Enabled field value if set, nil otherwise and a boolean to check if the value has been set.

func (*IPReservation) GetFacility ¶

func (o *IPReservation) GetFacility() IPReservationFacility

GetFacility returns the Facility field value if set, zero value otherwise.

func (*IPReservation) GetFacilityOk ¶

func (o *IPReservation) GetFacilityOk() (*IPReservationFacility, bool)

GetFacilityOk returns a tuple with the Facility field value if set, nil otherwise and a boolean to check if the value has been set.

func (*IPReservation) GetGateway ¶ added in v0.3.0

func (o *IPReservation) GetGateway() string

GetGateway returns the Gateway field value if set, zero value otherwise.

func (*IPReservation) GetGatewayOk ¶ added in v0.3.0

func (o *IPReservation) GetGatewayOk() (*string, bool)

GetGatewayOk returns a tuple with the Gateway field value if set, nil otherwise and a boolean to check if the value has been set.

func (*IPReservation) GetGlobalIp ¶

func (o *IPReservation) GetGlobalIp() bool

GetGlobalIp returns the GlobalIp field value if set, zero value otherwise.

func (*IPReservation) GetGlobalIpOk ¶

func (o *IPReservation) GetGlobalIpOk() (*bool, bool)

GetGlobalIpOk returns a tuple with the GlobalIp field value if set, nil otherwise and a boolean to check if the value has been set.

func (*IPReservation) GetHref ¶

func (o *IPReservation) GetHref() string

GetHref returns the Href field value if set, zero value otherwise.

func (*IPReservation) GetHrefOk ¶

func (o *IPReservation) GetHrefOk() (*string, bool)

GetHrefOk returns a tuple with the Href field value if set, nil otherwise and a boolean to check if the value has been set.

func (*IPReservation) GetId ¶

func (o *IPReservation) GetId() string

GetId returns the Id field value if set, zero value otherwise.

func (*IPReservation) GetIdOk ¶

func (o *IPReservation) GetIdOk() (*string, bool)

GetIdOk returns a tuple with the Id field value if set, nil otherwise and a boolean to check if the value has been set.

func (*IPReservation) GetManageable ¶

func (o *IPReservation) GetManageable() bool

GetManageable returns the Manageable field value if set, zero value otherwise.

func (*IPReservation) GetManageableOk ¶

func (o *IPReservation) GetManageableOk() (*bool, bool)

GetManageableOk returns a tuple with the Manageable field value if set, nil otherwise and a boolean to check if the value has been set.

func (*IPReservation) GetManagement ¶

func (o *IPReservation) GetManagement() bool

GetManagement returns the Management field value if set, zero value otherwise.

func (*IPReservation) GetManagementOk ¶

func (o *IPReservation) GetManagementOk() (*bool, bool)

GetManagementOk returns a tuple with the Management field value if set, nil otherwise and a boolean to check if the value has been set.

func (*IPReservation) GetMetalGateway ¶

func (o *IPReservation) GetMetalGateway() MetalGatewayLite

GetMetalGateway returns the MetalGateway field value if set, zero value otherwise.

func (*IPReservation) GetMetalGatewayOk ¶

func (o *IPReservation) GetMetalGatewayOk() (*MetalGatewayLite, bool)

GetMetalGatewayOk returns a tuple with the MetalGateway field value if set, nil otherwise and a boolean to check if the value has been set.

func (*IPReservation) GetMetro ¶

func (o *IPReservation) GetMetro() IPReservationMetro

GetMetro returns the Metro field value if set, zero value otherwise.

func (*IPReservation) GetMetroOk ¶

func (o *IPReservation) GetMetroOk() (*IPReservationMetro, bool)

GetMetroOk returns a tuple with the Metro field value if set, nil otherwise and a boolean to check if the value has been set.

func (*IPReservation) GetNetmask ¶

func (o *IPReservation) GetNetmask() string

GetNetmask returns the Netmask field value if set, zero value otherwise.

func (*IPReservation) GetNetmaskOk ¶

func (o *IPReservation) GetNetmaskOk() (*string, bool)

GetNetmaskOk returns a tuple with the Netmask field value if set, nil otherwise and a boolean to check if the value has been set.

func (*IPReservation) GetNetwork ¶

func (o *IPReservation) GetNetwork() string

GetNetwork returns the Network field value if set, zero value otherwise.

func (*IPReservation) GetNetworkOk ¶

func (o *IPReservation) GetNetworkOk() (*string, bool)

GetNetworkOk returns a tuple with the Network field value if set, nil otherwise and a boolean to check if the value has been set.

func (*IPReservation) GetProject ¶ added in v0.3.0

func (o *IPReservation) GetProject() Project

GetProject returns the Project field value if set, zero value otherwise.

func (*IPReservation) GetProjectLite ¶ added in v0.3.0

func (o *IPReservation) GetProjectLite() Href

GetProjectLite returns the ProjectLite field value if set, zero value otherwise.

func (*IPReservation) GetProjectLiteOk ¶ added in v0.3.0

func (o *IPReservation) GetProjectLiteOk() (*Href, bool)

GetProjectLiteOk returns a tuple with the ProjectLite field value if set, nil otherwise and a boolean to check if the value has been set.

func (*IPReservation) GetProjectOk ¶ added in v0.3.0

func (o *IPReservation) GetProjectOk() (*Project, bool)

GetProjectOk returns a tuple with the Project field value if set, nil otherwise and a boolean to check if the value has been set.

func (*IPReservation) GetPublic ¶

func (o *IPReservation) GetPublic() bool

GetPublic returns the Public field value if set, zero value otherwise.

func (*IPReservation) GetPublicOk ¶

func (o *IPReservation) GetPublicOk() (*bool, bool)

GetPublicOk returns a tuple with the Public field value if set, nil otherwise and a boolean to check if the value has been set.

func (*IPReservation) GetRequestedBy ¶ added in v0.3.0

func (o *IPReservation) GetRequestedBy() Href

GetRequestedBy returns the RequestedBy field value if set, zero value otherwise.

func (*IPReservation) GetRequestedByOk ¶ added in v0.3.0

func (o *IPReservation) GetRequestedByOk() (*Href, bool)

GetRequestedByOk returns a tuple with the RequestedBy field value if set, nil otherwise and a boolean to check if the value has been set.

func (*IPReservation) GetState ¶

func (o *IPReservation) GetState() string

GetState returns the State field value if set, zero value otherwise.

func (*IPReservation) GetStateOk ¶

func (o *IPReservation) GetStateOk() (*string, bool)

GetStateOk returns a tuple with the State field value if set, nil otherwise and a boolean to check if the value has been set.

func (*IPReservation) GetTags ¶

func (o *IPReservation) GetTags() []string

GetTags returns the Tags field value if set, zero value otherwise.

func (*IPReservation) GetTagsOk ¶

func (o *IPReservation) GetTagsOk() ([]string, bool)

GetTagsOk returns a tuple with the Tags field value if set, nil otherwise and a boolean to check if the value has been set.

func (*IPReservation) GetType ¶ added in v0.3.0

func (o *IPReservation) GetType() IPReservationType

GetType returns the Type field value

func (*IPReservation) GetTypeOk ¶ added in v0.3.0

func (o *IPReservation) GetTypeOk() (*IPReservationType, bool)

GetTypeOk returns a tuple with the Type field value and a boolean to check if the value has been set.

func (*IPReservation) HasAddon ¶

func (o *IPReservation) HasAddon() bool

HasAddon returns a boolean if a field has been set.

func (*IPReservation) HasAddress ¶ added in v0.3.0

func (o *IPReservation) HasAddress() bool

HasAddress returns a boolean if a field has been set.

func (*IPReservation) HasAddressFamily ¶

func (o *IPReservation) HasAddressFamily() bool

HasAddressFamily returns a boolean if a field has been set.

func (*IPReservation) HasAssignments ¶

func (o *IPReservation) HasAssignments() bool

HasAssignments returns a boolean if a field has been set.

func (*IPReservation) HasAvailable ¶ added in v0.3.0

func (o *IPReservation) HasAvailable() bool

HasAvailable returns a boolean if a field has been set.

func (*IPReservation) HasBill ¶

func (o *IPReservation) HasBill() bool

HasBill returns a boolean if a field has been set.

func (*IPReservation) HasCidr ¶

func (o *IPReservation) HasCidr() bool

HasCidr returns a boolean if a field has been set.

func (*IPReservation) HasCreatedAt ¶

func (o *IPReservation) HasCreatedAt() bool

HasCreatedAt returns a boolean if a field has been set.

func (*IPReservation) HasCustomdata ¶ added in v0.3.0

func (o *IPReservation) HasCustomdata() bool

HasCustomdata returns a boolean if a field has been set.

func (*IPReservation) HasDetails ¶ added in v0.3.0

func (o *IPReservation) HasDetails() bool

HasDetails returns a boolean if a field has been set.

func (*IPReservation) HasEnabled ¶

func (o *IPReservation) HasEnabled() bool

HasEnabled returns a boolean if a field has been set.

func (*IPReservation) HasFacility ¶

func (o *IPReservation) HasFacility() bool

HasFacility returns a boolean if a field has been set.

func (*IPReservation) HasGateway ¶ added in v0.3.0

func (o *IPReservation) HasGateway() bool

HasGateway returns a boolean if a field has been set.

func (*IPReservation) HasGlobalIp ¶

func (o *IPReservation) HasGlobalIp() bool

HasGlobalIp returns a boolean if a field has been set.

func (*IPReservation) HasHref ¶

func (o *IPReservation) HasHref() bool

HasHref returns a boolean if a field has been set.

func (*IPReservation) HasId ¶

func (o *IPReservation) HasId() bool

HasId returns a boolean if a field has been set.

func (*IPReservation) HasManageable ¶

func (o *IPReservation) HasManageable() bool

HasManageable returns a boolean if a field has been set.

func (*IPReservation) HasManagement ¶

func (o *IPReservation) HasManagement() bool

HasManagement returns a boolean if a field has been set.

func (*IPReservation) HasMetalGateway ¶

func (o *IPReservation) HasMetalGateway() bool

HasMetalGateway returns a boolean if a field has been set.

func (*IPReservation) HasMetro ¶

func (o *IPReservation) HasMetro() bool

HasMetro returns a boolean if a field has been set.

func (*IPReservation) HasNetmask ¶

func (o *IPReservation) HasNetmask() bool

HasNetmask returns a boolean if a field has been set.

func (*IPReservation) HasNetwork ¶

func (o *IPReservation) HasNetwork() bool

HasNetwork returns a boolean if a field has been set.

func (*IPReservation) HasProject ¶ added in v0.3.0

func (o *IPReservation) HasProject() bool

HasProject returns a boolean if a field has been set.

func (*IPReservation) HasProjectLite ¶ added in v0.3.0

func (o *IPReservation) HasProjectLite() bool

HasProjectLite returns a boolean if a field has been set.

func (*IPReservation) HasPublic ¶

func (o *IPReservation) HasPublic() bool

HasPublic returns a boolean if a field has been set.

func (*IPReservation) HasRequestedBy ¶ added in v0.3.0

func (o *IPReservation) HasRequestedBy() bool

HasRequestedBy returns a boolean if a field has been set.

func (*IPReservation) HasState ¶

func (o *IPReservation) HasState() bool

HasState returns a boolean if a field has been set.

func (*IPReservation) HasTags ¶

func (o *IPReservation) HasTags() bool

HasTags returns a boolean if a field has been set.

func (IPReservation) MarshalJSON ¶

func (o IPReservation) MarshalJSON() ([]byte, error)

func (*IPReservation) SetAddon ¶

func (o *IPReservation) SetAddon(v bool)

SetAddon gets a reference to the given bool and assigns it to the Addon field.

func (*IPReservation) SetAddress ¶ added in v0.3.0

func (o *IPReservation) SetAddress(v string)

SetAddress gets a reference to the given string and assigns it to the Address field.

func (*IPReservation) SetAddressFamily ¶

func (o *IPReservation) SetAddressFamily(v int32)

SetAddressFamily gets a reference to the given int32 and assigns it to the AddressFamily field.

func (*IPReservation) SetAssignments ¶

func (o *IPReservation) SetAssignments(v []IPAssignment)

SetAssignments gets a reference to the given []IPAssignment and assigns it to the Assignments field.

func (*IPReservation) SetAvailable ¶ added in v0.3.0

func (o *IPReservation) SetAvailable(v string)

SetAvailable gets a reference to the given string and assigns it to the Available field.

func (*IPReservation) SetBill ¶

func (o *IPReservation) SetBill(v bool)

SetBill gets a reference to the given bool and assigns it to the Bill field.

func (*IPReservation) SetCidr ¶

func (o *IPReservation) SetCidr(v int32)

SetCidr gets a reference to the given int32 and assigns it to the Cidr field.

func (*IPReservation) SetCreatedAt ¶

func (o *IPReservation) SetCreatedAt(v time.Time)

SetCreatedAt gets a reference to the given time.Time and assigns it to the CreatedAt field.

func (*IPReservation) SetCustomdata ¶ added in v0.3.0

func (o *IPReservation) SetCustomdata(v map[string]interface{})

SetCustomdata gets a reference to the given map[string]interface{} and assigns it to the Customdata field.

func (*IPReservation) SetDetails ¶ added in v0.3.0

func (o *IPReservation) SetDetails(v string)

SetDetails gets a reference to the given string and assigns it to the Details field.

func (*IPReservation) SetEnabled ¶

func (o *IPReservation) SetEnabled(v bool)

SetEnabled gets a reference to the given bool and assigns it to the Enabled field.

func (*IPReservation) SetFacility ¶

func (o *IPReservation) SetFacility(v IPReservationFacility)

SetFacility gets a reference to the given IPReservationFacility and assigns it to the Facility field.

func (*IPReservation) SetGateway ¶ added in v0.3.0

func (o *IPReservation) SetGateway(v string)

SetGateway gets a reference to the given string and assigns it to the Gateway field.

func (*IPReservation) SetGlobalIp ¶

func (o *IPReservation) SetGlobalIp(v bool)

SetGlobalIp gets a reference to the given bool and assigns it to the GlobalIp field.

func (*IPReservation) SetHref ¶

func (o *IPReservation) SetHref(v string)

SetHref gets a reference to the given string and assigns it to the Href field.

func (*IPReservation) SetId ¶

func (o *IPReservation) SetId(v string)

SetId gets a reference to the given string and assigns it to the Id field.

func (*IPReservation) SetManageable ¶

func (o *IPReservation) SetManageable(v bool)

SetManageable gets a reference to the given bool and assigns it to the Manageable field.

func (*IPReservation) SetManagement ¶

func (o *IPReservation) SetManagement(v bool)

SetManagement gets a reference to the given bool and assigns it to the Management field.

func (*IPReservation) SetMetalGateway ¶

func (o *IPReservation) SetMetalGateway(v MetalGatewayLite)

SetMetalGateway gets a reference to the given MetalGatewayLite and assigns it to the MetalGateway field.

func (*IPReservation) SetMetro ¶

func (o *IPReservation) SetMetro(v IPReservationMetro)

SetMetro gets a reference to the given IPReservationMetro and assigns it to the Metro field.

func (*IPReservation) SetNetmask ¶

func (o *IPReservation) SetNetmask(v string)

SetNetmask gets a reference to the given string and assigns it to the Netmask field.

func (*IPReservation) SetNetwork ¶

func (o *IPReservation) SetNetwork(v string)

SetNetwork gets a reference to the given string and assigns it to the Network field.

func (*IPReservation) SetProject ¶ added in v0.3.0

func (o *IPReservation) SetProject(v Project)

SetProject gets a reference to the given Project and assigns it to the Project field.

func (*IPReservation) SetProjectLite ¶ added in v0.3.0

func (o *IPReservation) SetProjectLite(v Href)

SetProjectLite gets a reference to the given Href and assigns it to the ProjectLite field.

func (*IPReservation) SetPublic ¶

func (o *IPReservation) SetPublic(v bool)

SetPublic gets a reference to the given bool and assigns it to the Public field.

func (*IPReservation) SetRequestedBy ¶ added in v0.3.0

func (o *IPReservation) SetRequestedBy(v Href)

SetRequestedBy gets a reference to the given Href and assigns it to the RequestedBy field.

func (*IPReservation) SetState ¶

func (o *IPReservation) SetState(v string)

SetState gets a reference to the given string and assigns it to the State field.

func (*IPReservation) SetTags ¶

func (o *IPReservation) SetTags(v []string)

SetTags gets a reference to the given []string and assigns it to the Tags field.

func (*IPReservation) SetType ¶ added in v0.3.0

func (o *IPReservation) SetType(v IPReservationType)

SetType sets field value

func (IPReservation) ToMap ¶ added in v0.4.0

func (o IPReservation) ToMap() (map[string]interface{}, error)

func (*IPReservation) UnmarshalJSON ¶ added in v0.27.0

func (o *IPReservation) UnmarshalJSON(bytes []byte) (err error)

type IPReservationFacility ¶

type IPReservationFacility struct {
	Address  *Address                `json:"address,omitempty"`
	Code     *string                 `json:"code,omitempty"`
	Features []FacilityFeaturesInner `json:"features,omitempty"`
	Id       *string                 `json:"id,omitempty"`
	// IP ranges registered in facility. Can be used for GeoIP location
	IpRanges             []string     `json:"ip_ranges,omitempty"`
	Metro                *DeviceMetro `json:"metro,omitempty"`
	Name                 *string      `json:"name,omitempty"`
	AdditionalProperties map[string]interface{}
}

IPReservationFacility struct for IPReservationFacility

func NewIPReservationFacility ¶

func NewIPReservationFacility() *IPReservationFacility

NewIPReservationFacility instantiates a new IPReservationFacility object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewIPReservationFacilityWithDefaults ¶

func NewIPReservationFacilityWithDefaults() *IPReservationFacility

NewIPReservationFacilityWithDefaults instantiates a new IPReservationFacility object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*IPReservationFacility) GetAddress ¶

func (o *IPReservationFacility) GetAddress() Address

GetAddress returns the Address field value if set, zero value otherwise.

func (*IPReservationFacility) GetAddressOk ¶

func (o *IPReservationFacility) GetAddressOk() (*Address, bool)

GetAddressOk returns a tuple with the Address field value if set, nil otherwise and a boolean to check if the value has been set.

func (*IPReservationFacility) GetCode ¶

func (o *IPReservationFacility) GetCode() string

GetCode returns the Code field value if set, zero value otherwise.

func (*IPReservationFacility) GetCodeOk ¶

func (o *IPReservationFacility) GetCodeOk() (*string, bool)

GetCodeOk returns a tuple with the Code field value if set, nil otherwise and a boolean to check if the value has been set.

func (*IPReservationFacility) GetFeatures ¶

func (o *IPReservationFacility) GetFeatures() []FacilityFeaturesInner

GetFeatures returns the Features field value if set, zero value otherwise.

func (*IPReservationFacility) GetFeaturesOk ¶

func (o *IPReservationFacility) GetFeaturesOk() ([]FacilityFeaturesInner, bool)

GetFeaturesOk returns a tuple with the Features field value if set, nil otherwise and a boolean to check if the value has been set.

func (*IPReservationFacility) GetId ¶

func (o *IPReservationFacility) GetId() string

GetId returns the Id field value if set, zero value otherwise.

func (*IPReservationFacility) GetIdOk ¶

func (o *IPReservationFacility) GetIdOk() (*string, bool)

GetIdOk returns a tuple with the Id field value if set, nil otherwise and a boolean to check if the value has been set.

func (*IPReservationFacility) GetIpRanges ¶

func (o *IPReservationFacility) GetIpRanges() []string

GetIpRanges returns the IpRanges field value if set, zero value otherwise.

func (*IPReservationFacility) GetIpRangesOk ¶

func (o *IPReservationFacility) GetIpRangesOk() ([]string, bool)

GetIpRangesOk returns a tuple with the IpRanges field value if set, nil otherwise and a boolean to check if the value has been set.

func (*IPReservationFacility) GetMetro ¶

func (o *IPReservationFacility) GetMetro() DeviceMetro

GetMetro returns the Metro field value if set, zero value otherwise.

func (*IPReservationFacility) GetMetroOk ¶

func (o *IPReservationFacility) GetMetroOk() (*DeviceMetro, bool)

GetMetroOk returns a tuple with the Metro field value if set, nil otherwise and a boolean to check if the value has been set.

func (*IPReservationFacility) GetName ¶

func (o *IPReservationFacility) GetName() string

GetName returns the Name field value if set, zero value otherwise.

func (*IPReservationFacility) GetNameOk ¶

func (o *IPReservationFacility) GetNameOk() (*string, bool)

GetNameOk returns a tuple with the Name field value if set, nil otherwise and a boolean to check if the value has been set.

func (*IPReservationFacility) HasAddress ¶

func (o *IPReservationFacility) HasAddress() bool

HasAddress returns a boolean if a field has been set.

func (*IPReservationFacility) HasCode ¶

func (o *IPReservationFacility) HasCode() bool

HasCode returns a boolean if a field has been set.

func (*IPReservationFacility) HasFeatures ¶

func (o *IPReservationFacility) HasFeatures() bool

HasFeatures returns a boolean if a field has been set.

func (*IPReservationFacility) HasId ¶

func (o *IPReservationFacility) HasId() bool

HasId returns a boolean if a field has been set.

func (*IPReservationFacility) HasIpRanges ¶

func (o *IPReservationFacility) HasIpRanges() bool

HasIpRanges returns a boolean if a field has been set.

func (*IPReservationFacility) HasMetro ¶

func (o *IPReservationFacility) HasMetro() bool

HasMetro returns a boolean if a field has been set.

func (*IPReservationFacility) HasName ¶

func (o *IPReservationFacility) HasName() bool

HasName returns a boolean if a field has been set.

func (IPReservationFacility) MarshalJSON ¶

func (o IPReservationFacility) MarshalJSON() ([]byte, error)

func (*IPReservationFacility) SetAddress ¶

func (o *IPReservationFacility) SetAddress(v Address)

SetAddress gets a reference to the given Address and assigns it to the Address field.

func (*IPReservationFacility) SetCode ¶

func (o *IPReservationFacility) SetCode(v string)

SetCode gets a reference to the given string and assigns it to the Code field.

func (*IPReservationFacility) SetFeatures ¶

func (o *IPReservationFacility) SetFeatures(v []FacilityFeaturesInner)

SetFeatures gets a reference to the given []FacilityFeaturesInner and assigns it to the Features field.

func (*IPReservationFacility) SetId ¶

func (o *IPReservationFacility) SetId(v string)

SetId gets a reference to the given string and assigns it to the Id field.

func (*IPReservationFacility) SetIpRanges ¶

func (o *IPReservationFacility) SetIpRanges(v []string)

SetIpRanges gets a reference to the given []string and assigns it to the IpRanges field.

func (*IPReservationFacility) SetMetro ¶

func (o *IPReservationFacility) SetMetro(v DeviceMetro)

SetMetro gets a reference to the given DeviceMetro and assigns it to the Metro field.

func (*IPReservationFacility) SetName ¶

func (o *IPReservationFacility) SetName(v string)

SetName gets a reference to the given string and assigns it to the Name field.

func (IPReservationFacility) ToMap ¶ added in v0.4.0

func (o IPReservationFacility) ToMap() (map[string]interface{}, error)

func (*IPReservationFacility) UnmarshalJSON ¶ added in v0.7.0

func (o *IPReservationFacility) UnmarshalJSON(bytes []byte) (err error)

type IPReservationList ¶

type IPReservationList struct {
	IpAddresses          []IPReservationListIpAddressesInner `json:"ip_addresses,omitempty"`
	Meta                 *Meta                               `json:"meta,omitempty"`
	AdditionalProperties map[string]interface{}
}

IPReservationList struct for IPReservationList

func NewIPReservationList ¶

func NewIPReservationList() *IPReservationList

NewIPReservationList instantiates a new IPReservationList object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewIPReservationListWithDefaults ¶

func NewIPReservationListWithDefaults() *IPReservationList

NewIPReservationListWithDefaults instantiates a new IPReservationList object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*IPReservationList) GetIpAddresses ¶

GetIpAddresses returns the IpAddresses field value if set, zero value otherwise.

func (*IPReservationList) GetIpAddressesOk ¶

func (o *IPReservationList) GetIpAddressesOk() ([]IPReservationListIpAddressesInner, bool)

GetIpAddressesOk returns a tuple with the IpAddresses field value if set, nil otherwise and a boolean to check if the value has been set.

func (*IPReservationList) GetMeta ¶ added in v0.19.0

func (o *IPReservationList) GetMeta() Meta

GetMeta returns the Meta field value if set, zero value otherwise.

func (*IPReservationList) GetMetaOk ¶ added in v0.19.0

func (o *IPReservationList) GetMetaOk() (*Meta, bool)

GetMetaOk returns a tuple with the Meta field value if set, nil otherwise and a boolean to check if the value has been set.

func (*IPReservationList) HasIpAddresses ¶

func (o *IPReservationList) HasIpAddresses() bool

HasIpAddresses returns a boolean if a field has been set.

func (*IPReservationList) HasMeta ¶ added in v0.19.0

func (o *IPReservationList) HasMeta() bool

HasMeta returns a boolean if a field has been set.

func (IPReservationList) MarshalJSON ¶

func (o IPReservationList) MarshalJSON() ([]byte, error)

func (*IPReservationList) SetIpAddresses ¶

SetIpAddresses gets a reference to the given []IPReservationListIpAddressesInner and assigns it to the IpAddresses field.

func (*IPReservationList) SetMeta ¶ added in v0.19.0

func (o *IPReservationList) SetMeta(v Meta)

SetMeta gets a reference to the given Meta and assigns it to the Meta field.

func (IPReservationList) ToMap ¶ added in v0.4.0

func (o IPReservationList) ToMap() (map[string]interface{}, error)

func (*IPReservationList) UnmarshalJSON ¶ added in v0.7.0

func (o *IPReservationList) UnmarshalJSON(bytes []byte) (err error)

type IPReservationListIpAddressesInner ¶ added in v0.4.0

type IPReservationListIpAddressesInner struct {
	IPReservation    *IPReservation
	VrfIpReservation *VrfIpReservation
}

IPReservationListIpAddressesInner struct for IPReservationListIpAddressesInner

func (*IPReservationListIpAddressesInner) MarshalJSON ¶ added in v0.4.0

func (src *IPReservationListIpAddressesInner) MarshalJSON() ([]byte, error)

Marshal data from the first non-nil pointers in the struct to JSON

func (*IPReservationListIpAddressesInner) UnmarshalJSON ¶ added in v0.4.0

func (dst *IPReservationListIpAddressesInner) UnmarshalJSON(data []byte) error

Unmarshal JSON data into any of the pointers in the struct

type IPReservationMetro ¶

type IPReservationMetro struct {
	Code                 *string `json:"code,omitempty"`
	Country              *string `json:"country,omitempty"`
	Id                   *string `json:"id,omitempty"`
	Name                 *string `json:"name,omitempty"`
	AdditionalProperties map[string]interface{}
}

IPReservationMetro struct for IPReservationMetro

func NewIPReservationMetro ¶

func NewIPReservationMetro() *IPReservationMetro

NewIPReservationMetro instantiates a new IPReservationMetro object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewIPReservationMetroWithDefaults ¶

func NewIPReservationMetroWithDefaults() *IPReservationMetro

NewIPReservationMetroWithDefaults instantiates a new IPReservationMetro object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*IPReservationMetro) GetCode ¶

func (o *IPReservationMetro) GetCode() string

GetCode returns the Code field value if set, zero value otherwise.

func (*IPReservationMetro) GetCodeOk ¶

func (o *IPReservationMetro) GetCodeOk() (*string, bool)

GetCodeOk returns a tuple with the Code field value if set, nil otherwise and a boolean to check if the value has been set.

func (*IPReservationMetro) GetCountry ¶

func (o *IPReservationMetro) GetCountry() string

GetCountry returns the Country field value if set, zero value otherwise.

func (*IPReservationMetro) GetCountryOk ¶

func (o *IPReservationMetro) GetCountryOk() (*string, bool)

GetCountryOk returns a tuple with the Country field value if set, nil otherwise and a boolean to check if the value has been set.

func (*IPReservationMetro) GetId ¶

func (o *IPReservationMetro) GetId() string

GetId returns the Id field value if set, zero value otherwise.

func (*IPReservationMetro) GetIdOk ¶

func (o *IPReservationMetro) GetIdOk() (*string, bool)

GetIdOk returns a tuple with the Id field value if set, nil otherwise and a boolean to check if the value has been set.

func (*IPReservationMetro) GetName ¶

func (o *IPReservationMetro) GetName() string

GetName returns the Name field value if set, zero value otherwise.

func (*IPReservationMetro) GetNameOk ¶

func (o *IPReservationMetro) GetNameOk() (*string, bool)

GetNameOk returns a tuple with the Name field value if set, nil otherwise and a boolean to check if the value has been set.

func (*IPReservationMetro) HasCode ¶

func (o *IPReservationMetro) HasCode() bool

HasCode returns a boolean if a field has been set.

func (*IPReservationMetro) HasCountry ¶

func (o *IPReservationMetro) HasCountry() bool

HasCountry returns a boolean if a field has been set.

func (*IPReservationMetro) HasId ¶

func (o *IPReservationMetro) HasId() bool

HasId returns a boolean if a field has been set.

func (*IPReservationMetro) HasName ¶

func (o *IPReservationMetro) HasName() bool

HasName returns a boolean if a field has been set.

func (IPReservationMetro) MarshalJSON ¶

func (o IPReservationMetro) MarshalJSON() ([]byte, error)

func (*IPReservationMetro) SetCode ¶

func (o *IPReservationMetro) SetCode(v string)

SetCode gets a reference to the given string and assigns it to the Code field.

func (*IPReservationMetro) SetCountry ¶

func (o *IPReservationMetro) SetCountry(v string)

SetCountry gets a reference to the given string and assigns it to the Country field.

func (*IPReservationMetro) SetId ¶

func (o *IPReservationMetro) SetId(v string)

SetId gets a reference to the given string and assigns it to the Id field.

func (*IPReservationMetro) SetName ¶

func (o *IPReservationMetro) SetName(v string)

SetName gets a reference to the given string and assigns it to the Name field.

func (IPReservationMetro) ToMap ¶ added in v0.4.0

func (o IPReservationMetro) ToMap() (map[string]interface{}, error)

func (*IPReservationMetro) UnmarshalJSON ¶ added in v0.7.0

func (o *IPReservationMetro) UnmarshalJSON(bytes []byte) (err error)

type IPReservationRequestInput ¶

type IPReservationRequestInput struct {
	Comments               *string                `json:"comments,omitempty"`
	Customdata             map[string]interface{} `json:"customdata,omitempty"`
	Details                *string                `json:"details,omitempty"`
	Facility               *string                `json:"facility,omitempty"`
	FailOnApprovalRequired *bool                  `json:"fail_on_approval_required,omitempty"`
	// The code of the metro you are requesting the IP reservation in.
	Metro                *string  `json:"metro,omitempty"`
	Quantity             int32    `json:"quantity"`
	Tags                 []string `json:"tags,omitempty"`
	Type                 string   `json:"type"`
	AdditionalProperties map[string]interface{}
}

IPReservationRequestInput struct for IPReservationRequestInput

func NewIPReservationRequestInput ¶

func NewIPReservationRequestInput(quantity int32, type_ string) *IPReservationRequestInput

NewIPReservationRequestInput instantiates a new IPReservationRequestInput object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewIPReservationRequestInputWithDefaults ¶

func NewIPReservationRequestInputWithDefaults() *IPReservationRequestInput

NewIPReservationRequestInputWithDefaults instantiates a new IPReservationRequestInput object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*IPReservationRequestInput) GetComments ¶

func (o *IPReservationRequestInput) GetComments() string

GetComments returns the Comments field value if set, zero value otherwise.

func (*IPReservationRequestInput) GetCommentsOk ¶

func (o *IPReservationRequestInput) GetCommentsOk() (*string, bool)

GetCommentsOk returns a tuple with the Comments field value if set, nil otherwise and a boolean to check if the value has been set.

func (*IPReservationRequestInput) GetCustomdata ¶

func (o *IPReservationRequestInput) GetCustomdata() map[string]interface{}

GetCustomdata returns the Customdata field value if set, zero value otherwise.

func (*IPReservationRequestInput) GetCustomdataOk ¶

func (o *IPReservationRequestInput) GetCustomdataOk() (map[string]interface{}, bool)

GetCustomdataOk returns a tuple with the Customdata field value if set, nil otherwise and a boolean to check if the value has been set.

func (*IPReservationRequestInput) GetDetails ¶

func (o *IPReservationRequestInput) GetDetails() string

GetDetails returns the Details field value if set, zero value otherwise.

func (*IPReservationRequestInput) GetDetailsOk ¶

func (o *IPReservationRequestInput) GetDetailsOk() (*string, bool)

GetDetailsOk returns a tuple with the Details field value if set, nil otherwise and a boolean to check if the value has been set.

func (*IPReservationRequestInput) GetFacility ¶

func (o *IPReservationRequestInput) GetFacility() string

GetFacility returns the Facility field value if set, zero value otherwise.

func (*IPReservationRequestInput) GetFacilityOk ¶

func (o *IPReservationRequestInput) GetFacilityOk() (*string, bool)

GetFacilityOk returns a tuple with the Facility field value if set, nil otherwise and a boolean to check if the value has been set.

func (*IPReservationRequestInput) GetFailOnApprovalRequired ¶

func (o *IPReservationRequestInput) GetFailOnApprovalRequired() bool

GetFailOnApprovalRequired returns the FailOnApprovalRequired field value if set, zero value otherwise.

func (*IPReservationRequestInput) GetFailOnApprovalRequiredOk ¶

func (o *IPReservationRequestInput) GetFailOnApprovalRequiredOk() (*bool, bool)

GetFailOnApprovalRequiredOk returns a tuple with the FailOnApprovalRequired field value if set, nil otherwise and a boolean to check if the value has been set.

func (*IPReservationRequestInput) GetMetro ¶

func (o *IPReservationRequestInput) GetMetro() string

GetMetro returns the Metro field value if set, zero value otherwise.

func (*IPReservationRequestInput) GetMetroOk ¶

func (o *IPReservationRequestInput) GetMetroOk() (*string, bool)

GetMetroOk returns a tuple with the Metro field value if set, nil otherwise and a boolean to check if the value has been set.

func (*IPReservationRequestInput) GetQuantity ¶

func (o *IPReservationRequestInput) GetQuantity() int32

GetQuantity returns the Quantity field value

func (*IPReservationRequestInput) GetQuantityOk ¶

func (o *IPReservationRequestInput) GetQuantityOk() (*int32, bool)

GetQuantityOk returns a tuple with the Quantity field value and a boolean to check if the value has been set.

func (*IPReservationRequestInput) GetTags ¶

func (o *IPReservationRequestInput) GetTags() []string

GetTags returns the Tags field value if set, zero value otherwise.

func (*IPReservationRequestInput) GetTagsOk ¶

func (o *IPReservationRequestInput) GetTagsOk() ([]string, bool)

GetTagsOk returns a tuple with the Tags field value if set, nil otherwise and a boolean to check if the value has been set.

func (*IPReservationRequestInput) GetType ¶

func (o *IPReservationRequestInput) GetType() string

GetType returns the Type field value

func (*IPReservationRequestInput) GetTypeOk ¶

func (o *IPReservationRequestInput) GetTypeOk() (*string, bool)

GetTypeOk returns a tuple with the Type field value and a boolean to check if the value has been set.

func (*IPReservationRequestInput) HasComments ¶

func (o *IPReservationRequestInput) HasComments() bool

HasComments returns a boolean if a field has been set.

func (*IPReservationRequestInput) HasCustomdata ¶

func (o *IPReservationRequestInput) HasCustomdata() bool

HasCustomdata returns a boolean if a field has been set.

func (*IPReservationRequestInput) HasDetails ¶

func (o *IPReservationRequestInput) HasDetails() bool

HasDetails returns a boolean if a field has been set.

func (*IPReservationRequestInput) HasFacility ¶

func (o *IPReservationRequestInput) HasFacility() bool

HasFacility returns a boolean if a field has been set.

func (*IPReservationRequestInput) HasFailOnApprovalRequired ¶

func (o *IPReservationRequestInput) HasFailOnApprovalRequired() bool

HasFailOnApprovalRequired returns a boolean if a field has been set.

func (*IPReservationRequestInput) HasMetro ¶

func (o *IPReservationRequestInput) HasMetro() bool

HasMetro returns a boolean if a field has been set.

func (*IPReservationRequestInput) HasTags ¶

func (o *IPReservationRequestInput) HasTags() bool

HasTags returns a boolean if a field has been set.

func (IPReservationRequestInput) MarshalJSON ¶

func (o IPReservationRequestInput) MarshalJSON() ([]byte, error)

func (*IPReservationRequestInput) SetComments ¶

func (o *IPReservationRequestInput) SetComments(v string)

SetComments gets a reference to the given string and assigns it to the Comments field.

func (*IPReservationRequestInput) SetCustomdata ¶

func (o *IPReservationRequestInput) SetCustomdata(v map[string]interface{})

SetCustomdata gets a reference to the given map[string]interface{} and assigns it to the Customdata field.

func (*IPReservationRequestInput) SetDetails ¶

func (o *IPReservationRequestInput) SetDetails(v string)

SetDetails gets a reference to the given string and assigns it to the Details field.

func (*IPReservationRequestInput) SetFacility ¶

func (o *IPReservationRequestInput) SetFacility(v string)

SetFacility gets a reference to the given string and assigns it to the Facility field.

func (*IPReservationRequestInput) SetFailOnApprovalRequired ¶

func (o *IPReservationRequestInput) SetFailOnApprovalRequired(v bool)

SetFailOnApprovalRequired gets a reference to the given bool and assigns it to the FailOnApprovalRequired field.

func (*IPReservationRequestInput) SetMetro ¶

func (o *IPReservationRequestInput) SetMetro(v string)

SetMetro gets a reference to the given string and assigns it to the Metro field.

func (*IPReservationRequestInput) SetQuantity ¶

func (o *IPReservationRequestInput) SetQuantity(v int32)

SetQuantity sets field value

func (*IPReservationRequestInput) SetTags ¶

func (o *IPReservationRequestInput) SetTags(v []string)

SetTags gets a reference to the given []string and assigns it to the Tags field.

func (*IPReservationRequestInput) SetType ¶

func (o *IPReservationRequestInput) SetType(v string)

SetType sets field value

func (IPReservationRequestInput) ToMap ¶ added in v0.4.0

func (o IPReservationRequestInput) ToMap() (map[string]interface{}, error)

func (*IPReservationRequestInput) UnmarshalJSON ¶ added in v0.7.0

func (o *IPReservationRequestInput) UnmarshalJSON(bytes []byte) (err error)

type IPReservationType ¶ added in v0.22.0

type IPReservationType string

IPReservationType the model 'IPReservationType'

const (
	IPRESERVATIONTYPE_GLOBAL_IPV4  IPReservationType = "global_ipv4"
	IPRESERVATIONTYPE_PUBLIC_IPV4  IPReservationType = "public_ipv4"
	IPRESERVATIONTYPE_PRIVATE_IPV4 IPReservationType = "private_ipv4"
	IPRESERVATIONTYPE_PUBLIC_IPV6  IPReservationType = "public_ipv6"
)

List of IPReservation_type

func NewIPReservationTypeFromValue ¶ added in v0.22.0

func NewIPReservationTypeFromValue(v string) (*IPReservationType, error)

NewIPReservationTypeFromValue returns a pointer to a valid IPReservationType for the value passed as argument, or an error if the value passed is not allowed by the enum

func (IPReservationType) IsValid ¶ added in v0.22.0

func (v IPReservationType) IsValid() bool

IsValid return true if the value is valid for the enum, false otherwise

func (IPReservationType) Ptr ¶ added in v0.22.0

Ptr returns reference to IPReservation_type value

func (*IPReservationType) UnmarshalJSON ¶ added in v0.22.0

func (v *IPReservationType) UnmarshalJSON(src []byte) error

type IncidentsApiService ¶

type IncidentsApiService service

IncidentsApiService IncidentsApi service

func (*IncidentsApiService) FindIncidents ¶

FindIncidents Retrieve the number of incidents

Retrieve the number of incidents.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@return ApiFindIncidentsRequest

func (*IncidentsApiService) FindIncidentsExecute ¶

func (a *IncidentsApiService) FindIncidentsExecute(r ApiFindIncidentsRequest) (*http.Response, error)

Execute executes the request

type InstancesBatchCreateInput ¶

type InstancesBatchCreateInput struct {
	Batches              []InstancesBatchCreateInputBatchesInner `json:"batches,omitempty"`
	AdditionalProperties map[string]interface{}
}

InstancesBatchCreateInput struct for InstancesBatchCreateInput

func NewInstancesBatchCreateInput ¶

func NewInstancesBatchCreateInput() *InstancesBatchCreateInput

NewInstancesBatchCreateInput instantiates a new InstancesBatchCreateInput object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewInstancesBatchCreateInputWithDefaults ¶

func NewInstancesBatchCreateInputWithDefaults() *InstancesBatchCreateInput

NewInstancesBatchCreateInputWithDefaults instantiates a new InstancesBatchCreateInput object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*InstancesBatchCreateInput) GetBatches ¶

GetBatches returns the Batches field value if set, zero value otherwise.

func (*InstancesBatchCreateInput) GetBatchesOk ¶

GetBatchesOk returns a tuple with the Batches field value if set, nil otherwise and a boolean to check if the value has been set.

func (*InstancesBatchCreateInput) HasBatches ¶

func (o *InstancesBatchCreateInput) HasBatches() bool

HasBatches returns a boolean if a field has been set.

func (InstancesBatchCreateInput) MarshalJSON ¶

func (o InstancesBatchCreateInput) MarshalJSON() ([]byte, error)

func (*InstancesBatchCreateInput) SetBatches ¶

SetBatches gets a reference to the given []InstancesBatchCreateInputBatchesInner and assigns it to the Batches field.

func (InstancesBatchCreateInput) ToMap ¶ added in v0.4.0

func (o InstancesBatchCreateInput) ToMap() (map[string]interface{}, error)

func (*InstancesBatchCreateInput) UnmarshalJSON ¶ added in v0.7.0

func (o *InstancesBatchCreateInput) UnmarshalJSON(bytes []byte) (err error)

type InstancesBatchCreateInputBatchesInner ¶ added in v0.4.0

type InstancesBatchCreateInputBatchesInner struct {
	Hostnames []string `json:"hostnames,omitempty"`
	// The number of devices to create in this batch. The hostname may contain an `{{index}}` placeholder, which will be replaced with the index of the device in the batch. For example, if the hostname is `device-{{index}}`, the first device in the batch will have the hostname `device-01`, the second device will have the hostname `device-02`, and so on.
	Quantity *int32 `json:"quantity,omitempty"`
	// Metro code or ID of where the instance should be provisioned in. Either metro or facility must be provided.
	Metro string `json:"metro"`
	// When true, devices with a `custom_ipxe` OS will always boot to iPXE. The default setting of false ensures that iPXE will be used on only the first boot.
	AlwaysPxe    *bool                          `json:"always_pxe,omitempty"`
	BillingCycle *DeviceCreateInputBillingCycle `json:"billing_cycle,omitempty"`
	// Customdata is an arbitrary JSON value that can be accessed via the metadata service.
	Customdata map[string]interface{} `json:"customdata,omitempty"`
	// Any description of the device or how it will be used. This may be used to inform other API consumers with project access.
	Description *string `json:"description,omitempty"`
	// The features attribute allows you to optionally specify what features your server should have.  In the API shorthand syntax, all features listed are `required`:  “` { \"features\": [\"tpm\"] } “`  Alternatively, if you do not require a certain feature, but would prefer to be assigned a server with that feature if there are any available, you may specify that feature with a `preferred` value. The request will not fail if we have no servers with that feature in our inventory. The API offers an alternative syntax for mixing preferred and required features:  “` { \"features\": { \"tpm\": \"required\", \"raid\": \"preferred\" } } “`  The request will only fail if there are no available servers matching the required `tpm` criteria.
	Features []string `json:"features,omitempty"`
	// The Hardware Reservation UUID to provision. Alternatively, `next-available` can be specified to select from any of the available hardware reservations. An error will be returned if the requested reservation option is not available.  See [Reserved Hardware](https://metal.equinix.com/developers/docs/deploy/reserved/) for more details.
	HardwareReservationId *string `json:"hardware_reservation_id,omitempty"`
	// The hostname to use within the operating system. The same hostname may be used on multiple devices within a project.
	Hostname *string `json:"hostname,omitempty"`
	// The `ip_addresses attribute will allow you to specify the addresses you want created with your device.  The default value configures public IPv4, public IPv6, and private IPv4.  Private IPv4 address is required. When specifying `ip_addresses`, one of the array items must enable private IPv4.  Some operating systems require public IPv4 address. In those cases you will receive an error message if public IPv4 is not enabled.  For example, to only configure your server with a private IPv4 address, you can send `{ \"ip_addresses\": [{ \"address_family\": 4, \"public\": false }] }`.  It is possible to request a subnet size larger than a `/30` by assigning addresses using the UUID(s) of ip_reservations in your project.  For example, `{ \"ip_addresses\": [..., {\"address_family\": 4, \"public\": true, \"ip_reservations\": [\"uuid1\", \"uuid2\"]}] }`  To access a server without public IPs, you can use our Out-of-Band console access (SOS) or proxy through another server in the project with public IPs enabled.
	IpAddresses []IPAddress `json:"ip_addresses,omitempty"`
	// When set, the device will chainload an iPXE Script at boot fetched from the supplied URL.  See [Custom iPXE](https://metal.equinix.com/developers/docs/operating-systems/custom-ipxe/) for more details.
	IpxeScriptUrl *string `json:"ipxe_script_url,omitempty"`
	// Whether the device should be locked, preventing accidental deletion.
	Locked *bool `json:"locked,omitempty"`
	// If true, this instance can not be converted to a different network type.
	NetworkFrozen *bool `json:"network_frozen,omitempty"`
	// Overrides default behaviour of attaching all of the organization members ssh keys and project ssh keys to device if no specific keys specified
	NoSshKeys *bool `json:"no_ssh_keys,omitempty"`
	// The slug of the operating system to provision. Check the Equinix Metal operating system documentation for rules that may be imposed per operating system, including restrictions on IP address options and device plans.
	OperatingSystem string `json:"operating_system"`
	// The slug of the device plan to provision.
	Plan string `json:"plan"`
	// Deprecated. Use ip_addresses. Subnet range for addresses allocated to this device.
	PrivateIpv4SubnetSize *int32 `json:"private_ipv4_subnet_size,omitempty"`
	// A list of UUIDs identifying the device parent project that should be authorized to access this device (typically via /root/.ssh/authorized_keys). These keys will also appear in the device metadata.  If no SSH keys are specified (`user_ssh_keys`, `project_ssh_keys`, and `ssh_keys` are all empty lists or omitted), all parent project keys, parent project members keys and organization members keys will be included. This behaviour can be changed with 'no_ssh_keys' option to omit any SSH key being added.
	ProjectSshKeys []string `json:"project_ssh_keys,omitempty"`
	// Deprecated. Use ip_addresses. Subnet range for addresses allocated to this device. Your project must have addresses available for a non-default request.
	PublicIpv4SubnetSize *int32 `json:"public_ipv4_subnet_size,omitempty"`
	// Create a spot instance. Spot instances are created with a maximum bid price. If the bid price is not met, the spot instance will be terminated as indicated by the `termination_time` field.
	SpotInstance *bool `json:"spot_instance,omitempty"`
	// The maximum amount to bid for a spot instance.
	SpotPriceMax *float32 `json:"spot_price_max,omitempty"`
	// A list of new or existing project ssh_keys that should be authorized to access this device (typically via /root/.ssh/authorized_keys). These keys will also appear in the device metadata.  These keys are added in addition to any keys defined by   `project_ssh_keys` and `user_ssh_keys`.
	SshKeys []SSHKeyInput `json:"ssh_keys,omitempty"`
	Storage *Storage      `json:"storage,omitempty"`
	Tags    []string      `json:"tags,omitempty"`
	// When the device will be terminated. If you don't supply timezone info, the timestamp is assumed to be in UTC.  This is commonly set in advance for ephemeral spot market instances but this field may also be set with on-demand and reservation instances to automatically delete the resource at a given time. The termination time can also be used to release a hardware reservation instance at a given time, keeping the reservation open for other uses.  On a spot market device, the termination time will be set automatically when outbid.
	TerminationTime *time.Time `json:"termination_time,omitempty"`
	// A list of UUIDs identifying the users that should be authorized to access this device (typically via /root/.ssh/authorized_keys).  These keys will also appear in the device metadata.  The users must be members of the project or organization.  If no SSH keys are specified (`user_ssh_keys`, `project_ssh_keys`, and `ssh_keys` are all empty lists or omitted), all parent project keys, parent project members keys and organization members keys will be included. This behaviour can be changed with 'no_ssh_keys' option to omit any SSH key being added.
	UserSshKeys []string `json:"user_ssh_keys,omitempty"`
	// The userdata presented in the metadata service for this device.  Userdata is fetched and interpreted by the operating system installed on the device. Acceptable formats are determined by the operating system, with the exception of a special iPXE enabling syntax which is handled before the operating system starts.  See [Server User Data](https://metal.equinix.com/developers/docs/servers/user-data/) and [Provisioning with Custom iPXE](https://metal.equinix.com/developers/docs/operating-systems/custom-ipxe/#provisioning-with-custom-ipxe) for more details.
	Userdata *string `json:"userdata,omitempty"`
	// The datacenter where the device should be created.  Either metro or facility must be provided.  The API will accept either a single facility `{ \"facility\": \"f1\" }`, or it can be instructed to create the device in the best available datacenter `{ \"facility\": \"any\" }`.  Additionally it is possible to set a prioritized location selection. For example `{ \"facility\": [\"f3\", \"f2\", \"any\"] }` can be used to prioritize `f3` and then `f2` before accepting `any` facility. If none of the facilities provided have availability for the requested device the request will fail.
	// Deprecated
	Facility             []string `json:"facility"`
	AdditionalProperties map[string]interface{}
}

InstancesBatchCreateInputBatchesInner struct for InstancesBatchCreateInputBatchesInner

func NewInstancesBatchCreateInputBatchesInner ¶ added in v0.4.0

func NewInstancesBatchCreateInputBatchesInner(metro string, operatingSystem string, plan string, facility []string) *InstancesBatchCreateInputBatchesInner

NewInstancesBatchCreateInputBatchesInner instantiates a new InstancesBatchCreateInputBatchesInner object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewInstancesBatchCreateInputBatchesInnerWithDefaults ¶ added in v0.4.0

func NewInstancesBatchCreateInputBatchesInnerWithDefaults() *InstancesBatchCreateInputBatchesInner

NewInstancesBatchCreateInputBatchesInnerWithDefaults instantiates a new InstancesBatchCreateInputBatchesInner object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*InstancesBatchCreateInputBatchesInner) GetAlwaysPxe ¶ added in v0.4.0

func (o *InstancesBatchCreateInputBatchesInner) GetAlwaysPxe() bool

GetAlwaysPxe returns the AlwaysPxe field value if set, zero value otherwise.

func (*InstancesBatchCreateInputBatchesInner) GetAlwaysPxeOk ¶ added in v0.4.0

func (o *InstancesBatchCreateInputBatchesInner) GetAlwaysPxeOk() (*bool, bool)

GetAlwaysPxeOk returns a tuple with the AlwaysPxe field value if set, nil otherwise and a boolean to check if the value has been set.

func (*InstancesBatchCreateInputBatchesInner) GetBillingCycle ¶ added in v0.4.0

GetBillingCycle returns the BillingCycle field value if set, zero value otherwise.

func (*InstancesBatchCreateInputBatchesInner) GetBillingCycleOk ¶ added in v0.4.0

GetBillingCycleOk returns a tuple with the BillingCycle field value if set, nil otherwise and a boolean to check if the value has been set.

func (*InstancesBatchCreateInputBatchesInner) GetCustomdata ¶ added in v0.4.0

func (o *InstancesBatchCreateInputBatchesInner) GetCustomdata() map[string]interface{}

GetCustomdata returns the Customdata field value if set, zero value otherwise.

func (*InstancesBatchCreateInputBatchesInner) GetCustomdataOk ¶ added in v0.4.0

func (o *InstancesBatchCreateInputBatchesInner) GetCustomdataOk() (map[string]interface{}, bool)

GetCustomdataOk returns a tuple with the Customdata field value if set, nil otherwise and a boolean to check if the value has been set.

func (*InstancesBatchCreateInputBatchesInner) GetDescription ¶ added in v0.4.0

func (o *InstancesBatchCreateInputBatchesInner) GetDescription() string

GetDescription returns the Description field value if set, zero value otherwise.

func (*InstancesBatchCreateInputBatchesInner) GetDescriptionOk ¶ added in v0.4.0

func (o *InstancesBatchCreateInputBatchesInner) GetDescriptionOk() (*string, bool)

GetDescriptionOk returns a tuple with the Description field value if set, nil otherwise and a boolean to check if the value has been set.

func (*InstancesBatchCreateInputBatchesInner) GetFacility ¶ added in v0.4.0

func (o *InstancesBatchCreateInputBatchesInner) GetFacility() []string

GetFacility returns the Facility field value Deprecated

func (*InstancesBatchCreateInputBatchesInner) GetFacilityOk ¶ added in v0.4.0

func (o *InstancesBatchCreateInputBatchesInner) GetFacilityOk() ([]string, bool)

GetFacilityOk returns a tuple with the Facility field value and a boolean to check if the value has been set. Deprecated

func (*InstancesBatchCreateInputBatchesInner) GetFeatures ¶ added in v0.4.0

func (o *InstancesBatchCreateInputBatchesInner) GetFeatures() []string

GetFeatures returns the Features field value if set, zero value otherwise.

func (*InstancesBatchCreateInputBatchesInner) GetFeaturesOk ¶ added in v0.4.0

func (o *InstancesBatchCreateInputBatchesInner) GetFeaturesOk() ([]string, bool)

GetFeaturesOk returns a tuple with the Features field value if set, nil otherwise and a boolean to check if the value has been set.

func (*InstancesBatchCreateInputBatchesInner) GetHardwareReservationId ¶ added in v0.4.0

func (o *InstancesBatchCreateInputBatchesInner) GetHardwareReservationId() string

GetHardwareReservationId returns the HardwareReservationId field value if set, zero value otherwise.

func (*InstancesBatchCreateInputBatchesInner) GetHardwareReservationIdOk ¶ added in v0.4.0

func (o *InstancesBatchCreateInputBatchesInner) GetHardwareReservationIdOk() (*string, bool)

GetHardwareReservationIdOk returns a tuple with the HardwareReservationId field value if set, nil otherwise and a boolean to check if the value has been set.

func (*InstancesBatchCreateInputBatchesInner) GetHostname ¶ added in v0.4.0

GetHostname returns the Hostname field value if set, zero value otherwise.

func (*InstancesBatchCreateInputBatchesInner) GetHostnameOk ¶ added in v0.4.0

func (o *InstancesBatchCreateInputBatchesInner) GetHostnameOk() (*string, bool)

GetHostnameOk returns a tuple with the Hostname field value if set, nil otherwise and a boolean to check if the value has been set.

func (*InstancesBatchCreateInputBatchesInner) GetHostnames ¶ added in v0.4.0

func (o *InstancesBatchCreateInputBatchesInner) GetHostnames() []string

GetHostnames returns the Hostnames field value if set, zero value otherwise.

func (*InstancesBatchCreateInputBatchesInner) GetHostnamesOk ¶ added in v0.4.0

func (o *InstancesBatchCreateInputBatchesInner) GetHostnamesOk() ([]string, bool)

GetHostnamesOk returns a tuple with the Hostnames field value if set, nil otherwise and a boolean to check if the value has been set.

func (*InstancesBatchCreateInputBatchesInner) GetIpAddresses ¶ added in v0.4.0

func (o *InstancesBatchCreateInputBatchesInner) GetIpAddresses() []IPAddress

GetIpAddresses returns the IpAddresses field value if set, zero value otherwise.

func (*InstancesBatchCreateInputBatchesInner) GetIpAddressesOk ¶ added in v0.4.0

func (o *InstancesBatchCreateInputBatchesInner) GetIpAddressesOk() ([]IPAddress, bool)

GetIpAddressesOk returns a tuple with the IpAddresses field value if set, nil otherwise and a boolean to check if the value has been set.

func (*InstancesBatchCreateInputBatchesInner) GetIpxeScriptUrl ¶ added in v0.4.0

func (o *InstancesBatchCreateInputBatchesInner) GetIpxeScriptUrl() string

GetIpxeScriptUrl returns the IpxeScriptUrl field value if set, zero value otherwise.

func (*InstancesBatchCreateInputBatchesInner) GetIpxeScriptUrlOk ¶ added in v0.4.0

func (o *InstancesBatchCreateInputBatchesInner) GetIpxeScriptUrlOk() (*string, bool)

GetIpxeScriptUrlOk returns a tuple with the IpxeScriptUrl field value if set, nil otherwise and a boolean to check if the value has been set.

func (*InstancesBatchCreateInputBatchesInner) GetLocked ¶ added in v0.4.0

GetLocked returns the Locked field value if set, zero value otherwise.

func (*InstancesBatchCreateInputBatchesInner) GetLockedOk ¶ added in v0.4.0

func (o *InstancesBatchCreateInputBatchesInner) GetLockedOk() (*bool, bool)

GetLockedOk returns a tuple with the Locked field value if set, nil otherwise and a boolean to check if the value has been set.

func (*InstancesBatchCreateInputBatchesInner) GetMetro ¶ added in v0.4.0

GetMetro returns the Metro field value

func (*InstancesBatchCreateInputBatchesInner) GetMetroOk ¶ added in v0.4.0

GetMetroOk returns a tuple with the Metro field value and a boolean to check if the value has been set.

func (*InstancesBatchCreateInputBatchesInner) GetNetworkFrozen ¶ added in v0.10.0

func (o *InstancesBatchCreateInputBatchesInner) GetNetworkFrozen() bool

GetNetworkFrozen returns the NetworkFrozen field value if set, zero value otherwise.

func (*InstancesBatchCreateInputBatchesInner) GetNetworkFrozenOk ¶ added in v0.10.0

func (o *InstancesBatchCreateInputBatchesInner) GetNetworkFrozenOk() (*bool, bool)

GetNetworkFrozenOk returns a tuple with the NetworkFrozen field value if set, nil otherwise and a boolean to check if the value has been set.

func (*InstancesBatchCreateInputBatchesInner) GetNoSshKeys ¶ added in v0.4.0

func (o *InstancesBatchCreateInputBatchesInner) GetNoSshKeys() bool

GetNoSshKeys returns the NoSshKeys field value if set, zero value otherwise.

func (*InstancesBatchCreateInputBatchesInner) GetNoSshKeysOk ¶ added in v0.4.0

func (o *InstancesBatchCreateInputBatchesInner) GetNoSshKeysOk() (*bool, bool)

GetNoSshKeysOk returns a tuple with the NoSshKeys field value if set, nil otherwise and a boolean to check if the value has been set.

func (*InstancesBatchCreateInputBatchesInner) GetOperatingSystem ¶ added in v0.4.0

func (o *InstancesBatchCreateInputBatchesInner) GetOperatingSystem() string

GetOperatingSystem returns the OperatingSystem field value

func (*InstancesBatchCreateInputBatchesInner) GetOperatingSystemOk ¶ added in v0.4.0

func (o *InstancesBatchCreateInputBatchesInner) GetOperatingSystemOk() (*string, bool)

GetOperatingSystemOk returns a tuple with the OperatingSystem field value and a boolean to check if the value has been set.

func (*InstancesBatchCreateInputBatchesInner) GetPlan ¶ added in v0.4.0

GetPlan returns the Plan field value

func (*InstancesBatchCreateInputBatchesInner) GetPlanOk ¶ added in v0.4.0

GetPlanOk returns a tuple with the Plan field value and a boolean to check if the value has been set.

func (*InstancesBatchCreateInputBatchesInner) GetPrivateIpv4SubnetSize ¶ added in v0.4.0

func (o *InstancesBatchCreateInputBatchesInner) GetPrivateIpv4SubnetSize() int32

GetPrivateIpv4SubnetSize returns the PrivateIpv4SubnetSize field value if set, zero value otherwise.

func (*InstancesBatchCreateInputBatchesInner) GetPrivateIpv4SubnetSizeOk ¶ added in v0.4.0

func (o *InstancesBatchCreateInputBatchesInner) GetPrivateIpv4SubnetSizeOk() (*int32, bool)

GetPrivateIpv4SubnetSizeOk returns a tuple with the PrivateIpv4SubnetSize field value if set, nil otherwise and a boolean to check if the value has been set.

func (*InstancesBatchCreateInputBatchesInner) GetProjectSshKeys ¶ added in v0.4.0

func (o *InstancesBatchCreateInputBatchesInner) GetProjectSshKeys() []string

GetProjectSshKeys returns the ProjectSshKeys field value if set, zero value otherwise.

func (*InstancesBatchCreateInputBatchesInner) GetProjectSshKeysOk ¶ added in v0.4.0

func (o *InstancesBatchCreateInputBatchesInner) GetProjectSshKeysOk() ([]string, bool)

GetProjectSshKeysOk returns a tuple with the ProjectSshKeys field value if set, nil otherwise and a boolean to check if the value has been set.

func (*InstancesBatchCreateInputBatchesInner) GetPublicIpv4SubnetSize ¶ added in v0.4.0

func (o *InstancesBatchCreateInputBatchesInner) GetPublicIpv4SubnetSize() int32

GetPublicIpv4SubnetSize returns the PublicIpv4SubnetSize field value if set, zero value otherwise.

func (*InstancesBatchCreateInputBatchesInner) GetPublicIpv4SubnetSizeOk ¶ added in v0.4.0

func (o *InstancesBatchCreateInputBatchesInner) GetPublicIpv4SubnetSizeOk() (*int32, bool)

GetPublicIpv4SubnetSizeOk returns a tuple with the PublicIpv4SubnetSize field value if set, nil otherwise and a boolean to check if the value has been set.

func (*InstancesBatchCreateInputBatchesInner) GetQuantity ¶ added in v0.4.0

GetQuantity returns the Quantity field value if set, zero value otherwise.

func (*InstancesBatchCreateInputBatchesInner) GetQuantityOk ¶ added in v0.4.0

func (o *InstancesBatchCreateInputBatchesInner) GetQuantityOk() (*int32, bool)

GetQuantityOk returns a tuple with the Quantity field value if set, nil otherwise and a boolean to check if the value has been set.

func (*InstancesBatchCreateInputBatchesInner) GetSpotInstance ¶ added in v0.4.0

func (o *InstancesBatchCreateInputBatchesInner) GetSpotInstance() bool

GetSpotInstance returns the SpotInstance field value if set, zero value otherwise.

func (*InstancesBatchCreateInputBatchesInner) GetSpotInstanceOk ¶ added in v0.4.0

func (o *InstancesBatchCreateInputBatchesInner) GetSpotInstanceOk() (*bool, bool)

GetSpotInstanceOk returns a tuple with the SpotInstance field value if set, nil otherwise and a boolean to check if the value has been set.

func (*InstancesBatchCreateInputBatchesInner) GetSpotPriceMax ¶ added in v0.4.0

func (o *InstancesBatchCreateInputBatchesInner) GetSpotPriceMax() float32

GetSpotPriceMax returns the SpotPriceMax field value if set, zero value otherwise.

func (*InstancesBatchCreateInputBatchesInner) GetSpotPriceMaxOk ¶ added in v0.4.0

func (o *InstancesBatchCreateInputBatchesInner) GetSpotPriceMaxOk() (*float32, bool)

GetSpotPriceMaxOk returns a tuple with the SpotPriceMax field value if set, nil otherwise and a boolean to check if the value has been set.

func (*InstancesBatchCreateInputBatchesInner) GetSshKeys ¶ added in v0.4.0

GetSshKeys returns the SshKeys field value if set, zero value otherwise.

func (*InstancesBatchCreateInputBatchesInner) GetSshKeysOk ¶ added in v0.4.0

GetSshKeysOk returns a tuple with the SshKeys field value if set, nil otherwise and a boolean to check if the value has been set.

func (*InstancesBatchCreateInputBatchesInner) GetStorage ¶ added in v0.15.0

GetStorage returns the Storage field value if set, zero value otherwise.

func (*InstancesBatchCreateInputBatchesInner) GetStorageOk ¶ added in v0.15.0

func (o *InstancesBatchCreateInputBatchesInner) GetStorageOk() (*Storage, bool)

GetStorageOk returns a tuple with the Storage field value if set, nil otherwise and a boolean to check if the value has been set.

func (*InstancesBatchCreateInputBatchesInner) GetTags ¶ added in v0.4.0

GetTags returns the Tags field value if set, zero value otherwise.

func (*InstancesBatchCreateInputBatchesInner) GetTagsOk ¶ added in v0.4.0

GetTagsOk returns a tuple with the Tags field value if set, nil otherwise and a boolean to check if the value has been set.

func (*InstancesBatchCreateInputBatchesInner) GetTerminationTime ¶ added in v0.4.0

func (o *InstancesBatchCreateInputBatchesInner) GetTerminationTime() time.Time

GetTerminationTime returns the TerminationTime field value if set, zero value otherwise.

func (*InstancesBatchCreateInputBatchesInner) GetTerminationTimeOk ¶ added in v0.4.0

func (o *InstancesBatchCreateInputBatchesInner) GetTerminationTimeOk() (*time.Time, bool)

GetTerminationTimeOk returns a tuple with the TerminationTime field value if set, nil otherwise and a boolean to check if the value has been set.

func (*InstancesBatchCreateInputBatchesInner) GetUserSshKeys ¶ added in v0.4.0

func (o *InstancesBatchCreateInputBatchesInner) GetUserSshKeys() []string

GetUserSshKeys returns the UserSshKeys field value if set, zero value otherwise.

func (*InstancesBatchCreateInputBatchesInner) GetUserSshKeysOk ¶ added in v0.4.0

func (o *InstancesBatchCreateInputBatchesInner) GetUserSshKeysOk() ([]string, bool)

GetUserSshKeysOk returns a tuple with the UserSshKeys field value if set, nil otherwise and a boolean to check if the value has been set.

func (*InstancesBatchCreateInputBatchesInner) GetUserdata ¶ added in v0.4.0

GetUserdata returns the Userdata field value if set, zero value otherwise.

func (*InstancesBatchCreateInputBatchesInner) GetUserdataOk ¶ added in v0.4.0

func (o *InstancesBatchCreateInputBatchesInner) GetUserdataOk() (*string, bool)

GetUserdataOk returns a tuple with the Userdata field value if set, nil otherwise and a boolean to check if the value has been set.

func (*InstancesBatchCreateInputBatchesInner) HasAlwaysPxe ¶ added in v0.4.0

func (o *InstancesBatchCreateInputBatchesInner) HasAlwaysPxe() bool

HasAlwaysPxe returns a boolean if a field has been set.

func (*InstancesBatchCreateInputBatchesInner) HasBillingCycle ¶ added in v0.4.0

func (o *InstancesBatchCreateInputBatchesInner) HasBillingCycle() bool

HasBillingCycle returns a boolean if a field has been set.

func (*InstancesBatchCreateInputBatchesInner) HasCustomdata ¶ added in v0.4.0

func (o *InstancesBatchCreateInputBatchesInner) HasCustomdata() bool

HasCustomdata returns a boolean if a field has been set.

func (*InstancesBatchCreateInputBatchesInner) HasDescription ¶ added in v0.4.0

func (o *InstancesBatchCreateInputBatchesInner) HasDescription() bool

HasDescription returns a boolean if a field has been set.

func (*InstancesBatchCreateInputBatchesInner) HasFeatures ¶ added in v0.4.0

HasFeatures returns a boolean if a field has been set.

func (*InstancesBatchCreateInputBatchesInner) HasHardwareReservationId ¶ added in v0.4.0

func (o *InstancesBatchCreateInputBatchesInner) HasHardwareReservationId() bool

HasHardwareReservationId returns a boolean if a field has been set.

func (*InstancesBatchCreateInputBatchesInner) HasHostname ¶ added in v0.4.0

HasHostname returns a boolean if a field has been set.

func (*InstancesBatchCreateInputBatchesInner) HasHostnames ¶ added in v0.4.0

func (o *InstancesBatchCreateInputBatchesInner) HasHostnames() bool

HasHostnames returns a boolean if a field has been set.

func (*InstancesBatchCreateInputBatchesInner) HasIpAddresses ¶ added in v0.4.0

func (o *InstancesBatchCreateInputBatchesInner) HasIpAddresses() bool

HasIpAddresses returns a boolean if a field has been set.

func (*InstancesBatchCreateInputBatchesInner) HasIpxeScriptUrl ¶ added in v0.4.0

func (o *InstancesBatchCreateInputBatchesInner) HasIpxeScriptUrl() bool

HasIpxeScriptUrl returns a boolean if a field has been set.

func (*InstancesBatchCreateInputBatchesInner) HasLocked ¶ added in v0.4.0

HasLocked returns a boolean if a field has been set.

func (*InstancesBatchCreateInputBatchesInner) HasNetworkFrozen ¶ added in v0.10.0

func (o *InstancesBatchCreateInputBatchesInner) HasNetworkFrozen() bool

HasNetworkFrozen returns a boolean if a field has been set.

func (*InstancesBatchCreateInputBatchesInner) HasNoSshKeys ¶ added in v0.4.0

func (o *InstancesBatchCreateInputBatchesInner) HasNoSshKeys() bool

HasNoSshKeys returns a boolean if a field has been set.

func (*InstancesBatchCreateInputBatchesInner) HasPrivateIpv4SubnetSize ¶ added in v0.4.0

func (o *InstancesBatchCreateInputBatchesInner) HasPrivateIpv4SubnetSize() bool

HasPrivateIpv4SubnetSize returns a boolean if a field has been set.

func (*InstancesBatchCreateInputBatchesInner) HasProjectSshKeys ¶ added in v0.4.0

func (o *InstancesBatchCreateInputBatchesInner) HasProjectSshKeys() bool

HasProjectSshKeys returns a boolean if a field has been set.

func (*InstancesBatchCreateInputBatchesInner) HasPublicIpv4SubnetSize ¶ added in v0.4.0

func (o *InstancesBatchCreateInputBatchesInner) HasPublicIpv4SubnetSize() bool

HasPublicIpv4SubnetSize returns a boolean if a field has been set.

func (*InstancesBatchCreateInputBatchesInner) HasQuantity ¶ added in v0.4.0

HasQuantity returns a boolean if a field has been set.

func (*InstancesBatchCreateInputBatchesInner) HasSpotInstance ¶ added in v0.4.0

func (o *InstancesBatchCreateInputBatchesInner) HasSpotInstance() bool

HasSpotInstance returns a boolean if a field has been set.

func (*InstancesBatchCreateInputBatchesInner) HasSpotPriceMax ¶ added in v0.4.0

func (o *InstancesBatchCreateInputBatchesInner) HasSpotPriceMax() bool

HasSpotPriceMax returns a boolean if a field has been set.

func (*InstancesBatchCreateInputBatchesInner) HasSshKeys ¶ added in v0.4.0

HasSshKeys returns a boolean if a field has been set.

func (*InstancesBatchCreateInputBatchesInner) HasStorage ¶ added in v0.15.0

HasStorage returns a boolean if a field has been set.

func (*InstancesBatchCreateInputBatchesInner) HasTags ¶ added in v0.4.0

HasTags returns a boolean if a field has been set.

func (*InstancesBatchCreateInputBatchesInner) HasTerminationTime ¶ added in v0.4.0

func (o *InstancesBatchCreateInputBatchesInner) HasTerminationTime() bool

HasTerminationTime returns a boolean if a field has been set.

func (*InstancesBatchCreateInputBatchesInner) HasUserSshKeys ¶ added in v0.4.0

func (o *InstancesBatchCreateInputBatchesInner) HasUserSshKeys() bool

HasUserSshKeys returns a boolean if a field has been set.

func (*InstancesBatchCreateInputBatchesInner) HasUserdata ¶ added in v0.4.0

HasUserdata returns a boolean if a field has been set.

func (InstancesBatchCreateInputBatchesInner) MarshalJSON ¶ added in v0.4.0

func (o InstancesBatchCreateInputBatchesInner) MarshalJSON() ([]byte, error)

func (*InstancesBatchCreateInputBatchesInner) SetAlwaysPxe ¶ added in v0.4.0

func (o *InstancesBatchCreateInputBatchesInner) SetAlwaysPxe(v bool)

SetAlwaysPxe gets a reference to the given bool and assigns it to the AlwaysPxe field.

func (*InstancesBatchCreateInputBatchesInner) SetBillingCycle ¶ added in v0.4.0

SetBillingCycle gets a reference to the given DeviceCreateInputBillingCycle and assigns it to the BillingCycle field.

func (*InstancesBatchCreateInputBatchesInner) SetCustomdata ¶ added in v0.4.0

func (o *InstancesBatchCreateInputBatchesInner) SetCustomdata(v map[string]interface{})

SetCustomdata gets a reference to the given map[string]interface{} and assigns it to the Customdata field.

func (*InstancesBatchCreateInputBatchesInner) SetDescription ¶ added in v0.4.0

func (o *InstancesBatchCreateInputBatchesInner) SetDescription(v string)

SetDescription gets a reference to the given string and assigns it to the Description field.

func (*InstancesBatchCreateInputBatchesInner) SetFacility ¶ added in v0.4.0

func (o *InstancesBatchCreateInputBatchesInner) SetFacility(v []string)

SetFacility sets field value Deprecated

func (*InstancesBatchCreateInputBatchesInner) SetFeatures ¶ added in v0.4.0

func (o *InstancesBatchCreateInputBatchesInner) SetFeatures(v []string)

SetFeatures gets a reference to the given []string and assigns it to the Features field.

func (*InstancesBatchCreateInputBatchesInner) SetHardwareReservationId ¶ added in v0.4.0

func (o *InstancesBatchCreateInputBatchesInner) SetHardwareReservationId(v string)

SetHardwareReservationId gets a reference to the given string and assigns it to the HardwareReservationId field.

func (*InstancesBatchCreateInputBatchesInner) SetHostname ¶ added in v0.4.0

SetHostname gets a reference to the given string and assigns it to the Hostname field.

func (*InstancesBatchCreateInputBatchesInner) SetHostnames ¶ added in v0.4.0

func (o *InstancesBatchCreateInputBatchesInner) SetHostnames(v []string)

SetHostnames gets a reference to the given []string and assigns it to the Hostnames field.

func (*InstancesBatchCreateInputBatchesInner) SetIpAddresses ¶ added in v0.4.0

func (o *InstancesBatchCreateInputBatchesInner) SetIpAddresses(v []IPAddress)

SetIpAddresses gets a reference to the given []IPAddress and assigns it to the IpAddresses field.

func (*InstancesBatchCreateInputBatchesInner) SetIpxeScriptUrl ¶ added in v0.4.0

func (o *InstancesBatchCreateInputBatchesInner) SetIpxeScriptUrl(v string)

SetIpxeScriptUrl gets a reference to the given string and assigns it to the IpxeScriptUrl field.

func (*InstancesBatchCreateInputBatchesInner) SetLocked ¶ added in v0.4.0

SetLocked gets a reference to the given bool and assigns it to the Locked field.

func (*InstancesBatchCreateInputBatchesInner) SetMetro ¶ added in v0.4.0

SetMetro sets field value

func (*InstancesBatchCreateInputBatchesInner) SetNetworkFrozen ¶ added in v0.10.0

func (o *InstancesBatchCreateInputBatchesInner) SetNetworkFrozen(v bool)

SetNetworkFrozen gets a reference to the given bool and assigns it to the NetworkFrozen field.

func (*InstancesBatchCreateInputBatchesInner) SetNoSshKeys ¶ added in v0.4.0

func (o *InstancesBatchCreateInputBatchesInner) SetNoSshKeys(v bool)

SetNoSshKeys gets a reference to the given bool and assigns it to the NoSshKeys field.

func (*InstancesBatchCreateInputBatchesInner) SetOperatingSystem ¶ added in v0.4.0

func (o *InstancesBatchCreateInputBatchesInner) SetOperatingSystem(v string)

SetOperatingSystem sets field value

func (*InstancesBatchCreateInputBatchesInner) SetPlan ¶ added in v0.4.0

SetPlan sets field value

func (*InstancesBatchCreateInputBatchesInner) SetPrivateIpv4SubnetSize ¶ added in v0.4.0

func (o *InstancesBatchCreateInputBatchesInner) SetPrivateIpv4SubnetSize(v int32)

SetPrivateIpv4SubnetSize gets a reference to the given int32 and assigns it to the PrivateIpv4SubnetSize field.

func (*InstancesBatchCreateInputBatchesInner) SetProjectSshKeys ¶ added in v0.4.0

func (o *InstancesBatchCreateInputBatchesInner) SetProjectSshKeys(v []string)

SetProjectSshKeys gets a reference to the given []string and assigns it to the ProjectSshKeys field.

func (*InstancesBatchCreateInputBatchesInner) SetPublicIpv4SubnetSize ¶ added in v0.4.0

func (o *InstancesBatchCreateInputBatchesInner) SetPublicIpv4SubnetSize(v int32)

SetPublicIpv4SubnetSize gets a reference to the given int32 and assigns it to the PublicIpv4SubnetSize field.

func (*InstancesBatchCreateInputBatchesInner) SetQuantity ¶ added in v0.4.0

func (o *InstancesBatchCreateInputBatchesInner) SetQuantity(v int32)

SetQuantity gets a reference to the given int32 and assigns it to the Quantity field.

func (*InstancesBatchCreateInputBatchesInner) SetSpotInstance ¶ added in v0.4.0

func (o *InstancesBatchCreateInputBatchesInner) SetSpotInstance(v bool)

SetSpotInstance gets a reference to the given bool and assigns it to the SpotInstance field.

func (*InstancesBatchCreateInputBatchesInner) SetSpotPriceMax ¶ added in v0.4.0

func (o *InstancesBatchCreateInputBatchesInner) SetSpotPriceMax(v float32)

SetSpotPriceMax gets a reference to the given float32 and assigns it to the SpotPriceMax field.

func (*InstancesBatchCreateInputBatchesInner) SetSshKeys ¶ added in v0.4.0

SetSshKeys gets a reference to the given []SSHKeyInput and assigns it to the SshKeys field.

func (*InstancesBatchCreateInputBatchesInner) SetStorage ¶ added in v0.15.0

SetStorage gets a reference to the given Storage and assigns it to the Storage field.

func (*InstancesBatchCreateInputBatchesInner) SetTags ¶ added in v0.4.0

SetTags gets a reference to the given []string and assigns it to the Tags field.

func (*InstancesBatchCreateInputBatchesInner) SetTerminationTime ¶ added in v0.4.0

func (o *InstancesBatchCreateInputBatchesInner) SetTerminationTime(v time.Time)

SetTerminationTime gets a reference to the given time.Time and assigns it to the TerminationTime field.

func (*InstancesBatchCreateInputBatchesInner) SetUserSshKeys ¶ added in v0.4.0

func (o *InstancesBatchCreateInputBatchesInner) SetUserSshKeys(v []string)

SetUserSshKeys gets a reference to the given []string and assigns it to the UserSshKeys field.

func (*InstancesBatchCreateInputBatchesInner) SetUserdata ¶ added in v0.4.0

SetUserdata gets a reference to the given string and assigns it to the Userdata field.

func (InstancesBatchCreateInputBatchesInner) ToMap ¶ added in v0.4.0

func (o InstancesBatchCreateInputBatchesInner) ToMap() (map[string]interface{}, error)

func (*InstancesBatchCreateInputBatchesInner) UnmarshalJSON ¶ added in v0.7.0

func (o *InstancesBatchCreateInputBatchesInner) UnmarshalJSON(bytes []byte) (err error)

type Interconnection ¶

type Interconnection struct {
	ContactEmail *string              `json:"contact_email,omitempty"`
	Description  *string              `json:"description,omitempty"`
	Facility     *Href                `json:"facility,omitempty"`
	Id           *string              `json:"id,omitempty"`
	Metro        *Metro               `json:"metro,omitempty"`
	Mode         *InterconnectionMode `json:"mode,omitempty"`
	Name         *string              `json:"name,omitempty"`
	Organization *Href                `json:"organization,omitempty"`
	// For Fabric VCs, these represent Virtual Port(s) created for the interconnection. For dedicated interconnections, these represent the Dedicated Port(s).
	Ports      []InterconnectionPort      `json:"ports,omitempty"`
	Redundancy *InterconnectionRedundancy `json:"redundancy,omitempty"`
	// For Fabric VCs (Metal Billed), this will show details of the A-Side service tokens issued for the interconnection. For Fabric VCs (Fabric Billed), this will show the details of the Z-Side service tokens issued for the interconnection. Dedicated interconnections will not have any service tokens issued. There will be one per interconnection, so for redundant interconnections, there should be two service tokens issued.
	ServiceTokens []FabricServiceToken `json:"service_tokens,omitempty"`
	// For interconnections on Dedicated Ports and shared connections, this represents the interconnection's speed in bps. For Fabric VCs, this field refers to the maximum speed of the interconnection in bps. This value will default to 10Gbps for Fabric VCs (Fabric Billed).
	Speed  *int32   `json:"speed,omitempty"`
	Status *string  `json:"status,omitempty"`
	Tags   []string `json:"tags,omitempty"`
	// This token is used for shared interconnections to be used as the Fabric Token. This field is entirely deprecated.
	Token                *string              `json:"token,omitempty"`
	Type                 *InterconnectionType `json:"type,omitempty"`
	CreatedAt            *time.Time           `json:"created_at,omitempty"`
	UpdatedAt            *time.Time           `json:"updated_at,omitempty"`
	RequestedBy          *Href                `json:"requested_by,omitempty"`
	AdditionalProperties map[string]interface{}
}

Interconnection struct for Interconnection

func NewInterconnection ¶

func NewInterconnection() *Interconnection

NewInterconnection instantiates a new Interconnection object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewInterconnectionWithDefaults ¶

func NewInterconnectionWithDefaults() *Interconnection

NewInterconnectionWithDefaults instantiates a new Interconnection object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*Interconnection) GetContactEmail ¶

func (o *Interconnection) GetContactEmail() string

GetContactEmail returns the ContactEmail field value if set, zero value otherwise.

func (*Interconnection) GetContactEmailOk ¶

func (o *Interconnection) GetContactEmailOk() (*string, bool)

GetContactEmailOk returns a tuple with the ContactEmail field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Interconnection) GetCreatedAt ¶ added in v0.5.0

func (o *Interconnection) GetCreatedAt() time.Time

GetCreatedAt returns the CreatedAt field value if set, zero value otherwise.

func (*Interconnection) GetCreatedAtOk ¶ added in v0.5.0

func (o *Interconnection) GetCreatedAtOk() (*time.Time, bool)

GetCreatedAtOk returns a tuple with the CreatedAt field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Interconnection) GetDescription ¶

func (o *Interconnection) GetDescription() string

GetDescription returns the Description field value if set, zero value otherwise.

func (*Interconnection) GetDescriptionOk ¶

func (o *Interconnection) GetDescriptionOk() (*string, bool)

GetDescriptionOk returns a tuple with the Description field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Interconnection) GetFacility ¶

func (o *Interconnection) GetFacility() Href

GetFacility returns the Facility field value if set, zero value otherwise.

func (*Interconnection) GetFacilityOk ¶

func (o *Interconnection) GetFacilityOk() (*Href, bool)

GetFacilityOk returns a tuple with the Facility field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Interconnection) GetId ¶

func (o *Interconnection) GetId() string

GetId returns the Id field value if set, zero value otherwise.

func (*Interconnection) GetIdOk ¶

func (o *Interconnection) GetIdOk() (*string, bool)

GetIdOk returns a tuple with the Id field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Interconnection) GetMetro ¶

func (o *Interconnection) GetMetro() Metro

GetMetro returns the Metro field value if set, zero value otherwise.

func (*Interconnection) GetMetroOk ¶

func (o *Interconnection) GetMetroOk() (*Metro, bool)

GetMetroOk returns a tuple with the Metro field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Interconnection) GetMode ¶

func (o *Interconnection) GetMode() InterconnectionMode

GetMode returns the Mode field value if set, zero value otherwise.

func (*Interconnection) GetModeOk ¶

func (o *Interconnection) GetModeOk() (*InterconnectionMode, bool)

GetModeOk returns a tuple with the Mode field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Interconnection) GetName ¶

func (o *Interconnection) GetName() string

GetName returns the Name field value if set, zero value otherwise.

func (*Interconnection) GetNameOk ¶

func (o *Interconnection) GetNameOk() (*string, bool)

GetNameOk returns a tuple with the Name field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Interconnection) GetOrganization ¶

func (o *Interconnection) GetOrganization() Href

GetOrganization returns the Organization field value if set, zero value otherwise.

func (*Interconnection) GetOrganizationOk ¶

func (o *Interconnection) GetOrganizationOk() (*Href, bool)

GetOrganizationOk returns a tuple with the Organization field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Interconnection) GetPorts ¶

func (o *Interconnection) GetPorts() []InterconnectionPort

GetPorts returns the Ports field value if set, zero value otherwise.

func (*Interconnection) GetPortsOk ¶

func (o *Interconnection) GetPortsOk() ([]InterconnectionPort, bool)

GetPortsOk returns a tuple with the Ports field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Interconnection) GetRedundancy ¶

func (o *Interconnection) GetRedundancy() InterconnectionRedundancy

GetRedundancy returns the Redundancy field value if set, zero value otherwise.

func (*Interconnection) GetRedundancyOk ¶

func (o *Interconnection) GetRedundancyOk() (*InterconnectionRedundancy, bool)

GetRedundancyOk returns a tuple with the Redundancy field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Interconnection) GetRequestedBy ¶ added in v0.5.0

func (o *Interconnection) GetRequestedBy() Href

GetRequestedBy returns the RequestedBy field value if set, zero value otherwise.

func (*Interconnection) GetRequestedByOk ¶ added in v0.5.0

func (o *Interconnection) GetRequestedByOk() (*Href, bool)

GetRequestedByOk returns a tuple with the RequestedBy field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Interconnection) GetServiceTokens ¶

func (o *Interconnection) GetServiceTokens() []FabricServiceToken

GetServiceTokens returns the ServiceTokens field value if set, zero value otherwise.

func (*Interconnection) GetServiceTokensOk ¶

func (o *Interconnection) GetServiceTokensOk() ([]FabricServiceToken, bool)

GetServiceTokensOk returns a tuple with the ServiceTokens field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Interconnection) GetSpeed ¶

func (o *Interconnection) GetSpeed() int32

GetSpeed returns the Speed field value if set, zero value otherwise.

func (*Interconnection) GetSpeedOk ¶

func (o *Interconnection) GetSpeedOk() (*int32, bool)

GetSpeedOk returns a tuple with the Speed field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Interconnection) GetStatus ¶

func (o *Interconnection) GetStatus() string

GetStatus returns the Status field value if set, zero value otherwise.

func (*Interconnection) GetStatusOk ¶

func (o *Interconnection) GetStatusOk() (*string, bool)

GetStatusOk returns a tuple with the Status field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Interconnection) GetTags ¶

func (o *Interconnection) GetTags() []string

GetTags returns the Tags field value if set, zero value otherwise.

func (*Interconnection) GetTagsOk ¶

func (o *Interconnection) GetTagsOk() ([]string, bool)

GetTagsOk returns a tuple with the Tags field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Interconnection) GetToken ¶ added in v0.3.0

func (o *Interconnection) GetToken() string

GetToken returns the Token field value if set, zero value otherwise.

func (*Interconnection) GetTokenOk ¶ added in v0.3.0

func (o *Interconnection) GetTokenOk() (*string, bool)

GetTokenOk returns a tuple with the Token field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Interconnection) GetType ¶

func (o *Interconnection) GetType() InterconnectionType

GetType returns the Type field value if set, zero value otherwise.

func (*Interconnection) GetTypeOk ¶

func (o *Interconnection) GetTypeOk() (*InterconnectionType, bool)

GetTypeOk returns a tuple with the Type field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Interconnection) GetUpdatedAt ¶ added in v0.5.0

func (o *Interconnection) GetUpdatedAt() time.Time

GetUpdatedAt returns the UpdatedAt field value if set, zero value otherwise.

func (*Interconnection) GetUpdatedAtOk ¶ added in v0.5.0

func (o *Interconnection) GetUpdatedAtOk() (*time.Time, bool)

GetUpdatedAtOk returns a tuple with the UpdatedAt field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Interconnection) HasContactEmail ¶

func (o *Interconnection) HasContactEmail() bool

HasContactEmail returns a boolean if a field has been set.

func (*Interconnection) HasCreatedAt ¶ added in v0.5.0

func (o *Interconnection) HasCreatedAt() bool

HasCreatedAt returns a boolean if a field has been set.

func (*Interconnection) HasDescription ¶

func (o *Interconnection) HasDescription() bool

HasDescription returns a boolean if a field has been set.

func (*Interconnection) HasFacility ¶

func (o *Interconnection) HasFacility() bool

HasFacility returns a boolean if a field has been set.

func (*Interconnection) HasId ¶

func (o *Interconnection) HasId() bool

HasId returns a boolean if a field has been set.

func (*Interconnection) HasMetro ¶

func (o *Interconnection) HasMetro() bool

HasMetro returns a boolean if a field has been set.

func (*Interconnection) HasMode ¶

func (o *Interconnection) HasMode() bool

HasMode returns a boolean if a field has been set.

func (*Interconnection) HasName ¶

func (o *Interconnection) HasName() bool

HasName returns a boolean if a field has been set.

func (*Interconnection) HasOrganization ¶

func (o *Interconnection) HasOrganization() bool

HasOrganization returns a boolean if a field has been set.

func (*Interconnection) HasPorts ¶

func (o *Interconnection) HasPorts() bool

HasPorts returns a boolean if a field has been set.

func (*Interconnection) HasRedundancy ¶

func (o *Interconnection) HasRedundancy() bool

HasRedundancy returns a boolean if a field has been set.

func (*Interconnection) HasRequestedBy ¶ added in v0.5.0

func (o *Interconnection) HasRequestedBy() bool

HasRequestedBy returns a boolean if a field has been set.

func (*Interconnection) HasServiceTokens ¶

func (o *Interconnection) HasServiceTokens() bool

HasServiceTokens returns a boolean if a field has been set.

func (*Interconnection) HasSpeed ¶

func (o *Interconnection) HasSpeed() bool

HasSpeed returns a boolean if a field has been set.

func (*Interconnection) HasStatus ¶

func (o *Interconnection) HasStatus() bool

HasStatus returns a boolean if a field has been set.

func (*Interconnection) HasTags ¶

func (o *Interconnection) HasTags() bool

HasTags returns a boolean if a field has been set.

func (*Interconnection) HasToken ¶ added in v0.3.0

func (o *Interconnection) HasToken() bool

HasToken returns a boolean if a field has been set.

func (*Interconnection) HasType ¶

func (o *Interconnection) HasType() bool

HasType returns a boolean if a field has been set.

func (*Interconnection) HasUpdatedAt ¶ added in v0.5.0

func (o *Interconnection) HasUpdatedAt() bool

HasUpdatedAt returns a boolean if a field has been set.

func (Interconnection) MarshalJSON ¶

func (o Interconnection) MarshalJSON() ([]byte, error)

func (*Interconnection) SetContactEmail ¶

func (o *Interconnection) SetContactEmail(v string)

SetContactEmail gets a reference to the given string and assigns it to the ContactEmail field.

func (*Interconnection) SetCreatedAt ¶ added in v0.5.0

func (o *Interconnection) SetCreatedAt(v time.Time)

SetCreatedAt gets a reference to the given time.Time and assigns it to the CreatedAt field.

func (*Interconnection) SetDescription ¶

func (o *Interconnection) SetDescription(v string)

SetDescription gets a reference to the given string and assigns it to the Description field.

func (*Interconnection) SetFacility ¶

func (o *Interconnection) SetFacility(v Href)

SetFacility gets a reference to the given Href and assigns it to the Facility field.

func (*Interconnection) SetId ¶

func (o *Interconnection) SetId(v string)

SetId gets a reference to the given string and assigns it to the Id field.

func (*Interconnection) SetMetro ¶

func (o *Interconnection) SetMetro(v Metro)

SetMetro gets a reference to the given Metro and assigns it to the Metro field.

func (*Interconnection) SetMode ¶

func (o *Interconnection) SetMode(v InterconnectionMode)

SetMode gets a reference to the given InterconnectionMode and assigns it to the Mode field.

func (*Interconnection) SetName ¶

func (o *Interconnection) SetName(v string)

SetName gets a reference to the given string and assigns it to the Name field.

func (*Interconnection) SetOrganization ¶

func (o *Interconnection) SetOrganization(v Href)

SetOrganization gets a reference to the given Href and assigns it to the Organization field.

func (*Interconnection) SetPorts ¶

func (o *Interconnection) SetPorts(v []InterconnectionPort)

SetPorts gets a reference to the given []InterconnectionPort and assigns it to the Ports field.

func (*Interconnection) SetRedundancy ¶

func (o *Interconnection) SetRedundancy(v InterconnectionRedundancy)

SetRedundancy gets a reference to the given InterconnectionRedundancy and assigns it to the Redundancy field.

func (*Interconnection) SetRequestedBy ¶ added in v0.5.0

func (o *Interconnection) SetRequestedBy(v Href)

SetRequestedBy gets a reference to the given Href and assigns it to the RequestedBy field.

func (*Interconnection) SetServiceTokens ¶

func (o *Interconnection) SetServiceTokens(v []FabricServiceToken)

SetServiceTokens gets a reference to the given []FabricServiceToken and assigns it to the ServiceTokens field.

func (*Interconnection) SetSpeed ¶

func (o *Interconnection) SetSpeed(v int32)

SetSpeed gets a reference to the given int32 and assigns it to the Speed field.

func (*Interconnection) SetStatus ¶

func (o *Interconnection) SetStatus(v string)

SetStatus gets a reference to the given string and assigns it to the Status field.

func (*Interconnection) SetTags ¶

func (o *Interconnection) SetTags(v []string)

SetTags gets a reference to the given []string and assigns it to the Tags field.

func (*Interconnection) SetToken ¶ added in v0.3.0

func (o *Interconnection) SetToken(v string)

SetToken gets a reference to the given string and assigns it to the Token field.

func (*Interconnection) SetType ¶

func (o *Interconnection) SetType(v InterconnectionType)

SetType gets a reference to the given InterconnectionType and assigns it to the Type field.

func (*Interconnection) SetUpdatedAt ¶ added in v0.5.0

func (o *Interconnection) SetUpdatedAt(v time.Time)

SetUpdatedAt gets a reference to the given time.Time and assigns it to the UpdatedAt field.

func (Interconnection) ToMap ¶ added in v0.4.0

func (o Interconnection) ToMap() (map[string]interface{}, error)

func (*Interconnection) UnmarshalJSON ¶ added in v0.7.0

func (o *Interconnection) UnmarshalJSON(bytes []byte) (err error)

type InterconnectionList ¶

type InterconnectionList struct {
	Interconnections     []Interconnection `json:"interconnections,omitempty"`
	Meta                 *Meta             `json:"meta,omitempty"`
	AdditionalProperties map[string]interface{}
}

InterconnectionList struct for InterconnectionList

func NewInterconnectionList ¶

func NewInterconnectionList() *InterconnectionList

NewInterconnectionList instantiates a new InterconnectionList object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewInterconnectionListWithDefaults ¶

func NewInterconnectionListWithDefaults() *InterconnectionList

NewInterconnectionListWithDefaults instantiates a new InterconnectionList object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*InterconnectionList) GetInterconnections ¶

func (o *InterconnectionList) GetInterconnections() []Interconnection

GetInterconnections returns the Interconnections field value if set, zero value otherwise.

func (*InterconnectionList) GetInterconnectionsOk ¶

func (o *InterconnectionList) GetInterconnectionsOk() ([]Interconnection, bool)

GetInterconnectionsOk returns a tuple with the Interconnections field value if set, nil otherwise and a boolean to check if the value has been set.

func (*InterconnectionList) GetMeta ¶ added in v0.8.0

func (o *InterconnectionList) GetMeta() Meta

GetMeta returns the Meta field value if set, zero value otherwise.

func (*InterconnectionList) GetMetaOk ¶ added in v0.8.0

func (o *InterconnectionList) GetMetaOk() (*Meta, bool)

GetMetaOk returns a tuple with the Meta field value if set, nil otherwise and a boolean to check if the value has been set.

func (*InterconnectionList) HasInterconnections ¶

func (o *InterconnectionList) HasInterconnections() bool

HasInterconnections returns a boolean if a field has been set.

func (*InterconnectionList) HasMeta ¶ added in v0.8.0

func (o *InterconnectionList) HasMeta() bool

HasMeta returns a boolean if a field has been set.

func (InterconnectionList) MarshalJSON ¶

func (o InterconnectionList) MarshalJSON() ([]byte, error)

func (*InterconnectionList) SetInterconnections ¶

func (o *InterconnectionList) SetInterconnections(v []Interconnection)

SetInterconnections gets a reference to the given []Interconnection and assigns it to the Interconnections field.

func (*InterconnectionList) SetMeta ¶ added in v0.8.0

func (o *InterconnectionList) SetMeta(v Meta)

SetMeta gets a reference to the given Meta and assigns it to the Meta field.

func (InterconnectionList) ToMap ¶ added in v0.4.0

func (o InterconnectionList) ToMap() (map[string]interface{}, error)

func (*InterconnectionList) UnmarshalJSON ¶ added in v0.7.0

func (o *InterconnectionList) UnmarshalJSON(bytes []byte) (err error)

type InterconnectionMode ¶ added in v0.22.0

type InterconnectionMode string

InterconnectionMode The mode of the interconnection (only relevant to Dedicated Ports). Shared connections won't have this field. Can be either 'standard' or 'tunnel'. The default mode of an interconnection on a Dedicated Port is 'standard'. The mode can only be changed when there are no associated virtual circuits on the interconnection. In tunnel mode, an 802.1q tunnel is added to a port to send/receive double tagged packets from server instances.

const (
	INTERCONNECTIONMODE_STANDARD InterconnectionMode = "standard"
	INTERCONNECTIONMODE_TUNNEL   InterconnectionMode = "tunnel"
)

List of Interconnection_mode

func NewInterconnectionModeFromValue ¶ added in v0.22.0

func NewInterconnectionModeFromValue(v string) (*InterconnectionMode, error)

NewInterconnectionModeFromValue returns a pointer to a valid InterconnectionMode for the value passed as argument, or an error if the value passed is not allowed by the enum

func (InterconnectionMode) IsValid ¶ added in v0.22.0

func (v InterconnectionMode) IsValid() bool

IsValid return true if the value is valid for the enum, false otherwise

func (InterconnectionMode) Ptr ¶ added in v0.22.0

Ptr returns reference to Interconnection_mode value

func (*InterconnectionMode) UnmarshalJSON ¶ added in v0.22.0

func (v *InterconnectionMode) UnmarshalJSON(src []byte) error

type InterconnectionPort ¶

type InterconnectionPort struct {
	Id           *string                    `json:"id,omitempty"`
	Organization *Href                      `json:"organization,omitempty"`
	Role         *InterconnectionPortRole   `json:"role,omitempty"`
	Status       *InterconnectionPortStatus `json:"status,omitempty"`
	// A switch 'short ID'
	SwitchId             *string          `json:"switch_id,omitempty"`
	VirtualCircuits      []VirtualCircuit `json:"virtual_circuits,omitempty"`
	Name                 *string          `json:"name,omitempty"`
	Speed                *int32           `json:"speed,omitempty"`
	LinkStatus           *string          `json:"link_status,omitempty"`
	Href                 *string          `json:"href,omitempty"`
	AdditionalProperties map[string]interface{}
}

InterconnectionPort struct for InterconnectionPort

func NewInterconnectionPort ¶

func NewInterconnectionPort() *InterconnectionPort

NewInterconnectionPort instantiates a new InterconnectionPort object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewInterconnectionPortWithDefaults ¶

func NewInterconnectionPortWithDefaults() *InterconnectionPort

NewInterconnectionPortWithDefaults instantiates a new InterconnectionPort object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*InterconnectionPort) GetHref ¶ added in v0.5.0

func (o *InterconnectionPort) GetHref() string

GetHref returns the Href field value if set, zero value otherwise.

func (*InterconnectionPort) GetHrefOk ¶ added in v0.5.0

func (o *InterconnectionPort) GetHrefOk() (*string, bool)

GetHrefOk returns a tuple with the Href field value if set, nil otherwise and a boolean to check if the value has been set.

func (*InterconnectionPort) GetId ¶

func (o *InterconnectionPort) GetId() string

GetId returns the Id field value if set, zero value otherwise.

func (*InterconnectionPort) GetIdOk ¶

func (o *InterconnectionPort) GetIdOk() (*string, bool)

GetIdOk returns a tuple with the Id field value if set, nil otherwise and a boolean to check if the value has been set.

func (*InterconnectionPort) GetLinkStatus ¶ added in v0.5.0

func (o *InterconnectionPort) GetLinkStatus() string

GetLinkStatus returns the LinkStatus field value if set, zero value otherwise.

func (*InterconnectionPort) GetLinkStatusOk ¶ added in v0.5.0

func (o *InterconnectionPort) GetLinkStatusOk() (*string, bool)

GetLinkStatusOk returns a tuple with the LinkStatus field value if set, nil otherwise and a boolean to check if the value has been set.

func (*InterconnectionPort) GetName ¶ added in v0.5.0

func (o *InterconnectionPort) GetName() string

GetName returns the Name field value if set, zero value otherwise.

func (*InterconnectionPort) GetNameOk ¶ added in v0.5.0

func (o *InterconnectionPort) GetNameOk() (*string, bool)

GetNameOk returns a tuple with the Name field value if set, nil otherwise and a boolean to check if the value has been set.

func (*InterconnectionPort) GetOrganization ¶

func (o *InterconnectionPort) GetOrganization() Href

GetOrganization returns the Organization field value if set, zero value otherwise.

func (*InterconnectionPort) GetOrganizationOk ¶

func (o *InterconnectionPort) GetOrganizationOk() (*Href, bool)

GetOrganizationOk returns a tuple with the Organization field value if set, nil otherwise and a boolean to check if the value has been set.

func (*InterconnectionPort) GetRole ¶

GetRole returns the Role field value if set, zero value otherwise.

func (*InterconnectionPort) GetRoleOk ¶

GetRoleOk returns a tuple with the Role field value if set, nil otherwise and a boolean to check if the value has been set.

func (*InterconnectionPort) GetSpeed ¶ added in v0.5.0

func (o *InterconnectionPort) GetSpeed() int32

GetSpeed returns the Speed field value if set, zero value otherwise.

func (*InterconnectionPort) GetSpeedOk ¶ added in v0.5.0

func (o *InterconnectionPort) GetSpeedOk() (*int32, bool)

GetSpeedOk returns a tuple with the Speed field value if set, nil otherwise and a boolean to check if the value has been set.

func (*InterconnectionPort) GetStatus ¶

GetStatus returns the Status field value if set, zero value otherwise.

func (*InterconnectionPort) GetStatusOk ¶

func (o *InterconnectionPort) GetStatusOk() (*InterconnectionPortStatus, bool)

GetStatusOk returns a tuple with the Status field value if set, nil otherwise and a boolean to check if the value has been set.

func (*InterconnectionPort) GetSwitchId ¶

func (o *InterconnectionPort) GetSwitchId() string

GetSwitchId returns the SwitchId field value if set, zero value otherwise.

func (*InterconnectionPort) GetSwitchIdOk ¶

func (o *InterconnectionPort) GetSwitchIdOk() (*string, bool)

GetSwitchIdOk returns a tuple with the SwitchId field value if set, nil otherwise and a boolean to check if the value has been set.

func (*InterconnectionPort) GetVirtualCircuits ¶

func (o *InterconnectionPort) GetVirtualCircuits() []VirtualCircuit

GetVirtualCircuits returns the VirtualCircuits field value if set, zero value otherwise.

func (*InterconnectionPort) GetVirtualCircuitsOk ¶

func (o *InterconnectionPort) GetVirtualCircuitsOk() ([]VirtualCircuit, bool)

GetVirtualCircuitsOk returns a tuple with the VirtualCircuits field value if set, nil otherwise and a boolean to check if the value has been set.

func (*InterconnectionPort) HasHref ¶ added in v0.5.0

func (o *InterconnectionPort) HasHref() bool

HasHref returns a boolean if a field has been set.

func (*InterconnectionPort) HasId ¶

func (o *InterconnectionPort) HasId() bool

HasId returns a boolean if a field has been set.

func (*InterconnectionPort) HasLinkStatus ¶ added in v0.5.0

func (o *InterconnectionPort) HasLinkStatus() bool

HasLinkStatus returns a boolean if a field has been set.

func (*InterconnectionPort) HasName ¶ added in v0.5.0

func (o *InterconnectionPort) HasName() bool

HasName returns a boolean if a field has been set.

func (*InterconnectionPort) HasOrganization ¶

func (o *InterconnectionPort) HasOrganization() bool

HasOrganization returns a boolean if a field has been set.

func (*InterconnectionPort) HasRole ¶

func (o *InterconnectionPort) HasRole() bool

HasRole returns a boolean if a field has been set.

func (*InterconnectionPort) HasSpeed ¶ added in v0.5.0

func (o *InterconnectionPort) HasSpeed() bool

HasSpeed returns a boolean if a field has been set.

func (*InterconnectionPort) HasStatus ¶

func (o *InterconnectionPort) HasStatus() bool

HasStatus returns a boolean if a field has been set.

func (*InterconnectionPort) HasSwitchId ¶

func (o *InterconnectionPort) HasSwitchId() bool

HasSwitchId returns a boolean if a field has been set.

func (*InterconnectionPort) HasVirtualCircuits ¶

func (o *InterconnectionPort) HasVirtualCircuits() bool

HasVirtualCircuits returns a boolean if a field has been set.

func (InterconnectionPort) MarshalJSON ¶

func (o InterconnectionPort) MarshalJSON() ([]byte, error)

func (*InterconnectionPort) SetHref ¶ added in v0.5.0

func (o *InterconnectionPort) SetHref(v string)

SetHref gets a reference to the given string and assigns it to the Href field.

func (*InterconnectionPort) SetId ¶

func (o *InterconnectionPort) SetId(v string)

SetId gets a reference to the given string and assigns it to the Id field.

func (*InterconnectionPort) SetLinkStatus ¶ added in v0.5.0

func (o *InterconnectionPort) SetLinkStatus(v string)

SetLinkStatus gets a reference to the given string and assigns it to the LinkStatus field.

func (*InterconnectionPort) SetName ¶ added in v0.5.0

func (o *InterconnectionPort) SetName(v string)

SetName gets a reference to the given string and assigns it to the Name field.

func (*InterconnectionPort) SetOrganization ¶

func (o *InterconnectionPort) SetOrganization(v Href)

SetOrganization gets a reference to the given Href and assigns it to the Organization field.

func (*InterconnectionPort) SetRole ¶

SetRole gets a reference to the given InterconnectionPortRole and assigns it to the Role field.

func (*InterconnectionPort) SetSpeed ¶ added in v0.5.0

func (o *InterconnectionPort) SetSpeed(v int32)

SetSpeed gets a reference to the given int32 and assigns it to the Speed field.

func (*InterconnectionPort) SetStatus ¶

SetStatus gets a reference to the given InterconnectionPortStatus and assigns it to the Status field.

func (*InterconnectionPort) SetSwitchId ¶

func (o *InterconnectionPort) SetSwitchId(v string)

SetSwitchId gets a reference to the given string and assigns it to the SwitchId field.

func (*InterconnectionPort) SetVirtualCircuits ¶

func (o *InterconnectionPort) SetVirtualCircuits(v []VirtualCircuit)

SetVirtualCircuits gets a reference to the given []VirtualCircuit and assigns it to the VirtualCircuits field.

func (InterconnectionPort) ToMap ¶ added in v0.4.0

func (o InterconnectionPort) ToMap() (map[string]interface{}, error)

func (*InterconnectionPort) UnmarshalJSON ¶ added in v0.7.0

func (o *InterconnectionPort) UnmarshalJSON(bytes []byte) (err error)

type InterconnectionPortList ¶

type InterconnectionPortList struct {
	Ports                []InterconnectionPort `json:"ports,omitempty"`
	AdditionalProperties map[string]interface{}
}

InterconnectionPortList struct for InterconnectionPortList

func NewInterconnectionPortList ¶

func NewInterconnectionPortList() *InterconnectionPortList

NewInterconnectionPortList instantiates a new InterconnectionPortList object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewInterconnectionPortListWithDefaults ¶

func NewInterconnectionPortListWithDefaults() *InterconnectionPortList

NewInterconnectionPortListWithDefaults instantiates a new InterconnectionPortList object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*InterconnectionPortList) GetPorts ¶

GetPorts returns the Ports field value if set, zero value otherwise.

func (*InterconnectionPortList) GetPortsOk ¶

func (o *InterconnectionPortList) GetPortsOk() ([]InterconnectionPort, bool)

GetPortsOk returns a tuple with the Ports field value if set, nil otherwise and a boolean to check if the value has been set.

func (*InterconnectionPortList) HasPorts ¶

func (o *InterconnectionPortList) HasPorts() bool

HasPorts returns a boolean if a field has been set.

func (InterconnectionPortList) MarshalJSON ¶

func (o InterconnectionPortList) MarshalJSON() ([]byte, error)

func (*InterconnectionPortList) SetPorts ¶

SetPorts gets a reference to the given []InterconnectionPort and assigns it to the Ports field.

func (InterconnectionPortList) ToMap ¶ added in v0.4.0

func (o InterconnectionPortList) ToMap() (map[string]interface{}, error)

func (*InterconnectionPortList) UnmarshalJSON ¶ added in v0.7.0

func (o *InterconnectionPortList) UnmarshalJSON(bytes []byte) (err error)

type InterconnectionPortRole ¶ added in v0.22.0

type InterconnectionPortRole string

InterconnectionPortRole Either 'primary' or 'secondary'.

const (
	INTERCONNECTIONPORTROLE_PRIMARY   InterconnectionPortRole = "primary"
	INTERCONNECTIONPORTROLE_SECONDARY InterconnectionPortRole = "secondary"
)

List of InterconnectionPort_role

func NewInterconnectionPortRoleFromValue ¶ added in v0.22.0

func NewInterconnectionPortRoleFromValue(v string) (*InterconnectionPortRole, error)

NewInterconnectionPortRoleFromValue returns a pointer to a valid InterconnectionPortRole for the value passed as argument, or an error if the value passed is not allowed by the enum

func (InterconnectionPortRole) IsValid ¶ added in v0.22.0

func (v InterconnectionPortRole) IsValid() bool

IsValid return true if the value is valid for the enum, false otherwise

func (InterconnectionPortRole) Ptr ¶ added in v0.22.0

Ptr returns reference to InterconnectionPort_role value

func (*InterconnectionPortRole) UnmarshalJSON ¶ added in v0.22.0

func (v *InterconnectionPortRole) UnmarshalJSON(src []byte) error

type InterconnectionPortStatus ¶ added in v0.22.0

type InterconnectionPortStatus string

InterconnectionPortStatus For both Fabric VCs and Dedicated Ports, this will be 'requested' on creation and 'deleting' on deletion. Once the Fabric VC has found its corresponding Fabric connection, this will turn to 'active'. For Dedicated Ports, once the dedicated port is associated, this will also turn to 'active'. For Fabric VCs, this can turn into an 'expired' state if the service token associated is expired.

const (
	INTERCONNECTIONPORTSTATUS_REQUESTED     InterconnectionPortStatus = "requested"
	INTERCONNECTIONPORTSTATUS_ACTIVE        InterconnectionPortStatus = "active"
	INTERCONNECTIONPORTSTATUS_DELETING      InterconnectionPortStatus = "deleting"
	INTERCONNECTIONPORTSTATUS_EXPIRED       InterconnectionPortStatus = "expired"
	INTERCONNECTIONPORTSTATUS_DELETE_FAILED InterconnectionPortStatus = "delete_failed"
)

List of InterconnectionPort_status

func NewInterconnectionPortStatusFromValue ¶ added in v0.22.0

func NewInterconnectionPortStatusFromValue(v string) (*InterconnectionPortStatus, error)

NewInterconnectionPortStatusFromValue returns a pointer to a valid InterconnectionPortStatus for the value passed as argument, or an error if the value passed is not allowed by the enum

func (InterconnectionPortStatus) IsValid ¶ added in v0.22.0

func (v InterconnectionPortStatus) IsValid() bool

IsValid return true if the value is valid for the enum, false otherwise

func (InterconnectionPortStatus) Ptr ¶ added in v0.22.0

Ptr returns reference to InterconnectionPort_status value

func (*InterconnectionPortStatus) UnmarshalJSON ¶ added in v0.22.0

func (v *InterconnectionPortStatus) UnmarshalJSON(src []byte) error

type InterconnectionRedundancy ¶ added in v0.22.0

type InterconnectionRedundancy string

InterconnectionRedundancy Either 'primary', meaning a single interconnection, or 'redundant', meaning a redundant interconnection.

const (
	INTERCONNECTIONREDUNDANCY_PRIMARY   InterconnectionRedundancy = "primary"
	INTERCONNECTIONREDUNDANCY_REDUNDANT InterconnectionRedundancy = "redundant"
)

List of Interconnection_redundancy

func NewInterconnectionRedundancyFromValue ¶ added in v0.22.0

func NewInterconnectionRedundancyFromValue(v string) (*InterconnectionRedundancy, error)

NewInterconnectionRedundancyFromValue returns a pointer to a valid InterconnectionRedundancy for the value passed as argument, or an error if the value passed is not allowed by the enum

func (InterconnectionRedundancy) IsValid ¶ added in v0.22.0

func (v InterconnectionRedundancy) IsValid() bool

IsValid return true if the value is valid for the enum, false otherwise

func (InterconnectionRedundancy) Ptr ¶ added in v0.22.0

Ptr returns reference to Interconnection_redundancy value

func (*InterconnectionRedundancy) UnmarshalJSON ¶ added in v0.22.0

func (v *InterconnectionRedundancy) UnmarshalJSON(src []byte) error

type InterconnectionType ¶ added in v0.22.0

type InterconnectionType string

InterconnectionType The 'shared' type of interconnection refers to shared connections, or later also known as Fabric Virtual Connections (or Fabric VCs). The 'dedicated' type of interconnection refers to interconnections created with Dedicated Ports.

const (
	INTERCONNECTIONTYPE_SHARED    InterconnectionType = "shared"
	INTERCONNECTIONTYPE_DEDICATED InterconnectionType = "dedicated"
)

List of Interconnection_type

func NewInterconnectionTypeFromValue ¶ added in v0.22.0

func NewInterconnectionTypeFromValue(v string) (*InterconnectionType, error)

NewInterconnectionTypeFromValue returns a pointer to a valid InterconnectionType for the value passed as argument, or an error if the value passed is not allowed by the enum

func (InterconnectionType) IsValid ¶ added in v0.22.0

func (v InterconnectionType) IsValid() bool

IsValid return true if the value is valid for the enum, false otherwise

func (InterconnectionType) Ptr ¶ added in v0.22.0

Ptr returns reference to Interconnection_type value

func (*InterconnectionType) UnmarshalJSON ¶ added in v0.22.0

func (v *InterconnectionType) UnmarshalJSON(src []byte) error

type InterconnectionUpdateInput ¶

type InterconnectionUpdateInput struct {
	ContactEmail *string              `json:"contact_email,omitempty"`
	Description  *string              `json:"description,omitempty"`
	Mode         *InterconnectionMode `json:"mode,omitempty"`
	Name         *string              `json:"name,omitempty"`
	// Updating from 'redundant' to 'primary' will remove a secondary port, while updating from 'primary' to 'redundant' will add one.
	Redundancy           *string  `json:"redundancy,omitempty"`
	Tags                 []string `json:"tags,omitempty"`
	AdditionalProperties map[string]interface{}
}

InterconnectionUpdateInput struct for InterconnectionUpdateInput

func NewInterconnectionUpdateInput ¶

func NewInterconnectionUpdateInput() *InterconnectionUpdateInput

NewInterconnectionUpdateInput instantiates a new InterconnectionUpdateInput object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewInterconnectionUpdateInputWithDefaults ¶

func NewInterconnectionUpdateInputWithDefaults() *InterconnectionUpdateInput

NewInterconnectionUpdateInputWithDefaults instantiates a new InterconnectionUpdateInput object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*InterconnectionUpdateInput) GetContactEmail ¶

func (o *InterconnectionUpdateInput) GetContactEmail() string

GetContactEmail returns the ContactEmail field value if set, zero value otherwise.

func (*InterconnectionUpdateInput) GetContactEmailOk ¶

func (o *InterconnectionUpdateInput) GetContactEmailOk() (*string, bool)

GetContactEmailOk returns a tuple with the ContactEmail field value if set, nil otherwise and a boolean to check if the value has been set.

func (*InterconnectionUpdateInput) GetDescription ¶

func (o *InterconnectionUpdateInput) GetDescription() string

GetDescription returns the Description field value if set, zero value otherwise.

func (*InterconnectionUpdateInput) GetDescriptionOk ¶

func (o *InterconnectionUpdateInput) GetDescriptionOk() (*string, bool)

GetDescriptionOk returns a tuple with the Description field value if set, nil otherwise and a boolean to check if the value has been set.

func (*InterconnectionUpdateInput) GetMode ¶

GetMode returns the Mode field value if set, zero value otherwise.

func (*InterconnectionUpdateInput) GetModeOk ¶

GetModeOk returns a tuple with the Mode field value if set, nil otherwise and a boolean to check if the value has been set.

func (*InterconnectionUpdateInput) GetName ¶

func (o *InterconnectionUpdateInput) GetName() string

GetName returns the Name field value if set, zero value otherwise.

func (*InterconnectionUpdateInput) GetNameOk ¶

func (o *InterconnectionUpdateInput) GetNameOk() (*string, bool)

GetNameOk returns a tuple with the Name field value if set, nil otherwise and a boolean to check if the value has been set.

func (*InterconnectionUpdateInput) GetRedundancy ¶

func (o *InterconnectionUpdateInput) GetRedundancy() string

GetRedundancy returns the Redundancy field value if set, zero value otherwise.

func (*InterconnectionUpdateInput) GetRedundancyOk ¶

func (o *InterconnectionUpdateInput) GetRedundancyOk() (*string, bool)

GetRedundancyOk returns a tuple with the Redundancy field value if set, nil otherwise and a boolean to check if the value has been set.

func (*InterconnectionUpdateInput) GetTags ¶

func (o *InterconnectionUpdateInput) GetTags() []string

GetTags returns the Tags field value if set, zero value otherwise.

func (*InterconnectionUpdateInput) GetTagsOk ¶

func (o *InterconnectionUpdateInput) GetTagsOk() ([]string, bool)

GetTagsOk returns a tuple with the Tags field value if set, nil otherwise and a boolean to check if the value has been set.

func (*InterconnectionUpdateInput) HasContactEmail ¶

func (o *InterconnectionUpdateInput) HasContactEmail() bool

HasContactEmail returns a boolean if a field has been set.

func (*InterconnectionUpdateInput) HasDescription ¶

func (o *InterconnectionUpdateInput) HasDescription() bool

HasDescription returns a boolean if a field has been set.

func (*InterconnectionUpdateInput) HasMode ¶

func (o *InterconnectionUpdateInput) HasMode() bool

HasMode returns a boolean if a field has been set.

func (*InterconnectionUpdateInput) HasName ¶

func (o *InterconnectionUpdateInput) HasName() bool

HasName returns a boolean if a field has been set.

func (*InterconnectionUpdateInput) HasRedundancy ¶

func (o *InterconnectionUpdateInput) HasRedundancy() bool

HasRedundancy returns a boolean if a field has been set.

func (*InterconnectionUpdateInput) HasTags ¶

func (o *InterconnectionUpdateInput) HasTags() bool

HasTags returns a boolean if a field has been set.

func (InterconnectionUpdateInput) MarshalJSON ¶

func (o InterconnectionUpdateInput) MarshalJSON() ([]byte, error)

func (*InterconnectionUpdateInput) SetContactEmail ¶

func (o *InterconnectionUpdateInput) SetContactEmail(v string)

SetContactEmail gets a reference to the given string and assigns it to the ContactEmail field.

func (*InterconnectionUpdateInput) SetDescription ¶

func (o *InterconnectionUpdateInput) SetDescription(v string)

SetDescription gets a reference to the given string and assigns it to the Description field.

func (*InterconnectionUpdateInput) SetMode ¶

SetMode gets a reference to the given InterconnectionMode and assigns it to the Mode field.

func (*InterconnectionUpdateInput) SetName ¶

func (o *InterconnectionUpdateInput) SetName(v string)

SetName gets a reference to the given string and assigns it to the Name field.

func (*InterconnectionUpdateInput) SetRedundancy ¶

func (o *InterconnectionUpdateInput) SetRedundancy(v string)

SetRedundancy gets a reference to the given string and assigns it to the Redundancy field.

func (*InterconnectionUpdateInput) SetTags ¶

func (o *InterconnectionUpdateInput) SetTags(v []string)

SetTags gets a reference to the given []string and assigns it to the Tags field.

func (InterconnectionUpdateInput) ToMap ¶ added in v0.4.0

func (o InterconnectionUpdateInput) ToMap() (map[string]interface{}, error)

func (*InterconnectionUpdateInput) UnmarshalJSON ¶ added in v0.7.0

func (o *InterconnectionUpdateInput) UnmarshalJSON(bytes []byte) (err error)

type InterconnectionsApiService ¶ added in v0.3.0

type InterconnectionsApiService service

InterconnectionsApiService InterconnectionsApi service

func (*InterconnectionsApiService) CreateInterconnectionPortVirtualCircuit ¶ added in v0.3.0

func (a *InterconnectionsApiService) CreateInterconnectionPortVirtualCircuit(ctx context.Context, connectionId string, portId string) ApiCreateInterconnectionPortVirtualCircuitRequest

CreateInterconnectionPortVirtualCircuit Create a new Virtual Circuit

Create a new Virtual Circuit on a Dedicated Port. To create a regular Virtual Circuit, specify a Virtual Network record and an NNI VLAN value. To create a VRF-based Virtual Circuit, specify the VRF ID and subnet, along with the NNI VLAN value.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param connectionId UUID of the interconnection
@param portId UUID of the interconnection port
@return ApiCreateInterconnectionPortVirtualCircuitRequest

func (*InterconnectionsApiService) CreateInterconnectionPortVirtualCircuitExecute ¶ added in v0.3.0

func (a *InterconnectionsApiService) CreateInterconnectionPortVirtualCircuitExecute(r ApiCreateInterconnectionPortVirtualCircuitRequest) (*VirtualCircuit, *http.Response, error)

Execute executes the request

@return VirtualCircuit

func (*InterconnectionsApiService) CreateOrganizationInterconnection ¶ added in v0.3.0

func (a *InterconnectionsApiService) CreateOrganizationInterconnection(ctx context.Context, organizationId string) ApiCreateOrganizationInterconnectionRequest

CreateOrganizationInterconnection Request a new interconnection for the organization

Creates a new interconnection request. A Project ID must be specified in the request body for connections on shared ports.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param organizationId UUID of the organization
@return ApiCreateOrganizationInterconnectionRequest

func (*InterconnectionsApiService) CreateOrganizationInterconnectionExecute ¶ added in v0.3.0

Execute executes the request

@return Interconnection

func (*InterconnectionsApiService) CreateProjectInterconnection ¶ added in v0.3.0

func (a *InterconnectionsApiService) CreateProjectInterconnection(ctx context.Context, projectId string) ApiCreateProjectInterconnectionRequest

CreateProjectInterconnection Request a new interconnection for the project's organization

Creates a new interconnection request

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param projectId UUID of the project
@return ApiCreateProjectInterconnectionRequest

func (*InterconnectionsApiService) CreateProjectInterconnectionExecute ¶ added in v0.3.0

Execute executes the request

@return Interconnection

func (*InterconnectionsApiService) DeleteInterconnection ¶ added in v0.3.0

func (a *InterconnectionsApiService) DeleteInterconnection(ctx context.Context, connectionId string) ApiDeleteInterconnectionRequest

DeleteInterconnection Delete interconnection

Delete a interconnection, its associated ports and virtual circuits.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param connectionId Interconnection UUID
@return ApiDeleteInterconnectionRequest

func (*InterconnectionsApiService) DeleteInterconnectionExecute ¶ added in v0.3.0

Execute executes the request

@return Interconnection

func (*InterconnectionsApiService) DeleteVirtualCircuit ¶ added in v0.3.0

DeleteVirtualCircuit Delete a virtual circuit

Delete a virtual circuit from a Dedicated Port.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param id Virtual Circuit UUID
@return ApiDeleteVirtualCircuitRequest

func (*InterconnectionsApiService) DeleteVirtualCircuitExecute ¶ added in v0.3.0

Execute executes the request

@return VirtualCircuit

func (*InterconnectionsApiService) GetInterconnection ¶ added in v0.3.0

func (a *InterconnectionsApiService) GetInterconnection(ctx context.Context, connectionId string) ApiGetInterconnectionRequest

GetInterconnection Get interconnection

Get the details of a interconnection

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param connectionId Interconnection UUID
@return ApiGetInterconnectionRequest

func (*InterconnectionsApiService) GetInterconnectionExecute ¶ added in v0.3.0

Execute executes the request

@return Interconnection

func (*InterconnectionsApiService) GetInterconnectionPort ¶ added in v0.3.0

func (a *InterconnectionsApiService) GetInterconnectionPort(ctx context.Context, connectionId string, id string) ApiGetInterconnectionPortRequest

GetInterconnectionPort Get a interconnection port

Get the details of an interconnection port.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param connectionId UUID of the interconnection
@param id Port UUID
@return ApiGetInterconnectionPortRequest

func (*InterconnectionsApiService) GetInterconnectionPortExecute ¶ added in v0.3.0

Execute executes the request

@return InterconnectionPort

func (*InterconnectionsApiService) GetVirtualCircuit ¶ added in v0.3.0

GetVirtualCircuit Get a virtual circuit

Get the details of a virtual circuit

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param id Virtual Circuit UUID
@return ApiGetVirtualCircuitRequest

func (*InterconnectionsApiService) GetVirtualCircuitExecute ¶ added in v0.3.0

Execute executes the request

@return VirtualCircuit

func (*InterconnectionsApiService) ListInterconnectionPortVirtualCircuits ¶ added in v0.3.0

func (a *InterconnectionsApiService) ListInterconnectionPortVirtualCircuits(ctx context.Context, connectionId string, portId string) ApiListInterconnectionPortVirtualCircuitsRequest

ListInterconnectionPortVirtualCircuits List a interconnection port's virtual circuits

List the virtual circuit record(s) associatiated with a particular interconnection port.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param connectionId UUID of the interconnection
@param portId UUID of the interconnection port
@return ApiListInterconnectionPortVirtualCircuitsRequest

func (*InterconnectionsApiService) ListInterconnectionPortVirtualCircuitsExecute ¶ added in v0.3.0

Execute executes the request

@return VirtualCircuitList

func (*InterconnectionsApiService) ListInterconnectionPorts ¶ added in v0.3.0

func (a *InterconnectionsApiService) ListInterconnectionPorts(ctx context.Context, connectionId string) ApiListInterconnectionPortsRequest

ListInterconnectionPorts List a interconnection's ports

List the ports associated to an interconnection.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param connectionId UUID of the interconnection
@return ApiListInterconnectionPortsRequest

func (*InterconnectionsApiService) ListInterconnectionPortsExecute ¶ added in v0.3.0

Execute executes the request

@return InterconnectionPortList

func (*InterconnectionsApiService) ListInterconnectionVirtualCircuits ¶ added in v0.5.0

func (a *InterconnectionsApiService) ListInterconnectionVirtualCircuits(ctx context.Context, connectionId string) ApiListInterconnectionVirtualCircuitsRequest

ListInterconnectionVirtualCircuits List a interconnection's virtual circuits

List the virtual circuit record(s) associated with a particular interconnection id.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param connectionId UUID of the interconnection
@return ApiListInterconnectionVirtualCircuitsRequest

func (*InterconnectionsApiService) ListInterconnectionVirtualCircuitsExecute ¶ added in v0.5.0

Execute executes the request

@return VirtualCircuitList

func (*InterconnectionsApiService) OrganizationListInterconnections ¶ added in v0.3.0

func (a *InterconnectionsApiService) OrganizationListInterconnections(ctx context.Context, organizationId string) ApiOrganizationListInterconnectionsRequest

OrganizationListInterconnections List organization connections

List the connections belonging to the organization

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param organizationId UUID of the organization
@return ApiOrganizationListInterconnectionsRequest

func (*InterconnectionsApiService) OrganizationListInterconnectionsExecute ¶ added in v0.3.0

Execute executes the request

@return InterconnectionList

func (*InterconnectionsApiService) ProjectListInterconnections ¶ added in v0.3.0

func (a *InterconnectionsApiService) ProjectListInterconnections(ctx context.Context, projectId string) ApiProjectListInterconnectionsRequest

ProjectListInterconnections List project connections

List the connections belonging to the project

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param projectId UUID of the project
@return ApiProjectListInterconnectionsRequest

func (*InterconnectionsApiService) ProjectListInterconnectionsExecute ¶ added in v0.3.0

Execute executes the request

@return InterconnectionList

func (*InterconnectionsApiService) UpdateInterconnection ¶ added in v0.3.0

func (a *InterconnectionsApiService) UpdateInterconnection(ctx context.Context, connectionId string) ApiUpdateInterconnectionRequest

UpdateInterconnection Update interconnection

Update the details of a interconnection

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param connectionId Interconnection UUID
@return ApiUpdateInterconnectionRequest

func (*InterconnectionsApiService) UpdateInterconnectionExecute ¶ added in v0.3.0

Execute executes the request

@return Interconnection

func (*InterconnectionsApiService) UpdateVirtualCircuit ¶ added in v0.3.0

UpdateVirtualCircuit Update a virtual circuit

Update the details of a virtual circuit.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param id Virtual Circuit UUID
@return ApiUpdateVirtualCircuitRequest

func (*InterconnectionsApiService) UpdateVirtualCircuitExecute ¶ added in v0.3.0

Execute executes the request

@return VirtualCircuit

type Invitation ¶

type Invitation struct {
	CreatedAt            *time.Time             `json:"created_at,omitempty"`
	Href                 *string                `json:"href,omitempty"`
	Id                   *string                `json:"id,omitempty"`
	Invitation           *Href                  `json:"invitation,omitempty"`
	InvitedBy            *Href                  `json:"invited_by,omitempty"`
	Invitee              *string                `json:"invitee,omitempty"`
	Nonce                *string                `json:"nonce,omitempty"`
	Organization         *Href                  `json:"organization,omitempty"`
	Projects             []Href                 `json:"projects,omitempty"`
	Roles                []InvitationRolesInner `json:"roles,omitempty"`
	UpdatedAt            *time.Time             `json:"updated_at,omitempty"`
	AdditionalProperties map[string]interface{}
}

Invitation struct for Invitation

func NewInvitation ¶

func NewInvitation() *Invitation

NewInvitation instantiates a new Invitation object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewInvitationWithDefaults ¶

func NewInvitationWithDefaults() *Invitation

NewInvitationWithDefaults instantiates a new Invitation object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*Invitation) GetCreatedAt ¶

func (o *Invitation) GetCreatedAt() time.Time

GetCreatedAt returns the CreatedAt field value if set, zero value otherwise.

func (*Invitation) GetCreatedAtOk ¶

func (o *Invitation) GetCreatedAtOk() (*time.Time, bool)

GetCreatedAtOk returns a tuple with the CreatedAt field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Invitation) GetHref ¶

func (o *Invitation) GetHref() string

GetHref returns the Href field value if set, zero value otherwise.

func (*Invitation) GetHrefOk ¶

func (o *Invitation) GetHrefOk() (*string, bool)

GetHrefOk returns a tuple with the Href field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Invitation) GetId ¶

func (o *Invitation) GetId() string

GetId returns the Id field value if set, zero value otherwise.

func (*Invitation) GetIdOk ¶

func (o *Invitation) GetIdOk() (*string, bool)

GetIdOk returns a tuple with the Id field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Invitation) GetInvitation ¶

func (o *Invitation) GetInvitation() Href

GetInvitation returns the Invitation field value if set, zero value otherwise.

func (*Invitation) GetInvitationOk ¶

func (o *Invitation) GetInvitationOk() (*Href, bool)

GetInvitationOk returns a tuple with the Invitation field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Invitation) GetInvitedBy ¶

func (o *Invitation) GetInvitedBy() Href

GetInvitedBy returns the InvitedBy field value if set, zero value otherwise.

func (*Invitation) GetInvitedByOk ¶

func (o *Invitation) GetInvitedByOk() (*Href, bool)

GetInvitedByOk returns a tuple with the InvitedBy field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Invitation) GetInvitee ¶

func (o *Invitation) GetInvitee() string

GetInvitee returns the Invitee field value if set, zero value otherwise.

func (*Invitation) GetInviteeOk ¶

func (o *Invitation) GetInviteeOk() (*string, bool)

GetInviteeOk returns a tuple with the Invitee field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Invitation) GetNonce ¶ added in v0.3.0

func (o *Invitation) GetNonce() string

GetNonce returns the Nonce field value if set, zero value otherwise.

func (*Invitation) GetNonceOk ¶ added in v0.3.0

func (o *Invitation) GetNonceOk() (*string, bool)

GetNonceOk returns a tuple with the Nonce field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Invitation) GetOrganization ¶

func (o *Invitation) GetOrganization() Href

GetOrganization returns the Organization field value if set, zero value otherwise.

func (*Invitation) GetOrganizationOk ¶

func (o *Invitation) GetOrganizationOk() (*Href, bool)

GetOrganizationOk returns a tuple with the Organization field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Invitation) GetProjects ¶ added in v0.3.0

func (o *Invitation) GetProjects() []Href

GetProjects returns the Projects field value if set, zero value otherwise.

func (*Invitation) GetProjectsOk ¶ added in v0.3.0

func (o *Invitation) GetProjectsOk() ([]Href, bool)

GetProjectsOk returns a tuple with the Projects field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Invitation) GetRoles ¶

func (o *Invitation) GetRoles() []InvitationRolesInner

GetRoles returns the Roles field value if set, zero value otherwise.

func (*Invitation) GetRolesOk ¶

func (o *Invitation) GetRolesOk() ([]InvitationRolesInner, bool)

GetRolesOk returns a tuple with the Roles field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Invitation) GetUpdatedAt ¶

func (o *Invitation) GetUpdatedAt() time.Time

GetUpdatedAt returns the UpdatedAt field value if set, zero value otherwise.

func (*Invitation) GetUpdatedAtOk ¶

func (o *Invitation) GetUpdatedAtOk() (*time.Time, bool)

GetUpdatedAtOk returns a tuple with the UpdatedAt field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Invitation) HasCreatedAt ¶

func (o *Invitation) HasCreatedAt() bool

HasCreatedAt returns a boolean if a field has been set.

func (*Invitation) HasHref ¶

func (o *Invitation) HasHref() bool

HasHref returns a boolean if a field has been set.

func (*Invitation) HasId ¶

func (o *Invitation) HasId() bool

HasId returns a boolean if a field has been set.

func (*Invitation) HasInvitation ¶

func (o *Invitation) HasInvitation() bool

HasInvitation returns a boolean if a field has been set.

func (*Invitation) HasInvitedBy ¶

func (o *Invitation) HasInvitedBy() bool

HasInvitedBy returns a boolean if a field has been set.

func (*Invitation) HasInvitee ¶

func (o *Invitation) HasInvitee() bool

HasInvitee returns a boolean if a field has been set.

func (*Invitation) HasNonce ¶ added in v0.3.0

func (o *Invitation) HasNonce() bool

HasNonce returns a boolean if a field has been set.

func (*Invitation) HasOrganization ¶

func (o *Invitation) HasOrganization() bool

HasOrganization returns a boolean if a field has been set.

func (*Invitation) HasProjects ¶ added in v0.3.0

func (o *Invitation) HasProjects() bool

HasProjects returns a boolean if a field has been set.

func (*Invitation) HasRoles ¶

func (o *Invitation) HasRoles() bool

HasRoles returns a boolean if a field has been set.

func (*Invitation) HasUpdatedAt ¶

func (o *Invitation) HasUpdatedAt() bool

HasUpdatedAt returns a boolean if a field has been set.

func (Invitation) MarshalJSON ¶

func (o Invitation) MarshalJSON() ([]byte, error)

func (*Invitation) SetCreatedAt ¶

func (o *Invitation) SetCreatedAt(v time.Time)

SetCreatedAt gets a reference to the given time.Time and assigns it to the CreatedAt field.

func (*Invitation) SetHref ¶

func (o *Invitation) SetHref(v string)

SetHref gets a reference to the given string and assigns it to the Href field.

func (*Invitation) SetId ¶

func (o *Invitation) SetId(v string)

SetId gets a reference to the given string and assigns it to the Id field.

func (*Invitation) SetInvitation ¶

func (o *Invitation) SetInvitation(v Href)

SetInvitation gets a reference to the given Href and assigns it to the Invitation field.

func (*Invitation) SetInvitedBy ¶

func (o *Invitation) SetInvitedBy(v Href)

SetInvitedBy gets a reference to the given Href and assigns it to the InvitedBy field.

func (*Invitation) SetInvitee ¶

func (o *Invitation) SetInvitee(v string)

SetInvitee gets a reference to the given string and assigns it to the Invitee field.

func (*Invitation) SetNonce ¶ added in v0.3.0

func (o *Invitation) SetNonce(v string)

SetNonce gets a reference to the given string and assigns it to the Nonce field.

func (*Invitation) SetOrganization ¶

func (o *Invitation) SetOrganization(v Href)

SetOrganization gets a reference to the given Href and assigns it to the Organization field.

func (*Invitation) SetProjects ¶ added in v0.3.0

func (o *Invitation) SetProjects(v []Href)

SetProjects gets a reference to the given []Href and assigns it to the Projects field.

func (*Invitation) SetRoles ¶

func (o *Invitation) SetRoles(v []InvitationRolesInner)

SetRoles gets a reference to the given []InvitationRolesInner and assigns it to the Roles field.

func (*Invitation) SetUpdatedAt ¶

func (o *Invitation) SetUpdatedAt(v time.Time)

SetUpdatedAt gets a reference to the given time.Time and assigns it to the UpdatedAt field.

func (Invitation) ToMap ¶ added in v0.4.0

func (o Invitation) ToMap() (map[string]interface{}, error)

func (*Invitation) UnmarshalJSON ¶ added in v0.7.0

func (o *Invitation) UnmarshalJSON(bytes []byte) (err error)

type InvitationInput ¶

type InvitationInput struct {
	Invitee              string                 `json:"invitee"`
	Message              *string                `json:"message,omitempty"`
	OrganizationId       *string                `json:"organization_id,omitempty"`
	ProjectsIds          []string               `json:"projects_ids,omitempty"`
	Roles                []InvitationRolesInner `json:"roles,omitempty"`
	AdditionalProperties map[string]interface{}
}

InvitationInput struct for InvitationInput

func NewInvitationInput ¶

func NewInvitationInput(invitee string) *InvitationInput

NewInvitationInput instantiates a new InvitationInput object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewInvitationInputWithDefaults ¶

func NewInvitationInputWithDefaults() *InvitationInput

NewInvitationInputWithDefaults instantiates a new InvitationInput object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*InvitationInput) GetInvitee ¶

func (o *InvitationInput) GetInvitee() string

GetInvitee returns the Invitee field value

func (*InvitationInput) GetInviteeOk ¶

func (o *InvitationInput) GetInviteeOk() (*string, bool)

GetInviteeOk returns a tuple with the Invitee field value and a boolean to check if the value has been set.

func (*InvitationInput) GetMessage ¶

func (o *InvitationInput) GetMessage() string

GetMessage returns the Message field value if set, zero value otherwise.

func (*InvitationInput) GetMessageOk ¶

func (o *InvitationInput) GetMessageOk() (*string, bool)

GetMessageOk returns a tuple with the Message field value if set, nil otherwise and a boolean to check if the value has been set.

func (*InvitationInput) GetOrganizationId ¶ added in v0.3.0

func (o *InvitationInput) GetOrganizationId() string

GetOrganizationId returns the OrganizationId field value if set, zero value otherwise.

func (*InvitationInput) GetOrganizationIdOk ¶ added in v0.3.0

func (o *InvitationInput) GetOrganizationIdOk() (*string, bool)

GetOrganizationIdOk returns a tuple with the OrganizationId field value if set, nil otherwise and a boolean to check if the value has been set.

func (*InvitationInput) GetProjectsIds ¶

func (o *InvitationInput) GetProjectsIds() []string

GetProjectsIds returns the ProjectsIds field value if set, zero value otherwise.

func (*InvitationInput) GetProjectsIdsOk ¶

func (o *InvitationInput) GetProjectsIdsOk() ([]string, bool)

GetProjectsIdsOk returns a tuple with the ProjectsIds field value if set, nil otherwise and a boolean to check if the value has been set.

func (*InvitationInput) GetRoles ¶

func (o *InvitationInput) GetRoles() []InvitationRolesInner

GetRoles returns the Roles field value if set, zero value otherwise.

func (*InvitationInput) GetRolesOk ¶

func (o *InvitationInput) GetRolesOk() ([]InvitationRolesInner, bool)

GetRolesOk returns a tuple with the Roles field value if set, nil otherwise and a boolean to check if the value has been set.

func (*InvitationInput) HasMessage ¶

func (o *InvitationInput) HasMessage() bool

HasMessage returns a boolean if a field has been set.

func (*InvitationInput) HasOrganizationId ¶ added in v0.3.0

func (o *InvitationInput) HasOrganizationId() bool

HasOrganizationId returns a boolean if a field has been set.

func (*InvitationInput) HasProjectsIds ¶

func (o *InvitationInput) HasProjectsIds() bool

HasProjectsIds returns a boolean if a field has been set.

func (*InvitationInput) HasRoles ¶

func (o *InvitationInput) HasRoles() bool

HasRoles returns a boolean if a field has been set.

func (InvitationInput) MarshalJSON ¶

func (o InvitationInput) MarshalJSON() ([]byte, error)

func (*InvitationInput) SetInvitee ¶

func (o *InvitationInput) SetInvitee(v string)

SetInvitee sets field value

func (*InvitationInput) SetMessage ¶

func (o *InvitationInput) SetMessage(v string)

SetMessage gets a reference to the given string and assigns it to the Message field.

func (*InvitationInput) SetOrganizationId ¶ added in v0.3.0

func (o *InvitationInput) SetOrganizationId(v string)

SetOrganizationId gets a reference to the given string and assigns it to the OrganizationId field.

func (*InvitationInput) SetProjectsIds ¶

func (o *InvitationInput) SetProjectsIds(v []string)

SetProjectsIds gets a reference to the given []string and assigns it to the ProjectsIds field.

func (*InvitationInput) SetRoles ¶

func (o *InvitationInput) SetRoles(v []InvitationRolesInner)

SetRoles gets a reference to the given []InvitationRolesInner and assigns it to the Roles field.

func (InvitationInput) ToMap ¶ added in v0.4.0

func (o InvitationInput) ToMap() (map[string]interface{}, error)

func (*InvitationInput) UnmarshalJSON ¶ added in v0.7.0

func (o *InvitationInput) UnmarshalJSON(bytes []byte) (err error)

type InvitationList ¶

type InvitationList struct {
	Invitations          []Membership `json:"invitations,omitempty"`
	AdditionalProperties map[string]interface{}
}

InvitationList struct for InvitationList

func NewInvitationList ¶

func NewInvitationList() *InvitationList

NewInvitationList instantiates a new InvitationList object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewInvitationListWithDefaults ¶

func NewInvitationListWithDefaults() *InvitationList

NewInvitationListWithDefaults instantiates a new InvitationList object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*InvitationList) GetInvitations ¶

func (o *InvitationList) GetInvitations() []Membership

GetInvitations returns the Invitations field value if set, zero value otherwise.

func (*InvitationList) GetInvitationsOk ¶

func (o *InvitationList) GetInvitationsOk() ([]Membership, bool)

GetInvitationsOk returns a tuple with the Invitations field value if set, nil otherwise and a boolean to check if the value has been set.

func (*InvitationList) HasInvitations ¶

func (o *InvitationList) HasInvitations() bool

HasInvitations returns a boolean if a field has been set.

func (InvitationList) MarshalJSON ¶

func (o InvitationList) MarshalJSON() ([]byte, error)

func (*InvitationList) SetInvitations ¶

func (o *InvitationList) SetInvitations(v []Membership)

SetInvitations gets a reference to the given []Membership and assigns it to the Invitations field.

func (InvitationList) ToMap ¶ added in v0.4.0

func (o InvitationList) ToMap() (map[string]interface{}, error)

func (*InvitationList) UnmarshalJSON ¶ added in v0.7.0

func (o *InvitationList) UnmarshalJSON(bytes []byte) (err error)

type InvitationRolesInner ¶ added in v0.22.0

type InvitationRolesInner string

InvitationRolesInner the model 'InvitationRolesInner'

const (
	INVITATIONROLESINNER_ADMIN                InvitationRolesInner = "admin"
	INVITATIONROLESINNER_BILLING              InvitationRolesInner = "billing"
	INVITATIONROLESINNER_COLLABORATOR         InvitationRolesInner = "collaborator"
	INVITATIONROLESINNER_LIMITED_COLLABORATOR InvitationRolesInner = "limited_collaborator"
)

List of Invitation_roles_inner

func NewInvitationRolesInnerFromValue ¶ added in v0.22.0

func NewInvitationRolesInnerFromValue(v string) (*InvitationRolesInner, error)

NewInvitationRolesInnerFromValue returns a pointer to a valid InvitationRolesInner for the value passed as argument, or an error if the value passed is not allowed by the enum

func (InvitationRolesInner) IsValid ¶ added in v0.22.0

func (v InvitationRolesInner) IsValid() bool

IsValid return true if the value is valid for the enum, false otherwise

func (InvitationRolesInner) Ptr ¶ added in v0.22.0

Ptr returns reference to Invitation_roles_inner value

func (*InvitationRolesInner) UnmarshalJSON ¶ added in v0.22.0

func (v *InvitationRolesInner) UnmarshalJSON(src []byte) error

type InvitationsApiService ¶

type InvitationsApiService service

InvitationsApiService InvitationsApi service

func (*InvitationsApiService) AcceptInvitation ¶

AcceptInvitation Accept an invitation

Accept an invitation.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param id Invitation UUID
@return ApiAcceptInvitationRequest

func (*InvitationsApiService) AcceptInvitationExecute ¶

func (a *InvitationsApiService) AcceptInvitationExecute(r ApiAcceptInvitationRequest) (*Membership, *http.Response, error)

Execute executes the request

@return Membership

func (*InvitationsApiService) DeclineInvitation ¶

DeclineInvitation Decline an invitation

Decline an invitation.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param id Invitation UUID
@return ApiDeclineInvitationRequest

func (*InvitationsApiService) DeclineInvitationExecute ¶

func (a *InvitationsApiService) DeclineInvitationExecute(r ApiDeclineInvitationRequest) (*http.Response, error)

Execute executes the request

func (*InvitationsApiService) FindInvitationById ¶

FindInvitationById View an invitation

Returns a single invitation. (It include the `invitable` to maintain backward compatibility but will be removed soon)

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param id Invitation UUID
@return ApiFindInvitationByIdRequest

func (*InvitationsApiService) FindInvitationByIdExecute ¶

func (a *InvitationsApiService) FindInvitationByIdExecute(r ApiFindInvitationByIdRequest) (*Invitation, *http.Response, error)

Execute executes the request

@return Invitation

type Invoice ¶ added in v0.9.0

type Invoice struct {
	Amount               *float32       `json:"amount,omitempty"`
	Balance              *float32       `json:"balance,omitempty"`
	CreatedOn            *string        `json:"created_on,omitempty"`
	CreditAmount         *float32       `json:"credit_amount,omitempty"`
	CreditsApplied       *float32       `json:"credits_applied,omitempty"`
	Currency             *string        `json:"currency,omitempty"`
	DueOn                *string        `json:"due_on,omitempty"`
	Id                   *string        `json:"id,omitempty"`
	Items                []LineItem     `json:"items,omitempty"`
	Number               *string        `json:"number,omitempty"`
	Project              *ProjectIdName `json:"project,omitempty"`
	ReferenceNumber      *string        `json:"reference_number,omitempty"`
	Status               *string        `json:"status,omitempty"`
	TargetDate           *string        `json:"target_date,omitempty"`
	AdditionalProperties map[string]interface{}
}

Invoice struct for Invoice

func NewInvoice ¶ added in v0.9.0

func NewInvoice() *Invoice

NewInvoice instantiates a new Invoice object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewInvoiceWithDefaults ¶ added in v0.9.0

func NewInvoiceWithDefaults() *Invoice

NewInvoiceWithDefaults instantiates a new Invoice object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*Invoice) GetAmount ¶ added in v0.9.0

func (o *Invoice) GetAmount() float32

GetAmount returns the Amount field value if set, zero value otherwise.

func (*Invoice) GetAmountOk ¶ added in v0.9.0

func (o *Invoice) GetAmountOk() (*float32, bool)

GetAmountOk returns a tuple with the Amount field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Invoice) GetBalance ¶ added in v0.9.0

func (o *Invoice) GetBalance() float32

GetBalance returns the Balance field value if set, zero value otherwise.

func (*Invoice) GetBalanceOk ¶ added in v0.9.0

func (o *Invoice) GetBalanceOk() (*float32, bool)

GetBalanceOk returns a tuple with the Balance field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Invoice) GetCreatedOn ¶ added in v0.9.0

func (o *Invoice) GetCreatedOn() string

GetCreatedOn returns the CreatedOn field value if set, zero value otherwise.

func (*Invoice) GetCreatedOnOk ¶ added in v0.9.0

func (o *Invoice) GetCreatedOnOk() (*string, bool)

GetCreatedOnOk returns a tuple with the CreatedOn field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Invoice) GetCreditAmount ¶ added in v0.9.0

func (o *Invoice) GetCreditAmount() float32

GetCreditAmount returns the CreditAmount field value if set, zero value otherwise.

func (*Invoice) GetCreditAmountOk ¶ added in v0.9.0

func (o *Invoice) GetCreditAmountOk() (*float32, bool)

GetCreditAmountOk returns a tuple with the CreditAmount field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Invoice) GetCreditsApplied ¶ added in v0.9.0

func (o *Invoice) GetCreditsApplied() float32

GetCreditsApplied returns the CreditsApplied field value if set, zero value otherwise.

func (*Invoice) GetCreditsAppliedOk ¶ added in v0.9.0

func (o *Invoice) GetCreditsAppliedOk() (*float32, bool)

GetCreditsAppliedOk returns a tuple with the CreditsApplied field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Invoice) GetCurrency ¶ added in v0.9.0

func (o *Invoice) GetCurrency() string

GetCurrency returns the Currency field value if set, zero value otherwise.

func (*Invoice) GetCurrencyOk ¶ added in v0.9.0

func (o *Invoice) GetCurrencyOk() (*string, bool)

GetCurrencyOk returns a tuple with the Currency field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Invoice) GetDueOn ¶ added in v0.9.0

func (o *Invoice) GetDueOn() string

GetDueOn returns the DueOn field value if set, zero value otherwise.

func (*Invoice) GetDueOnOk ¶ added in v0.9.0

func (o *Invoice) GetDueOnOk() (*string, bool)

GetDueOnOk returns a tuple with the DueOn field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Invoice) GetId ¶ added in v0.9.0

func (o *Invoice) GetId() string

GetId returns the Id field value if set, zero value otherwise.

func (*Invoice) GetIdOk ¶ added in v0.9.0

func (o *Invoice) GetIdOk() (*string, bool)

GetIdOk returns a tuple with the Id field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Invoice) GetItems ¶ added in v0.9.0

func (o *Invoice) GetItems() []LineItem

GetItems returns the Items field value if set, zero value otherwise.

func (*Invoice) GetItemsOk ¶ added in v0.9.0

func (o *Invoice) GetItemsOk() ([]LineItem, bool)

GetItemsOk returns a tuple with the Items field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Invoice) GetNumber ¶ added in v0.9.0

func (o *Invoice) GetNumber() string

GetNumber returns the Number field value if set, zero value otherwise.

func (*Invoice) GetNumberOk ¶ added in v0.9.0

func (o *Invoice) GetNumberOk() (*string, bool)

GetNumberOk returns a tuple with the Number field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Invoice) GetProject ¶ added in v0.9.0

func (o *Invoice) GetProject() ProjectIdName

GetProject returns the Project field value if set, zero value otherwise.

func (*Invoice) GetProjectOk ¶ added in v0.9.0

func (o *Invoice) GetProjectOk() (*ProjectIdName, bool)

GetProjectOk returns a tuple with the Project field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Invoice) GetReferenceNumber ¶ added in v0.9.0

func (o *Invoice) GetReferenceNumber() string

GetReferenceNumber returns the ReferenceNumber field value if set, zero value otherwise.

func (*Invoice) GetReferenceNumberOk ¶ added in v0.9.0

func (o *Invoice) GetReferenceNumberOk() (*string, bool)

GetReferenceNumberOk returns a tuple with the ReferenceNumber field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Invoice) GetStatus ¶ added in v0.9.0

func (o *Invoice) GetStatus() string

GetStatus returns the Status field value if set, zero value otherwise.

func (*Invoice) GetStatusOk ¶ added in v0.9.0

func (o *Invoice) GetStatusOk() (*string, bool)

GetStatusOk returns a tuple with the Status field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Invoice) GetTargetDate ¶ added in v0.9.0

func (o *Invoice) GetTargetDate() string

GetTargetDate returns the TargetDate field value if set, zero value otherwise.

func (*Invoice) GetTargetDateOk ¶ added in v0.9.0

func (o *Invoice) GetTargetDateOk() (*string, bool)

GetTargetDateOk returns a tuple with the TargetDate field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Invoice) HasAmount ¶ added in v0.9.0

func (o *Invoice) HasAmount() bool

HasAmount returns a boolean if a field has been set.

func (*Invoice) HasBalance ¶ added in v0.9.0

func (o *Invoice) HasBalance() bool

HasBalance returns a boolean if a field has been set.

func (*Invoice) HasCreatedOn ¶ added in v0.9.0

func (o *Invoice) HasCreatedOn() bool

HasCreatedOn returns a boolean if a field has been set.

func (*Invoice) HasCreditAmount ¶ added in v0.9.0

func (o *Invoice) HasCreditAmount() bool

HasCreditAmount returns a boolean if a field has been set.

func (*Invoice) HasCreditsApplied ¶ added in v0.9.0

func (o *Invoice) HasCreditsApplied() bool

HasCreditsApplied returns a boolean if a field has been set.

func (*Invoice) HasCurrency ¶ added in v0.9.0

func (o *Invoice) HasCurrency() bool

HasCurrency returns a boolean if a field has been set.

func (*Invoice) HasDueOn ¶ added in v0.9.0

func (o *Invoice) HasDueOn() bool

HasDueOn returns a boolean if a field has been set.

func (*Invoice) HasId ¶ added in v0.9.0

func (o *Invoice) HasId() bool

HasId returns a boolean if a field has been set.

func (*Invoice) HasItems ¶ added in v0.9.0

func (o *Invoice) HasItems() bool

HasItems returns a boolean if a field has been set.

func (*Invoice) HasNumber ¶ added in v0.9.0

func (o *Invoice) HasNumber() bool

HasNumber returns a boolean if a field has been set.

func (*Invoice) HasProject ¶ added in v0.9.0

func (o *Invoice) HasProject() bool

HasProject returns a boolean if a field has been set.

func (*Invoice) HasReferenceNumber ¶ added in v0.9.0

func (o *Invoice) HasReferenceNumber() bool

HasReferenceNumber returns a boolean if a field has been set.

func (*Invoice) HasStatus ¶ added in v0.9.0

func (o *Invoice) HasStatus() bool

HasStatus returns a boolean if a field has been set.

func (*Invoice) HasTargetDate ¶ added in v0.9.0

func (o *Invoice) HasTargetDate() bool

HasTargetDate returns a boolean if a field has been set.

func (Invoice) MarshalJSON ¶ added in v0.9.0

func (o Invoice) MarshalJSON() ([]byte, error)

func (*Invoice) SetAmount ¶ added in v0.9.0

func (o *Invoice) SetAmount(v float32)

SetAmount gets a reference to the given float32 and assigns it to the Amount field.

func (*Invoice) SetBalance ¶ added in v0.9.0

func (o *Invoice) SetBalance(v float32)

SetBalance gets a reference to the given float32 and assigns it to the Balance field.

func (*Invoice) SetCreatedOn ¶ added in v0.9.0

func (o *Invoice) SetCreatedOn(v string)

SetCreatedOn gets a reference to the given string and assigns it to the CreatedOn field.

func (*Invoice) SetCreditAmount ¶ added in v0.9.0

func (o *Invoice) SetCreditAmount(v float32)

SetCreditAmount gets a reference to the given float32 and assigns it to the CreditAmount field.

func (*Invoice) SetCreditsApplied ¶ added in v0.9.0

func (o *Invoice) SetCreditsApplied(v float32)

SetCreditsApplied gets a reference to the given float32 and assigns it to the CreditsApplied field.

func (*Invoice) SetCurrency ¶ added in v0.9.0

func (o *Invoice) SetCurrency(v string)

SetCurrency gets a reference to the given string and assigns it to the Currency field.

func (*Invoice) SetDueOn ¶ added in v0.9.0

func (o *Invoice) SetDueOn(v string)

SetDueOn gets a reference to the given string and assigns it to the DueOn field.

func (*Invoice) SetId ¶ added in v0.9.0

func (o *Invoice) SetId(v string)

SetId gets a reference to the given string and assigns it to the Id field.

func (*Invoice) SetItems ¶ added in v0.9.0

func (o *Invoice) SetItems(v []LineItem)

SetItems gets a reference to the given []LineItem and assigns it to the Items field.

func (*Invoice) SetNumber ¶ added in v0.9.0

func (o *Invoice) SetNumber(v string)

SetNumber gets a reference to the given string and assigns it to the Number field.

func (*Invoice) SetProject ¶ added in v0.9.0

func (o *Invoice) SetProject(v ProjectIdName)

SetProject gets a reference to the given ProjectIdName and assigns it to the Project field.

func (*Invoice) SetReferenceNumber ¶ added in v0.9.0

func (o *Invoice) SetReferenceNumber(v string)

SetReferenceNumber gets a reference to the given string and assigns it to the ReferenceNumber field.

func (*Invoice) SetStatus ¶ added in v0.9.0

func (o *Invoice) SetStatus(v string)

SetStatus gets a reference to the given string and assigns it to the Status field.

func (*Invoice) SetTargetDate ¶ added in v0.9.0

func (o *Invoice) SetTargetDate(v string)

SetTargetDate gets a reference to the given string and assigns it to the TargetDate field.

func (Invoice) ToMap ¶ added in v0.9.0

func (o Invoice) ToMap() (map[string]interface{}, error)

func (*Invoice) UnmarshalJSON ¶ added in v0.9.0

func (o *Invoice) UnmarshalJSON(bytes []byte) (err error)

type InvoiceList ¶ added in v0.9.0

type InvoiceList struct {
	Invoices             []Invoice `json:"invoices,omitempty"`
	AdditionalProperties map[string]interface{}
}

InvoiceList struct for InvoiceList

func NewInvoiceList ¶ added in v0.9.0

func NewInvoiceList() *InvoiceList

NewInvoiceList instantiates a new InvoiceList object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewInvoiceListWithDefaults ¶ added in v0.9.0

func NewInvoiceListWithDefaults() *InvoiceList

NewInvoiceListWithDefaults instantiates a new InvoiceList object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*InvoiceList) GetInvoices ¶ added in v0.9.0

func (o *InvoiceList) GetInvoices() []Invoice

GetInvoices returns the Invoices field value if set, zero value otherwise.

func (*InvoiceList) GetInvoicesOk ¶ added in v0.9.0

func (o *InvoiceList) GetInvoicesOk() ([]Invoice, bool)

GetInvoicesOk returns a tuple with the Invoices field value if set, nil otherwise and a boolean to check if the value has been set.

func (*InvoiceList) HasInvoices ¶ added in v0.9.0

func (o *InvoiceList) HasInvoices() bool

HasInvoices returns a boolean if a field has been set.

func (InvoiceList) MarshalJSON ¶ added in v0.9.0

func (o InvoiceList) MarshalJSON() ([]byte, error)

func (*InvoiceList) SetInvoices ¶ added in v0.9.0

func (o *InvoiceList) SetInvoices(v []Invoice)

SetInvoices gets a reference to the given []Invoice and assigns it to the Invoices field.

func (InvoiceList) ToMap ¶ added in v0.9.0

func (o InvoiceList) ToMap() (map[string]interface{}, error)

func (*InvoiceList) UnmarshalJSON ¶ added in v0.9.0

func (o *InvoiceList) UnmarshalJSON(bytes []byte) (err error)

type InvoicesApiService ¶ added in v0.9.0

type InvoicesApiService service

InvoicesApiService InvoicesApi service

func (*InvoicesApiService) FindOrganizationInvoices ¶ added in v0.9.0

func (a *InvoicesApiService) FindOrganizationInvoices(ctx context.Context, id string) ApiFindOrganizationInvoicesRequest

FindOrganizationInvoices Retrieve all invoices for an organization

Returns all invoices for an organization

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param id Organization UUID
@return ApiFindOrganizationInvoicesRequest

func (*InvoicesApiService) FindOrganizationInvoicesExecute ¶ added in v0.9.0

func (a *InvoicesApiService) FindOrganizationInvoicesExecute(r ApiFindOrganizationInvoicesRequest) (*InvoiceList, *http.Response, error)

Execute executes the request

@return InvoiceList

func (*InvoicesApiService) GetInvoiceById ¶ added in v0.9.0

GetInvoiceById Retrieve an invoice

Returns the invoice identified by the provided id

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param id Invoice UUID
@return ApiGetInvoiceByIdRequest

func (*InvoicesApiService) GetInvoiceByIdExecute ¶ added in v0.9.0

func (a *InvoicesApiService) GetInvoiceByIdExecute(r ApiGetInvoiceByIdRequest) (*Invoice, *http.Response, error)

Execute executes the request

@return Invoice

type License ¶

type License struct {
	Description          *string  `json:"description,omitempty"`
	Id                   *string  `json:"id,omitempty"`
	LicenseKey           *string  `json:"license_key,omitempty"`
	LicenseeProduct      *Href    `json:"licensee_product,omitempty"`
	Project              *Href    `json:"project,omitempty"`
	Size                 *float32 `json:"size,omitempty"`
	AdditionalProperties map[string]interface{}
}

License struct for License

func NewLicense ¶

func NewLicense() *License

NewLicense instantiates a new License object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewLicenseWithDefaults ¶

func NewLicenseWithDefaults() *License

NewLicenseWithDefaults instantiates a new License object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*License) GetDescription ¶

func (o *License) GetDescription() string

GetDescription returns the Description field value if set, zero value otherwise.

func (*License) GetDescriptionOk ¶

func (o *License) GetDescriptionOk() (*string, bool)

GetDescriptionOk returns a tuple with the Description field value if set, nil otherwise and a boolean to check if the value has been set.

func (*License) GetId ¶

func (o *License) GetId() string

GetId returns the Id field value if set, zero value otherwise.

func (*License) GetIdOk ¶

func (o *License) GetIdOk() (*string, bool)

GetIdOk returns a tuple with the Id field value if set, nil otherwise and a boolean to check if the value has been set.

func (*License) GetLicenseKey ¶

func (o *License) GetLicenseKey() string

GetLicenseKey returns the LicenseKey field value if set, zero value otherwise.

func (*License) GetLicenseKeyOk ¶

func (o *License) GetLicenseKeyOk() (*string, bool)

GetLicenseKeyOk returns a tuple with the LicenseKey field value if set, nil otherwise and a boolean to check if the value has been set.

func (*License) GetLicenseeProduct ¶

func (o *License) GetLicenseeProduct() Href

GetLicenseeProduct returns the LicenseeProduct field value if set, zero value otherwise.

func (*License) GetLicenseeProductOk ¶

func (o *License) GetLicenseeProductOk() (*Href, bool)

GetLicenseeProductOk returns a tuple with the LicenseeProduct field value if set, nil otherwise and a boolean to check if the value has been set.

func (*License) GetProject ¶

func (o *License) GetProject() Href

GetProject returns the Project field value if set, zero value otherwise.

func (*License) GetProjectOk ¶

func (o *License) GetProjectOk() (*Href, bool)

GetProjectOk returns a tuple with the Project field value if set, nil otherwise and a boolean to check if the value has been set.

func (*License) GetSize ¶

func (o *License) GetSize() float32

GetSize returns the Size field value if set, zero value otherwise.

func (*License) GetSizeOk ¶

func (o *License) GetSizeOk() (*float32, bool)

GetSizeOk returns a tuple with the Size field value if set, nil otherwise and a boolean to check if the value has been set.

func (*License) HasDescription ¶

func (o *License) HasDescription() bool

HasDescription returns a boolean if a field has been set.

func (*License) HasId ¶

func (o *License) HasId() bool

HasId returns a boolean if a field has been set.

func (*License) HasLicenseKey ¶

func (o *License) HasLicenseKey() bool

HasLicenseKey returns a boolean if a field has been set.

func (*License) HasLicenseeProduct ¶

func (o *License) HasLicenseeProduct() bool

HasLicenseeProduct returns a boolean if a field has been set.

func (*License) HasProject ¶

func (o *License) HasProject() bool

HasProject returns a boolean if a field has been set.

func (*License) HasSize ¶

func (o *License) HasSize() bool

HasSize returns a boolean if a field has been set.

func (License) MarshalJSON ¶

func (o License) MarshalJSON() ([]byte, error)

func (*License) SetDescription ¶

func (o *License) SetDescription(v string)

SetDescription gets a reference to the given string and assigns it to the Description field.

func (*License) SetId ¶

func (o *License) SetId(v string)

SetId gets a reference to the given string and assigns it to the Id field.

func (*License) SetLicenseKey ¶

func (o *License) SetLicenseKey(v string)

SetLicenseKey gets a reference to the given string and assigns it to the LicenseKey field.

func (*License) SetLicenseeProduct ¶

func (o *License) SetLicenseeProduct(v Href)

SetLicenseeProduct gets a reference to the given Href and assigns it to the LicenseeProduct field.

func (*License) SetProject ¶

func (o *License) SetProject(v Href)

SetProject gets a reference to the given Href and assigns it to the Project field.

func (*License) SetSize ¶

func (o *License) SetSize(v float32)

SetSize gets a reference to the given float32 and assigns it to the Size field.

func (License) ToMap ¶ added in v0.4.0

func (o License) ToMap() (map[string]interface{}, error)

func (*License) UnmarshalJSON ¶ added in v0.7.0

func (o *License) UnmarshalJSON(bytes []byte) (err error)

type LicenseCreateInput ¶

type LicenseCreateInput struct {
	Description          *string  `json:"description,omitempty"`
	LicenseeProductId    *string  `json:"licensee_product_id,omitempty"`
	Size                 *float32 `json:"size,omitempty"`
	AdditionalProperties map[string]interface{}
}

LicenseCreateInput struct for LicenseCreateInput

func NewLicenseCreateInput ¶

func NewLicenseCreateInput() *LicenseCreateInput

NewLicenseCreateInput instantiates a new LicenseCreateInput object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewLicenseCreateInputWithDefaults ¶

func NewLicenseCreateInputWithDefaults() *LicenseCreateInput

NewLicenseCreateInputWithDefaults instantiates a new LicenseCreateInput object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*LicenseCreateInput) GetDescription ¶

func (o *LicenseCreateInput) GetDescription() string

GetDescription returns the Description field value if set, zero value otherwise.

func (*LicenseCreateInput) GetDescriptionOk ¶

func (o *LicenseCreateInput) GetDescriptionOk() (*string, bool)

GetDescriptionOk returns a tuple with the Description field value if set, nil otherwise and a boolean to check if the value has been set.

func (*LicenseCreateInput) GetLicenseeProductId ¶

func (o *LicenseCreateInput) GetLicenseeProductId() string

GetLicenseeProductId returns the LicenseeProductId field value if set, zero value otherwise.

func (*LicenseCreateInput) GetLicenseeProductIdOk ¶

func (o *LicenseCreateInput) GetLicenseeProductIdOk() (*string, bool)

GetLicenseeProductIdOk returns a tuple with the LicenseeProductId field value if set, nil otherwise and a boolean to check if the value has been set.

func (*LicenseCreateInput) GetSize ¶

func (o *LicenseCreateInput) GetSize() float32

GetSize returns the Size field value if set, zero value otherwise.

func (*LicenseCreateInput) GetSizeOk ¶

func (o *LicenseCreateInput) GetSizeOk() (*float32, bool)

GetSizeOk returns a tuple with the Size field value if set, nil otherwise and a boolean to check if the value has been set.

func (*LicenseCreateInput) HasDescription ¶

func (o *LicenseCreateInput) HasDescription() bool

HasDescription returns a boolean if a field has been set.

func (*LicenseCreateInput) HasLicenseeProductId ¶

func (o *LicenseCreateInput) HasLicenseeProductId() bool

HasLicenseeProductId returns a boolean if a field has been set.

func (*LicenseCreateInput) HasSize ¶

func (o *LicenseCreateInput) HasSize() bool

HasSize returns a boolean if a field has been set.

func (LicenseCreateInput) MarshalJSON ¶

func (o LicenseCreateInput) MarshalJSON() ([]byte, error)

func (*LicenseCreateInput) SetDescription ¶

func (o *LicenseCreateInput) SetDescription(v string)

SetDescription gets a reference to the given string and assigns it to the Description field.

func (*LicenseCreateInput) SetLicenseeProductId ¶

func (o *LicenseCreateInput) SetLicenseeProductId(v string)

SetLicenseeProductId gets a reference to the given string and assigns it to the LicenseeProductId field.

func (*LicenseCreateInput) SetSize ¶

func (o *LicenseCreateInput) SetSize(v float32)

SetSize gets a reference to the given float32 and assigns it to the Size field.

func (LicenseCreateInput) ToMap ¶ added in v0.4.0

func (o LicenseCreateInput) ToMap() (map[string]interface{}, error)

func (*LicenseCreateInput) UnmarshalJSON ¶ added in v0.7.0

func (o *LicenseCreateInput) UnmarshalJSON(bytes []byte) (err error)

type LicenseList ¶

type LicenseList struct {
	Licenses             []License `json:"licenses,omitempty"`
	AdditionalProperties map[string]interface{}
}

LicenseList struct for LicenseList

func NewLicenseList ¶

func NewLicenseList() *LicenseList

NewLicenseList instantiates a new LicenseList object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewLicenseListWithDefaults ¶

func NewLicenseListWithDefaults() *LicenseList

NewLicenseListWithDefaults instantiates a new LicenseList object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*LicenseList) GetLicenses ¶

func (o *LicenseList) GetLicenses() []License

GetLicenses returns the Licenses field value if set, zero value otherwise.

func (*LicenseList) GetLicensesOk ¶

func (o *LicenseList) GetLicensesOk() ([]License, bool)

GetLicensesOk returns a tuple with the Licenses field value if set, nil otherwise and a boolean to check if the value has been set.

func (*LicenseList) HasLicenses ¶

func (o *LicenseList) HasLicenses() bool

HasLicenses returns a boolean if a field has been set.

func (LicenseList) MarshalJSON ¶

func (o LicenseList) MarshalJSON() ([]byte, error)

func (*LicenseList) SetLicenses ¶

func (o *LicenseList) SetLicenses(v []License)

SetLicenses gets a reference to the given []License and assigns it to the Licenses field.

func (LicenseList) ToMap ¶ added in v0.4.0

func (o LicenseList) ToMap() (map[string]interface{}, error)

func (*LicenseList) UnmarshalJSON ¶ added in v0.7.0

func (o *LicenseList) UnmarshalJSON(bytes []byte) (err error)

type LicenseUpdateInput ¶

type LicenseUpdateInput struct {
	Description          *string  `json:"description,omitempty"`
	Size                 *float32 `json:"size,omitempty"`
	AdditionalProperties map[string]interface{}
}

LicenseUpdateInput struct for LicenseUpdateInput

func NewLicenseUpdateInput ¶

func NewLicenseUpdateInput() *LicenseUpdateInput

NewLicenseUpdateInput instantiates a new LicenseUpdateInput object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewLicenseUpdateInputWithDefaults ¶

func NewLicenseUpdateInputWithDefaults() *LicenseUpdateInput

NewLicenseUpdateInputWithDefaults instantiates a new LicenseUpdateInput object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*LicenseUpdateInput) GetDescription ¶

func (o *LicenseUpdateInput) GetDescription() string

GetDescription returns the Description field value if set, zero value otherwise.

func (*LicenseUpdateInput) GetDescriptionOk ¶

func (o *LicenseUpdateInput) GetDescriptionOk() (*string, bool)

GetDescriptionOk returns a tuple with the Description field value if set, nil otherwise and a boolean to check if the value has been set.

func (*LicenseUpdateInput) GetSize ¶

func (o *LicenseUpdateInput) GetSize() float32

GetSize returns the Size field value if set, zero value otherwise.

func (*LicenseUpdateInput) GetSizeOk ¶

func (o *LicenseUpdateInput) GetSizeOk() (*float32, bool)

GetSizeOk returns a tuple with the Size field value if set, nil otherwise and a boolean to check if the value has been set.

func (*LicenseUpdateInput) HasDescription ¶

func (o *LicenseUpdateInput) HasDescription() bool

HasDescription returns a boolean if a field has been set.

func (*LicenseUpdateInput) HasSize ¶

func (o *LicenseUpdateInput) HasSize() bool

HasSize returns a boolean if a field has been set.

func (LicenseUpdateInput) MarshalJSON ¶

func (o LicenseUpdateInput) MarshalJSON() ([]byte, error)

func (*LicenseUpdateInput) SetDescription ¶

func (o *LicenseUpdateInput) SetDescription(v string)

SetDescription gets a reference to the given string and assigns it to the Description field.

func (*LicenseUpdateInput) SetSize ¶

func (o *LicenseUpdateInput) SetSize(v float32)

SetSize gets a reference to the given float32 and assigns it to the Size field.

func (LicenseUpdateInput) ToMap ¶ added in v0.4.0

func (o LicenseUpdateInput) ToMap() (map[string]interface{}, error)

func (*LicenseUpdateInput) UnmarshalJSON ¶ added in v0.7.0

func (o *LicenseUpdateInput) UnmarshalJSON(bytes []byte) (err error)

type LicensesApiService ¶

type LicensesApiService service

LicensesApiService LicensesApi service

func (*LicensesApiService) CreateLicense ¶

CreateLicense Create a License

Creates a new license for the given project

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param id Project UUID
@return ApiCreateLicenseRequest

func (*LicensesApiService) CreateLicenseExecute ¶

func (a *LicensesApiService) CreateLicenseExecute(r ApiCreateLicenseRequest) (*License, *http.Response, error)

Execute executes the request

@return License

func (*LicensesApiService) DeleteLicense ¶

DeleteLicense Delete the license

Deletes a license.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param id License UUID
@return ApiDeleteLicenseRequest

func (*LicensesApiService) DeleteLicenseExecute ¶

func (a *LicensesApiService) DeleteLicenseExecute(r ApiDeleteLicenseRequest) (*http.Response, error)

Execute executes the request

func (*LicensesApiService) FindLicenseById ¶

FindLicenseById Retrieve a license

Returns a license

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param id License UUID
@return ApiFindLicenseByIdRequest

func (*LicensesApiService) FindLicenseByIdExecute ¶

func (a *LicensesApiService) FindLicenseByIdExecute(r ApiFindLicenseByIdRequest) (*License, *http.Response, error)

Execute executes the request

@return License

func (*LicensesApiService) FindProjectLicenses ¶

func (a *LicensesApiService) FindProjectLicenses(ctx context.Context, id string) ApiFindProjectLicensesRequest

FindProjectLicenses Retrieve all licenses

Provides a collection of licenses for a given project.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param id Project UUID
@return ApiFindProjectLicensesRequest

func (*LicensesApiService) FindProjectLicensesExecute ¶

func (a *LicensesApiService) FindProjectLicensesExecute(r ApiFindProjectLicensesRequest) (*LicenseList, *http.Response, error)

Execute executes the request

@return LicenseList

func (*LicensesApiService) UpdateLicense ¶

UpdateLicense Update the license

Updates the license.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param id License UUID
@return ApiUpdateLicenseRequest

func (*LicensesApiService) UpdateLicenseExecute ¶

func (a *LicensesApiService) UpdateLicenseExecute(r ApiUpdateLicenseRequest) (*License, *http.Response, error)

Execute executes the request

@return License

type LineItem ¶ added in v0.9.0

type LineItem struct {
	Amount               *float32 `json:"amount,omitempty"`
	Currency             *string  `json:"currency,omitempty"`
	Description          *string  `json:"description,omitempty"`
	Details              *string  `json:"details,omitempty"`
	Plan                 *Plan    `json:"plan,omitempty"`
	Unit                 *string  `json:"unit,omitempty"`
	UnitPrice            *float32 `json:"unit_price,omitempty"`
	AdditionalProperties map[string]interface{}
}

LineItem struct for LineItem

func NewLineItem ¶ added in v0.9.0

func NewLineItem() *LineItem

NewLineItem instantiates a new LineItem object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewLineItemWithDefaults ¶ added in v0.9.0

func NewLineItemWithDefaults() *LineItem

NewLineItemWithDefaults instantiates a new LineItem object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*LineItem) GetAmount ¶ added in v0.9.0

func (o *LineItem) GetAmount() float32

GetAmount returns the Amount field value if set, zero value otherwise.

func (*LineItem) GetAmountOk ¶ added in v0.9.0

func (o *LineItem) GetAmountOk() (*float32, bool)

GetAmountOk returns a tuple with the Amount field value if set, nil otherwise and a boolean to check if the value has been set.

func (*LineItem) GetCurrency ¶ added in v0.9.0

func (o *LineItem) GetCurrency() string

GetCurrency returns the Currency field value if set, zero value otherwise.

func (*LineItem) GetCurrencyOk ¶ added in v0.9.0

func (o *LineItem) GetCurrencyOk() (*string, bool)

GetCurrencyOk returns a tuple with the Currency field value if set, nil otherwise and a boolean to check if the value has been set.

func (*LineItem) GetDescription ¶ added in v0.9.0

func (o *LineItem) GetDescription() string

GetDescription returns the Description field value if set, zero value otherwise.

func (*LineItem) GetDescriptionOk ¶ added in v0.9.0

func (o *LineItem) GetDescriptionOk() (*string, bool)

GetDescriptionOk returns a tuple with the Description field value if set, nil otherwise and a boolean to check if the value has been set.

func (*LineItem) GetDetails ¶ added in v0.9.0

func (o *LineItem) GetDetails() string

GetDetails returns the Details field value if set, zero value otherwise.

func (*LineItem) GetDetailsOk ¶ added in v0.9.0

func (o *LineItem) GetDetailsOk() (*string, bool)

GetDetailsOk returns a tuple with the Details field value if set, nil otherwise and a boolean to check if the value has been set.

func (*LineItem) GetPlan ¶ added in v0.9.0

func (o *LineItem) GetPlan() Plan

GetPlan returns the Plan field value if set, zero value otherwise.

func (*LineItem) GetPlanOk ¶ added in v0.9.0

func (o *LineItem) GetPlanOk() (*Plan, bool)

GetPlanOk returns a tuple with the Plan field value if set, nil otherwise and a boolean to check if the value has been set.

func (*LineItem) GetUnit ¶ added in v0.9.0

func (o *LineItem) GetUnit() string

GetUnit returns the Unit field value if set, zero value otherwise.

func (*LineItem) GetUnitOk ¶ added in v0.9.0

func (o *LineItem) GetUnitOk() (*string, bool)

GetUnitOk returns a tuple with the Unit field value if set, nil otherwise and a boolean to check if the value has been set.

func (*LineItem) GetUnitPrice ¶ added in v0.9.0

func (o *LineItem) GetUnitPrice() float32

GetUnitPrice returns the UnitPrice field value if set, zero value otherwise.

func (*LineItem) GetUnitPriceOk ¶ added in v0.9.0

func (o *LineItem) GetUnitPriceOk() (*float32, bool)

GetUnitPriceOk returns a tuple with the UnitPrice field value if set, nil otherwise and a boolean to check if the value has been set.

func (*LineItem) HasAmount ¶ added in v0.9.0

func (o *LineItem) HasAmount() bool

HasAmount returns a boolean if a field has been set.

func (*LineItem) HasCurrency ¶ added in v0.9.0

func (o *LineItem) HasCurrency() bool

HasCurrency returns a boolean if a field has been set.

func (*LineItem) HasDescription ¶ added in v0.9.0

func (o *LineItem) HasDescription() bool

HasDescription returns a boolean if a field has been set.

func (*LineItem) HasDetails ¶ added in v0.9.0

func (o *LineItem) HasDetails() bool

HasDetails returns a boolean if a field has been set.

func (*LineItem) HasPlan ¶ added in v0.9.0

func (o *LineItem) HasPlan() bool

HasPlan returns a boolean if a field has been set.

func (*LineItem) HasUnit ¶ added in v0.9.0

func (o *LineItem) HasUnit() bool

HasUnit returns a boolean if a field has been set.

func (*LineItem) HasUnitPrice ¶ added in v0.9.0

func (o *LineItem) HasUnitPrice() bool

HasUnitPrice returns a boolean if a field has been set.

func (LineItem) MarshalJSON ¶ added in v0.9.0

func (o LineItem) MarshalJSON() ([]byte, error)

func (*LineItem) SetAmount ¶ added in v0.9.0

func (o *LineItem) SetAmount(v float32)

SetAmount gets a reference to the given float32 and assigns it to the Amount field.

func (*LineItem) SetCurrency ¶ added in v0.9.0

func (o *LineItem) SetCurrency(v string)

SetCurrency gets a reference to the given string and assigns it to the Currency field.

func (*LineItem) SetDescription ¶ added in v0.9.0

func (o *LineItem) SetDescription(v string)

SetDescription gets a reference to the given string and assigns it to the Description field.

func (*LineItem) SetDetails ¶ added in v0.9.0

func (o *LineItem) SetDetails(v string)

SetDetails gets a reference to the given string and assigns it to the Details field.

func (*LineItem) SetPlan ¶ added in v0.9.0

func (o *LineItem) SetPlan(v Plan)

SetPlan gets a reference to the given Plan and assigns it to the Plan field.

func (*LineItem) SetUnit ¶ added in v0.9.0

func (o *LineItem) SetUnit(v string)

SetUnit gets a reference to the given string and assigns it to the Unit field.

func (*LineItem) SetUnitPrice ¶ added in v0.9.0

func (o *LineItem) SetUnitPrice(v float32)

SetUnitPrice gets a reference to the given float32 and assigns it to the UnitPrice field.

func (LineItem) ToMap ¶ added in v0.9.0

func (o LineItem) ToMap() (map[string]interface{}, error)

func (*LineItem) UnmarshalJSON ¶ added in v0.9.0

func (o *LineItem) UnmarshalJSON(bytes []byte) (err error)

type MappedNullable ¶ added in v0.4.0

type MappedNullable interface {
	ToMap() (map[string]interface{}, error)
}

type Membership ¶

type Membership struct {
	CreatedAt            *time.Time `json:"created_at,omitempty"`
	Href                 *string    `json:"href,omitempty"`
	Id                   *string    `json:"id,omitempty"`
	Project              *Href      `json:"project,omitempty"`
	Roles                []string   `json:"roles,omitempty"`
	UpdatedAt            *time.Time `json:"updated_at,omitempty"`
	User                 *Href      `json:"user,omitempty"`
	AdditionalProperties map[string]interface{}
}

Membership struct for Membership

func NewMembership ¶

func NewMembership() *Membership

NewMembership instantiates a new Membership object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewMembershipWithDefaults ¶

func NewMembershipWithDefaults() *Membership

NewMembershipWithDefaults instantiates a new Membership object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*Membership) GetCreatedAt ¶

func (o *Membership) GetCreatedAt() time.Time

GetCreatedAt returns the CreatedAt field value if set, zero value otherwise.

func (*Membership) GetCreatedAtOk ¶

func (o *Membership) GetCreatedAtOk() (*time.Time, bool)

GetCreatedAtOk returns a tuple with the CreatedAt field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Membership) GetHref ¶

func (o *Membership) GetHref() string

GetHref returns the Href field value if set, zero value otherwise.

func (*Membership) GetHrefOk ¶

func (o *Membership) GetHrefOk() (*string, bool)

GetHrefOk returns a tuple with the Href field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Membership) GetId ¶

func (o *Membership) GetId() string

GetId returns the Id field value if set, zero value otherwise.

func (*Membership) GetIdOk ¶

func (o *Membership) GetIdOk() (*string, bool)

GetIdOk returns a tuple with the Id field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Membership) GetProject ¶

func (o *Membership) GetProject() Href

GetProject returns the Project field value if set, zero value otherwise.

func (*Membership) GetProjectOk ¶

func (o *Membership) GetProjectOk() (*Href, bool)

GetProjectOk returns a tuple with the Project field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Membership) GetRoles ¶

func (o *Membership) GetRoles() []string

GetRoles returns the Roles field value if set, zero value otherwise.

func (*Membership) GetRolesOk ¶

func (o *Membership) GetRolesOk() ([]string, bool)

GetRolesOk returns a tuple with the Roles field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Membership) GetUpdatedAt ¶

func (o *Membership) GetUpdatedAt() time.Time

GetUpdatedAt returns the UpdatedAt field value if set, zero value otherwise.

func (*Membership) GetUpdatedAtOk ¶

func (o *Membership) GetUpdatedAtOk() (*time.Time, bool)

GetUpdatedAtOk returns a tuple with the UpdatedAt field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Membership) GetUser ¶

func (o *Membership) GetUser() Href

GetUser returns the User field value if set, zero value otherwise.

func (*Membership) GetUserOk ¶

func (o *Membership) GetUserOk() (*Href, bool)

GetUserOk returns a tuple with the User field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Membership) HasCreatedAt ¶

func (o *Membership) HasCreatedAt() bool

HasCreatedAt returns a boolean if a field has been set.

func (*Membership) HasHref ¶

func (o *Membership) HasHref() bool

HasHref returns a boolean if a field has been set.

func (*Membership) HasId ¶

func (o *Membership) HasId() bool

HasId returns a boolean if a field has been set.

func (*Membership) HasProject ¶

func (o *Membership) HasProject() bool

HasProject returns a boolean if a field has been set.

func (*Membership) HasRoles ¶

func (o *Membership) HasRoles() bool

HasRoles returns a boolean if a field has been set.

func (*Membership) HasUpdatedAt ¶

func (o *Membership) HasUpdatedAt() bool

HasUpdatedAt returns a boolean if a field has been set.

func (*Membership) HasUser ¶

func (o *Membership) HasUser() bool

HasUser returns a boolean if a field has been set.

func (Membership) MarshalJSON ¶

func (o Membership) MarshalJSON() ([]byte, error)

func (*Membership) SetCreatedAt ¶

func (o *Membership) SetCreatedAt(v time.Time)

SetCreatedAt gets a reference to the given time.Time and assigns it to the CreatedAt field.

func (*Membership) SetHref ¶

func (o *Membership) SetHref(v string)

SetHref gets a reference to the given string and assigns it to the Href field.

func (*Membership) SetId ¶

func (o *Membership) SetId(v string)

SetId gets a reference to the given string and assigns it to the Id field.

func (*Membership) SetProject ¶

func (o *Membership) SetProject(v Href)

SetProject gets a reference to the given Href and assigns it to the Project field.

func (*Membership) SetRoles ¶

func (o *Membership) SetRoles(v []string)

SetRoles gets a reference to the given []string and assigns it to the Roles field.

func (*Membership) SetUpdatedAt ¶

func (o *Membership) SetUpdatedAt(v time.Time)

SetUpdatedAt gets a reference to the given time.Time and assigns it to the UpdatedAt field.

func (*Membership) SetUser ¶

func (o *Membership) SetUser(v Href)

SetUser gets a reference to the given Href and assigns it to the User field.

func (Membership) ToMap ¶ added in v0.4.0

func (o Membership) ToMap() (map[string]interface{}, error)

func (*Membership) UnmarshalJSON ¶ added in v0.7.0

func (o *Membership) UnmarshalJSON(bytes []byte) (err error)

type MembershipInput ¶

type MembershipInput struct {
	Role                 []string `json:"role,omitempty"`
	AdditionalProperties map[string]interface{}
}

MembershipInput struct for MembershipInput

func NewMembershipInput ¶

func NewMembershipInput() *MembershipInput

NewMembershipInput instantiates a new MembershipInput object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewMembershipInputWithDefaults ¶

func NewMembershipInputWithDefaults() *MembershipInput

NewMembershipInputWithDefaults instantiates a new MembershipInput object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*MembershipInput) GetRole ¶

func (o *MembershipInput) GetRole() []string

GetRole returns the Role field value if set, zero value otherwise.

func (*MembershipInput) GetRoleOk ¶

func (o *MembershipInput) GetRoleOk() ([]string, bool)

GetRoleOk returns a tuple with the Role field value if set, nil otherwise and a boolean to check if the value has been set.

func (*MembershipInput) HasRole ¶

func (o *MembershipInput) HasRole() bool

HasRole returns a boolean if a field has been set.

func (MembershipInput) MarshalJSON ¶

func (o MembershipInput) MarshalJSON() ([]byte, error)

func (*MembershipInput) SetRole ¶

func (o *MembershipInput) SetRole(v []string)

SetRole gets a reference to the given []string and assigns it to the Role field.

func (MembershipInput) ToMap ¶ added in v0.4.0

func (o MembershipInput) ToMap() (map[string]interface{}, error)

func (*MembershipInput) UnmarshalJSON ¶ added in v0.7.0

func (o *MembershipInput) UnmarshalJSON(bytes []byte) (err error)

type MembershipList ¶

type MembershipList struct {
	Memberships          []Membership `json:"memberships,omitempty"`
	AdditionalProperties map[string]interface{}
}

MembershipList struct for MembershipList

func NewMembershipList ¶

func NewMembershipList() *MembershipList

NewMembershipList instantiates a new MembershipList object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewMembershipListWithDefaults ¶

func NewMembershipListWithDefaults() *MembershipList

NewMembershipListWithDefaults instantiates a new MembershipList object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*MembershipList) GetMemberships ¶

func (o *MembershipList) GetMemberships() []Membership

GetMemberships returns the Memberships field value if set, zero value otherwise.

func (*MembershipList) GetMembershipsOk ¶

func (o *MembershipList) GetMembershipsOk() ([]Membership, bool)

GetMembershipsOk returns a tuple with the Memberships field value if set, nil otherwise and a boolean to check if the value has been set.

func (*MembershipList) HasMemberships ¶

func (o *MembershipList) HasMemberships() bool

HasMemberships returns a boolean if a field has been set.

func (MembershipList) MarshalJSON ¶

func (o MembershipList) MarshalJSON() ([]byte, error)

func (*MembershipList) SetMemberships ¶

func (o *MembershipList) SetMemberships(v []Membership)

SetMemberships gets a reference to the given []Membership and assigns it to the Memberships field.

func (MembershipList) ToMap ¶ added in v0.4.0

func (o MembershipList) ToMap() (map[string]interface{}, error)

func (*MembershipList) UnmarshalJSON ¶ added in v0.7.0

func (o *MembershipList) UnmarshalJSON(bytes []byte) (err error)

type MembershipsApiService ¶

type MembershipsApiService service

MembershipsApiService MembershipsApi service

func (*MembershipsApiService) DeleteMembership ¶

DeleteMembership Delete the membership

Deletes the membership.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param id Membership UUID
@return ApiDeleteMembershipRequest

func (*MembershipsApiService) DeleteMembershipExecute ¶

func (a *MembershipsApiService) DeleteMembershipExecute(r ApiDeleteMembershipRequest) (*http.Response, error)

Execute executes the request

func (*MembershipsApiService) FindMembershipById ¶

FindMembershipById Retrieve a membership

Returns a single membership.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param id Membership UUID
@return ApiFindMembershipByIdRequest

func (*MembershipsApiService) FindMembershipByIdExecute ¶

func (a *MembershipsApiService) FindMembershipByIdExecute(r ApiFindMembershipByIdRequest) (*Membership, *http.Response, error)

Execute executes the request

@return Membership

func (*MembershipsApiService) UpdateMembership ¶

UpdateMembership Update the membership

Updates the membership.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param id Membership UUID
@return ApiUpdateMembershipRequest

func (*MembershipsApiService) UpdateMembershipExecute ¶

func (a *MembershipsApiService) UpdateMembershipExecute(r ApiUpdateMembershipRequest) (*Membership, *http.Response, error)

Execute executes the request

@return Membership

type Meta ¶

type Meta struct {
	First                *Href  `json:"first,omitempty"`
	Last                 *Href  `json:"last,omitempty"`
	Next                 *Href  `json:"next,omitempty"`
	Previous             *Href  `json:"previous,omitempty"`
	Self                 *Href  `json:"self,omitempty"`
	Total                *int32 `json:"total,omitempty"`
	CurrentPage          *int32 `json:"current_page,omitempty"`
	LastPage             *int32 `json:"last_page,omitempty"`
	AdditionalProperties map[string]interface{}
}

Meta struct for Meta

func NewMeta ¶

func NewMeta() *Meta

NewMeta instantiates a new Meta object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewMetaWithDefaults ¶

func NewMetaWithDefaults() *Meta

NewMetaWithDefaults instantiates a new Meta object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*Meta) GetCurrentPage ¶ added in v0.5.0

func (o *Meta) GetCurrentPage() int32

GetCurrentPage returns the CurrentPage field value if set, zero value otherwise.

func (*Meta) GetCurrentPageOk ¶ added in v0.5.0

func (o *Meta) GetCurrentPageOk() (*int32, bool)

GetCurrentPageOk returns a tuple with the CurrentPage field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Meta) GetFirst ¶

func (o *Meta) GetFirst() Href

GetFirst returns the First field value if set, zero value otherwise.

func (*Meta) GetFirstOk ¶

func (o *Meta) GetFirstOk() (*Href, bool)

GetFirstOk returns a tuple with the First field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Meta) GetLast ¶

func (o *Meta) GetLast() Href

GetLast returns the Last field value if set, zero value otherwise.

func (*Meta) GetLastOk ¶

func (o *Meta) GetLastOk() (*Href, bool)

GetLastOk returns a tuple with the Last field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Meta) GetLastPage ¶ added in v0.5.0

func (o *Meta) GetLastPage() int32

GetLastPage returns the LastPage field value if set, zero value otherwise.

func (*Meta) GetLastPageOk ¶ added in v0.5.0

func (o *Meta) GetLastPageOk() (*int32, bool)

GetLastPageOk returns a tuple with the LastPage field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Meta) GetNext ¶

func (o *Meta) GetNext() Href

GetNext returns the Next field value if set, zero value otherwise.

func (*Meta) GetNextOk ¶

func (o *Meta) GetNextOk() (*Href, bool)

GetNextOk returns a tuple with the Next field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Meta) GetPrevious ¶

func (o *Meta) GetPrevious() Href

GetPrevious returns the Previous field value if set, zero value otherwise.

func (*Meta) GetPreviousOk ¶

func (o *Meta) GetPreviousOk() (*Href, bool)

GetPreviousOk returns a tuple with the Previous field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Meta) GetSelf ¶

func (o *Meta) GetSelf() Href

GetSelf returns the Self field value if set, zero value otherwise.

func (*Meta) GetSelfOk ¶

func (o *Meta) GetSelfOk() (*Href, bool)

GetSelfOk returns a tuple with the Self field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Meta) GetTotal ¶

func (o *Meta) GetTotal() int32

GetTotal returns the Total field value if set, zero value otherwise.

func (*Meta) GetTotalOk ¶

func (o *Meta) GetTotalOk() (*int32, bool)

GetTotalOk returns a tuple with the Total field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Meta) HasCurrentPage ¶ added in v0.5.0

func (o *Meta) HasCurrentPage() bool

HasCurrentPage returns a boolean if a field has been set.

func (*Meta) HasFirst ¶

func (o *Meta) HasFirst() bool

HasFirst returns a boolean if a field has been set.

func (*Meta) HasLast ¶

func (o *Meta) HasLast() bool

HasLast returns a boolean if a field has been set.

func (*Meta) HasLastPage ¶ added in v0.5.0

func (o *Meta) HasLastPage() bool

HasLastPage returns a boolean if a field has been set.

func (*Meta) HasNext ¶

func (o *Meta) HasNext() bool

HasNext returns a boolean if a field has been set.

func (*Meta) HasPrevious ¶

func (o *Meta) HasPrevious() bool

HasPrevious returns a boolean if a field has been set.

func (*Meta) HasSelf ¶

func (o *Meta) HasSelf() bool

HasSelf returns a boolean if a field has been set.

func (*Meta) HasTotal ¶

func (o *Meta) HasTotal() bool

HasTotal returns a boolean if a field has been set.

func (Meta) MarshalJSON ¶

func (o Meta) MarshalJSON() ([]byte, error)

func (*Meta) SetCurrentPage ¶ added in v0.5.0

func (o *Meta) SetCurrentPage(v int32)

SetCurrentPage gets a reference to the given int32 and assigns it to the CurrentPage field.

func (*Meta) SetFirst ¶

func (o *Meta) SetFirst(v Href)

SetFirst gets a reference to the given Href and assigns it to the First field.

func (*Meta) SetLast ¶

func (o *Meta) SetLast(v Href)

SetLast gets a reference to the given Href and assigns it to the Last field.

func (*Meta) SetLastPage ¶ added in v0.5.0

func (o *Meta) SetLastPage(v int32)

SetLastPage gets a reference to the given int32 and assigns it to the LastPage field.

func (*Meta) SetNext ¶

func (o *Meta) SetNext(v Href)

SetNext gets a reference to the given Href and assigns it to the Next field.

func (*Meta) SetPrevious ¶

func (o *Meta) SetPrevious(v Href)

SetPrevious gets a reference to the given Href and assigns it to the Previous field.

func (*Meta) SetSelf ¶

func (o *Meta) SetSelf(v Href)

SetSelf gets a reference to the given Href and assigns it to the Self field.

func (*Meta) SetTotal ¶

func (o *Meta) SetTotal(v int32)

SetTotal gets a reference to the given int32 and assigns it to the Total field.

func (Meta) ToMap ¶ added in v0.4.0

func (o Meta) ToMap() (map[string]interface{}, error)

func (*Meta) UnmarshalJSON ¶ added in v0.7.0

func (o *Meta) UnmarshalJSON(bytes []byte) (err error)

type Metadata ¶ added in v0.3.0

type Metadata struct {
	Class      *string                `json:"class,omitempty"`
	Customdata map[string]interface{} `json:"customdata,omitempty"`
	// The facility code of the instance
	Facility *string `json:"facility,omitempty"`
	Hostname *string `json:"hostname,omitempty"`
	Id       *string `json:"id,omitempty"`
	Iqn      *string `json:"iqn,omitempty"`
	// The metro code of the instance
	Metro           *string                `json:"metro,omitempty"`
	Network         *MetadataNetwork       `json:"network,omitempty"`
	OperatingSystem map[string]interface{} `json:"operating_system,omitempty"`
	// The plan slug of the instance
	Plan *string `json:"plan,omitempty"`
	// An array of the private subnets
	PrivateSubnets []string `json:"private_subnets,omitempty"`
	Reserved       *bool    `json:"reserved,omitempty"`
	// The specs of the plan version of the instance
	Specs                map[string]interface{} `json:"specs,omitempty"`
	SshKeys              []string               `json:"ssh_keys,omitempty"`
	SwitchShortId        *string                `json:"switch_short_id,omitempty"`
	State                *DeviceState           `json:"state,omitempty"`
	Tags                 []string               `json:"tags,omitempty"`
	Volumes              []string               `json:"volumes,omitempty"`
	AdditionalProperties map[string]interface{}
}

Metadata struct for Metadata

func NewMetadata ¶ added in v0.3.0

func NewMetadata() *Metadata

NewMetadata instantiates a new Metadata object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewMetadataWithDefaults ¶ added in v0.3.0

func NewMetadataWithDefaults() *Metadata

NewMetadataWithDefaults instantiates a new Metadata object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*Metadata) GetClass ¶ added in v0.3.0

func (o *Metadata) GetClass() string

GetClass returns the Class field value if set, zero value otherwise.

func (*Metadata) GetClassOk ¶ added in v0.3.0

func (o *Metadata) GetClassOk() (*string, bool)

GetClassOk returns a tuple with the Class field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Metadata) GetCustomdata ¶ added in v0.3.0

func (o *Metadata) GetCustomdata() map[string]interface{}

GetCustomdata returns the Customdata field value if set, zero value otherwise.

func (*Metadata) GetCustomdataOk ¶ added in v0.3.0

func (o *Metadata) GetCustomdataOk() (map[string]interface{}, bool)

GetCustomdataOk returns a tuple with the Customdata field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Metadata) GetFacility ¶ added in v0.3.0

func (o *Metadata) GetFacility() string

GetFacility returns the Facility field value if set, zero value otherwise.

func (*Metadata) GetFacilityOk ¶ added in v0.3.0

func (o *Metadata) GetFacilityOk() (*string, bool)

GetFacilityOk returns a tuple with the Facility field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Metadata) GetHostname ¶ added in v0.3.0

func (o *Metadata) GetHostname() string

GetHostname returns the Hostname field value if set, zero value otherwise.

func (*Metadata) GetHostnameOk ¶ added in v0.3.0

func (o *Metadata) GetHostnameOk() (*string, bool)

GetHostnameOk returns a tuple with the Hostname field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Metadata) GetId ¶ added in v0.3.0

func (o *Metadata) GetId() string

GetId returns the Id field value if set, zero value otherwise.

func (*Metadata) GetIdOk ¶ added in v0.3.0

func (o *Metadata) GetIdOk() (*string, bool)

GetIdOk returns a tuple with the Id field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Metadata) GetIqn ¶ added in v0.3.0

func (o *Metadata) GetIqn() string

GetIqn returns the Iqn field value if set, zero value otherwise.

func (*Metadata) GetIqnOk ¶ added in v0.3.0

func (o *Metadata) GetIqnOk() (*string, bool)

GetIqnOk returns a tuple with the Iqn field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Metadata) GetMetro ¶ added in v0.3.0

func (o *Metadata) GetMetro() string

GetMetro returns the Metro field value if set, zero value otherwise.

func (*Metadata) GetMetroOk ¶ added in v0.3.0

func (o *Metadata) GetMetroOk() (*string, bool)

GetMetroOk returns a tuple with the Metro field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Metadata) GetNetwork ¶ added in v0.3.0

func (o *Metadata) GetNetwork() MetadataNetwork

GetNetwork returns the Network field value if set, zero value otherwise.

func (*Metadata) GetNetworkOk ¶ added in v0.3.0

func (o *Metadata) GetNetworkOk() (*MetadataNetwork, bool)

GetNetworkOk returns a tuple with the Network field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Metadata) GetOperatingSystem ¶ added in v0.3.0

func (o *Metadata) GetOperatingSystem() map[string]interface{}

GetOperatingSystem returns the OperatingSystem field value if set, zero value otherwise.

func (*Metadata) GetOperatingSystemOk ¶ added in v0.3.0

func (o *Metadata) GetOperatingSystemOk() (map[string]interface{}, bool)

GetOperatingSystemOk returns a tuple with the OperatingSystem field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Metadata) GetPlan ¶ added in v0.3.0

func (o *Metadata) GetPlan() string

GetPlan returns the Plan field value if set, zero value otherwise.

func (*Metadata) GetPlanOk ¶ added in v0.3.0

func (o *Metadata) GetPlanOk() (*string, bool)

GetPlanOk returns a tuple with the Plan field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Metadata) GetPrivateSubnets ¶ added in v0.3.0

func (o *Metadata) GetPrivateSubnets() []string

GetPrivateSubnets returns the PrivateSubnets field value if set, zero value otherwise.

func (*Metadata) GetPrivateSubnetsOk ¶ added in v0.3.0

func (o *Metadata) GetPrivateSubnetsOk() ([]string, bool)

GetPrivateSubnetsOk returns a tuple with the PrivateSubnets field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Metadata) GetReserved ¶ added in v0.3.0

func (o *Metadata) GetReserved() bool

GetReserved returns the Reserved field value if set, zero value otherwise.

func (*Metadata) GetReservedOk ¶ added in v0.3.0

func (o *Metadata) GetReservedOk() (*bool, bool)

GetReservedOk returns a tuple with the Reserved field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Metadata) GetSpecs ¶ added in v0.3.0

func (o *Metadata) GetSpecs() map[string]interface{}

GetSpecs returns the Specs field value if set, zero value otherwise.

func (*Metadata) GetSpecsOk ¶ added in v0.3.0

func (o *Metadata) GetSpecsOk() (map[string]interface{}, bool)

GetSpecsOk returns a tuple with the Specs field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Metadata) GetSshKeys ¶ added in v0.3.0

func (o *Metadata) GetSshKeys() []string

GetSshKeys returns the SshKeys field value if set, zero value otherwise.

func (*Metadata) GetSshKeysOk ¶ added in v0.3.0

func (o *Metadata) GetSshKeysOk() ([]string, bool)

GetSshKeysOk returns a tuple with the SshKeys field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Metadata) GetState ¶ added in v0.14.0

func (o *Metadata) GetState() DeviceState

GetState returns the State field value if set, zero value otherwise.

func (*Metadata) GetStateOk ¶ added in v0.14.0

func (o *Metadata) GetStateOk() (*DeviceState, bool)

GetStateOk returns a tuple with the State field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Metadata) GetSwitchShortId ¶ added in v0.3.0

func (o *Metadata) GetSwitchShortId() string

GetSwitchShortId returns the SwitchShortId field value if set, zero value otherwise.

func (*Metadata) GetSwitchShortIdOk ¶ added in v0.3.0

func (o *Metadata) GetSwitchShortIdOk() (*string, bool)

GetSwitchShortIdOk returns a tuple with the SwitchShortId field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Metadata) GetTags ¶ added in v0.3.0

func (o *Metadata) GetTags() []string

GetTags returns the Tags field value if set, zero value otherwise.

func (*Metadata) GetTagsOk ¶ added in v0.3.0

func (o *Metadata) GetTagsOk() ([]string, bool)

GetTagsOk returns a tuple with the Tags field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Metadata) GetVolumes ¶ added in v0.3.0

func (o *Metadata) GetVolumes() []string

GetVolumes returns the Volumes field value if set, zero value otherwise.

func (*Metadata) GetVolumesOk ¶ added in v0.3.0

func (o *Metadata) GetVolumesOk() ([]string, bool)

GetVolumesOk returns a tuple with the Volumes field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Metadata) HasClass ¶ added in v0.3.0

func (o *Metadata) HasClass() bool

HasClass returns a boolean if a field has been set.

func (*Metadata) HasCustomdata ¶ added in v0.3.0

func (o *Metadata) HasCustomdata() bool

HasCustomdata returns a boolean if a field has been set.

func (*Metadata) HasFacility ¶ added in v0.3.0

func (o *Metadata) HasFacility() bool

HasFacility returns a boolean if a field has been set.

func (*Metadata) HasHostname ¶ added in v0.3.0

func (o *Metadata) HasHostname() bool

HasHostname returns a boolean if a field has been set.

func (*Metadata) HasId ¶ added in v0.3.0

func (o *Metadata) HasId() bool

HasId returns a boolean if a field has been set.

func (*Metadata) HasIqn ¶ added in v0.3.0

func (o *Metadata) HasIqn() bool

HasIqn returns a boolean if a field has been set.

func (*Metadata) HasMetro ¶ added in v0.3.0

func (o *Metadata) HasMetro() bool

HasMetro returns a boolean if a field has been set.

func (*Metadata) HasNetwork ¶ added in v0.3.0

func (o *Metadata) HasNetwork() bool

HasNetwork returns a boolean if a field has been set.

func (*Metadata) HasOperatingSystem ¶ added in v0.3.0

func (o *Metadata) HasOperatingSystem() bool

HasOperatingSystem returns a boolean if a field has been set.

func (*Metadata) HasPlan ¶ added in v0.3.0

func (o *Metadata) HasPlan() bool

HasPlan returns a boolean if a field has been set.

func (*Metadata) HasPrivateSubnets ¶ added in v0.3.0

func (o *Metadata) HasPrivateSubnets() bool

HasPrivateSubnets returns a boolean if a field has been set.

func (*Metadata) HasReserved ¶ added in v0.3.0

func (o *Metadata) HasReserved() bool

HasReserved returns a boolean if a field has been set.

func (*Metadata) HasSpecs ¶ added in v0.3.0

func (o *Metadata) HasSpecs() bool

HasSpecs returns a boolean if a field has been set.

func (*Metadata) HasSshKeys ¶ added in v0.3.0

func (o *Metadata) HasSshKeys() bool

HasSshKeys returns a boolean if a field has been set.

func (*Metadata) HasState ¶ added in v0.14.0

func (o *Metadata) HasState() bool

HasState returns a boolean if a field has been set.

func (*Metadata) HasSwitchShortId ¶ added in v0.3.0

func (o *Metadata) HasSwitchShortId() bool

HasSwitchShortId returns a boolean if a field has been set.

func (*Metadata) HasTags ¶ added in v0.3.0

func (o *Metadata) HasTags() bool

HasTags returns a boolean if a field has been set.

func (*Metadata) HasVolumes ¶ added in v0.3.0

func (o *Metadata) HasVolumes() bool

HasVolumes returns a boolean if a field has been set.

func (Metadata) MarshalJSON ¶ added in v0.3.0

func (o Metadata) MarshalJSON() ([]byte, error)

func (*Metadata) SetClass ¶ added in v0.3.0

func (o *Metadata) SetClass(v string)

SetClass gets a reference to the given string and assigns it to the Class field.

func (*Metadata) SetCustomdata ¶ added in v0.3.0

func (o *Metadata) SetCustomdata(v map[string]interface{})

SetCustomdata gets a reference to the given map[string]interface{} and assigns it to the Customdata field.

func (*Metadata) SetFacility ¶ added in v0.3.0

func (o *Metadata) SetFacility(v string)

SetFacility gets a reference to the given string and assigns it to the Facility field.

func (*Metadata) SetHostname ¶ added in v0.3.0

func (o *Metadata) SetHostname(v string)

SetHostname gets a reference to the given string and assigns it to the Hostname field.

func (*Metadata) SetId ¶ added in v0.3.0

func (o *Metadata) SetId(v string)

SetId gets a reference to the given string and assigns it to the Id field.

func (*Metadata) SetIqn ¶ added in v0.3.0

func (o *Metadata) SetIqn(v string)

SetIqn gets a reference to the given string and assigns it to the Iqn field.

func (*Metadata) SetMetro ¶ added in v0.3.0

func (o *Metadata) SetMetro(v string)

SetMetro gets a reference to the given string and assigns it to the Metro field.

func (*Metadata) SetNetwork ¶ added in v0.3.0

func (o *Metadata) SetNetwork(v MetadataNetwork)

SetNetwork gets a reference to the given MetadataNetwork and assigns it to the Network field.

func (*Metadata) SetOperatingSystem ¶ added in v0.3.0

func (o *Metadata) SetOperatingSystem(v map[string]interface{})

SetOperatingSystem gets a reference to the given map[string]interface{} and assigns it to the OperatingSystem field.

func (*Metadata) SetPlan ¶ added in v0.3.0

func (o *Metadata) SetPlan(v string)

SetPlan gets a reference to the given string and assigns it to the Plan field.

func (*Metadata) SetPrivateSubnets ¶ added in v0.3.0

func (o *Metadata) SetPrivateSubnets(v []string)

SetPrivateSubnets gets a reference to the given []string and assigns it to the PrivateSubnets field.

func (*Metadata) SetReserved ¶ added in v0.3.0

func (o *Metadata) SetReserved(v bool)

SetReserved gets a reference to the given bool and assigns it to the Reserved field.

func (*Metadata) SetSpecs ¶ added in v0.3.0

func (o *Metadata) SetSpecs(v map[string]interface{})

SetSpecs gets a reference to the given map[string]interface{} and assigns it to the Specs field.

func (*Metadata) SetSshKeys ¶ added in v0.3.0

func (o *Metadata) SetSshKeys(v []string)

SetSshKeys gets a reference to the given []string and assigns it to the SshKeys field.

func (*Metadata) SetState ¶ added in v0.14.0

func (o *Metadata) SetState(v DeviceState)

SetState gets a reference to the given DeviceState and assigns it to the State field.

func (*Metadata) SetSwitchShortId ¶ added in v0.3.0

func (o *Metadata) SetSwitchShortId(v string)

SetSwitchShortId gets a reference to the given string and assigns it to the SwitchShortId field.

func (*Metadata) SetTags ¶ added in v0.3.0

func (o *Metadata) SetTags(v []string)

SetTags gets a reference to the given []string and assigns it to the Tags field.

func (*Metadata) SetVolumes ¶ added in v0.3.0

func (o *Metadata) SetVolumes(v []string)

SetVolumes gets a reference to the given []string and assigns it to the Volumes field.

func (Metadata) ToMap ¶ added in v0.4.0

func (o Metadata) ToMap() (map[string]interface{}, error)

func (*Metadata) UnmarshalJSON ¶ added in v0.7.0

func (o *Metadata) UnmarshalJSON(bytes []byte) (err error)

type MetadataNetwork ¶ added in v0.4.0

type MetadataNetwork struct {
	Addresses            []string                 `json:"addresses,omitempty"`
	Interfaces           []map[string]interface{} `json:"interfaces,omitempty"`
	Network              *MetadataNetworkNetwork  `json:"network,omitempty"`
	AdditionalProperties map[string]interface{}
}

MetadataNetwork struct for MetadataNetwork

func NewMetadataNetwork ¶ added in v0.4.0

func NewMetadataNetwork() *MetadataNetwork

NewMetadataNetwork instantiates a new MetadataNetwork object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewMetadataNetworkWithDefaults ¶ added in v0.4.0

func NewMetadataNetworkWithDefaults() *MetadataNetwork

NewMetadataNetworkWithDefaults instantiates a new MetadataNetwork object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*MetadataNetwork) GetAddresses ¶ added in v0.4.0

func (o *MetadataNetwork) GetAddresses() []string

GetAddresses returns the Addresses field value if set, zero value otherwise.

func (*MetadataNetwork) GetAddressesOk ¶ added in v0.4.0

func (o *MetadataNetwork) GetAddressesOk() ([]string, bool)

GetAddressesOk returns a tuple with the Addresses field value if set, nil otherwise and a boolean to check if the value has been set.

func (*MetadataNetwork) GetInterfaces ¶ added in v0.4.0

func (o *MetadataNetwork) GetInterfaces() []map[string]interface{}

GetInterfaces returns the Interfaces field value if set, zero value otherwise.

func (*MetadataNetwork) GetInterfacesOk ¶ added in v0.4.0

func (o *MetadataNetwork) GetInterfacesOk() ([]map[string]interface{}, bool)

GetInterfacesOk returns a tuple with the Interfaces field value if set, nil otherwise and a boolean to check if the value has been set.

func (*MetadataNetwork) GetNetwork ¶ added in v0.4.0

func (o *MetadataNetwork) GetNetwork() MetadataNetworkNetwork

GetNetwork returns the Network field value if set, zero value otherwise.

func (*MetadataNetwork) GetNetworkOk ¶ added in v0.4.0

func (o *MetadataNetwork) GetNetworkOk() (*MetadataNetworkNetwork, bool)

GetNetworkOk returns a tuple with the Network field value if set, nil otherwise and a boolean to check if the value has been set.

func (*MetadataNetwork) HasAddresses ¶ added in v0.4.0

func (o *MetadataNetwork) HasAddresses() bool

HasAddresses returns a boolean if a field has been set.

func (*MetadataNetwork) HasInterfaces ¶ added in v0.4.0

func (o *MetadataNetwork) HasInterfaces() bool

HasInterfaces returns a boolean if a field has been set.

func (*MetadataNetwork) HasNetwork ¶ added in v0.4.0

func (o *MetadataNetwork) HasNetwork() bool

HasNetwork returns a boolean if a field has been set.

func (MetadataNetwork) MarshalJSON ¶ added in v0.4.0

func (o MetadataNetwork) MarshalJSON() ([]byte, error)

func (*MetadataNetwork) SetAddresses ¶ added in v0.4.0

func (o *MetadataNetwork) SetAddresses(v []string)

SetAddresses gets a reference to the given []string and assigns it to the Addresses field.

func (*MetadataNetwork) SetInterfaces ¶ added in v0.4.0

func (o *MetadataNetwork) SetInterfaces(v []map[string]interface{})

SetInterfaces gets a reference to the given []map[string]interface{} and assigns it to the Interfaces field.

func (*MetadataNetwork) SetNetwork ¶ added in v0.4.0

func (o *MetadataNetwork) SetNetwork(v MetadataNetworkNetwork)

SetNetwork gets a reference to the given MetadataNetworkNetwork and assigns it to the Network field.

func (MetadataNetwork) ToMap ¶ added in v0.4.0

func (o MetadataNetwork) ToMap() (map[string]interface{}, error)

func (*MetadataNetwork) UnmarshalJSON ¶ added in v0.7.0

func (o *MetadataNetwork) UnmarshalJSON(bytes []byte) (err error)

type MetadataNetworkNetwork ¶ added in v0.4.0

type MetadataNetworkNetwork struct {
	Bonding              *MetadataNetworkNetworkBonding `json:"bonding,omitempty"`
	AdditionalProperties map[string]interface{}
}

MetadataNetworkNetwork struct for MetadataNetworkNetwork

func NewMetadataNetworkNetwork ¶ added in v0.4.0

func NewMetadataNetworkNetwork() *MetadataNetworkNetwork

NewMetadataNetworkNetwork instantiates a new MetadataNetworkNetwork object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewMetadataNetworkNetworkWithDefaults ¶ added in v0.4.0

func NewMetadataNetworkNetworkWithDefaults() *MetadataNetworkNetwork

NewMetadataNetworkNetworkWithDefaults instantiates a new MetadataNetworkNetwork object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*MetadataNetworkNetwork) GetBonding ¶ added in v0.4.0

GetBonding returns the Bonding field value if set, zero value otherwise.

func (*MetadataNetworkNetwork) GetBondingOk ¶ added in v0.4.0

GetBondingOk returns a tuple with the Bonding field value if set, nil otherwise and a boolean to check if the value has been set.

func (*MetadataNetworkNetwork) HasBonding ¶ added in v0.4.0

func (o *MetadataNetworkNetwork) HasBonding() bool

HasBonding returns a boolean if a field has been set.

func (MetadataNetworkNetwork) MarshalJSON ¶ added in v0.4.0

func (o MetadataNetworkNetwork) MarshalJSON() ([]byte, error)

func (*MetadataNetworkNetwork) SetBonding ¶ added in v0.4.0

SetBonding gets a reference to the given MetadataNetworkNetworkBonding and assigns it to the Bonding field.

func (MetadataNetworkNetwork) ToMap ¶ added in v0.4.0

func (o MetadataNetworkNetwork) ToMap() (map[string]interface{}, error)

func (*MetadataNetworkNetwork) UnmarshalJSON ¶ added in v0.7.0

func (o *MetadataNetworkNetwork) UnmarshalJSON(bytes []byte) (err error)

type MetadataNetworkNetworkBonding ¶ added in v0.4.0

type MetadataNetworkNetworkBonding struct {
	LinkAggregation      *string `json:"link_aggregation,omitempty"`
	Mac                  *string `json:"mac,omitempty"`
	Mode                 *int32  `json:"mode,omitempty"`
	AdditionalProperties map[string]interface{}
}

MetadataNetworkNetworkBonding struct for MetadataNetworkNetworkBonding

func NewMetadataNetworkNetworkBonding ¶ added in v0.4.0

func NewMetadataNetworkNetworkBonding() *MetadataNetworkNetworkBonding

NewMetadataNetworkNetworkBonding instantiates a new MetadataNetworkNetworkBonding object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewMetadataNetworkNetworkBondingWithDefaults ¶ added in v0.4.0

func NewMetadataNetworkNetworkBondingWithDefaults() *MetadataNetworkNetworkBonding

NewMetadataNetworkNetworkBondingWithDefaults instantiates a new MetadataNetworkNetworkBonding object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*MetadataNetworkNetworkBonding) GetLinkAggregation ¶ added in v0.4.0

func (o *MetadataNetworkNetworkBonding) GetLinkAggregation() string

GetLinkAggregation returns the LinkAggregation field value if set, zero value otherwise.

func (*MetadataNetworkNetworkBonding) GetLinkAggregationOk ¶ added in v0.4.0

func (o *MetadataNetworkNetworkBonding) GetLinkAggregationOk() (*string, bool)

GetLinkAggregationOk returns a tuple with the LinkAggregation field value if set, nil otherwise and a boolean to check if the value has been set.

func (*MetadataNetworkNetworkBonding) GetMac ¶ added in v0.4.0

GetMac returns the Mac field value if set, zero value otherwise.

func (*MetadataNetworkNetworkBonding) GetMacOk ¶ added in v0.4.0

func (o *MetadataNetworkNetworkBonding) GetMacOk() (*string, bool)

GetMacOk returns a tuple with the Mac field value if set, nil otherwise and a boolean to check if the value has been set.

func (*MetadataNetworkNetworkBonding) GetMode ¶ added in v0.4.0

func (o *MetadataNetworkNetworkBonding) GetMode() int32

GetMode returns the Mode field value if set, zero value otherwise.

func (*MetadataNetworkNetworkBonding) GetModeOk ¶ added in v0.4.0

func (o *MetadataNetworkNetworkBonding) GetModeOk() (*int32, bool)

GetModeOk returns a tuple with the Mode field value if set, nil otherwise and a boolean to check if the value has been set.

func (*MetadataNetworkNetworkBonding) HasLinkAggregation ¶ added in v0.4.0

func (o *MetadataNetworkNetworkBonding) HasLinkAggregation() bool

HasLinkAggregation returns a boolean if a field has been set.

func (*MetadataNetworkNetworkBonding) HasMac ¶ added in v0.4.0

func (o *MetadataNetworkNetworkBonding) HasMac() bool

HasMac returns a boolean if a field has been set.

func (*MetadataNetworkNetworkBonding) HasMode ¶ added in v0.4.0

func (o *MetadataNetworkNetworkBonding) HasMode() bool

HasMode returns a boolean if a field has been set.

func (MetadataNetworkNetworkBonding) MarshalJSON ¶ added in v0.4.0

func (o MetadataNetworkNetworkBonding) MarshalJSON() ([]byte, error)

func (*MetadataNetworkNetworkBonding) SetLinkAggregation ¶ added in v0.4.0

func (o *MetadataNetworkNetworkBonding) SetLinkAggregation(v string)

SetLinkAggregation gets a reference to the given string and assigns it to the LinkAggregation field.

func (*MetadataNetworkNetworkBonding) SetMac ¶ added in v0.4.0

SetMac gets a reference to the given string and assigns it to the Mac field.

func (*MetadataNetworkNetworkBonding) SetMode ¶ added in v0.4.0

func (o *MetadataNetworkNetworkBonding) SetMode(v int32)

SetMode gets a reference to the given int32 and assigns it to the Mode field.

func (MetadataNetworkNetworkBonding) ToMap ¶ added in v0.4.0

func (o MetadataNetworkNetworkBonding) ToMap() (map[string]interface{}, error)

func (*MetadataNetworkNetworkBonding) UnmarshalJSON ¶ added in v0.7.0

func (o *MetadataNetworkNetworkBonding) UnmarshalJSON(bytes []byte) (err error)

type MetalGateway ¶

type MetalGateway struct {
	CreatedAt            *time.Time         `json:"created_at,omitempty"`
	CreatedBy            *Href              `json:"created_by,omitempty"`
	Href                 *string            `json:"href,omitempty"`
	Id                   *string            `json:"id,omitempty"`
	IpReservation        *IPReservation     `json:"ip_reservation,omitempty"`
	Project              *Project           `json:"project,omitempty"`
	State                *MetalGatewayState `json:"state,omitempty"`
	UpdatedAt            *time.Time         `json:"updated_at,omitempty"`
	VirtualNetwork       *VirtualNetwork    `json:"virtual_network,omitempty"`
	AdditionalProperties map[string]interface{}
}

MetalGateway struct for MetalGateway

func NewMetalGateway ¶

func NewMetalGateway() *MetalGateway

NewMetalGateway instantiates a new MetalGateway object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewMetalGatewayWithDefaults ¶

func NewMetalGatewayWithDefaults() *MetalGateway

NewMetalGatewayWithDefaults instantiates a new MetalGateway object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*MetalGateway) GetCreatedAt ¶

func (o *MetalGateway) GetCreatedAt() time.Time

GetCreatedAt returns the CreatedAt field value if set, zero value otherwise.

func (*MetalGateway) GetCreatedAtOk ¶

func (o *MetalGateway) GetCreatedAtOk() (*time.Time, bool)

GetCreatedAtOk returns a tuple with the CreatedAt field value if set, nil otherwise and a boolean to check if the value has been set.

func (*MetalGateway) GetCreatedBy ¶

func (o *MetalGateway) GetCreatedBy() Href

GetCreatedBy returns the CreatedBy field value if set, zero value otherwise.

func (*MetalGateway) GetCreatedByOk ¶

func (o *MetalGateway) GetCreatedByOk() (*Href, bool)

GetCreatedByOk returns a tuple with the CreatedBy field value if set, nil otherwise and a boolean to check if the value has been set.

func (*MetalGateway) GetHref ¶

func (o *MetalGateway) GetHref() string

GetHref returns the Href field value if set, zero value otherwise.

func (*MetalGateway) GetHrefOk ¶

func (o *MetalGateway) GetHrefOk() (*string, bool)

GetHrefOk returns a tuple with the Href field value if set, nil otherwise and a boolean to check if the value has been set.

func (*MetalGateway) GetId ¶

func (o *MetalGateway) GetId() string

GetId returns the Id field value if set, zero value otherwise.

func (*MetalGateway) GetIdOk ¶

func (o *MetalGateway) GetIdOk() (*string, bool)

GetIdOk returns a tuple with the Id field value if set, nil otherwise and a boolean to check if the value has been set.

func (*MetalGateway) GetIpReservation ¶

func (o *MetalGateway) GetIpReservation() IPReservation

GetIpReservation returns the IpReservation field value if set, zero value otherwise.

func (*MetalGateway) GetIpReservationOk ¶

func (o *MetalGateway) GetIpReservationOk() (*IPReservation, bool)

GetIpReservationOk returns a tuple with the IpReservation field value if set, nil otherwise and a boolean to check if the value has been set.

func (*MetalGateway) GetProject ¶

func (o *MetalGateway) GetProject() Project

GetProject returns the Project field value if set, zero value otherwise.

func (*MetalGateway) GetProjectOk ¶

func (o *MetalGateway) GetProjectOk() (*Project, bool)

GetProjectOk returns a tuple with the Project field value if set, nil otherwise and a boolean to check if the value has been set.

func (*MetalGateway) GetState ¶

func (o *MetalGateway) GetState() MetalGatewayState

GetState returns the State field value if set, zero value otherwise.

func (*MetalGateway) GetStateOk ¶

func (o *MetalGateway) GetStateOk() (*MetalGatewayState, bool)

GetStateOk returns a tuple with the State field value if set, nil otherwise and a boolean to check if the value has been set.

func (*MetalGateway) GetUpdatedAt ¶

func (o *MetalGateway) GetUpdatedAt() time.Time

GetUpdatedAt returns the UpdatedAt field value if set, zero value otherwise.

func (*MetalGateway) GetUpdatedAtOk ¶

func (o *MetalGateway) GetUpdatedAtOk() (*time.Time, bool)

GetUpdatedAtOk returns a tuple with the UpdatedAt field value if set, nil otherwise and a boolean to check if the value has been set.

func (*MetalGateway) GetVirtualNetwork ¶

func (o *MetalGateway) GetVirtualNetwork() VirtualNetwork

GetVirtualNetwork returns the VirtualNetwork field value if set, zero value otherwise.

func (*MetalGateway) GetVirtualNetworkOk ¶

func (o *MetalGateway) GetVirtualNetworkOk() (*VirtualNetwork, bool)

GetVirtualNetworkOk returns a tuple with the VirtualNetwork field value if set, nil otherwise and a boolean to check if the value has been set.

func (*MetalGateway) HasCreatedAt ¶

func (o *MetalGateway) HasCreatedAt() bool

HasCreatedAt returns a boolean if a field has been set.

func (*MetalGateway) HasCreatedBy ¶

func (o *MetalGateway) HasCreatedBy() bool

HasCreatedBy returns a boolean if a field has been set.

func (*MetalGateway) HasHref ¶

func (o *MetalGateway) HasHref() bool

HasHref returns a boolean if a field has been set.

func (*MetalGateway) HasId ¶

func (o *MetalGateway) HasId() bool

HasId returns a boolean if a field has been set.

func (*MetalGateway) HasIpReservation ¶

func (o *MetalGateway) HasIpReservation() bool

HasIpReservation returns a boolean if a field has been set.

func (*MetalGateway) HasProject ¶

func (o *MetalGateway) HasProject() bool

HasProject returns a boolean if a field has been set.

func (*MetalGateway) HasState ¶

func (o *MetalGateway) HasState() bool

HasState returns a boolean if a field has been set.

func (*MetalGateway) HasUpdatedAt ¶

func (o *MetalGateway) HasUpdatedAt() bool

HasUpdatedAt returns a boolean if a field has been set.

func (*MetalGateway) HasVirtualNetwork ¶

func (o *MetalGateway) HasVirtualNetwork() bool

HasVirtualNetwork returns a boolean if a field has been set.

func (MetalGateway) MarshalJSON ¶

func (o MetalGateway) MarshalJSON() ([]byte, error)

func (*MetalGateway) SetCreatedAt ¶

func (o *MetalGateway) SetCreatedAt(v time.Time)

SetCreatedAt gets a reference to the given time.Time and assigns it to the CreatedAt field.

func (*MetalGateway) SetCreatedBy ¶

func (o *MetalGateway) SetCreatedBy(v Href)

SetCreatedBy gets a reference to the given Href and assigns it to the CreatedBy field.

func (*MetalGateway) SetHref ¶

func (o *MetalGateway) SetHref(v string)

SetHref gets a reference to the given string and assigns it to the Href field.

func (*MetalGateway) SetId ¶

func (o *MetalGateway) SetId(v string)

SetId gets a reference to the given string and assigns it to the Id field.

func (*MetalGateway) SetIpReservation ¶

func (o *MetalGateway) SetIpReservation(v IPReservation)

SetIpReservation gets a reference to the given IPReservation and assigns it to the IpReservation field.

func (*MetalGateway) SetProject ¶

func (o *MetalGateway) SetProject(v Project)

SetProject gets a reference to the given Project and assigns it to the Project field.

func (*MetalGateway) SetState ¶

func (o *MetalGateway) SetState(v MetalGatewayState)

SetState gets a reference to the given MetalGatewayState and assigns it to the State field.

func (*MetalGateway) SetUpdatedAt ¶

func (o *MetalGateway) SetUpdatedAt(v time.Time)

SetUpdatedAt gets a reference to the given time.Time and assigns it to the UpdatedAt field.

func (*MetalGateway) SetVirtualNetwork ¶

func (o *MetalGateway) SetVirtualNetwork(v VirtualNetwork)

SetVirtualNetwork gets a reference to the given VirtualNetwork and assigns it to the VirtualNetwork field.

func (MetalGateway) ToMap ¶ added in v0.4.0

func (o MetalGateway) ToMap() (map[string]interface{}, error)

func (*MetalGateway) UnmarshalJSON ¶ added in v0.7.0

func (o *MetalGateway) UnmarshalJSON(bytes []byte) (err error)

type MetalGatewayCreateInput ¶ added in v0.3.0

type MetalGatewayCreateInput struct {
	// The UUID of an IP reservation that belongs to the same project as where the metal gateway will be created in. This field is required unless the private IPv4 subnet size is specified.
	IpReservationId *string `json:"ip_reservation_id,omitempty"`
	// The subnet size (8, 16, 32, 64, or 128) of the private IPv4 reservation that will be created for the metal gateway. This field is required unless a project IP reservation was specified.           Please keep in mind that the number of private metal gateway ranges are limited per project. If you would like to increase the limit per project, please contact support for assistance.
	PrivateIpv4SubnetSize *int32 `json:"private_ipv4_subnet_size,omitempty"`
	// The UUID of a metro virtual network that belongs to the same project as where the metal gateway will be created in.
	VirtualNetworkId     string `json:"virtual_network_id"`
	AdditionalProperties map[string]interface{}
}

MetalGatewayCreateInput struct for MetalGatewayCreateInput

func NewMetalGatewayCreateInput ¶ added in v0.3.0

func NewMetalGatewayCreateInput(virtualNetworkId string) *MetalGatewayCreateInput

NewMetalGatewayCreateInput instantiates a new MetalGatewayCreateInput object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewMetalGatewayCreateInputWithDefaults ¶ added in v0.3.0

func NewMetalGatewayCreateInputWithDefaults() *MetalGatewayCreateInput

NewMetalGatewayCreateInputWithDefaults instantiates a new MetalGatewayCreateInput object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*MetalGatewayCreateInput) GetIpReservationId ¶ added in v0.3.0

func (o *MetalGatewayCreateInput) GetIpReservationId() string

GetIpReservationId returns the IpReservationId field value if set, zero value otherwise.

func (*MetalGatewayCreateInput) GetIpReservationIdOk ¶ added in v0.3.0

func (o *MetalGatewayCreateInput) GetIpReservationIdOk() (*string, bool)

GetIpReservationIdOk returns a tuple with the IpReservationId field value if set, nil otherwise and a boolean to check if the value has been set.

func (*MetalGatewayCreateInput) GetPrivateIpv4SubnetSize ¶ added in v0.3.0

func (o *MetalGatewayCreateInput) GetPrivateIpv4SubnetSize() int32

GetPrivateIpv4SubnetSize returns the PrivateIpv4SubnetSize field value if set, zero value otherwise.

func (*MetalGatewayCreateInput) GetPrivateIpv4SubnetSizeOk ¶ added in v0.3.0

func (o *MetalGatewayCreateInput) GetPrivateIpv4SubnetSizeOk() (*int32, bool)

GetPrivateIpv4SubnetSizeOk returns a tuple with the PrivateIpv4SubnetSize field value if set, nil otherwise and a boolean to check if the value has been set.

func (*MetalGatewayCreateInput) GetVirtualNetworkId ¶ added in v0.3.0

func (o *MetalGatewayCreateInput) GetVirtualNetworkId() string

GetVirtualNetworkId returns the VirtualNetworkId field value

func (*MetalGatewayCreateInput) GetVirtualNetworkIdOk ¶ added in v0.3.0

func (o *MetalGatewayCreateInput) GetVirtualNetworkIdOk() (*string, bool)

GetVirtualNetworkIdOk returns a tuple with the VirtualNetworkId field value and a boolean to check if the value has been set.

func (*MetalGatewayCreateInput) HasIpReservationId ¶ added in v0.3.0

func (o *MetalGatewayCreateInput) HasIpReservationId() bool

HasIpReservationId returns a boolean if a field has been set.

func (*MetalGatewayCreateInput) HasPrivateIpv4SubnetSize ¶ added in v0.3.0

func (o *MetalGatewayCreateInput) HasPrivateIpv4SubnetSize() bool

HasPrivateIpv4SubnetSize returns a boolean if a field has been set.

func (MetalGatewayCreateInput) MarshalJSON ¶ added in v0.3.0

func (o MetalGatewayCreateInput) MarshalJSON() ([]byte, error)

func (*MetalGatewayCreateInput) SetIpReservationId ¶ added in v0.3.0

func (o *MetalGatewayCreateInput) SetIpReservationId(v string)

SetIpReservationId gets a reference to the given string and assigns it to the IpReservationId field.

func (*MetalGatewayCreateInput) SetPrivateIpv4SubnetSize ¶ added in v0.3.0

func (o *MetalGatewayCreateInput) SetPrivateIpv4SubnetSize(v int32)

SetPrivateIpv4SubnetSize gets a reference to the given int32 and assigns it to the PrivateIpv4SubnetSize field.

func (*MetalGatewayCreateInput) SetVirtualNetworkId ¶ added in v0.3.0

func (o *MetalGatewayCreateInput) SetVirtualNetworkId(v string)

SetVirtualNetworkId sets field value

func (MetalGatewayCreateInput) ToMap ¶ added in v0.4.0

func (o MetalGatewayCreateInput) ToMap() (map[string]interface{}, error)

func (*MetalGatewayCreateInput) UnmarshalJSON ¶ added in v0.7.0

func (o *MetalGatewayCreateInput) UnmarshalJSON(bytes []byte) (err error)

type MetalGatewayElasticIpCreateInput ¶ added in v0.8.0

type MetalGatewayElasticIpCreateInput struct {
	// An IP address (or IP Address range) contained within one of the project's IP Reservations
	Address string `json:"address"`
	// An IP address contained within the Metal Gateways' IP Reservation range.
	NextHop string `json:"next_hop"`
	// Optional User-defined JSON object value.
	Customdata map[string]interface{} `json:"customdata,omitempty"`
	// Optional list of User-defined tags. Can be used by users to provide additional details or context regarding the purpose or usage of this resource.
	Tags                 []string `json:"tags,omitempty"`
	AdditionalProperties map[string]interface{}
}

MetalGatewayElasticIpCreateInput struct for MetalGatewayElasticIpCreateInput

func NewMetalGatewayElasticIpCreateInput ¶ added in v0.8.0

func NewMetalGatewayElasticIpCreateInput(address string, nextHop string) *MetalGatewayElasticIpCreateInput

NewMetalGatewayElasticIpCreateInput instantiates a new MetalGatewayElasticIpCreateInput object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewMetalGatewayElasticIpCreateInputWithDefaults ¶ added in v0.8.0

func NewMetalGatewayElasticIpCreateInputWithDefaults() *MetalGatewayElasticIpCreateInput

NewMetalGatewayElasticIpCreateInputWithDefaults instantiates a new MetalGatewayElasticIpCreateInput object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*MetalGatewayElasticIpCreateInput) GetAddress ¶ added in v0.8.0

func (o *MetalGatewayElasticIpCreateInput) GetAddress() string

GetAddress returns the Address field value

func (*MetalGatewayElasticIpCreateInput) GetAddressOk ¶ added in v0.8.0

func (o *MetalGatewayElasticIpCreateInput) GetAddressOk() (*string, bool)

GetAddressOk returns a tuple with the Address field value and a boolean to check if the value has been set.

func (*MetalGatewayElasticIpCreateInput) GetCustomdata ¶ added in v0.8.0

func (o *MetalGatewayElasticIpCreateInput) GetCustomdata() map[string]interface{}

GetCustomdata returns the Customdata field value if set, zero value otherwise.

func (*MetalGatewayElasticIpCreateInput) GetCustomdataOk ¶ added in v0.8.0

func (o *MetalGatewayElasticIpCreateInput) GetCustomdataOk() (map[string]interface{}, bool)

GetCustomdataOk returns a tuple with the Customdata field value if set, nil otherwise and a boolean to check if the value has been set.

func (*MetalGatewayElasticIpCreateInput) GetNextHop ¶ added in v0.8.0

func (o *MetalGatewayElasticIpCreateInput) GetNextHop() string

GetNextHop returns the NextHop field value

func (*MetalGatewayElasticIpCreateInput) GetNextHopOk ¶ added in v0.8.0

func (o *MetalGatewayElasticIpCreateInput) GetNextHopOk() (*string, bool)

GetNextHopOk returns a tuple with the NextHop field value and a boolean to check if the value has been set.

func (*MetalGatewayElasticIpCreateInput) GetTags ¶ added in v0.8.0

GetTags returns the Tags field value if set, zero value otherwise.

func (*MetalGatewayElasticIpCreateInput) GetTagsOk ¶ added in v0.8.0

func (o *MetalGatewayElasticIpCreateInput) GetTagsOk() ([]string, bool)

GetTagsOk returns a tuple with the Tags field value if set, nil otherwise and a boolean to check if the value has been set.

func (*MetalGatewayElasticIpCreateInput) HasCustomdata ¶ added in v0.8.0

func (o *MetalGatewayElasticIpCreateInput) HasCustomdata() bool

HasCustomdata returns a boolean if a field has been set.

func (*MetalGatewayElasticIpCreateInput) HasTags ¶ added in v0.8.0

HasTags returns a boolean if a field has been set.

func (MetalGatewayElasticIpCreateInput) MarshalJSON ¶ added in v0.8.0

func (o MetalGatewayElasticIpCreateInput) MarshalJSON() ([]byte, error)

func (*MetalGatewayElasticIpCreateInput) SetAddress ¶ added in v0.8.0

func (o *MetalGatewayElasticIpCreateInput) SetAddress(v string)

SetAddress sets field value

func (*MetalGatewayElasticIpCreateInput) SetCustomdata ¶ added in v0.8.0

func (o *MetalGatewayElasticIpCreateInput) SetCustomdata(v map[string]interface{})

SetCustomdata gets a reference to the given map[string]interface{} and assigns it to the Customdata field.

func (*MetalGatewayElasticIpCreateInput) SetNextHop ¶ added in v0.8.0

func (o *MetalGatewayElasticIpCreateInput) SetNextHop(v string)

SetNextHop sets field value

func (*MetalGatewayElasticIpCreateInput) SetTags ¶ added in v0.8.0

func (o *MetalGatewayElasticIpCreateInput) SetTags(v []string)

SetTags gets a reference to the given []string and assigns it to the Tags field.

func (MetalGatewayElasticIpCreateInput) ToMap ¶ added in v0.8.0

func (o MetalGatewayElasticIpCreateInput) ToMap() (map[string]interface{}, error)

func (*MetalGatewayElasticIpCreateInput) UnmarshalJSON ¶ added in v0.8.0

func (o *MetalGatewayElasticIpCreateInput) UnmarshalJSON(bytes []byte) (err error)

type MetalGatewayList ¶

type MetalGatewayList struct {
	MetalGateways        []MetalGatewayListMetalGatewaysInner `json:"metal_gateways,omitempty"`
	Meta                 *Meta                                `json:"meta,omitempty"`
	AdditionalProperties map[string]interface{}
}

MetalGatewayList struct for MetalGatewayList

func NewMetalGatewayList ¶

func NewMetalGatewayList() *MetalGatewayList

NewMetalGatewayList instantiates a new MetalGatewayList object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewMetalGatewayListWithDefaults ¶

func NewMetalGatewayListWithDefaults() *MetalGatewayList

NewMetalGatewayListWithDefaults instantiates a new MetalGatewayList object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*MetalGatewayList) GetMeta ¶ added in v0.7.1

func (o *MetalGatewayList) GetMeta() Meta

GetMeta returns the Meta field value if set, zero value otherwise.

func (*MetalGatewayList) GetMetaOk ¶ added in v0.7.1

func (o *MetalGatewayList) GetMetaOk() (*Meta, bool)

GetMetaOk returns a tuple with the Meta field value if set, nil otherwise and a boolean to check if the value has been set.

func (*MetalGatewayList) GetMetalGateways ¶

func (o *MetalGatewayList) GetMetalGateways() []MetalGatewayListMetalGatewaysInner

GetMetalGateways returns the MetalGateways field value if set, zero value otherwise.

func (*MetalGatewayList) GetMetalGatewaysOk ¶

func (o *MetalGatewayList) GetMetalGatewaysOk() ([]MetalGatewayListMetalGatewaysInner, bool)

GetMetalGatewaysOk returns a tuple with the MetalGateways field value if set, nil otherwise and a boolean to check if the value has been set.

func (*MetalGatewayList) HasMeta ¶ added in v0.7.1

func (o *MetalGatewayList) HasMeta() bool

HasMeta returns a boolean if a field has been set.

func (*MetalGatewayList) HasMetalGateways ¶

func (o *MetalGatewayList) HasMetalGateways() bool

HasMetalGateways returns a boolean if a field has been set.

func (MetalGatewayList) MarshalJSON ¶

func (o MetalGatewayList) MarshalJSON() ([]byte, error)

func (*MetalGatewayList) SetMeta ¶ added in v0.7.1

func (o *MetalGatewayList) SetMeta(v Meta)

SetMeta gets a reference to the given Meta and assigns it to the Meta field.

func (*MetalGatewayList) SetMetalGateways ¶

func (o *MetalGatewayList) SetMetalGateways(v []MetalGatewayListMetalGatewaysInner)

SetMetalGateways gets a reference to the given []MetalGatewayListMetalGatewaysInner and assigns it to the MetalGateways field.

func (MetalGatewayList) ToMap ¶ added in v0.4.0

func (o MetalGatewayList) ToMap() (map[string]interface{}, error)

func (*MetalGatewayList) UnmarshalJSON ¶ added in v0.7.0

func (o *MetalGatewayList) UnmarshalJSON(bytes []byte) (err error)

type MetalGatewayListMetalGatewaysInner ¶ added in v0.4.0

type MetalGatewayListMetalGatewaysInner struct {
	MetalGateway    *MetalGateway
	VrfMetalGateway *VrfMetalGateway
}

MetalGatewayListMetalGatewaysInner struct for MetalGatewayListMetalGatewaysInner

func (*MetalGatewayListMetalGatewaysInner) MarshalJSON ¶ added in v0.4.0

func (src *MetalGatewayListMetalGatewaysInner) MarshalJSON() ([]byte, error)

Marshal data from the first non-nil pointers in the struct to JSON

func (*MetalGatewayListMetalGatewaysInner) UnmarshalJSON ¶ added in v0.4.0

func (dst *MetalGatewayListMetalGatewaysInner) UnmarshalJSON(data []byte) error

Unmarshal JSON data into any of the pointers in the struct

type MetalGatewayLite ¶

type MetalGatewayLite struct {
	CreatedAt *time.Time `json:"created_at,omitempty"`
	// The gateway address with subnet CIDR value for this Metal Gateway. For example, a Metal Gateway using an IP reservation with block 10.1.2.0/27 would have a gateway address of 10.1.2.1/27.
	GatewayAddress *string            `json:"gateway_address,omitempty"`
	Href           *string            `json:"href,omitempty"`
	Id             *string            `json:"id,omitempty"`
	State          *MetalGatewayState `json:"state,omitempty"`
	UpdatedAt      *time.Time         `json:"updated_at,omitempty"`
	// The VLAN id of the Virtual Network record associated to this Metal Gateway.
	Vlan                 *int32 `json:"vlan,omitempty"`
	AdditionalProperties map[string]interface{}
}

MetalGatewayLite struct for MetalGatewayLite

func NewMetalGatewayLite ¶

func NewMetalGatewayLite() *MetalGatewayLite

NewMetalGatewayLite instantiates a new MetalGatewayLite object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewMetalGatewayLiteWithDefaults ¶

func NewMetalGatewayLiteWithDefaults() *MetalGatewayLite

NewMetalGatewayLiteWithDefaults instantiates a new MetalGatewayLite object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*MetalGatewayLite) GetCreatedAt ¶

func (o *MetalGatewayLite) GetCreatedAt() time.Time

GetCreatedAt returns the CreatedAt field value if set, zero value otherwise.

func (*MetalGatewayLite) GetCreatedAtOk ¶

func (o *MetalGatewayLite) GetCreatedAtOk() (*time.Time, bool)

GetCreatedAtOk returns a tuple with the CreatedAt field value if set, nil otherwise and a boolean to check if the value has been set.

func (*MetalGatewayLite) GetGatewayAddress ¶

func (o *MetalGatewayLite) GetGatewayAddress() string

GetGatewayAddress returns the GatewayAddress field value if set, zero value otherwise.

func (*MetalGatewayLite) GetGatewayAddressOk ¶

func (o *MetalGatewayLite) GetGatewayAddressOk() (*string, bool)

GetGatewayAddressOk returns a tuple with the GatewayAddress field value if set, nil otherwise and a boolean to check if the value has been set.

func (*MetalGatewayLite) GetHref ¶

func (o *MetalGatewayLite) GetHref() string

GetHref returns the Href field value if set, zero value otherwise.

func (*MetalGatewayLite) GetHrefOk ¶

func (o *MetalGatewayLite) GetHrefOk() (*string, bool)

GetHrefOk returns a tuple with the Href field value if set, nil otherwise and a boolean to check if the value has been set.

func (*MetalGatewayLite) GetId ¶

func (o *MetalGatewayLite) GetId() string

GetId returns the Id field value if set, zero value otherwise.

func (*MetalGatewayLite) GetIdOk ¶

func (o *MetalGatewayLite) GetIdOk() (*string, bool)

GetIdOk returns a tuple with the Id field value if set, nil otherwise and a boolean to check if the value has been set.

func (*MetalGatewayLite) GetState ¶

func (o *MetalGatewayLite) GetState() MetalGatewayState

GetState returns the State field value if set, zero value otherwise.

func (*MetalGatewayLite) GetStateOk ¶

func (o *MetalGatewayLite) GetStateOk() (*MetalGatewayState, bool)

GetStateOk returns a tuple with the State field value if set, nil otherwise and a boolean to check if the value has been set.

func (*MetalGatewayLite) GetUpdatedAt ¶

func (o *MetalGatewayLite) GetUpdatedAt() time.Time

GetUpdatedAt returns the UpdatedAt field value if set, zero value otherwise.

func (*MetalGatewayLite) GetUpdatedAtOk ¶

func (o *MetalGatewayLite) GetUpdatedAtOk() (*time.Time, bool)

GetUpdatedAtOk returns a tuple with the UpdatedAt field value if set, nil otherwise and a boolean to check if the value has been set.

func (*MetalGatewayLite) GetVlan ¶

func (o *MetalGatewayLite) GetVlan() int32

GetVlan returns the Vlan field value if set, zero value otherwise.

func (*MetalGatewayLite) GetVlanOk ¶

func (o *MetalGatewayLite) GetVlanOk() (*int32, bool)

GetVlanOk returns a tuple with the Vlan field value if set, nil otherwise and a boolean to check if the value has been set.

func (*MetalGatewayLite) HasCreatedAt ¶

func (o *MetalGatewayLite) HasCreatedAt() bool

HasCreatedAt returns a boolean if a field has been set.

func (*MetalGatewayLite) HasGatewayAddress ¶

func (o *MetalGatewayLite) HasGatewayAddress() bool

HasGatewayAddress returns a boolean if a field has been set.

func (*MetalGatewayLite) HasHref ¶

func (o *MetalGatewayLite) HasHref() bool

HasHref returns a boolean if a field has been set.

func (*MetalGatewayLite) HasId ¶

func (o *MetalGatewayLite) HasId() bool

HasId returns a boolean if a field has been set.

func (*MetalGatewayLite) HasState ¶

func (o *MetalGatewayLite) HasState() bool

HasState returns a boolean if a field has been set.

func (*MetalGatewayLite) HasUpdatedAt ¶

func (o *MetalGatewayLite) HasUpdatedAt() bool

HasUpdatedAt returns a boolean if a field has been set.

func (*MetalGatewayLite) HasVlan ¶

func (o *MetalGatewayLite) HasVlan() bool

HasVlan returns a boolean if a field has been set.

func (MetalGatewayLite) MarshalJSON ¶

func (o MetalGatewayLite) MarshalJSON() ([]byte, error)

func (*MetalGatewayLite) SetCreatedAt ¶

func (o *MetalGatewayLite) SetCreatedAt(v time.Time)

SetCreatedAt gets a reference to the given time.Time and assigns it to the CreatedAt field.

func (*MetalGatewayLite) SetGatewayAddress ¶

func (o *MetalGatewayLite) SetGatewayAddress(v string)

SetGatewayAddress gets a reference to the given string and assigns it to the GatewayAddress field.

func (*MetalGatewayLite) SetHref ¶

func (o *MetalGatewayLite) SetHref(v string)

SetHref gets a reference to the given string and assigns it to the Href field.

func (*MetalGatewayLite) SetId ¶

func (o *MetalGatewayLite) SetId(v string)

SetId gets a reference to the given string and assigns it to the Id field.

func (*MetalGatewayLite) SetState ¶

func (o *MetalGatewayLite) SetState(v MetalGatewayState)

SetState gets a reference to the given MetalGatewayState and assigns it to the State field.

func (*MetalGatewayLite) SetUpdatedAt ¶

func (o *MetalGatewayLite) SetUpdatedAt(v time.Time)

SetUpdatedAt gets a reference to the given time.Time and assigns it to the UpdatedAt field.

func (*MetalGatewayLite) SetVlan ¶

func (o *MetalGatewayLite) SetVlan(v int32)

SetVlan gets a reference to the given int32 and assigns it to the Vlan field.

func (MetalGatewayLite) ToMap ¶ added in v0.4.0

func (o MetalGatewayLite) ToMap() (map[string]interface{}, error)

func (*MetalGatewayLite) UnmarshalJSON ¶ added in v0.7.0

func (o *MetalGatewayLite) UnmarshalJSON(bytes []byte) (err error)

type MetalGatewayState ¶ added in v0.22.0

type MetalGatewayState string

MetalGatewayState The current state of the Metal Gateway. 'Ready' indicates the gateway record has been configured, but is currently not active on the network. 'Active' indicates the gateway has been configured on the network. 'Deleting' is a temporary state used to indicate that the gateway is in the process of being un-configured from the network, after which the gateway record will be deleted.

const (
	METALGATEWAYSTATE_READY    MetalGatewayState = "ready"
	METALGATEWAYSTATE_ACTIVE   MetalGatewayState = "active"
	METALGATEWAYSTATE_DELETING MetalGatewayState = "deleting"
)

List of MetalGateway_state

func NewMetalGatewayStateFromValue ¶ added in v0.22.0

func NewMetalGatewayStateFromValue(v string) (*MetalGatewayState, error)

NewMetalGatewayStateFromValue returns a pointer to a valid MetalGatewayState for the value passed as argument, or an error if the value passed is not allowed by the enum

func (MetalGatewayState) IsValid ¶ added in v0.22.0

func (v MetalGatewayState) IsValid() bool

IsValid return true if the value is valid for the enum, false otherwise

func (MetalGatewayState) Ptr ¶ added in v0.22.0

Ptr returns reference to MetalGateway_state value

func (*MetalGatewayState) UnmarshalJSON ¶ added in v0.22.0

func (v *MetalGatewayState) UnmarshalJSON(src []byte) error

type MetalGatewaysApiService ¶

type MetalGatewaysApiService service

MetalGatewaysApiService MetalGatewaysApi service

func (*MetalGatewaysApiService) CreateMetalGateway ¶

func (a *MetalGatewaysApiService) CreateMetalGateway(ctx context.Context, projectId string) ApiCreateMetalGatewayRequest

CreateMetalGateway Create a metal gateway

Create a metal gateway in a project

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param projectId Project UUID
@return ApiCreateMetalGatewayRequest

func (*MetalGatewaysApiService) CreateMetalGatewayElasticIp ¶ added in v0.8.0

CreateMetalGatewayElasticIp Create a Metal Gateway Elastic IP

Create a new Elastic IP on this Metal Gateway.

Assign an IPv4 range as an elastic IP to the Metal Gateway, with a specified next-hop address contained within the Metal Gateway.

Notice: Elastic IPs on Metal Gateways are a test feature currently under active development, and only available to certain users. Please contact Customer Success for more information.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param id Metal Gateway UUID
@return ApiCreateMetalGatewayElasticIpRequest

func (*MetalGatewaysApiService) CreateMetalGatewayElasticIpExecute ¶ added in v0.8.0

func (a *MetalGatewaysApiService) CreateMetalGatewayElasticIpExecute(r ApiCreateMetalGatewayElasticIpRequest) (*IPAssignment, *http.Response, error)

Execute executes the request

@return IPAssignment

func (*MetalGatewaysApiService) CreateMetalGatewayExecute ¶

Execute executes the request

@return FindMetalGatewayById200Response

func (*MetalGatewaysApiService) DeleteMetalGateway ¶

DeleteMetalGateway Deletes the metal gateway

Deletes a metal gateway and any elastic IP assignments associated with this metal gateway.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param id Metal Gateway UUID
@return ApiDeleteMetalGatewayRequest

func (*MetalGatewaysApiService) DeleteMetalGatewayExecute ¶

Execute executes the request

@return FindMetalGatewayById200Response

func (*MetalGatewaysApiService) FindMetalGatewayById ¶

FindMetalGatewayById Returns the metal gateway

Returns a specific metal gateway

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param id Metal Gateway UUID
@return ApiFindMetalGatewayByIdRequest

func (*MetalGatewaysApiService) FindMetalGatewayByIdExecute ¶

Execute executes the request

@return FindMetalGatewayById200Response

func (*MetalGatewaysApiService) FindMetalGatewaysByProject ¶

func (a *MetalGatewaysApiService) FindMetalGatewaysByProject(ctx context.Context, projectId string) ApiFindMetalGatewaysByProjectRequest

FindMetalGatewaysByProject Returns all metal gateways for a project

Return all metal gateways for a project

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param projectId Project UUID
@return ApiFindMetalGatewaysByProjectRequest

func (*MetalGatewaysApiService) FindMetalGatewaysByProjectExecute ¶

Execute executes the request

@return MetalGatewayList

func (*MetalGatewaysApiService) GetMetalGatewayElasticIps ¶ added in v0.8.0

GetMetalGatewayElasticIps List Metal Gateway Elastic IPs

Returns the list of Elastic IPs assigned to this Metal Gateway

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param id Metal Gateway UUID
@return ApiGetMetalGatewayElasticIpsRequest

func (*MetalGatewaysApiService) GetMetalGatewayElasticIpsExecute ¶ added in v0.8.0

Execute executes the request

@return IPAssignmentList

type Metro ¶

type Metro struct {
	Code                 *string `json:"code,omitempty"`
	Country              *string `json:"country,omitempty"`
	Id                   *string `json:"id,omitempty"`
	Name                 *string `json:"name,omitempty"`
	AdditionalProperties map[string]interface{}
}

Metro struct for Metro

func NewMetro ¶

func NewMetro() *Metro

NewMetro instantiates a new Metro object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewMetroWithDefaults ¶

func NewMetroWithDefaults() *Metro

NewMetroWithDefaults instantiates a new Metro object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*Metro) GetCode ¶

func (o *Metro) GetCode() string

GetCode returns the Code field value if set, zero value otherwise.

func (*Metro) GetCodeOk ¶

func (o *Metro) GetCodeOk() (*string, bool)

GetCodeOk returns a tuple with the Code field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Metro) GetCountry ¶

func (o *Metro) GetCountry() string

GetCountry returns the Country field value if set, zero value otherwise.

func (*Metro) GetCountryOk ¶

func (o *Metro) GetCountryOk() (*string, bool)

GetCountryOk returns a tuple with the Country field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Metro) GetId ¶

func (o *Metro) GetId() string

GetId returns the Id field value if set, zero value otherwise.

func (*Metro) GetIdOk ¶

func (o *Metro) GetIdOk() (*string, bool)

GetIdOk returns a tuple with the Id field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Metro) GetName ¶

func (o *Metro) GetName() string

GetName returns the Name field value if set, zero value otherwise.

func (*Metro) GetNameOk ¶

func (o *Metro) GetNameOk() (*string, bool)

GetNameOk returns a tuple with the Name field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Metro) HasCode ¶

func (o *Metro) HasCode() bool

HasCode returns a boolean if a field has been set.

func (*Metro) HasCountry ¶

func (o *Metro) HasCountry() bool

HasCountry returns a boolean if a field has been set.

func (*Metro) HasId ¶

func (o *Metro) HasId() bool

HasId returns a boolean if a field has been set.

func (*Metro) HasName ¶

func (o *Metro) HasName() bool

HasName returns a boolean if a field has been set.

func (Metro) MarshalJSON ¶

func (o Metro) MarshalJSON() ([]byte, error)

func (*Metro) SetCode ¶

func (o *Metro) SetCode(v string)

SetCode gets a reference to the given string and assigns it to the Code field.

func (*Metro) SetCountry ¶

func (o *Metro) SetCountry(v string)

SetCountry gets a reference to the given string and assigns it to the Country field.

func (*Metro) SetId ¶

func (o *Metro) SetId(v string)

SetId gets a reference to the given string and assigns it to the Id field.

func (*Metro) SetName ¶

func (o *Metro) SetName(v string)

SetName gets a reference to the given string and assigns it to the Name field.

func (Metro) ToMap ¶ added in v0.4.0

func (o Metro) ToMap() (map[string]interface{}, error)

func (*Metro) UnmarshalJSON ¶ added in v0.7.0

func (o *Metro) UnmarshalJSON(bytes []byte) (err error)

type MetroInput ¶ added in v0.4.0

type MetroInput struct {
	// Metro code or ID of where the instance should be provisioned in. Either metro or facility must be provided.
	Metro                string `json:"metro"`
	AdditionalProperties map[string]interface{}
}

MetroInput struct for MetroInput

func NewMetroInput ¶ added in v0.4.0

func NewMetroInput(metro string) *MetroInput

NewMetroInput instantiates a new MetroInput object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewMetroInputWithDefaults ¶ added in v0.4.0

func NewMetroInputWithDefaults() *MetroInput

NewMetroInputWithDefaults instantiates a new MetroInput object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*MetroInput) GetMetro ¶ added in v0.4.0

func (o *MetroInput) GetMetro() string

GetMetro returns the Metro field value

func (*MetroInput) GetMetroOk ¶ added in v0.4.0

func (o *MetroInput) GetMetroOk() (*string, bool)

GetMetroOk returns a tuple with the Metro field value and a boolean to check if the value has been set.

func (MetroInput) MarshalJSON ¶ added in v0.4.0

func (o MetroInput) MarshalJSON() ([]byte, error)

func (*MetroInput) SetMetro ¶ added in v0.4.0

func (o *MetroInput) SetMetro(v string)

SetMetro sets field value

func (MetroInput) ToMap ¶ added in v0.4.0

func (o MetroInput) ToMap() (map[string]interface{}, error)

func (*MetroInput) UnmarshalJSON ¶ added in v0.7.0

func (o *MetroInput) UnmarshalJSON(bytes []byte) (err error)

type MetroList ¶

type MetroList struct {
	Metros               []Metro `json:"metros,omitempty"`
	AdditionalProperties map[string]interface{}
}

MetroList struct for MetroList

func NewMetroList ¶

func NewMetroList() *MetroList

NewMetroList instantiates a new MetroList object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewMetroListWithDefaults ¶

func NewMetroListWithDefaults() *MetroList

NewMetroListWithDefaults instantiates a new MetroList object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*MetroList) GetMetros ¶

func (o *MetroList) GetMetros() []Metro

GetMetros returns the Metros field value if set, zero value otherwise.

func (*MetroList) GetMetrosOk ¶

func (o *MetroList) GetMetrosOk() ([]Metro, bool)

GetMetrosOk returns a tuple with the Metros field value if set, nil otherwise and a boolean to check if the value has been set.

func (*MetroList) HasMetros ¶

func (o *MetroList) HasMetros() bool

HasMetros returns a boolean if a field has been set.

func (MetroList) MarshalJSON ¶

func (o MetroList) MarshalJSON() ([]byte, error)

func (*MetroList) SetMetros ¶

func (o *MetroList) SetMetros(v []Metro)

SetMetros gets a reference to the given []Metro and assigns it to the Metros field.

func (MetroList) ToMap ¶ added in v0.4.0

func (o MetroList) ToMap() (map[string]interface{}, error)

func (*MetroList) UnmarshalJSON ¶ added in v0.7.0

func (o *MetroList) UnmarshalJSON(bytes []byte) (err error)

type MetrosApiService ¶

type MetrosApiService service

MetrosApiService MetrosApi service

func (*MetrosApiService) FindMetros ¶

FindMetros Retrieve all metros

Provides a listing of available metros

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@return ApiFindMetrosRequest

func (*MetrosApiService) FindMetrosExecute ¶

func (a *MetrosApiService) FindMetrosExecute(r ApiFindMetrosRequest) (*MetroList, *http.Response, error)

Execute executes the request

@return MetroList

func (*MetrosApiService) GetMetro ¶

GetMetro Retrieve a specific Metro's details

Show the details for a metro, including name, code, and country.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param id Metro UUID
@return ApiGetMetroRequest

func (*MetrosApiService) GetMetroExecute ¶

func (a *MetrosApiService) GetMetroExecute(r ApiGetMetroRequest) (*Metro, *http.Response, error)

Execute executes the request

@return Metro

type Mount ¶ added in v0.6.0

type Mount struct {
	Device               *string  `json:"device,omitempty"`
	Format               *string  `json:"format,omitempty"`
	Point                *string  `json:"point,omitempty"`
	Options              []string `json:"options,omitempty"`
	AdditionalProperties map[string]interface{}
}

Mount struct for Mount

func NewMount ¶ added in v0.6.0

func NewMount() *Mount

NewMount instantiates a new Mount object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewMountWithDefaults ¶ added in v0.6.0

func NewMountWithDefaults() *Mount

NewMountWithDefaults instantiates a new Mount object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*Mount) GetDevice ¶ added in v0.6.0

func (o *Mount) GetDevice() string

GetDevice returns the Device field value if set, zero value otherwise.

func (*Mount) GetDeviceOk ¶ added in v0.6.0

func (o *Mount) GetDeviceOk() (*string, bool)

GetDeviceOk returns a tuple with the Device field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Mount) GetFormat ¶ added in v0.6.0

func (o *Mount) GetFormat() string

GetFormat returns the Format field value if set, zero value otherwise.

func (*Mount) GetFormatOk ¶ added in v0.6.0

func (o *Mount) GetFormatOk() (*string, bool)

GetFormatOk returns a tuple with the Format field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Mount) GetOptions ¶ added in v0.6.0

func (o *Mount) GetOptions() []string

GetOptions returns the Options field value if set, zero value otherwise.

func (*Mount) GetOptionsOk ¶ added in v0.6.0

func (o *Mount) GetOptionsOk() ([]string, bool)

GetOptionsOk returns a tuple with the Options field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Mount) GetPoint ¶ added in v0.6.0

func (o *Mount) GetPoint() string

GetPoint returns the Point field value if set, zero value otherwise.

func (*Mount) GetPointOk ¶ added in v0.6.0

func (o *Mount) GetPointOk() (*string, bool)

GetPointOk returns a tuple with the Point field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Mount) HasDevice ¶ added in v0.6.0

func (o *Mount) HasDevice() bool

HasDevice returns a boolean if a field has been set.

func (*Mount) HasFormat ¶ added in v0.6.0

func (o *Mount) HasFormat() bool

HasFormat returns a boolean if a field has been set.

func (*Mount) HasOptions ¶ added in v0.6.0

func (o *Mount) HasOptions() bool

HasOptions returns a boolean if a field has been set.

func (*Mount) HasPoint ¶ added in v0.6.0

func (o *Mount) HasPoint() bool

HasPoint returns a boolean if a field has been set.

func (Mount) MarshalJSON ¶ added in v0.6.0

func (o Mount) MarshalJSON() ([]byte, error)

func (*Mount) SetDevice ¶ added in v0.6.0

func (o *Mount) SetDevice(v string)

SetDevice gets a reference to the given string and assigns it to the Device field.

func (*Mount) SetFormat ¶ added in v0.6.0

func (o *Mount) SetFormat(v string)

SetFormat gets a reference to the given string and assigns it to the Format field.

func (*Mount) SetOptions ¶ added in v0.6.0

func (o *Mount) SetOptions(v []string)

SetOptions gets a reference to the given []string and assigns it to the Options field.

func (*Mount) SetPoint ¶ added in v0.6.0

func (o *Mount) SetPoint(v string)

SetPoint gets a reference to the given string and assigns it to the Point field.

func (Mount) ToMap ¶ added in v0.6.0

func (o Mount) ToMap() (map[string]interface{}, error)

func (*Mount) UnmarshalJSON ¶ added in v0.7.0

func (o *Mount) UnmarshalJSON(bytes []byte) (err error)

type MoveHardwareReservationRequest ¶ added in v0.5.0

type MoveHardwareReservationRequest struct {
	ProjectId            *string `json:"project_id,omitempty"`
	AdditionalProperties map[string]interface{}
}

MoveHardwareReservationRequest struct for MoveHardwareReservationRequest

func NewMoveHardwareReservationRequest ¶ added in v0.5.0

func NewMoveHardwareReservationRequest() *MoveHardwareReservationRequest

NewMoveHardwareReservationRequest instantiates a new MoveHardwareReservationRequest object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewMoveHardwareReservationRequestWithDefaults ¶ added in v0.5.0

func NewMoveHardwareReservationRequestWithDefaults() *MoveHardwareReservationRequest

NewMoveHardwareReservationRequestWithDefaults instantiates a new MoveHardwareReservationRequest object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*MoveHardwareReservationRequest) GetProjectId ¶ added in v0.5.0

func (o *MoveHardwareReservationRequest) GetProjectId() string

GetProjectId returns the ProjectId field value if set, zero value otherwise.

func (*MoveHardwareReservationRequest) GetProjectIdOk ¶ added in v0.5.0

func (o *MoveHardwareReservationRequest) GetProjectIdOk() (*string, bool)

GetProjectIdOk returns a tuple with the ProjectId field value if set, nil otherwise and a boolean to check if the value has been set.

func (*MoveHardwareReservationRequest) HasProjectId ¶ added in v0.5.0

func (o *MoveHardwareReservationRequest) HasProjectId() bool

HasProjectId returns a boolean if a field has been set.

func (MoveHardwareReservationRequest) MarshalJSON ¶ added in v0.5.0

func (o MoveHardwareReservationRequest) MarshalJSON() ([]byte, error)

func (*MoveHardwareReservationRequest) SetProjectId ¶ added in v0.5.0

func (o *MoveHardwareReservationRequest) SetProjectId(v string)

SetProjectId gets a reference to the given string and assigns it to the ProjectId field.

func (MoveHardwareReservationRequest) ToMap ¶ added in v0.5.0

func (o MoveHardwareReservationRequest) ToMap() (map[string]interface{}, error)

func (*MoveHardwareReservationRequest) UnmarshalJSON ¶ added in v0.7.0

func (o *MoveHardwareReservationRequest) UnmarshalJSON(bytes []byte) (err error)

type NewPassword ¶

type NewPassword struct {
	NewPassword          *string `json:"new_password,omitempty"`
	AdditionalProperties map[string]interface{}
}

NewPassword struct for NewPassword

func NewNewPassword ¶

func NewNewPassword() *NewPassword

NewNewPassword instantiates a new NewPassword object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewNewPasswordWithDefaults ¶

func NewNewPasswordWithDefaults() *NewPassword

NewNewPasswordWithDefaults instantiates a new NewPassword object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*NewPassword) GetNewPassword ¶

func (o *NewPassword) GetNewPassword() string

GetNewPassword returns the NewPassword field value if set, zero value otherwise.

func (*NewPassword) GetNewPasswordOk ¶

func (o *NewPassword) GetNewPasswordOk() (*string, bool)

GetNewPasswordOk returns a tuple with the NewPassword field value if set, nil otherwise and a boolean to check if the value has been set.

func (*NewPassword) HasNewPassword ¶

func (o *NewPassword) HasNewPassword() bool

HasNewPassword returns a boolean if a field has been set.

func (NewPassword) MarshalJSON ¶

func (o NewPassword) MarshalJSON() ([]byte, error)

func (*NewPassword) SetNewPassword ¶

func (o *NewPassword) SetNewPassword(v string)

SetNewPassword gets a reference to the given string and assigns it to the NewPassword field.

func (NewPassword) ToMap ¶ added in v0.4.0

func (o NewPassword) ToMap() (map[string]interface{}, error)

func (*NewPassword) UnmarshalJSON ¶ added in v0.7.0

func (o *NewPassword) UnmarshalJSON(bytes []byte) (err error)

type NullableActivateHardwareReservationRequest ¶ added in v0.5.0

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

func NewNullableActivateHardwareReservationRequest ¶ added in v0.5.0

func NewNullableActivateHardwareReservationRequest(val *ActivateHardwareReservationRequest) *NullableActivateHardwareReservationRequest

func (NullableActivateHardwareReservationRequest) Get ¶ added in v0.5.0

func (NullableActivateHardwareReservationRequest) IsSet ¶ added in v0.5.0

func (NullableActivateHardwareReservationRequest) MarshalJSON ¶ added in v0.5.0

func (*NullableActivateHardwareReservationRequest) Set ¶ added in v0.5.0

func (*NullableActivateHardwareReservationRequest) UnmarshalJSON ¶ added in v0.5.0

func (v *NullableActivateHardwareReservationRequest) UnmarshalJSON(src []byte) error

func (*NullableActivateHardwareReservationRequest) Unset ¶ added in v0.5.0

type NullableAddress ¶

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

func NewNullableAddress ¶

func NewNullableAddress(val *Address) *NullableAddress

func (NullableAddress) Get ¶

func (v NullableAddress) Get() *Address

func (NullableAddress) IsSet ¶

func (v NullableAddress) IsSet() bool

func (NullableAddress) MarshalJSON ¶

func (v NullableAddress) MarshalJSON() ([]byte, error)

func (*NullableAddress) Set ¶

func (v *NullableAddress) Set(val *Address)

func (*NullableAddress) UnmarshalJSON ¶

func (v *NullableAddress) UnmarshalJSON(src []byte) error

func (*NullableAddress) Unset ¶

func (v *NullableAddress) Unset()

type NullableAttribute ¶ added in v0.21.0

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

func NewNullableAttribute ¶ added in v0.21.0

func NewNullableAttribute(val *Attribute) *NullableAttribute

func (NullableAttribute) Get ¶ added in v0.21.0

func (v NullableAttribute) Get() *Attribute

func (NullableAttribute) IsSet ¶ added in v0.21.0

func (v NullableAttribute) IsSet() bool

func (NullableAttribute) MarshalJSON ¶ added in v0.21.0

func (v NullableAttribute) MarshalJSON() ([]byte, error)

func (*NullableAttribute) Set ¶ added in v0.21.0

func (v *NullableAttribute) Set(val *Attribute)

func (*NullableAttribute) UnmarshalJSON ¶ added in v0.21.0

func (v *NullableAttribute) UnmarshalJSON(src []byte) error

func (*NullableAttribute) Unset ¶ added in v0.21.0

func (v *NullableAttribute) Unset()

type NullableAttributeData ¶ added in v0.21.0

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

func NewNullableAttributeData ¶ added in v0.21.0

func NewNullableAttributeData(val *AttributeData) *NullableAttributeData

func (NullableAttributeData) Get ¶ added in v0.21.0

func (NullableAttributeData) IsSet ¶ added in v0.21.0

func (v NullableAttributeData) IsSet() bool

func (NullableAttributeData) MarshalJSON ¶ added in v0.21.0

func (v NullableAttributeData) MarshalJSON() ([]byte, error)

func (*NullableAttributeData) Set ¶ added in v0.21.0

func (v *NullableAttributeData) Set(val *AttributeData)

func (*NullableAttributeData) UnmarshalJSON ¶ added in v0.21.0

func (v *NullableAttributeData) UnmarshalJSON(src []byte) error

func (*NullableAttributeData) Unset ¶ added in v0.21.0

func (v *NullableAttributeData) Unset()

type NullableAuthToken ¶

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

func NewNullableAuthToken ¶

func NewNullableAuthToken(val *AuthToken) *NullableAuthToken

func (NullableAuthToken) Get ¶

func (v NullableAuthToken) Get() *AuthToken

func (NullableAuthToken) IsSet ¶

func (v NullableAuthToken) IsSet() bool

func (NullableAuthToken) MarshalJSON ¶

func (v NullableAuthToken) MarshalJSON() ([]byte, error)

func (*NullableAuthToken) Set ¶

func (v *NullableAuthToken) Set(val *AuthToken)

func (*NullableAuthToken) UnmarshalJSON ¶

func (v *NullableAuthToken) UnmarshalJSON(src []byte) error

func (*NullableAuthToken) Unset ¶

func (v *NullableAuthToken) Unset()

type NullableAuthTokenInput ¶

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

func NewNullableAuthTokenInput ¶

func NewNullableAuthTokenInput(val *AuthTokenInput) *NullableAuthTokenInput

func (NullableAuthTokenInput) Get ¶

func (NullableAuthTokenInput) IsSet ¶

func (v NullableAuthTokenInput) IsSet() bool

func (NullableAuthTokenInput) MarshalJSON ¶

func (v NullableAuthTokenInput) MarshalJSON() ([]byte, error)

func (*NullableAuthTokenInput) Set ¶

func (*NullableAuthTokenInput) UnmarshalJSON ¶

func (v *NullableAuthTokenInput) UnmarshalJSON(src []byte) error

func (*NullableAuthTokenInput) Unset ¶

func (v *NullableAuthTokenInput) Unset()

type NullableAuthTokenList ¶

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

func NewNullableAuthTokenList ¶

func NewNullableAuthTokenList(val *AuthTokenList) *NullableAuthTokenList

func (NullableAuthTokenList) Get ¶

func (NullableAuthTokenList) IsSet ¶

func (v NullableAuthTokenList) IsSet() bool

func (NullableAuthTokenList) MarshalJSON ¶

func (v NullableAuthTokenList) MarshalJSON() ([]byte, error)

func (*NullableAuthTokenList) Set ¶

func (v *NullableAuthTokenList) Set(val *AuthTokenList)

func (*NullableAuthTokenList) UnmarshalJSON ¶

func (v *NullableAuthTokenList) UnmarshalJSON(src []byte) error

func (*NullableAuthTokenList) Unset ¶

func (v *NullableAuthTokenList) Unset()

type NullableAuthTokenProject ¶ added in v0.4.0

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

func NewNullableAuthTokenProject ¶ added in v0.4.0

func NewNullableAuthTokenProject(val *AuthTokenProject) *NullableAuthTokenProject

func (NullableAuthTokenProject) Get ¶ added in v0.4.0

func (NullableAuthTokenProject) IsSet ¶ added in v0.4.0

func (v NullableAuthTokenProject) IsSet() bool

func (NullableAuthTokenProject) MarshalJSON ¶ added in v0.4.0

func (v NullableAuthTokenProject) MarshalJSON() ([]byte, error)

func (*NullableAuthTokenProject) Set ¶ added in v0.4.0

func (*NullableAuthTokenProject) UnmarshalJSON ¶ added in v0.4.0

func (v *NullableAuthTokenProject) UnmarshalJSON(src []byte) error

func (*NullableAuthTokenProject) Unset ¶ added in v0.4.0

func (v *NullableAuthTokenProject) Unset()

type NullableAuthTokenUser ¶ added in v0.4.0

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

func NewNullableAuthTokenUser ¶ added in v0.4.0

func NewNullableAuthTokenUser(val *AuthTokenUser) *NullableAuthTokenUser

func (NullableAuthTokenUser) Get ¶ added in v0.4.0

func (NullableAuthTokenUser) IsSet ¶ added in v0.4.0

func (v NullableAuthTokenUser) IsSet() bool

func (NullableAuthTokenUser) MarshalJSON ¶ added in v0.4.0

func (v NullableAuthTokenUser) MarshalJSON() ([]byte, error)

func (*NullableAuthTokenUser) Set ¶ added in v0.4.0

func (v *NullableAuthTokenUser) Set(val *AuthTokenUser)

func (*NullableAuthTokenUser) UnmarshalJSON ¶ added in v0.4.0

func (v *NullableAuthTokenUser) UnmarshalJSON(src []byte) error

func (*NullableAuthTokenUser) Unset ¶ added in v0.4.0

func (v *NullableAuthTokenUser) Unset()

type NullableBGPSessionInput ¶

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

func NewNullableBGPSessionInput ¶

func NewNullableBGPSessionInput(val *BGPSessionInput) *NullableBGPSessionInput

func (NullableBGPSessionInput) Get ¶

func (NullableBGPSessionInput) IsSet ¶

func (v NullableBGPSessionInput) IsSet() bool

func (NullableBGPSessionInput) MarshalJSON ¶

func (v NullableBGPSessionInput) MarshalJSON() ([]byte, error)

func (*NullableBGPSessionInput) Set ¶

func (*NullableBGPSessionInput) UnmarshalJSON ¶

func (v *NullableBGPSessionInput) UnmarshalJSON(src []byte) error

func (*NullableBGPSessionInput) Unset ¶

func (v *NullableBGPSessionInput) Unset()

type NullableBGPSessionInputAddressFamily ¶ added in v0.22.0

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

func NewNullableBGPSessionInputAddressFamily ¶ added in v0.22.0

func NewNullableBGPSessionInputAddressFamily(val *BGPSessionInputAddressFamily) *NullableBGPSessionInputAddressFamily

func (NullableBGPSessionInputAddressFamily) Get ¶ added in v0.22.0

func (NullableBGPSessionInputAddressFamily) IsSet ¶ added in v0.22.0

func (NullableBGPSessionInputAddressFamily) MarshalJSON ¶ added in v0.22.0

func (v NullableBGPSessionInputAddressFamily) MarshalJSON() ([]byte, error)

func (*NullableBGPSessionInputAddressFamily) Set ¶ added in v0.22.0

func (*NullableBGPSessionInputAddressFamily) UnmarshalJSON ¶ added in v0.22.0

func (v *NullableBGPSessionInputAddressFamily) UnmarshalJSON(src []byte) error

func (*NullableBGPSessionInputAddressFamily) Unset ¶ added in v0.22.0

type NullableBatch ¶

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

func NewNullableBatch ¶

func NewNullableBatch(val *Batch) *NullableBatch

func (NullableBatch) Get ¶

func (v NullableBatch) Get() *Batch

func (NullableBatch) IsSet ¶

func (v NullableBatch) IsSet() bool

func (NullableBatch) MarshalJSON ¶

func (v NullableBatch) MarshalJSON() ([]byte, error)

func (*NullableBatch) Set ¶

func (v *NullableBatch) Set(val *Batch)

func (*NullableBatch) UnmarshalJSON ¶

func (v *NullableBatch) UnmarshalJSON(src []byte) error

func (*NullableBatch) Unset ¶

func (v *NullableBatch) Unset()

type NullableBatchesList ¶

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

func NewNullableBatchesList ¶

func NewNullableBatchesList(val *BatchesList) *NullableBatchesList

func (NullableBatchesList) Get ¶

func (NullableBatchesList) IsSet ¶

func (v NullableBatchesList) IsSet() bool

func (NullableBatchesList) MarshalJSON ¶

func (v NullableBatchesList) MarshalJSON() ([]byte, error)

func (*NullableBatchesList) Set ¶

func (v *NullableBatchesList) Set(val *BatchesList)

func (*NullableBatchesList) UnmarshalJSON ¶

func (v *NullableBatchesList) UnmarshalJSON(src []byte) error

func (*NullableBatchesList) Unset ¶

func (v *NullableBatchesList) Unset()

type NullableBgpConfig ¶

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

func NewNullableBgpConfig ¶

func NewNullableBgpConfig(val *BgpConfig) *NullableBgpConfig

func (NullableBgpConfig) Get ¶

func (v NullableBgpConfig) Get() *BgpConfig

func (NullableBgpConfig) IsSet ¶

func (v NullableBgpConfig) IsSet() bool

func (NullableBgpConfig) MarshalJSON ¶

func (v NullableBgpConfig) MarshalJSON() ([]byte, error)

func (*NullableBgpConfig) Set ¶

func (v *NullableBgpConfig) Set(val *BgpConfig)

func (*NullableBgpConfig) UnmarshalJSON ¶

func (v *NullableBgpConfig) UnmarshalJSON(src []byte) error

func (*NullableBgpConfig) Unset ¶

func (v *NullableBgpConfig) Unset()

type NullableBgpConfigDeploymentType ¶ added in v0.22.0

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

func NewNullableBgpConfigDeploymentType ¶ added in v0.22.0

func NewNullableBgpConfigDeploymentType(val *BgpConfigDeploymentType) *NullableBgpConfigDeploymentType

func (NullableBgpConfigDeploymentType) Get ¶ added in v0.22.0

func (NullableBgpConfigDeploymentType) IsSet ¶ added in v0.22.0

func (NullableBgpConfigDeploymentType) MarshalJSON ¶ added in v0.22.0

func (v NullableBgpConfigDeploymentType) MarshalJSON() ([]byte, error)

func (*NullableBgpConfigDeploymentType) Set ¶ added in v0.22.0

func (*NullableBgpConfigDeploymentType) UnmarshalJSON ¶ added in v0.22.0

func (v *NullableBgpConfigDeploymentType) UnmarshalJSON(src []byte) error

func (*NullableBgpConfigDeploymentType) Unset ¶ added in v0.22.0

type NullableBgpConfigRequestInput ¶

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

func (NullableBgpConfigRequestInput) Get ¶

func (NullableBgpConfigRequestInput) IsSet ¶

func (NullableBgpConfigRequestInput) MarshalJSON ¶

func (v NullableBgpConfigRequestInput) MarshalJSON() ([]byte, error)

func (*NullableBgpConfigRequestInput) Set ¶

func (*NullableBgpConfigRequestInput) UnmarshalJSON ¶

func (v *NullableBgpConfigRequestInput) UnmarshalJSON(src []byte) error

func (*NullableBgpConfigRequestInput) Unset ¶

func (v *NullableBgpConfigRequestInput) Unset()

type NullableBgpConfigRequestInputDeploymentType ¶ added in v0.22.0

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

func NewNullableBgpConfigRequestInputDeploymentType ¶ added in v0.22.0

func NewNullableBgpConfigRequestInputDeploymentType(val *BgpConfigRequestInputDeploymentType) *NullableBgpConfigRequestInputDeploymentType

func (NullableBgpConfigRequestInputDeploymentType) Get ¶ added in v0.22.0

func (NullableBgpConfigRequestInputDeploymentType) IsSet ¶ added in v0.22.0

func (NullableBgpConfigRequestInputDeploymentType) MarshalJSON ¶ added in v0.22.0

func (*NullableBgpConfigRequestInputDeploymentType) Set ¶ added in v0.22.0

func (*NullableBgpConfigRequestInputDeploymentType) UnmarshalJSON ¶ added in v0.22.0

func (v *NullableBgpConfigRequestInputDeploymentType) UnmarshalJSON(src []byte) error

func (*NullableBgpConfigRequestInputDeploymentType) Unset ¶ added in v0.22.0

type NullableBgpConfigStatus ¶ added in v0.22.0

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

func NewNullableBgpConfigStatus ¶ added in v0.22.0

func NewNullableBgpConfigStatus(val *BgpConfigStatus) *NullableBgpConfigStatus

func (NullableBgpConfigStatus) Get ¶ added in v0.22.0

func (NullableBgpConfigStatus) IsSet ¶ added in v0.22.0

func (v NullableBgpConfigStatus) IsSet() bool

func (NullableBgpConfigStatus) MarshalJSON ¶ added in v0.22.0

func (v NullableBgpConfigStatus) MarshalJSON() ([]byte, error)

func (*NullableBgpConfigStatus) Set ¶ added in v0.22.0

func (*NullableBgpConfigStatus) UnmarshalJSON ¶ added in v0.22.0

func (v *NullableBgpConfigStatus) UnmarshalJSON(src []byte) error

func (*NullableBgpConfigStatus) Unset ¶ added in v0.22.0

func (v *NullableBgpConfigStatus) Unset()

type NullableBgpDynamicNeighbor ¶ added in v0.7.0

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

func NewNullableBgpDynamicNeighbor ¶ added in v0.7.0

func NewNullableBgpDynamicNeighbor(val *BgpDynamicNeighbor) *NullableBgpDynamicNeighbor

func (NullableBgpDynamicNeighbor) Get ¶ added in v0.7.0

func (NullableBgpDynamicNeighbor) IsSet ¶ added in v0.7.0

func (v NullableBgpDynamicNeighbor) IsSet() bool

func (NullableBgpDynamicNeighbor) MarshalJSON ¶ added in v0.7.0

func (v NullableBgpDynamicNeighbor) MarshalJSON() ([]byte, error)

func (*NullableBgpDynamicNeighbor) Set ¶ added in v0.7.0

func (*NullableBgpDynamicNeighbor) UnmarshalJSON ¶ added in v0.7.0

func (v *NullableBgpDynamicNeighbor) UnmarshalJSON(src []byte) error

func (*NullableBgpDynamicNeighbor) Unset ¶ added in v0.7.0

func (v *NullableBgpDynamicNeighbor) Unset()

type NullableBgpDynamicNeighborCreateInput ¶ added in v0.7.0

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

func NewNullableBgpDynamicNeighborCreateInput ¶ added in v0.7.0

func NewNullableBgpDynamicNeighborCreateInput(val *BgpDynamicNeighborCreateInput) *NullableBgpDynamicNeighborCreateInput

func (NullableBgpDynamicNeighborCreateInput) Get ¶ added in v0.7.0

func (NullableBgpDynamicNeighborCreateInput) IsSet ¶ added in v0.7.0

func (NullableBgpDynamicNeighborCreateInput) MarshalJSON ¶ added in v0.7.0

func (v NullableBgpDynamicNeighborCreateInput) MarshalJSON() ([]byte, error)

func (*NullableBgpDynamicNeighborCreateInput) Set ¶ added in v0.7.0

func (*NullableBgpDynamicNeighborCreateInput) UnmarshalJSON ¶ added in v0.7.0

func (v *NullableBgpDynamicNeighborCreateInput) UnmarshalJSON(src []byte) error

func (*NullableBgpDynamicNeighborCreateInput) Unset ¶ added in v0.7.0

type NullableBgpDynamicNeighborList ¶ added in v0.7.0

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

func NewNullableBgpDynamicNeighborList ¶ added in v0.7.0

func NewNullableBgpDynamicNeighborList(val *BgpDynamicNeighborList) *NullableBgpDynamicNeighborList

func (NullableBgpDynamicNeighborList) Get ¶ added in v0.7.0

func (NullableBgpDynamicNeighborList) IsSet ¶ added in v0.7.0

func (NullableBgpDynamicNeighborList) MarshalJSON ¶ added in v0.7.0

func (v NullableBgpDynamicNeighborList) MarshalJSON() ([]byte, error)

func (*NullableBgpDynamicNeighborList) Set ¶ added in v0.7.0

func (*NullableBgpDynamicNeighborList) UnmarshalJSON ¶ added in v0.7.0

func (v *NullableBgpDynamicNeighborList) UnmarshalJSON(src []byte) error

func (*NullableBgpDynamicNeighborList) Unset ¶ added in v0.7.0

func (v *NullableBgpDynamicNeighborList) Unset()

type NullableBgpDynamicNeighborState ¶ added in v0.22.0

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

func NewNullableBgpDynamicNeighborState ¶ added in v0.22.0

func NewNullableBgpDynamicNeighborState(val *BgpDynamicNeighborState) *NullableBgpDynamicNeighborState

func (NullableBgpDynamicNeighborState) Get ¶ added in v0.22.0

func (NullableBgpDynamicNeighborState) IsSet ¶ added in v0.22.0

func (NullableBgpDynamicNeighborState) MarshalJSON ¶ added in v0.22.0

func (v NullableBgpDynamicNeighborState) MarshalJSON() ([]byte, error)

func (*NullableBgpDynamicNeighborState) Set ¶ added in v0.22.0

func (*NullableBgpDynamicNeighborState) UnmarshalJSON ¶ added in v0.22.0

func (v *NullableBgpDynamicNeighborState) UnmarshalJSON(src []byte) error

func (*NullableBgpDynamicNeighborState) Unset ¶ added in v0.22.0

type NullableBgpNeighborData ¶

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

func NewNullableBgpNeighborData ¶

func NewNullableBgpNeighborData(val *BgpNeighborData) *NullableBgpNeighborData

func (NullableBgpNeighborData) Get ¶

func (NullableBgpNeighborData) IsSet ¶

func (v NullableBgpNeighborData) IsSet() bool

func (NullableBgpNeighborData) MarshalJSON ¶

func (v NullableBgpNeighborData) MarshalJSON() ([]byte, error)

func (*NullableBgpNeighborData) Set ¶

func (*NullableBgpNeighborData) UnmarshalJSON ¶

func (v *NullableBgpNeighborData) UnmarshalJSON(src []byte) error

func (*NullableBgpNeighborData) Unset ¶

func (v *NullableBgpNeighborData) Unset()

type NullableBgpRoute ¶ added in v0.5.0

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

func NewNullableBgpRoute ¶ added in v0.5.0

func NewNullableBgpRoute(val *BgpRoute) *NullableBgpRoute

func (NullableBgpRoute) Get ¶ added in v0.5.0

func (v NullableBgpRoute) Get() *BgpRoute

func (NullableBgpRoute) IsSet ¶ added in v0.5.0

func (v NullableBgpRoute) IsSet() bool

func (NullableBgpRoute) MarshalJSON ¶ added in v0.5.0

func (v NullableBgpRoute) MarshalJSON() ([]byte, error)

func (*NullableBgpRoute) Set ¶ added in v0.5.0

func (v *NullableBgpRoute) Set(val *BgpRoute)

func (*NullableBgpRoute) UnmarshalJSON ¶ added in v0.5.0

func (v *NullableBgpRoute) UnmarshalJSON(src []byte) error

func (*NullableBgpRoute) Unset ¶ added in v0.5.0

func (v *NullableBgpRoute) Unset()

type NullableBgpSession ¶

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

func NewNullableBgpSession ¶

func NewNullableBgpSession(val *BgpSession) *NullableBgpSession

func (NullableBgpSession) Get ¶

func (v NullableBgpSession) Get() *BgpSession

func (NullableBgpSession) IsSet ¶

func (v NullableBgpSession) IsSet() bool

func (NullableBgpSession) MarshalJSON ¶

func (v NullableBgpSession) MarshalJSON() ([]byte, error)

func (*NullableBgpSession) Set ¶

func (v *NullableBgpSession) Set(val *BgpSession)

func (*NullableBgpSession) UnmarshalJSON ¶

func (v *NullableBgpSession) UnmarshalJSON(src []byte) error

func (*NullableBgpSession) Unset ¶

func (v *NullableBgpSession) Unset()

type NullableBgpSessionAddressFamily ¶ added in v0.22.0

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

func NewNullableBgpSessionAddressFamily ¶ added in v0.22.0

func NewNullableBgpSessionAddressFamily(val *BgpSessionAddressFamily) *NullableBgpSessionAddressFamily

func (NullableBgpSessionAddressFamily) Get ¶ added in v0.22.0

func (NullableBgpSessionAddressFamily) IsSet ¶ added in v0.22.0

func (NullableBgpSessionAddressFamily) MarshalJSON ¶ added in v0.22.0

func (v NullableBgpSessionAddressFamily) MarshalJSON() ([]byte, error)

func (*NullableBgpSessionAddressFamily) Set ¶ added in v0.22.0

func (*NullableBgpSessionAddressFamily) UnmarshalJSON ¶ added in v0.22.0

func (v *NullableBgpSessionAddressFamily) UnmarshalJSON(src []byte) error

func (*NullableBgpSessionAddressFamily) Unset ¶ added in v0.22.0

type NullableBgpSessionList ¶

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

func NewNullableBgpSessionList ¶

func NewNullableBgpSessionList(val *BgpSessionList) *NullableBgpSessionList

func (NullableBgpSessionList) Get ¶

func (NullableBgpSessionList) IsSet ¶

func (v NullableBgpSessionList) IsSet() bool

func (NullableBgpSessionList) MarshalJSON ¶

func (v NullableBgpSessionList) MarshalJSON() ([]byte, error)

func (*NullableBgpSessionList) Set ¶

func (*NullableBgpSessionList) UnmarshalJSON ¶

func (v *NullableBgpSessionList) UnmarshalJSON(src []byte) error

func (*NullableBgpSessionList) Unset ¶

func (v *NullableBgpSessionList) Unset()

type NullableBgpSessionNeighbors ¶

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

func (NullableBgpSessionNeighbors) Get ¶

func (NullableBgpSessionNeighbors) IsSet ¶

func (NullableBgpSessionNeighbors) MarshalJSON ¶

func (v NullableBgpSessionNeighbors) MarshalJSON() ([]byte, error)

func (*NullableBgpSessionNeighbors) Set ¶

func (*NullableBgpSessionNeighbors) UnmarshalJSON ¶

func (v *NullableBgpSessionNeighbors) UnmarshalJSON(src []byte) error

func (*NullableBgpSessionNeighbors) Unset ¶

func (v *NullableBgpSessionNeighbors) Unset()

type NullableBondPortData ¶ added in v0.4.0

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

func NewNullableBondPortData ¶ added in v0.4.0

func NewNullableBondPortData(val *BondPortData) *NullableBondPortData

func (NullableBondPortData) Get ¶ added in v0.4.0

func (NullableBondPortData) IsSet ¶ added in v0.4.0

func (v NullableBondPortData) IsSet() bool

func (NullableBondPortData) MarshalJSON ¶ added in v0.4.0

func (v NullableBondPortData) MarshalJSON() ([]byte, error)

func (*NullableBondPortData) Set ¶ added in v0.4.0

func (v *NullableBondPortData) Set(val *BondPortData)

func (*NullableBondPortData) UnmarshalJSON ¶ added in v0.4.0

func (v *NullableBondPortData) UnmarshalJSON(src []byte) error

func (*NullableBondPortData) Unset ¶ added in v0.4.0

func (v *NullableBondPortData) Unset()

type NullableBool ¶

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

func NewNullableBool ¶

func NewNullableBool(val *bool) *NullableBool

func (NullableBool) Get ¶

func (v NullableBool) Get() *bool

func (NullableBool) IsSet ¶

func (v NullableBool) IsSet() bool

func (NullableBool) MarshalJSON ¶

func (v NullableBool) MarshalJSON() ([]byte, error)

func (*NullableBool) Set ¶

func (v *NullableBool) Set(val *bool)

func (*NullableBool) UnmarshalJSON ¶

func (v *NullableBool) UnmarshalJSON(src []byte) error

func (*NullableBool) Unset ¶

func (v *NullableBool) Unset()

type NullableCapacityCheckPerFacilityInfo ¶

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

func (NullableCapacityCheckPerFacilityInfo) Get ¶

func (NullableCapacityCheckPerFacilityInfo) IsSet ¶

func (NullableCapacityCheckPerFacilityInfo) MarshalJSON ¶

func (v NullableCapacityCheckPerFacilityInfo) MarshalJSON() ([]byte, error)

func (*NullableCapacityCheckPerFacilityInfo) Set ¶

func (*NullableCapacityCheckPerFacilityInfo) UnmarshalJSON ¶

func (v *NullableCapacityCheckPerFacilityInfo) UnmarshalJSON(src []byte) error

func (*NullableCapacityCheckPerFacilityInfo) Unset ¶

type NullableCapacityCheckPerFacilityList ¶

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

func (NullableCapacityCheckPerFacilityList) Get ¶

func (NullableCapacityCheckPerFacilityList) IsSet ¶

func (NullableCapacityCheckPerFacilityList) MarshalJSON ¶

func (v NullableCapacityCheckPerFacilityList) MarshalJSON() ([]byte, error)

func (*NullableCapacityCheckPerFacilityList) Set ¶

func (*NullableCapacityCheckPerFacilityList) UnmarshalJSON ¶

func (v *NullableCapacityCheckPerFacilityList) UnmarshalJSON(src []byte) error

func (*NullableCapacityCheckPerFacilityList) Unset ¶

type NullableCapacityCheckPerMetroInfo ¶

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

func (NullableCapacityCheckPerMetroInfo) Get ¶

func (NullableCapacityCheckPerMetroInfo) IsSet ¶

func (NullableCapacityCheckPerMetroInfo) MarshalJSON ¶

func (v NullableCapacityCheckPerMetroInfo) MarshalJSON() ([]byte, error)

func (*NullableCapacityCheckPerMetroInfo) Set ¶

func (*NullableCapacityCheckPerMetroInfo) UnmarshalJSON ¶

func (v *NullableCapacityCheckPerMetroInfo) UnmarshalJSON(src []byte) error

func (*NullableCapacityCheckPerMetroInfo) Unset ¶

type NullableCapacityCheckPerMetroList ¶

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

func (NullableCapacityCheckPerMetroList) Get ¶

func (NullableCapacityCheckPerMetroList) IsSet ¶

func (NullableCapacityCheckPerMetroList) MarshalJSON ¶

func (v NullableCapacityCheckPerMetroList) MarshalJSON() ([]byte, error)

func (*NullableCapacityCheckPerMetroList) Set ¶

func (*NullableCapacityCheckPerMetroList) UnmarshalJSON ¶

func (v *NullableCapacityCheckPerMetroList) UnmarshalJSON(src []byte) error

func (*NullableCapacityCheckPerMetroList) Unset ¶

type NullableCapacityInput ¶

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

func NewNullableCapacityInput ¶

func NewNullableCapacityInput(val *CapacityInput) *NullableCapacityInput

func (NullableCapacityInput) Get ¶

func (NullableCapacityInput) IsSet ¶

func (v NullableCapacityInput) IsSet() bool

func (NullableCapacityInput) MarshalJSON ¶

func (v NullableCapacityInput) MarshalJSON() ([]byte, error)

func (*NullableCapacityInput) Set ¶

func (v *NullableCapacityInput) Set(val *CapacityInput)

func (*NullableCapacityInput) UnmarshalJSON ¶

func (v *NullableCapacityInput) UnmarshalJSON(src []byte) error

func (*NullableCapacityInput) Unset ¶

func (v *NullableCapacityInput) Unset()

type NullableCapacityLevelPerBaremetal ¶

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

func (NullableCapacityLevelPerBaremetal) Get ¶

func (NullableCapacityLevelPerBaremetal) IsSet ¶

func (NullableCapacityLevelPerBaremetal) MarshalJSON ¶

func (v NullableCapacityLevelPerBaremetal) MarshalJSON() ([]byte, error)

func (*NullableCapacityLevelPerBaremetal) Set ¶

func (*NullableCapacityLevelPerBaremetal) UnmarshalJSON ¶

func (v *NullableCapacityLevelPerBaremetal) UnmarshalJSON(src []byte) error

func (*NullableCapacityLevelPerBaremetal) Unset ¶

type NullableCapacityList ¶

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

func NewNullableCapacityList ¶

func NewNullableCapacityList(val *CapacityList) *NullableCapacityList

func (NullableCapacityList) Get ¶

func (NullableCapacityList) IsSet ¶

func (v NullableCapacityList) IsSet() bool

func (NullableCapacityList) MarshalJSON ¶

func (v NullableCapacityList) MarshalJSON() ([]byte, error)

func (*NullableCapacityList) Set ¶

func (v *NullableCapacityList) Set(val *CapacityList)

func (*NullableCapacityList) UnmarshalJSON ¶

func (v *NullableCapacityList) UnmarshalJSON(src []byte) error

func (*NullableCapacityList) Unset ¶

func (v *NullableCapacityList) Unset()

type NullableComponent ¶ added in v0.21.0

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

func NewNullableComponent ¶ added in v0.21.0

func NewNullableComponent(val *Component) *NullableComponent

func (NullableComponent) Get ¶ added in v0.21.0

func (v NullableComponent) Get() *Component

func (NullableComponent) IsSet ¶ added in v0.21.0

func (v NullableComponent) IsSet() bool

func (NullableComponent) MarshalJSON ¶ added in v0.21.0

func (v NullableComponent) MarshalJSON() ([]byte, error)

func (*NullableComponent) Set ¶ added in v0.21.0

func (v *NullableComponent) Set(val *Component)

func (*NullableComponent) UnmarshalJSON ¶ added in v0.21.0

func (v *NullableComponent) UnmarshalJSON(src []byte) error

func (*NullableComponent) Unset ¶ added in v0.21.0

func (v *NullableComponent) Unset()

type NullableCoordinates ¶

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

func NewNullableCoordinates ¶

func NewNullableCoordinates(val *Coordinates) *NullableCoordinates

func (NullableCoordinates) Get ¶

func (NullableCoordinates) IsSet ¶

func (v NullableCoordinates) IsSet() bool

func (NullableCoordinates) MarshalJSON ¶

func (v NullableCoordinates) MarshalJSON() ([]byte, error)

func (*NullableCoordinates) Set ¶

func (v *NullableCoordinates) Set(val *Coordinates)

func (*NullableCoordinates) UnmarshalJSON ¶

func (v *NullableCoordinates) UnmarshalJSON(src []byte) error

func (*NullableCoordinates) Unset ¶

func (v *NullableCoordinates) Unset()

type NullableCreateDeviceRequest ¶

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

func (NullableCreateDeviceRequest) Get ¶

func (NullableCreateDeviceRequest) IsSet ¶

func (NullableCreateDeviceRequest) MarshalJSON ¶

func (v NullableCreateDeviceRequest) MarshalJSON() ([]byte, error)

func (*NullableCreateDeviceRequest) Set ¶

func (*NullableCreateDeviceRequest) UnmarshalJSON ¶

func (v *NullableCreateDeviceRequest) UnmarshalJSON(src []byte) error

func (*NullableCreateDeviceRequest) Unset ¶

func (v *NullableCreateDeviceRequest) Unset()

type NullableCreateEmailInput ¶

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

func NewNullableCreateEmailInput ¶

func NewNullableCreateEmailInput(val *CreateEmailInput) *NullableCreateEmailInput

func (NullableCreateEmailInput) Get ¶

func (NullableCreateEmailInput) IsSet ¶

func (v NullableCreateEmailInput) IsSet() bool

func (NullableCreateEmailInput) MarshalJSON ¶

func (v NullableCreateEmailInput) MarshalJSON() ([]byte, error)

func (*NullableCreateEmailInput) Set ¶

func (*NullableCreateEmailInput) UnmarshalJSON ¶

func (v *NullableCreateEmailInput) UnmarshalJSON(src []byte) error

func (*NullableCreateEmailInput) Unset ¶

func (v *NullableCreateEmailInput) Unset()

type NullableCreateMetalGatewayRequest ¶ added in v0.3.0

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

func NewNullableCreateMetalGatewayRequest ¶ added in v0.3.0

func NewNullableCreateMetalGatewayRequest(val *CreateMetalGatewayRequest) *NullableCreateMetalGatewayRequest

func (NullableCreateMetalGatewayRequest) Get ¶ added in v0.3.0

func (NullableCreateMetalGatewayRequest) IsSet ¶ added in v0.3.0

func (NullableCreateMetalGatewayRequest) MarshalJSON ¶ added in v0.3.0

func (v NullableCreateMetalGatewayRequest) MarshalJSON() ([]byte, error)

func (*NullableCreateMetalGatewayRequest) Set ¶ added in v0.3.0

func (*NullableCreateMetalGatewayRequest) UnmarshalJSON ¶ added in v0.3.0

func (v *NullableCreateMetalGatewayRequest) UnmarshalJSON(src []byte) error

func (*NullableCreateMetalGatewayRequest) Unset ¶ added in v0.3.0

type NullableCreateOrganizationInterconnectionRequest ¶

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

func (NullableCreateOrganizationInterconnectionRequest) Get ¶

func (NullableCreateOrganizationInterconnectionRequest) IsSet ¶

func (NullableCreateOrganizationInterconnectionRequest) MarshalJSON ¶

func (*NullableCreateOrganizationInterconnectionRequest) Set ¶

func (*NullableCreateOrganizationInterconnectionRequest) UnmarshalJSON ¶

func (*NullableCreateOrganizationInterconnectionRequest) Unset ¶

type NullableCreateSelfServiceReservationRequest ¶

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

func (NullableCreateSelfServiceReservationRequest) Get ¶

func (NullableCreateSelfServiceReservationRequest) IsSet ¶

func (NullableCreateSelfServiceReservationRequest) MarshalJSON ¶

func (*NullableCreateSelfServiceReservationRequest) Set ¶

func (*NullableCreateSelfServiceReservationRequest) UnmarshalJSON ¶

func (v *NullableCreateSelfServiceReservationRequest) UnmarshalJSON(src []byte) error

func (*NullableCreateSelfServiceReservationRequest) Unset ¶

type NullableCreateSelfServiceReservationRequestPeriod ¶ added in v0.4.0

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

func (NullableCreateSelfServiceReservationRequestPeriod) Get ¶ added in v0.4.0

func (NullableCreateSelfServiceReservationRequestPeriod) IsSet ¶ added in v0.4.0

func (NullableCreateSelfServiceReservationRequestPeriod) MarshalJSON ¶ added in v0.4.0

func (*NullableCreateSelfServiceReservationRequestPeriod) Set ¶ added in v0.4.0

func (*NullableCreateSelfServiceReservationRequestPeriod) UnmarshalJSON ¶ added in v0.4.0

func (*NullableCreateSelfServiceReservationRequestPeriod) Unset ¶ added in v0.4.0

type NullableCreateSelfServiceReservationRequestPeriodCount ¶ added in v0.22.0

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

func (NullableCreateSelfServiceReservationRequestPeriodCount) Get ¶ added in v0.22.0

func (NullableCreateSelfServiceReservationRequestPeriodCount) IsSet ¶ added in v0.22.0

func (NullableCreateSelfServiceReservationRequestPeriodCount) MarshalJSON ¶ added in v0.22.0

func (*NullableCreateSelfServiceReservationRequestPeriodCount) Set ¶ added in v0.22.0

func (*NullableCreateSelfServiceReservationRequestPeriodCount) UnmarshalJSON ¶ added in v0.22.0

func (*NullableCreateSelfServiceReservationRequestPeriodCount) Unset ¶ added in v0.22.0

type NullableCreateSelfServiceReservationRequestPeriodUnit ¶ added in v0.22.0

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

func (NullableCreateSelfServiceReservationRequestPeriodUnit) Get ¶ added in v0.22.0

func (NullableCreateSelfServiceReservationRequestPeriodUnit) IsSet ¶ added in v0.22.0

func (NullableCreateSelfServiceReservationRequestPeriodUnit) MarshalJSON ¶ added in v0.22.0

func (*NullableCreateSelfServiceReservationRequestPeriodUnit) Set ¶ added in v0.22.0

func (*NullableCreateSelfServiceReservationRequestPeriodUnit) UnmarshalJSON ¶ added in v0.22.0

func (*NullableCreateSelfServiceReservationRequestPeriodUnit) Unset ¶ added in v0.22.0

type NullableDedicatedPortCreateInput ¶ added in v0.18.0

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

func NewNullableDedicatedPortCreateInput ¶ added in v0.18.0

func NewNullableDedicatedPortCreateInput(val *DedicatedPortCreateInput) *NullableDedicatedPortCreateInput

func (NullableDedicatedPortCreateInput) Get ¶ added in v0.18.0

func (NullableDedicatedPortCreateInput) IsSet ¶ added in v0.18.0

func (NullableDedicatedPortCreateInput) MarshalJSON ¶ added in v0.18.0

func (v NullableDedicatedPortCreateInput) MarshalJSON() ([]byte, error)

func (*NullableDedicatedPortCreateInput) Set ¶ added in v0.18.0

func (*NullableDedicatedPortCreateInput) UnmarshalJSON ¶ added in v0.18.0

func (v *NullableDedicatedPortCreateInput) UnmarshalJSON(src []byte) error

func (*NullableDedicatedPortCreateInput) Unset ¶ added in v0.18.0

type NullableDedicatedPortCreateInputMode ¶ added in v0.22.0

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

func NewNullableDedicatedPortCreateInputMode ¶ added in v0.22.0

func NewNullableDedicatedPortCreateInputMode(val *DedicatedPortCreateInputMode) *NullableDedicatedPortCreateInputMode

func (NullableDedicatedPortCreateInputMode) Get ¶ added in v0.22.0

func (NullableDedicatedPortCreateInputMode) IsSet ¶ added in v0.22.0

func (NullableDedicatedPortCreateInputMode) MarshalJSON ¶ added in v0.22.0

func (v NullableDedicatedPortCreateInputMode) MarshalJSON() ([]byte, error)

func (*NullableDedicatedPortCreateInputMode) Set ¶ added in v0.22.0

func (*NullableDedicatedPortCreateInputMode) UnmarshalJSON ¶ added in v0.22.0

func (v *NullableDedicatedPortCreateInputMode) UnmarshalJSON(src []byte) error

func (*NullableDedicatedPortCreateInputMode) Unset ¶ added in v0.22.0

type NullableDedicatedPortCreateInputType ¶ added in v0.22.0

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

func NewNullableDedicatedPortCreateInputType ¶ added in v0.22.0

func NewNullableDedicatedPortCreateInputType(val *DedicatedPortCreateInputType) *NullableDedicatedPortCreateInputType

func (NullableDedicatedPortCreateInputType) Get ¶ added in v0.22.0

func (NullableDedicatedPortCreateInputType) IsSet ¶ added in v0.22.0

func (NullableDedicatedPortCreateInputType) MarshalJSON ¶ added in v0.22.0

func (v NullableDedicatedPortCreateInputType) MarshalJSON() ([]byte, error)

func (*NullableDedicatedPortCreateInputType) Set ¶ added in v0.22.0

func (*NullableDedicatedPortCreateInputType) UnmarshalJSON ¶ added in v0.22.0

func (v *NullableDedicatedPortCreateInputType) UnmarshalJSON(src []byte) error

func (*NullableDedicatedPortCreateInputType) Unset ¶ added in v0.22.0

type NullableDevice ¶

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

func NewNullableDevice ¶

func NewNullableDevice(val *Device) *NullableDevice

func (NullableDevice) Get ¶

func (v NullableDevice) Get() *Device

func (NullableDevice) IsSet ¶

func (v NullableDevice) IsSet() bool

func (NullableDevice) MarshalJSON ¶

func (v NullableDevice) MarshalJSON() ([]byte, error)

func (*NullableDevice) Set ¶

func (v *NullableDevice) Set(val *Device)

func (*NullableDevice) UnmarshalJSON ¶

func (v *NullableDevice) UnmarshalJSON(src []byte) error

func (*NullableDevice) Unset ¶

func (v *NullableDevice) Unset()

type NullableDeviceActionInput ¶ added in v0.4.0

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

func NewNullableDeviceActionInput ¶ added in v0.4.0

func NewNullableDeviceActionInput(val *DeviceActionInput) *NullableDeviceActionInput

func (NullableDeviceActionInput) Get ¶ added in v0.4.0

func (NullableDeviceActionInput) IsSet ¶ added in v0.4.0

func (v NullableDeviceActionInput) IsSet() bool

func (NullableDeviceActionInput) MarshalJSON ¶ added in v0.4.0

func (v NullableDeviceActionInput) MarshalJSON() ([]byte, error)

func (*NullableDeviceActionInput) Set ¶ added in v0.4.0

func (*NullableDeviceActionInput) UnmarshalJSON ¶ added in v0.4.0

func (v *NullableDeviceActionInput) UnmarshalJSON(src []byte) error

func (*NullableDeviceActionInput) Unset ¶ added in v0.4.0

func (v *NullableDeviceActionInput) Unset()

type NullableDeviceActionInputType ¶ added in v0.22.0

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

func NewNullableDeviceActionInputType ¶ added in v0.22.0

func NewNullableDeviceActionInputType(val *DeviceActionInputType) *NullableDeviceActionInputType

func (NullableDeviceActionInputType) Get ¶ added in v0.22.0

func (NullableDeviceActionInputType) IsSet ¶ added in v0.22.0

func (NullableDeviceActionInputType) MarshalJSON ¶ added in v0.22.0

func (v NullableDeviceActionInputType) MarshalJSON() ([]byte, error)

func (*NullableDeviceActionInputType) Set ¶ added in v0.22.0

func (*NullableDeviceActionInputType) UnmarshalJSON ¶ added in v0.22.0

func (v *NullableDeviceActionInputType) UnmarshalJSON(src []byte) error

func (*NullableDeviceActionInputType) Unset ¶ added in v0.22.0

func (v *NullableDeviceActionInputType) Unset()

type NullableDeviceActionsInner ¶ added in v0.4.0

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

func NewNullableDeviceActionsInner ¶ added in v0.4.0

func NewNullableDeviceActionsInner(val *DeviceActionsInner) *NullableDeviceActionsInner

func (NullableDeviceActionsInner) Get ¶ added in v0.4.0

func (NullableDeviceActionsInner) IsSet ¶ added in v0.4.0

func (v NullableDeviceActionsInner) IsSet() bool

func (NullableDeviceActionsInner) MarshalJSON ¶ added in v0.4.0

func (v NullableDeviceActionsInner) MarshalJSON() ([]byte, error)

func (*NullableDeviceActionsInner) Set ¶ added in v0.4.0

func (*NullableDeviceActionsInner) UnmarshalJSON ¶ added in v0.4.0

func (v *NullableDeviceActionsInner) UnmarshalJSON(src []byte) error

func (*NullableDeviceActionsInner) Unset ¶ added in v0.4.0

func (v *NullableDeviceActionsInner) Unset()

type NullableDeviceCreateInFacilityInput ¶ added in v0.3.0

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

func NewNullableDeviceCreateInFacilityInput ¶ added in v0.3.0

func NewNullableDeviceCreateInFacilityInput(val *DeviceCreateInFacilityInput) *NullableDeviceCreateInFacilityInput

func (NullableDeviceCreateInFacilityInput) Get ¶ added in v0.3.0

func (NullableDeviceCreateInFacilityInput) IsSet ¶ added in v0.3.0

func (NullableDeviceCreateInFacilityInput) MarshalJSON ¶ added in v0.3.0

func (v NullableDeviceCreateInFacilityInput) MarshalJSON() ([]byte, error)

func (*NullableDeviceCreateInFacilityInput) Set ¶ added in v0.3.0

func (*NullableDeviceCreateInFacilityInput) UnmarshalJSON ¶ added in v0.3.0

func (v *NullableDeviceCreateInFacilityInput) UnmarshalJSON(src []byte) error

func (*NullableDeviceCreateInFacilityInput) Unset ¶ added in v0.3.0

type NullableDeviceCreateInMetroInput ¶ added in v0.3.0

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

func NewNullableDeviceCreateInMetroInput ¶ added in v0.3.0

func NewNullableDeviceCreateInMetroInput(val *DeviceCreateInMetroInput) *NullableDeviceCreateInMetroInput

func (NullableDeviceCreateInMetroInput) Get ¶ added in v0.3.0

func (NullableDeviceCreateInMetroInput) IsSet ¶ added in v0.3.0

func (NullableDeviceCreateInMetroInput) MarshalJSON ¶ added in v0.3.0

func (v NullableDeviceCreateInMetroInput) MarshalJSON() ([]byte, error)

func (*NullableDeviceCreateInMetroInput) Set ¶ added in v0.3.0

func (*NullableDeviceCreateInMetroInput) UnmarshalJSON ¶ added in v0.3.0

func (v *NullableDeviceCreateInMetroInput) UnmarshalJSON(src []byte) error

func (*NullableDeviceCreateInMetroInput) Unset ¶ added in v0.3.0

type NullableDeviceCreateInput ¶

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

func NewNullableDeviceCreateInput ¶

func NewNullableDeviceCreateInput(val *DeviceCreateInput) *NullableDeviceCreateInput

func (NullableDeviceCreateInput) Get ¶

func (NullableDeviceCreateInput) IsSet ¶

func (v NullableDeviceCreateInput) IsSet() bool

func (NullableDeviceCreateInput) MarshalJSON ¶

func (v NullableDeviceCreateInput) MarshalJSON() ([]byte, error)

func (*NullableDeviceCreateInput) Set ¶

func (*NullableDeviceCreateInput) UnmarshalJSON ¶

func (v *NullableDeviceCreateInput) UnmarshalJSON(src []byte) error

func (*NullableDeviceCreateInput) Unset ¶

func (v *NullableDeviceCreateInput) Unset()

type NullableDeviceCreateInputBillingCycle ¶ added in v0.22.0

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

func NewNullableDeviceCreateInputBillingCycle ¶ added in v0.22.0

func NewNullableDeviceCreateInputBillingCycle(val *DeviceCreateInputBillingCycle) *NullableDeviceCreateInputBillingCycle

func (NullableDeviceCreateInputBillingCycle) Get ¶ added in v0.22.0

func (NullableDeviceCreateInputBillingCycle) IsSet ¶ added in v0.22.0

func (NullableDeviceCreateInputBillingCycle) MarshalJSON ¶ added in v0.22.0

func (v NullableDeviceCreateInputBillingCycle) MarshalJSON() ([]byte, error)

func (*NullableDeviceCreateInputBillingCycle) Set ¶ added in v0.22.0

func (*NullableDeviceCreateInputBillingCycle) UnmarshalJSON ¶ added in v0.22.0

func (v *NullableDeviceCreateInputBillingCycle) UnmarshalJSON(src []byte) error

func (*NullableDeviceCreateInputBillingCycle) Unset ¶ added in v0.22.0

type NullableDeviceCreatedBy ¶ added in v0.4.0

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

func NewNullableDeviceCreatedBy ¶ added in v0.4.0

func NewNullableDeviceCreatedBy(val *DeviceCreatedBy) *NullableDeviceCreatedBy

func (NullableDeviceCreatedBy) Get ¶ added in v0.4.0

func (NullableDeviceCreatedBy) IsSet ¶ added in v0.4.0

func (v NullableDeviceCreatedBy) IsSet() bool

func (NullableDeviceCreatedBy) MarshalJSON ¶ added in v0.4.0

func (v NullableDeviceCreatedBy) MarshalJSON() ([]byte, error)

func (*NullableDeviceCreatedBy) Set ¶ added in v0.4.0

func (*NullableDeviceCreatedBy) UnmarshalJSON ¶ added in v0.4.0

func (v *NullableDeviceCreatedBy) UnmarshalJSON(src []byte) error

func (*NullableDeviceCreatedBy) Unset ¶ added in v0.4.0

func (v *NullableDeviceCreatedBy) Unset()

type NullableDeviceHealthRollup ¶ added in v0.21.0

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

func NewNullableDeviceHealthRollup ¶ added in v0.21.0

func NewNullableDeviceHealthRollup(val *DeviceHealthRollup) *NullableDeviceHealthRollup

func (NullableDeviceHealthRollup) Get ¶ added in v0.21.0

func (NullableDeviceHealthRollup) IsSet ¶ added in v0.21.0

func (v NullableDeviceHealthRollup) IsSet() bool

func (NullableDeviceHealthRollup) MarshalJSON ¶ added in v0.21.0

func (v NullableDeviceHealthRollup) MarshalJSON() ([]byte, error)

func (*NullableDeviceHealthRollup) Set ¶ added in v0.21.0

func (*NullableDeviceHealthRollup) UnmarshalJSON ¶ added in v0.21.0

func (v *NullableDeviceHealthRollup) UnmarshalJSON(src []byte) error

func (*NullableDeviceHealthRollup) Unset ¶ added in v0.21.0

func (v *NullableDeviceHealthRollup) Unset()

type NullableDeviceHealthRollupHealthRollup ¶ added in v0.22.0

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

func NewNullableDeviceHealthRollupHealthRollup ¶ added in v0.22.0

func NewNullableDeviceHealthRollupHealthRollup(val *DeviceHealthRollupHealthRollup) *NullableDeviceHealthRollupHealthRollup

func (NullableDeviceHealthRollupHealthRollup) Get ¶ added in v0.22.0

func (NullableDeviceHealthRollupHealthRollup) IsSet ¶ added in v0.22.0

func (NullableDeviceHealthRollupHealthRollup) MarshalJSON ¶ added in v0.22.0

func (v NullableDeviceHealthRollupHealthRollup) MarshalJSON() ([]byte, error)

func (*NullableDeviceHealthRollupHealthRollup) Set ¶ added in v0.22.0

func (*NullableDeviceHealthRollupHealthRollup) UnmarshalJSON ¶ added in v0.22.0

func (v *NullableDeviceHealthRollupHealthRollup) UnmarshalJSON(src []byte) error

func (*NullableDeviceHealthRollupHealthRollup) Unset ¶ added in v0.22.0

type NullableDeviceList ¶

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

func NewNullableDeviceList ¶

func NewNullableDeviceList(val *DeviceList) *NullableDeviceList

func (NullableDeviceList) Get ¶

func (v NullableDeviceList) Get() *DeviceList

func (NullableDeviceList) IsSet ¶

func (v NullableDeviceList) IsSet() bool

func (NullableDeviceList) MarshalJSON ¶

func (v NullableDeviceList) MarshalJSON() ([]byte, error)

func (*NullableDeviceList) Set ¶

func (v *NullableDeviceList) Set(val *DeviceList)

func (*NullableDeviceList) UnmarshalJSON ¶

func (v *NullableDeviceList) UnmarshalJSON(src []byte) error

func (*NullableDeviceList) Unset ¶

func (v *NullableDeviceList) Unset()

type NullableDeviceMetro ¶ added in v0.4.0

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

func NewNullableDeviceMetro ¶ added in v0.4.0

func NewNullableDeviceMetro(val *DeviceMetro) *NullableDeviceMetro

func (NullableDeviceMetro) Get ¶ added in v0.4.0

func (NullableDeviceMetro) IsSet ¶ added in v0.4.0

func (v NullableDeviceMetro) IsSet() bool

func (NullableDeviceMetro) MarshalJSON ¶ added in v0.4.0

func (v NullableDeviceMetro) MarshalJSON() ([]byte, error)

func (*NullableDeviceMetro) Set ¶ added in v0.4.0

func (v *NullableDeviceMetro) Set(val *DeviceMetro)

func (*NullableDeviceMetro) UnmarshalJSON ¶ added in v0.4.0

func (v *NullableDeviceMetro) UnmarshalJSON(src []byte) error

func (*NullableDeviceMetro) Unset ¶ added in v0.4.0

func (v *NullableDeviceMetro) Unset()

type NullableDeviceProjectLite ¶ added in v0.4.0

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

func NewNullableDeviceProjectLite ¶ added in v0.4.0

func NewNullableDeviceProjectLite(val *DeviceProjectLite) *NullableDeviceProjectLite

func (NullableDeviceProjectLite) Get ¶ added in v0.4.0

func (NullableDeviceProjectLite) IsSet ¶ added in v0.4.0

func (v NullableDeviceProjectLite) IsSet() bool

func (NullableDeviceProjectLite) MarshalJSON ¶ added in v0.4.0

func (v NullableDeviceProjectLite) MarshalJSON() ([]byte, error)

func (*NullableDeviceProjectLite) Set ¶ added in v0.4.0

func (*NullableDeviceProjectLite) UnmarshalJSON ¶ added in v0.4.0

func (v *NullableDeviceProjectLite) UnmarshalJSON(src []byte) error

func (*NullableDeviceProjectLite) Unset ¶ added in v0.4.0

func (v *NullableDeviceProjectLite) Unset()

type NullableDeviceState ¶ added in v0.22.0

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

func NewNullableDeviceState ¶ added in v0.22.0

func NewNullableDeviceState(val *DeviceState) *NullableDeviceState

func (NullableDeviceState) Get ¶ added in v0.22.0

func (NullableDeviceState) IsSet ¶ added in v0.22.0

func (v NullableDeviceState) IsSet() bool

func (NullableDeviceState) MarshalJSON ¶ added in v0.22.0

func (v NullableDeviceState) MarshalJSON() ([]byte, error)

func (*NullableDeviceState) Set ¶ added in v0.22.0

func (v *NullableDeviceState) Set(val *DeviceState)

func (*NullableDeviceState) UnmarshalJSON ¶ added in v0.22.0

func (v *NullableDeviceState) UnmarshalJSON(src []byte) error

func (*NullableDeviceState) Unset ¶ added in v0.22.0

func (v *NullableDeviceState) Unset()

type NullableDeviceUpdateInput ¶

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

func NewNullableDeviceUpdateInput ¶

func NewNullableDeviceUpdateInput(val *DeviceUpdateInput) *NullableDeviceUpdateInput

func (NullableDeviceUpdateInput) Get ¶

func (NullableDeviceUpdateInput) IsSet ¶

func (v NullableDeviceUpdateInput) IsSet() bool

func (NullableDeviceUpdateInput) MarshalJSON ¶

func (v NullableDeviceUpdateInput) MarshalJSON() ([]byte, error)

func (*NullableDeviceUpdateInput) Set ¶

func (*NullableDeviceUpdateInput) UnmarshalJSON ¶

func (v *NullableDeviceUpdateInput) UnmarshalJSON(src []byte) error

func (*NullableDeviceUpdateInput) Unset ¶

func (v *NullableDeviceUpdateInput) Unset()

type NullableDeviceUsage ¶

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

func NewNullableDeviceUsage ¶

func NewNullableDeviceUsage(val *DeviceUsage) *NullableDeviceUsage

func (NullableDeviceUsage) Get ¶

func (NullableDeviceUsage) IsSet ¶

func (v NullableDeviceUsage) IsSet() bool

func (NullableDeviceUsage) MarshalJSON ¶

func (v NullableDeviceUsage) MarshalJSON() ([]byte, error)

func (*NullableDeviceUsage) Set ¶

func (v *NullableDeviceUsage) Set(val *DeviceUsage)

func (*NullableDeviceUsage) UnmarshalJSON ¶

func (v *NullableDeviceUsage) UnmarshalJSON(src []byte) error

func (*NullableDeviceUsage) Unset ¶

func (v *NullableDeviceUsage) Unset()

type NullableDeviceUsageList ¶

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

func NewNullableDeviceUsageList ¶

func NewNullableDeviceUsageList(val *DeviceUsageList) *NullableDeviceUsageList

func (NullableDeviceUsageList) Get ¶

func (NullableDeviceUsageList) IsSet ¶

func (v NullableDeviceUsageList) IsSet() bool

func (NullableDeviceUsageList) MarshalJSON ¶

func (v NullableDeviceUsageList) MarshalJSON() ([]byte, error)

func (*NullableDeviceUsageList) Set ¶

func (*NullableDeviceUsageList) UnmarshalJSON ¶

func (v *NullableDeviceUsageList) UnmarshalJSON(src []byte) error

func (*NullableDeviceUsageList) Unset ¶

func (v *NullableDeviceUsageList) Unset()

type NullableDisk ¶ added in v0.6.0

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

func NewNullableDisk ¶ added in v0.6.0

func NewNullableDisk(val *Disk) *NullableDisk

func (NullableDisk) Get ¶ added in v0.6.0

func (v NullableDisk) Get() *Disk

func (NullableDisk) IsSet ¶ added in v0.6.0

func (v NullableDisk) IsSet() bool

func (NullableDisk) MarshalJSON ¶ added in v0.6.0

func (v NullableDisk) MarshalJSON() ([]byte, error)

func (*NullableDisk) Set ¶ added in v0.6.0

func (v *NullableDisk) Set(val *Disk)

func (*NullableDisk) UnmarshalJSON ¶ added in v0.6.0

func (v *NullableDisk) UnmarshalJSON(src []byte) error

func (*NullableDisk) Unset ¶ added in v0.6.0

func (v *NullableDisk) Unset()

type NullableEmail ¶

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

func NewNullableEmail ¶

func NewNullableEmail(val *Email) *NullableEmail

func (NullableEmail) Get ¶

func (v NullableEmail) Get() *Email

func (NullableEmail) IsSet ¶

func (v NullableEmail) IsSet() bool

func (NullableEmail) MarshalJSON ¶

func (v NullableEmail) MarshalJSON() ([]byte, error)

func (*NullableEmail) Set ¶

func (v *NullableEmail) Set(val *Email)

func (*NullableEmail) UnmarshalJSON ¶

func (v *NullableEmail) UnmarshalJSON(src []byte) error

func (*NullableEmail) Unset ¶

func (v *NullableEmail) Unset()

type NullableEmailInput ¶

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

func NewNullableEmailInput ¶

func NewNullableEmailInput(val *EmailInput) *NullableEmailInput

func (NullableEmailInput) Get ¶

func (v NullableEmailInput) Get() *EmailInput

func (NullableEmailInput) IsSet ¶

func (v NullableEmailInput) IsSet() bool

func (NullableEmailInput) MarshalJSON ¶

func (v NullableEmailInput) MarshalJSON() ([]byte, error)

func (*NullableEmailInput) Set ¶

func (v *NullableEmailInput) Set(val *EmailInput)

func (*NullableEmailInput) UnmarshalJSON ¶

func (v *NullableEmailInput) UnmarshalJSON(src []byte) error

func (*NullableEmailInput) Unset ¶

func (v *NullableEmailInput) Unset()

type NullableEntitlement ¶

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

func NewNullableEntitlement ¶

func NewNullableEntitlement(val *Entitlement) *NullableEntitlement

func (NullableEntitlement) Get ¶

func (NullableEntitlement) IsSet ¶

func (v NullableEntitlement) IsSet() bool

func (NullableEntitlement) MarshalJSON ¶

func (v NullableEntitlement) MarshalJSON() ([]byte, error)

func (*NullableEntitlement) Set ¶

func (v *NullableEntitlement) Set(val *Entitlement)

func (*NullableEntitlement) UnmarshalJSON ¶

func (v *NullableEntitlement) UnmarshalJSON(src []byte) error

func (*NullableEntitlement) Unset ¶

func (v *NullableEntitlement) Unset()

type NullableError ¶

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

func NewNullableError ¶

func NewNullableError(val *Error) *NullableError

func (NullableError) Get ¶

func (v NullableError) Get() *Error

func (NullableError) IsSet ¶

func (v NullableError) IsSet() bool

func (NullableError) MarshalJSON ¶

func (v NullableError) MarshalJSON() ([]byte, error)

func (*NullableError) Set ¶

func (v *NullableError) Set(val *Error)

func (*NullableError) UnmarshalJSON ¶

func (v *NullableError) UnmarshalJSON(src []byte) error

func (*NullableError) Unset ¶

func (v *NullableError) Unset()

type NullableEvent ¶

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

func NewNullableEvent ¶

func NewNullableEvent(val *Event) *NullableEvent

func (NullableEvent) Get ¶

func (v NullableEvent) Get() *Event

func (NullableEvent) IsSet ¶

func (v NullableEvent) IsSet() bool

func (NullableEvent) MarshalJSON ¶

func (v NullableEvent) MarshalJSON() ([]byte, error)

func (*NullableEvent) Set ¶

func (v *NullableEvent) Set(val *Event)

func (*NullableEvent) UnmarshalJSON ¶

func (v *NullableEvent) UnmarshalJSON(src []byte) error

func (*NullableEvent) Unset ¶

func (v *NullableEvent) Unset()

type NullableEventList ¶

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

func NewNullableEventList ¶

func NewNullableEventList(val *EventList) *NullableEventList

func (NullableEventList) Get ¶

func (v NullableEventList) Get() *EventList

func (NullableEventList) IsSet ¶

func (v NullableEventList) IsSet() bool

func (NullableEventList) MarshalJSON ¶

func (v NullableEventList) MarshalJSON() ([]byte, error)

func (*NullableEventList) Set ¶

func (v *NullableEventList) Set(val *EventList)

func (*NullableEventList) UnmarshalJSON ¶

func (v *NullableEventList) UnmarshalJSON(src []byte) error

func (*NullableEventList) Unset ¶

func (v *NullableEventList) Unset()

type NullableFabricServiceToken ¶

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

func NewNullableFabricServiceToken ¶

func NewNullableFabricServiceToken(val *FabricServiceToken) *NullableFabricServiceToken

func (NullableFabricServiceToken) Get ¶

func (NullableFabricServiceToken) IsSet ¶

func (v NullableFabricServiceToken) IsSet() bool

func (NullableFabricServiceToken) MarshalJSON ¶

func (v NullableFabricServiceToken) MarshalJSON() ([]byte, error)

func (*NullableFabricServiceToken) Set ¶

func (*NullableFabricServiceToken) UnmarshalJSON ¶

func (v *NullableFabricServiceToken) UnmarshalJSON(src []byte) error

func (*NullableFabricServiceToken) Unset ¶

func (v *NullableFabricServiceToken) Unset()

type NullableFabricServiceTokenRole ¶ added in v0.22.0

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

func NewNullableFabricServiceTokenRole ¶ added in v0.22.0

func NewNullableFabricServiceTokenRole(val *FabricServiceTokenRole) *NullableFabricServiceTokenRole

func (NullableFabricServiceTokenRole) Get ¶ added in v0.22.0

func (NullableFabricServiceTokenRole) IsSet ¶ added in v0.22.0

func (NullableFabricServiceTokenRole) MarshalJSON ¶ added in v0.22.0

func (v NullableFabricServiceTokenRole) MarshalJSON() ([]byte, error)

func (*NullableFabricServiceTokenRole) Set ¶ added in v0.22.0

func (*NullableFabricServiceTokenRole) UnmarshalJSON ¶ added in v0.22.0

func (v *NullableFabricServiceTokenRole) UnmarshalJSON(src []byte) error

func (*NullableFabricServiceTokenRole) Unset ¶ added in v0.22.0

func (v *NullableFabricServiceTokenRole) Unset()

type NullableFabricServiceTokenServiceTokenType ¶ added in v0.22.0

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

func NewNullableFabricServiceTokenServiceTokenType ¶ added in v0.22.0

func NewNullableFabricServiceTokenServiceTokenType(val *FabricServiceTokenServiceTokenType) *NullableFabricServiceTokenServiceTokenType

func (NullableFabricServiceTokenServiceTokenType) Get ¶ added in v0.22.0

func (NullableFabricServiceTokenServiceTokenType) IsSet ¶ added in v0.22.0

func (NullableFabricServiceTokenServiceTokenType) MarshalJSON ¶ added in v0.22.0

func (*NullableFabricServiceTokenServiceTokenType) Set ¶ added in v0.22.0

func (*NullableFabricServiceTokenServiceTokenType) UnmarshalJSON ¶ added in v0.22.0

func (v *NullableFabricServiceTokenServiceTokenType) UnmarshalJSON(src []byte) error

func (*NullableFabricServiceTokenServiceTokenType) Unset ¶ added in v0.22.0

type NullableFabricServiceTokenState ¶ added in v0.22.0

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

func NewNullableFabricServiceTokenState ¶ added in v0.22.0

func NewNullableFabricServiceTokenState(val *FabricServiceTokenState) *NullableFabricServiceTokenState

func (NullableFabricServiceTokenState) Get ¶ added in v0.22.0

func (NullableFabricServiceTokenState) IsSet ¶ added in v0.22.0

func (NullableFabricServiceTokenState) MarshalJSON ¶ added in v0.22.0

func (v NullableFabricServiceTokenState) MarshalJSON() ([]byte, error)

func (*NullableFabricServiceTokenState) Set ¶ added in v0.22.0

func (*NullableFabricServiceTokenState) UnmarshalJSON ¶ added in v0.22.0

func (v *NullableFabricServiceTokenState) UnmarshalJSON(src []byte) error

func (*NullableFabricServiceTokenState) Unset ¶ added in v0.22.0

type NullableFacility ¶

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

func NewNullableFacility ¶

func NewNullableFacility(val *Facility) *NullableFacility

func (NullableFacility) Get ¶

func (v NullableFacility) Get() *Facility

func (NullableFacility) IsSet ¶

func (v NullableFacility) IsSet() bool

func (NullableFacility) MarshalJSON ¶

func (v NullableFacility) MarshalJSON() ([]byte, error)

func (*NullableFacility) Set ¶

func (v *NullableFacility) Set(val *Facility)

func (*NullableFacility) UnmarshalJSON ¶

func (v *NullableFacility) UnmarshalJSON(src []byte) error

func (*NullableFacility) Unset ¶

func (v *NullableFacility) Unset()

type NullableFacilityFeaturesInner ¶ added in v0.22.0

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

func NewNullableFacilityFeaturesInner ¶ added in v0.22.0

func NewNullableFacilityFeaturesInner(val *FacilityFeaturesInner) *NullableFacilityFeaturesInner

func (NullableFacilityFeaturesInner) Get ¶ added in v0.22.0

func (NullableFacilityFeaturesInner) IsSet ¶ added in v0.22.0

func (NullableFacilityFeaturesInner) MarshalJSON ¶ added in v0.22.0

func (v NullableFacilityFeaturesInner) MarshalJSON() ([]byte, error)

func (*NullableFacilityFeaturesInner) Set ¶ added in v0.22.0

func (*NullableFacilityFeaturesInner) UnmarshalJSON ¶ added in v0.22.0

func (v *NullableFacilityFeaturesInner) UnmarshalJSON(src []byte) error

func (*NullableFacilityFeaturesInner) Unset ¶ added in v0.22.0

func (v *NullableFacilityFeaturesInner) Unset()

type NullableFacilityInput ¶ added in v0.4.0

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

func NewNullableFacilityInput ¶ added in v0.4.0

func NewNullableFacilityInput(val *FacilityInput) *NullableFacilityInput

func (NullableFacilityInput) Get ¶ added in v0.4.0

func (NullableFacilityInput) IsSet ¶ added in v0.4.0

func (v NullableFacilityInput) IsSet() bool

func (NullableFacilityInput) MarshalJSON ¶ added in v0.4.0

func (v NullableFacilityInput) MarshalJSON() ([]byte, error)

func (*NullableFacilityInput) Set ¶ added in v0.4.0

func (v *NullableFacilityInput) Set(val *FacilityInput)

func (*NullableFacilityInput) UnmarshalJSON ¶ added in v0.4.0

func (v *NullableFacilityInput) UnmarshalJSON(src []byte) error

func (*NullableFacilityInput) Unset ¶ added in v0.4.0

func (v *NullableFacilityInput) Unset()

type NullableFacilityList ¶

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

func NewNullableFacilityList ¶

func NewNullableFacilityList(val *FacilityList) *NullableFacilityList

func (NullableFacilityList) Get ¶

func (NullableFacilityList) IsSet ¶

func (v NullableFacilityList) IsSet() bool

func (NullableFacilityList) MarshalJSON ¶

func (v NullableFacilityList) MarshalJSON() ([]byte, error)

func (*NullableFacilityList) Set ¶

func (v *NullableFacilityList) Set(val *FacilityList)

func (*NullableFacilityList) UnmarshalJSON ¶

func (v *NullableFacilityList) UnmarshalJSON(src []byte) error

func (*NullableFacilityList) Unset ¶

func (v *NullableFacilityList) Unset()

type NullableFilesystem ¶ added in v0.6.0

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

func NewNullableFilesystem ¶ added in v0.6.0

func NewNullableFilesystem(val *Filesystem) *NullableFilesystem

func (NullableFilesystem) Get ¶ added in v0.6.0

func (v NullableFilesystem) Get() *Filesystem

func (NullableFilesystem) IsSet ¶ added in v0.6.0

func (v NullableFilesystem) IsSet() bool

func (NullableFilesystem) MarshalJSON ¶ added in v0.6.0

func (v NullableFilesystem) MarshalJSON() ([]byte, error)

func (*NullableFilesystem) Set ¶ added in v0.6.0

func (v *NullableFilesystem) Set(val *Filesystem)

func (*NullableFilesystem) UnmarshalJSON ¶ added in v0.6.0

func (v *NullableFilesystem) UnmarshalJSON(src []byte) error

func (*NullableFilesystem) Unset ¶ added in v0.6.0

func (v *NullableFilesystem) Unset()

type NullableFindFacilitiesIncludeParameterInner ¶ added in v0.22.0

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

func NewNullableFindFacilitiesIncludeParameterInner ¶ added in v0.22.0

func NewNullableFindFacilitiesIncludeParameterInner(val *FindFacilitiesIncludeParameterInner) *NullableFindFacilitiesIncludeParameterInner

func (NullableFindFacilitiesIncludeParameterInner) Get ¶ added in v0.22.0

func (NullableFindFacilitiesIncludeParameterInner) IsSet ¶ added in v0.22.0

func (NullableFindFacilitiesIncludeParameterInner) MarshalJSON ¶ added in v0.22.0

func (*NullableFindFacilitiesIncludeParameterInner) Set ¶ added in v0.22.0

func (*NullableFindFacilitiesIncludeParameterInner) UnmarshalJSON ¶ added in v0.22.0

func (v *NullableFindFacilitiesIncludeParameterInner) UnmarshalJSON(src []byte) error

func (*NullableFindFacilitiesIncludeParameterInner) Unset ¶ added in v0.22.0

type NullableFindIPAddressById200Response ¶ added in v0.3.0

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

func NewNullableFindIPAddressById200Response ¶ added in v0.3.0

func NewNullableFindIPAddressById200Response(val *FindIPAddressById200Response) *NullableFindIPAddressById200Response

func (NullableFindIPAddressById200Response) Get ¶ added in v0.3.0

func (NullableFindIPAddressById200Response) IsSet ¶ added in v0.3.0

func (NullableFindIPAddressById200Response) MarshalJSON ¶ added in v0.3.0

func (v NullableFindIPAddressById200Response) MarshalJSON() ([]byte, error)

func (*NullableFindIPAddressById200Response) Set ¶ added in v0.3.0

func (*NullableFindIPAddressById200Response) UnmarshalJSON ¶ added in v0.3.0

func (v *NullableFindIPAddressById200Response) UnmarshalJSON(src []byte) error

func (*NullableFindIPAddressById200Response) Unset ¶ added in v0.3.0

type NullableFindIPAvailabilitiesCidrParameter ¶ added in v0.22.0

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

func NewNullableFindIPAvailabilitiesCidrParameter ¶ added in v0.22.0

func NewNullableFindIPAvailabilitiesCidrParameter(val *FindIPAvailabilitiesCidrParameter) *NullableFindIPAvailabilitiesCidrParameter

func (NullableFindIPAvailabilitiesCidrParameter) Get ¶ added in v0.22.0

func (NullableFindIPAvailabilitiesCidrParameter) IsSet ¶ added in v0.22.0

func (NullableFindIPAvailabilitiesCidrParameter) MarshalJSON ¶ added in v0.22.0

func (*NullableFindIPAvailabilitiesCidrParameter) Set ¶ added in v0.22.0

func (*NullableFindIPAvailabilitiesCidrParameter) UnmarshalJSON ¶ added in v0.22.0

func (v *NullableFindIPAvailabilitiesCidrParameter) UnmarshalJSON(src []byte) error

func (*NullableFindIPAvailabilitiesCidrParameter) Unset ¶ added in v0.22.0

type NullableFindIPReservationsTypesParameterInner ¶ added in v0.22.0

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

func (NullableFindIPReservationsTypesParameterInner) Get ¶ added in v0.22.0

func (NullableFindIPReservationsTypesParameterInner) IsSet ¶ added in v0.22.0

func (NullableFindIPReservationsTypesParameterInner) MarshalJSON ¶ added in v0.22.0

func (*NullableFindIPReservationsTypesParameterInner) Set ¶ added in v0.22.0

func (*NullableFindIPReservationsTypesParameterInner) UnmarshalJSON ¶ added in v0.22.0

func (*NullableFindIPReservationsTypesParameterInner) Unset ¶ added in v0.22.0

type NullableFindMetalGatewayById200Response ¶ added in v0.3.0

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

func NewNullableFindMetalGatewayById200Response ¶ added in v0.3.0

func NewNullableFindMetalGatewayById200Response(val *FindMetalGatewayById200Response) *NullableFindMetalGatewayById200Response

func (NullableFindMetalGatewayById200Response) Get ¶ added in v0.3.0

func (NullableFindMetalGatewayById200Response) IsSet ¶ added in v0.3.0

func (NullableFindMetalGatewayById200Response) MarshalJSON ¶ added in v0.3.0

func (v NullableFindMetalGatewayById200Response) MarshalJSON() ([]byte, error)

func (*NullableFindMetalGatewayById200Response) Set ¶ added in v0.3.0

func (*NullableFindMetalGatewayById200Response) UnmarshalJSON ¶ added in v0.3.0

func (v *NullableFindMetalGatewayById200Response) UnmarshalJSON(src []byte) error

func (*NullableFindMetalGatewayById200Response) Unset ¶ added in v0.3.0

type NullableFindOrganizationDevicesCategoriesParameterInner ¶ added in v0.22.0

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

func (NullableFindOrganizationDevicesCategoriesParameterInner) Get ¶ added in v0.22.0

func (NullableFindOrganizationDevicesCategoriesParameterInner) IsSet ¶ added in v0.22.0

func (NullableFindOrganizationDevicesCategoriesParameterInner) MarshalJSON ¶ added in v0.22.0

func (*NullableFindOrganizationDevicesCategoriesParameterInner) Set ¶ added in v0.22.0

func (*NullableFindOrganizationDevicesCategoriesParameterInner) UnmarshalJSON ¶ added in v0.22.0

func (*NullableFindOrganizationDevicesCategoriesParameterInner) Unset ¶ added in v0.22.0

type NullableFindOrganizationsPersonalParameter ¶ added in v0.22.0

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

func NewNullableFindOrganizationsPersonalParameter ¶ added in v0.22.0

func NewNullableFindOrganizationsPersonalParameter(val *FindOrganizationsPersonalParameter) *NullableFindOrganizationsPersonalParameter

func (NullableFindOrganizationsPersonalParameter) Get ¶ added in v0.22.0

func (NullableFindOrganizationsPersonalParameter) IsSet ¶ added in v0.22.0

func (NullableFindOrganizationsPersonalParameter) MarshalJSON ¶ added in v0.22.0

func (*NullableFindOrganizationsPersonalParameter) Set ¶ added in v0.22.0

func (*NullableFindOrganizationsPersonalParameter) UnmarshalJSON ¶ added in v0.22.0

func (v *NullableFindOrganizationsPersonalParameter) UnmarshalJSON(src []byte) error

func (*NullableFindOrganizationsPersonalParameter) Unset ¶ added in v0.22.0

type NullableFindPlansTypeParameter ¶ added in v0.22.0

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

func NewNullableFindPlansTypeParameter ¶ added in v0.22.0

func NewNullableFindPlansTypeParameter(val *FindPlansTypeParameter) *NullableFindPlansTypeParameter

func (NullableFindPlansTypeParameter) Get ¶ added in v0.22.0

func (NullableFindPlansTypeParameter) IsSet ¶ added in v0.22.0

func (NullableFindPlansTypeParameter) MarshalJSON ¶ added in v0.22.0

func (v NullableFindPlansTypeParameter) MarshalJSON() ([]byte, error)

func (*NullableFindPlansTypeParameter) Set ¶ added in v0.22.0

func (*NullableFindPlansTypeParameter) UnmarshalJSON ¶ added in v0.22.0

func (v *NullableFindPlansTypeParameter) UnmarshalJSON(src []byte) error

func (*NullableFindPlansTypeParameter) Unset ¶ added in v0.22.0

func (v *NullableFindPlansTypeParameter) Unset()

type NullableFindProjectHardwareReservationsProvisionableParameter ¶ added in v0.22.0

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

func (NullableFindProjectHardwareReservationsProvisionableParameter) Get ¶ added in v0.22.0

func (NullableFindProjectHardwareReservationsProvisionableParameter) IsSet ¶ added in v0.22.0

func (NullableFindProjectHardwareReservationsProvisionableParameter) MarshalJSON ¶ added in v0.22.0

func (*NullableFindProjectHardwareReservationsProvisionableParameter) Set ¶ added in v0.22.0

func (*NullableFindProjectHardwareReservationsProvisionableParameter) UnmarshalJSON ¶ added in v0.22.0

func (*NullableFindProjectHardwareReservationsProvisionableParameter) Unset ¶ added in v0.22.0

type NullableFindProjectHardwareReservationsStateParameter ¶ added in v0.22.0

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

func (NullableFindProjectHardwareReservationsStateParameter) Get ¶ added in v0.22.0

func (NullableFindProjectHardwareReservationsStateParameter) IsSet ¶ added in v0.22.0

func (NullableFindProjectHardwareReservationsStateParameter) MarshalJSON ¶ added in v0.22.0

func (*NullableFindProjectHardwareReservationsStateParameter) Set ¶ added in v0.22.0

func (*NullableFindProjectHardwareReservationsStateParameter) UnmarshalJSON ¶ added in v0.22.0

func (*NullableFindProjectHardwareReservationsStateParameter) Unset ¶ added in v0.22.0

type NullableFindTrafficBucketParameter ¶ added in v0.22.0

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

func NewNullableFindTrafficBucketParameter ¶ added in v0.22.0

func NewNullableFindTrafficBucketParameter(val *FindTrafficBucketParameter) *NullableFindTrafficBucketParameter

func (NullableFindTrafficBucketParameter) Get ¶ added in v0.22.0

func (NullableFindTrafficBucketParameter) IsSet ¶ added in v0.22.0

func (NullableFindTrafficBucketParameter) MarshalJSON ¶ added in v0.22.0

func (v NullableFindTrafficBucketParameter) MarshalJSON() ([]byte, error)

func (*NullableFindTrafficBucketParameter) Set ¶ added in v0.22.0

func (*NullableFindTrafficBucketParameter) UnmarshalJSON ¶ added in v0.22.0

func (v *NullableFindTrafficBucketParameter) UnmarshalJSON(src []byte) error

func (*NullableFindTrafficBucketParameter) Unset ¶ added in v0.22.0

type NullableFindTrafficDirectionParameter ¶ added in v0.22.0

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

func NewNullableFindTrafficDirectionParameter ¶ added in v0.22.0

func NewNullableFindTrafficDirectionParameter(val *FindTrafficDirectionParameter) *NullableFindTrafficDirectionParameter

func (NullableFindTrafficDirectionParameter) Get ¶ added in v0.22.0

func (NullableFindTrafficDirectionParameter) IsSet ¶ added in v0.22.0

func (NullableFindTrafficDirectionParameter) MarshalJSON ¶ added in v0.22.0

func (v NullableFindTrafficDirectionParameter) MarshalJSON() ([]byte, error)

func (*NullableFindTrafficDirectionParameter) Set ¶ added in v0.22.0

func (*NullableFindTrafficDirectionParameter) UnmarshalJSON ¶ added in v0.22.0

func (v *NullableFindTrafficDirectionParameter) UnmarshalJSON(src []byte) error

func (*NullableFindTrafficDirectionParameter) Unset ¶ added in v0.22.0

type NullableFindTrafficIntervalParameter ¶ added in v0.22.0

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

func NewNullableFindTrafficIntervalParameter ¶ added in v0.22.0

func NewNullableFindTrafficIntervalParameter(val *FindTrafficIntervalParameter) *NullableFindTrafficIntervalParameter

func (NullableFindTrafficIntervalParameter) Get ¶ added in v0.22.0

func (NullableFindTrafficIntervalParameter) IsSet ¶ added in v0.22.0

func (NullableFindTrafficIntervalParameter) MarshalJSON ¶ added in v0.22.0

func (v NullableFindTrafficIntervalParameter) MarshalJSON() ([]byte, error)

func (*NullableFindTrafficIntervalParameter) Set ¶ added in v0.22.0

func (*NullableFindTrafficIntervalParameter) UnmarshalJSON ¶ added in v0.22.0

func (v *NullableFindTrafficIntervalParameter) UnmarshalJSON(src []byte) error

func (*NullableFindTrafficIntervalParameter) Unset ¶ added in v0.22.0

type NullableFindTrafficTimeframeParameter ¶ added in v0.3.0

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

func NewNullableFindTrafficTimeframeParameter ¶ added in v0.3.0

func NewNullableFindTrafficTimeframeParameter(val *FindTrafficTimeframeParameter) *NullableFindTrafficTimeframeParameter

func (NullableFindTrafficTimeframeParameter) Get ¶ added in v0.3.0

func (NullableFindTrafficTimeframeParameter) IsSet ¶ added in v0.3.0

func (NullableFindTrafficTimeframeParameter) MarshalJSON ¶ added in v0.3.0

func (v NullableFindTrafficTimeframeParameter) MarshalJSON() ([]byte, error)

func (*NullableFindTrafficTimeframeParameter) Set ¶ added in v0.3.0

func (*NullableFindTrafficTimeframeParameter) UnmarshalJSON ¶ added in v0.3.0

func (v *NullableFindTrafficTimeframeParameter) UnmarshalJSON(src []byte) error

func (*NullableFindTrafficTimeframeParameter) Unset ¶ added in v0.3.0

type NullableFirmwareSet ¶ added in v0.21.0

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

func NewNullableFirmwareSet ¶ added in v0.21.0

func NewNullableFirmwareSet(val *FirmwareSet) *NullableFirmwareSet

func (NullableFirmwareSet) Get ¶ added in v0.21.0

func (NullableFirmwareSet) IsSet ¶ added in v0.21.0

func (v NullableFirmwareSet) IsSet() bool

func (NullableFirmwareSet) MarshalJSON ¶ added in v0.21.0

func (v NullableFirmwareSet) MarshalJSON() ([]byte, error)

func (*NullableFirmwareSet) Set ¶ added in v0.21.0

func (v *NullableFirmwareSet) Set(val *FirmwareSet)

func (*NullableFirmwareSet) UnmarshalJSON ¶ added in v0.21.0

func (v *NullableFirmwareSet) UnmarshalJSON(src []byte) error

func (*NullableFirmwareSet) Unset ¶ added in v0.21.0

func (v *NullableFirmwareSet) Unset()

type NullableFirmwareSetListResponse ¶ added in v0.21.0

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

func NewNullableFirmwareSetListResponse ¶ added in v0.21.0

func NewNullableFirmwareSetListResponse(val *FirmwareSetListResponse) *NullableFirmwareSetListResponse

func (NullableFirmwareSetListResponse) Get ¶ added in v0.21.0

func (NullableFirmwareSetListResponse) IsSet ¶ added in v0.21.0

func (NullableFirmwareSetListResponse) MarshalJSON ¶ added in v0.21.0

func (v NullableFirmwareSetListResponse) MarshalJSON() ([]byte, error)

func (*NullableFirmwareSetListResponse) Set ¶ added in v0.21.0

func (*NullableFirmwareSetListResponse) UnmarshalJSON ¶ added in v0.21.0

func (v *NullableFirmwareSetListResponse) UnmarshalJSON(src []byte) error

func (*NullableFirmwareSetListResponse) Unset ¶ added in v0.21.0

type NullableFirmwareSetResponse ¶ added in v0.21.0

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

func NewNullableFirmwareSetResponse ¶ added in v0.21.0

func NewNullableFirmwareSetResponse(val *FirmwareSetResponse) *NullableFirmwareSetResponse

func (NullableFirmwareSetResponse) Get ¶ added in v0.21.0

func (NullableFirmwareSetResponse) IsSet ¶ added in v0.21.0

func (NullableFirmwareSetResponse) MarshalJSON ¶ added in v0.21.0

func (v NullableFirmwareSetResponse) MarshalJSON() ([]byte, error)

func (*NullableFirmwareSetResponse) Set ¶ added in v0.21.0

func (*NullableFirmwareSetResponse) UnmarshalJSON ¶ added in v0.21.0

func (v *NullableFirmwareSetResponse) UnmarshalJSON(src []byte) error

func (*NullableFirmwareSetResponse) Unset ¶ added in v0.21.0

func (v *NullableFirmwareSetResponse) Unset()

type NullableFloat32 ¶

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

func NewNullableFloat32 ¶

func NewNullableFloat32(val *float32) *NullableFloat32

func (NullableFloat32) Get ¶

func (v NullableFloat32) Get() *float32

func (NullableFloat32) IsSet ¶

func (v NullableFloat32) IsSet() bool

func (NullableFloat32) MarshalJSON ¶

func (v NullableFloat32) MarshalJSON() ([]byte, error)

func (*NullableFloat32) Set ¶

func (v *NullableFloat32) Set(val *float32)

func (*NullableFloat32) UnmarshalJSON ¶

func (v *NullableFloat32) UnmarshalJSON(src []byte) error

func (*NullableFloat32) Unset ¶

func (v *NullableFloat32) Unset()

type NullableFloat64 ¶

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

func NewNullableFloat64 ¶

func NewNullableFloat64(val *float64) *NullableFloat64

func (NullableFloat64) Get ¶

func (v NullableFloat64) Get() *float64

func (NullableFloat64) IsSet ¶

func (v NullableFloat64) IsSet() bool

func (NullableFloat64) MarshalJSON ¶

func (v NullableFloat64) MarshalJSON() ([]byte, error)

func (*NullableFloat64) Set ¶

func (v *NullableFloat64) Set(val *float64)

func (*NullableFloat64) UnmarshalJSON ¶

func (v *NullableFloat64) UnmarshalJSON(src []byte) error

func (*NullableFloat64) Unset ¶

func (v *NullableFloat64) Unset()

type NullableGlobalBgpRange ¶

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

func NewNullableGlobalBgpRange ¶

func NewNullableGlobalBgpRange(val *GlobalBgpRange) *NullableGlobalBgpRange

func (NullableGlobalBgpRange) Get ¶

func (NullableGlobalBgpRange) IsSet ¶

func (v NullableGlobalBgpRange) IsSet() bool

func (NullableGlobalBgpRange) MarshalJSON ¶

func (v NullableGlobalBgpRange) MarshalJSON() ([]byte, error)

func (*NullableGlobalBgpRange) Set ¶

func (*NullableGlobalBgpRange) UnmarshalJSON ¶

func (v *NullableGlobalBgpRange) UnmarshalJSON(src []byte) error

func (*NullableGlobalBgpRange) Unset ¶

func (v *NullableGlobalBgpRange) Unset()

type NullableGlobalBgpRangeList ¶

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

func NewNullableGlobalBgpRangeList ¶

func NewNullableGlobalBgpRangeList(val *GlobalBgpRangeList) *NullableGlobalBgpRangeList

func (NullableGlobalBgpRangeList) Get ¶

func (NullableGlobalBgpRangeList) IsSet ¶

func (v NullableGlobalBgpRangeList) IsSet() bool

func (NullableGlobalBgpRangeList) MarshalJSON ¶

func (v NullableGlobalBgpRangeList) MarshalJSON() ([]byte, error)

func (*NullableGlobalBgpRangeList) Set ¶

func (*NullableGlobalBgpRangeList) UnmarshalJSON ¶

func (v *NullableGlobalBgpRangeList) UnmarshalJSON(src []byte) error

func (*NullableGlobalBgpRangeList) Unset ¶

func (v *NullableGlobalBgpRangeList) Unset()

type NullableHardwareReservation ¶

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

func (NullableHardwareReservation) Get ¶

func (NullableHardwareReservation) IsSet ¶

func (NullableHardwareReservation) MarshalJSON ¶

func (v NullableHardwareReservation) MarshalJSON() ([]byte, error)

func (*NullableHardwareReservation) Set ¶

func (*NullableHardwareReservation) UnmarshalJSON ¶

func (v *NullableHardwareReservation) UnmarshalJSON(src []byte) error

func (*NullableHardwareReservation) Unset ¶

func (v *NullableHardwareReservation) Unset()

type NullableHardwareReservationList ¶

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

func (NullableHardwareReservationList) Get ¶

func (NullableHardwareReservationList) IsSet ¶

func (NullableHardwareReservationList) MarshalJSON ¶

func (v NullableHardwareReservationList) MarshalJSON() ([]byte, error)

func (*NullableHardwareReservationList) Set ¶

func (*NullableHardwareReservationList) UnmarshalJSON ¶

func (v *NullableHardwareReservationList) UnmarshalJSON(src []byte) error

func (*NullableHardwareReservationList) Unset ¶

type NullableHref ¶

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

func NewNullableHref ¶

func NewNullableHref(val *Href) *NullableHref

func (NullableHref) Get ¶

func (v NullableHref) Get() *Href

func (NullableHref) IsSet ¶

func (v NullableHref) IsSet() bool

func (NullableHref) MarshalJSON ¶

func (v NullableHref) MarshalJSON() ([]byte, error)

func (*NullableHref) Set ¶

func (v *NullableHref) Set(val *Href)

func (*NullableHref) UnmarshalJSON ¶

func (v *NullableHref) UnmarshalJSON(src []byte) error

func (*NullableHref) Unset ¶

func (v *NullableHref) Unset()

type NullableIPAddress ¶ added in v0.7.1

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

func NewNullableIPAddress ¶ added in v0.7.1

func NewNullableIPAddress(val *IPAddress) *NullableIPAddress

func (NullableIPAddress) Get ¶ added in v0.7.1

func (v NullableIPAddress) Get() *IPAddress

func (NullableIPAddress) IsSet ¶ added in v0.7.1

func (v NullableIPAddress) IsSet() bool

func (NullableIPAddress) MarshalJSON ¶ added in v0.7.1

func (v NullableIPAddress) MarshalJSON() ([]byte, error)

func (*NullableIPAddress) Set ¶ added in v0.7.1

func (v *NullableIPAddress) Set(val *IPAddress)

func (*NullableIPAddress) UnmarshalJSON ¶ added in v0.7.1

func (v *NullableIPAddress) UnmarshalJSON(src []byte) error

func (*NullableIPAddress) Unset ¶ added in v0.7.1

func (v *NullableIPAddress) Unset()

type NullableIPAddressAddressFamily ¶ added in v0.22.0

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

func NewNullableIPAddressAddressFamily ¶ added in v0.22.0

func NewNullableIPAddressAddressFamily(val *IPAddressAddressFamily) *NullableIPAddressAddressFamily

func (NullableIPAddressAddressFamily) Get ¶ added in v0.22.0

func (NullableIPAddressAddressFamily) IsSet ¶ added in v0.22.0

func (NullableIPAddressAddressFamily) MarshalJSON ¶ added in v0.22.0

func (v NullableIPAddressAddressFamily) MarshalJSON() ([]byte, error)

func (*NullableIPAddressAddressFamily) Set ¶ added in v0.22.0

func (*NullableIPAddressAddressFamily) UnmarshalJSON ¶ added in v0.22.0

func (v *NullableIPAddressAddressFamily) UnmarshalJSON(src []byte) error

func (*NullableIPAddressAddressFamily) Unset ¶ added in v0.22.0

func (v *NullableIPAddressAddressFamily) Unset()

type NullableIPAssignment ¶

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

func NewNullableIPAssignment ¶

func NewNullableIPAssignment(val *IPAssignment) *NullableIPAssignment

func (NullableIPAssignment) Get ¶

func (NullableIPAssignment) IsSet ¶

func (v NullableIPAssignment) IsSet() bool

func (NullableIPAssignment) MarshalJSON ¶

func (v NullableIPAssignment) MarshalJSON() ([]byte, error)

func (*NullableIPAssignment) Set ¶

func (v *NullableIPAssignment) Set(val *IPAssignment)

func (*NullableIPAssignment) UnmarshalJSON ¶

func (v *NullableIPAssignment) UnmarshalJSON(src []byte) error

func (*NullableIPAssignment) Unset ¶

func (v *NullableIPAssignment) Unset()

type NullableIPAssignmentInput ¶

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

func NewNullableIPAssignmentInput ¶

func NewNullableIPAssignmentInput(val *IPAssignmentInput) *NullableIPAssignmentInput

func (NullableIPAssignmentInput) Get ¶

func (NullableIPAssignmentInput) IsSet ¶

func (v NullableIPAssignmentInput) IsSet() bool

func (NullableIPAssignmentInput) MarshalJSON ¶

func (v NullableIPAssignmentInput) MarshalJSON() ([]byte, error)

func (*NullableIPAssignmentInput) Set ¶

func (*NullableIPAssignmentInput) UnmarshalJSON ¶

func (v *NullableIPAssignmentInput) UnmarshalJSON(src []byte) error

func (*NullableIPAssignmentInput) Unset ¶

func (v *NullableIPAssignmentInput) Unset()

type NullableIPAssignmentList ¶

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

func NewNullableIPAssignmentList ¶

func NewNullableIPAssignmentList(val *IPAssignmentList) *NullableIPAssignmentList

func (NullableIPAssignmentList) Get ¶

func (NullableIPAssignmentList) IsSet ¶

func (v NullableIPAssignmentList) IsSet() bool

func (NullableIPAssignmentList) MarshalJSON ¶

func (v NullableIPAssignmentList) MarshalJSON() ([]byte, error)

func (*NullableIPAssignmentList) Set ¶

func (*NullableIPAssignmentList) UnmarshalJSON ¶

func (v *NullableIPAssignmentList) UnmarshalJSON(src []byte) error

func (*NullableIPAssignmentList) Unset ¶

func (v *NullableIPAssignmentList) Unset()

type NullableIPAssignmentMetro ¶ added in v0.4.0

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

func NewNullableIPAssignmentMetro ¶ added in v0.4.0

func NewNullableIPAssignmentMetro(val *IPAssignmentMetro) *NullableIPAssignmentMetro

func (NullableIPAssignmentMetro) Get ¶ added in v0.4.0

func (NullableIPAssignmentMetro) IsSet ¶ added in v0.4.0

func (v NullableIPAssignmentMetro) IsSet() bool

func (NullableIPAssignmentMetro) MarshalJSON ¶ added in v0.4.0

func (v NullableIPAssignmentMetro) MarshalJSON() ([]byte, error)

func (*NullableIPAssignmentMetro) Set ¶ added in v0.4.0

func (*NullableIPAssignmentMetro) UnmarshalJSON ¶ added in v0.4.0

func (v *NullableIPAssignmentMetro) UnmarshalJSON(src []byte) error

func (*NullableIPAssignmentMetro) Unset ¶ added in v0.4.0

func (v *NullableIPAssignmentMetro) Unset()

type NullableIPAssignmentState ¶ added in v0.22.0

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

func NewNullableIPAssignmentState ¶ added in v0.22.0

func NewNullableIPAssignmentState(val *IPAssignmentState) *NullableIPAssignmentState

func (NullableIPAssignmentState) Get ¶ added in v0.22.0

func (NullableIPAssignmentState) IsSet ¶ added in v0.22.0

func (v NullableIPAssignmentState) IsSet() bool

func (NullableIPAssignmentState) MarshalJSON ¶ added in v0.22.0

func (v NullableIPAssignmentState) MarshalJSON() ([]byte, error)

func (*NullableIPAssignmentState) Set ¶ added in v0.22.0

func (*NullableIPAssignmentState) UnmarshalJSON ¶ added in v0.22.0

func (v *NullableIPAssignmentState) UnmarshalJSON(src []byte) error

func (*NullableIPAssignmentState) Unset ¶ added in v0.22.0

func (v *NullableIPAssignmentState) Unset()

type NullableIPAssignmentType ¶ added in v0.23.1

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

func NewNullableIPAssignmentType ¶ added in v0.23.1

func NewNullableIPAssignmentType(val *IPAssignmentType) *NullableIPAssignmentType

func (NullableIPAssignmentType) Get ¶ added in v0.23.1

func (NullableIPAssignmentType) IsSet ¶ added in v0.23.1

func (v NullableIPAssignmentType) IsSet() bool

func (NullableIPAssignmentType) MarshalJSON ¶ added in v0.23.1

func (v NullableIPAssignmentType) MarshalJSON() ([]byte, error)

func (*NullableIPAssignmentType) Set ¶ added in v0.23.1

func (*NullableIPAssignmentType) UnmarshalJSON ¶ added in v0.23.1

func (v *NullableIPAssignmentType) UnmarshalJSON(src []byte) error

func (*NullableIPAssignmentType) Unset ¶ added in v0.23.1

func (v *NullableIPAssignmentType) Unset()

type NullableIPAssignmentUpdateInput ¶ added in v0.5.0

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

func NewNullableIPAssignmentUpdateInput ¶ added in v0.5.0

func NewNullableIPAssignmentUpdateInput(val *IPAssignmentUpdateInput) *NullableIPAssignmentUpdateInput

func (NullableIPAssignmentUpdateInput) Get ¶ added in v0.5.0

func (NullableIPAssignmentUpdateInput) IsSet ¶ added in v0.5.0

func (NullableIPAssignmentUpdateInput) MarshalJSON ¶ added in v0.5.0

func (v NullableIPAssignmentUpdateInput) MarshalJSON() ([]byte, error)

func (*NullableIPAssignmentUpdateInput) Set ¶ added in v0.5.0

func (*NullableIPAssignmentUpdateInput) UnmarshalJSON ¶ added in v0.5.0

func (v *NullableIPAssignmentUpdateInput) UnmarshalJSON(src []byte) error

func (*NullableIPAssignmentUpdateInput) Unset ¶ added in v0.5.0

type NullableIPAvailabilitiesList ¶

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

func (NullableIPAvailabilitiesList) Get ¶

func (NullableIPAvailabilitiesList) IsSet ¶

func (NullableIPAvailabilitiesList) MarshalJSON ¶

func (v NullableIPAvailabilitiesList) MarshalJSON() ([]byte, error)

func (*NullableIPAvailabilitiesList) Set ¶

func (*NullableIPAvailabilitiesList) UnmarshalJSON ¶

func (v *NullableIPAvailabilitiesList) UnmarshalJSON(src []byte) error

func (*NullableIPAvailabilitiesList) Unset ¶

func (v *NullableIPAvailabilitiesList) Unset()

type NullableIPReservation ¶

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

func NewNullableIPReservation ¶

func NewNullableIPReservation(val *IPReservation) *NullableIPReservation

func (NullableIPReservation) Get ¶

func (NullableIPReservation) IsSet ¶

func (v NullableIPReservation) IsSet() bool

func (NullableIPReservation) MarshalJSON ¶

func (v NullableIPReservation) MarshalJSON() ([]byte, error)

func (*NullableIPReservation) Set ¶

func (v *NullableIPReservation) Set(val *IPReservation)

func (*NullableIPReservation) UnmarshalJSON ¶

func (v *NullableIPReservation) UnmarshalJSON(src []byte) error

func (*NullableIPReservation) Unset ¶

func (v *NullableIPReservation) Unset()

type NullableIPReservationFacility ¶

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

func (NullableIPReservationFacility) Get ¶

func (NullableIPReservationFacility) IsSet ¶

func (NullableIPReservationFacility) MarshalJSON ¶

func (v NullableIPReservationFacility) MarshalJSON() ([]byte, error)

func (*NullableIPReservationFacility) Set ¶

func (*NullableIPReservationFacility) UnmarshalJSON ¶

func (v *NullableIPReservationFacility) UnmarshalJSON(src []byte) error

func (*NullableIPReservationFacility) Unset ¶

func (v *NullableIPReservationFacility) Unset()

type NullableIPReservationList ¶

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

func NewNullableIPReservationList ¶

func NewNullableIPReservationList(val *IPReservationList) *NullableIPReservationList

func (NullableIPReservationList) Get ¶

func (NullableIPReservationList) IsSet ¶

func (v NullableIPReservationList) IsSet() bool

func (NullableIPReservationList) MarshalJSON ¶

func (v NullableIPReservationList) MarshalJSON() ([]byte, error)

func (*NullableIPReservationList) Set ¶

func (*NullableIPReservationList) UnmarshalJSON ¶

func (v *NullableIPReservationList) UnmarshalJSON(src []byte) error

func (*NullableIPReservationList) Unset ¶

func (v *NullableIPReservationList) Unset()

type NullableIPReservationListIpAddressesInner ¶ added in v0.4.0

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

func NewNullableIPReservationListIpAddressesInner ¶ added in v0.4.0

func NewNullableIPReservationListIpAddressesInner(val *IPReservationListIpAddressesInner) *NullableIPReservationListIpAddressesInner

func (NullableIPReservationListIpAddressesInner) Get ¶ added in v0.4.0

func (NullableIPReservationListIpAddressesInner) IsSet ¶ added in v0.4.0

func (NullableIPReservationListIpAddressesInner) MarshalJSON ¶ added in v0.4.0

func (*NullableIPReservationListIpAddressesInner) Set ¶ added in v0.4.0

func (*NullableIPReservationListIpAddressesInner) UnmarshalJSON ¶ added in v0.4.0

func (v *NullableIPReservationListIpAddressesInner) UnmarshalJSON(src []byte) error

func (*NullableIPReservationListIpAddressesInner) Unset ¶ added in v0.4.0

type NullableIPReservationMetro ¶

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

func NewNullableIPReservationMetro ¶

func NewNullableIPReservationMetro(val *IPReservationMetro) *NullableIPReservationMetro

func (NullableIPReservationMetro) Get ¶

func (NullableIPReservationMetro) IsSet ¶

func (v NullableIPReservationMetro) IsSet() bool

func (NullableIPReservationMetro) MarshalJSON ¶

func (v NullableIPReservationMetro) MarshalJSON() ([]byte, error)

func (*NullableIPReservationMetro) Set ¶

func (*NullableIPReservationMetro) UnmarshalJSON ¶

func (v *NullableIPReservationMetro) UnmarshalJSON(src []byte) error

func (*NullableIPReservationMetro) Unset ¶

func (v *NullableIPReservationMetro) Unset()

type NullableIPReservationRequestInput ¶

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

func (NullableIPReservationRequestInput) Get ¶

func (NullableIPReservationRequestInput) IsSet ¶

func (NullableIPReservationRequestInput) MarshalJSON ¶

func (v NullableIPReservationRequestInput) MarshalJSON() ([]byte, error)

func (*NullableIPReservationRequestInput) Set ¶

func (*NullableIPReservationRequestInput) UnmarshalJSON ¶

func (v *NullableIPReservationRequestInput) UnmarshalJSON(src []byte) error

func (*NullableIPReservationRequestInput) Unset ¶

type NullableIPReservationType ¶ added in v0.22.0

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

func NewNullableIPReservationType ¶ added in v0.22.0

func NewNullableIPReservationType(val *IPReservationType) *NullableIPReservationType

func (NullableIPReservationType) Get ¶ added in v0.22.0

func (NullableIPReservationType) IsSet ¶ added in v0.22.0

func (v NullableIPReservationType) IsSet() bool

func (NullableIPReservationType) MarshalJSON ¶ added in v0.22.0

func (v NullableIPReservationType) MarshalJSON() ([]byte, error)

func (*NullableIPReservationType) Set ¶ added in v0.22.0

func (*NullableIPReservationType) UnmarshalJSON ¶ added in v0.22.0

func (v *NullableIPReservationType) UnmarshalJSON(src []byte) error

func (*NullableIPReservationType) Unset ¶ added in v0.22.0

func (v *NullableIPReservationType) Unset()

type NullableInstancesBatchCreateInput ¶

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

func (NullableInstancesBatchCreateInput) Get ¶

func (NullableInstancesBatchCreateInput) IsSet ¶

func (NullableInstancesBatchCreateInput) MarshalJSON ¶

func (v NullableInstancesBatchCreateInput) MarshalJSON() ([]byte, error)

func (*NullableInstancesBatchCreateInput) Set ¶

func (*NullableInstancesBatchCreateInput) UnmarshalJSON ¶

func (v *NullableInstancesBatchCreateInput) UnmarshalJSON(src []byte) error

func (*NullableInstancesBatchCreateInput) Unset ¶

type NullableInstancesBatchCreateInputBatchesInner ¶ added in v0.4.0

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

func (NullableInstancesBatchCreateInputBatchesInner) Get ¶ added in v0.4.0

func (NullableInstancesBatchCreateInputBatchesInner) IsSet ¶ added in v0.4.0

func (NullableInstancesBatchCreateInputBatchesInner) MarshalJSON ¶ added in v0.4.0

func (*NullableInstancesBatchCreateInputBatchesInner) Set ¶ added in v0.4.0

func (*NullableInstancesBatchCreateInputBatchesInner) UnmarshalJSON ¶ added in v0.4.0

func (*NullableInstancesBatchCreateInputBatchesInner) Unset ¶ added in v0.4.0

type NullableInt ¶

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

func NewNullableInt ¶

func NewNullableInt(val *int) *NullableInt

func (NullableInt) Get ¶

func (v NullableInt) Get() *int

func (NullableInt) IsSet ¶

func (v NullableInt) IsSet() bool

func (NullableInt) MarshalJSON ¶

func (v NullableInt) MarshalJSON() ([]byte, error)

func (*NullableInt) Set ¶

func (v *NullableInt) Set(val *int)

func (*NullableInt) UnmarshalJSON ¶

func (v *NullableInt) UnmarshalJSON(src []byte) error

func (*NullableInt) Unset ¶

func (v *NullableInt) Unset()

type NullableInt32 ¶

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

func NewNullableInt32 ¶

func NewNullableInt32(val *int32) *NullableInt32

func (NullableInt32) Get ¶

func (v NullableInt32) Get() *int32

func (NullableInt32) IsSet ¶

func (v NullableInt32) IsSet() bool

func (NullableInt32) MarshalJSON ¶

func (v NullableInt32) MarshalJSON() ([]byte, error)

func (*NullableInt32) Set ¶

func (v *NullableInt32) Set(val *int32)

func (*NullableInt32) UnmarshalJSON ¶

func (v *NullableInt32) UnmarshalJSON(src []byte) error

func (*NullableInt32) Unset ¶

func (v *NullableInt32) Unset()

type NullableInt64 ¶

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

func NewNullableInt64 ¶

func NewNullableInt64(val *int64) *NullableInt64

func (NullableInt64) Get ¶

func (v NullableInt64) Get() *int64

func (NullableInt64) IsSet ¶

func (v NullableInt64) IsSet() bool

func (NullableInt64) MarshalJSON ¶

func (v NullableInt64) MarshalJSON() ([]byte, error)

func (*NullableInt64) Set ¶

func (v *NullableInt64) Set(val *int64)

func (*NullableInt64) UnmarshalJSON ¶

func (v *NullableInt64) UnmarshalJSON(src []byte) error

func (*NullableInt64) Unset ¶

func (v *NullableInt64) Unset()

type NullableInterconnection ¶

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

func NewNullableInterconnection ¶

func NewNullableInterconnection(val *Interconnection) *NullableInterconnection

func (NullableInterconnection) Get ¶

func (NullableInterconnection) IsSet ¶

func (v NullableInterconnection) IsSet() bool

func (NullableInterconnection) MarshalJSON ¶

func (v NullableInterconnection) MarshalJSON() ([]byte, error)

func (*NullableInterconnection) Set ¶

func (*NullableInterconnection) UnmarshalJSON ¶

func (v *NullableInterconnection) UnmarshalJSON(src []byte) error

func (*NullableInterconnection) Unset ¶

func (v *NullableInterconnection) Unset()

type NullableInterconnectionList ¶

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

func (NullableInterconnectionList) Get ¶

func (NullableInterconnectionList) IsSet ¶

func (NullableInterconnectionList) MarshalJSON ¶

func (v NullableInterconnectionList) MarshalJSON() ([]byte, error)

func (*NullableInterconnectionList) Set ¶

func (*NullableInterconnectionList) UnmarshalJSON ¶

func (v *NullableInterconnectionList) UnmarshalJSON(src []byte) error

func (*NullableInterconnectionList) Unset ¶

func (v *NullableInterconnectionList) Unset()

type NullableInterconnectionMode ¶ added in v0.22.0

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

func NewNullableInterconnectionMode ¶ added in v0.22.0

func NewNullableInterconnectionMode(val *InterconnectionMode) *NullableInterconnectionMode

func (NullableInterconnectionMode) Get ¶ added in v0.22.0

func (NullableInterconnectionMode) IsSet ¶ added in v0.22.0

func (NullableInterconnectionMode) MarshalJSON ¶ added in v0.22.0

func (v NullableInterconnectionMode) MarshalJSON() ([]byte, error)

func (*NullableInterconnectionMode) Set ¶ added in v0.22.0

func (*NullableInterconnectionMode) UnmarshalJSON ¶ added in v0.22.0

func (v *NullableInterconnectionMode) UnmarshalJSON(src []byte) error

func (*NullableInterconnectionMode) Unset ¶ added in v0.22.0

func (v *NullableInterconnectionMode) Unset()

type NullableInterconnectionPort ¶

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

func (NullableInterconnectionPort) Get ¶

func (NullableInterconnectionPort) IsSet ¶

func (NullableInterconnectionPort) MarshalJSON ¶

func (v NullableInterconnectionPort) MarshalJSON() ([]byte, error)

func (*NullableInterconnectionPort) Set ¶

func (*NullableInterconnectionPort) UnmarshalJSON ¶

func (v *NullableInterconnectionPort) UnmarshalJSON(src []byte) error

func (*NullableInterconnectionPort) Unset ¶

func (v *NullableInterconnectionPort) Unset()

type NullableInterconnectionPortList ¶

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

func (NullableInterconnectionPortList) Get ¶

func (NullableInterconnectionPortList) IsSet ¶

func (NullableInterconnectionPortList) MarshalJSON ¶

func (v NullableInterconnectionPortList) MarshalJSON() ([]byte, error)

func (*NullableInterconnectionPortList) Set ¶

func (*NullableInterconnectionPortList) UnmarshalJSON ¶

func (v *NullableInterconnectionPortList) UnmarshalJSON(src []byte) error

func (*NullableInterconnectionPortList) Unset ¶

type NullableInterconnectionPortRole ¶ added in v0.22.0

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

func NewNullableInterconnectionPortRole ¶ added in v0.22.0

func NewNullableInterconnectionPortRole(val *InterconnectionPortRole) *NullableInterconnectionPortRole

func (NullableInterconnectionPortRole) Get ¶ added in v0.22.0

func (NullableInterconnectionPortRole) IsSet ¶ added in v0.22.0

func (NullableInterconnectionPortRole) MarshalJSON ¶ added in v0.22.0

func (v NullableInterconnectionPortRole) MarshalJSON() ([]byte, error)

func (*NullableInterconnectionPortRole) Set ¶ added in v0.22.0

func (*NullableInterconnectionPortRole) UnmarshalJSON ¶ added in v0.22.0

func (v *NullableInterconnectionPortRole) UnmarshalJSON(src []byte) error

func (*NullableInterconnectionPortRole) Unset ¶ added in v0.22.0

type NullableInterconnectionPortStatus ¶ added in v0.22.0

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

func NewNullableInterconnectionPortStatus ¶ added in v0.22.0

func NewNullableInterconnectionPortStatus(val *InterconnectionPortStatus) *NullableInterconnectionPortStatus

func (NullableInterconnectionPortStatus) Get ¶ added in v0.22.0

func (NullableInterconnectionPortStatus) IsSet ¶ added in v0.22.0

func (NullableInterconnectionPortStatus) MarshalJSON ¶ added in v0.22.0

func (v NullableInterconnectionPortStatus) MarshalJSON() ([]byte, error)

func (*NullableInterconnectionPortStatus) Set ¶ added in v0.22.0

func (*NullableInterconnectionPortStatus) UnmarshalJSON ¶ added in v0.22.0

func (v *NullableInterconnectionPortStatus) UnmarshalJSON(src []byte) error

func (*NullableInterconnectionPortStatus) Unset ¶ added in v0.22.0

type NullableInterconnectionRedundancy ¶ added in v0.22.0

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

func NewNullableInterconnectionRedundancy ¶ added in v0.22.0

func NewNullableInterconnectionRedundancy(val *InterconnectionRedundancy) *NullableInterconnectionRedundancy

func (NullableInterconnectionRedundancy) Get ¶ added in v0.22.0

func (NullableInterconnectionRedundancy) IsSet ¶ added in v0.22.0

func (NullableInterconnectionRedundancy) MarshalJSON ¶ added in v0.22.0

func (v NullableInterconnectionRedundancy) MarshalJSON() ([]byte, error)

func (*NullableInterconnectionRedundancy) Set ¶ added in v0.22.0

func (*NullableInterconnectionRedundancy) UnmarshalJSON ¶ added in v0.22.0

func (v *NullableInterconnectionRedundancy) UnmarshalJSON(src []byte) error

func (*NullableInterconnectionRedundancy) Unset ¶ added in v0.22.0

type NullableInterconnectionType ¶ added in v0.22.0

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

func NewNullableInterconnectionType ¶ added in v0.22.0

func NewNullableInterconnectionType(val *InterconnectionType) *NullableInterconnectionType

func (NullableInterconnectionType) Get ¶ added in v0.22.0

func (NullableInterconnectionType) IsSet ¶ added in v0.22.0

func (NullableInterconnectionType) MarshalJSON ¶ added in v0.22.0

func (v NullableInterconnectionType) MarshalJSON() ([]byte, error)

func (*NullableInterconnectionType) Set ¶ added in v0.22.0

func (*NullableInterconnectionType) UnmarshalJSON ¶ added in v0.22.0

func (v *NullableInterconnectionType) UnmarshalJSON(src []byte) error

func (*NullableInterconnectionType) Unset ¶ added in v0.22.0

func (v *NullableInterconnectionType) Unset()

type NullableInterconnectionUpdateInput ¶

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

func (NullableInterconnectionUpdateInput) Get ¶

func (NullableInterconnectionUpdateInput) IsSet ¶

func (NullableInterconnectionUpdateInput) MarshalJSON ¶

func (v NullableInterconnectionUpdateInput) MarshalJSON() ([]byte, error)

func (*NullableInterconnectionUpdateInput) Set ¶

func (*NullableInterconnectionUpdateInput) UnmarshalJSON ¶

func (v *NullableInterconnectionUpdateInput) UnmarshalJSON(src []byte) error

func (*NullableInterconnectionUpdateInput) Unset ¶

type NullableInvitation ¶

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

func NewNullableInvitation ¶

func NewNullableInvitation(val *Invitation) *NullableInvitation

func (NullableInvitation) Get ¶

func (v NullableInvitation) Get() *Invitation

func (NullableInvitation) IsSet ¶

func (v NullableInvitation) IsSet() bool

func (NullableInvitation) MarshalJSON ¶

func (v NullableInvitation) MarshalJSON() ([]byte, error)

func (*NullableInvitation) Set ¶

func (v *NullableInvitation) Set(val *Invitation)

func (*NullableInvitation) UnmarshalJSON ¶

func (v *NullableInvitation) UnmarshalJSON(src []byte) error

func (*NullableInvitation) Unset ¶

func (v *NullableInvitation) Unset()

type NullableInvitationInput ¶

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

func NewNullableInvitationInput ¶

func NewNullableInvitationInput(val *InvitationInput) *NullableInvitationInput

func (NullableInvitationInput) Get ¶

func (NullableInvitationInput) IsSet ¶

func (v NullableInvitationInput) IsSet() bool

func (NullableInvitationInput) MarshalJSON ¶

func (v NullableInvitationInput) MarshalJSON() ([]byte, error)

func (*NullableInvitationInput) Set ¶

func (*NullableInvitationInput) UnmarshalJSON ¶

func (v *NullableInvitationInput) UnmarshalJSON(src []byte) error

func (*NullableInvitationInput) Unset ¶

func (v *NullableInvitationInput) Unset()

type NullableInvitationList ¶

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

func NewNullableInvitationList ¶

func NewNullableInvitationList(val *InvitationList) *NullableInvitationList

func (NullableInvitationList) Get ¶

func (NullableInvitationList) IsSet ¶

func (v NullableInvitationList) IsSet() bool

func (NullableInvitationList) MarshalJSON ¶

func (v NullableInvitationList) MarshalJSON() ([]byte, error)

func (*NullableInvitationList) Set ¶

func (*NullableInvitationList) UnmarshalJSON ¶

func (v *NullableInvitationList) UnmarshalJSON(src []byte) error

func (*NullableInvitationList) Unset ¶

func (v *NullableInvitationList) Unset()

type NullableInvitationRolesInner ¶ added in v0.22.0

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

func NewNullableInvitationRolesInner ¶ added in v0.22.0

func NewNullableInvitationRolesInner(val *InvitationRolesInner) *NullableInvitationRolesInner

func (NullableInvitationRolesInner) Get ¶ added in v0.22.0

func (NullableInvitationRolesInner) IsSet ¶ added in v0.22.0

func (NullableInvitationRolesInner) MarshalJSON ¶ added in v0.22.0

func (v NullableInvitationRolesInner) MarshalJSON() ([]byte, error)

func (*NullableInvitationRolesInner) Set ¶ added in v0.22.0

func (*NullableInvitationRolesInner) UnmarshalJSON ¶ added in v0.22.0

func (v *NullableInvitationRolesInner) UnmarshalJSON(src []byte) error

func (*NullableInvitationRolesInner) Unset ¶ added in v0.22.0

func (v *NullableInvitationRolesInner) Unset()

type NullableInvoice ¶ added in v0.9.0

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

func NewNullableInvoice ¶ added in v0.9.0

func NewNullableInvoice(val *Invoice) *NullableInvoice

func (NullableInvoice) Get ¶ added in v0.9.0

func (v NullableInvoice) Get() *Invoice

func (NullableInvoice) IsSet ¶ added in v0.9.0

func (v NullableInvoice) IsSet() bool

func (NullableInvoice) MarshalJSON ¶ added in v0.9.0

func (v NullableInvoice) MarshalJSON() ([]byte, error)

func (*NullableInvoice) Set ¶ added in v0.9.0

func (v *NullableInvoice) Set(val *Invoice)

func (*NullableInvoice) UnmarshalJSON ¶ added in v0.9.0

func (v *NullableInvoice) UnmarshalJSON(src []byte) error

func (*NullableInvoice) Unset ¶ added in v0.9.0

func (v *NullableInvoice) Unset()

type NullableInvoiceList ¶ added in v0.9.0

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

func NewNullableInvoiceList ¶ added in v0.9.0

func NewNullableInvoiceList(val *InvoiceList) *NullableInvoiceList

func (NullableInvoiceList) Get ¶ added in v0.9.0

func (NullableInvoiceList) IsSet ¶ added in v0.9.0

func (v NullableInvoiceList) IsSet() bool

func (NullableInvoiceList) MarshalJSON ¶ added in v0.9.0

func (v NullableInvoiceList) MarshalJSON() ([]byte, error)

func (*NullableInvoiceList) Set ¶ added in v0.9.0

func (v *NullableInvoiceList) Set(val *InvoiceList)

func (*NullableInvoiceList) UnmarshalJSON ¶ added in v0.9.0

func (v *NullableInvoiceList) UnmarshalJSON(src []byte) error

func (*NullableInvoiceList) Unset ¶ added in v0.9.0

func (v *NullableInvoiceList) Unset()

type NullableLicense ¶

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

func NewNullableLicense ¶

func NewNullableLicense(val *License) *NullableLicense

func (NullableLicense) Get ¶

func (v NullableLicense) Get() *License

func (NullableLicense) IsSet ¶

func (v NullableLicense) IsSet() bool

func (NullableLicense) MarshalJSON ¶

func (v NullableLicense) MarshalJSON() ([]byte, error)

func (*NullableLicense) Set ¶

func (v *NullableLicense) Set(val *License)

func (*NullableLicense) UnmarshalJSON ¶

func (v *NullableLicense) UnmarshalJSON(src []byte) error

func (*NullableLicense) Unset ¶

func (v *NullableLicense) Unset()

type NullableLicenseCreateInput ¶

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

func NewNullableLicenseCreateInput ¶

func NewNullableLicenseCreateInput(val *LicenseCreateInput) *NullableLicenseCreateInput

func (NullableLicenseCreateInput) Get ¶

func (NullableLicenseCreateInput) IsSet ¶

func (v NullableLicenseCreateInput) IsSet() bool

func (NullableLicenseCreateInput) MarshalJSON ¶

func (v NullableLicenseCreateInput) MarshalJSON() ([]byte, error)

func (*NullableLicenseCreateInput) Set ¶

func (*NullableLicenseCreateInput) UnmarshalJSON ¶

func (v *NullableLicenseCreateInput) UnmarshalJSON(src []byte) error

func (*NullableLicenseCreateInput) Unset ¶

func (v *NullableLicenseCreateInput) Unset()

type NullableLicenseList ¶

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

func NewNullableLicenseList ¶

func NewNullableLicenseList(val *LicenseList) *NullableLicenseList

func (NullableLicenseList) Get ¶

func (NullableLicenseList) IsSet ¶

func (v NullableLicenseList) IsSet() bool

func (NullableLicenseList) MarshalJSON ¶

func (v NullableLicenseList) MarshalJSON() ([]byte, error)

func (*NullableLicenseList) Set ¶

func (v *NullableLicenseList) Set(val *LicenseList)

func (*NullableLicenseList) UnmarshalJSON ¶

func (v *NullableLicenseList) UnmarshalJSON(src []byte) error

func (*NullableLicenseList) Unset ¶

func (v *NullableLicenseList) Unset()

type NullableLicenseUpdateInput ¶

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

func NewNullableLicenseUpdateInput ¶

func NewNullableLicenseUpdateInput(val *LicenseUpdateInput) *NullableLicenseUpdateInput

func (NullableLicenseUpdateInput) Get ¶

func (NullableLicenseUpdateInput) IsSet ¶

func (v NullableLicenseUpdateInput) IsSet() bool

func (NullableLicenseUpdateInput) MarshalJSON ¶

func (v NullableLicenseUpdateInput) MarshalJSON() ([]byte, error)

func (*NullableLicenseUpdateInput) Set ¶

func (*NullableLicenseUpdateInput) UnmarshalJSON ¶

func (v *NullableLicenseUpdateInput) UnmarshalJSON(src []byte) error

func (*NullableLicenseUpdateInput) Unset ¶

func (v *NullableLicenseUpdateInput) Unset()

type NullableLineItem ¶ added in v0.9.0

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

func NewNullableLineItem ¶ added in v0.9.0

func NewNullableLineItem(val *LineItem) *NullableLineItem

func (NullableLineItem) Get ¶ added in v0.9.0

func (v NullableLineItem) Get() *LineItem

func (NullableLineItem) IsSet ¶ added in v0.9.0

func (v NullableLineItem) IsSet() bool

func (NullableLineItem) MarshalJSON ¶ added in v0.9.0

func (v NullableLineItem) MarshalJSON() ([]byte, error)

func (*NullableLineItem) Set ¶ added in v0.9.0

func (v *NullableLineItem) Set(val *LineItem)

func (*NullableLineItem) UnmarshalJSON ¶ added in v0.9.0

func (v *NullableLineItem) UnmarshalJSON(src []byte) error

func (*NullableLineItem) Unset ¶ added in v0.9.0

func (v *NullableLineItem) Unset()

type NullableMembership ¶

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

func NewNullableMembership ¶

func NewNullableMembership(val *Membership) *NullableMembership

func (NullableMembership) Get ¶

func (v NullableMembership) Get() *Membership

func (NullableMembership) IsSet ¶

func (v NullableMembership) IsSet() bool

func (NullableMembership) MarshalJSON ¶

func (v NullableMembership) MarshalJSON() ([]byte, error)

func (*NullableMembership) Set ¶

func (v *NullableMembership) Set(val *Membership)

func (*NullableMembership) UnmarshalJSON ¶

func (v *NullableMembership) UnmarshalJSON(src []byte) error

func (*NullableMembership) Unset ¶

func (v *NullableMembership) Unset()

type NullableMembershipInput ¶

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

func NewNullableMembershipInput ¶

func NewNullableMembershipInput(val *MembershipInput) *NullableMembershipInput

func (NullableMembershipInput) Get ¶

func (NullableMembershipInput) IsSet ¶

func (v NullableMembershipInput) IsSet() bool

func (NullableMembershipInput) MarshalJSON ¶

func (v NullableMembershipInput) MarshalJSON() ([]byte, error)

func (*NullableMembershipInput) Set ¶

func (*NullableMembershipInput) UnmarshalJSON ¶

func (v *NullableMembershipInput) UnmarshalJSON(src []byte) error

func (*NullableMembershipInput) Unset ¶

func (v *NullableMembershipInput) Unset()

type NullableMembershipList ¶

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

func NewNullableMembershipList ¶

func NewNullableMembershipList(val *MembershipList) *NullableMembershipList

func (NullableMembershipList) Get ¶

func (NullableMembershipList) IsSet ¶

func (v NullableMembershipList) IsSet() bool

func (NullableMembershipList) MarshalJSON ¶

func (v NullableMembershipList) MarshalJSON() ([]byte, error)

func (*NullableMembershipList) Set ¶

func (*NullableMembershipList) UnmarshalJSON ¶

func (v *NullableMembershipList) UnmarshalJSON(src []byte) error

func (*NullableMembershipList) Unset ¶

func (v *NullableMembershipList) Unset()

type NullableMeta ¶

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

func NewNullableMeta ¶

func NewNullableMeta(val *Meta) *NullableMeta

func (NullableMeta) Get ¶

func (v NullableMeta) Get() *Meta

func (NullableMeta) IsSet ¶

func (v NullableMeta) IsSet() bool

func (NullableMeta) MarshalJSON ¶

func (v NullableMeta) MarshalJSON() ([]byte, error)

func (*NullableMeta) Set ¶

func (v *NullableMeta) Set(val *Meta)

func (*NullableMeta) UnmarshalJSON ¶

func (v *NullableMeta) UnmarshalJSON(src []byte) error

func (*NullableMeta) Unset ¶

func (v *NullableMeta) Unset()

type NullableMetadata ¶ added in v0.3.0

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

func NewNullableMetadata ¶ added in v0.3.0

func NewNullableMetadata(val *Metadata) *NullableMetadata

func (NullableMetadata) Get ¶ added in v0.3.0

func (v NullableMetadata) Get() *Metadata

func (NullableMetadata) IsSet ¶ added in v0.3.0

func (v NullableMetadata) IsSet() bool

func (NullableMetadata) MarshalJSON ¶ added in v0.3.0

func (v NullableMetadata) MarshalJSON() ([]byte, error)

func (*NullableMetadata) Set ¶ added in v0.3.0

func (v *NullableMetadata) Set(val *Metadata)

func (*NullableMetadata) UnmarshalJSON ¶ added in v0.3.0

func (v *NullableMetadata) UnmarshalJSON(src []byte) error

func (*NullableMetadata) Unset ¶ added in v0.3.0

func (v *NullableMetadata) Unset()

type NullableMetadataNetwork ¶ added in v0.4.0

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

func NewNullableMetadataNetwork ¶ added in v0.4.0

func NewNullableMetadataNetwork(val *MetadataNetwork) *NullableMetadataNetwork

func (NullableMetadataNetwork) Get ¶ added in v0.4.0

func (NullableMetadataNetwork) IsSet ¶ added in v0.4.0

func (v NullableMetadataNetwork) IsSet() bool

func (NullableMetadataNetwork) MarshalJSON ¶ added in v0.4.0

func (v NullableMetadataNetwork) MarshalJSON() ([]byte, error)

func (*NullableMetadataNetwork) Set ¶ added in v0.4.0

func (*NullableMetadataNetwork) UnmarshalJSON ¶ added in v0.4.0

func (v *NullableMetadataNetwork) UnmarshalJSON(src []byte) error

func (*NullableMetadataNetwork) Unset ¶ added in v0.4.0

func (v *NullableMetadataNetwork) Unset()

type NullableMetadataNetworkNetwork ¶ added in v0.4.0

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

func NewNullableMetadataNetworkNetwork ¶ added in v0.4.0

func NewNullableMetadataNetworkNetwork(val *MetadataNetworkNetwork) *NullableMetadataNetworkNetwork

func (NullableMetadataNetworkNetwork) Get ¶ added in v0.4.0

func (NullableMetadataNetworkNetwork) IsSet ¶ added in v0.4.0

func (NullableMetadataNetworkNetwork) MarshalJSON ¶ added in v0.4.0

func (v NullableMetadataNetworkNetwork) MarshalJSON() ([]byte, error)

func (*NullableMetadataNetworkNetwork) Set ¶ added in v0.4.0

func (*NullableMetadataNetworkNetwork) UnmarshalJSON ¶ added in v0.4.0

func (v *NullableMetadataNetworkNetwork) UnmarshalJSON(src []byte) error

func (*NullableMetadataNetworkNetwork) Unset ¶ added in v0.4.0

func (v *NullableMetadataNetworkNetwork) Unset()

type NullableMetadataNetworkNetworkBonding ¶ added in v0.4.0

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

func NewNullableMetadataNetworkNetworkBonding ¶ added in v0.4.0

func NewNullableMetadataNetworkNetworkBonding(val *MetadataNetworkNetworkBonding) *NullableMetadataNetworkNetworkBonding

func (NullableMetadataNetworkNetworkBonding) Get ¶ added in v0.4.0

func (NullableMetadataNetworkNetworkBonding) IsSet ¶ added in v0.4.0

func (NullableMetadataNetworkNetworkBonding) MarshalJSON ¶ added in v0.4.0

func (v NullableMetadataNetworkNetworkBonding) MarshalJSON() ([]byte, error)

func (*NullableMetadataNetworkNetworkBonding) Set ¶ added in v0.4.0

func (*NullableMetadataNetworkNetworkBonding) UnmarshalJSON ¶ added in v0.4.0

func (v *NullableMetadataNetworkNetworkBonding) UnmarshalJSON(src []byte) error

func (*NullableMetadataNetworkNetworkBonding) Unset ¶ added in v0.4.0

type NullableMetalGateway ¶

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

func NewNullableMetalGateway ¶

func NewNullableMetalGateway(val *MetalGateway) *NullableMetalGateway

func (NullableMetalGateway) Get ¶

func (NullableMetalGateway) IsSet ¶

func (v NullableMetalGateway) IsSet() bool

func (NullableMetalGateway) MarshalJSON ¶

func (v NullableMetalGateway) MarshalJSON() ([]byte, error)

func (*NullableMetalGateway) Set ¶

func (v *NullableMetalGateway) Set(val *MetalGateway)

func (*NullableMetalGateway) UnmarshalJSON ¶

func (v *NullableMetalGateway) UnmarshalJSON(src []byte) error

func (*NullableMetalGateway) Unset ¶

func (v *NullableMetalGateway) Unset()

type NullableMetalGatewayCreateInput ¶ added in v0.3.0

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

func NewNullableMetalGatewayCreateInput ¶ added in v0.3.0

func NewNullableMetalGatewayCreateInput(val *MetalGatewayCreateInput) *NullableMetalGatewayCreateInput

func (NullableMetalGatewayCreateInput) Get ¶ added in v0.3.0

func (NullableMetalGatewayCreateInput) IsSet ¶ added in v0.3.0

func (NullableMetalGatewayCreateInput) MarshalJSON ¶ added in v0.3.0

func (v NullableMetalGatewayCreateInput) MarshalJSON() ([]byte, error)

func (*NullableMetalGatewayCreateInput) Set ¶ added in v0.3.0

func (*NullableMetalGatewayCreateInput) UnmarshalJSON ¶ added in v0.3.0

func (v *NullableMetalGatewayCreateInput) UnmarshalJSON(src []byte) error

func (*NullableMetalGatewayCreateInput) Unset ¶ added in v0.3.0

type NullableMetalGatewayElasticIpCreateInput ¶ added in v0.8.0

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

func NewNullableMetalGatewayElasticIpCreateInput ¶ added in v0.8.0

func NewNullableMetalGatewayElasticIpCreateInput(val *MetalGatewayElasticIpCreateInput) *NullableMetalGatewayElasticIpCreateInput

func (NullableMetalGatewayElasticIpCreateInput) Get ¶ added in v0.8.0

func (NullableMetalGatewayElasticIpCreateInput) IsSet ¶ added in v0.8.0

func (NullableMetalGatewayElasticIpCreateInput) MarshalJSON ¶ added in v0.8.0

func (*NullableMetalGatewayElasticIpCreateInput) Set ¶ added in v0.8.0

func (*NullableMetalGatewayElasticIpCreateInput) UnmarshalJSON ¶ added in v0.8.0

func (v *NullableMetalGatewayElasticIpCreateInput) UnmarshalJSON(src []byte) error

func (*NullableMetalGatewayElasticIpCreateInput) Unset ¶ added in v0.8.0

type NullableMetalGatewayList ¶

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

func NewNullableMetalGatewayList ¶

func NewNullableMetalGatewayList(val *MetalGatewayList) *NullableMetalGatewayList

func (NullableMetalGatewayList) Get ¶

func (NullableMetalGatewayList) IsSet ¶

func (v NullableMetalGatewayList) IsSet() bool

func (NullableMetalGatewayList) MarshalJSON ¶

func (v NullableMetalGatewayList) MarshalJSON() ([]byte, error)

func (*NullableMetalGatewayList) Set ¶

func (*NullableMetalGatewayList) UnmarshalJSON ¶

func (v *NullableMetalGatewayList) UnmarshalJSON(src []byte) error

func (*NullableMetalGatewayList) Unset ¶

func (v *NullableMetalGatewayList) Unset()

type NullableMetalGatewayListMetalGatewaysInner ¶ added in v0.4.0

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

func NewNullableMetalGatewayListMetalGatewaysInner ¶ added in v0.4.0

func NewNullableMetalGatewayListMetalGatewaysInner(val *MetalGatewayListMetalGatewaysInner) *NullableMetalGatewayListMetalGatewaysInner

func (NullableMetalGatewayListMetalGatewaysInner) Get ¶ added in v0.4.0

func (NullableMetalGatewayListMetalGatewaysInner) IsSet ¶ added in v0.4.0

func (NullableMetalGatewayListMetalGatewaysInner) MarshalJSON ¶ added in v0.4.0

func (*NullableMetalGatewayListMetalGatewaysInner) Set ¶ added in v0.4.0

func (*NullableMetalGatewayListMetalGatewaysInner) UnmarshalJSON ¶ added in v0.4.0

func (v *NullableMetalGatewayListMetalGatewaysInner) UnmarshalJSON(src []byte) error

func (*NullableMetalGatewayListMetalGatewaysInner) Unset ¶ added in v0.4.0

type NullableMetalGatewayLite ¶

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

func NewNullableMetalGatewayLite ¶

func NewNullableMetalGatewayLite(val *MetalGatewayLite) *NullableMetalGatewayLite

func (NullableMetalGatewayLite) Get ¶

func (NullableMetalGatewayLite) IsSet ¶

func (v NullableMetalGatewayLite) IsSet() bool

func (NullableMetalGatewayLite) MarshalJSON ¶

func (v NullableMetalGatewayLite) MarshalJSON() ([]byte, error)

func (*NullableMetalGatewayLite) Set ¶

func (*NullableMetalGatewayLite) UnmarshalJSON ¶

func (v *NullableMetalGatewayLite) UnmarshalJSON(src []byte) error

func (*NullableMetalGatewayLite) Unset ¶

func (v *NullableMetalGatewayLite) Unset()

type NullableMetalGatewayState ¶ added in v0.22.0

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

func NewNullableMetalGatewayState ¶ added in v0.22.0

func NewNullableMetalGatewayState(val *MetalGatewayState) *NullableMetalGatewayState

func (NullableMetalGatewayState) Get ¶ added in v0.22.0

func (NullableMetalGatewayState) IsSet ¶ added in v0.22.0

func (v NullableMetalGatewayState) IsSet() bool

func (NullableMetalGatewayState) MarshalJSON ¶ added in v0.22.0

func (v NullableMetalGatewayState) MarshalJSON() ([]byte, error)

func (*NullableMetalGatewayState) Set ¶ added in v0.22.0

func (*NullableMetalGatewayState) UnmarshalJSON ¶ added in v0.22.0

func (v *NullableMetalGatewayState) UnmarshalJSON(src []byte) error

func (*NullableMetalGatewayState) Unset ¶ added in v0.22.0

func (v *NullableMetalGatewayState) Unset()

type NullableMetro ¶

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

func NewNullableMetro ¶

func NewNullableMetro(val *Metro) *NullableMetro

func (NullableMetro) Get ¶

func (v NullableMetro) Get() *Metro

func (NullableMetro) IsSet ¶

func (v NullableMetro) IsSet() bool

func (NullableMetro) MarshalJSON ¶

func (v NullableMetro) MarshalJSON() ([]byte, error)

func (*NullableMetro) Set ¶

func (v *NullableMetro) Set(val *Metro)

func (*NullableMetro) UnmarshalJSON ¶

func (v *NullableMetro) UnmarshalJSON(src []byte) error

func (*NullableMetro) Unset ¶

func (v *NullableMetro) Unset()

type NullableMetroInput ¶ added in v0.4.0

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

func NewNullableMetroInput ¶ added in v0.4.0

func NewNullableMetroInput(val *MetroInput) *NullableMetroInput

func (NullableMetroInput) Get ¶ added in v0.4.0

func (v NullableMetroInput) Get() *MetroInput

func (NullableMetroInput) IsSet ¶ added in v0.4.0

func (v NullableMetroInput) IsSet() bool

func (NullableMetroInput) MarshalJSON ¶ added in v0.4.0

func (v NullableMetroInput) MarshalJSON() ([]byte, error)

func (*NullableMetroInput) Set ¶ added in v0.4.0

func (v *NullableMetroInput) Set(val *MetroInput)

func (*NullableMetroInput) UnmarshalJSON ¶ added in v0.4.0

func (v *NullableMetroInput) UnmarshalJSON(src []byte) error

func (*NullableMetroInput) Unset ¶ added in v0.4.0

func (v *NullableMetroInput) Unset()

type NullableMetroList ¶

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

func NewNullableMetroList ¶

func NewNullableMetroList(val *MetroList) *NullableMetroList

func (NullableMetroList) Get ¶

func (v NullableMetroList) Get() *MetroList

func (NullableMetroList) IsSet ¶

func (v NullableMetroList) IsSet() bool

func (NullableMetroList) MarshalJSON ¶

func (v NullableMetroList) MarshalJSON() ([]byte, error)

func (*NullableMetroList) Set ¶

func (v *NullableMetroList) Set(val *MetroList)

func (*NullableMetroList) UnmarshalJSON ¶

func (v *NullableMetroList) UnmarshalJSON(src []byte) error

func (*NullableMetroList) Unset ¶

func (v *NullableMetroList) Unset()

type NullableMount ¶ added in v0.6.0

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

func NewNullableMount ¶ added in v0.6.0

func NewNullableMount(val *Mount) *NullableMount

func (NullableMount) Get ¶ added in v0.6.0

func (v NullableMount) Get() *Mount

func (NullableMount) IsSet ¶ added in v0.6.0

func (v NullableMount) IsSet() bool

func (NullableMount) MarshalJSON ¶ added in v0.6.0

func (v NullableMount) MarshalJSON() ([]byte, error)

func (*NullableMount) Set ¶ added in v0.6.0

func (v *NullableMount) Set(val *Mount)

func (*NullableMount) UnmarshalJSON ¶ added in v0.6.0

func (v *NullableMount) UnmarshalJSON(src []byte) error

func (*NullableMount) Unset ¶ added in v0.6.0

func (v *NullableMount) Unset()

type NullableMoveHardwareReservationRequest ¶ added in v0.5.0

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

func NewNullableMoveHardwareReservationRequest ¶ added in v0.5.0

func NewNullableMoveHardwareReservationRequest(val *MoveHardwareReservationRequest) *NullableMoveHardwareReservationRequest

func (NullableMoveHardwareReservationRequest) Get ¶ added in v0.5.0

func (NullableMoveHardwareReservationRequest) IsSet ¶ added in v0.5.0

func (NullableMoveHardwareReservationRequest) MarshalJSON ¶ added in v0.5.0

func (v NullableMoveHardwareReservationRequest) MarshalJSON() ([]byte, error)

func (*NullableMoveHardwareReservationRequest) Set ¶ added in v0.5.0

func (*NullableMoveHardwareReservationRequest) UnmarshalJSON ¶ added in v0.5.0

func (v *NullableMoveHardwareReservationRequest) UnmarshalJSON(src []byte) error

func (*NullableMoveHardwareReservationRequest) Unset ¶ added in v0.5.0

type NullableNewPassword ¶

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

func NewNullableNewPassword ¶

func NewNullableNewPassword(val *NewPassword) *NullableNewPassword

func (NullableNewPassword) Get ¶

func (NullableNewPassword) IsSet ¶

func (v NullableNewPassword) IsSet() bool

func (NullableNewPassword) MarshalJSON ¶

func (v NullableNewPassword) MarshalJSON() ([]byte, error)

func (*NullableNewPassword) Set ¶

func (v *NullableNewPassword) Set(val *NewPassword)

func (*NullableNewPassword) UnmarshalJSON ¶

func (v *NullableNewPassword) UnmarshalJSON(src []byte) error

func (*NullableNewPassword) Unset ¶

func (v *NullableNewPassword) Unset()

type NullableOperatingSystem ¶

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

func NewNullableOperatingSystem ¶

func NewNullableOperatingSystem(val *OperatingSystem) *NullableOperatingSystem

func (NullableOperatingSystem) Get ¶

func (NullableOperatingSystem) IsSet ¶

func (v NullableOperatingSystem) IsSet() bool

func (NullableOperatingSystem) MarshalJSON ¶

func (v NullableOperatingSystem) MarshalJSON() ([]byte, error)

func (*NullableOperatingSystem) Set ¶

func (*NullableOperatingSystem) UnmarshalJSON ¶

func (v *NullableOperatingSystem) UnmarshalJSON(src []byte) error

func (*NullableOperatingSystem) Unset ¶

func (v *NullableOperatingSystem) Unset()

type NullableOperatingSystemList ¶

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

func (NullableOperatingSystemList) Get ¶

func (NullableOperatingSystemList) IsSet ¶

func (NullableOperatingSystemList) MarshalJSON ¶

func (v NullableOperatingSystemList) MarshalJSON() ([]byte, error)

func (*NullableOperatingSystemList) Set ¶

func (*NullableOperatingSystemList) UnmarshalJSON ¶

func (v *NullableOperatingSystemList) UnmarshalJSON(src []byte) error

func (*NullableOperatingSystemList) Unset ¶

func (v *NullableOperatingSystemList) Unset()

type NullableOrganization ¶

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

func NewNullableOrganization ¶

func NewNullableOrganization(val *Organization) *NullableOrganization

func (NullableOrganization) Get ¶

func (NullableOrganization) IsSet ¶

func (v NullableOrganization) IsSet() bool

func (NullableOrganization) MarshalJSON ¶

func (v NullableOrganization) MarshalJSON() ([]byte, error)

func (*NullableOrganization) Set ¶

func (v *NullableOrganization) Set(val *Organization)

func (*NullableOrganization) UnmarshalJSON ¶

func (v *NullableOrganization) UnmarshalJSON(src []byte) error

func (*NullableOrganization) Unset ¶

func (v *NullableOrganization) Unset()

type NullableOrganizationInput ¶

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

func NewNullableOrganizationInput ¶

func NewNullableOrganizationInput(val *OrganizationInput) *NullableOrganizationInput

func (NullableOrganizationInput) Get ¶

func (NullableOrganizationInput) IsSet ¶

func (v NullableOrganizationInput) IsSet() bool

func (NullableOrganizationInput) MarshalJSON ¶

func (v NullableOrganizationInput) MarshalJSON() ([]byte, error)

func (*NullableOrganizationInput) Set ¶

func (*NullableOrganizationInput) UnmarshalJSON ¶

func (v *NullableOrganizationInput) UnmarshalJSON(src []byte) error

func (*NullableOrganizationInput) Unset ¶

func (v *NullableOrganizationInput) Unset()

type NullableOrganizationList ¶

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

func NewNullableOrganizationList ¶

func NewNullableOrganizationList(val *OrganizationList) *NullableOrganizationList

func (NullableOrganizationList) Get ¶

func (NullableOrganizationList) IsSet ¶

func (v NullableOrganizationList) IsSet() bool

func (NullableOrganizationList) MarshalJSON ¶

func (v NullableOrganizationList) MarshalJSON() ([]byte, error)

func (*NullableOrganizationList) Set ¶

func (*NullableOrganizationList) UnmarshalJSON ¶

func (v *NullableOrganizationList) UnmarshalJSON(src []byte) error

func (*NullableOrganizationList) Unset ¶

func (v *NullableOrganizationList) Unset()

type NullableParentBlock ¶

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

func NewNullableParentBlock ¶

func NewNullableParentBlock(val *ParentBlock) *NullableParentBlock

func (NullableParentBlock) Get ¶

func (NullableParentBlock) IsSet ¶

func (v NullableParentBlock) IsSet() bool

func (NullableParentBlock) MarshalJSON ¶

func (v NullableParentBlock) MarshalJSON() ([]byte, error)

func (*NullableParentBlock) Set ¶

func (v *NullableParentBlock) Set(val *ParentBlock)

func (*NullableParentBlock) UnmarshalJSON ¶

func (v *NullableParentBlock) UnmarshalJSON(src []byte) error

func (*NullableParentBlock) Unset ¶

func (v *NullableParentBlock) Unset()

type NullablePartition ¶ added in v0.6.0

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

func NewNullablePartition ¶ added in v0.6.0

func NewNullablePartition(val *Partition) *NullablePartition

func (NullablePartition) Get ¶ added in v0.6.0

func (v NullablePartition) Get() *Partition

func (NullablePartition) IsSet ¶ added in v0.6.0

func (v NullablePartition) IsSet() bool

func (NullablePartition) MarshalJSON ¶ added in v0.6.0

func (v NullablePartition) MarshalJSON() ([]byte, error)

func (*NullablePartition) Set ¶ added in v0.6.0

func (v *NullablePartition) Set(val *Partition)

func (*NullablePartition) UnmarshalJSON ¶ added in v0.6.0

func (v *NullablePartition) UnmarshalJSON(src []byte) error

func (*NullablePartition) Unset ¶ added in v0.6.0

func (v *NullablePartition) Unset()

type NullablePaymentMethod ¶

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

func NewNullablePaymentMethod ¶

func NewNullablePaymentMethod(val *PaymentMethod) *NullablePaymentMethod

func (NullablePaymentMethod) Get ¶

func (NullablePaymentMethod) IsSet ¶

func (v NullablePaymentMethod) IsSet() bool

func (NullablePaymentMethod) MarshalJSON ¶

func (v NullablePaymentMethod) MarshalJSON() ([]byte, error)

func (*NullablePaymentMethod) Set ¶

func (v *NullablePaymentMethod) Set(val *PaymentMethod)

func (*NullablePaymentMethod) UnmarshalJSON ¶

func (v *NullablePaymentMethod) UnmarshalJSON(src []byte) error

func (*NullablePaymentMethod) Unset ¶

func (v *NullablePaymentMethod) Unset()

type NullablePaymentMethodBillingAddress ¶

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

func (NullablePaymentMethodBillingAddress) Get ¶

func (NullablePaymentMethodBillingAddress) IsSet ¶

func (NullablePaymentMethodBillingAddress) MarshalJSON ¶

func (v NullablePaymentMethodBillingAddress) MarshalJSON() ([]byte, error)

func (*NullablePaymentMethodBillingAddress) Set ¶

func (*NullablePaymentMethodBillingAddress) UnmarshalJSON ¶

func (v *NullablePaymentMethodBillingAddress) UnmarshalJSON(src []byte) error

func (*NullablePaymentMethodBillingAddress) Unset ¶

type NullablePaymentMethodCreateInput ¶

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

func (NullablePaymentMethodCreateInput) Get ¶

func (NullablePaymentMethodCreateInput) IsSet ¶

func (NullablePaymentMethodCreateInput) MarshalJSON ¶

func (v NullablePaymentMethodCreateInput) MarshalJSON() ([]byte, error)

func (*NullablePaymentMethodCreateInput) Set ¶

func (*NullablePaymentMethodCreateInput) UnmarshalJSON ¶

func (v *NullablePaymentMethodCreateInput) UnmarshalJSON(src []byte) error

func (*NullablePaymentMethodCreateInput) Unset ¶

type NullablePaymentMethodList ¶

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

func NewNullablePaymentMethodList ¶

func NewNullablePaymentMethodList(val *PaymentMethodList) *NullablePaymentMethodList

func (NullablePaymentMethodList) Get ¶

func (NullablePaymentMethodList) IsSet ¶

func (v NullablePaymentMethodList) IsSet() bool

func (NullablePaymentMethodList) MarshalJSON ¶

func (v NullablePaymentMethodList) MarshalJSON() ([]byte, error)

func (*NullablePaymentMethodList) Set ¶

func (*NullablePaymentMethodList) UnmarshalJSON ¶

func (v *NullablePaymentMethodList) UnmarshalJSON(src []byte) error

func (*NullablePaymentMethodList) Unset ¶

func (v *NullablePaymentMethodList) Unset()

type NullablePaymentMethodUpdateInput ¶

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

func (NullablePaymentMethodUpdateInput) Get ¶

func (NullablePaymentMethodUpdateInput) IsSet ¶

func (NullablePaymentMethodUpdateInput) MarshalJSON ¶

func (v NullablePaymentMethodUpdateInput) MarshalJSON() ([]byte, error)

func (*NullablePaymentMethodUpdateInput) Set ¶

func (*NullablePaymentMethodUpdateInput) UnmarshalJSON ¶

func (v *NullablePaymentMethodUpdateInput) UnmarshalJSON(src []byte) error

func (*NullablePaymentMethodUpdateInput) Unset ¶

type NullablePlan ¶

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

func NewNullablePlan ¶

func NewNullablePlan(val *Plan) *NullablePlan

func (NullablePlan) Get ¶

func (v NullablePlan) Get() *Plan

func (NullablePlan) IsSet ¶

func (v NullablePlan) IsSet() bool

func (NullablePlan) MarshalJSON ¶

func (v NullablePlan) MarshalJSON() ([]byte, error)

func (*NullablePlan) Set ¶

func (v *NullablePlan) Set(val *Plan)

func (*NullablePlan) UnmarshalJSON ¶

func (v *NullablePlan) UnmarshalJSON(src []byte) error

func (*NullablePlan) Unset ¶

func (v *NullablePlan) Unset()

type NullablePlanAvailableInInner ¶ added in v0.4.0

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

func NewNullablePlanAvailableInInner ¶ added in v0.4.0

func NewNullablePlanAvailableInInner(val *PlanAvailableInInner) *NullablePlanAvailableInInner

func (NullablePlanAvailableInInner) Get ¶ added in v0.4.0

func (NullablePlanAvailableInInner) IsSet ¶ added in v0.4.0

func (NullablePlanAvailableInInner) MarshalJSON ¶ added in v0.4.0

func (v NullablePlanAvailableInInner) MarshalJSON() ([]byte, error)

func (*NullablePlanAvailableInInner) Set ¶ added in v0.4.0

func (*NullablePlanAvailableInInner) UnmarshalJSON ¶ added in v0.4.0

func (v *NullablePlanAvailableInInner) UnmarshalJSON(src []byte) error

func (*NullablePlanAvailableInInner) Unset ¶ added in v0.4.0

func (v *NullablePlanAvailableInInner) Unset()

type NullablePlanAvailableInInnerPrice ¶ added in v0.4.0

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

func NewNullablePlanAvailableInInnerPrice ¶ added in v0.4.0

func NewNullablePlanAvailableInInnerPrice(val *PlanAvailableInInnerPrice) *NullablePlanAvailableInInnerPrice

func (NullablePlanAvailableInInnerPrice) Get ¶ added in v0.4.0

func (NullablePlanAvailableInInnerPrice) IsSet ¶ added in v0.4.0

func (NullablePlanAvailableInInnerPrice) MarshalJSON ¶ added in v0.4.0

func (v NullablePlanAvailableInInnerPrice) MarshalJSON() ([]byte, error)

func (*NullablePlanAvailableInInnerPrice) Set ¶ added in v0.4.0

func (*NullablePlanAvailableInInnerPrice) UnmarshalJSON ¶ added in v0.4.0

func (v *NullablePlanAvailableInInnerPrice) UnmarshalJSON(src []byte) error

func (*NullablePlanAvailableInInnerPrice) Unset ¶ added in v0.4.0

type NullablePlanAvailableInMetrosInner ¶ added in v0.4.0

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

func NewNullablePlanAvailableInMetrosInner ¶ added in v0.4.0

func NewNullablePlanAvailableInMetrosInner(val *PlanAvailableInMetrosInner) *NullablePlanAvailableInMetrosInner

func (NullablePlanAvailableInMetrosInner) Get ¶ added in v0.4.0

func (NullablePlanAvailableInMetrosInner) IsSet ¶ added in v0.4.0

func (NullablePlanAvailableInMetrosInner) MarshalJSON ¶ added in v0.4.0

func (v NullablePlanAvailableInMetrosInner) MarshalJSON() ([]byte, error)

func (*NullablePlanAvailableInMetrosInner) Set ¶ added in v0.4.0

func (*NullablePlanAvailableInMetrosInner) UnmarshalJSON ¶ added in v0.4.0

func (v *NullablePlanAvailableInMetrosInner) UnmarshalJSON(src []byte) error

func (*NullablePlanAvailableInMetrosInner) Unset ¶ added in v0.4.0

type NullablePlanDeploymentTypesInner ¶ added in v0.22.0

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

func NewNullablePlanDeploymentTypesInner ¶ added in v0.22.0

func NewNullablePlanDeploymentTypesInner(val *PlanDeploymentTypesInner) *NullablePlanDeploymentTypesInner

func (NullablePlanDeploymentTypesInner) Get ¶ added in v0.22.0

func (NullablePlanDeploymentTypesInner) IsSet ¶ added in v0.22.0

func (NullablePlanDeploymentTypesInner) MarshalJSON ¶ added in v0.22.0

func (v NullablePlanDeploymentTypesInner) MarshalJSON() ([]byte, error)

func (*NullablePlanDeploymentTypesInner) Set ¶ added in v0.22.0

func (*NullablePlanDeploymentTypesInner) UnmarshalJSON ¶ added in v0.22.0

func (v *NullablePlanDeploymentTypesInner) UnmarshalJSON(src []byte) error

func (*NullablePlanDeploymentTypesInner) Unset ¶ added in v0.22.0

type NullablePlanList ¶

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

func NewNullablePlanList ¶

func NewNullablePlanList(val *PlanList) *NullablePlanList

func (NullablePlanList) Get ¶

func (v NullablePlanList) Get() *PlanList

func (NullablePlanList) IsSet ¶

func (v NullablePlanList) IsSet() bool

func (NullablePlanList) MarshalJSON ¶

func (v NullablePlanList) MarshalJSON() ([]byte, error)

func (*NullablePlanList) Set ¶

func (v *NullablePlanList) Set(val *PlanList)

func (*NullablePlanList) UnmarshalJSON ¶

func (v *NullablePlanList) UnmarshalJSON(src []byte) error

func (*NullablePlanList) Unset ¶

func (v *NullablePlanList) Unset()

type NullablePlanSpecs ¶ added in v0.4.0

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

func NewNullablePlanSpecs ¶ added in v0.4.0

func NewNullablePlanSpecs(val *PlanSpecs) *NullablePlanSpecs

func (NullablePlanSpecs) Get ¶ added in v0.4.0

func (v NullablePlanSpecs) Get() *PlanSpecs

func (NullablePlanSpecs) IsSet ¶ added in v0.4.0

func (v NullablePlanSpecs) IsSet() bool

func (NullablePlanSpecs) MarshalJSON ¶ added in v0.4.0

func (v NullablePlanSpecs) MarshalJSON() ([]byte, error)

func (*NullablePlanSpecs) Set ¶ added in v0.4.0

func (v *NullablePlanSpecs) Set(val *PlanSpecs)

func (*NullablePlanSpecs) UnmarshalJSON ¶ added in v0.4.0

func (v *NullablePlanSpecs) UnmarshalJSON(src []byte) error

func (*NullablePlanSpecs) Unset ¶ added in v0.4.0

func (v *NullablePlanSpecs) Unset()

type NullablePlanSpecsCpusInner ¶ added in v0.4.0

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

func NewNullablePlanSpecsCpusInner ¶ added in v0.4.0

func NewNullablePlanSpecsCpusInner(val *PlanSpecsCpusInner) *NullablePlanSpecsCpusInner

func (NullablePlanSpecsCpusInner) Get ¶ added in v0.4.0

func (NullablePlanSpecsCpusInner) IsSet ¶ added in v0.4.0

func (v NullablePlanSpecsCpusInner) IsSet() bool

func (NullablePlanSpecsCpusInner) MarshalJSON ¶ added in v0.4.0

func (v NullablePlanSpecsCpusInner) MarshalJSON() ([]byte, error)

func (*NullablePlanSpecsCpusInner) Set ¶ added in v0.4.0

func (*NullablePlanSpecsCpusInner) UnmarshalJSON ¶ added in v0.4.0

func (v *NullablePlanSpecsCpusInner) UnmarshalJSON(src []byte) error

func (*NullablePlanSpecsCpusInner) Unset ¶ added in v0.4.0

func (v *NullablePlanSpecsCpusInner) Unset()

type NullablePlanSpecsDrivesInner ¶ added in v0.4.0

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

func NewNullablePlanSpecsDrivesInner ¶ added in v0.4.0

func NewNullablePlanSpecsDrivesInner(val *PlanSpecsDrivesInner) *NullablePlanSpecsDrivesInner

func (NullablePlanSpecsDrivesInner) Get ¶ added in v0.4.0

func (NullablePlanSpecsDrivesInner) IsSet ¶ added in v0.4.0

func (NullablePlanSpecsDrivesInner) MarshalJSON ¶ added in v0.4.0

func (v NullablePlanSpecsDrivesInner) MarshalJSON() ([]byte, error)

func (*NullablePlanSpecsDrivesInner) Set ¶ added in v0.4.0

func (*NullablePlanSpecsDrivesInner) UnmarshalJSON ¶ added in v0.4.0

func (v *NullablePlanSpecsDrivesInner) UnmarshalJSON(src []byte) error

func (*NullablePlanSpecsDrivesInner) Unset ¶ added in v0.4.0

func (v *NullablePlanSpecsDrivesInner) Unset()

type NullablePlanSpecsDrivesInnerCategory ¶ added in v0.22.0

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

func NewNullablePlanSpecsDrivesInnerCategory ¶ added in v0.22.0

func NewNullablePlanSpecsDrivesInnerCategory(val *PlanSpecsDrivesInnerCategory) *NullablePlanSpecsDrivesInnerCategory

func (NullablePlanSpecsDrivesInnerCategory) Get ¶ added in v0.22.0

func (NullablePlanSpecsDrivesInnerCategory) IsSet ¶ added in v0.22.0

func (NullablePlanSpecsDrivesInnerCategory) MarshalJSON ¶ added in v0.22.0

func (v NullablePlanSpecsDrivesInnerCategory) MarshalJSON() ([]byte, error)

func (*NullablePlanSpecsDrivesInnerCategory) Set ¶ added in v0.22.0

func (*NullablePlanSpecsDrivesInnerCategory) UnmarshalJSON ¶ added in v0.22.0

func (v *NullablePlanSpecsDrivesInnerCategory) UnmarshalJSON(src []byte) error

func (*NullablePlanSpecsDrivesInnerCategory) Unset ¶ added in v0.22.0

type NullablePlanSpecsFeatures ¶ added in v0.4.0

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

func NewNullablePlanSpecsFeatures ¶ added in v0.4.0

func NewNullablePlanSpecsFeatures(val *PlanSpecsFeatures) *NullablePlanSpecsFeatures

func (NullablePlanSpecsFeatures) Get ¶ added in v0.4.0

func (NullablePlanSpecsFeatures) IsSet ¶ added in v0.4.0

func (v NullablePlanSpecsFeatures) IsSet() bool

func (NullablePlanSpecsFeatures) MarshalJSON ¶ added in v0.4.0

func (v NullablePlanSpecsFeatures) MarshalJSON() ([]byte, error)

func (*NullablePlanSpecsFeatures) Set ¶ added in v0.4.0

func (*NullablePlanSpecsFeatures) UnmarshalJSON ¶ added in v0.4.0

func (v *NullablePlanSpecsFeatures) UnmarshalJSON(src []byte) error

func (*NullablePlanSpecsFeatures) Unset ¶ added in v0.4.0

func (v *NullablePlanSpecsFeatures) Unset()

type NullablePlanSpecsMemory ¶ added in v0.12.0

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

func NewNullablePlanSpecsMemory ¶ added in v0.12.0

func NewNullablePlanSpecsMemory(val *PlanSpecsMemory) *NullablePlanSpecsMemory

func (NullablePlanSpecsMemory) Get ¶ added in v0.12.0

func (NullablePlanSpecsMemory) IsSet ¶ added in v0.12.0

func (v NullablePlanSpecsMemory) IsSet() bool

func (NullablePlanSpecsMemory) MarshalJSON ¶ added in v0.12.0

func (v NullablePlanSpecsMemory) MarshalJSON() ([]byte, error)

func (*NullablePlanSpecsMemory) Set ¶ added in v0.12.0

func (*NullablePlanSpecsMemory) UnmarshalJSON ¶ added in v0.12.0

func (v *NullablePlanSpecsMemory) UnmarshalJSON(src []byte) error

func (*NullablePlanSpecsMemory) Unset ¶ added in v0.12.0

func (v *NullablePlanSpecsMemory) Unset()

type NullablePlanSpecsNicsInner ¶ added in v0.4.0

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

func NewNullablePlanSpecsNicsInner ¶ added in v0.4.0

func NewNullablePlanSpecsNicsInner(val *PlanSpecsNicsInner) *NullablePlanSpecsNicsInner

func (NullablePlanSpecsNicsInner) Get ¶ added in v0.4.0

func (NullablePlanSpecsNicsInner) IsSet ¶ added in v0.4.0

func (v NullablePlanSpecsNicsInner) IsSet() bool

func (NullablePlanSpecsNicsInner) MarshalJSON ¶ added in v0.4.0

func (v NullablePlanSpecsNicsInner) MarshalJSON() ([]byte, error)

func (*NullablePlanSpecsNicsInner) Set ¶ added in v0.4.0

func (*NullablePlanSpecsNicsInner) UnmarshalJSON ¶ added in v0.4.0

func (v *NullablePlanSpecsNicsInner) UnmarshalJSON(src []byte) error

func (*NullablePlanSpecsNicsInner) Unset ¶ added in v0.4.0

func (v *NullablePlanSpecsNicsInner) Unset()

type NullablePlanType ¶ added in v0.22.0

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

func NewNullablePlanType ¶ added in v0.22.0

func NewNullablePlanType(val *PlanType) *NullablePlanType

func (NullablePlanType) Get ¶ added in v0.22.0

func (v NullablePlanType) Get() *PlanType

func (NullablePlanType) IsSet ¶ added in v0.22.0

func (v NullablePlanType) IsSet() bool

func (NullablePlanType) MarshalJSON ¶ added in v0.22.0

func (v NullablePlanType) MarshalJSON() ([]byte, error)

func (*NullablePlanType) Set ¶ added in v0.22.0

func (v *NullablePlanType) Set(val *PlanType)

func (*NullablePlanType) UnmarshalJSON ¶ added in v0.22.0

func (v *NullablePlanType) UnmarshalJSON(src []byte) error

func (*NullablePlanType) Unset ¶ added in v0.22.0

func (v *NullablePlanType) Unset()

type NullablePort ¶

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

func NewNullablePort ¶

func NewNullablePort(val *Port) *NullablePort

func (NullablePort) Get ¶

func (v NullablePort) Get() *Port

func (NullablePort) IsSet ¶

func (v NullablePort) IsSet() bool

func (NullablePort) MarshalJSON ¶

func (v NullablePort) MarshalJSON() ([]byte, error)

func (*NullablePort) Set ¶

func (v *NullablePort) Set(val *Port)

func (*NullablePort) UnmarshalJSON ¶

func (v *NullablePort) UnmarshalJSON(src []byte) error

func (*NullablePort) Unset ¶

func (v *NullablePort) Unset()

type NullablePortAssignInput ¶

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

func NewNullablePortAssignInput ¶

func NewNullablePortAssignInput(val *PortAssignInput) *NullablePortAssignInput

func (NullablePortAssignInput) Get ¶

func (NullablePortAssignInput) IsSet ¶

func (v NullablePortAssignInput) IsSet() bool

func (NullablePortAssignInput) MarshalJSON ¶

func (v NullablePortAssignInput) MarshalJSON() ([]byte, error)

func (*NullablePortAssignInput) Set ¶

func (*NullablePortAssignInput) UnmarshalJSON ¶

func (v *NullablePortAssignInput) UnmarshalJSON(src []byte) error

func (*NullablePortAssignInput) Unset ¶

func (v *NullablePortAssignInput) Unset()

type NullablePortConvertLayer3Input ¶

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

func (NullablePortConvertLayer3Input) Get ¶

func (NullablePortConvertLayer3Input) IsSet ¶

func (NullablePortConvertLayer3Input) MarshalJSON ¶

func (v NullablePortConvertLayer3Input) MarshalJSON() ([]byte, error)

func (*NullablePortConvertLayer3Input) Set ¶

func (*NullablePortConvertLayer3Input) UnmarshalJSON ¶

func (v *NullablePortConvertLayer3Input) UnmarshalJSON(src []byte) error

func (*NullablePortConvertLayer3Input) Unset ¶

func (v *NullablePortConvertLayer3Input) Unset()

type NullablePortConvertLayer3InputRequestIpsInner ¶ added in v0.4.0

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

func (NullablePortConvertLayer3InputRequestIpsInner) Get ¶ added in v0.4.0

func (NullablePortConvertLayer3InputRequestIpsInner) IsSet ¶ added in v0.4.0

func (NullablePortConvertLayer3InputRequestIpsInner) MarshalJSON ¶ added in v0.4.0

func (*NullablePortConvertLayer3InputRequestIpsInner) Set ¶ added in v0.4.0

func (*NullablePortConvertLayer3InputRequestIpsInner) UnmarshalJSON ¶ added in v0.4.0

func (*NullablePortConvertLayer3InputRequestIpsInner) Unset ¶ added in v0.4.0

type NullablePortData ¶ added in v0.4.0

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

func NewNullablePortData ¶ added in v0.4.0

func NewNullablePortData(val *PortData) *NullablePortData

func (NullablePortData) Get ¶ added in v0.4.0

func (v NullablePortData) Get() *PortData

func (NullablePortData) IsSet ¶ added in v0.4.0

func (v NullablePortData) IsSet() bool

func (NullablePortData) MarshalJSON ¶ added in v0.4.0

func (v NullablePortData) MarshalJSON() ([]byte, error)

func (*NullablePortData) Set ¶ added in v0.4.0

func (v *NullablePortData) Set(val *PortData)

func (*NullablePortData) UnmarshalJSON ¶ added in v0.4.0

func (v *NullablePortData) UnmarshalJSON(src []byte) error

func (*NullablePortData) Unset ¶ added in v0.4.0

func (v *NullablePortData) Unset()

type NullablePortNetworkType ¶ added in v0.22.0

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

func NewNullablePortNetworkType ¶ added in v0.22.0

func NewNullablePortNetworkType(val *PortNetworkType) *NullablePortNetworkType

func (NullablePortNetworkType) Get ¶ added in v0.22.0

func (NullablePortNetworkType) IsSet ¶ added in v0.22.0

func (v NullablePortNetworkType) IsSet() bool

func (NullablePortNetworkType) MarshalJSON ¶ added in v0.22.0

func (v NullablePortNetworkType) MarshalJSON() ([]byte, error)

func (*NullablePortNetworkType) Set ¶ added in v0.22.0

func (*NullablePortNetworkType) UnmarshalJSON ¶ added in v0.22.0

func (v *NullablePortNetworkType) UnmarshalJSON(src []byte) error

func (*NullablePortNetworkType) Unset ¶ added in v0.22.0

func (v *NullablePortNetworkType) Unset()

type NullablePortType ¶ added in v0.22.0

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

func NewNullablePortType ¶ added in v0.22.0

func NewNullablePortType(val *PortType) *NullablePortType

func (NullablePortType) Get ¶ added in v0.22.0

func (v NullablePortType) Get() *PortType

func (NullablePortType) IsSet ¶ added in v0.22.0

func (v NullablePortType) IsSet() bool

func (NullablePortType) MarshalJSON ¶ added in v0.22.0

func (v NullablePortType) MarshalJSON() ([]byte, error)

func (*NullablePortType) Set ¶ added in v0.22.0

func (v *NullablePortType) Set(val *PortType)

func (*NullablePortType) UnmarshalJSON ¶ added in v0.22.0

func (v *NullablePortType) UnmarshalJSON(src []byte) error

func (*NullablePortType) Unset ¶ added in v0.22.0

func (v *NullablePortType) Unset()

type NullablePortVlanAssignment ¶

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

func NewNullablePortVlanAssignment ¶

func NewNullablePortVlanAssignment(val *PortVlanAssignment) *NullablePortVlanAssignment

func (NullablePortVlanAssignment) Get ¶

func (NullablePortVlanAssignment) IsSet ¶

func (v NullablePortVlanAssignment) IsSet() bool

func (NullablePortVlanAssignment) MarshalJSON ¶

func (v NullablePortVlanAssignment) MarshalJSON() ([]byte, error)

func (*NullablePortVlanAssignment) Set ¶

func (*NullablePortVlanAssignment) UnmarshalJSON ¶

func (v *NullablePortVlanAssignment) UnmarshalJSON(src []byte) error

func (*NullablePortVlanAssignment) Unset ¶

func (v *NullablePortVlanAssignment) Unset()

type NullablePortVlanAssignmentBatch ¶

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

func (NullablePortVlanAssignmentBatch) Get ¶

func (NullablePortVlanAssignmentBatch) IsSet ¶

func (NullablePortVlanAssignmentBatch) MarshalJSON ¶

func (v NullablePortVlanAssignmentBatch) MarshalJSON() ([]byte, error)

func (*NullablePortVlanAssignmentBatch) Set ¶

func (*NullablePortVlanAssignmentBatch) UnmarshalJSON ¶

func (v *NullablePortVlanAssignmentBatch) UnmarshalJSON(src []byte) error

func (*NullablePortVlanAssignmentBatch) Unset ¶

type NullablePortVlanAssignmentBatchCreateInput ¶

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

func (NullablePortVlanAssignmentBatchCreateInput) Get ¶

func (NullablePortVlanAssignmentBatchCreateInput) IsSet ¶

func (NullablePortVlanAssignmentBatchCreateInput) MarshalJSON ¶

func (*NullablePortVlanAssignmentBatchCreateInput) Set ¶

func (*NullablePortVlanAssignmentBatchCreateInput) UnmarshalJSON ¶

func (v *NullablePortVlanAssignmentBatchCreateInput) UnmarshalJSON(src []byte) error

func (*NullablePortVlanAssignmentBatchCreateInput) Unset ¶

type NullablePortVlanAssignmentBatchCreateInputVlanAssignmentsInner ¶ added in v0.4.0

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

func (NullablePortVlanAssignmentBatchCreateInputVlanAssignmentsInner) Get ¶ added in v0.4.0

func (NullablePortVlanAssignmentBatchCreateInputVlanAssignmentsInner) IsSet ¶ added in v0.4.0

func (NullablePortVlanAssignmentBatchCreateInputVlanAssignmentsInner) MarshalJSON ¶ added in v0.4.0

func (*NullablePortVlanAssignmentBatchCreateInputVlanAssignmentsInner) Set ¶ added in v0.4.0

func (*NullablePortVlanAssignmentBatchCreateInputVlanAssignmentsInner) UnmarshalJSON ¶ added in v0.4.0

func (*NullablePortVlanAssignmentBatchCreateInputVlanAssignmentsInner) Unset ¶ added in v0.4.0

type NullablePortVlanAssignmentBatchList ¶

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

func (NullablePortVlanAssignmentBatchList) Get ¶

func (NullablePortVlanAssignmentBatchList) IsSet ¶

func (NullablePortVlanAssignmentBatchList) MarshalJSON ¶

func (v NullablePortVlanAssignmentBatchList) MarshalJSON() ([]byte, error)

func (*NullablePortVlanAssignmentBatchList) Set ¶

func (*NullablePortVlanAssignmentBatchList) UnmarshalJSON ¶

func (v *NullablePortVlanAssignmentBatchList) UnmarshalJSON(src []byte) error

func (*NullablePortVlanAssignmentBatchList) Unset ¶

type NullablePortVlanAssignmentBatchState ¶ added in v0.22.0

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

func NewNullablePortVlanAssignmentBatchState ¶ added in v0.22.0

func NewNullablePortVlanAssignmentBatchState(val *PortVlanAssignmentBatchState) *NullablePortVlanAssignmentBatchState

func (NullablePortVlanAssignmentBatchState) Get ¶ added in v0.22.0

func (NullablePortVlanAssignmentBatchState) IsSet ¶ added in v0.22.0

func (NullablePortVlanAssignmentBatchState) MarshalJSON ¶ added in v0.22.0

func (v NullablePortVlanAssignmentBatchState) MarshalJSON() ([]byte, error)

func (*NullablePortVlanAssignmentBatchState) Set ¶ added in v0.22.0

func (*NullablePortVlanAssignmentBatchState) UnmarshalJSON ¶ added in v0.22.0

func (v *NullablePortVlanAssignmentBatchState) UnmarshalJSON(src []byte) error

func (*NullablePortVlanAssignmentBatchState) Unset ¶ added in v0.22.0

type NullablePortVlanAssignmentBatchVlanAssignmentsInner ¶ added in v0.4.0

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

func (NullablePortVlanAssignmentBatchVlanAssignmentsInner) Get ¶ added in v0.4.0

func (NullablePortVlanAssignmentBatchVlanAssignmentsInner) IsSet ¶ added in v0.4.0

func (NullablePortVlanAssignmentBatchVlanAssignmentsInner) MarshalJSON ¶ added in v0.4.0

func (*NullablePortVlanAssignmentBatchVlanAssignmentsInner) Set ¶ added in v0.4.0

func (*NullablePortVlanAssignmentBatchVlanAssignmentsInner) UnmarshalJSON ¶ added in v0.4.0

func (*NullablePortVlanAssignmentBatchVlanAssignmentsInner) Unset ¶ added in v0.4.0

type NullablePortVlanAssignmentBatchVlanAssignmentsInnerState ¶ added in v0.22.0

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

func (NullablePortVlanAssignmentBatchVlanAssignmentsInnerState) Get ¶ added in v0.22.0

func (NullablePortVlanAssignmentBatchVlanAssignmentsInnerState) IsSet ¶ added in v0.22.0

func (NullablePortVlanAssignmentBatchVlanAssignmentsInnerState) MarshalJSON ¶ added in v0.22.0

func (*NullablePortVlanAssignmentBatchVlanAssignmentsInnerState) Set ¶ added in v0.22.0

func (*NullablePortVlanAssignmentBatchVlanAssignmentsInnerState) UnmarshalJSON ¶ added in v0.22.0

func (*NullablePortVlanAssignmentBatchVlanAssignmentsInnerState) Unset ¶ added in v0.22.0

type NullablePortVlanAssignmentList ¶

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

func (NullablePortVlanAssignmentList) Get ¶

func (NullablePortVlanAssignmentList) IsSet ¶

func (NullablePortVlanAssignmentList) MarshalJSON ¶

func (v NullablePortVlanAssignmentList) MarshalJSON() ([]byte, error)

func (*NullablePortVlanAssignmentList) Set ¶

func (*NullablePortVlanAssignmentList) UnmarshalJSON ¶

func (v *NullablePortVlanAssignmentList) UnmarshalJSON(src []byte) error

func (*NullablePortVlanAssignmentList) Unset ¶

func (v *NullablePortVlanAssignmentList) Unset()

type NullablePortVlanAssignmentState ¶ added in v0.22.0

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

func NewNullablePortVlanAssignmentState ¶ added in v0.22.0

func NewNullablePortVlanAssignmentState(val *PortVlanAssignmentState) *NullablePortVlanAssignmentState

func (NullablePortVlanAssignmentState) Get ¶ added in v0.22.0

func (NullablePortVlanAssignmentState) IsSet ¶ added in v0.22.0

func (NullablePortVlanAssignmentState) MarshalJSON ¶ added in v0.22.0

func (v NullablePortVlanAssignmentState) MarshalJSON() ([]byte, error)

func (*NullablePortVlanAssignmentState) Set ¶ added in v0.22.0

func (*NullablePortVlanAssignmentState) UnmarshalJSON ¶ added in v0.22.0

func (v *NullablePortVlanAssignmentState) UnmarshalJSON(src []byte) error

func (*NullablePortVlanAssignmentState) Unset ¶ added in v0.22.0

type NullableProject ¶

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

func NewNullableProject ¶

func NewNullableProject(val *Project) *NullableProject

func (NullableProject) Get ¶

func (v NullableProject) Get() *Project

func (NullableProject) IsSet ¶

func (v NullableProject) IsSet() bool

func (NullableProject) MarshalJSON ¶

func (v NullableProject) MarshalJSON() ([]byte, error)

func (*NullableProject) Set ¶

func (v *NullableProject) Set(val *Project)

func (*NullableProject) UnmarshalJSON ¶

func (v *NullableProject) UnmarshalJSON(src []byte) error

func (*NullableProject) Unset ¶

func (v *NullableProject) Unset()

type NullableProjectCreateFromRootInput ¶

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

func (NullableProjectCreateFromRootInput) Get ¶

func (NullableProjectCreateFromRootInput) IsSet ¶

func (NullableProjectCreateFromRootInput) MarshalJSON ¶

func (v NullableProjectCreateFromRootInput) MarshalJSON() ([]byte, error)

func (*NullableProjectCreateFromRootInput) Set ¶

func (*NullableProjectCreateFromRootInput) UnmarshalJSON ¶

func (v *NullableProjectCreateFromRootInput) UnmarshalJSON(src []byte) error

func (*NullableProjectCreateFromRootInput) Unset ¶

type NullableProjectCreateFromRootInputType ¶ added in v0.22.0

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

func NewNullableProjectCreateFromRootInputType ¶ added in v0.22.0

func NewNullableProjectCreateFromRootInputType(val *ProjectCreateFromRootInputType) *NullableProjectCreateFromRootInputType

func (NullableProjectCreateFromRootInputType) Get ¶ added in v0.22.0

func (NullableProjectCreateFromRootInputType) IsSet ¶ added in v0.22.0

func (NullableProjectCreateFromRootInputType) MarshalJSON ¶ added in v0.22.0

func (v NullableProjectCreateFromRootInputType) MarshalJSON() ([]byte, error)

func (*NullableProjectCreateFromRootInputType) Set ¶ added in v0.22.0

func (*NullableProjectCreateFromRootInputType) UnmarshalJSON ¶ added in v0.22.0

func (v *NullableProjectCreateFromRootInputType) UnmarshalJSON(src []byte) error

func (*NullableProjectCreateFromRootInputType) Unset ¶ added in v0.22.0

type NullableProjectCreateInput ¶

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

func NewNullableProjectCreateInput ¶

func NewNullableProjectCreateInput(val *ProjectCreateInput) *NullableProjectCreateInput

func (NullableProjectCreateInput) Get ¶

func (NullableProjectCreateInput) IsSet ¶

func (v NullableProjectCreateInput) IsSet() bool

func (NullableProjectCreateInput) MarshalJSON ¶

func (v NullableProjectCreateInput) MarshalJSON() ([]byte, error)

func (*NullableProjectCreateInput) Set ¶

func (*NullableProjectCreateInput) UnmarshalJSON ¶

func (v *NullableProjectCreateInput) UnmarshalJSON(src []byte) error

func (*NullableProjectCreateInput) Unset ¶

func (v *NullableProjectCreateInput) Unset()

type NullableProjectIdName ¶ added in v0.9.0

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

func NewNullableProjectIdName ¶ added in v0.9.0

func NewNullableProjectIdName(val *ProjectIdName) *NullableProjectIdName

func (NullableProjectIdName) Get ¶ added in v0.9.0

func (NullableProjectIdName) IsSet ¶ added in v0.9.0

func (v NullableProjectIdName) IsSet() bool

func (NullableProjectIdName) MarshalJSON ¶ added in v0.9.0

func (v NullableProjectIdName) MarshalJSON() ([]byte, error)

func (*NullableProjectIdName) Set ¶ added in v0.9.0

func (v *NullableProjectIdName) Set(val *ProjectIdName)

func (*NullableProjectIdName) UnmarshalJSON ¶ added in v0.9.0

func (v *NullableProjectIdName) UnmarshalJSON(src []byte) error

func (*NullableProjectIdName) Unset ¶ added in v0.9.0

func (v *NullableProjectIdName) Unset()

type NullableProjectList ¶

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

func NewNullableProjectList ¶

func NewNullableProjectList(val *ProjectList) *NullableProjectList

func (NullableProjectList) Get ¶

func (NullableProjectList) IsSet ¶

func (v NullableProjectList) IsSet() bool

func (NullableProjectList) MarshalJSON ¶

func (v NullableProjectList) MarshalJSON() ([]byte, error)

func (*NullableProjectList) Set ¶

func (v *NullableProjectList) Set(val *ProjectList)

func (*NullableProjectList) UnmarshalJSON ¶

func (v *NullableProjectList) UnmarshalJSON(src []byte) error

func (*NullableProjectList) Unset ¶

func (v *NullableProjectList) Unset()

type NullableProjectType ¶ added in v0.22.0

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

func NewNullableProjectType ¶ added in v0.22.0

func NewNullableProjectType(val *ProjectType) *NullableProjectType

func (NullableProjectType) Get ¶ added in v0.22.0

func (NullableProjectType) IsSet ¶ added in v0.22.0

func (v NullableProjectType) IsSet() bool

func (NullableProjectType) MarshalJSON ¶ added in v0.22.0

func (v NullableProjectType) MarshalJSON() ([]byte, error)

func (*NullableProjectType) Set ¶ added in v0.22.0

func (v *NullableProjectType) Set(val *ProjectType)

func (*NullableProjectType) UnmarshalJSON ¶ added in v0.22.0

func (v *NullableProjectType) UnmarshalJSON(src []byte) error

func (*NullableProjectType) Unset ¶ added in v0.22.0

func (v *NullableProjectType) Unset()

type NullableProjectUpdateInput ¶

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

func NewNullableProjectUpdateInput ¶

func NewNullableProjectUpdateInput(val *ProjectUpdateInput) *NullableProjectUpdateInput

func (NullableProjectUpdateInput) Get ¶

func (NullableProjectUpdateInput) IsSet ¶

func (v NullableProjectUpdateInput) IsSet() bool

func (NullableProjectUpdateInput) MarshalJSON ¶

func (v NullableProjectUpdateInput) MarshalJSON() ([]byte, error)

func (*NullableProjectUpdateInput) Set ¶

func (*NullableProjectUpdateInput) UnmarshalJSON ¶

func (v *NullableProjectUpdateInput) UnmarshalJSON(src []byte) error

func (*NullableProjectUpdateInput) Unset ¶

func (v *NullableProjectUpdateInput) Unset()

type NullableProjectUsage ¶

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

func NewNullableProjectUsage ¶

func NewNullableProjectUsage(val *ProjectUsage) *NullableProjectUsage

func (NullableProjectUsage) Get ¶

func (NullableProjectUsage) IsSet ¶

func (v NullableProjectUsage) IsSet() bool

func (NullableProjectUsage) MarshalJSON ¶

func (v NullableProjectUsage) MarshalJSON() ([]byte, error)

func (*NullableProjectUsage) Set ¶

func (v *NullableProjectUsage) Set(val *ProjectUsage)

func (*NullableProjectUsage) UnmarshalJSON ¶

func (v *NullableProjectUsage) UnmarshalJSON(src []byte) error

func (*NullableProjectUsage) Unset ¶

func (v *NullableProjectUsage) Unset()

type NullableProjectUsageList ¶

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

func NewNullableProjectUsageList ¶

func NewNullableProjectUsageList(val *ProjectUsageList) *NullableProjectUsageList

func (NullableProjectUsageList) Get ¶

func (NullableProjectUsageList) IsSet ¶

func (v NullableProjectUsageList) IsSet() bool

func (NullableProjectUsageList) MarshalJSON ¶

func (v NullableProjectUsageList) MarshalJSON() ([]byte, error)

func (*NullableProjectUsageList) Set ¶

func (*NullableProjectUsageList) UnmarshalJSON ¶

func (v *NullableProjectUsageList) UnmarshalJSON(src []byte) error

func (*NullableProjectUsageList) Unset ¶

func (v *NullableProjectUsageList) Unset()

type NullableRaid ¶ added in v0.6.0

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

func NewNullableRaid ¶ added in v0.6.0

func NewNullableRaid(val *Raid) *NullableRaid

func (NullableRaid) Get ¶ added in v0.6.0

func (v NullableRaid) Get() *Raid

func (NullableRaid) IsSet ¶ added in v0.6.0

func (v NullableRaid) IsSet() bool

func (NullableRaid) MarshalJSON ¶ added in v0.6.0

func (v NullableRaid) MarshalJSON() ([]byte, error)

func (*NullableRaid) Set ¶ added in v0.6.0

func (v *NullableRaid) Set(val *Raid)

func (*NullableRaid) UnmarshalJSON ¶ added in v0.6.0

func (v *NullableRaid) UnmarshalJSON(src []byte) error

func (*NullableRaid) Unset ¶ added in v0.6.0

func (v *NullableRaid) Unset()

type NullableRecoveryCodeList ¶

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

func NewNullableRecoveryCodeList ¶

func NewNullableRecoveryCodeList(val *RecoveryCodeList) *NullableRecoveryCodeList

func (NullableRecoveryCodeList) Get ¶

func (NullableRecoveryCodeList) IsSet ¶

func (v NullableRecoveryCodeList) IsSet() bool

func (NullableRecoveryCodeList) MarshalJSON ¶

func (v NullableRecoveryCodeList) MarshalJSON() ([]byte, error)

func (*NullableRecoveryCodeList) Set ¶

func (*NullableRecoveryCodeList) UnmarshalJSON ¶

func (v *NullableRecoveryCodeList) UnmarshalJSON(src []byte) error

func (*NullableRecoveryCodeList) Unset ¶

func (v *NullableRecoveryCodeList) Unset()

type NullableRequestIPReservation201Response ¶ added in v0.3.0

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

func NewNullableRequestIPReservation201Response ¶ added in v0.3.0

func NewNullableRequestIPReservation201Response(val *RequestIPReservation201Response) *NullableRequestIPReservation201Response

func (NullableRequestIPReservation201Response) Get ¶ added in v0.3.0

func (NullableRequestIPReservation201Response) IsSet ¶ added in v0.3.0

func (NullableRequestIPReservation201Response) MarshalJSON ¶ added in v0.3.0

func (v NullableRequestIPReservation201Response) MarshalJSON() ([]byte, error)

func (*NullableRequestIPReservation201Response) Set ¶ added in v0.3.0

func (*NullableRequestIPReservation201Response) UnmarshalJSON ¶ added in v0.3.0

func (v *NullableRequestIPReservation201Response) UnmarshalJSON(src []byte) error

func (*NullableRequestIPReservation201Response) Unset ¶ added in v0.3.0

type NullableRequestIPReservationRequest ¶ added in v0.3.0

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

func NewNullableRequestIPReservationRequest ¶ added in v0.3.0

func NewNullableRequestIPReservationRequest(val *RequestIPReservationRequest) *NullableRequestIPReservationRequest

func (NullableRequestIPReservationRequest) Get ¶ added in v0.3.0

func (NullableRequestIPReservationRequest) IsSet ¶ added in v0.3.0

func (NullableRequestIPReservationRequest) MarshalJSON ¶ added in v0.3.0

func (v NullableRequestIPReservationRequest) MarshalJSON() ([]byte, error)

func (*NullableRequestIPReservationRequest) Set ¶ added in v0.3.0

func (*NullableRequestIPReservationRequest) UnmarshalJSON ¶ added in v0.3.0

func (v *NullableRequestIPReservationRequest) UnmarshalJSON(src []byte) error

func (*NullableRequestIPReservationRequest) Unset ¶ added in v0.3.0

type NullableSSHKey ¶

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

func NewNullableSSHKey ¶

func NewNullableSSHKey(val *SSHKey) *NullableSSHKey

func (NullableSSHKey) Get ¶

func (v NullableSSHKey) Get() *SSHKey

func (NullableSSHKey) IsSet ¶

func (v NullableSSHKey) IsSet() bool

func (NullableSSHKey) MarshalJSON ¶

func (v NullableSSHKey) MarshalJSON() ([]byte, error)

func (*NullableSSHKey) Set ¶

func (v *NullableSSHKey) Set(val *SSHKey)

func (*NullableSSHKey) UnmarshalJSON ¶

func (v *NullableSSHKey) UnmarshalJSON(src []byte) error

func (*NullableSSHKey) Unset ¶

func (v *NullableSSHKey) Unset()

type NullableSSHKeyCreateInput ¶

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

func NewNullableSSHKeyCreateInput ¶

func NewNullableSSHKeyCreateInput(val *SSHKeyCreateInput) *NullableSSHKeyCreateInput

func (NullableSSHKeyCreateInput) Get ¶

func (NullableSSHKeyCreateInput) IsSet ¶

func (v NullableSSHKeyCreateInput) IsSet() bool

func (NullableSSHKeyCreateInput) MarshalJSON ¶

func (v NullableSSHKeyCreateInput) MarshalJSON() ([]byte, error)

func (*NullableSSHKeyCreateInput) Set ¶

func (*NullableSSHKeyCreateInput) UnmarshalJSON ¶

func (v *NullableSSHKeyCreateInput) UnmarshalJSON(src []byte) error

func (*NullableSSHKeyCreateInput) Unset ¶

func (v *NullableSSHKeyCreateInput) Unset()

type NullableSSHKeyInput ¶

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

func NewNullableSSHKeyInput ¶

func NewNullableSSHKeyInput(val *SSHKeyInput) *NullableSSHKeyInput

func (NullableSSHKeyInput) Get ¶

func (NullableSSHKeyInput) IsSet ¶

func (v NullableSSHKeyInput) IsSet() bool

func (NullableSSHKeyInput) MarshalJSON ¶

func (v NullableSSHKeyInput) MarshalJSON() ([]byte, error)

func (*NullableSSHKeyInput) Set ¶

func (v *NullableSSHKeyInput) Set(val *SSHKeyInput)

func (*NullableSSHKeyInput) UnmarshalJSON ¶

func (v *NullableSSHKeyInput) UnmarshalJSON(src []byte) error

func (*NullableSSHKeyInput) Unset ¶

func (v *NullableSSHKeyInput) Unset()

type NullableSSHKeyList ¶

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

func NewNullableSSHKeyList ¶

func NewNullableSSHKeyList(val *SSHKeyList) *NullableSSHKeyList

func (NullableSSHKeyList) Get ¶

func (v NullableSSHKeyList) Get() *SSHKeyList

func (NullableSSHKeyList) IsSet ¶

func (v NullableSSHKeyList) IsSet() bool

func (NullableSSHKeyList) MarshalJSON ¶

func (v NullableSSHKeyList) MarshalJSON() ([]byte, error)

func (*NullableSSHKeyList) Set ¶

func (v *NullableSSHKeyList) Set(val *SSHKeyList)

func (*NullableSSHKeyList) UnmarshalJSON ¶

func (v *NullableSSHKeyList) UnmarshalJSON(src []byte) error

func (*NullableSSHKeyList) Unset ¶

func (v *NullableSSHKeyList) Unset()

type NullableSelfServiceReservationItemRequest ¶

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

func (NullableSelfServiceReservationItemRequest) Get ¶

func (NullableSelfServiceReservationItemRequest) IsSet ¶

func (NullableSelfServiceReservationItemRequest) MarshalJSON ¶

func (*NullableSelfServiceReservationItemRequest) Set ¶

func (*NullableSelfServiceReservationItemRequest) UnmarshalJSON ¶

func (v *NullableSelfServiceReservationItemRequest) UnmarshalJSON(src []byte) error

func (*NullableSelfServiceReservationItemRequest) Unset ¶

type NullableSelfServiceReservationItemResponse ¶

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

func (NullableSelfServiceReservationItemResponse) Get ¶

func (NullableSelfServiceReservationItemResponse) IsSet ¶

func (NullableSelfServiceReservationItemResponse) MarshalJSON ¶

func (*NullableSelfServiceReservationItemResponse) Set ¶

func (*NullableSelfServiceReservationItemResponse) UnmarshalJSON ¶

func (v *NullableSelfServiceReservationItemResponse) UnmarshalJSON(src []byte) error

func (*NullableSelfServiceReservationItemResponse) Unset ¶

type NullableSelfServiceReservationList ¶

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

func (NullableSelfServiceReservationList) Get ¶

func (NullableSelfServiceReservationList) IsSet ¶

func (NullableSelfServiceReservationList) MarshalJSON ¶

func (v NullableSelfServiceReservationList) MarshalJSON() ([]byte, error)

func (*NullableSelfServiceReservationList) Set ¶

func (*NullableSelfServiceReservationList) UnmarshalJSON ¶

func (v *NullableSelfServiceReservationList) UnmarshalJSON(src []byte) error

func (*NullableSelfServiceReservationList) Unset ¶

type NullableSelfServiceReservationResponse ¶

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

func (NullableSelfServiceReservationResponse) Get ¶

func (NullableSelfServiceReservationResponse) IsSet ¶

func (NullableSelfServiceReservationResponse) MarshalJSON ¶

func (v NullableSelfServiceReservationResponse) MarshalJSON() ([]byte, error)

func (*NullableSelfServiceReservationResponse) Set ¶

func (*NullableSelfServiceReservationResponse) UnmarshalJSON ¶

func (v *NullableSelfServiceReservationResponse) UnmarshalJSON(src []byte) error

func (*NullableSelfServiceReservationResponse) Unset ¶

type NullableServerInfo ¶

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

func NewNullableServerInfo ¶

func NewNullableServerInfo(val *ServerInfo) *NullableServerInfo

func (NullableServerInfo) Get ¶

func (v NullableServerInfo) Get() *ServerInfo

func (NullableServerInfo) IsSet ¶

func (v NullableServerInfo) IsSet() bool

func (NullableServerInfo) MarshalJSON ¶

func (v NullableServerInfo) MarshalJSON() ([]byte, error)

func (*NullableServerInfo) Set ¶

func (v *NullableServerInfo) Set(val *ServerInfo)

func (*NullableServerInfo) UnmarshalJSON ¶

func (v *NullableServerInfo) UnmarshalJSON(src []byte) error

func (*NullableServerInfo) Unset ¶

func (v *NullableServerInfo) Unset()

type NullableSpotMarketPricesList ¶

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

func (NullableSpotMarketPricesList) Get ¶

func (NullableSpotMarketPricesList) IsSet ¶

func (NullableSpotMarketPricesList) MarshalJSON ¶

func (v NullableSpotMarketPricesList) MarshalJSON() ([]byte, error)

func (*NullableSpotMarketPricesList) Set ¶

func (*NullableSpotMarketPricesList) UnmarshalJSON ¶

func (v *NullableSpotMarketPricesList) UnmarshalJSON(src []byte) error

func (*NullableSpotMarketPricesList) Unset ¶

func (v *NullableSpotMarketPricesList) Unset()

type NullableSpotMarketPricesPerMetroList ¶

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

func (NullableSpotMarketPricesPerMetroList) Get ¶

func (NullableSpotMarketPricesPerMetroList) IsSet ¶

func (NullableSpotMarketPricesPerMetroList) MarshalJSON ¶

func (v NullableSpotMarketPricesPerMetroList) MarshalJSON() ([]byte, error)

func (*NullableSpotMarketPricesPerMetroList) Set ¶

func (*NullableSpotMarketPricesPerMetroList) UnmarshalJSON ¶

func (v *NullableSpotMarketPricesPerMetroList) UnmarshalJSON(src []byte) error

func (*NullableSpotMarketPricesPerMetroList) Unset ¶

type NullableSpotMarketPricesPerMetroReport ¶

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

func (NullableSpotMarketPricesPerMetroReport) Get ¶

func (NullableSpotMarketPricesPerMetroReport) IsSet ¶

func (NullableSpotMarketPricesPerMetroReport) MarshalJSON ¶

func (v NullableSpotMarketPricesPerMetroReport) MarshalJSON() ([]byte, error)

func (*NullableSpotMarketPricesPerMetroReport) Set ¶

func (*NullableSpotMarketPricesPerMetroReport) UnmarshalJSON ¶

func (v *NullableSpotMarketPricesPerMetroReport) UnmarshalJSON(src []byte) error

func (*NullableSpotMarketPricesPerMetroReport) Unset ¶

type NullableSpotMarketRequest ¶

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

func NewNullableSpotMarketRequest ¶

func NewNullableSpotMarketRequest(val *SpotMarketRequest) *NullableSpotMarketRequest

func (NullableSpotMarketRequest) Get ¶

func (NullableSpotMarketRequest) IsSet ¶

func (v NullableSpotMarketRequest) IsSet() bool

func (NullableSpotMarketRequest) MarshalJSON ¶

func (v NullableSpotMarketRequest) MarshalJSON() ([]byte, error)

func (*NullableSpotMarketRequest) Set ¶

func (*NullableSpotMarketRequest) UnmarshalJSON ¶

func (v *NullableSpotMarketRequest) UnmarshalJSON(src []byte) error

func (*NullableSpotMarketRequest) Unset ¶

func (v *NullableSpotMarketRequest) Unset()

type NullableSpotMarketRequestCreateInput ¶

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

func (NullableSpotMarketRequestCreateInput) Get ¶

func (NullableSpotMarketRequestCreateInput) IsSet ¶

func (NullableSpotMarketRequestCreateInput) MarshalJSON ¶

func (v NullableSpotMarketRequestCreateInput) MarshalJSON() ([]byte, error)

func (*NullableSpotMarketRequestCreateInput) Set ¶

func (*NullableSpotMarketRequestCreateInput) UnmarshalJSON ¶

func (v *NullableSpotMarketRequestCreateInput) UnmarshalJSON(src []byte) error

func (*NullableSpotMarketRequestCreateInput) Unset ¶

type NullableSpotMarketRequestCreateInputInstanceParameters ¶ added in v0.8.0

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

func (NullableSpotMarketRequestCreateInputInstanceParameters) Get ¶ added in v0.8.0

func (NullableSpotMarketRequestCreateInputInstanceParameters) IsSet ¶ added in v0.8.0

func (NullableSpotMarketRequestCreateInputInstanceParameters) MarshalJSON ¶ added in v0.8.0

func (*NullableSpotMarketRequestCreateInputInstanceParameters) Set ¶ added in v0.8.0

func (*NullableSpotMarketRequestCreateInputInstanceParameters) UnmarshalJSON ¶ added in v0.8.0

func (*NullableSpotMarketRequestCreateInputInstanceParameters) Unset ¶ added in v0.8.0

type NullableSpotMarketRequestList ¶

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

func (NullableSpotMarketRequestList) Get ¶

func (NullableSpotMarketRequestList) IsSet ¶

func (NullableSpotMarketRequestList) MarshalJSON ¶

func (v NullableSpotMarketRequestList) MarshalJSON() ([]byte, error)

func (*NullableSpotMarketRequestList) Set ¶

func (*NullableSpotMarketRequestList) UnmarshalJSON ¶

func (v *NullableSpotMarketRequestList) UnmarshalJSON(src []byte) error

func (*NullableSpotMarketRequestList) Unset ¶

func (v *NullableSpotMarketRequestList) Unset()

type NullableSpotMarketRequestMetro ¶ added in v0.4.0

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

func NewNullableSpotMarketRequestMetro ¶ added in v0.4.0

func NewNullableSpotMarketRequestMetro(val *SpotMarketRequestMetro) *NullableSpotMarketRequestMetro

func (NullableSpotMarketRequestMetro) Get ¶ added in v0.4.0

func (NullableSpotMarketRequestMetro) IsSet ¶ added in v0.4.0

func (NullableSpotMarketRequestMetro) MarshalJSON ¶ added in v0.4.0

func (v NullableSpotMarketRequestMetro) MarshalJSON() ([]byte, error)

func (*NullableSpotMarketRequestMetro) Set ¶ added in v0.4.0

func (*NullableSpotMarketRequestMetro) UnmarshalJSON ¶ added in v0.4.0

func (v *NullableSpotMarketRequestMetro) UnmarshalJSON(src []byte) error

func (*NullableSpotMarketRequestMetro) Unset ¶ added in v0.4.0

func (v *NullableSpotMarketRequestMetro) Unset()

type NullableSpotPricesDatapoints ¶

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

func (NullableSpotPricesDatapoints) Get ¶

func (NullableSpotPricesDatapoints) IsSet ¶

func (NullableSpotPricesDatapoints) MarshalJSON ¶

func (v NullableSpotPricesDatapoints) MarshalJSON() ([]byte, error)

func (*NullableSpotPricesDatapoints) Set ¶

func (*NullableSpotPricesDatapoints) UnmarshalJSON ¶

func (v *NullableSpotPricesDatapoints) UnmarshalJSON(src []byte) error

func (*NullableSpotPricesDatapoints) Unset ¶

func (v *NullableSpotPricesDatapoints) Unset()

type NullableSpotPricesHistoryReport ¶

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

func (NullableSpotPricesHistoryReport) Get ¶

func (NullableSpotPricesHistoryReport) IsSet ¶

func (NullableSpotPricesHistoryReport) MarshalJSON ¶

func (v NullableSpotPricesHistoryReport) MarshalJSON() ([]byte, error)

func (*NullableSpotPricesHistoryReport) Set ¶

func (*NullableSpotPricesHistoryReport) UnmarshalJSON ¶

func (v *NullableSpotPricesHistoryReport) UnmarshalJSON(src []byte) error

func (*NullableSpotPricesHistoryReport) Unset ¶

type NullableSpotPricesPerBaremetal ¶

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

func (NullableSpotPricesPerBaremetal) Get ¶

func (NullableSpotPricesPerBaremetal) IsSet ¶

func (NullableSpotPricesPerBaremetal) MarshalJSON ¶

func (v NullableSpotPricesPerBaremetal) MarshalJSON() ([]byte, error)

func (*NullableSpotPricesPerBaremetal) Set ¶

func (*NullableSpotPricesPerBaremetal) UnmarshalJSON ¶

func (v *NullableSpotPricesPerBaremetal) UnmarshalJSON(src []byte) error

func (*NullableSpotPricesPerBaremetal) Unset ¶

func (v *NullableSpotPricesPerBaremetal) Unset()

type NullableSpotPricesPerFacility ¶

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

func (NullableSpotPricesPerFacility) Get ¶

func (NullableSpotPricesPerFacility) IsSet ¶

func (NullableSpotPricesPerFacility) MarshalJSON ¶

func (v NullableSpotPricesPerFacility) MarshalJSON() ([]byte, error)

func (*NullableSpotPricesPerFacility) Set ¶

func (*NullableSpotPricesPerFacility) UnmarshalJSON ¶

func (v *NullableSpotPricesPerFacility) UnmarshalJSON(src []byte) error

func (*NullableSpotPricesPerFacility) Unset ¶

func (v *NullableSpotPricesPerFacility) Unset()

type NullableSpotPricesPerNewFacility ¶

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

func (NullableSpotPricesPerNewFacility) Get ¶

func (NullableSpotPricesPerNewFacility) IsSet ¶

func (NullableSpotPricesPerNewFacility) MarshalJSON ¶

func (v NullableSpotPricesPerNewFacility) MarshalJSON() ([]byte, error)

func (*NullableSpotPricesPerNewFacility) Set ¶

func (*NullableSpotPricesPerNewFacility) UnmarshalJSON ¶

func (v *NullableSpotPricesPerNewFacility) UnmarshalJSON(src []byte) error

func (*NullableSpotPricesPerNewFacility) Unset ¶

type NullableSpotPricesReport ¶

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

func NewNullableSpotPricesReport ¶

func NewNullableSpotPricesReport(val *SpotPricesReport) *NullableSpotPricesReport

func (NullableSpotPricesReport) Get ¶

func (NullableSpotPricesReport) IsSet ¶

func (v NullableSpotPricesReport) IsSet() bool

func (NullableSpotPricesReport) MarshalJSON ¶

func (v NullableSpotPricesReport) MarshalJSON() ([]byte, error)

func (*NullableSpotPricesReport) Set ¶

func (*NullableSpotPricesReport) UnmarshalJSON ¶

func (v *NullableSpotPricesReport) UnmarshalJSON(src []byte) error

func (*NullableSpotPricesReport) Unset ¶

func (v *NullableSpotPricesReport) Unset()

type NullableStorage ¶ added in v0.6.0

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

func NewNullableStorage ¶ added in v0.6.0

func NewNullableStorage(val *Storage) *NullableStorage

func (NullableStorage) Get ¶ added in v0.6.0

func (v NullableStorage) Get() *Storage

func (NullableStorage) IsSet ¶ added in v0.6.0

func (v NullableStorage) IsSet() bool

func (NullableStorage) MarshalJSON ¶ added in v0.6.0

func (v NullableStorage) MarshalJSON() ([]byte, error)

func (*NullableStorage) Set ¶ added in v0.6.0

func (v *NullableStorage) Set(val *Storage)

func (*NullableStorage) UnmarshalJSON ¶ added in v0.6.0

func (v *NullableStorage) UnmarshalJSON(src []byte) error

func (*NullableStorage) Unset ¶ added in v0.6.0

func (v *NullableStorage) Unset()

type NullableString ¶

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

func NewNullableString ¶

func NewNullableString(val *string) *NullableString

func (NullableString) Get ¶

func (v NullableString) Get() *string

func (NullableString) IsSet ¶

func (v NullableString) IsSet() bool

func (NullableString) MarshalJSON ¶

func (v NullableString) MarshalJSON() ([]byte, error)

func (*NullableString) Set ¶

func (v *NullableString) Set(val *string)

func (*NullableString) UnmarshalJSON ¶

func (v *NullableString) UnmarshalJSON(src []byte) error

func (*NullableString) Unset ¶

func (v *NullableString) Unset()

type NullableSupportRequestInput ¶

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

func (NullableSupportRequestInput) Get ¶

func (NullableSupportRequestInput) IsSet ¶

func (NullableSupportRequestInput) MarshalJSON ¶

func (v NullableSupportRequestInput) MarshalJSON() ([]byte, error)

func (*NullableSupportRequestInput) Set ¶

func (*NullableSupportRequestInput) UnmarshalJSON ¶

func (v *NullableSupportRequestInput) UnmarshalJSON(src []byte) error

func (*NullableSupportRequestInput) Unset ¶

func (v *NullableSupportRequestInput) Unset()

type NullableSupportRequestInputPriority ¶ added in v0.22.0

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

func NewNullableSupportRequestInputPriority ¶ added in v0.22.0

func NewNullableSupportRequestInputPriority(val *SupportRequestInputPriority) *NullableSupportRequestInputPriority

func (NullableSupportRequestInputPriority) Get ¶ added in v0.22.0

func (NullableSupportRequestInputPriority) IsSet ¶ added in v0.22.0

func (NullableSupportRequestInputPriority) MarshalJSON ¶ added in v0.22.0

func (v NullableSupportRequestInputPriority) MarshalJSON() ([]byte, error)

func (*NullableSupportRequestInputPriority) Set ¶ added in v0.22.0

func (*NullableSupportRequestInputPriority) UnmarshalJSON ¶ added in v0.22.0

func (v *NullableSupportRequestInputPriority) UnmarshalJSON(src []byte) error

func (*NullableSupportRequestInputPriority) Unset ¶ added in v0.22.0

type NullableTime ¶

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

func NewNullableTime ¶

func NewNullableTime(val *time.Time) *NullableTime

func (NullableTime) Get ¶

func (v NullableTime) Get() *time.Time

func (NullableTime) IsSet ¶

func (v NullableTime) IsSet() bool

func (NullableTime) MarshalJSON ¶

func (v NullableTime) MarshalJSON() ([]byte, error)

func (*NullableTime) Set ¶

func (v *NullableTime) Set(val *time.Time)

func (*NullableTime) UnmarshalJSON ¶

func (v *NullableTime) UnmarshalJSON(src []byte) error

func (*NullableTime) Unset ¶

func (v *NullableTime) Unset()

type NullableTransferRequest ¶

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

func NewNullableTransferRequest ¶

func NewNullableTransferRequest(val *TransferRequest) *NullableTransferRequest

func (NullableTransferRequest) Get ¶

func (NullableTransferRequest) IsSet ¶

func (v NullableTransferRequest) IsSet() bool

func (NullableTransferRequest) MarshalJSON ¶

func (v NullableTransferRequest) MarshalJSON() ([]byte, error)

func (*NullableTransferRequest) Set ¶

func (*NullableTransferRequest) UnmarshalJSON ¶

func (v *NullableTransferRequest) UnmarshalJSON(src []byte) error

func (*NullableTransferRequest) Unset ¶

func (v *NullableTransferRequest) Unset()

type NullableTransferRequestInput ¶

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

func (NullableTransferRequestInput) Get ¶

func (NullableTransferRequestInput) IsSet ¶

func (NullableTransferRequestInput) MarshalJSON ¶

func (v NullableTransferRequestInput) MarshalJSON() ([]byte, error)

func (*NullableTransferRequestInput) Set ¶

func (*NullableTransferRequestInput) UnmarshalJSON ¶

func (v *NullableTransferRequestInput) UnmarshalJSON(src []byte) error

func (*NullableTransferRequestInput) Unset ¶

func (v *NullableTransferRequestInput) Unset()

type NullableTransferRequestList ¶

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

func (NullableTransferRequestList) Get ¶

func (NullableTransferRequestList) IsSet ¶

func (NullableTransferRequestList) MarshalJSON ¶

func (v NullableTransferRequestList) MarshalJSON() ([]byte, error)

func (*NullableTransferRequestList) Set ¶

func (*NullableTransferRequestList) UnmarshalJSON ¶

func (v *NullableTransferRequestList) UnmarshalJSON(src []byte) error

func (*NullableTransferRequestList) Unset ¶

func (v *NullableTransferRequestList) Unset()

type NullableUpdateEmailInput ¶

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

func NewNullableUpdateEmailInput ¶

func NewNullableUpdateEmailInput(val *UpdateEmailInput) *NullableUpdateEmailInput

func (NullableUpdateEmailInput) Get ¶

func (NullableUpdateEmailInput) IsSet ¶

func (v NullableUpdateEmailInput) IsSet() bool

func (NullableUpdateEmailInput) MarshalJSON ¶

func (v NullableUpdateEmailInput) MarshalJSON() ([]byte, error)

func (*NullableUpdateEmailInput) Set ¶

func (*NullableUpdateEmailInput) UnmarshalJSON ¶

func (v *NullableUpdateEmailInput) UnmarshalJSON(src []byte) error

func (*NullableUpdateEmailInput) Unset ¶

func (v *NullableUpdateEmailInput) Unset()

type NullableUser ¶

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

func NewNullableUser ¶

func NewNullableUser(val *User) *NullableUser

func (NullableUser) Get ¶

func (v NullableUser) Get() *User

func (NullableUser) IsSet ¶

func (v NullableUser) IsSet() bool

func (NullableUser) MarshalJSON ¶

func (v NullableUser) MarshalJSON() ([]byte, error)

func (*NullableUser) Set ¶

func (v *NullableUser) Set(val *User)

func (*NullableUser) UnmarshalJSON ¶

func (v *NullableUser) UnmarshalJSON(src []byte) error

func (*NullableUser) Unset ¶

func (v *NullableUser) Unset()

type NullableUserCreateInput ¶

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

func NewNullableUserCreateInput ¶

func NewNullableUserCreateInput(val *UserCreateInput) *NullableUserCreateInput

func (NullableUserCreateInput) Get ¶

func (NullableUserCreateInput) IsSet ¶

func (v NullableUserCreateInput) IsSet() bool

func (NullableUserCreateInput) MarshalJSON ¶

func (v NullableUserCreateInput) MarshalJSON() ([]byte, error)

func (*NullableUserCreateInput) Set ¶

func (*NullableUserCreateInput) UnmarshalJSON ¶

func (v *NullableUserCreateInput) UnmarshalJSON(src []byte) error

func (*NullableUserCreateInput) Unset ¶

func (v *NullableUserCreateInput) Unset()

type NullableUserLimited ¶ added in v0.7.0

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

func NewNullableUserLimited ¶ added in v0.7.0

func NewNullableUserLimited(val *UserLimited) *NullableUserLimited

func (NullableUserLimited) Get ¶ added in v0.7.0

func (NullableUserLimited) IsSet ¶ added in v0.7.0

func (v NullableUserLimited) IsSet() bool

func (NullableUserLimited) MarshalJSON ¶ added in v0.7.0

func (v NullableUserLimited) MarshalJSON() ([]byte, error)

func (*NullableUserLimited) Set ¶ added in v0.7.0

func (v *NullableUserLimited) Set(val *UserLimited)

func (*NullableUserLimited) UnmarshalJSON ¶ added in v0.7.0

func (v *NullableUserLimited) UnmarshalJSON(src []byte) error

func (*NullableUserLimited) Unset ¶ added in v0.7.0

func (v *NullableUserLimited) Unset()

type NullableUserList ¶

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

func NewNullableUserList ¶

func NewNullableUserList(val *UserList) *NullableUserList

func (NullableUserList) Get ¶

func (v NullableUserList) Get() *UserList

func (NullableUserList) IsSet ¶

func (v NullableUserList) IsSet() bool

func (NullableUserList) MarshalJSON ¶

func (v NullableUserList) MarshalJSON() ([]byte, error)

func (*NullableUserList) Set ¶

func (v *NullableUserList) Set(val *UserList)

func (*NullableUserList) UnmarshalJSON ¶

func (v *NullableUserList) UnmarshalJSON(src []byte) error

func (*NullableUserList) Unset ¶

func (v *NullableUserList) Unset()

type NullableUserLite ¶

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

func NewNullableUserLite ¶

func NewNullableUserLite(val *UserLite) *NullableUserLite

func (NullableUserLite) Get ¶

func (v NullableUserLite) Get() *UserLite

func (NullableUserLite) IsSet ¶

func (v NullableUserLite) IsSet() bool

func (NullableUserLite) MarshalJSON ¶

func (v NullableUserLite) MarshalJSON() ([]byte, error)

func (*NullableUserLite) Set ¶

func (v *NullableUserLite) Set(val *UserLite)

func (*NullableUserLite) UnmarshalJSON ¶

func (v *NullableUserLite) UnmarshalJSON(src []byte) error

func (*NullableUserLite) Unset ¶

func (v *NullableUserLite) Unset()

type NullableUserUpdateInput ¶

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

func NewNullableUserUpdateInput ¶

func NewNullableUserUpdateInput(val *UserUpdateInput) *NullableUserUpdateInput

func (NullableUserUpdateInput) Get ¶

func (NullableUserUpdateInput) IsSet ¶

func (v NullableUserUpdateInput) IsSet() bool

func (NullableUserUpdateInput) MarshalJSON ¶

func (v NullableUserUpdateInput) MarshalJSON() ([]byte, error)

func (*NullableUserUpdateInput) Set ¶

func (*NullableUserUpdateInput) UnmarshalJSON ¶

func (v *NullableUserUpdateInput) UnmarshalJSON(src []byte) error

func (*NullableUserUpdateInput) Unset ¶

func (v *NullableUserUpdateInput) Unset()

type NullableUserdata ¶ added in v0.3.0

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

func NewNullableUserdata ¶ added in v0.3.0

func NewNullableUserdata(val *Userdata) *NullableUserdata

func (NullableUserdata) Get ¶ added in v0.3.0

func (v NullableUserdata) Get() *Userdata

func (NullableUserdata) IsSet ¶ added in v0.3.0

func (v NullableUserdata) IsSet() bool

func (NullableUserdata) MarshalJSON ¶ added in v0.3.0

func (v NullableUserdata) MarshalJSON() ([]byte, error)

func (*NullableUserdata) Set ¶ added in v0.3.0

func (v *NullableUserdata) Set(val *Userdata)

func (*NullableUserdata) UnmarshalJSON ¶ added in v0.3.0

func (v *NullableUserdata) UnmarshalJSON(src []byte) error

func (*NullableUserdata) Unset ¶ added in v0.3.0

func (v *NullableUserdata) Unset()

type NullableVerifyEmail ¶ added in v0.3.0

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

func NewNullableVerifyEmail ¶ added in v0.3.0

func NewNullableVerifyEmail(val *VerifyEmail) *NullableVerifyEmail

func (NullableVerifyEmail) Get ¶ added in v0.3.0

func (NullableVerifyEmail) IsSet ¶ added in v0.3.0

func (v NullableVerifyEmail) IsSet() bool

func (NullableVerifyEmail) MarshalJSON ¶ added in v0.3.0

func (v NullableVerifyEmail) MarshalJSON() ([]byte, error)

func (*NullableVerifyEmail) Set ¶ added in v0.3.0

func (v *NullableVerifyEmail) Set(val *VerifyEmail)

func (*NullableVerifyEmail) UnmarshalJSON ¶ added in v0.3.0

func (v *NullableVerifyEmail) UnmarshalJSON(src []byte) error

func (*NullableVerifyEmail) Unset ¶ added in v0.3.0

func (v *NullableVerifyEmail) Unset()

type NullableVirtualCircuit ¶

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

func NewNullableVirtualCircuit ¶

func NewNullableVirtualCircuit(val *VirtualCircuit) *NullableVirtualCircuit

func (NullableVirtualCircuit) Get ¶

func (NullableVirtualCircuit) IsSet ¶

func (v NullableVirtualCircuit) IsSet() bool

func (NullableVirtualCircuit) MarshalJSON ¶

func (v NullableVirtualCircuit) MarshalJSON() ([]byte, error)

func (*NullableVirtualCircuit) Set ¶

func (*NullableVirtualCircuit) UnmarshalJSON ¶

func (v *NullableVirtualCircuit) UnmarshalJSON(src []byte) error

func (*NullableVirtualCircuit) Unset ¶

func (v *NullableVirtualCircuit) Unset()

type NullableVirtualCircuitCreateInput ¶

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

func (NullableVirtualCircuitCreateInput) Get ¶

func (NullableVirtualCircuitCreateInput) IsSet ¶

func (NullableVirtualCircuitCreateInput) MarshalJSON ¶

func (v NullableVirtualCircuitCreateInput) MarshalJSON() ([]byte, error)

func (*NullableVirtualCircuitCreateInput) Set ¶

func (*NullableVirtualCircuitCreateInput) UnmarshalJSON ¶

func (v *NullableVirtualCircuitCreateInput) UnmarshalJSON(src []byte) error

func (*NullableVirtualCircuitCreateInput) Unset ¶

type NullableVirtualCircuitList ¶

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

func NewNullableVirtualCircuitList ¶

func NewNullableVirtualCircuitList(val *VirtualCircuitList) *NullableVirtualCircuitList

func (NullableVirtualCircuitList) Get ¶

func (NullableVirtualCircuitList) IsSet ¶

func (v NullableVirtualCircuitList) IsSet() bool

func (NullableVirtualCircuitList) MarshalJSON ¶

func (v NullableVirtualCircuitList) MarshalJSON() ([]byte, error)

func (*NullableVirtualCircuitList) Set ¶

func (*NullableVirtualCircuitList) UnmarshalJSON ¶

func (v *NullableVirtualCircuitList) UnmarshalJSON(src []byte) error

func (*NullableVirtualCircuitList) Unset ¶

func (v *NullableVirtualCircuitList) Unset()

type NullableVirtualCircuitUpdateInput ¶

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

func (NullableVirtualCircuitUpdateInput) Get ¶

func (NullableVirtualCircuitUpdateInput) IsSet ¶

func (NullableVirtualCircuitUpdateInput) MarshalJSON ¶

func (v NullableVirtualCircuitUpdateInput) MarshalJSON() ([]byte, error)

func (*NullableVirtualCircuitUpdateInput) Set ¶

func (*NullableVirtualCircuitUpdateInput) UnmarshalJSON ¶

func (v *NullableVirtualCircuitUpdateInput) UnmarshalJSON(src []byte) error

func (*NullableVirtualCircuitUpdateInput) Unset ¶

type NullableVirtualNetwork ¶

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

func NewNullableVirtualNetwork ¶

func NewNullableVirtualNetwork(val *VirtualNetwork) *NullableVirtualNetwork

func (NullableVirtualNetwork) Get ¶

func (NullableVirtualNetwork) IsSet ¶

func (v NullableVirtualNetwork) IsSet() bool

func (NullableVirtualNetwork) MarshalJSON ¶

func (v NullableVirtualNetwork) MarshalJSON() ([]byte, error)

func (*NullableVirtualNetwork) Set ¶

func (*NullableVirtualNetwork) UnmarshalJSON ¶

func (v *NullableVirtualNetwork) UnmarshalJSON(src []byte) error

func (*NullableVirtualNetwork) Unset ¶

func (v *NullableVirtualNetwork) Unset()

type NullableVirtualNetworkCreateInput ¶

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

func (NullableVirtualNetworkCreateInput) Get ¶

func (NullableVirtualNetworkCreateInput) IsSet ¶

func (NullableVirtualNetworkCreateInput) MarshalJSON ¶

func (v NullableVirtualNetworkCreateInput) MarshalJSON() ([]byte, error)

func (*NullableVirtualNetworkCreateInput) Set ¶

func (*NullableVirtualNetworkCreateInput) UnmarshalJSON ¶

func (v *NullableVirtualNetworkCreateInput) UnmarshalJSON(src []byte) error

func (*NullableVirtualNetworkCreateInput) Unset ¶

type NullableVirtualNetworkList ¶

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

func NewNullableVirtualNetworkList ¶

func NewNullableVirtualNetworkList(val *VirtualNetworkList) *NullableVirtualNetworkList

func (NullableVirtualNetworkList) Get ¶

func (NullableVirtualNetworkList) IsSet ¶

func (v NullableVirtualNetworkList) IsSet() bool

func (NullableVirtualNetworkList) MarshalJSON ¶

func (v NullableVirtualNetworkList) MarshalJSON() ([]byte, error)

func (*NullableVirtualNetworkList) Set ¶

func (*NullableVirtualNetworkList) UnmarshalJSON ¶

func (v *NullableVirtualNetworkList) UnmarshalJSON(src []byte) error

func (*NullableVirtualNetworkList) Unset ¶

func (v *NullableVirtualNetworkList) Unset()

type NullableVlanFabricVcCreateInput ¶ added in v0.18.0

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

func NewNullableVlanFabricVcCreateInput ¶ added in v0.18.0

func NewNullableVlanFabricVcCreateInput(val *VlanFabricVcCreateInput) *NullableVlanFabricVcCreateInput

func (NullableVlanFabricVcCreateInput) Get ¶ added in v0.18.0

func (NullableVlanFabricVcCreateInput) IsSet ¶ added in v0.18.0

func (NullableVlanFabricVcCreateInput) MarshalJSON ¶ added in v0.18.0

func (v NullableVlanFabricVcCreateInput) MarshalJSON() ([]byte, error)

func (*NullableVlanFabricVcCreateInput) Set ¶ added in v0.18.0

func (*NullableVlanFabricVcCreateInput) UnmarshalJSON ¶ added in v0.18.0

func (v *NullableVlanFabricVcCreateInput) UnmarshalJSON(src []byte) error

func (*NullableVlanFabricVcCreateInput) Unset ¶ added in v0.18.0

type NullableVlanFabricVcCreateInputServiceTokenType ¶ added in v0.22.0

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

func (NullableVlanFabricVcCreateInputServiceTokenType) Get ¶ added in v0.22.0

func (NullableVlanFabricVcCreateInputServiceTokenType) IsSet ¶ added in v0.22.0

func (NullableVlanFabricVcCreateInputServiceTokenType) MarshalJSON ¶ added in v0.22.0

func (*NullableVlanFabricVcCreateInputServiceTokenType) Set ¶ added in v0.22.0

func (*NullableVlanFabricVcCreateInputServiceTokenType) UnmarshalJSON ¶ added in v0.22.0

func (*NullableVlanFabricVcCreateInputServiceTokenType) Unset ¶ added in v0.22.0

type NullableVlanFabricVcCreateInputType ¶ added in v0.22.0

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

func NewNullableVlanFabricVcCreateInputType ¶ added in v0.22.0

func NewNullableVlanFabricVcCreateInputType(val *VlanFabricVcCreateInputType) *NullableVlanFabricVcCreateInputType

func (NullableVlanFabricVcCreateInputType) Get ¶ added in v0.22.0

func (NullableVlanFabricVcCreateInputType) IsSet ¶ added in v0.22.0

func (NullableVlanFabricVcCreateInputType) MarshalJSON ¶ added in v0.22.0

func (v NullableVlanFabricVcCreateInputType) MarshalJSON() ([]byte, error)

func (*NullableVlanFabricVcCreateInputType) Set ¶ added in v0.22.0

func (*NullableVlanFabricVcCreateInputType) UnmarshalJSON ¶ added in v0.22.0

func (v *NullableVlanFabricVcCreateInputType) UnmarshalJSON(src []byte) error

func (*NullableVlanFabricVcCreateInputType) Unset ¶ added in v0.22.0

type NullableVlanVirtualCircuit ¶ added in v0.8.0

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

func NewNullableVlanVirtualCircuit ¶ added in v0.8.0

func NewNullableVlanVirtualCircuit(val *VlanVirtualCircuit) *NullableVlanVirtualCircuit

func (NullableVlanVirtualCircuit) Get ¶ added in v0.8.0

func (NullableVlanVirtualCircuit) IsSet ¶ added in v0.8.0

func (v NullableVlanVirtualCircuit) IsSet() bool

func (NullableVlanVirtualCircuit) MarshalJSON ¶ added in v0.8.0

func (v NullableVlanVirtualCircuit) MarshalJSON() ([]byte, error)

func (*NullableVlanVirtualCircuit) Set ¶ added in v0.8.0

func (*NullableVlanVirtualCircuit) UnmarshalJSON ¶ added in v0.8.0

func (v *NullableVlanVirtualCircuit) UnmarshalJSON(src []byte) error

func (*NullableVlanVirtualCircuit) Unset ¶ added in v0.8.0

func (v *NullableVlanVirtualCircuit) Unset()

type NullableVlanVirtualCircuitCreateInput ¶ added in v0.8.0

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

func NewNullableVlanVirtualCircuitCreateInput ¶ added in v0.8.0

func NewNullableVlanVirtualCircuitCreateInput(val *VlanVirtualCircuitCreateInput) *NullableVlanVirtualCircuitCreateInput

func (NullableVlanVirtualCircuitCreateInput) Get ¶ added in v0.8.0

func (NullableVlanVirtualCircuitCreateInput) IsSet ¶ added in v0.8.0

func (NullableVlanVirtualCircuitCreateInput) MarshalJSON ¶ added in v0.8.0

func (v NullableVlanVirtualCircuitCreateInput) MarshalJSON() ([]byte, error)

func (*NullableVlanVirtualCircuitCreateInput) Set ¶ added in v0.8.0

func (*NullableVlanVirtualCircuitCreateInput) UnmarshalJSON ¶ added in v0.8.0

func (v *NullableVlanVirtualCircuitCreateInput) UnmarshalJSON(src []byte) error

func (*NullableVlanVirtualCircuitCreateInput) Unset ¶ added in v0.8.0

type NullableVlanVirtualCircuitStatus ¶ added in v0.22.0

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

func NewNullableVlanVirtualCircuitStatus ¶ added in v0.22.0

func NewNullableVlanVirtualCircuitStatus(val *VlanVirtualCircuitStatus) *NullableVlanVirtualCircuitStatus

func (NullableVlanVirtualCircuitStatus) Get ¶ added in v0.22.0

func (NullableVlanVirtualCircuitStatus) IsSet ¶ added in v0.22.0

func (NullableVlanVirtualCircuitStatus) MarshalJSON ¶ added in v0.22.0

func (v NullableVlanVirtualCircuitStatus) MarshalJSON() ([]byte, error)

func (*NullableVlanVirtualCircuitStatus) Set ¶ added in v0.22.0

func (*NullableVlanVirtualCircuitStatus) UnmarshalJSON ¶ added in v0.22.0

func (v *NullableVlanVirtualCircuitStatus) UnmarshalJSON(src []byte) error

func (*NullableVlanVirtualCircuitStatus) Unset ¶ added in v0.22.0

type NullableVlanVirtualCircuitType ¶ added in v0.25.0

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

func NewNullableVlanVirtualCircuitType ¶ added in v0.25.0

func NewNullableVlanVirtualCircuitType(val *VlanVirtualCircuitType) *NullableVlanVirtualCircuitType

func (NullableVlanVirtualCircuitType) Get ¶ added in v0.25.0

func (NullableVlanVirtualCircuitType) IsSet ¶ added in v0.25.0

func (NullableVlanVirtualCircuitType) MarshalJSON ¶ added in v0.25.0

func (v NullableVlanVirtualCircuitType) MarshalJSON() ([]byte, error)

func (*NullableVlanVirtualCircuitType) Set ¶ added in v0.25.0

func (*NullableVlanVirtualCircuitType) UnmarshalJSON ¶ added in v0.25.0

func (v *NullableVlanVirtualCircuitType) UnmarshalJSON(src []byte) error

func (*NullableVlanVirtualCircuitType) Unset ¶ added in v0.25.0

func (v *NullableVlanVirtualCircuitType) Unset()

type NullableVlanVirtualCircuitUpdateInput ¶ added in v0.8.0

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

func NewNullableVlanVirtualCircuitUpdateInput ¶ added in v0.8.0

func NewNullableVlanVirtualCircuitUpdateInput(val *VlanVirtualCircuitUpdateInput) *NullableVlanVirtualCircuitUpdateInput

func (NullableVlanVirtualCircuitUpdateInput) Get ¶ added in v0.8.0

func (NullableVlanVirtualCircuitUpdateInput) IsSet ¶ added in v0.8.0

func (NullableVlanVirtualCircuitUpdateInput) MarshalJSON ¶ added in v0.8.0

func (v NullableVlanVirtualCircuitUpdateInput) MarshalJSON() ([]byte, error)

func (*NullableVlanVirtualCircuitUpdateInput) Set ¶ added in v0.8.0

func (*NullableVlanVirtualCircuitUpdateInput) UnmarshalJSON ¶ added in v0.8.0

func (v *NullableVlanVirtualCircuitUpdateInput) UnmarshalJSON(src []byte) error

func (*NullableVlanVirtualCircuitUpdateInput) Unset ¶ added in v0.8.0

type NullableVrf ¶

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

func NewNullableVrf ¶

func NewNullableVrf(val *Vrf) *NullableVrf

func (NullableVrf) Get ¶

func (v NullableVrf) Get() *Vrf

func (NullableVrf) IsSet ¶

func (v NullableVrf) IsSet() bool

func (NullableVrf) MarshalJSON ¶

func (v NullableVrf) MarshalJSON() ([]byte, error)

func (*NullableVrf) Set ¶

func (v *NullableVrf) Set(val *Vrf)

func (*NullableVrf) UnmarshalJSON ¶

func (v *NullableVrf) UnmarshalJSON(src []byte) error

func (*NullableVrf) Unset ¶

func (v *NullableVrf) Unset()

type NullableVrfCreateInput ¶

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

func NewNullableVrfCreateInput ¶

func NewNullableVrfCreateInput(val *VrfCreateInput) *NullableVrfCreateInput

func (NullableVrfCreateInput) Get ¶

func (NullableVrfCreateInput) IsSet ¶

func (v NullableVrfCreateInput) IsSet() bool

func (NullableVrfCreateInput) MarshalJSON ¶

func (v NullableVrfCreateInput) MarshalJSON() ([]byte, error)

func (*NullableVrfCreateInput) Set ¶

func (*NullableVrfCreateInput) UnmarshalJSON ¶

func (v *NullableVrfCreateInput) UnmarshalJSON(src []byte) error

func (*NullableVrfCreateInput) Unset ¶

func (v *NullableVrfCreateInput) Unset()

type NullableVrfFabricVcCreateInput ¶ added in v0.18.0

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

func NewNullableVrfFabricVcCreateInput ¶ added in v0.18.0

func NewNullableVrfFabricVcCreateInput(val *VrfFabricVcCreateInput) *NullableVrfFabricVcCreateInput

func (NullableVrfFabricVcCreateInput) Get ¶ added in v0.18.0

func (NullableVrfFabricVcCreateInput) IsSet ¶ added in v0.18.0

func (NullableVrfFabricVcCreateInput) MarshalJSON ¶ added in v0.18.0

func (v NullableVrfFabricVcCreateInput) MarshalJSON() ([]byte, error)

func (*NullableVrfFabricVcCreateInput) Set ¶ added in v0.18.0

func (*NullableVrfFabricVcCreateInput) UnmarshalJSON ¶ added in v0.18.0

func (v *NullableVrfFabricVcCreateInput) UnmarshalJSON(src []byte) error

func (*NullableVrfFabricVcCreateInput) Unset ¶ added in v0.18.0

func (v *NullableVrfFabricVcCreateInput) Unset()

type NullableVrfIpReservation ¶

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

func NewNullableVrfIpReservation ¶

func NewNullableVrfIpReservation(val *VrfIpReservation) *NullableVrfIpReservation

func (NullableVrfIpReservation) Get ¶

func (NullableVrfIpReservation) IsSet ¶

func (v NullableVrfIpReservation) IsSet() bool

func (NullableVrfIpReservation) MarshalJSON ¶

func (v NullableVrfIpReservation) MarshalJSON() ([]byte, error)

func (*NullableVrfIpReservation) Set ¶

func (*NullableVrfIpReservation) UnmarshalJSON ¶

func (v *NullableVrfIpReservation) UnmarshalJSON(src []byte) error

func (*NullableVrfIpReservation) Unset ¶

func (v *NullableVrfIpReservation) Unset()

type NullableVrfIpReservationCreateInput ¶

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

func (NullableVrfIpReservationCreateInput) Get ¶

func (NullableVrfIpReservationCreateInput) IsSet ¶

func (NullableVrfIpReservationCreateInput) MarshalJSON ¶

func (v NullableVrfIpReservationCreateInput) MarshalJSON() ([]byte, error)

func (*NullableVrfIpReservationCreateInput) Set ¶

func (*NullableVrfIpReservationCreateInput) UnmarshalJSON ¶

func (v *NullableVrfIpReservationCreateInput) UnmarshalJSON(src []byte) error

func (*NullableVrfIpReservationCreateInput) Unset ¶

type NullableVrfIpReservationList ¶

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

func (NullableVrfIpReservationList) Get ¶

func (NullableVrfIpReservationList) IsSet ¶

func (NullableVrfIpReservationList) MarshalJSON ¶

func (v NullableVrfIpReservationList) MarshalJSON() ([]byte, error)

func (*NullableVrfIpReservationList) Set ¶

func (*NullableVrfIpReservationList) UnmarshalJSON ¶

func (v *NullableVrfIpReservationList) UnmarshalJSON(src []byte) error

func (*NullableVrfIpReservationList) Unset ¶

func (v *NullableVrfIpReservationList) Unset()

type NullableVrfIpReservationType ¶ added in v0.22.0

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

func NewNullableVrfIpReservationType ¶ added in v0.22.0

func NewNullableVrfIpReservationType(val *VrfIpReservationType) *NullableVrfIpReservationType

func (NullableVrfIpReservationType) Get ¶ added in v0.22.0

func (NullableVrfIpReservationType) IsSet ¶ added in v0.22.0

func (NullableVrfIpReservationType) MarshalJSON ¶ added in v0.22.0

func (v NullableVrfIpReservationType) MarshalJSON() ([]byte, error)

func (*NullableVrfIpReservationType) Set ¶ added in v0.22.0

func (*NullableVrfIpReservationType) UnmarshalJSON ¶ added in v0.22.0

func (v *NullableVrfIpReservationType) UnmarshalJSON(src []byte) error

func (*NullableVrfIpReservationType) Unset ¶ added in v0.22.0

func (v *NullableVrfIpReservationType) Unset()

type NullableVrfList ¶

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

func NewNullableVrfList ¶

func NewNullableVrfList(val *VrfList) *NullableVrfList

func (NullableVrfList) Get ¶

func (v NullableVrfList) Get() *VrfList

func (NullableVrfList) IsSet ¶

func (v NullableVrfList) IsSet() bool

func (NullableVrfList) MarshalJSON ¶

func (v NullableVrfList) MarshalJSON() ([]byte, error)

func (*NullableVrfList) Set ¶

func (v *NullableVrfList) Set(val *VrfList)

func (*NullableVrfList) UnmarshalJSON ¶

func (v *NullableVrfList) UnmarshalJSON(src []byte) error

func (*NullableVrfList) Unset ¶

func (v *NullableVrfList) Unset()

type NullableVrfMetalGateway ¶

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

func NewNullableVrfMetalGateway ¶

func NewNullableVrfMetalGateway(val *VrfMetalGateway) *NullableVrfMetalGateway

func (NullableVrfMetalGateway) Get ¶

func (NullableVrfMetalGateway) IsSet ¶

func (v NullableVrfMetalGateway) IsSet() bool

func (NullableVrfMetalGateway) MarshalJSON ¶

func (v NullableVrfMetalGateway) MarshalJSON() ([]byte, error)

func (*NullableVrfMetalGateway) Set ¶

func (*NullableVrfMetalGateway) UnmarshalJSON ¶

func (v *NullableVrfMetalGateway) UnmarshalJSON(src []byte) error

func (*NullableVrfMetalGateway) Unset ¶

func (v *NullableVrfMetalGateway) Unset()

type NullableVrfMetalGatewayCreateInput ¶

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

func (NullableVrfMetalGatewayCreateInput) Get ¶

func (NullableVrfMetalGatewayCreateInput) IsSet ¶

func (NullableVrfMetalGatewayCreateInput) MarshalJSON ¶

func (v NullableVrfMetalGatewayCreateInput) MarshalJSON() ([]byte, error)

func (*NullableVrfMetalGatewayCreateInput) Set ¶

func (*NullableVrfMetalGatewayCreateInput) UnmarshalJSON ¶

func (v *NullableVrfMetalGatewayCreateInput) UnmarshalJSON(src []byte) error

func (*NullableVrfMetalGatewayCreateInput) Unset ¶

type NullableVrfRoute ¶ added in v0.5.0

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

func NewNullableVrfRoute ¶ added in v0.5.0

func NewNullableVrfRoute(val *VrfRoute) *NullableVrfRoute

func (NullableVrfRoute) Get ¶ added in v0.5.0

func (v NullableVrfRoute) Get() *VrfRoute

func (NullableVrfRoute) IsSet ¶ added in v0.5.0

func (v NullableVrfRoute) IsSet() bool

func (NullableVrfRoute) MarshalJSON ¶ added in v0.5.0

func (v NullableVrfRoute) MarshalJSON() ([]byte, error)

func (*NullableVrfRoute) Set ¶ added in v0.5.0

func (v *NullableVrfRoute) Set(val *VrfRoute)

func (*NullableVrfRoute) UnmarshalJSON ¶ added in v0.5.0

func (v *NullableVrfRoute) UnmarshalJSON(src []byte) error

func (*NullableVrfRoute) Unset ¶ added in v0.5.0

func (v *NullableVrfRoute) Unset()

type NullableVrfRouteCreateInput ¶ added in v0.5.0

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

func NewNullableVrfRouteCreateInput ¶ added in v0.5.0

func NewNullableVrfRouteCreateInput(val *VrfRouteCreateInput) *NullableVrfRouteCreateInput

func (NullableVrfRouteCreateInput) Get ¶ added in v0.5.0

func (NullableVrfRouteCreateInput) IsSet ¶ added in v0.5.0

func (NullableVrfRouteCreateInput) MarshalJSON ¶ added in v0.5.0

func (v NullableVrfRouteCreateInput) MarshalJSON() ([]byte, error)

func (*NullableVrfRouteCreateInput) Set ¶ added in v0.5.0

func (*NullableVrfRouteCreateInput) UnmarshalJSON ¶ added in v0.5.0

func (v *NullableVrfRouteCreateInput) UnmarshalJSON(src []byte) error

func (*NullableVrfRouteCreateInput) Unset ¶ added in v0.5.0

func (v *NullableVrfRouteCreateInput) Unset()

type NullableVrfRouteList ¶ added in v0.5.0

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

func NewNullableVrfRouteList ¶ added in v0.5.0

func NewNullableVrfRouteList(val *VrfRouteList) *NullableVrfRouteList

func (NullableVrfRouteList) Get ¶ added in v0.5.0

func (NullableVrfRouteList) IsSet ¶ added in v0.5.0

func (v NullableVrfRouteList) IsSet() bool

func (NullableVrfRouteList) MarshalJSON ¶ added in v0.5.0

func (v NullableVrfRouteList) MarshalJSON() ([]byte, error)

func (*NullableVrfRouteList) Set ¶ added in v0.5.0

func (v *NullableVrfRouteList) Set(val *VrfRouteList)

func (*NullableVrfRouteList) UnmarshalJSON ¶ added in v0.5.0

func (v *NullableVrfRouteList) UnmarshalJSON(src []byte) error

func (*NullableVrfRouteList) Unset ¶ added in v0.5.0

func (v *NullableVrfRouteList) Unset()

type NullableVrfRouteStatus ¶ added in v0.22.0

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

func NewNullableVrfRouteStatus ¶ added in v0.22.0

func NewNullableVrfRouteStatus(val *VrfRouteStatus) *NullableVrfRouteStatus

func (NullableVrfRouteStatus) Get ¶ added in v0.22.0

func (NullableVrfRouteStatus) IsSet ¶ added in v0.22.0

func (v NullableVrfRouteStatus) IsSet() bool

func (NullableVrfRouteStatus) MarshalJSON ¶ added in v0.22.0

func (v NullableVrfRouteStatus) MarshalJSON() ([]byte, error)

func (*NullableVrfRouteStatus) Set ¶ added in v0.22.0

func (*NullableVrfRouteStatus) UnmarshalJSON ¶ added in v0.22.0

func (v *NullableVrfRouteStatus) UnmarshalJSON(src []byte) error

func (*NullableVrfRouteStatus) Unset ¶ added in v0.22.0

func (v *NullableVrfRouteStatus) Unset()

type NullableVrfRouteType ¶ added in v0.22.0

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

func NewNullableVrfRouteType ¶ added in v0.22.0

func NewNullableVrfRouteType(val *VrfRouteType) *NullableVrfRouteType

func (NullableVrfRouteType) Get ¶ added in v0.22.0

func (NullableVrfRouteType) IsSet ¶ added in v0.22.0

func (v NullableVrfRouteType) IsSet() bool

func (NullableVrfRouteType) MarshalJSON ¶ added in v0.22.0

func (v NullableVrfRouteType) MarshalJSON() ([]byte, error)

func (*NullableVrfRouteType) Set ¶ added in v0.22.0

func (v *NullableVrfRouteType) Set(val *VrfRouteType)

func (*NullableVrfRouteType) UnmarshalJSON ¶ added in v0.22.0

func (v *NullableVrfRouteType) UnmarshalJSON(src []byte) error

func (*NullableVrfRouteType) Unset ¶ added in v0.22.0

func (v *NullableVrfRouteType) Unset()

type NullableVrfRouteUpdateInput ¶ added in v0.9.0

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

func NewNullableVrfRouteUpdateInput ¶ added in v0.9.0

func NewNullableVrfRouteUpdateInput(val *VrfRouteUpdateInput) *NullableVrfRouteUpdateInput

func (NullableVrfRouteUpdateInput) Get ¶ added in v0.9.0

func (NullableVrfRouteUpdateInput) IsSet ¶ added in v0.9.0

func (NullableVrfRouteUpdateInput) MarshalJSON ¶ added in v0.9.0

func (v NullableVrfRouteUpdateInput) MarshalJSON() ([]byte, error)

func (*NullableVrfRouteUpdateInput) Set ¶ added in v0.9.0

func (*NullableVrfRouteUpdateInput) UnmarshalJSON ¶ added in v0.9.0

func (v *NullableVrfRouteUpdateInput) UnmarshalJSON(src []byte) error

func (*NullableVrfRouteUpdateInput) Unset ¶ added in v0.9.0

func (v *NullableVrfRouteUpdateInput) Unset()

type NullableVrfUpdateInput ¶

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

func NewNullableVrfUpdateInput ¶

func NewNullableVrfUpdateInput(val *VrfUpdateInput) *NullableVrfUpdateInput

func (NullableVrfUpdateInput) Get ¶

func (NullableVrfUpdateInput) IsSet ¶

func (v NullableVrfUpdateInput) IsSet() bool

func (NullableVrfUpdateInput) MarshalJSON ¶

func (v NullableVrfUpdateInput) MarshalJSON() ([]byte, error)

func (*NullableVrfUpdateInput) Set ¶

func (*NullableVrfUpdateInput) UnmarshalJSON ¶

func (v *NullableVrfUpdateInput) UnmarshalJSON(src []byte) error

func (*NullableVrfUpdateInput) Unset ¶

func (v *NullableVrfUpdateInput) Unset()

type NullableVrfVirtualCircuit ¶

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

func NewNullableVrfVirtualCircuit ¶

func NewNullableVrfVirtualCircuit(val *VrfVirtualCircuit) *NullableVrfVirtualCircuit

func (NullableVrfVirtualCircuit) Get ¶

func (NullableVrfVirtualCircuit) IsSet ¶

func (v NullableVrfVirtualCircuit) IsSet() bool

func (NullableVrfVirtualCircuit) MarshalJSON ¶

func (v NullableVrfVirtualCircuit) MarshalJSON() ([]byte, error)

func (*NullableVrfVirtualCircuit) Set ¶

func (*NullableVrfVirtualCircuit) UnmarshalJSON ¶

func (v *NullableVrfVirtualCircuit) UnmarshalJSON(src []byte) error

func (*NullableVrfVirtualCircuit) Unset ¶

func (v *NullableVrfVirtualCircuit) Unset()

type NullableVrfVirtualCircuitCreateInput ¶

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

func (NullableVrfVirtualCircuitCreateInput) Get ¶

func (NullableVrfVirtualCircuitCreateInput) IsSet ¶

func (NullableVrfVirtualCircuitCreateInput) MarshalJSON ¶

func (v NullableVrfVirtualCircuitCreateInput) MarshalJSON() ([]byte, error)

func (*NullableVrfVirtualCircuitCreateInput) Set ¶

func (*NullableVrfVirtualCircuitCreateInput) UnmarshalJSON ¶

func (v *NullableVrfVirtualCircuitCreateInput) UnmarshalJSON(src []byte) error

func (*NullableVrfVirtualCircuitCreateInput) Unset ¶

type NullableVrfVirtualCircuitStatus ¶ added in v0.22.0

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

func NewNullableVrfVirtualCircuitStatus ¶ added in v0.22.0

func NewNullableVrfVirtualCircuitStatus(val *VrfVirtualCircuitStatus) *NullableVrfVirtualCircuitStatus

func (NullableVrfVirtualCircuitStatus) Get ¶ added in v0.22.0

func (NullableVrfVirtualCircuitStatus) IsSet ¶ added in v0.22.0

func (NullableVrfVirtualCircuitStatus) MarshalJSON ¶ added in v0.22.0

func (v NullableVrfVirtualCircuitStatus) MarshalJSON() ([]byte, error)

func (*NullableVrfVirtualCircuitStatus) Set ¶ added in v0.22.0

func (*NullableVrfVirtualCircuitStatus) UnmarshalJSON ¶ added in v0.22.0

func (v *NullableVrfVirtualCircuitStatus) UnmarshalJSON(src []byte) error

func (*NullableVrfVirtualCircuitStatus) Unset ¶ added in v0.22.0

type NullableVrfVirtualCircuitUpdateInput ¶

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

func (NullableVrfVirtualCircuitUpdateInput) Get ¶

func (NullableVrfVirtualCircuitUpdateInput) IsSet ¶

func (NullableVrfVirtualCircuitUpdateInput) MarshalJSON ¶

func (v NullableVrfVirtualCircuitUpdateInput) MarshalJSON() ([]byte, error)

func (*NullableVrfVirtualCircuitUpdateInput) Set ¶

func (*NullableVrfVirtualCircuitUpdateInput) UnmarshalJSON ¶

func (v *NullableVrfVirtualCircuitUpdateInput) UnmarshalJSON(src []byte) error

func (*NullableVrfVirtualCircuitUpdateInput) Unset ¶

type OTPsApiService ¶

type OTPsApiService service

OTPsApiService OTPsApi service

func (*OTPsApiService) FindEnsureOtp ¶

func (a *OTPsApiService) FindEnsureOtp(ctx context.Context, otp string) ApiFindEnsureOtpRequest

FindEnsureOtp Verify user by providing an OTP

It verifies the user once a valid OTP is provided. It gives back a session token, essentially logging in the user.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param otp OTP
@return ApiFindEnsureOtpRequest

func (*OTPsApiService) FindEnsureOtpExecute ¶

func (a *OTPsApiService) FindEnsureOtpExecute(r ApiFindEnsureOtpRequest) (*http.Response, error)

Execute executes the request

func (*OTPsApiService) FindRecoveryCodes ¶

func (a *OTPsApiService) FindRecoveryCodes(ctx context.Context) ApiFindRecoveryCodesRequest

FindRecoveryCodes Retrieve my recovery codes

Returns my recovery codes.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@return ApiFindRecoveryCodesRequest

func (*OTPsApiService) FindRecoveryCodesExecute ¶

func (a *OTPsApiService) FindRecoveryCodesExecute(r ApiFindRecoveryCodesRequest) (*RecoveryCodeList, *http.Response, error)

Execute executes the request

@return RecoveryCodeList

func (*OTPsApiService) ReceiveCodes ¶

ReceiveCodes Receive an OTP per sms

Sends an OTP to the user's mobile phone.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@return ApiReceiveCodesRequest

func (*OTPsApiService) ReceiveCodesExecute ¶

func (a *OTPsApiService) ReceiveCodesExecute(r ApiReceiveCodesRequest) (*http.Response, error)

Execute executes the request

func (*OTPsApiService) RegenerateCodes ¶

func (a *OTPsApiService) RegenerateCodes(ctx context.Context) ApiRegenerateCodesRequest

RegenerateCodes Generate new recovery codes

Generate a new set of recovery codes.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@return ApiRegenerateCodesRequest

func (*OTPsApiService) RegenerateCodesExecute ¶

func (a *OTPsApiService) RegenerateCodesExecute(r ApiRegenerateCodesRequest) (*RecoveryCodeList, *http.Response, error)

Execute executes the request

@return RecoveryCodeList

type OperatingSystem ¶

type OperatingSystem struct {
	Distro      *string `json:"distro,omitempty"`
	DistroLabel *string `json:"distro_label,omitempty"`
	Id          *string `json:"id,omitempty"`
	// Licenced OS is priced according to pricing property
	Licensed *bool   `json:"licensed,omitempty"`
	Name     *string `json:"name,omitempty"`
	// Servers can be already preinstalled with OS in order to shorten provision time.
	Preinstallable *bool `json:"preinstallable,omitempty"`
	// This object contains price per time unit and optional multiplier value if licence price depends on hardware plan or components (e.g. number of cores)
	Pricing         map[string]interface{} `json:"pricing,omitempty"`
	ProvisionableOn []string               `json:"provisionable_on,omitempty"`
	Slug            *string                `json:"slug,omitempty"`
	Version         *string                `json:"version,omitempty"`
	// Default operating system for the distro.
	DefaultOperatingSystem *bool `json:"default_operating_system,omitempty"`
	AdditionalProperties   map[string]interface{}
}

OperatingSystem struct for OperatingSystem

func NewOperatingSystem ¶

func NewOperatingSystem() *OperatingSystem

NewOperatingSystem instantiates a new OperatingSystem object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewOperatingSystemWithDefaults ¶

func NewOperatingSystemWithDefaults() *OperatingSystem

NewOperatingSystemWithDefaults instantiates a new OperatingSystem object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*OperatingSystem) GetDefaultOperatingSystem ¶ added in v0.10.0

func (o *OperatingSystem) GetDefaultOperatingSystem() bool

GetDefaultOperatingSystem returns the DefaultOperatingSystem field value if set, zero value otherwise.

func (*OperatingSystem) GetDefaultOperatingSystemOk ¶ added in v0.10.0

func (o *OperatingSystem) GetDefaultOperatingSystemOk() (*bool, bool)

GetDefaultOperatingSystemOk returns a tuple with the DefaultOperatingSystem field value if set, nil otherwise and a boolean to check if the value has been set.

func (*OperatingSystem) GetDistro ¶

func (o *OperatingSystem) GetDistro() string

GetDistro returns the Distro field value if set, zero value otherwise.

func (*OperatingSystem) GetDistroLabel ¶ added in v0.5.0

func (o *OperatingSystem) GetDistroLabel() string

GetDistroLabel returns the DistroLabel field value if set, zero value otherwise.

func (*OperatingSystem) GetDistroLabelOk ¶ added in v0.5.0

func (o *OperatingSystem) GetDistroLabelOk() (*string, bool)

GetDistroLabelOk returns a tuple with the DistroLabel field value if set, nil otherwise and a boolean to check if the value has been set.

func (*OperatingSystem) GetDistroOk ¶

func (o *OperatingSystem) GetDistroOk() (*string, bool)

GetDistroOk returns a tuple with the Distro field value if set, nil otherwise and a boolean to check if the value has been set.

func (*OperatingSystem) GetId ¶

func (o *OperatingSystem) GetId() string

GetId returns the Id field value if set, zero value otherwise.

func (*OperatingSystem) GetIdOk ¶

func (o *OperatingSystem) GetIdOk() (*string, bool)

GetIdOk returns a tuple with the Id field value if set, nil otherwise and a boolean to check if the value has been set.

func (*OperatingSystem) GetLicensed ¶

func (o *OperatingSystem) GetLicensed() bool

GetLicensed returns the Licensed field value if set, zero value otherwise.

func (*OperatingSystem) GetLicensedOk ¶

func (o *OperatingSystem) GetLicensedOk() (*bool, bool)

GetLicensedOk returns a tuple with the Licensed field value if set, nil otherwise and a boolean to check if the value has been set.

func (*OperatingSystem) GetName ¶

func (o *OperatingSystem) GetName() string

GetName returns the Name field value if set, zero value otherwise.

func (*OperatingSystem) GetNameOk ¶

func (o *OperatingSystem) GetNameOk() (*string, bool)

GetNameOk returns a tuple with the Name field value if set, nil otherwise and a boolean to check if the value has been set.

func (*OperatingSystem) GetPreinstallable ¶

func (o *OperatingSystem) GetPreinstallable() bool

GetPreinstallable returns the Preinstallable field value if set, zero value otherwise.

func (*OperatingSystem) GetPreinstallableOk ¶

func (o *OperatingSystem) GetPreinstallableOk() (*bool, bool)

GetPreinstallableOk returns a tuple with the Preinstallable field value if set, nil otherwise and a boolean to check if the value has been set.

func (*OperatingSystem) GetPricing ¶

func (o *OperatingSystem) GetPricing() map[string]interface{}

GetPricing returns the Pricing field value if set, zero value otherwise.

func (*OperatingSystem) GetPricingOk ¶

func (o *OperatingSystem) GetPricingOk() (map[string]interface{}, bool)

GetPricingOk returns a tuple with the Pricing field value if set, nil otherwise and a boolean to check if the value has been set.

func (*OperatingSystem) GetProvisionableOn ¶

func (o *OperatingSystem) GetProvisionableOn() []string

GetProvisionableOn returns the ProvisionableOn field value if set, zero value otherwise.

func (*OperatingSystem) GetProvisionableOnOk ¶

func (o *OperatingSystem) GetProvisionableOnOk() ([]string, bool)

GetProvisionableOnOk returns a tuple with the ProvisionableOn field value if set, nil otherwise and a boolean to check if the value has been set.

func (*OperatingSystem) GetSlug ¶

func (o *OperatingSystem) GetSlug() string

GetSlug returns the Slug field value if set, zero value otherwise.

func (*OperatingSystem) GetSlugOk ¶

func (o *OperatingSystem) GetSlugOk() (*string, bool)

GetSlugOk returns a tuple with the Slug field value if set, nil otherwise and a boolean to check if the value has been set.

func (*OperatingSystem) GetVersion ¶

func (o *OperatingSystem) GetVersion() string

GetVersion returns the Version field value if set, zero value otherwise.

func (*OperatingSystem) GetVersionOk ¶

func (o *OperatingSystem) GetVersionOk() (*string, bool)

GetVersionOk returns a tuple with the Version field value if set, nil otherwise and a boolean to check if the value has been set.

func (*OperatingSystem) HasDefaultOperatingSystem ¶ added in v0.10.0

func (o *OperatingSystem) HasDefaultOperatingSystem() bool

HasDefaultOperatingSystem returns a boolean if a field has been set.

func (*OperatingSystem) HasDistro ¶

func (o *OperatingSystem) HasDistro() bool

HasDistro returns a boolean if a field has been set.

func (*OperatingSystem) HasDistroLabel ¶ added in v0.5.0

func (o *OperatingSystem) HasDistroLabel() bool

HasDistroLabel returns a boolean if a field has been set.

func (*OperatingSystem) HasId ¶

func (o *OperatingSystem) HasId() bool

HasId returns a boolean if a field has been set.

func (*OperatingSystem) HasLicensed ¶

func (o *OperatingSystem) HasLicensed() bool

HasLicensed returns a boolean if a field has been set.

func (*OperatingSystem) HasName ¶

func (o *OperatingSystem) HasName() bool

HasName returns a boolean if a field has been set.

func (*OperatingSystem) HasPreinstallable ¶

func (o *OperatingSystem) HasPreinstallable() bool

HasPreinstallable returns a boolean if a field has been set.

func (*OperatingSystem) HasPricing ¶

func (o *OperatingSystem) HasPricing() bool

HasPricing returns a boolean if a field has been set.

func (*OperatingSystem) HasProvisionableOn ¶

func (o *OperatingSystem) HasProvisionableOn() bool

HasProvisionableOn returns a boolean if a field has been set.

func (*OperatingSystem) HasSlug ¶

func (o *OperatingSystem) HasSlug() bool

HasSlug returns a boolean if a field has been set.

func (*OperatingSystem) HasVersion ¶

func (o *OperatingSystem) HasVersion() bool

HasVersion returns a boolean if a field has been set.

func (OperatingSystem) MarshalJSON ¶

func (o OperatingSystem) MarshalJSON() ([]byte, error)

func (*OperatingSystem) SetDefaultOperatingSystem ¶ added in v0.10.0

func (o *OperatingSystem) SetDefaultOperatingSystem(v bool)

SetDefaultOperatingSystem gets a reference to the given bool and assigns it to the DefaultOperatingSystem field.

func (*OperatingSystem) SetDistro ¶

func (o *OperatingSystem) SetDistro(v string)

SetDistro gets a reference to the given string and assigns it to the Distro field.

func (*OperatingSystem) SetDistroLabel ¶ added in v0.5.0

func (o *OperatingSystem) SetDistroLabel(v string)

SetDistroLabel gets a reference to the given string and assigns it to the DistroLabel field.

func (*OperatingSystem) SetId ¶

func (o *OperatingSystem) SetId(v string)

SetId gets a reference to the given string and assigns it to the Id field.

func (*OperatingSystem) SetLicensed ¶

func (o *OperatingSystem) SetLicensed(v bool)

SetLicensed gets a reference to the given bool and assigns it to the Licensed field.

func (*OperatingSystem) SetName ¶

func (o *OperatingSystem) SetName(v string)

SetName gets a reference to the given string and assigns it to the Name field.

func (*OperatingSystem) SetPreinstallable ¶

func (o *OperatingSystem) SetPreinstallable(v bool)

SetPreinstallable gets a reference to the given bool and assigns it to the Preinstallable field.

func (*OperatingSystem) SetPricing ¶

func (o *OperatingSystem) SetPricing(v map[string]interface{})

SetPricing gets a reference to the given map[string]interface{} and assigns it to the Pricing field.

func (*OperatingSystem) SetProvisionableOn ¶

func (o *OperatingSystem) SetProvisionableOn(v []string)

SetProvisionableOn gets a reference to the given []string and assigns it to the ProvisionableOn field.

func (*OperatingSystem) SetSlug ¶

func (o *OperatingSystem) SetSlug(v string)

SetSlug gets a reference to the given string and assigns it to the Slug field.

func (*OperatingSystem) SetVersion ¶

func (o *OperatingSystem) SetVersion(v string)

SetVersion gets a reference to the given string and assigns it to the Version field.

func (OperatingSystem) ToMap ¶ added in v0.4.0

func (o OperatingSystem) ToMap() (map[string]interface{}, error)

func (*OperatingSystem) UnmarshalJSON ¶ added in v0.7.0

func (o *OperatingSystem) UnmarshalJSON(bytes []byte) (err error)

type OperatingSystemList ¶

type OperatingSystemList struct {
	OperatingSystems     []OperatingSystem `json:"operating_systems,omitempty"`
	AdditionalProperties map[string]interface{}
}

OperatingSystemList struct for OperatingSystemList

func NewOperatingSystemList ¶

func NewOperatingSystemList() *OperatingSystemList

NewOperatingSystemList instantiates a new OperatingSystemList object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewOperatingSystemListWithDefaults ¶

func NewOperatingSystemListWithDefaults() *OperatingSystemList

NewOperatingSystemListWithDefaults instantiates a new OperatingSystemList object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*OperatingSystemList) GetOperatingSystems ¶

func (o *OperatingSystemList) GetOperatingSystems() []OperatingSystem

GetOperatingSystems returns the OperatingSystems field value if set, zero value otherwise.

func (*OperatingSystemList) GetOperatingSystemsOk ¶

func (o *OperatingSystemList) GetOperatingSystemsOk() ([]OperatingSystem, bool)

GetOperatingSystemsOk returns a tuple with the OperatingSystems field value if set, nil otherwise and a boolean to check if the value has been set.

func (*OperatingSystemList) HasOperatingSystems ¶

func (o *OperatingSystemList) HasOperatingSystems() bool

HasOperatingSystems returns a boolean if a field has been set.

func (OperatingSystemList) MarshalJSON ¶

func (o OperatingSystemList) MarshalJSON() ([]byte, error)

func (*OperatingSystemList) SetOperatingSystems ¶

func (o *OperatingSystemList) SetOperatingSystems(v []OperatingSystem)

SetOperatingSystems gets a reference to the given []OperatingSystem and assigns it to the OperatingSystems field.

func (OperatingSystemList) ToMap ¶ added in v0.4.0

func (o OperatingSystemList) ToMap() (map[string]interface{}, error)

func (*OperatingSystemList) UnmarshalJSON ¶ added in v0.7.0

func (o *OperatingSystemList) UnmarshalJSON(bytes []byte) (err error)

type OperatingSystemsApiService ¶

type OperatingSystemsApiService service

OperatingSystemsApiService OperatingSystemsApi service

func (*OperatingSystemsApiService) FindOperatingSystemVersion ¶

FindOperatingSystemVersion Retrieve all operating system versions

Provides a listing of available operating system versions.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@return ApiFindOperatingSystemVersionRequest

func (*OperatingSystemsApiService) FindOperatingSystemVersionExecute ¶

Execute executes the request

@return OperatingSystemList

func (*OperatingSystemsApiService) FindOperatingSystems ¶

FindOperatingSystems Retrieve all operating systems

Provides a listing of available operating systems to provision your new device with.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@return ApiFindOperatingSystemsRequest

func (*OperatingSystemsApiService) FindOperatingSystemsExecute ¶

Execute executes the request

@return OperatingSystemList

type Organization ¶

type Organization struct {
	Address        *Address               `json:"address,omitempty"`
	BillingAddress *Address               `json:"billing_address,omitempty"`
	CreatedAt      *time.Time             `json:"created_at,omitempty"`
	CreditAmount   *float32               `json:"credit_amount,omitempty"`
	Customdata     map[string]interface{} `json:"customdata,omitempty"`
	Description    *string                `json:"description,omitempty"`
	// Force to all members to have enabled the two factor authentication after that date, unless the value is null
	Enforce2faAt         *time.Time `json:"enforce_2fa_at,omitempty"`
	Id                   *string    `json:"id,omitempty"`
	Members              []Href     `json:"members,omitempty"`
	Memberships          []Href     `json:"memberships,omitempty"`
	Name                 *string    `json:"name,omitempty"`
	Projects             []Href     `json:"projects,omitempty"`
	Terms                *int32     `json:"terms,omitempty"`
	Twitter              *string    `json:"twitter,omitempty"`
	UpdatedAt            *time.Time `json:"updated_at,omitempty"`
	Website              *string    `json:"website,omitempty"`
	AdditionalProperties map[string]interface{}
}

Organization struct for Organization

func NewOrganization ¶

func NewOrganization() *Organization

NewOrganization instantiates a new Organization object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewOrganizationWithDefaults ¶

func NewOrganizationWithDefaults() *Organization

NewOrganizationWithDefaults instantiates a new Organization object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*Organization) GetAddress ¶

func (o *Organization) GetAddress() Address

GetAddress returns the Address field value if set, zero value otherwise.

func (*Organization) GetAddressOk ¶

func (o *Organization) GetAddressOk() (*Address, bool)

GetAddressOk returns a tuple with the Address field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Organization) GetBillingAddress ¶

func (o *Organization) GetBillingAddress() Address

GetBillingAddress returns the BillingAddress field value if set, zero value otherwise.

func (*Organization) GetBillingAddressOk ¶

func (o *Organization) GetBillingAddressOk() (*Address, bool)

GetBillingAddressOk returns a tuple with the BillingAddress field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Organization) GetCreatedAt ¶

func (o *Organization) GetCreatedAt() time.Time

GetCreatedAt returns the CreatedAt field value if set, zero value otherwise.

func (*Organization) GetCreatedAtOk ¶

func (o *Organization) GetCreatedAtOk() (*time.Time, bool)

GetCreatedAtOk returns a tuple with the CreatedAt field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Organization) GetCreditAmount ¶

func (o *Organization) GetCreditAmount() float32

GetCreditAmount returns the CreditAmount field value if set, zero value otherwise.

func (*Organization) GetCreditAmountOk ¶

func (o *Organization) GetCreditAmountOk() (*float32, bool)

GetCreditAmountOk returns a tuple with the CreditAmount field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Organization) GetCustomdata ¶

func (o *Organization) GetCustomdata() map[string]interface{}

GetCustomdata returns the Customdata field value if set, zero value otherwise.

func (*Organization) GetCustomdataOk ¶

func (o *Organization) GetCustomdataOk() (map[string]interface{}, bool)

GetCustomdataOk returns a tuple with the Customdata field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Organization) GetDescription ¶

func (o *Organization) GetDescription() string

GetDescription returns the Description field value if set, zero value otherwise.

func (*Organization) GetDescriptionOk ¶

func (o *Organization) GetDescriptionOk() (*string, bool)

GetDescriptionOk returns a tuple with the Description field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Organization) GetEnforce2faAt ¶

func (o *Organization) GetEnforce2faAt() time.Time

GetEnforce2faAt returns the Enforce2faAt field value if set, zero value otherwise.

func (*Organization) GetEnforce2faAtOk ¶

func (o *Organization) GetEnforce2faAtOk() (*time.Time, bool)

GetEnforce2faAtOk returns a tuple with the Enforce2faAt field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Organization) GetId ¶

func (o *Organization) GetId() string

GetId returns the Id field value if set, zero value otherwise.

func (*Organization) GetIdOk ¶

func (o *Organization) GetIdOk() (*string, bool)

GetIdOk returns a tuple with the Id field value if set, nil otherwise and a boolean to check if the value has been set.

func (o *Organization) GetLogo() string

GetLogo returns the Logo field value if set, zero value otherwise.

func (*Organization) GetLogoOk ¶

func (o *Organization) GetLogoOk() (*string, bool)

GetLogoOk returns a tuple with the Logo field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Organization) GetMembers ¶

func (o *Organization) GetMembers() []Href

GetMembers returns the Members field value if set, zero value otherwise.

func (*Organization) GetMembersOk ¶

func (o *Organization) GetMembersOk() ([]Href, bool)

GetMembersOk returns a tuple with the Members field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Organization) GetMemberships ¶

func (o *Organization) GetMemberships() []Href

GetMemberships returns the Memberships field value if set, zero value otherwise.

func (*Organization) GetMembershipsOk ¶

func (o *Organization) GetMembershipsOk() ([]Href, bool)

GetMembershipsOk returns a tuple with the Memberships field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Organization) GetName ¶

func (o *Organization) GetName() string

GetName returns the Name field value if set, zero value otherwise.

func (*Organization) GetNameOk ¶

func (o *Organization) GetNameOk() (*string, bool)

GetNameOk returns a tuple with the Name field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Organization) GetProjects ¶

func (o *Organization) GetProjects() []Href

GetProjects returns the Projects field value if set, zero value otherwise.

func (*Organization) GetProjectsOk ¶

func (o *Organization) GetProjectsOk() ([]Href, bool)

GetProjectsOk returns a tuple with the Projects field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Organization) GetTerms ¶

func (o *Organization) GetTerms() int32

GetTerms returns the Terms field value if set, zero value otherwise.

func (*Organization) GetTermsOk ¶

func (o *Organization) GetTermsOk() (*int32, bool)

GetTermsOk returns a tuple with the Terms field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Organization) GetTwitter ¶

func (o *Organization) GetTwitter() string

GetTwitter returns the Twitter field value if set, zero value otherwise.

func (*Organization) GetTwitterOk ¶

func (o *Organization) GetTwitterOk() (*string, bool)

GetTwitterOk returns a tuple with the Twitter field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Organization) GetUpdatedAt ¶

func (o *Organization) GetUpdatedAt() time.Time

GetUpdatedAt returns the UpdatedAt field value if set, zero value otherwise.

func (*Organization) GetUpdatedAtOk ¶

func (o *Organization) GetUpdatedAtOk() (*time.Time, bool)

GetUpdatedAtOk returns a tuple with the UpdatedAt field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Organization) GetWebsite ¶

func (o *Organization) GetWebsite() string

GetWebsite returns the Website field value if set, zero value otherwise.

func (*Organization) GetWebsiteOk ¶

func (o *Organization) GetWebsiteOk() (*string, bool)

GetWebsiteOk returns a tuple with the Website field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Organization) HasAddress ¶

func (o *Organization) HasAddress() bool

HasAddress returns a boolean if a field has been set.

func (*Organization) HasBillingAddress ¶

func (o *Organization) HasBillingAddress() bool

HasBillingAddress returns a boolean if a field has been set.

func (*Organization) HasCreatedAt ¶

func (o *Organization) HasCreatedAt() bool

HasCreatedAt returns a boolean if a field has been set.

func (*Organization) HasCreditAmount ¶

func (o *Organization) HasCreditAmount() bool

HasCreditAmount returns a boolean if a field has been set.

func (*Organization) HasCustomdata ¶

func (o *Organization) HasCustomdata() bool

HasCustomdata returns a boolean if a field has been set.

func (*Organization) HasDescription ¶

func (o *Organization) HasDescription() bool

HasDescription returns a boolean if a field has been set.

func (*Organization) HasEnforce2faAt ¶

func (o *Organization) HasEnforce2faAt() bool

HasEnforce2faAt returns a boolean if a field has been set.

func (*Organization) HasId ¶

func (o *Organization) HasId() bool

HasId returns a boolean if a field has been set.

func (o *Organization) HasLogo() bool

HasLogo returns a boolean if a field has been set.

func (*Organization) HasMembers ¶

func (o *Organization) HasMembers() bool

HasMembers returns a boolean if a field has been set.

func (*Organization) HasMemberships ¶

func (o *Organization) HasMemberships() bool

HasMemberships returns a boolean if a field has been set.

func (*Organization) HasName ¶

func (o *Organization) HasName() bool

HasName returns a boolean if a field has been set.

func (*Organization) HasProjects ¶

func (o *Organization) HasProjects() bool

HasProjects returns a boolean if a field has been set.

func (*Organization) HasTerms ¶

func (o *Organization) HasTerms() bool

HasTerms returns a boolean if a field has been set.

func (*Organization) HasTwitter ¶

func (o *Organization) HasTwitter() bool

HasTwitter returns a boolean if a field has been set.

func (*Organization) HasUpdatedAt ¶

func (o *Organization) HasUpdatedAt() bool

HasUpdatedAt returns a boolean if a field has been set.

func (*Organization) HasWebsite ¶

func (o *Organization) HasWebsite() bool

HasWebsite returns a boolean if a field has been set.

func (Organization) MarshalJSON ¶

func (o Organization) MarshalJSON() ([]byte, error)

func (*Organization) SetAddress ¶

func (o *Organization) SetAddress(v Address)

SetAddress gets a reference to the given Address and assigns it to the Address field.

func (*Organization) SetBillingAddress ¶

func (o *Organization) SetBillingAddress(v Address)

SetBillingAddress gets a reference to the given Address and assigns it to the BillingAddress field.

func (*Organization) SetCreatedAt ¶

func (o *Organization) SetCreatedAt(v time.Time)

SetCreatedAt gets a reference to the given time.Time and assigns it to the CreatedAt field.

func (*Organization) SetCreditAmount ¶

func (o *Organization) SetCreditAmount(v float32)

SetCreditAmount gets a reference to the given float32 and assigns it to the CreditAmount field.

func (*Organization) SetCustomdata ¶

func (o *Organization) SetCustomdata(v map[string]interface{})

SetCustomdata gets a reference to the given map[string]interface{} and assigns it to the Customdata field.

func (*Organization) SetDescription ¶

func (o *Organization) SetDescription(v string)

SetDescription gets a reference to the given string and assigns it to the Description field.

func (*Organization) SetEnforce2faAt ¶

func (o *Organization) SetEnforce2faAt(v time.Time)

SetEnforce2faAt gets a reference to the given time.Time and assigns it to the Enforce2faAt field.

func (*Organization) SetId ¶

func (o *Organization) SetId(v string)

SetId gets a reference to the given string and assigns it to the Id field.

func (o *Organization) SetLogo(v string)

SetLogo gets a reference to the given string and assigns it to the Logo field.

func (*Organization) SetMembers ¶

func (o *Organization) SetMembers(v []Href)

SetMembers gets a reference to the given []Href and assigns it to the Members field.

func (*Organization) SetMemberships ¶

func (o *Organization) SetMemberships(v []Href)

SetMemberships gets a reference to the given []Href and assigns it to the Memberships field.

func (*Organization) SetName ¶

func (o *Organization) SetName(v string)

SetName gets a reference to the given string and assigns it to the Name field.

func (*Organization) SetProjects ¶

func (o *Organization) SetProjects(v []Href)

SetProjects gets a reference to the given []Href and assigns it to the Projects field.

func (*Organization) SetTerms ¶

func (o *Organization) SetTerms(v int32)

SetTerms gets a reference to the given int32 and assigns it to the Terms field.

func (*Organization) SetTwitter ¶

func (o *Organization) SetTwitter(v string)

SetTwitter gets a reference to the given string and assigns it to the Twitter field.

func (*Organization) SetUpdatedAt ¶

func (o *Organization) SetUpdatedAt(v time.Time)

SetUpdatedAt gets a reference to the given time.Time and assigns it to the UpdatedAt field.

func (*Organization) SetWebsite ¶

func (o *Organization) SetWebsite(v string)

SetWebsite gets a reference to the given string and assigns it to the Website field.

func (Organization) ToMap ¶ added in v0.4.0

func (o Organization) ToMap() (map[string]interface{}, error)

func (*Organization) UnmarshalJSON ¶ added in v0.7.0

func (o *Organization) UnmarshalJSON(bytes []byte) (err error)

type OrganizationInput ¶

type OrganizationInput struct {
	Address        *Address               `json:"address,omitempty"`
	BillingAddress *Address               `json:"billing_address,omitempty"`
	Customdata     map[string]interface{} `json:"customdata,omitempty"`
	Description    *string                `json:"description,omitempty"`
	// Force to all members to have enabled the two factor authentication after that date, unless the value is null
	Enforce2faAt *time.Time `json:"enforce_2fa_at,omitempty"`
	// The logo for the organization; must be base64-encoded image data
	Name                 *string `json:"name,omitempty"`
	Twitter              *string `json:"twitter,omitempty"`
	Website              *string `json:"website,omitempty"`
	AdditionalProperties map[string]interface{}
}

OrganizationInput struct for OrganizationInput

func NewOrganizationInput ¶

func NewOrganizationInput() *OrganizationInput

NewOrganizationInput instantiates a new OrganizationInput object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewOrganizationInputWithDefaults ¶

func NewOrganizationInputWithDefaults() *OrganizationInput

NewOrganizationInputWithDefaults instantiates a new OrganizationInput object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*OrganizationInput) GetAddress ¶

func (o *OrganizationInput) GetAddress() Address

GetAddress returns the Address field value if set, zero value otherwise.

func (*OrganizationInput) GetAddressOk ¶

func (o *OrganizationInput) GetAddressOk() (*Address, bool)

GetAddressOk returns a tuple with the Address field value if set, nil otherwise and a boolean to check if the value has been set.

func (*OrganizationInput) GetBillingAddress ¶

func (o *OrganizationInput) GetBillingAddress() Address

GetBillingAddress returns the BillingAddress field value if set, zero value otherwise.

func (*OrganizationInput) GetBillingAddressOk ¶

func (o *OrganizationInput) GetBillingAddressOk() (*Address, bool)

GetBillingAddressOk returns a tuple with the BillingAddress field value if set, nil otherwise and a boolean to check if the value has been set.

func (*OrganizationInput) GetCustomdata ¶

func (o *OrganizationInput) GetCustomdata() map[string]interface{}

GetCustomdata returns the Customdata field value if set, zero value otherwise.

func (*OrganizationInput) GetCustomdataOk ¶

func (o *OrganizationInput) GetCustomdataOk() (map[string]interface{}, bool)

GetCustomdataOk returns a tuple with the Customdata field value if set, nil otherwise and a boolean to check if the value has been set.

func (*OrganizationInput) GetDescription ¶

func (o *OrganizationInput) GetDescription() string

GetDescription returns the Description field value if set, zero value otherwise.

func (*OrganizationInput) GetDescriptionOk ¶

func (o *OrganizationInput) GetDescriptionOk() (*string, bool)

GetDescriptionOk returns a tuple with the Description field value if set, nil otherwise and a boolean to check if the value has been set.

func (*OrganizationInput) GetEnforce2faAt ¶

func (o *OrganizationInput) GetEnforce2faAt() time.Time

GetEnforce2faAt returns the Enforce2faAt field value if set, zero value otherwise.

func (*OrganizationInput) GetEnforce2faAtOk ¶

func (o *OrganizationInput) GetEnforce2faAtOk() (*time.Time, bool)

GetEnforce2faAtOk returns a tuple with the Enforce2faAt field value if set, nil otherwise and a boolean to check if the value has been set.

func (o *OrganizationInput) GetLogo() string

GetLogo returns the Logo field value if set, zero value otherwise.

func (*OrganizationInput) GetLogoOk ¶

func (o *OrganizationInput) GetLogoOk() (*string, bool)

GetLogoOk returns a tuple with the Logo field value if set, nil otherwise and a boolean to check if the value has been set.

func (*OrganizationInput) GetName ¶

func (o *OrganizationInput) GetName() string

GetName returns the Name field value if set, zero value otherwise.

func (*OrganizationInput) GetNameOk ¶

func (o *OrganizationInput) GetNameOk() (*string, bool)

GetNameOk returns a tuple with the Name field value if set, nil otherwise and a boolean to check if the value has been set.

func (*OrganizationInput) GetTwitter ¶

func (o *OrganizationInput) GetTwitter() string

GetTwitter returns the Twitter field value if set, zero value otherwise.

func (*OrganizationInput) GetTwitterOk ¶

func (o *OrganizationInput) GetTwitterOk() (*string, bool)

GetTwitterOk returns a tuple with the Twitter field value if set, nil otherwise and a boolean to check if the value has been set.

func (*OrganizationInput) GetWebsite ¶

func (o *OrganizationInput) GetWebsite() string

GetWebsite returns the Website field value if set, zero value otherwise.

func (*OrganizationInput) GetWebsiteOk ¶

func (o *OrganizationInput) GetWebsiteOk() (*string, bool)

GetWebsiteOk returns a tuple with the Website field value if set, nil otherwise and a boolean to check if the value has been set.

func (*OrganizationInput) HasAddress ¶

func (o *OrganizationInput) HasAddress() bool

HasAddress returns a boolean if a field has been set.

func (*OrganizationInput) HasBillingAddress ¶

func (o *OrganizationInput) HasBillingAddress() bool

HasBillingAddress returns a boolean if a field has been set.

func (*OrganizationInput) HasCustomdata ¶

func (o *OrganizationInput) HasCustomdata() bool

HasCustomdata returns a boolean if a field has been set.

func (*OrganizationInput) HasDescription ¶

func (o *OrganizationInput) HasDescription() bool

HasDescription returns a boolean if a field has been set.

func (*OrganizationInput) HasEnforce2faAt ¶

func (o *OrganizationInput) HasEnforce2faAt() bool

HasEnforce2faAt returns a boolean if a field has been set.

func (o *OrganizationInput) HasLogo() bool

HasLogo returns a boolean if a field has been set.

func (*OrganizationInput) HasName ¶

func (o *OrganizationInput) HasName() bool

HasName returns a boolean if a field has been set.

func (*OrganizationInput) HasTwitter ¶

func (o *OrganizationInput) HasTwitter() bool

HasTwitter returns a boolean if a field has been set.

func (*OrganizationInput) HasWebsite ¶

func (o *OrganizationInput) HasWebsite() bool

HasWebsite returns a boolean if a field has been set.

func (OrganizationInput) MarshalJSON ¶

func (o OrganizationInput) MarshalJSON() ([]byte, error)

func (*OrganizationInput) SetAddress ¶

func (o *OrganizationInput) SetAddress(v Address)

SetAddress gets a reference to the given Address and assigns it to the Address field.

func (*OrganizationInput) SetBillingAddress ¶

func (o *OrganizationInput) SetBillingAddress(v Address)

SetBillingAddress gets a reference to the given Address and assigns it to the BillingAddress field.

func (*OrganizationInput) SetCustomdata ¶

func (o *OrganizationInput) SetCustomdata(v map[string]interface{})

SetCustomdata gets a reference to the given map[string]interface{} and assigns it to the Customdata field.

func (*OrganizationInput) SetDescription ¶

func (o *OrganizationInput) SetDescription(v string)

SetDescription gets a reference to the given string and assigns it to the Description field.

func (*OrganizationInput) SetEnforce2faAt ¶

func (o *OrganizationInput) SetEnforce2faAt(v time.Time)

SetEnforce2faAt gets a reference to the given time.Time and assigns it to the Enforce2faAt field.

func (o *OrganizationInput) SetLogo(v string)

SetLogo gets a reference to the given string and assigns it to the Logo field.

func (*OrganizationInput) SetName ¶

func (o *OrganizationInput) SetName(v string)

SetName gets a reference to the given string and assigns it to the Name field.

func (*OrganizationInput) SetTwitter ¶

func (o *OrganizationInput) SetTwitter(v string)

SetTwitter gets a reference to the given string and assigns it to the Twitter field.

func (*OrganizationInput) SetWebsite ¶

func (o *OrganizationInput) SetWebsite(v string)

SetWebsite gets a reference to the given string and assigns it to the Website field.

func (OrganizationInput) ToMap ¶ added in v0.4.0

func (o OrganizationInput) ToMap() (map[string]interface{}, error)

func (*OrganizationInput) UnmarshalJSON ¶ added in v0.7.0

func (o *OrganizationInput) UnmarshalJSON(bytes []byte) (err error)

type OrganizationList ¶

type OrganizationList struct {
	Meta                 *Meta          `json:"meta,omitempty"`
	Organizations        []Organization `json:"organizations,omitempty"`
	AdditionalProperties map[string]interface{}
}

OrganizationList struct for OrganizationList

func NewOrganizationList ¶

func NewOrganizationList() *OrganizationList

NewOrganizationList instantiates a new OrganizationList object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewOrganizationListWithDefaults ¶

func NewOrganizationListWithDefaults() *OrganizationList

NewOrganizationListWithDefaults instantiates a new OrganizationList object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*OrganizationList) GetMeta ¶

func (o *OrganizationList) GetMeta() Meta

GetMeta returns the Meta field value if set, zero value otherwise.

func (*OrganizationList) GetMetaOk ¶

func (o *OrganizationList) GetMetaOk() (*Meta, bool)

GetMetaOk returns a tuple with the Meta field value if set, nil otherwise and a boolean to check if the value has been set.

func (*OrganizationList) GetOrganizations ¶

func (o *OrganizationList) GetOrganizations() []Organization

GetOrganizations returns the Organizations field value if set, zero value otherwise.

func (*OrganizationList) GetOrganizationsOk ¶

func (o *OrganizationList) GetOrganizationsOk() ([]Organization, bool)

GetOrganizationsOk returns a tuple with the Organizations field value if set, nil otherwise and a boolean to check if the value has been set.

func (*OrganizationList) HasMeta ¶

func (o *OrganizationList) HasMeta() bool

HasMeta returns a boolean if a field has been set.

func (*OrganizationList) HasOrganizations ¶

func (o *OrganizationList) HasOrganizations() bool

HasOrganizations returns a boolean if a field has been set.

func (OrganizationList) MarshalJSON ¶

func (o OrganizationList) MarshalJSON() ([]byte, error)

func (*OrganizationList) SetMeta ¶

func (o *OrganizationList) SetMeta(v Meta)

SetMeta gets a reference to the given Meta and assigns it to the Meta field.

func (*OrganizationList) SetOrganizations ¶

func (o *OrganizationList) SetOrganizations(v []Organization)

SetOrganizations gets a reference to the given []Organization and assigns it to the Organizations field.

func (OrganizationList) ToMap ¶ added in v0.4.0

func (o OrganizationList) ToMap() (map[string]interface{}, error)

func (*OrganizationList) UnmarshalJSON ¶ added in v0.7.0

func (o *OrganizationList) UnmarshalJSON(bytes []byte) (err error)

type OrganizationsApiService ¶

type OrganizationsApiService service

OrganizationsApiService OrganizationsApi service

func (*OrganizationsApiService) CreateOrganization ¶

CreateOrganization Create an organization

Creates an organization.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@return ApiCreateOrganizationRequest

func (*OrganizationsApiService) CreateOrganizationExecute ¶

Execute executes the request

@return Organization

func (*OrganizationsApiService) CreateOrganizationInvitation ¶

func (a *OrganizationsApiService) CreateOrganizationInvitation(ctx context.Context, id string) ApiCreateOrganizationInvitationRequest

CreateOrganizationInvitation Create an invitation for an organization

In order to add a user to an organization, they must first be invited. To invite to several projects the parameter `projects_ids:[a,b,c]` can be used

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param id Organization UUID
@return ApiCreateOrganizationInvitationRequest

func (*OrganizationsApiService) CreateOrganizationInvitationExecute ¶

func (a *OrganizationsApiService) CreateOrganizationInvitationExecute(r ApiCreateOrganizationInvitationRequest) (*Invitation, *http.Response, error)

Execute executes the request

@return Invitation

func (*OrganizationsApiService) CreateOrganizationProject ¶

CreateOrganizationProject Create a project for the organization

Creates a new project for the organization

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param id Organization UUID
@return ApiCreateOrganizationProjectRequest

func (*OrganizationsApiService) CreateOrganizationProjectExecute ¶

func (a *OrganizationsApiService) CreateOrganizationProjectExecute(r ApiCreateOrganizationProjectRequest) (*Project, *http.Response, error)

Execute executes the request

@return Project

func (*OrganizationsApiService) CreatePaymentMethod ¶

CreatePaymentMethod Create a payment method for the given organization

Creates a payment method.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param id Organization UUID
@return ApiCreatePaymentMethodRequest

func (*OrganizationsApiService) CreatePaymentMethodExecute ¶

Execute executes the request

@return PaymentMethod

func (*OrganizationsApiService) DeleteOrganization ¶

DeleteOrganization Delete the organization

Deletes the organization.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param id Organization UUID
@return ApiDeleteOrganizationRequest

func (*OrganizationsApiService) DeleteOrganizationExecute ¶

func (a *OrganizationsApiService) DeleteOrganizationExecute(r ApiDeleteOrganizationRequest) (*http.Response, error)

Execute executes the request

func (*OrganizationsApiService) FindOperatingSystemsByOrganization ¶

func (a *OrganizationsApiService) FindOperatingSystemsByOrganization(ctx context.Context, id string) ApiFindOperatingSystemsByOrganizationRequest

FindOperatingSystemsByOrganization Retrieve all operating systems visible by the organization

Returns a listing of available operating systems for the given organization

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param id Organization UUID
@return ApiFindOperatingSystemsByOrganizationRequest

func (*OrganizationsApiService) FindOperatingSystemsByOrganizationExecute ¶

Execute executes the request

@return OperatingSystemList

func (*OrganizationsApiService) FindOrganizationById ¶

FindOrganizationById Retrieve an organization's details

Returns a single organization's details, if the user is authorized to view it.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param id Organization UUID
@return ApiFindOrganizationByIdRequest

func (*OrganizationsApiService) FindOrganizationByIdExecute ¶

Execute executes the request

@return Organization

func (*OrganizationsApiService) FindOrganizationCustomdata ¶

FindOrganizationCustomdata Retrieve the custom metadata of an organization

Provides the custom metadata stored for this organization in json format

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param id Organization UUID
@return ApiFindOrganizationCustomdataRequest

func (*OrganizationsApiService) FindOrganizationCustomdataExecute ¶

func (a *OrganizationsApiService) FindOrganizationCustomdataExecute(r ApiFindOrganizationCustomdataRequest) (*http.Response, error)

Execute executes the request

func (*OrganizationsApiService) FindOrganizationInvitations ¶

FindOrganizationInvitations Retrieve organization invitations

Returns all invitations in an organization.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param id Organization UUID
@return ApiFindOrganizationInvitationsRequest

func (*OrganizationsApiService) FindOrganizationInvitationsExecute ¶

func (a *OrganizationsApiService) FindOrganizationInvitationsExecute(r ApiFindOrganizationInvitationsRequest) (*InvitationList, *http.Response, error)

Execute executes the request

@return InvitationList

func (*OrganizationsApiService) FindOrganizationPaymentMethods ¶

func (a *OrganizationsApiService) FindOrganizationPaymentMethods(ctx context.Context, id string) ApiFindOrganizationPaymentMethodsRequest

FindOrganizationPaymentMethods Retrieve all payment methods of an organization

Returns all payment methods of an organization.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param id Organization UUID
@return ApiFindOrganizationPaymentMethodsRequest

func (*OrganizationsApiService) FindOrganizationPaymentMethodsExecute ¶

Execute executes the request

@return PaymentMethodList

func (*OrganizationsApiService) FindOrganizationProjects ¶

FindOrganizationProjects Retrieve all projects of an organization

Returns a collection of projects that belong to the organization.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param id Organization UUID
@return ApiFindOrganizationProjectsRequest

func (*OrganizationsApiService) FindOrganizationProjectsExecute ¶

func (a *OrganizationsApiService) FindOrganizationProjectsExecute(r ApiFindOrganizationProjectsRequest) (*ProjectList, *http.Response, error)

Execute executes the request

@return ProjectList

func (*OrganizationsApiService) FindOrganizationTransfers ¶

FindOrganizationTransfers Retrieve all project transfer requests from or to an organization

Provides a collection of project transfer requests from or to the organization.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param id Organization UUID
@return ApiFindOrganizationTransfersRequest

func (*OrganizationsApiService) FindOrganizationTransfersExecute ¶

Execute executes the request

@return TransferRequestList

func (*OrganizationsApiService) FindOrganizations ¶

FindOrganizations Retrieve all organizations

Returns a list of organizations that are accessible to the current user.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@return ApiFindOrganizationsRequest

func (*OrganizationsApiService) FindOrganizationsExecute ¶

Execute executes the request

@return OrganizationList

func (*OrganizationsApiService) FindPlansByOrganization ¶

FindPlansByOrganization Retrieve all plans visible by the organization

Returns a listing of available plans for the given organization

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param id Organization UUID
@return ApiFindPlansByOrganizationRequest

func (*OrganizationsApiService) FindPlansByOrganizationExecute ¶

func (a *OrganizationsApiService) FindPlansByOrganizationExecute(r ApiFindPlansByOrganizationRequest) (*PlanList, *http.Response, error)

Execute executes the request

@return PlanList

func (*OrganizationsApiService) UpdateOrganization ¶

UpdateOrganization Update the organization

Updates the organization.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param id Organization UUID
@return ApiUpdateOrganizationRequest

func (*OrganizationsApiService) UpdateOrganizationExecute ¶

Execute executes the request

@return Organization

type ParentBlock ¶

type ParentBlock struct {
	Cidr                 *int32  `json:"cidr,omitempty"`
	Href                 *string `json:"href,omitempty"`
	Netmask              *string `json:"netmask,omitempty"`
	Network              *string `json:"network,omitempty"`
	AdditionalProperties map[string]interface{}
}

ParentBlock struct for ParentBlock

func NewParentBlock ¶

func NewParentBlock() *ParentBlock

NewParentBlock instantiates a new ParentBlock object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewParentBlockWithDefaults ¶

func NewParentBlockWithDefaults() *ParentBlock

NewParentBlockWithDefaults instantiates a new ParentBlock object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*ParentBlock) GetCidr ¶

func (o *ParentBlock) GetCidr() int32

GetCidr returns the Cidr field value if set, zero value otherwise.

func (*ParentBlock) GetCidrOk ¶

func (o *ParentBlock) GetCidrOk() (*int32, bool)

GetCidrOk returns a tuple with the Cidr field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ParentBlock) GetHref ¶

func (o *ParentBlock) GetHref() string

GetHref returns the Href field value if set, zero value otherwise.

func (*ParentBlock) GetHrefOk ¶

func (o *ParentBlock) GetHrefOk() (*string, bool)

GetHrefOk returns a tuple with the Href field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ParentBlock) GetNetmask ¶

func (o *ParentBlock) GetNetmask() string

GetNetmask returns the Netmask field value if set, zero value otherwise.

func (*ParentBlock) GetNetmaskOk ¶

func (o *ParentBlock) GetNetmaskOk() (*string, bool)

GetNetmaskOk returns a tuple with the Netmask field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ParentBlock) GetNetwork ¶

func (o *ParentBlock) GetNetwork() string

GetNetwork returns the Network field value if set, zero value otherwise.

func (*ParentBlock) GetNetworkOk ¶

func (o *ParentBlock) GetNetworkOk() (*string, bool)

GetNetworkOk returns a tuple with the Network field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ParentBlock) HasCidr ¶

func (o *ParentBlock) HasCidr() bool

HasCidr returns a boolean if a field has been set.

func (*ParentBlock) HasHref ¶

func (o *ParentBlock) HasHref() bool

HasHref returns a boolean if a field has been set.

func (*ParentBlock) HasNetmask ¶

func (o *ParentBlock) HasNetmask() bool

HasNetmask returns a boolean if a field has been set.

func (*ParentBlock) HasNetwork ¶

func (o *ParentBlock) HasNetwork() bool

HasNetwork returns a boolean if a field has been set.

func (ParentBlock) MarshalJSON ¶

func (o ParentBlock) MarshalJSON() ([]byte, error)

func (*ParentBlock) SetCidr ¶

func (o *ParentBlock) SetCidr(v int32)

SetCidr gets a reference to the given int32 and assigns it to the Cidr field.

func (*ParentBlock) SetHref ¶

func (o *ParentBlock) SetHref(v string)

SetHref gets a reference to the given string and assigns it to the Href field.

func (*ParentBlock) SetNetmask ¶

func (o *ParentBlock) SetNetmask(v string)

SetNetmask gets a reference to the given string and assigns it to the Netmask field.

func (*ParentBlock) SetNetwork ¶

func (o *ParentBlock) SetNetwork(v string)

SetNetwork gets a reference to the given string and assigns it to the Network field.

func (ParentBlock) ToMap ¶ added in v0.4.0

func (o ParentBlock) ToMap() (map[string]interface{}, error)

func (*ParentBlock) UnmarshalJSON ¶ added in v0.7.0

func (o *ParentBlock) UnmarshalJSON(bytes []byte) (err error)

type Partition ¶ added in v0.6.0

type Partition struct {
	Label                *string `json:"label,omitempty"`
	Number               *int32  `json:"number,omitempty"`
	Size                 *string `json:"size,omitempty"`
	AdditionalProperties map[string]interface{}
}

Partition struct for Partition

func NewPartition ¶ added in v0.6.0

func NewPartition() *Partition

NewPartition instantiates a new Partition object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewPartitionWithDefaults ¶ added in v0.6.0

func NewPartitionWithDefaults() *Partition

NewPartitionWithDefaults instantiates a new Partition object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*Partition) GetLabel ¶ added in v0.6.0

func (o *Partition) GetLabel() string

GetLabel returns the Label field value if set, zero value otherwise.

func (*Partition) GetLabelOk ¶ added in v0.6.0

func (o *Partition) GetLabelOk() (*string, bool)

GetLabelOk returns a tuple with the Label field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Partition) GetNumber ¶ added in v0.6.0

func (o *Partition) GetNumber() int32

GetNumber returns the Number field value if set, zero value otherwise.

func (*Partition) GetNumberOk ¶ added in v0.6.0

func (o *Partition) GetNumberOk() (*int32, bool)

GetNumberOk returns a tuple with the Number field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Partition) GetSize ¶ added in v0.6.0

func (o *Partition) GetSize() string

GetSize returns the Size field value if set, zero value otherwise.

func (*Partition) GetSizeOk ¶ added in v0.6.0

func (o *Partition) GetSizeOk() (*string, bool)

GetSizeOk returns a tuple with the Size field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Partition) HasLabel ¶ added in v0.6.0

func (o *Partition) HasLabel() bool

HasLabel returns a boolean if a field has been set.

func (*Partition) HasNumber ¶ added in v0.6.0

func (o *Partition) HasNumber() bool

HasNumber returns a boolean if a field has been set.

func (*Partition) HasSize ¶ added in v0.6.0

func (o *Partition) HasSize() bool

HasSize returns a boolean if a field has been set.

func (Partition) MarshalJSON ¶ added in v0.6.0

func (o Partition) MarshalJSON() ([]byte, error)

func (*Partition) SetLabel ¶ added in v0.6.0

func (o *Partition) SetLabel(v string)

SetLabel gets a reference to the given string and assigns it to the Label field.

func (*Partition) SetNumber ¶ added in v0.6.0

func (o *Partition) SetNumber(v int32)

SetNumber gets a reference to the given int32 and assigns it to the Number field.

func (*Partition) SetSize ¶ added in v0.6.0

func (o *Partition) SetSize(v string)

SetSize gets a reference to the given string and assigns it to the Size field.

func (Partition) ToMap ¶ added in v0.6.0

func (o Partition) ToMap() (map[string]interface{}, error)

func (*Partition) UnmarshalJSON ¶ added in v0.7.0

func (o *Partition) UnmarshalJSON(bytes []byte) (err error)

type PasswordResetTokensApiService ¶

type PasswordResetTokensApiService service

PasswordResetTokensApiService PasswordResetTokensApi service

func (*PasswordResetTokensApiService) CreatePasswordResetToken ¶

CreatePasswordResetToken Create a password reset token

Creates a password reset token

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@return ApiCreatePasswordResetTokenRequest

func (*PasswordResetTokensApiService) CreatePasswordResetTokenExecute ¶

func (a *PasswordResetTokensApiService) CreatePasswordResetTokenExecute(r ApiCreatePasswordResetTokenRequest) (*http.Response, error)

Execute executes the request

func (*PasswordResetTokensApiService) ResetPassword ¶

ResetPassword Reset current user password

Resets current user password.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@return ApiResetPasswordRequest

func (*PasswordResetTokensApiService) ResetPasswordExecute ¶

Execute executes the request

@return NewPassword

type PaymentMethod ¶

type PaymentMethod struct {
	BillingAddress       *PaymentMethodBillingAddress `json:"billing_address,omitempty"`
	CardType             *string                      `json:"card_type,omitempty"`
	CardholderName       *string                      `json:"cardholder_name,omitempty"`
	CreatedAt            *time.Time                   `json:"created_at,omitempty"`
	CreatedByUser        *Href                        `json:"created_by_user,omitempty"`
	Default              *bool                        `json:"default,omitempty"`
	Email                *string                      `json:"email,omitempty"`
	ExpirationMonth      *string                      `json:"expiration_month,omitempty"`
	ExpirationYear       *string                      `json:"expiration_year,omitempty"`
	Id                   *string                      `json:"id,omitempty"`
	Name                 *string                      `json:"name,omitempty"`
	Organization         *Href                        `json:"organization,omitempty"`
	Projects             []Href                       `json:"projects,omitempty"`
	Type                 *string                      `json:"type,omitempty"`
	UpdatedAt            *time.Time                   `json:"updated_at,omitempty"`
	AdditionalProperties map[string]interface{}
}

PaymentMethod struct for PaymentMethod

func NewPaymentMethod ¶

func NewPaymentMethod() *PaymentMethod

NewPaymentMethod instantiates a new PaymentMethod object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewPaymentMethodWithDefaults ¶

func NewPaymentMethodWithDefaults() *PaymentMethod

NewPaymentMethodWithDefaults instantiates a new PaymentMethod object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*PaymentMethod) GetBillingAddress ¶

func (o *PaymentMethod) GetBillingAddress() PaymentMethodBillingAddress

GetBillingAddress returns the BillingAddress field value if set, zero value otherwise.

func (*PaymentMethod) GetBillingAddressOk ¶

func (o *PaymentMethod) GetBillingAddressOk() (*PaymentMethodBillingAddress, bool)

GetBillingAddressOk returns a tuple with the BillingAddress field value if set, nil otherwise and a boolean to check if the value has been set.

func (*PaymentMethod) GetCardType ¶

func (o *PaymentMethod) GetCardType() string

GetCardType returns the CardType field value if set, zero value otherwise.

func (*PaymentMethod) GetCardTypeOk ¶

func (o *PaymentMethod) GetCardTypeOk() (*string, bool)

GetCardTypeOk returns a tuple with the CardType field value if set, nil otherwise and a boolean to check if the value has been set.

func (*PaymentMethod) GetCardholderName ¶

func (o *PaymentMethod) GetCardholderName() string

GetCardholderName returns the CardholderName field value if set, zero value otherwise.

func (*PaymentMethod) GetCardholderNameOk ¶

func (o *PaymentMethod) GetCardholderNameOk() (*string, bool)

GetCardholderNameOk returns a tuple with the CardholderName field value if set, nil otherwise and a boolean to check if the value has been set.

func (*PaymentMethod) GetCreatedAt ¶

func (o *PaymentMethod) GetCreatedAt() time.Time

GetCreatedAt returns the CreatedAt field value if set, zero value otherwise.

func (*PaymentMethod) GetCreatedAtOk ¶

func (o *PaymentMethod) GetCreatedAtOk() (*time.Time, bool)

GetCreatedAtOk returns a tuple with the CreatedAt field value if set, nil otherwise and a boolean to check if the value has been set.

func (*PaymentMethod) GetCreatedByUser ¶

func (o *PaymentMethod) GetCreatedByUser() Href

GetCreatedByUser returns the CreatedByUser field value if set, zero value otherwise.

func (*PaymentMethod) GetCreatedByUserOk ¶

func (o *PaymentMethod) GetCreatedByUserOk() (*Href, bool)

GetCreatedByUserOk returns a tuple with the CreatedByUser field value if set, nil otherwise and a boolean to check if the value has been set.

func (*PaymentMethod) GetDefault ¶

func (o *PaymentMethod) GetDefault() bool

GetDefault returns the Default field value if set, zero value otherwise.

func (*PaymentMethod) GetDefaultOk ¶

func (o *PaymentMethod) GetDefaultOk() (*bool, bool)

GetDefaultOk returns a tuple with the Default field value if set, nil otherwise and a boolean to check if the value has been set.

func (*PaymentMethod) GetEmail ¶

func (o *PaymentMethod) GetEmail() string

GetEmail returns the Email field value if set, zero value otherwise.

func (*PaymentMethod) GetEmailOk ¶

func (o *PaymentMethod) GetEmailOk() (*string, bool)

GetEmailOk returns a tuple with the Email field value if set, nil otherwise and a boolean to check if the value has been set.

func (*PaymentMethod) GetExpirationMonth ¶

func (o *PaymentMethod) GetExpirationMonth() string

GetExpirationMonth returns the ExpirationMonth field value if set, zero value otherwise.

func (*PaymentMethod) GetExpirationMonthOk ¶

func (o *PaymentMethod) GetExpirationMonthOk() (*string, bool)

GetExpirationMonthOk returns a tuple with the ExpirationMonth field value if set, nil otherwise and a boolean to check if the value has been set.

func (*PaymentMethod) GetExpirationYear ¶

func (o *PaymentMethod) GetExpirationYear() string

GetExpirationYear returns the ExpirationYear field value if set, zero value otherwise.

func (*PaymentMethod) GetExpirationYearOk ¶

func (o *PaymentMethod) GetExpirationYearOk() (*string, bool)

GetExpirationYearOk returns a tuple with the ExpirationYear field value if set, nil otherwise and a boolean to check if the value has been set.

func (*PaymentMethod) GetId ¶

func (o *PaymentMethod) GetId() string

GetId returns the Id field value if set, zero value otherwise.

func (*PaymentMethod) GetIdOk ¶

func (o *PaymentMethod) GetIdOk() (*string, bool)

GetIdOk returns a tuple with the Id field value if set, nil otherwise and a boolean to check if the value has been set.

func (*PaymentMethod) GetName ¶

func (o *PaymentMethod) GetName() string

GetName returns the Name field value if set, zero value otherwise.

func (*PaymentMethod) GetNameOk ¶

func (o *PaymentMethod) GetNameOk() (*string, bool)

GetNameOk returns a tuple with the Name field value if set, nil otherwise and a boolean to check if the value has been set.

func (*PaymentMethod) GetOrganization ¶

func (o *PaymentMethod) GetOrganization() Href

GetOrganization returns the Organization field value if set, zero value otherwise.

func (*PaymentMethod) GetOrganizationOk ¶

func (o *PaymentMethod) GetOrganizationOk() (*Href, bool)

GetOrganizationOk returns a tuple with the Organization field value if set, nil otherwise and a boolean to check if the value has been set.

func (*PaymentMethod) GetProjects ¶

func (o *PaymentMethod) GetProjects() []Href

GetProjects returns the Projects field value if set, zero value otherwise.

func (*PaymentMethod) GetProjectsOk ¶

func (o *PaymentMethod) GetProjectsOk() ([]Href, bool)

GetProjectsOk returns a tuple with the Projects field value if set, nil otherwise and a boolean to check if the value has been set.

func (*PaymentMethod) GetType ¶

func (o *PaymentMethod) GetType() string

GetType returns the Type field value if set, zero value otherwise.

func (*PaymentMethod) GetTypeOk ¶

func (o *PaymentMethod) GetTypeOk() (*string, bool)

GetTypeOk returns a tuple with the Type field value if set, nil otherwise and a boolean to check if the value has been set.

func (*PaymentMethod) GetUpdatedAt ¶

func (o *PaymentMethod) GetUpdatedAt() time.Time

GetUpdatedAt returns the UpdatedAt field value if set, zero value otherwise.

func (*PaymentMethod) GetUpdatedAtOk ¶

func (o *PaymentMethod) GetUpdatedAtOk() (*time.Time, bool)

GetUpdatedAtOk returns a tuple with the UpdatedAt field value if set, nil otherwise and a boolean to check if the value has been set.

func (*PaymentMethod) HasBillingAddress ¶

func (o *PaymentMethod) HasBillingAddress() bool

HasBillingAddress returns a boolean if a field has been set.

func (*PaymentMethod) HasCardType ¶

func (o *PaymentMethod) HasCardType() bool

HasCardType returns a boolean if a field has been set.

func (*PaymentMethod) HasCardholderName ¶

func (o *PaymentMethod) HasCardholderName() bool

HasCardholderName returns a boolean if a field has been set.

func (*PaymentMethod) HasCreatedAt ¶

func (o *PaymentMethod) HasCreatedAt() bool

HasCreatedAt returns a boolean if a field has been set.

func (*PaymentMethod) HasCreatedByUser ¶

func (o *PaymentMethod) HasCreatedByUser() bool

HasCreatedByUser returns a boolean if a field has been set.

func (*PaymentMethod) HasDefault ¶

func (o *PaymentMethod) HasDefault() bool

HasDefault returns a boolean if a field has been set.

func (*PaymentMethod) HasEmail ¶

func (o *PaymentMethod) HasEmail() bool

HasEmail returns a boolean if a field has been set.

func (*PaymentMethod) HasExpirationMonth ¶

func (o *PaymentMethod) HasExpirationMonth() bool

HasExpirationMonth returns a boolean if a field has been set.

func (*PaymentMethod) HasExpirationYear ¶

func (o *PaymentMethod) HasExpirationYear() bool

HasExpirationYear returns a boolean if a field has been set.

func (*PaymentMethod) HasId ¶

func (o *PaymentMethod) HasId() bool

HasId returns a boolean if a field has been set.

func (*PaymentMethod) HasName ¶

func (o *PaymentMethod) HasName() bool

HasName returns a boolean if a field has been set.

func (*PaymentMethod) HasOrganization ¶

func (o *PaymentMethod) HasOrganization() bool

HasOrganization returns a boolean if a field has been set.

func (*PaymentMethod) HasProjects ¶

func (o *PaymentMethod) HasProjects() bool

HasProjects returns a boolean if a field has been set.

func (*PaymentMethod) HasType ¶

func (o *PaymentMethod) HasType() bool

HasType returns a boolean if a field has been set.

func (*PaymentMethod) HasUpdatedAt ¶

func (o *PaymentMethod) HasUpdatedAt() bool

HasUpdatedAt returns a boolean if a field has been set.

func (PaymentMethod) MarshalJSON ¶

func (o PaymentMethod) MarshalJSON() ([]byte, error)

func (*PaymentMethod) SetBillingAddress ¶

func (o *PaymentMethod) SetBillingAddress(v PaymentMethodBillingAddress)

SetBillingAddress gets a reference to the given PaymentMethodBillingAddress and assigns it to the BillingAddress field.

func (*PaymentMethod) SetCardType ¶

func (o *PaymentMethod) SetCardType(v string)

SetCardType gets a reference to the given string and assigns it to the CardType field.

func (*PaymentMethod) SetCardholderName ¶

func (o *PaymentMethod) SetCardholderName(v string)

SetCardholderName gets a reference to the given string and assigns it to the CardholderName field.

func (*PaymentMethod) SetCreatedAt ¶

func (o *PaymentMethod) SetCreatedAt(v time.Time)

SetCreatedAt gets a reference to the given time.Time and assigns it to the CreatedAt field.

func (*PaymentMethod) SetCreatedByUser ¶

func (o *PaymentMethod) SetCreatedByUser(v Href)

SetCreatedByUser gets a reference to the given Href and assigns it to the CreatedByUser field.

func (*PaymentMethod) SetDefault ¶

func (o *PaymentMethod) SetDefault(v bool)

SetDefault gets a reference to the given bool and assigns it to the Default field.

func (*PaymentMethod) SetEmail ¶

func (o *PaymentMethod) SetEmail(v string)

SetEmail gets a reference to the given string and assigns it to the Email field.

func (*PaymentMethod) SetExpirationMonth ¶

func (o *PaymentMethod) SetExpirationMonth(v string)

SetExpirationMonth gets a reference to the given string and assigns it to the ExpirationMonth field.

func (*PaymentMethod) SetExpirationYear ¶

func (o *PaymentMethod) SetExpirationYear(v string)

SetExpirationYear gets a reference to the given string and assigns it to the ExpirationYear field.

func (*PaymentMethod) SetId ¶

func (o *PaymentMethod) SetId(v string)

SetId gets a reference to the given string and assigns it to the Id field.

func (*PaymentMethod) SetName ¶

func (o *PaymentMethod) SetName(v string)

SetName gets a reference to the given string and assigns it to the Name field.

func (*PaymentMethod) SetOrganization ¶

func (o *PaymentMethod) SetOrganization(v Href)

SetOrganization gets a reference to the given Href and assigns it to the Organization field.

func (*PaymentMethod) SetProjects ¶

func (o *PaymentMethod) SetProjects(v []Href)

SetProjects gets a reference to the given []Href and assigns it to the Projects field.

func (*PaymentMethod) SetType ¶

func (o *PaymentMethod) SetType(v string)

SetType gets a reference to the given string and assigns it to the Type field.

func (*PaymentMethod) SetUpdatedAt ¶

func (o *PaymentMethod) SetUpdatedAt(v time.Time)

SetUpdatedAt gets a reference to the given time.Time and assigns it to the UpdatedAt field.

func (PaymentMethod) ToMap ¶ added in v0.4.0

func (o PaymentMethod) ToMap() (map[string]interface{}, error)

func (*PaymentMethod) UnmarshalJSON ¶ added in v0.7.0

func (o *PaymentMethod) UnmarshalJSON(bytes []byte) (err error)

type PaymentMethodBillingAddress ¶

type PaymentMethodBillingAddress struct {
	CountryCodeAlpha2    *string `json:"country_code_alpha2,omitempty"`
	PostalCode           *string `json:"postal_code,omitempty"`
	StreetAddress        *string `json:"street_address,omitempty"`
	AdditionalProperties map[string]interface{}
}

PaymentMethodBillingAddress struct for PaymentMethodBillingAddress

func NewPaymentMethodBillingAddress ¶

func NewPaymentMethodBillingAddress() *PaymentMethodBillingAddress

NewPaymentMethodBillingAddress instantiates a new PaymentMethodBillingAddress object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewPaymentMethodBillingAddressWithDefaults ¶

func NewPaymentMethodBillingAddressWithDefaults() *PaymentMethodBillingAddress

NewPaymentMethodBillingAddressWithDefaults instantiates a new PaymentMethodBillingAddress object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*PaymentMethodBillingAddress) GetCountryCodeAlpha2 ¶

func (o *PaymentMethodBillingAddress) GetCountryCodeAlpha2() string

GetCountryCodeAlpha2 returns the CountryCodeAlpha2 field value if set, zero value otherwise.

func (*PaymentMethodBillingAddress) GetCountryCodeAlpha2Ok ¶

func (o *PaymentMethodBillingAddress) GetCountryCodeAlpha2Ok() (*string, bool)

GetCountryCodeAlpha2Ok returns a tuple with the CountryCodeAlpha2 field value if set, nil otherwise and a boolean to check if the value has been set.

func (*PaymentMethodBillingAddress) GetPostalCode ¶

func (o *PaymentMethodBillingAddress) GetPostalCode() string

GetPostalCode returns the PostalCode field value if set, zero value otherwise.

func (*PaymentMethodBillingAddress) GetPostalCodeOk ¶

func (o *PaymentMethodBillingAddress) GetPostalCodeOk() (*string, bool)

GetPostalCodeOk returns a tuple with the PostalCode field value if set, nil otherwise and a boolean to check if the value has been set.

func (*PaymentMethodBillingAddress) GetStreetAddress ¶

func (o *PaymentMethodBillingAddress) GetStreetAddress() string

GetStreetAddress returns the StreetAddress field value if set, zero value otherwise.

func (*PaymentMethodBillingAddress) GetStreetAddressOk ¶

func (o *PaymentMethodBillingAddress) GetStreetAddressOk() (*string, bool)

GetStreetAddressOk returns a tuple with the StreetAddress field value if set, nil otherwise and a boolean to check if the value has been set.

func (*PaymentMethodBillingAddress) HasCountryCodeAlpha2 ¶

func (o *PaymentMethodBillingAddress) HasCountryCodeAlpha2() bool

HasCountryCodeAlpha2 returns a boolean if a field has been set.

func (*PaymentMethodBillingAddress) HasPostalCode ¶

func (o *PaymentMethodBillingAddress) HasPostalCode() bool

HasPostalCode returns a boolean if a field has been set.

func (*PaymentMethodBillingAddress) HasStreetAddress ¶

func (o *PaymentMethodBillingAddress) HasStreetAddress() bool

HasStreetAddress returns a boolean if a field has been set.

func (PaymentMethodBillingAddress) MarshalJSON ¶

func (o PaymentMethodBillingAddress) MarshalJSON() ([]byte, error)

func (*PaymentMethodBillingAddress) SetCountryCodeAlpha2 ¶

func (o *PaymentMethodBillingAddress) SetCountryCodeAlpha2(v string)

SetCountryCodeAlpha2 gets a reference to the given string and assigns it to the CountryCodeAlpha2 field.

func (*PaymentMethodBillingAddress) SetPostalCode ¶

func (o *PaymentMethodBillingAddress) SetPostalCode(v string)

SetPostalCode gets a reference to the given string and assigns it to the PostalCode field.

func (*PaymentMethodBillingAddress) SetStreetAddress ¶

func (o *PaymentMethodBillingAddress) SetStreetAddress(v string)

SetStreetAddress gets a reference to the given string and assigns it to the StreetAddress field.

func (PaymentMethodBillingAddress) ToMap ¶ added in v0.4.0

func (o PaymentMethodBillingAddress) ToMap() (map[string]interface{}, error)

func (*PaymentMethodBillingAddress) UnmarshalJSON ¶ added in v0.7.0

func (o *PaymentMethodBillingAddress) UnmarshalJSON(bytes []byte) (err error)

type PaymentMethodCreateInput ¶

type PaymentMethodCreateInput struct {
	Default              *bool  `json:"default,omitempty"`
	Name                 string `json:"name"`
	Nonce                string `json:"nonce"`
	AdditionalProperties map[string]interface{}
}

PaymentMethodCreateInput struct for PaymentMethodCreateInput

func NewPaymentMethodCreateInput ¶

func NewPaymentMethodCreateInput(name string, nonce string) *PaymentMethodCreateInput

NewPaymentMethodCreateInput instantiates a new PaymentMethodCreateInput object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewPaymentMethodCreateInputWithDefaults ¶

func NewPaymentMethodCreateInputWithDefaults() *PaymentMethodCreateInput

NewPaymentMethodCreateInputWithDefaults instantiates a new PaymentMethodCreateInput object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*PaymentMethodCreateInput) GetDefault ¶

func (o *PaymentMethodCreateInput) GetDefault() bool

GetDefault returns the Default field value if set, zero value otherwise.

func (*PaymentMethodCreateInput) GetDefaultOk ¶

func (o *PaymentMethodCreateInput) GetDefaultOk() (*bool, bool)

GetDefaultOk returns a tuple with the Default field value if set, nil otherwise and a boolean to check if the value has been set.

func (*PaymentMethodCreateInput) GetName ¶

func (o *PaymentMethodCreateInput) GetName() string

GetName returns the Name field value

func (*PaymentMethodCreateInput) GetNameOk ¶

func (o *PaymentMethodCreateInput) GetNameOk() (*string, bool)

GetNameOk returns a tuple with the Name field value and a boolean to check if the value has been set.

func (*PaymentMethodCreateInput) GetNonce ¶

func (o *PaymentMethodCreateInput) GetNonce() string

GetNonce returns the Nonce field value

func (*PaymentMethodCreateInput) GetNonceOk ¶

func (o *PaymentMethodCreateInput) GetNonceOk() (*string, bool)

GetNonceOk returns a tuple with the Nonce field value and a boolean to check if the value has been set.

func (*PaymentMethodCreateInput) HasDefault ¶

func (o *PaymentMethodCreateInput) HasDefault() bool

HasDefault returns a boolean if a field has been set.

func (PaymentMethodCreateInput) MarshalJSON ¶

func (o PaymentMethodCreateInput) MarshalJSON() ([]byte, error)

func (*PaymentMethodCreateInput) SetDefault ¶

func (o *PaymentMethodCreateInput) SetDefault(v bool)

SetDefault gets a reference to the given bool and assigns it to the Default field.

func (*PaymentMethodCreateInput) SetName ¶

func (o *PaymentMethodCreateInput) SetName(v string)

SetName sets field value

func (*PaymentMethodCreateInput) SetNonce ¶

func (o *PaymentMethodCreateInput) SetNonce(v string)

SetNonce sets field value

func (PaymentMethodCreateInput) ToMap ¶ added in v0.4.0

func (o PaymentMethodCreateInput) ToMap() (map[string]interface{}, error)

func (*PaymentMethodCreateInput) UnmarshalJSON ¶ added in v0.7.0

func (o *PaymentMethodCreateInput) UnmarshalJSON(bytes []byte) (err error)

type PaymentMethodList ¶

type PaymentMethodList struct {
	PaymentMethods       []PaymentMethod `json:"payment_methods,omitempty"`
	AdditionalProperties map[string]interface{}
}

PaymentMethodList struct for PaymentMethodList

func NewPaymentMethodList ¶

func NewPaymentMethodList() *PaymentMethodList

NewPaymentMethodList instantiates a new PaymentMethodList object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewPaymentMethodListWithDefaults ¶

func NewPaymentMethodListWithDefaults() *PaymentMethodList

NewPaymentMethodListWithDefaults instantiates a new PaymentMethodList object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*PaymentMethodList) GetPaymentMethods ¶

func (o *PaymentMethodList) GetPaymentMethods() []PaymentMethod

GetPaymentMethods returns the PaymentMethods field value if set, zero value otherwise.

func (*PaymentMethodList) GetPaymentMethodsOk ¶

func (o *PaymentMethodList) GetPaymentMethodsOk() ([]PaymentMethod, bool)

GetPaymentMethodsOk returns a tuple with the PaymentMethods field value if set, nil otherwise and a boolean to check if the value has been set.

func (*PaymentMethodList) HasPaymentMethods ¶

func (o *PaymentMethodList) HasPaymentMethods() bool

HasPaymentMethods returns a boolean if a field has been set.

func (PaymentMethodList) MarshalJSON ¶

func (o PaymentMethodList) MarshalJSON() ([]byte, error)

func (*PaymentMethodList) SetPaymentMethods ¶

func (o *PaymentMethodList) SetPaymentMethods(v []PaymentMethod)

SetPaymentMethods gets a reference to the given []PaymentMethod and assigns it to the PaymentMethods field.

func (PaymentMethodList) ToMap ¶ added in v0.4.0

func (o PaymentMethodList) ToMap() (map[string]interface{}, error)

func (*PaymentMethodList) UnmarshalJSON ¶ added in v0.7.0

func (o *PaymentMethodList) UnmarshalJSON(bytes []byte) (err error)

type PaymentMethodUpdateInput ¶

type PaymentMethodUpdateInput struct {
	BillingAddress       map[string]interface{} `json:"billing_address,omitempty"`
	CardholderName       *string                `json:"cardholder_name,omitempty"`
	Default              *bool                  `json:"default,omitempty"`
	ExpirationMonth      *string                `json:"expiration_month,omitempty"`
	ExpirationYear       *int32                 `json:"expiration_year,omitempty"`
	Name                 *string                `json:"name,omitempty"`
	AdditionalProperties map[string]interface{}
}

PaymentMethodUpdateInput struct for PaymentMethodUpdateInput

func NewPaymentMethodUpdateInput ¶

func NewPaymentMethodUpdateInput() *PaymentMethodUpdateInput

NewPaymentMethodUpdateInput instantiates a new PaymentMethodUpdateInput object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewPaymentMethodUpdateInputWithDefaults ¶

func NewPaymentMethodUpdateInputWithDefaults() *PaymentMethodUpdateInput

NewPaymentMethodUpdateInputWithDefaults instantiates a new PaymentMethodUpdateInput object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*PaymentMethodUpdateInput) GetBillingAddress ¶

func (o *PaymentMethodUpdateInput) GetBillingAddress() map[string]interface{}

GetBillingAddress returns the BillingAddress field value if set, zero value otherwise.

func (*PaymentMethodUpdateInput) GetBillingAddressOk ¶

func (o *PaymentMethodUpdateInput) GetBillingAddressOk() (map[string]interface{}, bool)

GetBillingAddressOk returns a tuple with the BillingAddress field value if set, nil otherwise and a boolean to check if the value has been set.

func (*PaymentMethodUpdateInput) GetCardholderName ¶

func (o *PaymentMethodUpdateInput) GetCardholderName() string

GetCardholderName returns the CardholderName field value if set, zero value otherwise.

func (*PaymentMethodUpdateInput) GetCardholderNameOk ¶

func (o *PaymentMethodUpdateInput) GetCardholderNameOk() (*string, bool)

GetCardholderNameOk returns a tuple with the CardholderName field value if set, nil otherwise and a boolean to check if the value has been set.

func (*PaymentMethodUpdateInput) GetDefault ¶

func (o *PaymentMethodUpdateInput) GetDefault() bool

GetDefault returns the Default field value if set, zero value otherwise.

func (*PaymentMethodUpdateInput) GetDefaultOk ¶

func (o *PaymentMethodUpdateInput) GetDefaultOk() (*bool, bool)

GetDefaultOk returns a tuple with the Default field value if set, nil otherwise and a boolean to check if the value has been set.

func (*PaymentMethodUpdateInput) GetExpirationMonth ¶

func (o *PaymentMethodUpdateInput) GetExpirationMonth() string

GetExpirationMonth returns the ExpirationMonth field value if set, zero value otherwise.

func (*PaymentMethodUpdateInput) GetExpirationMonthOk ¶

func (o *PaymentMethodUpdateInput) GetExpirationMonthOk() (*string, bool)

GetExpirationMonthOk returns a tuple with the ExpirationMonth field value if set, nil otherwise and a boolean to check if the value has been set.

func (*PaymentMethodUpdateInput) GetExpirationYear ¶

func (o *PaymentMethodUpdateInput) GetExpirationYear() int32

GetExpirationYear returns the ExpirationYear field value if set, zero value otherwise.

func (*PaymentMethodUpdateInput) GetExpirationYearOk ¶

func (o *PaymentMethodUpdateInput) GetExpirationYearOk() (*int32, bool)

GetExpirationYearOk returns a tuple with the ExpirationYear field value if set, nil otherwise and a boolean to check if the value has been set.

func (*PaymentMethodUpdateInput) GetName ¶

func (o *PaymentMethodUpdateInput) GetName() string

GetName returns the Name field value if set, zero value otherwise.

func (*PaymentMethodUpdateInput) GetNameOk ¶

func (o *PaymentMethodUpdateInput) GetNameOk() (*string, bool)

GetNameOk returns a tuple with the Name field value if set, nil otherwise and a boolean to check if the value has been set.

func (*PaymentMethodUpdateInput) HasBillingAddress ¶

func (o *PaymentMethodUpdateInput) HasBillingAddress() bool

HasBillingAddress returns a boolean if a field has been set.

func (*PaymentMethodUpdateInput) HasCardholderName ¶

func (o *PaymentMethodUpdateInput) HasCardholderName() bool

HasCardholderName returns a boolean if a field has been set.

func (*PaymentMethodUpdateInput) HasDefault ¶

func (o *PaymentMethodUpdateInput) HasDefault() bool

HasDefault returns a boolean if a field has been set.

func (*PaymentMethodUpdateInput) HasExpirationMonth ¶

func (o *PaymentMethodUpdateInput) HasExpirationMonth() bool

HasExpirationMonth returns a boolean if a field has been set.

func (*PaymentMethodUpdateInput) HasExpirationYear ¶

func (o *PaymentMethodUpdateInput) HasExpirationYear() bool

HasExpirationYear returns a boolean if a field has been set.

func (*PaymentMethodUpdateInput) HasName ¶

func (o *PaymentMethodUpdateInput) HasName() bool

HasName returns a boolean if a field has been set.

func (PaymentMethodUpdateInput) MarshalJSON ¶

func (o PaymentMethodUpdateInput) MarshalJSON() ([]byte, error)

func (*PaymentMethodUpdateInput) SetBillingAddress ¶

func (o *PaymentMethodUpdateInput) SetBillingAddress(v map[string]interface{})

SetBillingAddress gets a reference to the given map[string]interface{} and assigns it to the BillingAddress field.

func (*PaymentMethodUpdateInput) SetCardholderName ¶

func (o *PaymentMethodUpdateInput) SetCardholderName(v string)

SetCardholderName gets a reference to the given string and assigns it to the CardholderName field.

func (*PaymentMethodUpdateInput) SetDefault ¶

func (o *PaymentMethodUpdateInput) SetDefault(v bool)

SetDefault gets a reference to the given bool and assigns it to the Default field.

func (*PaymentMethodUpdateInput) SetExpirationMonth ¶

func (o *PaymentMethodUpdateInput) SetExpirationMonth(v string)

SetExpirationMonth gets a reference to the given string and assigns it to the ExpirationMonth field.

func (*PaymentMethodUpdateInput) SetExpirationYear ¶

func (o *PaymentMethodUpdateInput) SetExpirationYear(v int32)

SetExpirationYear gets a reference to the given int32 and assigns it to the ExpirationYear field.

func (*PaymentMethodUpdateInput) SetName ¶

func (o *PaymentMethodUpdateInput) SetName(v string)

SetName gets a reference to the given string and assigns it to the Name field.

func (PaymentMethodUpdateInput) ToMap ¶ added in v0.4.0

func (o PaymentMethodUpdateInput) ToMap() (map[string]interface{}, error)

func (*PaymentMethodUpdateInput) UnmarshalJSON ¶ added in v0.7.0

func (o *PaymentMethodUpdateInput) UnmarshalJSON(bytes []byte) (err error)

type PaymentMethodsApiService ¶

type PaymentMethodsApiService service

PaymentMethodsApiService PaymentMethodsApi service

func (*PaymentMethodsApiService) DeletePaymentMethod ¶

DeletePaymentMethod Delete the payment method

Deletes the payment method.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param id Payment Method UUID
@return ApiDeletePaymentMethodRequest

func (*PaymentMethodsApiService) DeletePaymentMethodExecute ¶

func (a *PaymentMethodsApiService) DeletePaymentMethodExecute(r ApiDeletePaymentMethodRequest) (*http.Response, error)

Execute executes the request

func (*PaymentMethodsApiService) FindPaymentMethodById ¶

FindPaymentMethodById Retrieve a payment method

Returns a payment method

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param id Payment Method UUID
@return ApiFindPaymentMethodByIdRequest

func (*PaymentMethodsApiService) FindPaymentMethodByIdExecute ¶

Execute executes the request

@return PaymentMethod

func (*PaymentMethodsApiService) UpdatePaymentMethod ¶

UpdatePaymentMethod Update the payment method

Updates the payment method.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param id Payment Method UUID
@return ApiUpdatePaymentMethodRequest

func (*PaymentMethodsApiService) UpdatePaymentMethodExecute ¶

Execute executes the request

@return PaymentMethod

type Plan ¶

type Plan struct {
	// Shows which facilities the plan is available in, and the facility-based price if it is different from the default price.
	AvailableIn []PlanAvailableInInner `json:"available_in,omitempty"`
	// Shows which metros the plan is available in, and the metro-based price if it is different from the default price.
	AvailableInMetros []PlanAvailableInMetrosInner `json:"available_in_metros,omitempty"`
	// Categories of the plan, like compute or storage. A Plan can belong to multiple categories.
	Categories      []string                   `json:"categories,omitempty"`
	Class           *string                    `json:"class,omitempty"`
	Description     *string                    `json:"description,omitempty"`
	DeploymentTypes []PlanDeploymentTypesInner `json:"deployment_types,omitempty"`
	Id              *string                    `json:"id,omitempty"`
	// Deprecated. Always return false
	Legacy               *bool                  `json:"legacy,omitempty"`
	Line                 *string                `json:"line,omitempty"`
	Name                 *string                `json:"name,omitempty"`
	Pricing              map[string]interface{} `json:"pricing,omitempty"`
	Slug                 *string                `json:"slug,omitempty"`
	Specs                *PlanSpecs             `json:"specs,omitempty"`
	Type                 *PlanType              `json:"type,omitempty"`
	AdditionalProperties map[string]interface{}
}

Plan struct for Plan

func NewPlan ¶

func NewPlan() *Plan

NewPlan instantiates a new Plan object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewPlanWithDefaults ¶

func NewPlanWithDefaults() *Plan

NewPlanWithDefaults instantiates a new Plan object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*Plan) GetAvailableIn ¶

func (o *Plan) GetAvailableIn() []PlanAvailableInInner

GetAvailableIn returns the AvailableIn field value if set, zero value otherwise.

func (*Plan) GetAvailableInMetros ¶ added in v0.3.0

func (o *Plan) GetAvailableInMetros() []PlanAvailableInMetrosInner

GetAvailableInMetros returns the AvailableInMetros field value if set, zero value otherwise.

func (*Plan) GetAvailableInMetrosOk ¶ added in v0.3.0

func (o *Plan) GetAvailableInMetrosOk() ([]PlanAvailableInMetrosInner, bool)

GetAvailableInMetrosOk returns a tuple with the AvailableInMetros field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Plan) GetAvailableInOk ¶

func (o *Plan) GetAvailableInOk() ([]PlanAvailableInInner, bool)

GetAvailableInOk returns a tuple with the AvailableIn field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Plan) GetCategories ¶ added in v0.9.0

func (o *Plan) GetCategories() []string

GetCategories returns the Categories field value if set, zero value otherwise.

func (*Plan) GetCategoriesOk ¶ added in v0.9.0

func (o *Plan) GetCategoriesOk() ([]string, bool)

GetCategoriesOk returns a tuple with the Categories field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Plan) GetClass ¶

func (o *Plan) GetClass() string

GetClass returns the Class field value if set, zero value otherwise.

func (*Plan) GetClassOk ¶

func (o *Plan) GetClassOk() (*string, bool)

GetClassOk returns a tuple with the Class field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Plan) GetDeploymentTypes ¶ added in v0.3.0

func (o *Plan) GetDeploymentTypes() []PlanDeploymentTypesInner

GetDeploymentTypes returns the DeploymentTypes field value if set, zero value otherwise.

func (*Plan) GetDeploymentTypesOk ¶ added in v0.3.0

func (o *Plan) GetDeploymentTypesOk() ([]PlanDeploymentTypesInner, bool)

GetDeploymentTypesOk returns a tuple with the DeploymentTypes field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Plan) GetDescription ¶

func (o *Plan) GetDescription() string

GetDescription returns the Description field value if set, zero value otherwise.

func (*Plan) GetDescriptionOk ¶

func (o *Plan) GetDescriptionOk() (*string, bool)

GetDescriptionOk returns a tuple with the Description field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Plan) GetId ¶

func (o *Plan) GetId() string

GetId returns the Id field value if set, zero value otherwise.

func (*Plan) GetIdOk ¶

func (o *Plan) GetIdOk() (*string, bool)

GetIdOk returns a tuple with the Id field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Plan) GetLegacy ¶

func (o *Plan) GetLegacy() bool

GetLegacy returns the Legacy field value if set, zero value otherwise.

func (*Plan) GetLegacyOk ¶

func (o *Plan) GetLegacyOk() (*bool, bool)

GetLegacyOk returns a tuple with the Legacy field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Plan) GetLine ¶

func (o *Plan) GetLine() string

GetLine returns the Line field value if set, zero value otherwise.

func (*Plan) GetLineOk ¶

func (o *Plan) GetLineOk() (*string, bool)

GetLineOk returns a tuple with the Line field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Plan) GetName ¶

func (o *Plan) GetName() string

GetName returns the Name field value if set, zero value otherwise.

func (*Plan) GetNameOk ¶

func (o *Plan) GetNameOk() (*string, bool)

GetNameOk returns a tuple with the Name field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Plan) GetPricing ¶

func (o *Plan) GetPricing() map[string]interface{}

GetPricing returns the Pricing field value if set, zero value otherwise.

func (*Plan) GetPricingOk ¶

func (o *Plan) GetPricingOk() (map[string]interface{}, bool)

GetPricingOk returns a tuple with the Pricing field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Plan) GetSlug ¶

func (o *Plan) GetSlug() string

GetSlug returns the Slug field value if set, zero value otherwise.

func (*Plan) GetSlugOk ¶

func (o *Plan) GetSlugOk() (*string, bool)

GetSlugOk returns a tuple with the Slug field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Plan) GetSpecs ¶

func (o *Plan) GetSpecs() PlanSpecs

GetSpecs returns the Specs field value if set, zero value otherwise.

func (*Plan) GetSpecsOk ¶

func (o *Plan) GetSpecsOk() (*PlanSpecs, bool)

GetSpecsOk returns a tuple with the Specs field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Plan) GetType ¶ added in v0.3.0

func (o *Plan) GetType() PlanType

GetType returns the Type field value if set, zero value otherwise.

func (*Plan) GetTypeOk ¶ added in v0.3.0

func (o *Plan) GetTypeOk() (*PlanType, bool)

GetTypeOk returns a tuple with the Type field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Plan) HasAvailableIn ¶

func (o *Plan) HasAvailableIn() bool

HasAvailableIn returns a boolean if a field has been set.

func (*Plan) HasAvailableInMetros ¶ added in v0.3.0

func (o *Plan) HasAvailableInMetros() bool

HasAvailableInMetros returns a boolean if a field has been set.

func (*Plan) HasCategories ¶ added in v0.9.0

func (o *Plan) HasCategories() bool

HasCategories returns a boolean if a field has been set.

func (*Plan) HasClass ¶

func (o *Plan) HasClass() bool

HasClass returns a boolean if a field has been set.

func (*Plan) HasDeploymentTypes ¶ added in v0.3.0

func (o *Plan) HasDeploymentTypes() bool

HasDeploymentTypes returns a boolean if a field has been set.

func (*Plan) HasDescription ¶

func (o *Plan) HasDescription() bool

HasDescription returns a boolean if a field has been set.

func (*Plan) HasId ¶

func (o *Plan) HasId() bool

HasId returns a boolean if a field has been set.

func (*Plan) HasLegacy ¶

func (o *Plan) HasLegacy() bool

HasLegacy returns a boolean if a field has been set.

func (*Plan) HasLine ¶

func (o *Plan) HasLine() bool

HasLine returns a boolean if a field has been set.

func (*Plan) HasName ¶

func (o *Plan) HasName() bool

HasName returns a boolean if a field has been set.

func (*Plan) HasPricing ¶

func (o *Plan) HasPricing() bool

HasPricing returns a boolean if a field has been set.

func (*Plan) HasSlug ¶

func (o *Plan) HasSlug() bool

HasSlug returns a boolean if a field has been set.

func (*Plan) HasSpecs ¶

func (o *Plan) HasSpecs() bool

HasSpecs returns a boolean if a field has been set.

func (*Plan) HasType ¶ added in v0.3.0

func (o *Plan) HasType() bool

HasType returns a boolean if a field has been set.

func (Plan) MarshalJSON ¶

func (o Plan) MarshalJSON() ([]byte, error)

func (*Plan) SetAvailableIn ¶

func (o *Plan) SetAvailableIn(v []PlanAvailableInInner)

SetAvailableIn gets a reference to the given []PlanAvailableInInner and assigns it to the AvailableIn field.

func (*Plan) SetAvailableInMetros ¶ added in v0.3.0

func (o *Plan) SetAvailableInMetros(v []PlanAvailableInMetrosInner)

SetAvailableInMetros gets a reference to the given []PlanAvailableInMetrosInner and assigns it to the AvailableInMetros field.

func (*Plan) SetCategories ¶ added in v0.9.0

func (o *Plan) SetCategories(v []string)

SetCategories gets a reference to the given []string and assigns it to the Categories field.

func (*Plan) SetClass ¶

func (o *Plan) SetClass(v string)

SetClass gets a reference to the given string and assigns it to the Class field.

func (*Plan) SetDeploymentTypes ¶ added in v0.3.0

func (o *Plan) SetDeploymentTypes(v []PlanDeploymentTypesInner)

SetDeploymentTypes gets a reference to the given []PlanDeploymentTypesInner and assigns it to the DeploymentTypes field.

func (*Plan) SetDescription ¶

func (o *Plan) SetDescription(v string)

SetDescription gets a reference to the given string and assigns it to the Description field.

func (*Plan) SetId ¶

func (o *Plan) SetId(v string)

SetId gets a reference to the given string and assigns it to the Id field.

func (*Plan) SetLegacy ¶

func (o *Plan) SetLegacy(v bool)

SetLegacy gets a reference to the given bool and assigns it to the Legacy field.

func (*Plan) SetLine ¶

func (o *Plan) SetLine(v string)

SetLine gets a reference to the given string and assigns it to the Line field.

func (*Plan) SetName ¶

func (o *Plan) SetName(v string)

SetName gets a reference to the given string and assigns it to the Name field.

func (*Plan) SetPricing ¶

func (o *Plan) SetPricing(v map[string]interface{})

SetPricing gets a reference to the given map[string]interface{} and assigns it to the Pricing field.

func (*Plan) SetSlug ¶

func (o *Plan) SetSlug(v string)

SetSlug gets a reference to the given string and assigns it to the Slug field.

func (*Plan) SetSpecs ¶

func (o *Plan) SetSpecs(v PlanSpecs)

SetSpecs gets a reference to the given PlanSpecs and assigns it to the Specs field.

func (*Plan) SetType ¶ added in v0.3.0

func (o *Plan) SetType(v PlanType)

SetType gets a reference to the given PlanType and assigns it to the Type field.

func (Plan) ToMap ¶ added in v0.4.0

func (o Plan) ToMap() (map[string]interface{}, error)

func (*Plan) UnmarshalJSON ¶ added in v0.7.0

func (o *Plan) UnmarshalJSON(bytes []byte) (err error)

type PlanAvailableInInner ¶ added in v0.4.0

type PlanAvailableInInner struct {
	// href to the Facility
	Href                 *string                    `json:"href,omitempty"`
	Price                *PlanAvailableInInnerPrice `json:"price,omitempty"`
	AdditionalProperties map[string]interface{}
}

PlanAvailableInInner struct for PlanAvailableInInner

func NewPlanAvailableInInner ¶ added in v0.4.0

func NewPlanAvailableInInner() *PlanAvailableInInner

NewPlanAvailableInInner instantiates a new PlanAvailableInInner object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewPlanAvailableInInnerWithDefaults ¶ added in v0.4.0

func NewPlanAvailableInInnerWithDefaults() *PlanAvailableInInner

NewPlanAvailableInInnerWithDefaults instantiates a new PlanAvailableInInner object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*PlanAvailableInInner) GetHref ¶ added in v0.4.0

func (o *PlanAvailableInInner) GetHref() string

GetHref returns the Href field value if set, zero value otherwise.

func (*PlanAvailableInInner) GetHrefOk ¶ added in v0.4.0

func (o *PlanAvailableInInner) GetHrefOk() (*string, bool)

GetHrefOk returns a tuple with the Href field value if set, nil otherwise and a boolean to check if the value has been set.

func (*PlanAvailableInInner) GetPrice ¶ added in v0.4.0

GetPrice returns the Price field value if set, zero value otherwise.

func (*PlanAvailableInInner) GetPriceOk ¶ added in v0.4.0

GetPriceOk returns a tuple with the Price field value if set, nil otherwise and a boolean to check if the value has been set.

func (*PlanAvailableInInner) HasHref ¶ added in v0.4.0

func (o *PlanAvailableInInner) HasHref() bool

HasHref returns a boolean if a field has been set.

func (*PlanAvailableInInner) HasPrice ¶ added in v0.4.0

func (o *PlanAvailableInInner) HasPrice() bool

HasPrice returns a boolean if a field has been set.

func (PlanAvailableInInner) MarshalJSON ¶ added in v0.4.0

func (o PlanAvailableInInner) MarshalJSON() ([]byte, error)

func (*PlanAvailableInInner) SetHref ¶ added in v0.4.0

func (o *PlanAvailableInInner) SetHref(v string)

SetHref gets a reference to the given string and assigns it to the Href field.

func (*PlanAvailableInInner) SetPrice ¶ added in v0.4.0

SetPrice gets a reference to the given PlanAvailableInInnerPrice and assigns it to the Price field.

func (PlanAvailableInInner) ToMap ¶ added in v0.4.0

func (o PlanAvailableInInner) ToMap() (map[string]interface{}, error)

func (*PlanAvailableInInner) UnmarshalJSON ¶ added in v0.7.0

func (o *PlanAvailableInInner) UnmarshalJSON(bytes []byte) (err error)

type PlanAvailableInInnerPrice ¶ added in v0.4.0

type PlanAvailableInInnerPrice struct {
	Hour                 *float64 `json:"hour,omitempty"`
	AdditionalProperties map[string]interface{}
}

PlanAvailableInInnerPrice struct for PlanAvailableInInnerPrice

func NewPlanAvailableInInnerPrice ¶ added in v0.4.0

func NewPlanAvailableInInnerPrice() *PlanAvailableInInnerPrice

NewPlanAvailableInInnerPrice instantiates a new PlanAvailableInInnerPrice object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewPlanAvailableInInnerPriceWithDefaults ¶ added in v0.4.0

func NewPlanAvailableInInnerPriceWithDefaults() *PlanAvailableInInnerPrice

NewPlanAvailableInInnerPriceWithDefaults instantiates a new PlanAvailableInInnerPrice object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*PlanAvailableInInnerPrice) GetHour ¶ added in v0.4.0

func (o *PlanAvailableInInnerPrice) GetHour() float64

GetHour returns the Hour field value if set, zero value otherwise.

func (*PlanAvailableInInnerPrice) GetHourOk ¶ added in v0.4.0

func (o *PlanAvailableInInnerPrice) GetHourOk() (*float64, bool)

GetHourOk returns a tuple with the Hour field value if set, nil otherwise and a boolean to check if the value has been set.

func (*PlanAvailableInInnerPrice) HasHour ¶ added in v0.4.0

func (o *PlanAvailableInInnerPrice) HasHour() bool

HasHour returns a boolean if a field has been set.

func (PlanAvailableInInnerPrice) MarshalJSON ¶ added in v0.4.0

func (o PlanAvailableInInnerPrice) MarshalJSON() ([]byte, error)

func (*PlanAvailableInInnerPrice) SetHour ¶ added in v0.4.0

func (o *PlanAvailableInInnerPrice) SetHour(v float64)

SetHour gets a reference to the given float64 and assigns it to the Hour field.

func (PlanAvailableInInnerPrice) ToMap ¶ added in v0.4.0

func (o PlanAvailableInInnerPrice) ToMap() (map[string]interface{}, error)

func (*PlanAvailableInInnerPrice) UnmarshalJSON ¶ added in v0.7.0

func (o *PlanAvailableInInnerPrice) UnmarshalJSON(bytes []byte) (err error)

type PlanAvailableInMetrosInner ¶ added in v0.4.0

type PlanAvailableInMetrosInner struct {
	// href to the Metro
	Href                 *string                    `json:"href,omitempty"`
	Price                *PlanAvailableInInnerPrice `json:"price,omitempty"`
	AdditionalProperties map[string]interface{}
}

PlanAvailableInMetrosInner struct for PlanAvailableInMetrosInner

func NewPlanAvailableInMetrosInner ¶ added in v0.4.0

func NewPlanAvailableInMetrosInner() *PlanAvailableInMetrosInner

NewPlanAvailableInMetrosInner instantiates a new PlanAvailableInMetrosInner object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewPlanAvailableInMetrosInnerWithDefaults ¶ added in v0.4.0

func NewPlanAvailableInMetrosInnerWithDefaults() *PlanAvailableInMetrosInner

NewPlanAvailableInMetrosInnerWithDefaults instantiates a new PlanAvailableInMetrosInner object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*PlanAvailableInMetrosInner) GetHref ¶ added in v0.4.0

func (o *PlanAvailableInMetrosInner) GetHref() string

GetHref returns the Href field value if set, zero value otherwise.

func (*PlanAvailableInMetrosInner) GetHrefOk ¶ added in v0.4.0

func (o *PlanAvailableInMetrosInner) GetHrefOk() (*string, bool)

GetHrefOk returns a tuple with the Href field value if set, nil otherwise and a boolean to check if the value has been set.

func (*PlanAvailableInMetrosInner) GetPrice ¶ added in v0.4.0

GetPrice returns the Price field value if set, zero value otherwise.

func (*PlanAvailableInMetrosInner) GetPriceOk ¶ added in v0.4.0

GetPriceOk returns a tuple with the Price field value if set, nil otherwise and a boolean to check if the value has been set.

func (*PlanAvailableInMetrosInner) HasHref ¶ added in v0.4.0

func (o *PlanAvailableInMetrosInner) HasHref() bool

HasHref returns a boolean if a field has been set.

func (*PlanAvailableInMetrosInner) HasPrice ¶ added in v0.4.0

func (o *PlanAvailableInMetrosInner) HasPrice() bool

HasPrice returns a boolean if a field has been set.

func (PlanAvailableInMetrosInner) MarshalJSON ¶ added in v0.4.0

func (o PlanAvailableInMetrosInner) MarshalJSON() ([]byte, error)

func (*PlanAvailableInMetrosInner) SetHref ¶ added in v0.4.0

func (o *PlanAvailableInMetrosInner) SetHref(v string)

SetHref gets a reference to the given string and assigns it to the Href field.

func (*PlanAvailableInMetrosInner) SetPrice ¶ added in v0.4.0

SetPrice gets a reference to the given PlanAvailableInInnerPrice and assigns it to the Price field.

func (PlanAvailableInMetrosInner) ToMap ¶ added in v0.4.0

func (o PlanAvailableInMetrosInner) ToMap() (map[string]interface{}, error)

func (*PlanAvailableInMetrosInner) UnmarshalJSON ¶ added in v0.7.0

func (o *PlanAvailableInMetrosInner) UnmarshalJSON(bytes []byte) (err error)

type PlanDeploymentTypesInner ¶ added in v0.22.0

type PlanDeploymentTypesInner string

PlanDeploymentTypesInner the model 'PlanDeploymentTypesInner'

const (
	PLANDEPLOYMENTTYPESINNER_ON_DEMAND   PlanDeploymentTypesInner = "on_demand"
	PLANDEPLOYMENTTYPESINNER_SPOT_MARKET PlanDeploymentTypesInner = "spot_market"
)

List of Plan_deployment_types_inner

func NewPlanDeploymentTypesInnerFromValue ¶ added in v0.22.0

func NewPlanDeploymentTypesInnerFromValue(v string) (*PlanDeploymentTypesInner, error)

NewPlanDeploymentTypesInnerFromValue returns a pointer to a valid PlanDeploymentTypesInner for the value passed as argument, or an error if the value passed is not allowed by the enum

func (PlanDeploymentTypesInner) IsValid ¶ added in v0.22.0

func (v PlanDeploymentTypesInner) IsValid() bool

IsValid return true if the value is valid for the enum, false otherwise

func (PlanDeploymentTypesInner) Ptr ¶ added in v0.22.0

Ptr returns reference to Plan_deployment_types_inner value

func (*PlanDeploymentTypesInner) UnmarshalJSON ¶ added in v0.22.0

func (v *PlanDeploymentTypesInner) UnmarshalJSON(src []byte) error

type PlanList ¶

type PlanList struct {
	Plans                []Plan `json:"plans,omitempty"`
	AdditionalProperties map[string]interface{}
}

PlanList struct for PlanList

func NewPlanList ¶

func NewPlanList() *PlanList

NewPlanList instantiates a new PlanList object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewPlanListWithDefaults ¶

func NewPlanListWithDefaults() *PlanList

NewPlanListWithDefaults instantiates a new PlanList object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*PlanList) GetPlans ¶

func (o *PlanList) GetPlans() []Plan

GetPlans returns the Plans field value if set, zero value otherwise.

func (*PlanList) GetPlansOk ¶

func (o *PlanList) GetPlansOk() ([]Plan, bool)

GetPlansOk returns a tuple with the Plans field value if set, nil otherwise and a boolean to check if the value has been set.

func (*PlanList) HasPlans ¶

func (o *PlanList) HasPlans() bool

HasPlans returns a boolean if a field has been set.

func (PlanList) MarshalJSON ¶

func (o PlanList) MarshalJSON() ([]byte, error)

func (*PlanList) SetPlans ¶

func (o *PlanList) SetPlans(v []Plan)

SetPlans gets a reference to the given []Plan and assigns it to the Plans field.

func (PlanList) ToMap ¶ added in v0.4.0

func (o PlanList) ToMap() (map[string]interface{}, error)

func (*PlanList) UnmarshalJSON ¶ added in v0.7.0

func (o *PlanList) UnmarshalJSON(bytes []byte) (err error)

type PlanSpecs ¶ added in v0.4.0

type PlanSpecs struct {
	Cpus                 []PlanSpecsCpusInner   `json:"cpus,omitempty"`
	Memory               *PlanSpecsMemory       `json:"memory,omitempty"`
	Drives               []PlanSpecsDrivesInner `json:"drives,omitempty"`
	Nics                 []PlanSpecsNicsInner   `json:"nics,omitempty"`
	Features             *PlanSpecsFeatures     `json:"features,omitempty"`
	AdditionalProperties map[string]interface{}
}

PlanSpecs struct for PlanSpecs

func NewPlanSpecs ¶ added in v0.4.0

func NewPlanSpecs() *PlanSpecs

NewPlanSpecs instantiates a new PlanSpecs object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewPlanSpecsWithDefaults ¶ added in v0.4.0

func NewPlanSpecsWithDefaults() *PlanSpecs

NewPlanSpecsWithDefaults instantiates a new PlanSpecs object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*PlanSpecs) GetCpus ¶ added in v0.4.0

func (o *PlanSpecs) GetCpus() []PlanSpecsCpusInner

GetCpus returns the Cpus field value if set, zero value otherwise.

func (*PlanSpecs) GetCpusOk ¶ added in v0.4.0

func (o *PlanSpecs) GetCpusOk() ([]PlanSpecsCpusInner, bool)

GetCpusOk returns a tuple with the Cpus field value if set, nil otherwise and a boolean to check if the value has been set.

func (*PlanSpecs) GetDrives ¶ added in v0.4.0

func (o *PlanSpecs) GetDrives() []PlanSpecsDrivesInner

GetDrives returns the Drives field value if set, zero value otherwise.

func (*PlanSpecs) GetDrivesOk ¶ added in v0.4.0

func (o *PlanSpecs) GetDrivesOk() ([]PlanSpecsDrivesInner, bool)

GetDrivesOk returns a tuple with the Drives field value if set, nil otherwise and a boolean to check if the value has been set.

func (*PlanSpecs) GetFeatures ¶ added in v0.4.0

func (o *PlanSpecs) GetFeatures() PlanSpecsFeatures

GetFeatures returns the Features field value if set, zero value otherwise.

func (*PlanSpecs) GetFeaturesOk ¶ added in v0.4.0

func (o *PlanSpecs) GetFeaturesOk() (*PlanSpecsFeatures, bool)

GetFeaturesOk returns a tuple with the Features field value if set, nil otherwise and a boolean to check if the value has been set.

func (*PlanSpecs) GetMemory ¶ added in v0.12.0

func (o *PlanSpecs) GetMemory() PlanSpecsMemory

GetMemory returns the Memory field value if set, zero value otherwise.

func (*PlanSpecs) GetMemoryOk ¶ added in v0.12.0

func (o *PlanSpecs) GetMemoryOk() (*PlanSpecsMemory, bool)

GetMemoryOk returns a tuple with the Memory field value if set, nil otherwise and a boolean to check if the value has been set.

func (*PlanSpecs) GetNics ¶ added in v0.4.0

func (o *PlanSpecs) GetNics() []PlanSpecsNicsInner

GetNics returns the Nics field value if set, zero value otherwise.

func (*PlanSpecs) GetNicsOk ¶ added in v0.4.0

func (o *PlanSpecs) GetNicsOk() ([]PlanSpecsNicsInner, bool)

GetNicsOk returns a tuple with the Nics field value if set, nil otherwise and a boolean to check if the value has been set.

func (*PlanSpecs) HasCpus ¶ added in v0.4.0

func (o *PlanSpecs) HasCpus() bool

HasCpus returns a boolean if a field has been set.

func (*PlanSpecs) HasDrives ¶ added in v0.4.0

func (o *PlanSpecs) HasDrives() bool

HasDrives returns a boolean if a field has been set.

func (*PlanSpecs) HasFeatures ¶ added in v0.4.0

func (o *PlanSpecs) HasFeatures() bool

HasFeatures returns a boolean if a field has been set.

func (*PlanSpecs) HasMemory ¶ added in v0.12.0

func (o *PlanSpecs) HasMemory() bool

HasMemory returns a boolean if a field has been set.

func (*PlanSpecs) HasNics ¶ added in v0.4.0

func (o *PlanSpecs) HasNics() bool

HasNics returns a boolean if a field has been set.

func (PlanSpecs) MarshalJSON ¶ added in v0.4.0

func (o PlanSpecs) MarshalJSON() ([]byte, error)

func (*PlanSpecs) SetCpus ¶ added in v0.4.0

func (o *PlanSpecs) SetCpus(v []PlanSpecsCpusInner)

SetCpus gets a reference to the given []PlanSpecsCpusInner and assigns it to the Cpus field.

func (*PlanSpecs) SetDrives ¶ added in v0.4.0

func (o *PlanSpecs) SetDrives(v []PlanSpecsDrivesInner)

SetDrives gets a reference to the given []PlanSpecsDrivesInner and assigns it to the Drives field.

func (*PlanSpecs) SetFeatures ¶ added in v0.4.0

func (o *PlanSpecs) SetFeatures(v PlanSpecsFeatures)

SetFeatures gets a reference to the given PlanSpecsFeatures and assigns it to the Features field.

func (*PlanSpecs) SetMemory ¶ added in v0.12.0

func (o *PlanSpecs) SetMemory(v PlanSpecsMemory)

SetMemory gets a reference to the given PlanSpecsMemory and assigns it to the Memory field.

func (*PlanSpecs) SetNics ¶ added in v0.4.0

func (o *PlanSpecs) SetNics(v []PlanSpecsNicsInner)

SetNics gets a reference to the given []PlanSpecsNicsInner and assigns it to the Nics field.

func (PlanSpecs) ToMap ¶ added in v0.4.0

func (o PlanSpecs) ToMap() (map[string]interface{}, error)

func (*PlanSpecs) UnmarshalJSON ¶ added in v0.7.0

func (o *PlanSpecs) UnmarshalJSON(bytes []byte) (err error)

type PlanSpecsCpusInner ¶ added in v0.4.0

type PlanSpecsCpusInner struct {
	Count                *int32  `json:"count,omitempty"`
	Type                 *string `json:"type,omitempty"`
	AdditionalProperties map[string]interface{}
}

PlanSpecsCpusInner struct for PlanSpecsCpusInner

func NewPlanSpecsCpusInner ¶ added in v0.4.0

func NewPlanSpecsCpusInner() *PlanSpecsCpusInner

NewPlanSpecsCpusInner instantiates a new PlanSpecsCpusInner object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewPlanSpecsCpusInnerWithDefaults ¶ added in v0.4.0

func NewPlanSpecsCpusInnerWithDefaults() *PlanSpecsCpusInner

NewPlanSpecsCpusInnerWithDefaults instantiates a new PlanSpecsCpusInner object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*PlanSpecsCpusInner) GetCount ¶ added in v0.4.0

func (o *PlanSpecsCpusInner) GetCount() int32

GetCount returns the Count field value if set, zero value otherwise.

func (*PlanSpecsCpusInner) GetCountOk ¶ added in v0.4.0

func (o *PlanSpecsCpusInner) GetCountOk() (*int32, bool)

GetCountOk returns a tuple with the Count field value if set, nil otherwise and a boolean to check if the value has been set.

func (*PlanSpecsCpusInner) GetType ¶ added in v0.4.0

func (o *PlanSpecsCpusInner) GetType() string

GetType returns the Type field value if set, zero value otherwise.

func (*PlanSpecsCpusInner) GetTypeOk ¶ added in v0.4.0

func (o *PlanSpecsCpusInner) GetTypeOk() (*string, bool)

GetTypeOk returns a tuple with the Type field value if set, nil otherwise and a boolean to check if the value has been set.

func (*PlanSpecsCpusInner) HasCount ¶ added in v0.4.0

func (o *PlanSpecsCpusInner) HasCount() bool

HasCount returns a boolean if a field has been set.

func (*PlanSpecsCpusInner) HasType ¶ added in v0.4.0

func (o *PlanSpecsCpusInner) HasType() bool

HasType returns a boolean if a field has been set.

func (PlanSpecsCpusInner) MarshalJSON ¶ added in v0.4.0

func (o PlanSpecsCpusInner) MarshalJSON() ([]byte, error)

func (*PlanSpecsCpusInner) SetCount ¶ added in v0.4.0

func (o *PlanSpecsCpusInner) SetCount(v int32)

SetCount gets a reference to the given int32 and assigns it to the Count field.

func (*PlanSpecsCpusInner) SetType ¶ added in v0.4.0

func (o *PlanSpecsCpusInner) SetType(v string)

SetType gets a reference to the given string and assigns it to the Type field.

func (PlanSpecsCpusInner) ToMap ¶ added in v0.4.0

func (o PlanSpecsCpusInner) ToMap() (map[string]interface{}, error)

func (*PlanSpecsCpusInner) UnmarshalJSON ¶ added in v0.7.0

func (o *PlanSpecsCpusInner) UnmarshalJSON(bytes []byte) (err error)

type PlanSpecsDrivesInner ¶ added in v0.4.0

type PlanSpecsDrivesInner struct {
	Count                *int32                        `json:"count,omitempty"`
	Type                 *string                       `json:"type,omitempty"`
	Size                 *string                       `json:"size,omitempty"`
	Category             *PlanSpecsDrivesInnerCategory `json:"category,omitempty"`
	AdditionalProperties map[string]interface{}
}

PlanSpecsDrivesInner struct for PlanSpecsDrivesInner

func NewPlanSpecsDrivesInner ¶ added in v0.4.0

func NewPlanSpecsDrivesInner() *PlanSpecsDrivesInner

NewPlanSpecsDrivesInner instantiates a new PlanSpecsDrivesInner object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewPlanSpecsDrivesInnerWithDefaults ¶ added in v0.4.0

func NewPlanSpecsDrivesInnerWithDefaults() *PlanSpecsDrivesInner

NewPlanSpecsDrivesInnerWithDefaults instantiates a new PlanSpecsDrivesInner object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*PlanSpecsDrivesInner) GetCategory ¶ added in v0.4.0

GetCategory returns the Category field value if set, zero value otherwise.

func (*PlanSpecsDrivesInner) GetCategoryOk ¶ added in v0.4.0

GetCategoryOk returns a tuple with the Category field value if set, nil otherwise and a boolean to check if the value has been set.

func (*PlanSpecsDrivesInner) GetCount ¶ added in v0.4.0

func (o *PlanSpecsDrivesInner) GetCount() int32

GetCount returns the Count field value if set, zero value otherwise.

func (*PlanSpecsDrivesInner) GetCountOk ¶ added in v0.4.0

func (o *PlanSpecsDrivesInner) GetCountOk() (*int32, bool)

GetCountOk returns a tuple with the Count field value if set, nil otherwise and a boolean to check if the value has been set.

func (*PlanSpecsDrivesInner) GetSize ¶ added in v0.4.0

func (o *PlanSpecsDrivesInner) GetSize() string

GetSize returns the Size field value if set, zero value otherwise.

func (*PlanSpecsDrivesInner) GetSizeOk ¶ added in v0.4.0

func (o *PlanSpecsDrivesInner) GetSizeOk() (*string, bool)

GetSizeOk returns a tuple with the Size field value if set, nil otherwise and a boolean to check if the value has been set.

func (*PlanSpecsDrivesInner) GetType ¶ added in v0.4.0

func (o *PlanSpecsDrivesInner) GetType() string

GetType returns the Type field value if set, zero value otherwise.

func (*PlanSpecsDrivesInner) GetTypeOk ¶ added in v0.4.0

func (o *PlanSpecsDrivesInner) GetTypeOk() (*string, bool)

GetTypeOk returns a tuple with the Type field value if set, nil otherwise and a boolean to check if the value has been set.

func (*PlanSpecsDrivesInner) HasCategory ¶ added in v0.4.0

func (o *PlanSpecsDrivesInner) HasCategory() bool

HasCategory returns a boolean if a field has been set.

func (*PlanSpecsDrivesInner) HasCount ¶ added in v0.4.0

func (o *PlanSpecsDrivesInner) HasCount() bool

HasCount returns a boolean if a field has been set.

func (*PlanSpecsDrivesInner) HasSize ¶ added in v0.4.0

func (o *PlanSpecsDrivesInner) HasSize() bool

HasSize returns a boolean if a field has been set.

func (*PlanSpecsDrivesInner) HasType ¶ added in v0.4.0

func (o *PlanSpecsDrivesInner) HasType() bool

HasType returns a boolean if a field has been set.

func (PlanSpecsDrivesInner) MarshalJSON ¶ added in v0.4.0

func (o PlanSpecsDrivesInner) MarshalJSON() ([]byte, error)

func (*PlanSpecsDrivesInner) SetCategory ¶ added in v0.4.0

SetCategory gets a reference to the given PlanSpecsDrivesInnerCategory and assigns it to the Category field.

func (*PlanSpecsDrivesInner) SetCount ¶ added in v0.4.0

func (o *PlanSpecsDrivesInner) SetCount(v int32)

SetCount gets a reference to the given int32 and assigns it to the Count field.

func (*PlanSpecsDrivesInner) SetSize ¶ added in v0.4.0

func (o *PlanSpecsDrivesInner) SetSize(v string)

SetSize gets a reference to the given string and assigns it to the Size field.

func (*PlanSpecsDrivesInner) SetType ¶ added in v0.4.0

func (o *PlanSpecsDrivesInner) SetType(v string)

SetType gets a reference to the given string and assigns it to the Type field.

func (PlanSpecsDrivesInner) ToMap ¶ added in v0.4.0

func (o PlanSpecsDrivesInner) ToMap() (map[string]interface{}, error)

func (*PlanSpecsDrivesInner) UnmarshalJSON ¶ added in v0.7.0

func (o *PlanSpecsDrivesInner) UnmarshalJSON(bytes []byte) (err error)

type PlanSpecsDrivesInnerCategory ¶ added in v0.22.0

type PlanSpecsDrivesInnerCategory string

PlanSpecsDrivesInnerCategory the model 'PlanSpecsDrivesInnerCategory'

const (
	PLANSPECSDRIVESINNERCATEGORY_BOOT    PlanSpecsDrivesInnerCategory = "boot"
	PLANSPECSDRIVESINNERCATEGORY_CACHE   PlanSpecsDrivesInnerCategory = "cache"
	PLANSPECSDRIVESINNERCATEGORY_STORAGE PlanSpecsDrivesInnerCategory = "storage"
)

List of Plan_specs_drives_inner_category

func NewPlanSpecsDrivesInnerCategoryFromValue ¶ added in v0.22.0

func NewPlanSpecsDrivesInnerCategoryFromValue(v string) (*PlanSpecsDrivesInnerCategory, error)

NewPlanSpecsDrivesInnerCategoryFromValue returns a pointer to a valid PlanSpecsDrivesInnerCategory for the value passed as argument, or an error if the value passed is not allowed by the enum

func (PlanSpecsDrivesInnerCategory) IsValid ¶ added in v0.22.0

func (v PlanSpecsDrivesInnerCategory) IsValid() bool

IsValid return true if the value is valid for the enum, false otherwise

func (PlanSpecsDrivesInnerCategory) Ptr ¶ added in v0.22.0

Ptr returns reference to Plan_specs_drives_inner_category value

func (*PlanSpecsDrivesInnerCategory) UnmarshalJSON ¶ added in v0.22.0

func (v *PlanSpecsDrivesInnerCategory) UnmarshalJSON(src []byte) error

type PlanSpecsFeatures ¶ added in v0.4.0

type PlanSpecsFeatures struct {
	Raid                 *bool `json:"raid,omitempty"`
	Txt                  *bool `json:"txt,omitempty"`
	Uefi                 *bool `json:"uefi,omitempty"`
	AdditionalProperties map[string]interface{}
}

PlanSpecsFeatures struct for PlanSpecsFeatures

func NewPlanSpecsFeatures ¶ added in v0.4.0

func NewPlanSpecsFeatures() *PlanSpecsFeatures

NewPlanSpecsFeatures instantiates a new PlanSpecsFeatures object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewPlanSpecsFeaturesWithDefaults ¶ added in v0.4.0

func NewPlanSpecsFeaturesWithDefaults() *PlanSpecsFeatures

NewPlanSpecsFeaturesWithDefaults instantiates a new PlanSpecsFeatures object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*PlanSpecsFeatures) GetRaid ¶ added in v0.4.0

func (o *PlanSpecsFeatures) GetRaid() bool

GetRaid returns the Raid field value if set, zero value otherwise.

func (*PlanSpecsFeatures) GetRaidOk ¶ added in v0.4.0

func (o *PlanSpecsFeatures) GetRaidOk() (*bool, bool)

GetRaidOk returns a tuple with the Raid field value if set, nil otherwise and a boolean to check if the value has been set.

func (*PlanSpecsFeatures) GetTxt ¶ added in v0.4.0

func (o *PlanSpecsFeatures) GetTxt() bool

GetTxt returns the Txt field value if set, zero value otherwise.

func (*PlanSpecsFeatures) GetTxtOk ¶ added in v0.4.0

func (o *PlanSpecsFeatures) GetTxtOk() (*bool, bool)

GetTxtOk returns a tuple with the Txt field value if set, nil otherwise and a boolean to check if the value has been set.

func (*PlanSpecsFeatures) GetUefi ¶ added in v0.4.0

func (o *PlanSpecsFeatures) GetUefi() bool

GetUefi returns the Uefi field value if set, zero value otherwise.

func (*PlanSpecsFeatures) GetUefiOk ¶ added in v0.4.0

func (o *PlanSpecsFeatures) GetUefiOk() (*bool, bool)

GetUefiOk returns a tuple with the Uefi field value if set, nil otherwise and a boolean to check if the value has been set.

func (*PlanSpecsFeatures) HasRaid ¶ added in v0.4.0

func (o *PlanSpecsFeatures) HasRaid() bool

HasRaid returns a boolean if a field has been set.

func (*PlanSpecsFeatures) HasTxt ¶ added in v0.4.0

func (o *PlanSpecsFeatures) HasTxt() bool

HasTxt returns a boolean if a field has been set.

func (*PlanSpecsFeatures) HasUefi ¶ added in v0.4.0

func (o *PlanSpecsFeatures) HasUefi() bool

HasUefi returns a boolean if a field has been set.

func (PlanSpecsFeatures) MarshalJSON ¶ added in v0.4.0

func (o PlanSpecsFeatures) MarshalJSON() ([]byte, error)

func (*PlanSpecsFeatures) SetRaid ¶ added in v0.4.0

func (o *PlanSpecsFeatures) SetRaid(v bool)

SetRaid gets a reference to the given bool and assigns it to the Raid field.

func (*PlanSpecsFeatures) SetTxt ¶ added in v0.4.0

func (o *PlanSpecsFeatures) SetTxt(v bool)

SetTxt gets a reference to the given bool and assigns it to the Txt field.

func (*PlanSpecsFeatures) SetUefi ¶ added in v0.4.0

func (o *PlanSpecsFeatures) SetUefi(v bool)

SetUefi gets a reference to the given bool and assigns it to the Uefi field.

func (PlanSpecsFeatures) ToMap ¶ added in v0.4.0

func (o PlanSpecsFeatures) ToMap() (map[string]interface{}, error)

func (*PlanSpecsFeatures) UnmarshalJSON ¶ added in v0.7.0

func (o *PlanSpecsFeatures) UnmarshalJSON(bytes []byte) (err error)

type PlanSpecsMemory ¶ added in v0.12.0

type PlanSpecsMemory struct {
	Total                *string `json:"total,omitempty"`
	AdditionalProperties map[string]interface{}
}

PlanSpecsMemory struct for PlanSpecsMemory

func NewPlanSpecsMemory ¶ added in v0.12.0

func NewPlanSpecsMemory() *PlanSpecsMemory

NewPlanSpecsMemory instantiates a new PlanSpecsMemory object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewPlanSpecsMemoryWithDefaults ¶ added in v0.12.0

func NewPlanSpecsMemoryWithDefaults() *PlanSpecsMemory

NewPlanSpecsMemoryWithDefaults instantiates a new PlanSpecsMemory object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*PlanSpecsMemory) GetTotal ¶ added in v0.12.0

func (o *PlanSpecsMemory) GetTotal() string

GetTotal returns the Total field value if set, zero value otherwise.

func (*PlanSpecsMemory) GetTotalOk ¶ added in v0.12.0

func (o *PlanSpecsMemory) GetTotalOk() (*string, bool)

GetTotalOk returns a tuple with the Total field value if set, nil otherwise and a boolean to check if the value has been set.

func (*PlanSpecsMemory) HasTotal ¶ added in v0.12.0

func (o *PlanSpecsMemory) HasTotal() bool

HasTotal returns a boolean if a field has been set.

func (PlanSpecsMemory) MarshalJSON ¶ added in v0.12.0

func (o PlanSpecsMemory) MarshalJSON() ([]byte, error)

func (*PlanSpecsMemory) SetTotal ¶ added in v0.12.0

func (o *PlanSpecsMemory) SetTotal(v string)

SetTotal gets a reference to the given string and assigns it to the Total field.

func (PlanSpecsMemory) ToMap ¶ added in v0.12.0

func (o PlanSpecsMemory) ToMap() (map[string]interface{}, error)

func (*PlanSpecsMemory) UnmarshalJSON ¶ added in v0.12.0

func (o *PlanSpecsMemory) UnmarshalJSON(bytes []byte) (err error)

type PlanSpecsNicsInner ¶ added in v0.4.0

type PlanSpecsNicsInner struct {
	Count                *int32  `json:"count,omitempty"`
	Type                 *string `json:"type,omitempty"`
	AdditionalProperties map[string]interface{}
}

PlanSpecsNicsInner struct for PlanSpecsNicsInner

func NewPlanSpecsNicsInner ¶ added in v0.4.0

func NewPlanSpecsNicsInner() *PlanSpecsNicsInner

NewPlanSpecsNicsInner instantiates a new PlanSpecsNicsInner object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewPlanSpecsNicsInnerWithDefaults ¶ added in v0.4.0

func NewPlanSpecsNicsInnerWithDefaults() *PlanSpecsNicsInner

NewPlanSpecsNicsInnerWithDefaults instantiates a new PlanSpecsNicsInner object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*PlanSpecsNicsInner) GetCount ¶ added in v0.4.0

func (o *PlanSpecsNicsInner) GetCount() int32

GetCount returns the Count field value if set, zero value otherwise.

func (*PlanSpecsNicsInner) GetCountOk ¶ added in v0.4.0

func (o *PlanSpecsNicsInner) GetCountOk() (*int32, bool)

GetCountOk returns a tuple with the Count field value if set, nil otherwise and a boolean to check if the value has been set.

func (*PlanSpecsNicsInner) GetType ¶ added in v0.4.0

func (o *PlanSpecsNicsInner) GetType() string

GetType returns the Type field value if set, zero value otherwise.

func (*PlanSpecsNicsInner) GetTypeOk ¶ added in v0.4.0

func (o *PlanSpecsNicsInner) GetTypeOk() (*string, bool)

GetTypeOk returns a tuple with the Type field value if set, nil otherwise and a boolean to check if the value has been set.

func (*PlanSpecsNicsInner) HasCount ¶ added in v0.4.0

func (o *PlanSpecsNicsInner) HasCount() bool

HasCount returns a boolean if a field has been set.

func (*PlanSpecsNicsInner) HasType ¶ added in v0.4.0

func (o *PlanSpecsNicsInner) HasType() bool

HasType returns a boolean if a field has been set.

func (PlanSpecsNicsInner) MarshalJSON ¶ added in v0.4.0

func (o PlanSpecsNicsInner) MarshalJSON() ([]byte, error)

func (*PlanSpecsNicsInner) SetCount ¶ added in v0.4.0

func (o *PlanSpecsNicsInner) SetCount(v int32)

SetCount gets a reference to the given int32 and assigns it to the Count field.

func (*PlanSpecsNicsInner) SetType ¶ added in v0.4.0

func (o *PlanSpecsNicsInner) SetType(v string)

SetType gets a reference to the given string and assigns it to the Type field.

func (PlanSpecsNicsInner) ToMap ¶ added in v0.4.0

func (o PlanSpecsNicsInner) ToMap() (map[string]interface{}, error)

func (*PlanSpecsNicsInner) UnmarshalJSON ¶ added in v0.7.0

func (o *PlanSpecsNicsInner) UnmarshalJSON(bytes []byte) (err error)

type PlanType ¶ added in v0.22.0

type PlanType string

PlanType The plan type

const (
	PLANTYPE_STANDARD           PlanType = "standard"
	PLANTYPE_WORKLOAD_OPTIMIZED PlanType = "workload_optimized"
	PLANTYPE_CUSTOM             PlanType = "custom"
)

List of Plan_type

func NewPlanTypeFromValue ¶ added in v0.22.0

func NewPlanTypeFromValue(v string) (*PlanType, error)

NewPlanTypeFromValue returns a pointer to a valid PlanType for the value passed as argument, or an error if the value passed is not allowed by the enum

func (PlanType) IsValid ¶ added in v0.22.0

func (v PlanType) IsValid() bool

IsValid return true if the value is valid for the enum, false otherwise

func (PlanType) Ptr ¶ added in v0.22.0

func (v PlanType) Ptr() *PlanType

Ptr returns reference to Plan_type value

func (*PlanType) UnmarshalJSON ¶ added in v0.22.0

func (v *PlanType) UnmarshalJSON(src []byte) error

type PlansApiService ¶

type PlansApiService service

PlansApiService PlansApi service

func (*PlansApiService) FindPlans ¶

FindPlans Retrieve all plans

Provides a listing of available plans to provision your device on.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@return ApiFindPlansRequest

func (*PlansApiService) FindPlansByProject ¶

func (a *PlansApiService) FindPlansByProject(ctx context.Context, id string) ApiFindPlansByProjectRequest

FindPlansByProject Retrieve all plans visible by the project

Returns a listing of available plans for the given project

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param id Project UUID
@return ApiFindPlansByProjectRequest

func (*PlansApiService) FindPlansByProjectExecute ¶

func (a *PlansApiService) FindPlansByProjectExecute(r ApiFindPlansByProjectRequest) (*PlanList, *http.Response, error)

Execute executes the request

@return PlanList

func (*PlansApiService) FindPlansExecute ¶

func (a *PlansApiService) FindPlansExecute(r ApiFindPlansRequest) (*PlanList, *http.Response, error)

Execute executes the request

@return PlanList

type Port ¶

type Port struct {
	Bond *BondPortData `json:"bond,omitempty"`
	Data *PortData     `json:"data,omitempty"`
	// Indicates whether or not the bond can be broken on the port (when applicable).
	DisbondOperationSupported *bool            `json:"disbond_operation_supported,omitempty"`
	Href                      *string          `json:"href,omitempty"`
	Id                        *string          `json:"id,omitempty"`
	Name                      *string          `json:"name,omitempty"`
	Type                      *PortType        `json:"type,omitempty"`
	NetworkType               *PortNetworkType `json:"network_type,omitempty"`
	NativeVirtualNetwork      *VirtualNetwork  `json:"native_virtual_network,omitempty"`
	VirtualNetworks           []Href           `json:"virtual_networks,omitempty"`
	AdditionalProperties      map[string]interface{}
}

Port Port is a hardware port associated with a reserved or instantiated hardware device.

func NewPort ¶

func NewPort() *Port

NewPort instantiates a new Port object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewPortWithDefaults ¶

func NewPortWithDefaults() *Port

NewPortWithDefaults instantiates a new Port object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*Port) GetBond ¶ added in v0.3.0

func (o *Port) GetBond() BondPortData

GetBond returns the Bond field value if set, zero value otherwise.

func (*Port) GetBondOk ¶ added in v0.3.0

func (o *Port) GetBondOk() (*BondPortData, bool)

GetBondOk returns a tuple with the Bond field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Port) GetData ¶

func (o *Port) GetData() PortData

GetData returns the Data field value if set, zero value otherwise.

func (*Port) GetDataOk ¶

func (o *Port) GetDataOk() (*PortData, bool)

GetDataOk returns a tuple with the Data field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Port) GetDisbondOperationSupported ¶

func (o *Port) GetDisbondOperationSupported() bool

GetDisbondOperationSupported returns the DisbondOperationSupported field value if set, zero value otherwise.

func (*Port) GetDisbondOperationSupportedOk ¶

func (o *Port) GetDisbondOperationSupportedOk() (*bool, bool)

GetDisbondOperationSupportedOk returns a tuple with the DisbondOperationSupported field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Port) GetHref ¶

func (o *Port) GetHref() string

GetHref returns the Href field value if set, zero value otherwise.

func (*Port) GetHrefOk ¶

func (o *Port) GetHrefOk() (*string, bool)

GetHrefOk returns a tuple with the Href field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Port) GetId ¶

func (o *Port) GetId() string

GetId returns the Id field value if set, zero value otherwise.

func (*Port) GetIdOk ¶

func (o *Port) GetIdOk() (*string, bool)

GetIdOk returns a tuple with the Id field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Port) GetName ¶

func (o *Port) GetName() string

GetName returns the Name field value if set, zero value otherwise.

func (*Port) GetNameOk ¶

func (o *Port) GetNameOk() (*string, bool)

GetNameOk returns a tuple with the Name field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Port) GetNativeVirtualNetwork ¶ added in v0.3.0

func (o *Port) GetNativeVirtualNetwork() VirtualNetwork

GetNativeVirtualNetwork returns the NativeVirtualNetwork field value if set, zero value otherwise.

func (*Port) GetNativeVirtualNetworkOk ¶ added in v0.3.0

func (o *Port) GetNativeVirtualNetworkOk() (*VirtualNetwork, bool)

GetNativeVirtualNetworkOk returns a tuple with the NativeVirtualNetwork field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Port) GetNetworkType ¶ added in v0.3.0

func (o *Port) GetNetworkType() PortNetworkType

GetNetworkType returns the NetworkType field value if set, zero value otherwise.

func (*Port) GetNetworkTypeOk ¶ added in v0.3.0

func (o *Port) GetNetworkTypeOk() (*PortNetworkType, bool)

GetNetworkTypeOk returns a tuple with the NetworkType field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Port) GetType ¶

func (o *Port) GetType() PortType

GetType returns the Type field value if set, zero value otherwise.

func (*Port) GetTypeOk ¶

func (o *Port) GetTypeOk() (*PortType, bool)

GetTypeOk returns a tuple with the Type field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Port) GetVirtualNetworks ¶

func (o *Port) GetVirtualNetworks() []Href

GetVirtualNetworks returns the VirtualNetworks field value if set, zero value otherwise.

func (*Port) GetVirtualNetworksOk ¶

func (o *Port) GetVirtualNetworksOk() ([]Href, bool)

GetVirtualNetworksOk returns a tuple with the VirtualNetworks field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Port) HasBond ¶ added in v0.3.0

func (o *Port) HasBond() bool

HasBond returns a boolean if a field has been set.

func (*Port) HasData ¶

func (o *Port) HasData() bool

HasData returns a boolean if a field has been set.

func (*Port) HasDisbondOperationSupported ¶

func (o *Port) HasDisbondOperationSupported() bool

HasDisbondOperationSupported returns a boolean if a field has been set.

func (*Port) HasHref ¶

func (o *Port) HasHref() bool

HasHref returns a boolean if a field has been set.

func (*Port) HasId ¶

func (o *Port) HasId() bool

HasId returns a boolean if a field has been set.

func (*Port) HasName ¶

func (o *Port) HasName() bool

HasName returns a boolean if a field has been set.

func (*Port) HasNativeVirtualNetwork ¶ added in v0.3.0

func (o *Port) HasNativeVirtualNetwork() bool

HasNativeVirtualNetwork returns a boolean if a field has been set.

func (*Port) HasNetworkType ¶ added in v0.3.0

func (o *Port) HasNetworkType() bool

HasNetworkType returns a boolean if a field has been set.

func (*Port) HasType ¶

func (o *Port) HasType() bool

HasType returns a boolean if a field has been set.

func (*Port) HasVirtualNetworks ¶

func (o *Port) HasVirtualNetworks() bool

HasVirtualNetworks returns a boolean if a field has been set.

func (Port) MarshalJSON ¶

func (o Port) MarshalJSON() ([]byte, error)

func (*Port) SetBond ¶ added in v0.3.0

func (o *Port) SetBond(v BondPortData)

SetBond gets a reference to the given BondPortData and assigns it to the Bond field.

func (*Port) SetData ¶

func (o *Port) SetData(v PortData)

SetData gets a reference to the given PortData and assigns it to the Data field.

func (*Port) SetDisbondOperationSupported ¶

func (o *Port) SetDisbondOperationSupported(v bool)

SetDisbondOperationSupported gets a reference to the given bool and assigns it to the DisbondOperationSupported field.

func (*Port) SetHref ¶

func (o *Port) SetHref(v string)

SetHref gets a reference to the given string and assigns it to the Href field.

func (*Port) SetId ¶

func (o *Port) SetId(v string)

SetId gets a reference to the given string and assigns it to the Id field.

func (*Port) SetName ¶

func (o *Port) SetName(v string)

SetName gets a reference to the given string and assigns it to the Name field.

func (*Port) SetNativeVirtualNetwork ¶ added in v0.3.0

func (o *Port) SetNativeVirtualNetwork(v VirtualNetwork)

SetNativeVirtualNetwork gets a reference to the given VirtualNetwork and assigns it to the NativeVirtualNetwork field.

func (*Port) SetNetworkType ¶ added in v0.3.0

func (o *Port) SetNetworkType(v PortNetworkType)

SetNetworkType gets a reference to the given PortNetworkType and assigns it to the NetworkType field.

func (*Port) SetType ¶

func (o *Port) SetType(v PortType)

SetType gets a reference to the given PortType and assigns it to the Type field.

func (*Port) SetVirtualNetworks ¶

func (o *Port) SetVirtualNetworks(v []Href)

SetVirtualNetworks gets a reference to the given []Href and assigns it to the VirtualNetworks field.

func (Port) ToMap ¶ added in v0.4.0

func (o Port) ToMap() (map[string]interface{}, error)

func (*Port) UnmarshalJSON ¶ added in v0.7.0

func (o *Port) UnmarshalJSON(bytes []byte) (err error)

type PortAssignInput ¶

type PortAssignInput struct {
	// Virtual Network ID. May be the UUID of the Virtual Network record, or the VLAN value itself.
	Vnid                 *string `json:"vnid,omitempty"`
	AdditionalProperties map[string]interface{}
}

PortAssignInput struct for PortAssignInput

func NewPortAssignInput ¶

func NewPortAssignInput() *PortAssignInput

NewPortAssignInput instantiates a new PortAssignInput object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewPortAssignInputWithDefaults ¶

func NewPortAssignInputWithDefaults() *PortAssignInput

NewPortAssignInputWithDefaults instantiates a new PortAssignInput object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*PortAssignInput) GetVnid ¶

func (o *PortAssignInput) GetVnid() string

GetVnid returns the Vnid field value if set, zero value otherwise.

func (*PortAssignInput) GetVnidOk ¶

func (o *PortAssignInput) GetVnidOk() (*string, bool)

GetVnidOk returns a tuple with the Vnid field value if set, nil otherwise and a boolean to check if the value has been set.

func (*PortAssignInput) HasVnid ¶

func (o *PortAssignInput) HasVnid() bool

HasVnid returns a boolean if a field has been set.

func (PortAssignInput) MarshalJSON ¶

func (o PortAssignInput) MarshalJSON() ([]byte, error)

func (*PortAssignInput) SetVnid ¶

func (o *PortAssignInput) SetVnid(v string)

SetVnid gets a reference to the given string and assigns it to the Vnid field.

func (PortAssignInput) ToMap ¶ added in v0.4.0

func (o PortAssignInput) ToMap() (map[string]interface{}, error)

func (*PortAssignInput) UnmarshalJSON ¶ added in v0.7.0

func (o *PortAssignInput) UnmarshalJSON(bytes []byte) (err error)

type PortConvertLayer3Input ¶

type PortConvertLayer3Input struct {
	RequestIps           []PortConvertLayer3InputRequestIpsInner `json:"request_ips,omitempty"`
	AdditionalProperties map[string]interface{}
}

PortConvertLayer3Input struct for PortConvertLayer3Input

func NewPortConvertLayer3Input ¶

func NewPortConvertLayer3Input() *PortConvertLayer3Input

NewPortConvertLayer3Input instantiates a new PortConvertLayer3Input object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewPortConvertLayer3InputWithDefaults ¶

func NewPortConvertLayer3InputWithDefaults() *PortConvertLayer3Input

NewPortConvertLayer3InputWithDefaults instantiates a new PortConvertLayer3Input object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*PortConvertLayer3Input) GetRequestIps ¶

GetRequestIps returns the RequestIps field value if set, zero value otherwise.

func (*PortConvertLayer3Input) GetRequestIpsOk ¶

GetRequestIpsOk returns a tuple with the RequestIps field value if set, nil otherwise and a boolean to check if the value has been set.

func (*PortConvertLayer3Input) HasRequestIps ¶

func (o *PortConvertLayer3Input) HasRequestIps() bool

HasRequestIps returns a boolean if a field has been set.

func (PortConvertLayer3Input) MarshalJSON ¶

func (o PortConvertLayer3Input) MarshalJSON() ([]byte, error)

func (*PortConvertLayer3Input) SetRequestIps ¶

SetRequestIps gets a reference to the given []PortConvertLayer3InputRequestIpsInner and assigns it to the RequestIps field.

func (PortConvertLayer3Input) ToMap ¶ added in v0.4.0

func (o PortConvertLayer3Input) ToMap() (map[string]interface{}, error)

func (*PortConvertLayer3Input) UnmarshalJSON ¶ added in v0.7.0

func (o *PortConvertLayer3Input) UnmarshalJSON(bytes []byte) (err error)

type PortConvertLayer3InputRequestIpsInner ¶ added in v0.4.0

type PortConvertLayer3InputRequestIpsInner struct {
	AddressFamily        *int32 `json:"address_family,omitempty"`
	Public               *bool  `json:"public,omitempty"`
	AdditionalProperties map[string]interface{}
}

PortConvertLayer3InputRequestIpsInner struct for PortConvertLayer3InputRequestIpsInner

func NewPortConvertLayer3InputRequestIpsInner ¶ added in v0.4.0

func NewPortConvertLayer3InputRequestIpsInner() *PortConvertLayer3InputRequestIpsInner

NewPortConvertLayer3InputRequestIpsInner instantiates a new PortConvertLayer3InputRequestIpsInner object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewPortConvertLayer3InputRequestIpsInnerWithDefaults ¶ added in v0.4.0

func NewPortConvertLayer3InputRequestIpsInnerWithDefaults() *PortConvertLayer3InputRequestIpsInner

NewPortConvertLayer3InputRequestIpsInnerWithDefaults instantiates a new PortConvertLayer3InputRequestIpsInner object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*PortConvertLayer3InputRequestIpsInner) GetAddressFamily ¶ added in v0.4.0

func (o *PortConvertLayer3InputRequestIpsInner) GetAddressFamily() int32

GetAddressFamily returns the AddressFamily field value if set, zero value otherwise.

func (*PortConvertLayer3InputRequestIpsInner) GetAddressFamilyOk ¶ added in v0.4.0

func (o *PortConvertLayer3InputRequestIpsInner) GetAddressFamilyOk() (*int32, bool)

GetAddressFamilyOk returns a tuple with the AddressFamily field value if set, nil otherwise and a boolean to check if the value has been set.

func (*PortConvertLayer3InputRequestIpsInner) GetPublic ¶ added in v0.4.0

GetPublic returns the Public field value if set, zero value otherwise.

func (*PortConvertLayer3InputRequestIpsInner) GetPublicOk ¶ added in v0.4.0

func (o *PortConvertLayer3InputRequestIpsInner) GetPublicOk() (*bool, bool)

GetPublicOk returns a tuple with the Public field value if set, nil otherwise and a boolean to check if the value has been set.

func (*PortConvertLayer3InputRequestIpsInner) HasAddressFamily ¶ added in v0.4.0

func (o *PortConvertLayer3InputRequestIpsInner) HasAddressFamily() bool

HasAddressFamily returns a boolean if a field has been set.

func (*PortConvertLayer3InputRequestIpsInner) HasPublic ¶ added in v0.4.0

HasPublic returns a boolean if a field has been set.

func (PortConvertLayer3InputRequestIpsInner) MarshalJSON ¶ added in v0.4.0

func (o PortConvertLayer3InputRequestIpsInner) MarshalJSON() ([]byte, error)

func (*PortConvertLayer3InputRequestIpsInner) SetAddressFamily ¶ added in v0.4.0

func (o *PortConvertLayer3InputRequestIpsInner) SetAddressFamily(v int32)

SetAddressFamily gets a reference to the given int32 and assigns it to the AddressFamily field.

func (*PortConvertLayer3InputRequestIpsInner) SetPublic ¶ added in v0.4.0

SetPublic gets a reference to the given bool and assigns it to the Public field.

func (PortConvertLayer3InputRequestIpsInner) ToMap ¶ added in v0.4.0

func (o PortConvertLayer3InputRequestIpsInner) ToMap() (map[string]interface{}, error)

func (*PortConvertLayer3InputRequestIpsInner) UnmarshalJSON ¶ added in v0.7.0

func (o *PortConvertLayer3InputRequestIpsInner) UnmarshalJSON(bytes []byte) (err error)

type PortData ¶ added in v0.4.0

type PortData struct {
	// MAC address is set for NetworkPort ports
	Mac *string `json:"mac,omitempty"`
	// Bonded is true for NetworkPort ports in a bond and NetworkBondPort ports that are active
	Bonded               *bool `json:"bonded,omitempty"`
	AdditionalProperties map[string]interface{}
}

PortData struct for PortData

func NewPortData ¶ added in v0.4.0

func NewPortData() *PortData

NewPortData instantiates a new PortData object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewPortDataWithDefaults ¶ added in v0.4.0

func NewPortDataWithDefaults() *PortData

NewPortDataWithDefaults instantiates a new PortData object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*PortData) GetBonded ¶ added in v0.4.0

func (o *PortData) GetBonded() bool

GetBonded returns the Bonded field value if set, zero value otherwise.

func (*PortData) GetBondedOk ¶ added in v0.4.0

func (o *PortData) GetBondedOk() (*bool, bool)

GetBondedOk returns a tuple with the Bonded field value if set, nil otherwise and a boolean to check if the value has been set.

func (*PortData) GetMac ¶ added in v0.4.0

func (o *PortData) GetMac() string

GetMac returns the Mac field value if set, zero value otherwise.

func (*PortData) GetMacOk ¶ added in v0.4.0

func (o *PortData) GetMacOk() (*string, bool)

GetMacOk returns a tuple with the Mac field value if set, nil otherwise and a boolean to check if the value has been set.

func (*PortData) HasBonded ¶ added in v0.4.0

func (o *PortData) HasBonded() bool

HasBonded returns a boolean if a field has been set.

func (*PortData) HasMac ¶ added in v0.4.0

func (o *PortData) HasMac() bool

HasMac returns a boolean if a field has been set.

func (PortData) MarshalJSON ¶ added in v0.4.0

func (o PortData) MarshalJSON() ([]byte, error)

func (*PortData) SetBonded ¶ added in v0.4.0

func (o *PortData) SetBonded(v bool)

SetBonded gets a reference to the given bool and assigns it to the Bonded field.

func (*PortData) SetMac ¶ added in v0.4.0

func (o *PortData) SetMac(v string)

SetMac gets a reference to the given string and assigns it to the Mac field.

func (PortData) ToMap ¶ added in v0.4.0

func (o PortData) ToMap() (map[string]interface{}, error)

func (*PortData) UnmarshalJSON ¶ added in v0.7.0

func (o *PortData) UnmarshalJSON(bytes []byte) (err error)

type PortNetworkType ¶ added in v0.22.0

type PortNetworkType string

PortNetworkType Composite network type of the bond

const (
	PORTNETWORKTYPE_LAYER2_BONDED     PortNetworkType = "layer2-bonded"
	PORTNETWORKTYPE_LAYER2_INDIVIDUAL PortNetworkType = "layer2-individual"
	PORTNETWORKTYPE_LAYER3            PortNetworkType = "layer3"
	PORTNETWORKTYPE_HYBRID            PortNetworkType = "hybrid"
	PORTNETWORKTYPE_HYBRID_BONDED     PortNetworkType = "hybrid-bonded"
)

List of Port_network_type

func NewPortNetworkTypeFromValue ¶ added in v0.22.0

func NewPortNetworkTypeFromValue(v string) (*PortNetworkType, error)

NewPortNetworkTypeFromValue returns a pointer to a valid PortNetworkType for the value passed as argument, or an error if the value passed is not allowed by the enum

func (PortNetworkType) IsValid ¶ added in v0.22.0

func (v PortNetworkType) IsValid() bool

IsValid return true if the value is valid for the enum, false otherwise

func (PortNetworkType) Ptr ¶ added in v0.22.0

Ptr returns reference to Port_network_type value

func (*PortNetworkType) UnmarshalJSON ¶ added in v0.22.0

func (v *PortNetworkType) UnmarshalJSON(src []byte) error

type PortType ¶ added in v0.22.0

type PortType string

PortType Type is either \"NetworkBondPort\" for bond ports or \"NetworkPort\" for bondable ethernet ports

const (
	PORTTYPE_NETWORK_PORT      PortType = "NetworkPort"
	PORTTYPE_NETWORK_BOND_PORT PortType = "NetworkBondPort"
)

List of Port_type

func NewPortTypeFromValue ¶ added in v0.22.0

func NewPortTypeFromValue(v string) (*PortType, error)

NewPortTypeFromValue returns a pointer to a valid PortType for the value passed as argument, or an error if the value passed is not allowed by the enum

func (PortType) IsValid ¶ added in v0.22.0

func (v PortType) IsValid() bool

IsValid return true if the value is valid for the enum, false otherwise

func (PortType) Ptr ¶ added in v0.22.0

func (v PortType) Ptr() *PortType

Ptr returns reference to Port_type value

func (*PortType) UnmarshalJSON ¶ added in v0.22.0

func (v *PortType) UnmarshalJSON(src []byte) error

type PortVlanAssignment ¶

type PortVlanAssignment struct {
	CreatedAt            *time.Time               `json:"created_at,omitempty"`
	Id                   *string                  `json:"id,omitempty"`
	Native               *bool                    `json:"native,omitempty"`
	Port                 *Href                    `json:"port,omitempty"`
	State                *PortVlanAssignmentState `json:"state,omitempty"`
	UpdatedAt            *time.Time               `json:"updated_at,omitempty"`
	VirtualNetwork       *Href                    `json:"virtual_network,omitempty"`
	Vlan                 *int32                   `json:"vlan,omitempty"`
	AdditionalProperties map[string]interface{}
}

PortVlanAssignment struct for PortVlanAssignment

func NewPortVlanAssignment ¶

func NewPortVlanAssignment() *PortVlanAssignment

NewPortVlanAssignment instantiates a new PortVlanAssignment object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewPortVlanAssignmentWithDefaults ¶

func NewPortVlanAssignmentWithDefaults() *PortVlanAssignment

NewPortVlanAssignmentWithDefaults instantiates a new PortVlanAssignment object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*PortVlanAssignment) GetCreatedAt ¶

func (o *PortVlanAssignment) GetCreatedAt() time.Time

GetCreatedAt returns the CreatedAt field value if set, zero value otherwise.

func (*PortVlanAssignment) GetCreatedAtOk ¶

func (o *PortVlanAssignment) GetCreatedAtOk() (*time.Time, bool)

GetCreatedAtOk returns a tuple with the CreatedAt field value if set, nil otherwise and a boolean to check if the value has been set.

func (*PortVlanAssignment) GetId ¶

func (o *PortVlanAssignment) GetId() string

GetId returns the Id field value if set, zero value otherwise.

func (*PortVlanAssignment) GetIdOk ¶

func (o *PortVlanAssignment) GetIdOk() (*string, bool)

GetIdOk returns a tuple with the Id field value if set, nil otherwise and a boolean to check if the value has been set.

func (*PortVlanAssignment) GetNative ¶

func (o *PortVlanAssignment) GetNative() bool

GetNative returns the Native field value if set, zero value otherwise.

func (*PortVlanAssignment) GetNativeOk ¶

func (o *PortVlanAssignment) GetNativeOk() (*bool, bool)

GetNativeOk returns a tuple with the Native field value if set, nil otherwise and a boolean to check if the value has been set.

func (*PortVlanAssignment) GetPort ¶

func (o *PortVlanAssignment) GetPort() Href

GetPort returns the Port field value if set, zero value otherwise.

func (*PortVlanAssignment) GetPortOk ¶

func (o *PortVlanAssignment) GetPortOk() (*Href, bool)

GetPortOk returns a tuple with the Port field value if set, nil otherwise and a boolean to check if the value has been set.

func (*PortVlanAssignment) GetState ¶

GetState returns the State field value if set, zero value otherwise.

func (*PortVlanAssignment) GetStateOk ¶

func (o *PortVlanAssignment) GetStateOk() (*PortVlanAssignmentState, bool)

GetStateOk returns a tuple with the State field value if set, nil otherwise and a boolean to check if the value has been set.

func (*PortVlanAssignment) GetUpdatedAt ¶

func (o *PortVlanAssignment) GetUpdatedAt() time.Time

GetUpdatedAt returns the UpdatedAt field value if set, zero value otherwise.

func (*PortVlanAssignment) GetUpdatedAtOk ¶

func (o *PortVlanAssignment) GetUpdatedAtOk() (*time.Time, bool)

GetUpdatedAtOk returns a tuple with the UpdatedAt field value if set, nil otherwise and a boolean to check if the value has been set.

func (*PortVlanAssignment) GetVirtualNetwork ¶

func (o *PortVlanAssignment) GetVirtualNetwork() Href

GetVirtualNetwork returns the VirtualNetwork field value if set, zero value otherwise.

func (*PortVlanAssignment) GetVirtualNetworkOk ¶

func (o *PortVlanAssignment) GetVirtualNetworkOk() (*Href, bool)

GetVirtualNetworkOk returns a tuple with the VirtualNetwork field value if set, nil otherwise and a boolean to check if the value has been set.

func (*PortVlanAssignment) GetVlan ¶

func (o *PortVlanAssignment) GetVlan() int32

GetVlan returns the Vlan field value if set, zero value otherwise.

func (*PortVlanAssignment) GetVlanOk ¶

func (o *PortVlanAssignment) GetVlanOk() (*int32, bool)

GetVlanOk returns a tuple with the Vlan field value if set, nil otherwise and a boolean to check if the value has been set.

func (*PortVlanAssignment) HasCreatedAt ¶

func (o *PortVlanAssignment) HasCreatedAt() bool

HasCreatedAt returns a boolean if a field has been set.

func (*PortVlanAssignment) HasId ¶

func (o *PortVlanAssignment) HasId() bool

HasId returns a boolean if a field has been set.

func (*PortVlanAssignment) HasNative ¶

func (o *PortVlanAssignment) HasNative() bool

HasNative returns a boolean if a field has been set.

func (*PortVlanAssignment) HasPort ¶

func (o *PortVlanAssignment) HasPort() bool

HasPort returns a boolean if a field has been set.

func (*PortVlanAssignment) HasState ¶

func (o *PortVlanAssignment) HasState() bool

HasState returns a boolean if a field has been set.

func (*PortVlanAssignment) HasUpdatedAt ¶

func (o *PortVlanAssignment) HasUpdatedAt() bool

HasUpdatedAt returns a boolean if a field has been set.

func (*PortVlanAssignment) HasVirtualNetwork ¶

func (o *PortVlanAssignment) HasVirtualNetwork() bool

HasVirtualNetwork returns a boolean if a field has been set.

func (*PortVlanAssignment) HasVlan ¶

func (o *PortVlanAssignment) HasVlan() bool

HasVlan returns a boolean if a field has been set.

func (PortVlanAssignment) MarshalJSON ¶

func (o PortVlanAssignment) MarshalJSON() ([]byte, error)

func (*PortVlanAssignment) SetCreatedAt ¶

func (o *PortVlanAssignment) SetCreatedAt(v time.Time)

SetCreatedAt gets a reference to the given time.Time and assigns it to the CreatedAt field.

func (*PortVlanAssignment) SetId ¶

func (o *PortVlanAssignment) SetId(v string)

SetId gets a reference to the given string and assigns it to the Id field.

func (*PortVlanAssignment) SetNative ¶

func (o *PortVlanAssignment) SetNative(v bool)

SetNative gets a reference to the given bool and assigns it to the Native field.

func (*PortVlanAssignment) SetPort ¶

func (o *PortVlanAssignment) SetPort(v Href)

SetPort gets a reference to the given Href and assigns it to the Port field.

func (*PortVlanAssignment) SetState ¶

SetState gets a reference to the given PortVlanAssignmentState and assigns it to the State field.

func (*PortVlanAssignment) SetUpdatedAt ¶

func (o *PortVlanAssignment) SetUpdatedAt(v time.Time)

SetUpdatedAt gets a reference to the given time.Time and assigns it to the UpdatedAt field.

func (*PortVlanAssignment) SetVirtualNetwork ¶

func (o *PortVlanAssignment) SetVirtualNetwork(v Href)

SetVirtualNetwork gets a reference to the given Href and assigns it to the VirtualNetwork field.

func (*PortVlanAssignment) SetVlan ¶

func (o *PortVlanAssignment) SetVlan(v int32)

SetVlan gets a reference to the given int32 and assigns it to the Vlan field.

func (PortVlanAssignment) ToMap ¶ added in v0.4.0

func (o PortVlanAssignment) ToMap() (map[string]interface{}, error)

func (*PortVlanAssignment) UnmarshalJSON ¶ added in v0.7.0

func (o *PortVlanAssignment) UnmarshalJSON(bytes []byte) (err error)

type PortVlanAssignmentBatch ¶

type PortVlanAssignmentBatch struct {
	CreatedAt            *time.Time                                    `json:"created_at,omitempty"`
	ErrorMessages        []string                                      `json:"error_messages,omitempty"`
	Id                   *string                                       `json:"id,omitempty"`
	Port                 *Port                                         `json:"port,omitempty"`
	Quantity             *int32                                        `json:"quantity,omitempty"`
	State                *PortVlanAssignmentBatchState                 `json:"state,omitempty"`
	UpdatedAt            *time.Time                                    `json:"updated_at,omitempty"`
	VlanAssignments      []PortVlanAssignmentBatchVlanAssignmentsInner `json:"vlan_assignments,omitempty"`
	Project              *Href                                         `json:"project,omitempty"`
	AdditionalProperties map[string]interface{}
}

PortVlanAssignmentBatch struct for PortVlanAssignmentBatch

func NewPortVlanAssignmentBatch ¶

func NewPortVlanAssignmentBatch() *PortVlanAssignmentBatch

NewPortVlanAssignmentBatch instantiates a new PortVlanAssignmentBatch object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewPortVlanAssignmentBatchWithDefaults ¶

func NewPortVlanAssignmentBatchWithDefaults() *PortVlanAssignmentBatch

NewPortVlanAssignmentBatchWithDefaults instantiates a new PortVlanAssignmentBatch object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*PortVlanAssignmentBatch) GetCreatedAt ¶

func (o *PortVlanAssignmentBatch) GetCreatedAt() time.Time

GetCreatedAt returns the CreatedAt field value if set, zero value otherwise.

func (*PortVlanAssignmentBatch) GetCreatedAtOk ¶

func (o *PortVlanAssignmentBatch) GetCreatedAtOk() (*time.Time, bool)

GetCreatedAtOk returns a tuple with the CreatedAt field value if set, nil otherwise and a boolean to check if the value has been set.

func (*PortVlanAssignmentBatch) GetErrorMessages ¶

func (o *PortVlanAssignmentBatch) GetErrorMessages() []string

GetErrorMessages returns the ErrorMessages field value if set, zero value otherwise.

func (*PortVlanAssignmentBatch) GetErrorMessagesOk ¶

func (o *PortVlanAssignmentBatch) GetErrorMessagesOk() ([]string, bool)

GetErrorMessagesOk returns a tuple with the ErrorMessages field value if set, nil otherwise and a boolean to check if the value has been set.

func (*PortVlanAssignmentBatch) GetId ¶

func (o *PortVlanAssignmentBatch) GetId() string

GetId returns the Id field value if set, zero value otherwise.

func (*PortVlanAssignmentBatch) GetIdOk ¶

func (o *PortVlanAssignmentBatch) GetIdOk() (*string, bool)

GetIdOk returns a tuple with the Id field value if set, nil otherwise and a boolean to check if the value has been set.

func (*PortVlanAssignmentBatch) GetPort ¶

func (o *PortVlanAssignmentBatch) GetPort() Port

GetPort returns the Port field value if set, zero value otherwise.

func (*PortVlanAssignmentBatch) GetPortOk ¶

func (o *PortVlanAssignmentBatch) GetPortOk() (*Port, bool)

GetPortOk returns a tuple with the Port field value if set, nil otherwise and a boolean to check if the value has been set.

func (*PortVlanAssignmentBatch) GetProject ¶ added in v0.5.0

func (o *PortVlanAssignmentBatch) GetProject() Href

GetProject returns the Project field value if set, zero value otherwise.

func (*PortVlanAssignmentBatch) GetProjectOk ¶ added in v0.5.0

func (o *PortVlanAssignmentBatch) GetProjectOk() (*Href, bool)

GetProjectOk returns a tuple with the Project field value if set, nil otherwise and a boolean to check if the value has been set.

func (*PortVlanAssignmentBatch) GetQuantity ¶

func (o *PortVlanAssignmentBatch) GetQuantity() int32

GetQuantity returns the Quantity field value if set, zero value otherwise.

func (*PortVlanAssignmentBatch) GetQuantityOk ¶

func (o *PortVlanAssignmentBatch) GetQuantityOk() (*int32, bool)

GetQuantityOk returns a tuple with the Quantity field value if set, nil otherwise and a boolean to check if the value has been set.

func (*PortVlanAssignmentBatch) GetState ¶

GetState returns the State field value if set, zero value otherwise.

func (*PortVlanAssignmentBatch) GetStateOk ¶

GetStateOk returns a tuple with the State field value if set, nil otherwise and a boolean to check if the value has been set.

func (*PortVlanAssignmentBatch) GetUpdatedAt ¶

func (o *PortVlanAssignmentBatch) GetUpdatedAt() time.Time

GetUpdatedAt returns the UpdatedAt field value if set, zero value otherwise.

func (*PortVlanAssignmentBatch) GetUpdatedAtOk ¶

func (o *PortVlanAssignmentBatch) GetUpdatedAtOk() (*time.Time, bool)

GetUpdatedAtOk returns a tuple with the UpdatedAt field value if set, nil otherwise and a boolean to check if the value has been set.

func (*PortVlanAssignmentBatch) GetVlanAssignments ¶

GetVlanAssignments returns the VlanAssignments field value if set, zero value otherwise.

func (*PortVlanAssignmentBatch) GetVlanAssignmentsOk ¶

GetVlanAssignmentsOk returns a tuple with the VlanAssignments field value if set, nil otherwise and a boolean to check if the value has been set.

func (*PortVlanAssignmentBatch) HasCreatedAt ¶

func (o *PortVlanAssignmentBatch) HasCreatedAt() bool

HasCreatedAt returns a boolean if a field has been set.

func (*PortVlanAssignmentBatch) HasErrorMessages ¶

func (o *PortVlanAssignmentBatch) HasErrorMessages() bool

HasErrorMessages returns a boolean if a field has been set.

func (*PortVlanAssignmentBatch) HasId ¶

func (o *PortVlanAssignmentBatch) HasId() bool

HasId returns a boolean if a field has been set.

func (*PortVlanAssignmentBatch) HasPort ¶

func (o *PortVlanAssignmentBatch) HasPort() bool

HasPort returns a boolean if a field has been set.

func (*PortVlanAssignmentBatch) HasProject ¶ added in v0.5.0

func (o *PortVlanAssignmentBatch) HasProject() bool

HasProject returns a boolean if a field has been set.

func (*PortVlanAssignmentBatch) HasQuantity ¶

func (o *PortVlanAssignmentBatch) HasQuantity() bool

HasQuantity returns a boolean if a field has been set.

func (*PortVlanAssignmentBatch) HasState ¶

func (o *PortVlanAssignmentBatch) HasState() bool

HasState returns a boolean if a field has been set.

func (*PortVlanAssignmentBatch) HasUpdatedAt ¶

func (o *PortVlanAssignmentBatch) HasUpdatedAt() bool

HasUpdatedAt returns a boolean if a field has been set.

func (*PortVlanAssignmentBatch) HasVlanAssignments ¶

func (o *PortVlanAssignmentBatch) HasVlanAssignments() bool

HasVlanAssignments returns a boolean if a field has been set.

func (PortVlanAssignmentBatch) MarshalJSON ¶

func (o PortVlanAssignmentBatch) MarshalJSON() ([]byte, error)

func (*PortVlanAssignmentBatch) SetCreatedAt ¶

func (o *PortVlanAssignmentBatch) SetCreatedAt(v time.Time)

SetCreatedAt gets a reference to the given time.Time and assigns it to the CreatedAt field.

func (*PortVlanAssignmentBatch) SetErrorMessages ¶

func (o *PortVlanAssignmentBatch) SetErrorMessages(v []string)

SetErrorMessages gets a reference to the given []string and assigns it to the ErrorMessages field.

func (*PortVlanAssignmentBatch) SetId ¶

func (o *PortVlanAssignmentBatch) SetId(v string)

SetId gets a reference to the given string and assigns it to the Id field.

func (*PortVlanAssignmentBatch) SetPort ¶

func (o *PortVlanAssignmentBatch) SetPort(v Port)

SetPort gets a reference to the given Port and assigns it to the Port field.

func (*PortVlanAssignmentBatch) SetProject ¶ added in v0.5.0

func (o *PortVlanAssignmentBatch) SetProject(v Href)

SetProject gets a reference to the given Href and assigns it to the Project field.

func (*PortVlanAssignmentBatch) SetQuantity ¶

func (o *PortVlanAssignmentBatch) SetQuantity(v int32)

SetQuantity gets a reference to the given int32 and assigns it to the Quantity field.

func (*PortVlanAssignmentBatch) SetState ¶

SetState gets a reference to the given PortVlanAssignmentBatchState and assigns it to the State field.

func (*PortVlanAssignmentBatch) SetUpdatedAt ¶

func (o *PortVlanAssignmentBatch) SetUpdatedAt(v time.Time)

SetUpdatedAt gets a reference to the given time.Time and assigns it to the UpdatedAt field.

func (*PortVlanAssignmentBatch) SetVlanAssignments ¶

SetVlanAssignments gets a reference to the given []PortVlanAssignmentBatchVlanAssignmentsInner and assigns it to the VlanAssignments field.

func (PortVlanAssignmentBatch) ToMap ¶ added in v0.4.0

func (o PortVlanAssignmentBatch) ToMap() (map[string]interface{}, error)

func (*PortVlanAssignmentBatch) UnmarshalJSON ¶ added in v0.7.0

func (o *PortVlanAssignmentBatch) UnmarshalJSON(bytes []byte) (err error)

type PortVlanAssignmentBatchCreateInput ¶

type PortVlanAssignmentBatchCreateInput struct {
	VlanAssignments      []PortVlanAssignmentBatchCreateInputVlanAssignmentsInner `json:"vlan_assignments,omitempty"`
	AdditionalProperties map[string]interface{}
}

PortVlanAssignmentBatchCreateInput struct for PortVlanAssignmentBatchCreateInput

func NewPortVlanAssignmentBatchCreateInput ¶

func NewPortVlanAssignmentBatchCreateInput() *PortVlanAssignmentBatchCreateInput

NewPortVlanAssignmentBatchCreateInput instantiates a new PortVlanAssignmentBatchCreateInput object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewPortVlanAssignmentBatchCreateInputWithDefaults ¶

func NewPortVlanAssignmentBatchCreateInputWithDefaults() *PortVlanAssignmentBatchCreateInput

NewPortVlanAssignmentBatchCreateInputWithDefaults instantiates a new PortVlanAssignmentBatchCreateInput object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*PortVlanAssignmentBatchCreateInput) GetVlanAssignments ¶

GetVlanAssignments returns the VlanAssignments field value if set, zero value otherwise.

func (*PortVlanAssignmentBatchCreateInput) GetVlanAssignmentsOk ¶

GetVlanAssignmentsOk returns a tuple with the VlanAssignments field value if set, nil otherwise and a boolean to check if the value has been set.

func (*PortVlanAssignmentBatchCreateInput) HasVlanAssignments ¶

func (o *PortVlanAssignmentBatchCreateInput) HasVlanAssignments() bool

HasVlanAssignments returns a boolean if a field has been set.

func (PortVlanAssignmentBatchCreateInput) MarshalJSON ¶

func (o PortVlanAssignmentBatchCreateInput) MarshalJSON() ([]byte, error)

func (*PortVlanAssignmentBatchCreateInput) SetVlanAssignments ¶

SetVlanAssignments gets a reference to the given []PortVlanAssignmentBatchCreateInputVlanAssignmentsInner and assigns it to the VlanAssignments field.

func (PortVlanAssignmentBatchCreateInput) ToMap ¶ added in v0.4.0

func (o PortVlanAssignmentBatchCreateInput) ToMap() (map[string]interface{}, error)

func (*PortVlanAssignmentBatchCreateInput) UnmarshalJSON ¶ added in v0.7.0

func (o *PortVlanAssignmentBatchCreateInput) UnmarshalJSON(bytes []byte) (err error)

type PortVlanAssignmentBatchCreateInputVlanAssignmentsInner ¶ added in v0.4.0

type PortVlanAssignmentBatchCreateInputVlanAssignmentsInner struct {
	Native               *bool                                             `json:"native,omitempty"`
	State                *PortVlanAssignmentBatchVlanAssignmentsInnerState `json:"state,omitempty"`
	Vlan                 *string                                           `json:"vlan,omitempty"`
	AdditionalProperties map[string]interface{}
}

PortVlanAssignmentBatchCreateInputVlanAssignmentsInner struct for PortVlanAssignmentBatchCreateInputVlanAssignmentsInner

func NewPortVlanAssignmentBatchCreateInputVlanAssignmentsInner ¶ added in v0.4.0

func NewPortVlanAssignmentBatchCreateInputVlanAssignmentsInner() *PortVlanAssignmentBatchCreateInputVlanAssignmentsInner

NewPortVlanAssignmentBatchCreateInputVlanAssignmentsInner instantiates a new PortVlanAssignmentBatchCreateInputVlanAssignmentsInner object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewPortVlanAssignmentBatchCreateInputVlanAssignmentsInnerWithDefaults ¶ added in v0.4.0

func NewPortVlanAssignmentBatchCreateInputVlanAssignmentsInnerWithDefaults() *PortVlanAssignmentBatchCreateInputVlanAssignmentsInner

NewPortVlanAssignmentBatchCreateInputVlanAssignmentsInnerWithDefaults instantiates a new PortVlanAssignmentBatchCreateInputVlanAssignmentsInner object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*PortVlanAssignmentBatchCreateInputVlanAssignmentsInner) GetNative ¶ added in v0.4.0

GetNative returns the Native field value if set, zero value otherwise.

func (*PortVlanAssignmentBatchCreateInputVlanAssignmentsInner) GetNativeOk ¶ added in v0.4.0

GetNativeOk returns a tuple with the Native field value if set, nil otherwise and a boolean to check if the value has been set.

func (*PortVlanAssignmentBatchCreateInputVlanAssignmentsInner) GetState ¶ added in v0.4.0

GetState returns the State field value if set, zero value otherwise.

func (*PortVlanAssignmentBatchCreateInputVlanAssignmentsInner) GetStateOk ¶ added in v0.4.0

GetStateOk returns a tuple with the State field value if set, nil otherwise and a boolean to check if the value has been set.

func (*PortVlanAssignmentBatchCreateInputVlanAssignmentsInner) GetVlan ¶ added in v0.4.0

GetVlan returns the Vlan field value if set, zero value otherwise.

func (*PortVlanAssignmentBatchCreateInputVlanAssignmentsInner) GetVlanOk ¶ added in v0.4.0

GetVlanOk returns a tuple with the Vlan field value if set, nil otherwise and a boolean to check if the value has been set.

func (*PortVlanAssignmentBatchCreateInputVlanAssignmentsInner) HasNative ¶ added in v0.4.0

HasNative returns a boolean if a field has been set.

func (*PortVlanAssignmentBatchCreateInputVlanAssignmentsInner) HasState ¶ added in v0.4.0

HasState returns a boolean if a field has been set.

func (*PortVlanAssignmentBatchCreateInputVlanAssignmentsInner) HasVlan ¶ added in v0.4.0

HasVlan returns a boolean if a field has been set.

func (PortVlanAssignmentBatchCreateInputVlanAssignmentsInner) MarshalJSON ¶ added in v0.4.0

func (*PortVlanAssignmentBatchCreateInputVlanAssignmentsInner) SetNative ¶ added in v0.4.0

SetNative gets a reference to the given bool and assigns it to the Native field.

func (*PortVlanAssignmentBatchCreateInputVlanAssignmentsInner) SetState ¶ added in v0.4.0

SetState gets a reference to the given PortVlanAssignmentBatchVlanAssignmentsInnerState and assigns it to the State field.

func (*PortVlanAssignmentBatchCreateInputVlanAssignmentsInner) SetVlan ¶ added in v0.4.0

SetVlan gets a reference to the given string and assigns it to the Vlan field.

func (PortVlanAssignmentBatchCreateInputVlanAssignmentsInner) ToMap ¶ added in v0.4.0

func (*PortVlanAssignmentBatchCreateInputVlanAssignmentsInner) UnmarshalJSON ¶ added in v0.7.0

func (o *PortVlanAssignmentBatchCreateInputVlanAssignmentsInner) UnmarshalJSON(bytes []byte) (err error)

type PortVlanAssignmentBatchList ¶

type PortVlanAssignmentBatchList struct {
	Batches              []PortVlanAssignmentBatch `json:"batches,omitempty"`
	AdditionalProperties map[string]interface{}
}

PortVlanAssignmentBatchList struct for PortVlanAssignmentBatchList

func NewPortVlanAssignmentBatchList ¶

func NewPortVlanAssignmentBatchList() *PortVlanAssignmentBatchList

NewPortVlanAssignmentBatchList instantiates a new PortVlanAssignmentBatchList object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewPortVlanAssignmentBatchListWithDefaults ¶

func NewPortVlanAssignmentBatchListWithDefaults() *PortVlanAssignmentBatchList

NewPortVlanAssignmentBatchListWithDefaults instantiates a new PortVlanAssignmentBatchList object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*PortVlanAssignmentBatchList) GetBatches ¶

GetBatches returns the Batches field value if set, zero value otherwise.

func (*PortVlanAssignmentBatchList) GetBatchesOk ¶

GetBatchesOk returns a tuple with the Batches field value if set, nil otherwise and a boolean to check if the value has been set.

func (*PortVlanAssignmentBatchList) HasBatches ¶

func (o *PortVlanAssignmentBatchList) HasBatches() bool

HasBatches returns a boolean if a field has been set.

func (PortVlanAssignmentBatchList) MarshalJSON ¶

func (o PortVlanAssignmentBatchList) MarshalJSON() ([]byte, error)

func (*PortVlanAssignmentBatchList) SetBatches ¶

SetBatches gets a reference to the given []PortVlanAssignmentBatch and assigns it to the Batches field.

func (PortVlanAssignmentBatchList) ToMap ¶ added in v0.4.0

func (o PortVlanAssignmentBatchList) ToMap() (map[string]interface{}, error)

func (*PortVlanAssignmentBatchList) UnmarshalJSON ¶ added in v0.7.0

func (o *PortVlanAssignmentBatchList) UnmarshalJSON(bytes []byte) (err error)

type PortVlanAssignmentBatchState ¶ added in v0.22.0

type PortVlanAssignmentBatchState string

PortVlanAssignmentBatchState the model 'PortVlanAssignmentBatchState'

const (
	PORTVLANASSIGNMENTBATCHSTATE_QUEUED      PortVlanAssignmentBatchState = "queued"
	PORTVLANASSIGNMENTBATCHSTATE_IN_PROGRESS PortVlanAssignmentBatchState = "in_progress"
	PORTVLANASSIGNMENTBATCHSTATE_COMPLETED   PortVlanAssignmentBatchState = "completed"
	PORTVLANASSIGNMENTBATCHSTATE_FAILED      PortVlanAssignmentBatchState = "failed"
)

List of PortVlanAssignmentBatch_state

func NewPortVlanAssignmentBatchStateFromValue ¶ added in v0.22.0

func NewPortVlanAssignmentBatchStateFromValue(v string) (*PortVlanAssignmentBatchState, error)

NewPortVlanAssignmentBatchStateFromValue returns a pointer to a valid PortVlanAssignmentBatchState for the value passed as argument, or an error if the value passed is not allowed by the enum

func (PortVlanAssignmentBatchState) IsValid ¶ added in v0.22.0

func (v PortVlanAssignmentBatchState) IsValid() bool

IsValid return true if the value is valid for the enum, false otherwise

func (PortVlanAssignmentBatchState) Ptr ¶ added in v0.22.0

Ptr returns reference to PortVlanAssignmentBatch_state value

func (*PortVlanAssignmentBatchState) UnmarshalJSON ¶ added in v0.22.0

func (v *PortVlanAssignmentBatchState) UnmarshalJSON(src []byte) error

type PortVlanAssignmentBatchVlanAssignmentsInner ¶ added in v0.4.0

type PortVlanAssignmentBatchVlanAssignmentsInner struct {
	Id                   *string                                           `json:"id,omitempty"`
	Native               *bool                                             `json:"native,omitempty"`
	State                *PortVlanAssignmentBatchVlanAssignmentsInnerState `json:"state,omitempty"`
	Vlan                 *int32                                            `json:"vlan,omitempty"`
	AdditionalProperties map[string]interface{}
}

PortVlanAssignmentBatchVlanAssignmentsInner struct for PortVlanAssignmentBatchVlanAssignmentsInner

func NewPortVlanAssignmentBatchVlanAssignmentsInner ¶ added in v0.4.0

func NewPortVlanAssignmentBatchVlanAssignmentsInner() *PortVlanAssignmentBatchVlanAssignmentsInner

NewPortVlanAssignmentBatchVlanAssignmentsInner instantiates a new PortVlanAssignmentBatchVlanAssignmentsInner object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewPortVlanAssignmentBatchVlanAssignmentsInnerWithDefaults ¶ added in v0.4.0

func NewPortVlanAssignmentBatchVlanAssignmentsInnerWithDefaults() *PortVlanAssignmentBatchVlanAssignmentsInner

NewPortVlanAssignmentBatchVlanAssignmentsInnerWithDefaults instantiates a new PortVlanAssignmentBatchVlanAssignmentsInner object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*PortVlanAssignmentBatchVlanAssignmentsInner) GetId ¶ added in v0.4.0

GetId returns the Id field value if set, zero value otherwise.

func (*PortVlanAssignmentBatchVlanAssignmentsInner) GetIdOk ¶ added in v0.4.0

GetIdOk returns a tuple with the Id field value if set, nil otherwise and a boolean to check if the value has been set.

func (*PortVlanAssignmentBatchVlanAssignmentsInner) GetNative ¶ added in v0.4.0

GetNative returns the Native field value if set, zero value otherwise.

func (*PortVlanAssignmentBatchVlanAssignmentsInner) GetNativeOk ¶ added in v0.4.0

GetNativeOk returns a tuple with the Native field value if set, nil otherwise and a boolean to check if the value has been set.

func (*PortVlanAssignmentBatchVlanAssignmentsInner) GetState ¶ added in v0.4.0

GetState returns the State field value if set, zero value otherwise.

func (*PortVlanAssignmentBatchVlanAssignmentsInner) GetStateOk ¶ added in v0.4.0

GetStateOk returns a tuple with the State field value if set, nil otherwise and a boolean to check if the value has been set.

func (*PortVlanAssignmentBatchVlanAssignmentsInner) GetVlan ¶ added in v0.4.0

GetVlan returns the Vlan field value if set, zero value otherwise.

func (*PortVlanAssignmentBatchVlanAssignmentsInner) GetVlanOk ¶ added in v0.4.0

GetVlanOk returns a tuple with the Vlan field value if set, nil otherwise and a boolean to check if the value has been set.

func (*PortVlanAssignmentBatchVlanAssignmentsInner) HasId ¶ added in v0.4.0

HasId returns a boolean if a field has been set.

func (*PortVlanAssignmentBatchVlanAssignmentsInner) HasNative ¶ added in v0.4.0

HasNative returns a boolean if a field has been set.

func (*PortVlanAssignmentBatchVlanAssignmentsInner) HasState ¶ added in v0.4.0

HasState returns a boolean if a field has been set.

func (*PortVlanAssignmentBatchVlanAssignmentsInner) HasVlan ¶ added in v0.4.0

HasVlan returns a boolean if a field has been set.

func (PortVlanAssignmentBatchVlanAssignmentsInner) MarshalJSON ¶ added in v0.4.0

func (*PortVlanAssignmentBatchVlanAssignmentsInner) SetId ¶ added in v0.4.0

SetId gets a reference to the given string and assigns it to the Id field.

func (*PortVlanAssignmentBatchVlanAssignmentsInner) SetNative ¶ added in v0.4.0

SetNative gets a reference to the given bool and assigns it to the Native field.

func (*PortVlanAssignmentBatchVlanAssignmentsInner) SetState ¶ added in v0.4.0

SetState gets a reference to the given PortVlanAssignmentBatchVlanAssignmentsInnerState and assigns it to the State field.

func (*PortVlanAssignmentBatchVlanAssignmentsInner) SetVlan ¶ added in v0.4.0

SetVlan gets a reference to the given int32 and assigns it to the Vlan field.

func (PortVlanAssignmentBatchVlanAssignmentsInner) ToMap ¶ added in v0.4.0

func (o PortVlanAssignmentBatchVlanAssignmentsInner) ToMap() (map[string]interface{}, error)

func (*PortVlanAssignmentBatchVlanAssignmentsInner) UnmarshalJSON ¶ added in v0.7.0

func (o *PortVlanAssignmentBatchVlanAssignmentsInner) UnmarshalJSON(bytes []byte) (err error)

type PortVlanAssignmentBatchVlanAssignmentsInnerState ¶ added in v0.22.0

type PortVlanAssignmentBatchVlanAssignmentsInnerState string

PortVlanAssignmentBatchVlanAssignmentsInnerState the model 'PortVlanAssignmentBatchVlanAssignmentsInnerState'

const (
	PORTVLANASSIGNMENTBATCHVLANASSIGNMENTSINNERSTATE_ASSIGNED   PortVlanAssignmentBatchVlanAssignmentsInnerState = "assigned"
	PORTVLANASSIGNMENTBATCHVLANASSIGNMENTSINNERSTATE_UNASSIGNED PortVlanAssignmentBatchVlanAssignmentsInnerState = "unassigned"
)

List of PortVlanAssignmentBatch_vlan_assignments_inner_state

func NewPortVlanAssignmentBatchVlanAssignmentsInnerStateFromValue ¶ added in v0.22.0

func NewPortVlanAssignmentBatchVlanAssignmentsInnerStateFromValue(v string) (*PortVlanAssignmentBatchVlanAssignmentsInnerState, error)

NewPortVlanAssignmentBatchVlanAssignmentsInnerStateFromValue returns a pointer to a valid PortVlanAssignmentBatchVlanAssignmentsInnerState for the value passed as argument, or an error if the value passed is not allowed by the enum

func (PortVlanAssignmentBatchVlanAssignmentsInnerState) IsValid ¶ added in v0.22.0

IsValid return true if the value is valid for the enum, false otherwise

func (PortVlanAssignmentBatchVlanAssignmentsInnerState) Ptr ¶ added in v0.22.0

Ptr returns reference to PortVlanAssignmentBatch_vlan_assignments_inner_state value

func (*PortVlanAssignmentBatchVlanAssignmentsInnerState) UnmarshalJSON ¶ added in v0.22.0

type PortVlanAssignmentList ¶

type PortVlanAssignmentList struct {
	VlanAssignments      []PortVlanAssignment `json:"vlan_assignments,omitempty"`
	AdditionalProperties map[string]interface{}
}

PortVlanAssignmentList struct for PortVlanAssignmentList

func NewPortVlanAssignmentList ¶

func NewPortVlanAssignmentList() *PortVlanAssignmentList

NewPortVlanAssignmentList instantiates a new PortVlanAssignmentList object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewPortVlanAssignmentListWithDefaults ¶

func NewPortVlanAssignmentListWithDefaults() *PortVlanAssignmentList

NewPortVlanAssignmentListWithDefaults instantiates a new PortVlanAssignmentList object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*PortVlanAssignmentList) GetVlanAssignments ¶

func (o *PortVlanAssignmentList) GetVlanAssignments() []PortVlanAssignment

GetVlanAssignments returns the VlanAssignments field value if set, zero value otherwise.

func (*PortVlanAssignmentList) GetVlanAssignmentsOk ¶

func (o *PortVlanAssignmentList) GetVlanAssignmentsOk() ([]PortVlanAssignment, bool)

GetVlanAssignmentsOk returns a tuple with the VlanAssignments field value if set, nil otherwise and a boolean to check if the value has been set.

func (*PortVlanAssignmentList) HasVlanAssignments ¶

func (o *PortVlanAssignmentList) HasVlanAssignments() bool

HasVlanAssignments returns a boolean if a field has been set.

func (PortVlanAssignmentList) MarshalJSON ¶

func (o PortVlanAssignmentList) MarshalJSON() ([]byte, error)

func (*PortVlanAssignmentList) SetVlanAssignments ¶

func (o *PortVlanAssignmentList) SetVlanAssignments(v []PortVlanAssignment)

SetVlanAssignments gets a reference to the given []PortVlanAssignment and assigns it to the VlanAssignments field.

func (PortVlanAssignmentList) ToMap ¶ added in v0.4.0

func (o PortVlanAssignmentList) ToMap() (map[string]interface{}, error)

func (*PortVlanAssignmentList) UnmarshalJSON ¶ added in v0.7.0

func (o *PortVlanAssignmentList) UnmarshalJSON(bytes []byte) (err error)

type PortVlanAssignmentState ¶ added in v0.22.0

type PortVlanAssignmentState string

PortVlanAssignmentState the model 'PortVlanAssignmentState'

const (
	PORTVLANASSIGNMENTSTATE_ASSIGNED    PortVlanAssignmentState = "assigned"
	PORTVLANASSIGNMENTSTATE_UNASSIGNING PortVlanAssignmentState = "unassigning"
)

List of PortVlanAssignment_state

func NewPortVlanAssignmentStateFromValue ¶ added in v0.22.0

func NewPortVlanAssignmentStateFromValue(v string) (*PortVlanAssignmentState, error)

NewPortVlanAssignmentStateFromValue returns a pointer to a valid PortVlanAssignmentState for the value passed as argument, or an error if the value passed is not allowed by the enum

func (PortVlanAssignmentState) IsValid ¶ added in v0.22.0

func (v PortVlanAssignmentState) IsValid() bool

IsValid return true if the value is valid for the enum, false otherwise

func (PortVlanAssignmentState) Ptr ¶ added in v0.22.0

Ptr returns reference to PortVlanAssignment_state value

func (*PortVlanAssignmentState) UnmarshalJSON ¶ added in v0.22.0

func (v *PortVlanAssignmentState) UnmarshalJSON(src []byte) error

type PortsApiService ¶

type PortsApiService service

PortsApiService PortsApi service

func (*PortsApiService) AssignNativeVlan ¶

func (a *PortsApiService) AssignNativeVlan(ctx context.Context, id string) ApiAssignNativeVlanRequest

AssignNativeVlan Assign a native VLAN

Sets a virtual network on this port as a "native VLAN". The VLAN must have already been assigned using the using the "Assign a port to a virtual network" operation.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param id Port UUID
@return ApiAssignNativeVlanRequest

func (*PortsApiService) AssignNativeVlanExecute ¶

func (a *PortsApiService) AssignNativeVlanExecute(r ApiAssignNativeVlanRequest) (*Port, *http.Response, error)

Execute executes the request

@return Port

func (*PortsApiService) AssignPort ¶

AssignPort Assign a port to virtual network

Assign a hardware port to a virtual network.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param id Port UUID
@return ApiAssignPortRequest

func (*PortsApiService) AssignPortExecute ¶

func (a *PortsApiService) AssignPortExecute(r ApiAssignPortRequest) (*Port, *http.Response, error)

Execute executes the request

@return Port

func (*PortsApiService) BondPort ¶

BondPort Enabling bonding

Enabling bonding for one or all ports

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param id Port UUID
@return ApiBondPortRequest

func (*PortsApiService) BondPortExecute ¶

func (a *PortsApiService) BondPortExecute(r ApiBondPortRequest) (*Port, *http.Response, error)

Execute executes the request

@return Port

func (*PortsApiService) ConvertLayer2 ¶

func (a *PortsApiService) ConvertLayer2(ctx context.Context, id string) ApiConvertLayer2Request

ConvertLayer2 Convert to Layer 2

Converts a bond port to Layer 2. IP assignments of the port will be removed.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param id Port UUID
@return ApiConvertLayer2Request

func (*PortsApiService) ConvertLayer2Execute ¶

func (a *PortsApiService) ConvertLayer2Execute(r ApiConvertLayer2Request) (*Port, *http.Response, error)

Execute executes the request

@return Port

func (*PortsApiService) ConvertLayer3 ¶

func (a *PortsApiService) ConvertLayer3(ctx context.Context, id string) ApiConvertLayer3Request

ConvertLayer3 Convert to Layer 3

Converts a bond port to Layer 3. VLANs must first be unassigned.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param id Port UUID
@return ApiConvertLayer3Request

func (*PortsApiService) ConvertLayer3Execute ¶

func (a *PortsApiService) ConvertLayer3Execute(r ApiConvertLayer3Request) (*Port, *http.Response, error)

Execute executes the request

@return Port

func (*PortsApiService) CreatePortVlanAssignmentBatch ¶

func (a *PortsApiService) CreatePortVlanAssignmentBatch(ctx context.Context, id string) ApiCreatePortVlanAssignmentBatchRequest

CreatePortVlanAssignmentBatch Create a new Port-VLAN Assignment management batch

Create a new asynchronous batch request which handles adding and/or removing the VLANs to which the port is assigned.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param id Port UUID
@return ApiCreatePortVlanAssignmentBatchRequest

func (*PortsApiService) CreatePortVlanAssignmentBatchExecute ¶

func (a *PortsApiService) CreatePortVlanAssignmentBatchExecute(r ApiCreatePortVlanAssignmentBatchRequest) (*PortVlanAssignmentBatch, *http.Response, error)

Execute executes the request

@return PortVlanAssignmentBatch

func (*PortsApiService) DeleteNativeVlan ¶

func (a *PortsApiService) DeleteNativeVlan(ctx context.Context, id string) ApiDeleteNativeVlanRequest

DeleteNativeVlan Remove native VLAN

Removes the native VLAN from this port

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param id Port UUID
@return ApiDeleteNativeVlanRequest

func (*PortsApiService) DeleteNativeVlanExecute ¶

func (a *PortsApiService) DeleteNativeVlanExecute(r ApiDeleteNativeVlanRequest) (*Port, *http.Response, error)

Execute executes the request

@return Port

func (*PortsApiService) DisbondPort ¶

DisbondPort Disabling bonding

Disabling bonding for one or all ports

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param id Port UUID
@return ApiDisbondPortRequest

func (*PortsApiService) DisbondPortExecute ¶

func (a *PortsApiService) DisbondPortExecute(r ApiDisbondPortRequest) (*Port, *http.Response, error)

Execute executes the request

@return Port

func (*PortsApiService) FindPortById ¶

func (a *PortsApiService) FindPortById(ctx context.Context, id string) ApiFindPortByIdRequest

FindPortById Retrieve a port

Returns a port

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param id Port UUID
@return ApiFindPortByIdRequest

func (*PortsApiService) FindPortByIdExecute ¶

func (a *PortsApiService) FindPortByIdExecute(r ApiFindPortByIdRequest) (*Port, *http.Response, error)

Execute executes the request

@return Port

func (*PortsApiService) FindPortVlanAssignmentBatchByPortIdAndBatchId ¶

func (a *PortsApiService) FindPortVlanAssignmentBatchByPortIdAndBatchId(ctx context.Context, id string, batchId string) ApiFindPortVlanAssignmentBatchByPortIdAndBatchIdRequest

FindPortVlanAssignmentBatchByPortIdAndBatchId Retrieve a VLAN Assignment Batch's details

Returns the details of an existing Port-VLAN Assignment batch, including the list of VLANs to assign or unassign, and the current state of the batch.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param id Port UUID
@param batchId Batch ID
@return ApiFindPortVlanAssignmentBatchByPortIdAndBatchIdRequest

func (*PortsApiService) FindPortVlanAssignmentBatchByPortIdAndBatchIdExecute ¶

func (a *PortsApiService) FindPortVlanAssignmentBatchByPortIdAndBatchIdExecute(r ApiFindPortVlanAssignmentBatchByPortIdAndBatchIdRequest) (*PortVlanAssignmentBatch, *http.Response, error)

Execute executes the request

@return PortVlanAssignmentBatch

func (*PortsApiService) FindPortVlanAssignmentBatches ¶

func (a *PortsApiService) FindPortVlanAssignmentBatches(ctx context.Context, id string) ApiFindPortVlanAssignmentBatchesRequest

FindPortVlanAssignmentBatches List the VLAN Assignment Batches for a port

Show all the VLAN assignment batches that have been created for managing this port's VLAN assignments

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param id Port UUID
@return ApiFindPortVlanAssignmentBatchesRequest

func (*PortsApiService) FindPortVlanAssignmentBatchesExecute ¶

Execute executes the request

@return PortVlanAssignmentBatchList

func (*PortsApiService) FindPortVlanAssignmentByPortIdAndAssignmentId ¶

func (a *PortsApiService) FindPortVlanAssignmentByPortIdAndAssignmentId(ctx context.Context, id string, assignmentId string) ApiFindPortVlanAssignmentByPortIdAndAssignmentIdRequest

FindPortVlanAssignmentByPortIdAndAssignmentId Show a particular Port VLAN assignment's details

Show the details of a specific Port-VLAN assignment, including the current state and if the VLAN is set as native.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param id Port UUID
@param assignmentId Assignment ID
@return ApiFindPortVlanAssignmentByPortIdAndAssignmentIdRequest

func (*PortsApiService) FindPortVlanAssignmentByPortIdAndAssignmentIdExecute ¶

func (a *PortsApiService) FindPortVlanAssignmentByPortIdAndAssignmentIdExecute(r ApiFindPortVlanAssignmentByPortIdAndAssignmentIdRequest) (*PortVlanAssignment, *http.Response, error)

Execute executes the request

@return PortVlanAssignment

func (*PortsApiService) FindPortVlanAssignments ¶

func (a *PortsApiService) FindPortVlanAssignments(ctx context.Context, id string) ApiFindPortVlanAssignmentsRequest

FindPortVlanAssignments List Current VLAN assignments for a port

Show the port's current VLAN assignments, including if this VLAN is set as native, and the current state of the assignment (ex. 'assigned' or 'unassigning')

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param id Port UUID
@return ApiFindPortVlanAssignmentsRequest

func (*PortsApiService) FindPortVlanAssignmentsExecute ¶

Execute executes the request

@return PortVlanAssignmentList

func (*PortsApiService) UnassignPort ¶

func (a *PortsApiService) UnassignPort(ctx context.Context, id string) ApiUnassignPortRequest

UnassignPort Unassign a port

Unassign a port for a hardware.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param id Port UUID
@return ApiUnassignPortRequest

func (*PortsApiService) UnassignPortExecute ¶

func (a *PortsApiService) UnassignPortExecute(r ApiUnassignPortRequest) (*Port, *http.Response, error)

Execute executes the request

@return Port

type Project ¶

type Project struct {
	BgpConfig   *Href                  `json:"bgp_config,omitempty"`
	CreatedAt   *time.Time             `json:"created_at,omitempty"`
	Customdata  map[string]interface{} `json:"customdata,omitempty"`
	Devices     []Href                 `json:"devices,omitempty"`
	Href        *string                `json:"href,omitempty"`
	Id          *string                `json:"id,omitempty"`
	Invitations []Href                 `json:"invitations,omitempty"`
	MaxDevices  map[string]interface{} `json:"max_devices,omitempty"`
	Members     []Href                 `json:"members,omitempty"`
	Memberships []Href                 `json:"memberships,omitempty"`
	// The name of the project. Cannot contain characters encoded in greater than 3 bytes such as emojis.
	Name                 *string                `json:"name,omitempty"`
	NetworkStatus        map[string]interface{} `json:"network_status,omitempty"`
	Organization         *Organization          `json:"organization,omitempty"`
	PaymentMethod        *Href                  `json:"payment_method,omitempty"`
	SshKeys              []Href                 `json:"ssh_keys,omitempty"`
	UpdatedAt            *time.Time             `json:"updated_at,omitempty"`
	Volumes              []Href                 `json:"volumes,omitempty"`
	Type                 *ProjectType           `json:"type,omitempty"`
	Tags                 []string               `json:"tags,omitempty"`
	AdditionalProperties map[string]interface{}
}

Project struct for Project

func NewProject ¶

func NewProject() *Project

NewProject instantiates a new Project object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewProjectWithDefaults ¶

func NewProjectWithDefaults() *Project

NewProjectWithDefaults instantiates a new Project object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*Project) GetBgpConfig ¶

func (o *Project) GetBgpConfig() Href

GetBgpConfig returns the BgpConfig field value if set, zero value otherwise.

func (*Project) GetBgpConfigOk ¶

func (o *Project) GetBgpConfigOk() (*Href, bool)

GetBgpConfigOk returns a tuple with the BgpConfig field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Project) GetCreatedAt ¶

func (o *Project) GetCreatedAt() time.Time

GetCreatedAt returns the CreatedAt field value if set, zero value otherwise.

func (*Project) GetCreatedAtOk ¶

func (o *Project) GetCreatedAtOk() (*time.Time, bool)

GetCreatedAtOk returns a tuple with the CreatedAt field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Project) GetCustomdata ¶

func (o *Project) GetCustomdata() map[string]interface{}

GetCustomdata returns the Customdata field value if set, zero value otherwise.

func (*Project) GetCustomdataOk ¶

func (o *Project) GetCustomdataOk() (map[string]interface{}, bool)

GetCustomdataOk returns a tuple with the Customdata field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Project) GetDevices ¶

func (o *Project) GetDevices() []Href

GetDevices returns the Devices field value if set, zero value otherwise.

func (*Project) GetDevicesOk ¶

func (o *Project) GetDevicesOk() ([]Href, bool)

GetDevicesOk returns a tuple with the Devices field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Project) GetHref ¶ added in v0.7.0

func (o *Project) GetHref() string

GetHref returns the Href field value if set, zero value otherwise.

func (*Project) GetHrefOk ¶ added in v0.7.0

func (o *Project) GetHrefOk() (*string, bool)

GetHrefOk returns a tuple with the Href field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Project) GetId ¶

func (o *Project) GetId() string

GetId returns the Id field value if set, zero value otherwise.

func (*Project) GetIdOk ¶

func (o *Project) GetIdOk() (*string, bool)

GetIdOk returns a tuple with the Id field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Project) GetInvitations ¶

func (o *Project) GetInvitations() []Href

GetInvitations returns the Invitations field value if set, zero value otherwise.

func (*Project) GetInvitationsOk ¶

func (o *Project) GetInvitationsOk() ([]Href, bool)

GetInvitationsOk returns a tuple with the Invitations field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Project) GetMaxDevices ¶

func (o *Project) GetMaxDevices() map[string]interface{}

GetMaxDevices returns the MaxDevices field value if set, zero value otherwise.

func (*Project) GetMaxDevicesOk ¶

func (o *Project) GetMaxDevicesOk() (map[string]interface{}, bool)

GetMaxDevicesOk returns a tuple with the MaxDevices field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Project) GetMembers ¶

func (o *Project) GetMembers() []Href

GetMembers returns the Members field value if set, zero value otherwise.

func (*Project) GetMembersOk ¶

func (o *Project) GetMembersOk() ([]Href, bool)

GetMembersOk returns a tuple with the Members field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Project) GetMemberships ¶

func (o *Project) GetMemberships() []Href

GetMemberships returns the Memberships field value if set, zero value otherwise.

func (*Project) GetMembershipsOk ¶

func (o *Project) GetMembershipsOk() ([]Href, bool)

GetMembershipsOk returns a tuple with the Memberships field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Project) GetName ¶

func (o *Project) GetName() string

GetName returns the Name field value if set, zero value otherwise.

func (*Project) GetNameOk ¶

func (o *Project) GetNameOk() (*string, bool)

GetNameOk returns a tuple with the Name field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Project) GetNetworkStatus ¶

func (o *Project) GetNetworkStatus() map[string]interface{}

GetNetworkStatus returns the NetworkStatus field value if set, zero value otherwise.

func (*Project) GetNetworkStatusOk ¶

func (o *Project) GetNetworkStatusOk() (map[string]interface{}, bool)

GetNetworkStatusOk returns a tuple with the NetworkStatus field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Project) GetOrganization ¶ added in v0.9.0

func (o *Project) GetOrganization() Organization

GetOrganization returns the Organization field value if set, zero value otherwise.

func (*Project) GetOrganizationOk ¶ added in v0.9.0

func (o *Project) GetOrganizationOk() (*Organization, bool)

GetOrganizationOk returns a tuple with the Organization field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Project) GetPaymentMethod ¶

func (o *Project) GetPaymentMethod() Href

GetPaymentMethod returns the PaymentMethod field value if set, zero value otherwise.

func (*Project) GetPaymentMethodOk ¶

func (o *Project) GetPaymentMethodOk() (*Href, bool)

GetPaymentMethodOk returns a tuple with the PaymentMethod field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Project) GetSshKeys ¶

func (o *Project) GetSshKeys() []Href

GetSshKeys returns the SshKeys field value if set, zero value otherwise.

func (*Project) GetSshKeysOk ¶

func (o *Project) GetSshKeysOk() ([]Href, bool)

GetSshKeysOk returns a tuple with the SshKeys field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Project) GetTags ¶ added in v0.14.0

func (o *Project) GetTags() []string

GetTags returns the Tags field value if set, zero value otherwise.

func (*Project) GetTagsOk ¶ added in v0.14.0

func (o *Project) GetTagsOk() ([]string, bool)

GetTagsOk returns a tuple with the Tags field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Project) GetType ¶ added in v0.21.0

func (o *Project) GetType() ProjectType

GetType returns the Type field value if set, zero value otherwise.

func (*Project) GetTypeOk ¶ added in v0.21.0

func (o *Project) GetTypeOk() (*ProjectType, bool)

GetTypeOk returns a tuple with the Type field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Project) GetUpdatedAt ¶

func (o *Project) GetUpdatedAt() time.Time

GetUpdatedAt returns the UpdatedAt field value if set, zero value otherwise.

func (*Project) GetUpdatedAtOk ¶

func (o *Project) GetUpdatedAtOk() (*time.Time, bool)

GetUpdatedAtOk returns a tuple with the UpdatedAt field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Project) GetVolumes ¶

func (o *Project) GetVolumes() []Href

GetVolumes returns the Volumes field value if set, zero value otherwise.

func (*Project) GetVolumesOk ¶

func (o *Project) GetVolumesOk() ([]Href, bool)

GetVolumesOk returns a tuple with the Volumes field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Project) HasBgpConfig ¶

func (o *Project) HasBgpConfig() bool

HasBgpConfig returns a boolean if a field has been set.

func (*Project) HasCreatedAt ¶

func (o *Project) HasCreatedAt() bool

HasCreatedAt returns a boolean if a field has been set.

func (*Project) HasCustomdata ¶

func (o *Project) HasCustomdata() bool

HasCustomdata returns a boolean if a field has been set.

func (*Project) HasDevices ¶

func (o *Project) HasDevices() bool

HasDevices returns a boolean if a field has been set.

func (*Project) HasHref ¶ added in v0.7.0

func (o *Project) HasHref() bool

HasHref returns a boolean if a field has been set.

func (*Project) HasId ¶

func (o *Project) HasId() bool

HasId returns a boolean if a field has been set.

func (*Project) HasInvitations ¶

func (o *Project) HasInvitations() bool

HasInvitations returns a boolean if a field has been set.

func (*Project) HasMaxDevices ¶

func (o *Project) HasMaxDevices() bool

HasMaxDevices returns a boolean if a field has been set.

func (*Project) HasMembers ¶

func (o *Project) HasMembers() bool

HasMembers returns a boolean if a field has been set.

func (*Project) HasMemberships ¶

func (o *Project) HasMemberships() bool

HasMemberships returns a boolean if a field has been set.

func (*Project) HasName ¶

func (o *Project) HasName() bool

HasName returns a boolean if a field has been set.

func (*Project) HasNetworkStatus ¶

func (o *Project) HasNetworkStatus() bool

HasNetworkStatus returns a boolean if a field has been set.

func (*Project) HasOrganization ¶ added in v0.9.0

func (o *Project) HasOrganization() bool

HasOrganization returns a boolean if a field has been set.

func (*Project) HasPaymentMethod ¶

func (o *Project) HasPaymentMethod() bool

HasPaymentMethod returns a boolean if a field has been set.

func (*Project) HasSshKeys ¶

func (o *Project) HasSshKeys() bool

HasSshKeys returns a boolean if a field has been set.

func (*Project) HasTags ¶ added in v0.14.0

func (o *Project) HasTags() bool

HasTags returns a boolean if a field has been set.

func (*Project) HasType ¶ added in v0.21.0

func (o *Project) HasType() bool

HasType returns a boolean if a field has been set.

func (*Project) HasUpdatedAt ¶

func (o *Project) HasUpdatedAt() bool

HasUpdatedAt returns a boolean if a field has been set.

func (*Project) HasVolumes ¶

func (o *Project) HasVolumes() bool

HasVolumes returns a boolean if a field has been set.

func (Project) MarshalJSON ¶

func (o Project) MarshalJSON() ([]byte, error)

func (*Project) SetBgpConfig ¶

func (o *Project) SetBgpConfig(v Href)

SetBgpConfig gets a reference to the given Href and assigns it to the BgpConfig field.

func (*Project) SetCreatedAt ¶

func (o *Project) SetCreatedAt(v time.Time)

SetCreatedAt gets a reference to the given time.Time and assigns it to the CreatedAt field.

func (*Project) SetCustomdata ¶

func (o *Project) SetCustomdata(v map[string]interface{})

SetCustomdata gets a reference to the given map[string]interface{} and assigns it to the Customdata field.

func (*Project) SetDevices ¶

func (o *Project) SetDevices(v []Href)

SetDevices gets a reference to the given []Href and assigns it to the Devices field.

func (*Project) SetHref ¶ added in v0.7.0

func (o *Project) SetHref(v string)

SetHref gets a reference to the given string and assigns it to the Href field.

func (*Project) SetId ¶

func (o *Project) SetId(v string)

SetId gets a reference to the given string and assigns it to the Id field.

func (*Project) SetInvitations ¶

func (o *Project) SetInvitations(v []Href)

SetInvitations gets a reference to the given []Href and assigns it to the Invitations field.

func (*Project) SetMaxDevices ¶

func (o *Project) SetMaxDevices(v map[string]interface{})

SetMaxDevices gets a reference to the given map[string]interface{} and assigns it to the MaxDevices field.

func (*Project) SetMembers ¶

func (o *Project) SetMembers(v []Href)

SetMembers gets a reference to the given []Href and assigns it to the Members field.

func (*Project) SetMemberships ¶

func (o *Project) SetMemberships(v []Href)

SetMemberships gets a reference to the given []Href and assigns it to the Memberships field.

func (*Project) SetName ¶

func (o *Project) SetName(v string)

SetName gets a reference to the given string and assigns it to the Name field.

func (*Project) SetNetworkStatus ¶

func (o *Project) SetNetworkStatus(v map[string]interface{})

SetNetworkStatus gets a reference to the given map[string]interface{} and assigns it to the NetworkStatus field.

func (*Project) SetOrganization ¶ added in v0.9.0

func (o *Project) SetOrganization(v Organization)

SetOrganization gets a reference to the given Organization and assigns it to the Organization field.

func (*Project) SetPaymentMethod ¶

func (o *Project) SetPaymentMethod(v Href)

SetPaymentMethod gets a reference to the given Href and assigns it to the PaymentMethod field.

func (*Project) SetSshKeys ¶

func (o *Project) SetSshKeys(v []Href)

SetSshKeys gets a reference to the given []Href and assigns it to the SshKeys field.

func (*Project) SetTags ¶ added in v0.14.0

func (o *Project) SetTags(v []string)

SetTags gets a reference to the given []string and assigns it to the Tags field.

func (*Project) SetType ¶ added in v0.21.0

func (o *Project) SetType(v ProjectType)

SetType gets a reference to the given ProjectType and assigns it to the Type field.

func (*Project) SetUpdatedAt ¶

func (o *Project) SetUpdatedAt(v time.Time)

SetUpdatedAt gets a reference to the given time.Time and assigns it to the UpdatedAt field.

func (*Project) SetVolumes ¶

func (o *Project) SetVolumes(v []Href)

SetVolumes gets a reference to the given []Href and assigns it to the Volumes field.

func (Project) ToMap ¶ added in v0.4.0

func (o Project) ToMap() (map[string]interface{}, error)

func (*Project) UnmarshalJSON ¶ added in v0.7.0

func (o *Project) UnmarshalJSON(bytes []byte) (err error)

type ProjectCreateFromRootInput ¶

type ProjectCreateFromRootInput struct {
	Customdata map[string]interface{} `json:"customdata,omitempty"`
	// The name of the project. Cannot contain characters encoded in greater than 3 bytes such as emojis.
	Name                 string                          `json:"name"`
	OrganizationId       *string                         `json:"organization_id,omitempty"`
	PaymentMethodId      *string                         `json:"payment_method_id,omitempty"`
	Type                 *ProjectCreateFromRootInputType `json:"type,omitempty"`
	Tags                 []string                        `json:"tags,omitempty"`
	AdditionalProperties map[string]interface{}
}

ProjectCreateFromRootInput struct for ProjectCreateFromRootInput

func NewProjectCreateFromRootInput ¶

func NewProjectCreateFromRootInput(name string) *ProjectCreateFromRootInput

NewProjectCreateFromRootInput instantiates a new ProjectCreateFromRootInput object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewProjectCreateFromRootInputWithDefaults ¶

func NewProjectCreateFromRootInputWithDefaults() *ProjectCreateFromRootInput

NewProjectCreateFromRootInputWithDefaults instantiates a new ProjectCreateFromRootInput object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*ProjectCreateFromRootInput) GetCustomdata ¶

func (o *ProjectCreateFromRootInput) GetCustomdata() map[string]interface{}

GetCustomdata returns the Customdata field value if set, zero value otherwise.

func (*ProjectCreateFromRootInput) GetCustomdataOk ¶

func (o *ProjectCreateFromRootInput) GetCustomdataOk() (map[string]interface{}, bool)

GetCustomdataOk returns a tuple with the Customdata field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ProjectCreateFromRootInput) GetName ¶

func (o *ProjectCreateFromRootInput) GetName() string

GetName returns the Name field value

func (*ProjectCreateFromRootInput) GetNameOk ¶

func (o *ProjectCreateFromRootInput) GetNameOk() (*string, bool)

GetNameOk returns a tuple with the Name field value and a boolean to check if the value has been set.

func (*ProjectCreateFromRootInput) GetOrganizationId ¶

func (o *ProjectCreateFromRootInput) GetOrganizationId() string

GetOrganizationId returns the OrganizationId field value if set, zero value otherwise.

func (*ProjectCreateFromRootInput) GetOrganizationIdOk ¶

func (o *ProjectCreateFromRootInput) GetOrganizationIdOk() (*string, bool)

GetOrganizationIdOk returns a tuple with the OrganizationId field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ProjectCreateFromRootInput) GetPaymentMethodId ¶

func (o *ProjectCreateFromRootInput) GetPaymentMethodId() string

GetPaymentMethodId returns the PaymentMethodId field value if set, zero value otherwise.

func (*ProjectCreateFromRootInput) GetPaymentMethodIdOk ¶

func (o *ProjectCreateFromRootInput) GetPaymentMethodIdOk() (*string, bool)

GetPaymentMethodIdOk returns a tuple with the PaymentMethodId field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ProjectCreateFromRootInput) GetTags ¶ added in v0.18.0

func (o *ProjectCreateFromRootInput) GetTags() []string

GetTags returns the Tags field value if set, zero value otherwise.

func (*ProjectCreateFromRootInput) GetTagsOk ¶ added in v0.18.0

func (o *ProjectCreateFromRootInput) GetTagsOk() ([]string, bool)

GetTagsOk returns a tuple with the Tags field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ProjectCreateFromRootInput) GetType ¶ added in v0.21.0

GetType returns the Type field value if set, zero value otherwise.

func (*ProjectCreateFromRootInput) GetTypeOk ¶ added in v0.21.0

GetTypeOk returns a tuple with the Type field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ProjectCreateFromRootInput) HasCustomdata ¶

func (o *ProjectCreateFromRootInput) HasCustomdata() bool

HasCustomdata returns a boolean if a field has been set.

func (*ProjectCreateFromRootInput) HasOrganizationId ¶

func (o *ProjectCreateFromRootInput) HasOrganizationId() bool

HasOrganizationId returns a boolean if a field has been set.

func (*ProjectCreateFromRootInput) HasPaymentMethodId ¶

func (o *ProjectCreateFromRootInput) HasPaymentMethodId() bool

HasPaymentMethodId returns a boolean if a field has been set.

func (*ProjectCreateFromRootInput) HasTags ¶ added in v0.18.0

func (o *ProjectCreateFromRootInput) HasTags() bool

HasTags returns a boolean if a field has been set.

func (*ProjectCreateFromRootInput) HasType ¶ added in v0.21.0

func (o *ProjectCreateFromRootInput) HasType() bool

HasType returns a boolean if a field has been set.

func (ProjectCreateFromRootInput) MarshalJSON ¶

func (o ProjectCreateFromRootInput) MarshalJSON() ([]byte, error)

func (*ProjectCreateFromRootInput) SetCustomdata ¶

func (o *ProjectCreateFromRootInput) SetCustomdata(v map[string]interface{})

SetCustomdata gets a reference to the given map[string]interface{} and assigns it to the Customdata field.

func (*ProjectCreateFromRootInput) SetName ¶

func (o *ProjectCreateFromRootInput) SetName(v string)

SetName sets field value

func (*ProjectCreateFromRootInput) SetOrganizationId ¶

func (o *ProjectCreateFromRootInput) SetOrganizationId(v string)

SetOrganizationId gets a reference to the given string and assigns it to the OrganizationId field.

func (*ProjectCreateFromRootInput) SetPaymentMethodId ¶

func (o *ProjectCreateFromRootInput) SetPaymentMethodId(v string)

SetPaymentMethodId gets a reference to the given string and assigns it to the PaymentMethodId field.

func (*ProjectCreateFromRootInput) SetTags ¶ added in v0.18.0

func (o *ProjectCreateFromRootInput) SetTags(v []string)

SetTags gets a reference to the given []string and assigns it to the Tags field.

func (*ProjectCreateFromRootInput) SetType ¶ added in v0.21.0

SetType gets a reference to the given ProjectCreateFromRootInputType and assigns it to the Type field.

func (ProjectCreateFromRootInput) ToMap ¶ added in v0.4.0

func (o ProjectCreateFromRootInput) ToMap() (map[string]interface{}, error)

func (*ProjectCreateFromRootInput) UnmarshalJSON ¶ added in v0.7.0

func (o *ProjectCreateFromRootInput) UnmarshalJSON(bytes []byte) (err error)

type ProjectCreateFromRootInputType ¶ added in v0.22.0

type ProjectCreateFromRootInputType string

ProjectCreateFromRootInputType The type of the project. If no type is specified the project type will automatically be `default` Projects of type 'vmce' are part of an in development feature and not available to all customers.

const (
	PROJECTCREATEFROMROOTINPUTTYPE_DEFAULT ProjectCreateFromRootInputType = "default"
	PROJECTCREATEFROMROOTINPUTTYPE_VMCE    ProjectCreateFromRootInputType = "vmce"
)

List of ProjectCreateFromRootInput_type

func NewProjectCreateFromRootInputTypeFromValue ¶ added in v0.22.0

func NewProjectCreateFromRootInputTypeFromValue(v string) (*ProjectCreateFromRootInputType, error)

NewProjectCreateFromRootInputTypeFromValue returns a pointer to a valid ProjectCreateFromRootInputType for the value passed as argument, or an error if the value passed is not allowed by the enum

func (ProjectCreateFromRootInputType) IsValid ¶ added in v0.22.0

IsValid return true if the value is valid for the enum, false otherwise

func (ProjectCreateFromRootInputType) Ptr ¶ added in v0.22.0

Ptr returns reference to ProjectCreateFromRootInput_type value

func (*ProjectCreateFromRootInputType) UnmarshalJSON ¶ added in v0.22.0

func (v *ProjectCreateFromRootInputType) UnmarshalJSON(src []byte) error

type ProjectCreateInput ¶

type ProjectCreateInput struct {
	Customdata map[string]interface{} `json:"customdata,omitempty"`
	// The name of the project. Cannot contain characters encoded in greater than 3 bytes such as emojis.
	Name                 string                          `json:"name"`
	PaymentMethodId      *string                         `json:"payment_method_id,omitempty"`
	Type                 *ProjectCreateFromRootInputType `json:"type,omitempty"`
	Tags                 []string                        `json:"tags,omitempty"`
	AdditionalProperties map[string]interface{}
}

ProjectCreateInput struct for ProjectCreateInput

func NewProjectCreateInput ¶

func NewProjectCreateInput(name string) *ProjectCreateInput

NewProjectCreateInput instantiates a new ProjectCreateInput object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewProjectCreateInputWithDefaults ¶

func NewProjectCreateInputWithDefaults() *ProjectCreateInput

NewProjectCreateInputWithDefaults instantiates a new ProjectCreateInput object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*ProjectCreateInput) GetCustomdata ¶

func (o *ProjectCreateInput) GetCustomdata() map[string]interface{}

GetCustomdata returns the Customdata field value if set, zero value otherwise.

func (*ProjectCreateInput) GetCustomdataOk ¶

func (o *ProjectCreateInput) GetCustomdataOk() (map[string]interface{}, bool)

GetCustomdataOk returns a tuple with the Customdata field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ProjectCreateInput) GetName ¶

func (o *ProjectCreateInput) GetName() string

GetName returns the Name field value

func (*ProjectCreateInput) GetNameOk ¶

func (o *ProjectCreateInput) GetNameOk() (*string, bool)

GetNameOk returns a tuple with the Name field value and a boolean to check if the value has been set.

func (*ProjectCreateInput) GetPaymentMethodId ¶

func (o *ProjectCreateInput) GetPaymentMethodId() string

GetPaymentMethodId returns the PaymentMethodId field value if set, zero value otherwise.

func (*ProjectCreateInput) GetPaymentMethodIdOk ¶

func (o *ProjectCreateInput) GetPaymentMethodIdOk() (*string, bool)

GetPaymentMethodIdOk returns a tuple with the PaymentMethodId field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ProjectCreateInput) GetTags ¶ added in v0.18.0

func (o *ProjectCreateInput) GetTags() []string

GetTags returns the Tags field value if set, zero value otherwise.

func (*ProjectCreateInput) GetTagsOk ¶ added in v0.18.0

func (o *ProjectCreateInput) GetTagsOk() ([]string, bool)

GetTagsOk returns a tuple with the Tags field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ProjectCreateInput) GetType ¶ added in v0.21.0

GetType returns the Type field value if set, zero value otherwise.

func (*ProjectCreateInput) GetTypeOk ¶ added in v0.21.0

GetTypeOk returns a tuple with the Type field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ProjectCreateInput) HasCustomdata ¶

func (o *ProjectCreateInput) HasCustomdata() bool

HasCustomdata returns a boolean if a field has been set.

func (*ProjectCreateInput) HasPaymentMethodId ¶

func (o *ProjectCreateInput) HasPaymentMethodId() bool

HasPaymentMethodId returns a boolean if a field has been set.

func (*ProjectCreateInput) HasTags ¶ added in v0.18.0

func (o *ProjectCreateInput) HasTags() bool

HasTags returns a boolean if a field has been set.

func (*ProjectCreateInput) HasType ¶ added in v0.21.0

func (o *ProjectCreateInput) HasType() bool

HasType returns a boolean if a field has been set.

func (ProjectCreateInput) MarshalJSON ¶

func (o ProjectCreateInput) MarshalJSON() ([]byte, error)

func (*ProjectCreateInput) SetCustomdata ¶

func (o *ProjectCreateInput) SetCustomdata(v map[string]interface{})

SetCustomdata gets a reference to the given map[string]interface{} and assigns it to the Customdata field.

func (*ProjectCreateInput) SetName ¶

func (o *ProjectCreateInput) SetName(v string)

SetName sets field value

func (*ProjectCreateInput) SetPaymentMethodId ¶

func (o *ProjectCreateInput) SetPaymentMethodId(v string)

SetPaymentMethodId gets a reference to the given string and assigns it to the PaymentMethodId field.

func (*ProjectCreateInput) SetTags ¶ added in v0.18.0

func (o *ProjectCreateInput) SetTags(v []string)

SetTags gets a reference to the given []string and assigns it to the Tags field.

func (*ProjectCreateInput) SetType ¶ added in v0.21.0

SetType gets a reference to the given ProjectCreateFromRootInputType and assigns it to the Type field.

func (ProjectCreateInput) ToMap ¶ added in v0.4.0

func (o ProjectCreateInput) ToMap() (map[string]interface{}, error)

func (*ProjectCreateInput) UnmarshalJSON ¶ added in v0.7.0

func (o *ProjectCreateInput) UnmarshalJSON(bytes []byte) (err error)

type ProjectIdName ¶ added in v0.9.0

type ProjectIdName struct {
	Id                   *string `json:"id,omitempty"`
	Name                 *string `json:"name,omitempty"`
	AdditionalProperties map[string]interface{}
}

ProjectIdName struct for ProjectIdName

func NewProjectIdName ¶ added in v0.9.0

func NewProjectIdName() *ProjectIdName

NewProjectIdName instantiates a new ProjectIdName object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewProjectIdNameWithDefaults ¶ added in v0.9.0

func NewProjectIdNameWithDefaults() *ProjectIdName

NewProjectIdNameWithDefaults instantiates a new ProjectIdName object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*ProjectIdName) GetId ¶ added in v0.9.0

func (o *ProjectIdName) GetId() string

GetId returns the Id field value if set, zero value otherwise.

func (*ProjectIdName) GetIdOk ¶ added in v0.9.0

func (o *ProjectIdName) GetIdOk() (*string, bool)

GetIdOk returns a tuple with the Id field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ProjectIdName) GetName ¶ added in v0.9.0

func (o *ProjectIdName) GetName() string

GetName returns the Name field value if set, zero value otherwise.

func (*ProjectIdName) GetNameOk ¶ added in v0.9.0

func (o *ProjectIdName) GetNameOk() (*string, bool)

GetNameOk returns a tuple with the Name field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ProjectIdName) HasId ¶ added in v0.9.0

func (o *ProjectIdName) HasId() bool

HasId returns a boolean if a field has been set.

func (*ProjectIdName) HasName ¶ added in v0.9.0

func (o *ProjectIdName) HasName() bool

HasName returns a boolean if a field has been set.

func (ProjectIdName) MarshalJSON ¶ added in v0.9.0

func (o ProjectIdName) MarshalJSON() ([]byte, error)

func (*ProjectIdName) SetId ¶ added in v0.9.0

func (o *ProjectIdName) SetId(v string)

SetId gets a reference to the given string and assigns it to the Id field.

func (*ProjectIdName) SetName ¶ added in v0.9.0

func (o *ProjectIdName) SetName(v string)

SetName gets a reference to the given string and assigns it to the Name field.

func (ProjectIdName) ToMap ¶ added in v0.9.0

func (o ProjectIdName) ToMap() (map[string]interface{}, error)

func (*ProjectIdName) UnmarshalJSON ¶ added in v0.9.0

func (o *ProjectIdName) UnmarshalJSON(bytes []byte) (err error)

type ProjectList ¶

type ProjectList struct {
	Meta                 *Meta     `json:"meta,omitempty"`
	Projects             []Project `json:"projects,omitempty"`
	AdditionalProperties map[string]interface{}
}

ProjectList struct for ProjectList

func NewProjectList ¶

func NewProjectList() *ProjectList

NewProjectList instantiates a new ProjectList object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewProjectListWithDefaults ¶

func NewProjectListWithDefaults() *ProjectList

NewProjectListWithDefaults instantiates a new ProjectList object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*ProjectList) GetMeta ¶

func (o *ProjectList) GetMeta() Meta

GetMeta returns the Meta field value if set, zero value otherwise.

func (*ProjectList) GetMetaOk ¶

func (o *ProjectList) GetMetaOk() (*Meta, bool)

GetMetaOk returns a tuple with the Meta field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ProjectList) GetProjects ¶

func (o *ProjectList) GetProjects() []Project

GetProjects returns the Projects field value if set, zero value otherwise.

func (*ProjectList) GetProjectsOk ¶

func (o *ProjectList) GetProjectsOk() ([]Project, bool)

GetProjectsOk returns a tuple with the Projects field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ProjectList) HasMeta ¶

func (o *ProjectList) HasMeta() bool

HasMeta returns a boolean if a field has been set.

func (*ProjectList) HasProjects ¶

func (o *ProjectList) HasProjects() bool

HasProjects returns a boolean if a field has been set.

func (ProjectList) MarshalJSON ¶

func (o ProjectList) MarshalJSON() ([]byte, error)

func (*ProjectList) SetMeta ¶

func (o *ProjectList) SetMeta(v Meta)

SetMeta gets a reference to the given Meta and assigns it to the Meta field.

func (*ProjectList) SetProjects ¶

func (o *ProjectList) SetProjects(v []Project)

SetProjects gets a reference to the given []Project and assigns it to the Projects field.

func (ProjectList) ToMap ¶ added in v0.4.0

func (o ProjectList) ToMap() (map[string]interface{}, error)

func (*ProjectList) UnmarshalJSON ¶ added in v0.7.0

func (o *ProjectList) UnmarshalJSON(bytes []byte) (err error)

type ProjectType ¶ added in v0.22.0

type ProjectType string

ProjectType The type of the project. Projects of type `vmce` are part of an in development feature and not available to all customers.

const (
	PROJECTTYPE_DEFAULT ProjectType = "default"
	PROJECTTYPE_VMCE    ProjectType = "vmce"
)

List of Project_type

func NewProjectTypeFromValue ¶ added in v0.22.0

func NewProjectTypeFromValue(v string) (*ProjectType, error)

NewProjectTypeFromValue returns a pointer to a valid ProjectType for the value passed as argument, or an error if the value passed is not allowed by the enum

func (ProjectType) IsValid ¶ added in v0.22.0

func (v ProjectType) IsValid() bool

IsValid return true if the value is valid for the enum, false otherwise

func (ProjectType) Ptr ¶ added in v0.22.0

func (v ProjectType) Ptr() *ProjectType

Ptr returns reference to Project_type value

func (*ProjectType) UnmarshalJSON ¶ added in v0.22.0

func (v *ProjectType) UnmarshalJSON(src []byte) error

type ProjectUpdateInput ¶

type ProjectUpdateInput struct {
	BackendTransferEnabled *bool                  `json:"backend_transfer_enabled,omitempty"`
	Customdata             map[string]interface{} `json:"customdata,omitempty"`
	// The name of the project. Cannot contain characters encoded in greater than 3 bytes such as emojis.
	Name                 *string  `json:"name,omitempty"`
	PaymentMethodId      *string  `json:"payment_method_id,omitempty"`
	Tags                 []string `json:"tags,omitempty"`
	AdditionalProperties map[string]interface{}
}

ProjectUpdateInput struct for ProjectUpdateInput

func NewProjectUpdateInput ¶

func NewProjectUpdateInput() *ProjectUpdateInput

NewProjectUpdateInput instantiates a new ProjectUpdateInput object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewProjectUpdateInputWithDefaults ¶

func NewProjectUpdateInputWithDefaults() *ProjectUpdateInput

NewProjectUpdateInputWithDefaults instantiates a new ProjectUpdateInput object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*ProjectUpdateInput) GetBackendTransferEnabled ¶

func (o *ProjectUpdateInput) GetBackendTransferEnabled() bool

GetBackendTransferEnabled returns the BackendTransferEnabled field value if set, zero value otherwise.

func (*ProjectUpdateInput) GetBackendTransferEnabledOk ¶

func (o *ProjectUpdateInput) GetBackendTransferEnabledOk() (*bool, bool)

GetBackendTransferEnabledOk returns a tuple with the BackendTransferEnabled field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ProjectUpdateInput) GetCustomdata ¶

func (o *ProjectUpdateInput) GetCustomdata() map[string]interface{}

GetCustomdata returns the Customdata field value if set, zero value otherwise.

func (*ProjectUpdateInput) GetCustomdataOk ¶

func (o *ProjectUpdateInput) GetCustomdataOk() (map[string]interface{}, bool)

GetCustomdataOk returns a tuple with the Customdata field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ProjectUpdateInput) GetName ¶

func (o *ProjectUpdateInput) GetName() string

GetName returns the Name field value if set, zero value otherwise.

func (*ProjectUpdateInput) GetNameOk ¶

func (o *ProjectUpdateInput) GetNameOk() (*string, bool)

GetNameOk returns a tuple with the Name field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ProjectUpdateInput) GetPaymentMethodId ¶

func (o *ProjectUpdateInput) GetPaymentMethodId() string

GetPaymentMethodId returns the PaymentMethodId field value if set, zero value otherwise.

func (*ProjectUpdateInput) GetPaymentMethodIdOk ¶

func (o *ProjectUpdateInput) GetPaymentMethodIdOk() (*string, bool)

GetPaymentMethodIdOk returns a tuple with the PaymentMethodId field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ProjectUpdateInput) GetTags ¶ added in v0.18.0

func (o *ProjectUpdateInput) GetTags() []string

GetTags returns the Tags field value if set, zero value otherwise.

func (*ProjectUpdateInput) GetTagsOk ¶ added in v0.18.0

func (o *ProjectUpdateInput) GetTagsOk() ([]string, bool)

GetTagsOk returns a tuple with the Tags field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ProjectUpdateInput) HasBackendTransferEnabled ¶

func (o *ProjectUpdateInput) HasBackendTransferEnabled() bool

HasBackendTransferEnabled returns a boolean if a field has been set.

func (*ProjectUpdateInput) HasCustomdata ¶

func (o *ProjectUpdateInput) HasCustomdata() bool

HasCustomdata returns a boolean if a field has been set.

func (*ProjectUpdateInput) HasName ¶

func (o *ProjectUpdateInput) HasName() bool

HasName returns a boolean if a field has been set.

func (*ProjectUpdateInput) HasPaymentMethodId ¶

func (o *ProjectUpdateInput) HasPaymentMethodId() bool

HasPaymentMethodId returns a boolean if a field has been set.

func (*ProjectUpdateInput) HasTags ¶ added in v0.18.0

func (o *ProjectUpdateInput) HasTags() bool

HasTags returns a boolean if a field has been set.

func (ProjectUpdateInput) MarshalJSON ¶

func (o ProjectUpdateInput) MarshalJSON() ([]byte, error)

func (*ProjectUpdateInput) SetBackendTransferEnabled ¶

func (o *ProjectUpdateInput) SetBackendTransferEnabled(v bool)

SetBackendTransferEnabled gets a reference to the given bool and assigns it to the BackendTransferEnabled field.

func (*ProjectUpdateInput) SetCustomdata ¶

func (o *ProjectUpdateInput) SetCustomdata(v map[string]interface{})

SetCustomdata gets a reference to the given map[string]interface{} and assigns it to the Customdata field.

func (*ProjectUpdateInput) SetName ¶

func (o *ProjectUpdateInput) SetName(v string)

SetName gets a reference to the given string and assigns it to the Name field.

func (*ProjectUpdateInput) SetPaymentMethodId ¶

func (o *ProjectUpdateInput) SetPaymentMethodId(v string)

SetPaymentMethodId gets a reference to the given string and assigns it to the PaymentMethodId field.

func (*ProjectUpdateInput) SetTags ¶ added in v0.18.0

func (o *ProjectUpdateInput) SetTags(v []string)

SetTags gets a reference to the given []string and assigns it to the Tags field.

func (ProjectUpdateInput) ToMap ¶ added in v0.4.0

func (o ProjectUpdateInput) ToMap() (map[string]interface{}, error)

func (*ProjectUpdateInput) UnmarshalJSON ¶ added in v0.7.0

func (o *ProjectUpdateInput) UnmarshalJSON(bytes []byte) (err error)

type ProjectUsage ¶

type ProjectUsage struct {
	Facility             *string `json:"facility,omitempty"`
	Name                 *string `json:"name,omitempty"`
	Plan                 *string `json:"plan,omitempty"`
	PlanVersion          *string `json:"plan_version,omitempty"`
	Price                *string `json:"price,omitempty"`
	Quantity             *string `json:"quantity,omitempty"`
	Total                *string `json:"total,omitempty"`
	Type                 *string `json:"type,omitempty"`
	Unit                 *string `json:"unit,omitempty"`
	AdditionalProperties map[string]interface{}
}

ProjectUsage struct for ProjectUsage

func NewProjectUsage ¶

func NewProjectUsage() *ProjectUsage

NewProjectUsage instantiates a new ProjectUsage object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewProjectUsageWithDefaults ¶

func NewProjectUsageWithDefaults() *ProjectUsage

NewProjectUsageWithDefaults instantiates a new ProjectUsage object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*ProjectUsage) GetFacility ¶

func (o *ProjectUsage) GetFacility() string

GetFacility returns the Facility field value if set, zero value otherwise.

func (*ProjectUsage) GetFacilityOk ¶

func (o *ProjectUsage) GetFacilityOk() (*string, bool)

GetFacilityOk returns a tuple with the Facility field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ProjectUsage) GetName ¶

func (o *ProjectUsage) GetName() string

GetName returns the Name field value if set, zero value otherwise.

func (*ProjectUsage) GetNameOk ¶

func (o *ProjectUsage) GetNameOk() (*string, bool)

GetNameOk returns a tuple with the Name field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ProjectUsage) GetPlan ¶

func (o *ProjectUsage) GetPlan() string

GetPlan returns the Plan field value if set, zero value otherwise.

func (*ProjectUsage) GetPlanOk ¶

func (o *ProjectUsage) GetPlanOk() (*string, bool)

GetPlanOk returns a tuple with the Plan field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ProjectUsage) GetPlanVersion ¶

func (o *ProjectUsage) GetPlanVersion() string

GetPlanVersion returns the PlanVersion field value if set, zero value otherwise.

func (*ProjectUsage) GetPlanVersionOk ¶

func (o *ProjectUsage) GetPlanVersionOk() (*string, bool)

GetPlanVersionOk returns a tuple with the PlanVersion field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ProjectUsage) GetPrice ¶

func (o *ProjectUsage) GetPrice() string

GetPrice returns the Price field value if set, zero value otherwise.

func (*ProjectUsage) GetPriceOk ¶

func (o *ProjectUsage) GetPriceOk() (*string, bool)

GetPriceOk returns a tuple with the Price field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ProjectUsage) GetQuantity ¶

func (o *ProjectUsage) GetQuantity() string

GetQuantity returns the Quantity field value if set, zero value otherwise.

func (*ProjectUsage) GetQuantityOk ¶

func (o *ProjectUsage) GetQuantityOk() (*string, bool)

GetQuantityOk returns a tuple with the Quantity field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ProjectUsage) GetTotal ¶

func (o *ProjectUsage) GetTotal() string

GetTotal returns the Total field value if set, zero value otherwise.

func (*ProjectUsage) GetTotalOk ¶

func (o *ProjectUsage) GetTotalOk() (*string, bool)

GetTotalOk returns a tuple with the Total field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ProjectUsage) GetType ¶

func (o *ProjectUsage) GetType() string

GetType returns the Type field value if set, zero value otherwise.

func (*ProjectUsage) GetTypeOk ¶

func (o *ProjectUsage) GetTypeOk() (*string, bool)

GetTypeOk returns a tuple with the Type field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ProjectUsage) GetUnit ¶

func (o *ProjectUsage) GetUnit() string

GetUnit returns the Unit field value if set, zero value otherwise.

func (*ProjectUsage) GetUnitOk ¶

func (o *ProjectUsage) GetUnitOk() (*string, bool)

GetUnitOk returns a tuple with the Unit field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ProjectUsage) HasFacility ¶

func (o *ProjectUsage) HasFacility() bool

HasFacility returns a boolean if a field has been set.

func (*ProjectUsage) HasName ¶

func (o *ProjectUsage) HasName() bool

HasName returns a boolean if a field has been set.

func (*ProjectUsage) HasPlan ¶

func (o *ProjectUsage) HasPlan() bool

HasPlan returns a boolean if a field has been set.

func (*ProjectUsage) HasPlanVersion ¶

func (o *ProjectUsage) HasPlanVersion() bool

HasPlanVersion returns a boolean if a field has been set.

func (*ProjectUsage) HasPrice ¶

func (o *ProjectUsage) HasPrice() bool

HasPrice returns a boolean if a field has been set.

func (*ProjectUsage) HasQuantity ¶

func (o *ProjectUsage) HasQuantity() bool

HasQuantity returns a boolean if a field has been set.

func (*ProjectUsage) HasTotal ¶

func (o *ProjectUsage) HasTotal() bool

HasTotal returns a boolean if a field has been set.

func (*ProjectUsage) HasType ¶

func (o *ProjectUsage) HasType() bool

HasType returns a boolean if a field has been set.

func (*ProjectUsage) HasUnit ¶

func (o *ProjectUsage) HasUnit() bool

HasUnit returns a boolean if a field has been set.

func (ProjectUsage) MarshalJSON ¶

func (o ProjectUsage) MarshalJSON() ([]byte, error)

func (*ProjectUsage) SetFacility ¶

func (o *ProjectUsage) SetFacility(v string)

SetFacility gets a reference to the given string and assigns it to the Facility field.

func (*ProjectUsage) SetName ¶

func (o *ProjectUsage) SetName(v string)

SetName gets a reference to the given string and assigns it to the Name field.

func (*ProjectUsage) SetPlan ¶

func (o *ProjectUsage) SetPlan(v string)

SetPlan gets a reference to the given string and assigns it to the Plan field.

func (*ProjectUsage) SetPlanVersion ¶

func (o *ProjectUsage) SetPlanVersion(v string)

SetPlanVersion gets a reference to the given string and assigns it to the PlanVersion field.

func (*ProjectUsage) SetPrice ¶

func (o *ProjectUsage) SetPrice(v string)

SetPrice gets a reference to the given string and assigns it to the Price field.

func (*ProjectUsage) SetQuantity ¶

func (o *ProjectUsage) SetQuantity(v string)

SetQuantity gets a reference to the given string and assigns it to the Quantity field.

func (*ProjectUsage) SetTotal ¶

func (o *ProjectUsage) SetTotal(v string)

SetTotal gets a reference to the given string and assigns it to the Total field.

func (*ProjectUsage) SetType ¶

func (o *ProjectUsage) SetType(v string)

SetType gets a reference to the given string and assigns it to the Type field.

func (*ProjectUsage) SetUnit ¶

func (o *ProjectUsage) SetUnit(v string)

SetUnit gets a reference to the given string and assigns it to the Unit field.

func (ProjectUsage) ToMap ¶ added in v0.4.0

func (o ProjectUsage) ToMap() (map[string]interface{}, error)

func (*ProjectUsage) UnmarshalJSON ¶ added in v0.7.0

func (o *ProjectUsage) UnmarshalJSON(bytes []byte) (err error)

type ProjectUsageList ¶

type ProjectUsageList struct {
	Usages               []ProjectUsage `json:"usages,omitempty"`
	AdditionalProperties map[string]interface{}
}

ProjectUsageList struct for ProjectUsageList

func NewProjectUsageList ¶

func NewProjectUsageList() *ProjectUsageList

NewProjectUsageList instantiates a new ProjectUsageList object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewProjectUsageListWithDefaults ¶

func NewProjectUsageListWithDefaults() *ProjectUsageList

NewProjectUsageListWithDefaults instantiates a new ProjectUsageList object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*ProjectUsageList) GetUsages ¶

func (o *ProjectUsageList) GetUsages() []ProjectUsage

GetUsages returns the Usages field value if set, zero value otherwise.

func (*ProjectUsageList) GetUsagesOk ¶

func (o *ProjectUsageList) GetUsagesOk() ([]ProjectUsage, bool)

GetUsagesOk returns a tuple with the Usages field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ProjectUsageList) HasUsages ¶

func (o *ProjectUsageList) HasUsages() bool

HasUsages returns a boolean if a field has been set.

func (ProjectUsageList) MarshalJSON ¶

func (o ProjectUsageList) MarshalJSON() ([]byte, error)

func (*ProjectUsageList) SetUsages ¶

func (o *ProjectUsageList) SetUsages(v []ProjectUsage)

SetUsages gets a reference to the given []ProjectUsage and assigns it to the Usages field.

func (ProjectUsageList) ToMap ¶ added in v0.4.0

func (o ProjectUsageList) ToMap() (map[string]interface{}, error)

func (*ProjectUsageList) UnmarshalJSON ¶ added in v0.7.0

func (o *ProjectUsageList) UnmarshalJSON(bytes []byte) (err error)

type ProjectsApiService ¶

type ProjectsApiService service

ProjectsApiService ProjectsApi service

func (*ProjectsApiService) CreateProject ¶

CreateProject Create a project

Creates a new project for the user default organization. If the user don't have an organization, a new one will be created.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@return ApiCreateProjectRequest

func (*ProjectsApiService) CreateProjectExecute ¶

func (a *ProjectsApiService) CreateProjectExecute(r ApiCreateProjectRequest) (*Project, *http.Response, error)

Execute executes the request

@return Project

func (*ProjectsApiService) CreateProjectInvitation ¶

func (a *ProjectsApiService) CreateProjectInvitation(ctx context.Context, projectId string) ApiCreateProjectInvitationRequest

CreateProjectInvitation Create an invitation for a project

In order to add a user to a project, they must first be invited.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param projectId Project UUID
@return ApiCreateProjectInvitationRequest

func (*ProjectsApiService) CreateProjectInvitationExecute ¶

func (a *ProjectsApiService) CreateProjectInvitationExecute(r ApiCreateProjectInvitationRequest) (*Invitation, *http.Response, error)

Execute executes the request

@return Invitation

func (*ProjectsApiService) CreateTransferRequest ¶

func (a *ProjectsApiService) CreateTransferRequest(ctx context.Context, id string) ApiCreateTransferRequestRequest

CreateTransferRequest Create a transfer request

Organization owners can transfer their projects to other organizations.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param id UUID of the project to be transferred
@return ApiCreateTransferRequestRequest

Deprecated

func (*ProjectsApiService) CreateTransferRequestExecute ¶

func (a *ProjectsApiService) CreateTransferRequestExecute(r ApiCreateTransferRequestRequest) (*TransferRequest, *http.Response, error)

Execute executes the request

@return TransferRequest

Deprecated

func (*ProjectsApiService) DeleteProject ¶

DeleteProject Delete the project

Deletes the project.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param id Project UUID
@return ApiDeleteProjectRequest

func (*ProjectsApiService) DeleteProjectExecute ¶

func (a *ProjectsApiService) DeleteProjectExecute(r ApiDeleteProjectRequest) (*http.Response, error)

Execute executes the request

func (*ProjectsApiService) FindIPReservationCustomdata ¶

func (a *ProjectsApiService) FindIPReservationCustomdata(ctx context.Context, projectId string, id string) ApiFindIPReservationCustomdataRequest

FindIPReservationCustomdata Retrieve the custom metadata of an IP Reservation

Provides the custom metadata stored for this IP Reservation in json format

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param projectId Project UUID
@param id Ip Reservation UUID
@return ApiFindIPReservationCustomdataRequest

func (*ProjectsApiService) FindIPReservationCustomdataExecute ¶

func (a *ProjectsApiService) FindIPReservationCustomdataExecute(r ApiFindIPReservationCustomdataRequest) (*http.Response, error)

Execute executes the request

func (*ProjectsApiService) FindProjectById ¶

FindProjectById Retrieve a project

Returns a single project if the user has access

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param id Project UUID
@return ApiFindProjectByIdRequest

func (*ProjectsApiService) FindProjectByIdExecute ¶

func (a *ProjectsApiService) FindProjectByIdExecute(r ApiFindProjectByIdRequest) (*Project, *http.Response, error)

Execute executes the request

@return Project

func (*ProjectsApiService) FindProjectCustomdata ¶

func (a *ProjectsApiService) FindProjectCustomdata(ctx context.Context, id string) ApiFindProjectCustomdataRequest

FindProjectCustomdata Retrieve the custom metadata of a project

Provides the custom metadata stored for this project in json format

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param id Project UUID
@return ApiFindProjectCustomdataRequest

func (*ProjectsApiService) FindProjectCustomdataExecute ¶

func (a *ProjectsApiService) FindProjectCustomdataExecute(r ApiFindProjectCustomdataRequest) (*http.Response, error)

Execute executes the request

func (*ProjectsApiService) FindProjectInvitations ¶

func (a *ProjectsApiService) FindProjectInvitations(ctx context.Context, projectId string) ApiFindProjectInvitationsRequest

FindProjectInvitations Retrieve project invitations

Returns all invitations in a project.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param projectId Project UUID
@return ApiFindProjectInvitationsRequest

func (*ProjectsApiService) FindProjectInvitationsExecute ¶

func (a *ProjectsApiService) FindProjectInvitationsExecute(r ApiFindProjectInvitationsRequest) (*InvitationList, *http.Response, error)

Execute executes the request

@return InvitationList

func (*ProjectsApiService) FindProjectMemberships ¶

func (a *ProjectsApiService) FindProjectMemberships(ctx context.Context, projectId string) ApiFindProjectMembershipsRequest

FindProjectMemberships Retrieve project memberships

Returns all memberships in a project.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param projectId Project UUID
@return ApiFindProjectMembershipsRequest

func (*ProjectsApiService) FindProjectMembershipsExecute ¶

func (a *ProjectsApiService) FindProjectMembershipsExecute(r ApiFindProjectMembershipsRequest) (*MembershipList, *http.Response, error)

Execute executes the request

@return MembershipList

func (*ProjectsApiService) FindProjects ¶

FindProjects Retrieve all projects

Returns a collection of projects that the current user is a member of.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@return ApiFindProjectsRequest

func (*ProjectsApiService) FindProjectsExecute ¶

func (a *ProjectsApiService) FindProjectsExecute(r ApiFindProjectsRequest) (*ProjectList, *http.Response, error)

Execute executes the request

@return ProjectList

func (*ProjectsApiService) UpdateProject ¶

UpdateProject Update the project

Updates the project.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param id Project UUID
@return ApiUpdateProjectRequest

func (*ProjectsApiService) UpdateProjectExecute ¶

func (a *ProjectsApiService) UpdateProjectExecute(r ApiUpdateProjectRequest) (*Project, *http.Response, error)

Execute executes the request

@return Project

type Raid ¶ added in v0.6.0

type Raid struct {
	Devices              []string `json:"devices,omitempty"`
	Level                *string  `json:"level,omitempty"`
	Name                 *string  `json:"name,omitempty"`
	AdditionalProperties map[string]interface{}
}

Raid struct for Raid

func NewRaid ¶ added in v0.6.0

func NewRaid() *Raid

NewRaid instantiates a new Raid object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewRaidWithDefaults ¶ added in v0.6.0

func NewRaidWithDefaults() *Raid

NewRaidWithDefaults instantiates a new Raid object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*Raid) GetDevices ¶ added in v0.6.0

func (o *Raid) GetDevices() []string

GetDevices returns the Devices field value if set, zero value otherwise.

func (*Raid) GetDevicesOk ¶ added in v0.6.0

func (o *Raid) GetDevicesOk() ([]string, bool)

GetDevicesOk returns a tuple with the Devices field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Raid) GetLevel ¶ added in v0.6.0

func (o *Raid) GetLevel() string

GetLevel returns the Level field value if set, zero value otherwise.

func (*Raid) GetLevelOk ¶ added in v0.6.0

func (o *Raid) GetLevelOk() (*string, bool)

GetLevelOk returns a tuple with the Level field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Raid) GetName ¶ added in v0.6.0

func (o *Raid) GetName() string

GetName returns the Name field value if set, zero value otherwise.

func (*Raid) GetNameOk ¶ added in v0.6.0

func (o *Raid) GetNameOk() (*string, bool)

GetNameOk returns a tuple with the Name field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Raid) HasDevices ¶ added in v0.6.0

func (o *Raid) HasDevices() bool

HasDevices returns a boolean if a field has been set.

func (*Raid) HasLevel ¶ added in v0.6.0

func (o *Raid) HasLevel() bool

HasLevel returns a boolean if a field has been set.

func (*Raid) HasName ¶ added in v0.6.0

func (o *Raid) HasName() bool

HasName returns a boolean if a field has been set.

func (Raid) MarshalJSON ¶ added in v0.6.0

func (o Raid) MarshalJSON() ([]byte, error)

func (*Raid) SetDevices ¶ added in v0.6.0

func (o *Raid) SetDevices(v []string)

SetDevices gets a reference to the given []string and assigns it to the Devices field.

func (*Raid) SetLevel ¶ added in v0.6.0

func (o *Raid) SetLevel(v string)

SetLevel gets a reference to the given string and assigns it to the Level field.

func (*Raid) SetName ¶ added in v0.6.0

func (o *Raid) SetName(v string)

SetName gets a reference to the given string and assigns it to the Name field.

func (Raid) ToMap ¶ added in v0.6.0

func (o Raid) ToMap() (map[string]interface{}, error)

func (*Raid) UnmarshalJSON ¶ added in v0.7.0

func (o *Raid) UnmarshalJSON(bytes []byte) (err error)

type RecoveryCodeList ¶

type RecoveryCodeList struct {
	RecoveryCodes        []string `json:"recovery_codes,omitempty"`
	AdditionalProperties map[string]interface{}
}

RecoveryCodeList struct for RecoveryCodeList

func NewRecoveryCodeList ¶

func NewRecoveryCodeList() *RecoveryCodeList

NewRecoveryCodeList instantiates a new RecoveryCodeList object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewRecoveryCodeListWithDefaults ¶

func NewRecoveryCodeListWithDefaults() *RecoveryCodeList

NewRecoveryCodeListWithDefaults instantiates a new RecoveryCodeList object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*RecoveryCodeList) GetRecoveryCodes ¶

func (o *RecoveryCodeList) GetRecoveryCodes() []string

GetRecoveryCodes returns the RecoveryCodes field value if set, zero value otherwise.

func (*RecoveryCodeList) GetRecoveryCodesOk ¶

func (o *RecoveryCodeList) GetRecoveryCodesOk() ([]string, bool)

GetRecoveryCodesOk returns a tuple with the RecoveryCodes field value if set, nil otherwise and a boolean to check if the value has been set.

func (*RecoveryCodeList) HasRecoveryCodes ¶

func (o *RecoveryCodeList) HasRecoveryCodes() bool

HasRecoveryCodes returns a boolean if a field has been set.

func (RecoveryCodeList) MarshalJSON ¶

func (o RecoveryCodeList) MarshalJSON() ([]byte, error)

func (*RecoveryCodeList) SetRecoveryCodes ¶

func (o *RecoveryCodeList) SetRecoveryCodes(v []string)

SetRecoveryCodes gets a reference to the given []string and assigns it to the RecoveryCodes field.

func (RecoveryCodeList) ToMap ¶ added in v0.4.0

func (o RecoveryCodeList) ToMap() (map[string]interface{}, error)

func (*RecoveryCodeList) UnmarshalJSON ¶ added in v0.7.0

func (o *RecoveryCodeList) UnmarshalJSON(bytes []byte) (err error)

type RequestIPReservation201Response ¶ added in v0.3.0

type RequestIPReservation201Response struct {
	IPReservation    *IPReservation
	VrfIpReservation *VrfIpReservation
}

RequestIPReservation201Response - struct for RequestIPReservation201Response

func IPReservationAsRequestIPReservation201Response ¶ added in v0.4.0

func IPReservationAsRequestIPReservation201Response(v *IPReservation) RequestIPReservation201Response

IPReservationAsRequestIPReservation201Response is a convenience function that returns IPReservation wrapped in RequestIPReservation201Response

func VrfIpReservationAsRequestIPReservation201Response ¶ added in v0.4.0

func VrfIpReservationAsRequestIPReservation201Response(v *VrfIpReservation) RequestIPReservation201Response

VrfIpReservationAsRequestIPReservation201Response is a convenience function that returns VrfIpReservation wrapped in RequestIPReservation201Response

func (*RequestIPReservation201Response) GetActualInstance ¶ added in v0.3.0

func (obj *RequestIPReservation201Response) GetActualInstance() interface{}

Get the actual instance

func (RequestIPReservation201Response) MarshalJSON ¶ added in v0.3.0

func (src RequestIPReservation201Response) MarshalJSON() ([]byte, error)

Marshal data from the first non-nil pointers in the struct to JSON

func (*RequestIPReservation201Response) UnmarshalJSON ¶ added in v0.3.0

func (dst *RequestIPReservation201Response) UnmarshalJSON(data []byte) error

Unmarshal JSON data into one of the pointers in the struct

type RequestIPReservationRequest ¶ added in v0.3.0

type RequestIPReservationRequest struct {
	IPReservationRequestInput   *IPReservationRequestInput
	VrfIpReservationCreateInput *VrfIpReservationCreateInput
}

RequestIPReservationRequest - struct for RequestIPReservationRequest

func IPReservationRequestInputAsRequestIPReservationRequest ¶ added in v0.4.0

func IPReservationRequestInputAsRequestIPReservationRequest(v *IPReservationRequestInput) RequestIPReservationRequest

IPReservationRequestInputAsRequestIPReservationRequest is a convenience function that returns IPReservationRequestInput wrapped in RequestIPReservationRequest

func VrfIpReservationCreateInputAsRequestIPReservationRequest ¶ added in v0.4.0

func VrfIpReservationCreateInputAsRequestIPReservationRequest(v *VrfIpReservationCreateInput) RequestIPReservationRequest

VrfIpReservationCreateInputAsRequestIPReservationRequest is a convenience function that returns VrfIpReservationCreateInput wrapped in RequestIPReservationRequest

func (*RequestIPReservationRequest) GetActualInstance ¶ added in v0.3.0

func (obj *RequestIPReservationRequest) GetActualInstance() interface{}

Get the actual instance

func (RequestIPReservationRequest) MarshalJSON ¶ added in v0.3.0

func (src RequestIPReservationRequest) MarshalJSON() ([]byte, error)

Marshal data from the first non-nil pointers in the struct to JSON

func (*RequestIPReservationRequest) UnmarshalJSON ¶ added in v0.3.0

func (dst *RequestIPReservationRequest) UnmarshalJSON(data []byte) error

Unmarshal JSON data into one of the pointers in the struct

type SSHKey ¶

type SSHKey struct {
	CreatedAt            *time.Time `json:"created_at,omitempty"`
	Entity               *Href      `json:"entity,omitempty"`
	Fingerprint          *string    `json:"fingerprint,omitempty"`
	Href                 *string    `json:"href,omitempty"`
	Id                   *string    `json:"id,omitempty"`
	Key                  *string    `json:"key,omitempty"`
	Label                *string    `json:"label,omitempty"`
	UpdatedAt            *time.Time `json:"updated_at,omitempty"`
	Tags                 []string   `json:"tags,omitempty"`
	AdditionalProperties map[string]interface{}
}

SSHKey struct for SSHKey

func NewSSHKey ¶

func NewSSHKey() *SSHKey

NewSSHKey instantiates a new SSHKey object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewSSHKeyWithDefaults ¶

func NewSSHKeyWithDefaults() *SSHKey

NewSSHKeyWithDefaults instantiates a new SSHKey object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*SSHKey) GetCreatedAt ¶

func (o *SSHKey) GetCreatedAt() time.Time

GetCreatedAt returns the CreatedAt field value if set, zero value otherwise.

func (*SSHKey) GetCreatedAtOk ¶

func (o *SSHKey) GetCreatedAtOk() (*time.Time, bool)

GetCreatedAtOk returns a tuple with the CreatedAt field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SSHKey) GetEntity ¶

func (o *SSHKey) GetEntity() Href

GetEntity returns the Entity field value if set, zero value otherwise.

func (*SSHKey) GetEntityOk ¶

func (o *SSHKey) GetEntityOk() (*Href, bool)

GetEntityOk returns a tuple with the Entity field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SSHKey) GetFingerprint ¶

func (o *SSHKey) GetFingerprint() string

GetFingerprint returns the Fingerprint field value if set, zero value otherwise.

func (*SSHKey) GetFingerprintOk ¶

func (o *SSHKey) GetFingerprintOk() (*string, bool)

GetFingerprintOk returns a tuple with the Fingerprint field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SSHKey) GetHref ¶

func (o *SSHKey) GetHref() string

GetHref returns the Href field value if set, zero value otherwise.

func (*SSHKey) GetHrefOk ¶

func (o *SSHKey) GetHrefOk() (*string, bool)

GetHrefOk returns a tuple with the Href field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SSHKey) GetId ¶

func (o *SSHKey) GetId() string

GetId returns the Id field value if set, zero value otherwise.

func (*SSHKey) GetIdOk ¶

func (o *SSHKey) GetIdOk() (*string, bool)

GetIdOk returns a tuple with the Id field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SSHKey) GetKey ¶

func (o *SSHKey) GetKey() string

GetKey returns the Key field value if set, zero value otherwise.

func (*SSHKey) GetKeyOk ¶

func (o *SSHKey) GetKeyOk() (*string, bool)

GetKeyOk returns a tuple with the Key field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SSHKey) GetLabel ¶

func (o *SSHKey) GetLabel() string

GetLabel returns the Label field value if set, zero value otherwise.

func (*SSHKey) GetLabelOk ¶

func (o *SSHKey) GetLabelOk() (*string, bool)

GetLabelOk returns a tuple with the Label field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SSHKey) GetTags ¶ added in v0.15.0

func (o *SSHKey) GetTags() []string

GetTags returns the Tags field value if set, zero value otherwise.

func (*SSHKey) GetTagsOk ¶ added in v0.15.0

func (o *SSHKey) GetTagsOk() ([]string, bool)

GetTagsOk returns a tuple with the Tags field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SSHKey) GetUpdatedAt ¶

func (o *SSHKey) GetUpdatedAt() time.Time

GetUpdatedAt returns the UpdatedAt field value if set, zero value otherwise.

func (*SSHKey) GetUpdatedAtOk ¶

func (o *SSHKey) GetUpdatedAtOk() (*time.Time, bool)

GetUpdatedAtOk returns a tuple with the UpdatedAt field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SSHKey) HasCreatedAt ¶

func (o *SSHKey) HasCreatedAt() bool

HasCreatedAt returns a boolean if a field has been set.

func (*SSHKey) HasEntity ¶

func (o *SSHKey) HasEntity() bool

HasEntity returns a boolean if a field has been set.

func (*SSHKey) HasFingerprint ¶

func (o *SSHKey) HasFingerprint() bool

HasFingerprint returns a boolean if a field has been set.

func (*SSHKey) HasHref ¶

func (o *SSHKey) HasHref() bool

HasHref returns a boolean if a field has been set.

func (*SSHKey) HasId ¶

func (o *SSHKey) HasId() bool

HasId returns a boolean if a field has been set.

func (*SSHKey) HasKey ¶

func (o *SSHKey) HasKey() bool

HasKey returns a boolean if a field has been set.

func (*SSHKey) HasLabel ¶

func (o *SSHKey) HasLabel() bool

HasLabel returns a boolean if a field has been set.

func (*SSHKey) HasTags ¶ added in v0.15.0

func (o *SSHKey) HasTags() bool

HasTags returns a boolean if a field has been set.

func (*SSHKey) HasUpdatedAt ¶

func (o *SSHKey) HasUpdatedAt() bool

HasUpdatedAt returns a boolean if a field has been set.

func (SSHKey) MarshalJSON ¶

func (o SSHKey) MarshalJSON() ([]byte, error)

func (*SSHKey) SetCreatedAt ¶

func (o *SSHKey) SetCreatedAt(v time.Time)

SetCreatedAt gets a reference to the given time.Time and assigns it to the CreatedAt field.

func (*SSHKey) SetEntity ¶

func (o *SSHKey) SetEntity(v Href)

SetEntity gets a reference to the given Href and assigns it to the Entity field.

func (*SSHKey) SetFingerprint ¶

func (o *SSHKey) SetFingerprint(v string)

SetFingerprint gets a reference to the given string and assigns it to the Fingerprint field.

func (*SSHKey) SetHref ¶

func (o *SSHKey) SetHref(v string)

SetHref gets a reference to the given string and assigns it to the Href field.

func (*SSHKey) SetId ¶

func (o *SSHKey) SetId(v string)

SetId gets a reference to the given string and assigns it to the Id field.

func (*SSHKey) SetKey ¶

func (o *SSHKey) SetKey(v string)

SetKey gets a reference to the given string and assigns it to the Key field.

func (*SSHKey) SetLabel ¶

func (o *SSHKey) SetLabel(v string)

SetLabel gets a reference to the given string and assigns it to the Label field.

func (*SSHKey) SetTags ¶ added in v0.15.0

func (o *SSHKey) SetTags(v []string)

SetTags gets a reference to the given []string and assigns it to the Tags field.

func (*SSHKey) SetUpdatedAt ¶

func (o *SSHKey) SetUpdatedAt(v time.Time)

SetUpdatedAt gets a reference to the given time.Time and assigns it to the UpdatedAt field.

func (SSHKey) ToMap ¶ added in v0.4.0

func (o SSHKey) ToMap() (map[string]interface{}, error)

func (*SSHKey) UnmarshalJSON ¶ added in v0.7.0

func (o *SSHKey) UnmarshalJSON(bytes []byte) (err error)

type SSHKeyCreateInput ¶

type SSHKeyCreateInput struct {
	// List of instance UUIDs to associate SSH key with, when empty array is sent all instances belonging       to entity will be included
	InstancesIds         []string `json:"instances_ids,omitempty"`
	Key                  *string  `json:"key,omitempty"`
	Label                *string  `json:"label,omitempty"`
	Tags                 []string `json:"tags,omitempty"`
	AdditionalProperties map[string]interface{}
}

SSHKeyCreateInput struct for SSHKeyCreateInput

func NewSSHKeyCreateInput ¶

func NewSSHKeyCreateInput() *SSHKeyCreateInput

NewSSHKeyCreateInput instantiates a new SSHKeyCreateInput object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewSSHKeyCreateInputWithDefaults ¶

func NewSSHKeyCreateInputWithDefaults() *SSHKeyCreateInput

NewSSHKeyCreateInputWithDefaults instantiates a new SSHKeyCreateInput object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*SSHKeyCreateInput) GetInstancesIds ¶

func (o *SSHKeyCreateInput) GetInstancesIds() []string

GetInstancesIds returns the InstancesIds field value if set, zero value otherwise.

func (*SSHKeyCreateInput) GetInstancesIdsOk ¶

func (o *SSHKeyCreateInput) GetInstancesIdsOk() ([]string, bool)

GetInstancesIdsOk returns a tuple with the InstancesIds field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SSHKeyCreateInput) GetKey ¶

func (o *SSHKeyCreateInput) GetKey() string

GetKey returns the Key field value if set, zero value otherwise.

func (*SSHKeyCreateInput) GetKeyOk ¶

func (o *SSHKeyCreateInput) GetKeyOk() (*string, bool)

GetKeyOk returns a tuple with the Key field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SSHKeyCreateInput) GetLabel ¶

func (o *SSHKeyCreateInput) GetLabel() string

GetLabel returns the Label field value if set, zero value otherwise.

func (*SSHKeyCreateInput) GetLabelOk ¶

func (o *SSHKeyCreateInput) GetLabelOk() (*string, bool)

GetLabelOk returns a tuple with the Label field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SSHKeyCreateInput) GetTags ¶ added in v0.15.0

func (o *SSHKeyCreateInput) GetTags() []string

GetTags returns the Tags field value if set, zero value otherwise.

func (*SSHKeyCreateInput) GetTagsOk ¶ added in v0.15.0

func (o *SSHKeyCreateInput) GetTagsOk() ([]string, bool)

GetTagsOk returns a tuple with the Tags field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SSHKeyCreateInput) HasInstancesIds ¶

func (o *SSHKeyCreateInput) HasInstancesIds() bool

HasInstancesIds returns a boolean if a field has been set.

func (*SSHKeyCreateInput) HasKey ¶

func (o *SSHKeyCreateInput) HasKey() bool

HasKey returns a boolean if a field has been set.

func (*SSHKeyCreateInput) HasLabel ¶

func (o *SSHKeyCreateInput) HasLabel() bool

HasLabel returns a boolean if a field has been set.

func (*SSHKeyCreateInput) HasTags ¶ added in v0.15.0

func (o *SSHKeyCreateInput) HasTags() bool

HasTags returns a boolean if a field has been set.

func (SSHKeyCreateInput) MarshalJSON ¶

func (o SSHKeyCreateInput) MarshalJSON() ([]byte, error)

func (*SSHKeyCreateInput) SetInstancesIds ¶

func (o *SSHKeyCreateInput) SetInstancesIds(v []string)

SetInstancesIds gets a reference to the given []string and assigns it to the InstancesIds field.

func (*SSHKeyCreateInput) SetKey ¶

func (o *SSHKeyCreateInput) SetKey(v string)

SetKey gets a reference to the given string and assigns it to the Key field.

func (*SSHKeyCreateInput) SetLabel ¶

func (o *SSHKeyCreateInput) SetLabel(v string)

SetLabel gets a reference to the given string and assigns it to the Label field.

func (*SSHKeyCreateInput) SetTags ¶ added in v0.15.0

func (o *SSHKeyCreateInput) SetTags(v []string)

SetTags gets a reference to the given []string and assigns it to the Tags field.

func (SSHKeyCreateInput) ToMap ¶ added in v0.4.0

func (o SSHKeyCreateInput) ToMap() (map[string]interface{}, error)

func (*SSHKeyCreateInput) UnmarshalJSON ¶ added in v0.7.0

func (o *SSHKeyCreateInput) UnmarshalJSON(bytes []byte) (err error)

type SSHKeyInput ¶

type SSHKeyInput struct {
	Key                  *string  `json:"key,omitempty"`
	Label                *string  `json:"label,omitempty"`
	Tags                 []string `json:"tags,omitempty"`
	AdditionalProperties map[string]interface{}
}

SSHKeyInput struct for SSHKeyInput

func NewSSHKeyInput ¶

func NewSSHKeyInput() *SSHKeyInput

NewSSHKeyInput instantiates a new SSHKeyInput object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewSSHKeyInputWithDefaults ¶

func NewSSHKeyInputWithDefaults() *SSHKeyInput

NewSSHKeyInputWithDefaults instantiates a new SSHKeyInput object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*SSHKeyInput) GetKey ¶

func (o *SSHKeyInput) GetKey() string

GetKey returns the Key field value if set, zero value otherwise.

func (*SSHKeyInput) GetKeyOk ¶

func (o *SSHKeyInput) GetKeyOk() (*string, bool)

GetKeyOk returns a tuple with the Key field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SSHKeyInput) GetLabel ¶

func (o *SSHKeyInput) GetLabel() string

GetLabel returns the Label field value if set, zero value otherwise.

func (*SSHKeyInput) GetLabelOk ¶

func (o *SSHKeyInput) GetLabelOk() (*string, bool)

GetLabelOk returns a tuple with the Label field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SSHKeyInput) GetTags ¶ added in v0.15.0

func (o *SSHKeyInput) GetTags() []string

GetTags returns the Tags field value if set, zero value otherwise.

func (*SSHKeyInput) GetTagsOk ¶ added in v0.15.0

func (o *SSHKeyInput) GetTagsOk() ([]string, bool)

GetTagsOk returns a tuple with the Tags field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SSHKeyInput) HasKey ¶

func (o *SSHKeyInput) HasKey() bool

HasKey returns a boolean if a field has been set.

func (*SSHKeyInput) HasLabel ¶

func (o *SSHKeyInput) HasLabel() bool

HasLabel returns a boolean if a field has been set.

func (*SSHKeyInput) HasTags ¶ added in v0.15.0

func (o *SSHKeyInput) HasTags() bool

HasTags returns a boolean if a field has been set.

func (SSHKeyInput) MarshalJSON ¶

func (o SSHKeyInput) MarshalJSON() ([]byte, error)

func (*SSHKeyInput) SetKey ¶

func (o *SSHKeyInput) SetKey(v string)

SetKey gets a reference to the given string and assigns it to the Key field.

func (*SSHKeyInput) SetLabel ¶

func (o *SSHKeyInput) SetLabel(v string)

SetLabel gets a reference to the given string and assigns it to the Label field.

func (*SSHKeyInput) SetTags ¶ added in v0.15.0

func (o *SSHKeyInput) SetTags(v []string)

SetTags gets a reference to the given []string and assigns it to the Tags field.

func (SSHKeyInput) ToMap ¶ added in v0.4.0

func (o SSHKeyInput) ToMap() (map[string]interface{}, error)

func (*SSHKeyInput) UnmarshalJSON ¶ added in v0.7.0

func (o *SSHKeyInput) UnmarshalJSON(bytes []byte) (err error)

type SSHKeyList ¶

type SSHKeyList struct {
	SshKeys              []SSHKey `json:"ssh_keys,omitempty"`
	AdditionalProperties map[string]interface{}
}

SSHKeyList struct for SSHKeyList

func NewSSHKeyList ¶

func NewSSHKeyList() *SSHKeyList

NewSSHKeyList instantiates a new SSHKeyList object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewSSHKeyListWithDefaults ¶

func NewSSHKeyListWithDefaults() *SSHKeyList

NewSSHKeyListWithDefaults instantiates a new SSHKeyList object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*SSHKeyList) GetSshKeys ¶

func (o *SSHKeyList) GetSshKeys() []SSHKey

GetSshKeys returns the SshKeys field value if set, zero value otherwise.

func (*SSHKeyList) GetSshKeysOk ¶

func (o *SSHKeyList) GetSshKeysOk() ([]SSHKey, bool)

GetSshKeysOk returns a tuple with the SshKeys field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SSHKeyList) HasSshKeys ¶

func (o *SSHKeyList) HasSshKeys() bool

HasSshKeys returns a boolean if a field has been set.

func (SSHKeyList) MarshalJSON ¶

func (o SSHKeyList) MarshalJSON() ([]byte, error)

func (*SSHKeyList) SetSshKeys ¶

func (o *SSHKeyList) SetSshKeys(v []SSHKey)

SetSshKeys gets a reference to the given []SSHKey and assigns it to the SshKeys field.

func (SSHKeyList) ToMap ¶ added in v0.4.0

func (o SSHKeyList) ToMap() (map[string]interface{}, error)

func (*SSHKeyList) UnmarshalJSON ¶ added in v0.7.0

func (o *SSHKeyList) UnmarshalJSON(bytes []byte) (err error)

type SSHKeysApiService ¶

type SSHKeysApiService service

SSHKeysApiService SSHKeysApi service

func (*SSHKeysApiService) CreateProjectSSHKey ¶

func (a *SSHKeysApiService) CreateProjectSSHKey(ctx context.Context, id string) ApiCreateProjectSSHKeyRequest

CreateProjectSSHKey Create a ssh key for the given project

Creates a ssh key.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param id Project UUID
@return ApiCreateProjectSSHKeyRequest

func (*SSHKeysApiService) CreateProjectSSHKeyExecute ¶

func (a *SSHKeysApiService) CreateProjectSSHKeyExecute(r ApiCreateProjectSSHKeyRequest) (*SSHKey, *http.Response, error)

Execute executes the request

@return SSHKey

func (*SSHKeysApiService) CreateSSHKey ¶

CreateSSHKey Create a ssh key for the current user

Creates a ssh key.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@return ApiCreateSSHKeyRequest

func (*SSHKeysApiService) CreateSSHKeyExecute ¶

func (a *SSHKeysApiService) CreateSSHKeyExecute(r ApiCreateSSHKeyRequest) (*SSHKey, *http.Response, error)

Execute executes the request

@return SSHKey

func (*SSHKeysApiService) DeleteSSHKey ¶

DeleteSSHKey Delete the ssh key

Deletes the ssh key.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param id ssh key UUID
@return ApiDeleteSSHKeyRequest

func (*SSHKeysApiService) DeleteSSHKeyExecute ¶

func (a *SSHKeysApiService) DeleteSSHKeyExecute(r ApiDeleteSSHKeyRequest) (*http.Response, error)

Execute executes the request

func (*SSHKeysApiService) FindDeviceSSHKeys ¶

func (a *SSHKeysApiService) FindDeviceSSHKeys(ctx context.Context, id string) ApiFindDeviceSSHKeysRequest

FindDeviceSSHKeys Retrieve a device's ssh keys

Returns a collection of the device's ssh keys.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param id Project UUID
@return ApiFindDeviceSSHKeysRequest

func (*SSHKeysApiService) FindDeviceSSHKeysExecute ¶

func (a *SSHKeysApiService) FindDeviceSSHKeysExecute(r ApiFindDeviceSSHKeysRequest) (*SSHKeyList, *http.Response, error)

Execute executes the request

@return SSHKeyList

func (*SSHKeysApiService) FindProjectSSHKeys ¶

func (a *SSHKeysApiService) FindProjectSSHKeys(ctx context.Context, id string) ApiFindProjectSSHKeysRequest

FindProjectSSHKeys Retrieve a project's ssh keys

Returns a collection of the project's ssh keys.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param id Project UUID
@return ApiFindProjectSSHKeysRequest

func (*SSHKeysApiService) FindProjectSSHKeysExecute ¶

func (a *SSHKeysApiService) FindProjectSSHKeysExecute(r ApiFindProjectSSHKeysRequest) (*SSHKeyList, *http.Response, error)

Execute executes the request

@return SSHKeyList

func (*SSHKeysApiService) FindSSHKeyById ¶

FindSSHKeyById Retrieve a ssh key

Returns a single ssh key if the user has access

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param id SSH Key UUID
@return ApiFindSSHKeyByIdRequest

func (*SSHKeysApiService) FindSSHKeyByIdExecute ¶

func (a *SSHKeysApiService) FindSSHKeyByIdExecute(r ApiFindSSHKeyByIdRequest) (*SSHKey, *http.Response, error)

Execute executes the request

@return SSHKey

func (*SSHKeysApiService) FindSSHKeys ¶

FindSSHKeys Retrieve all ssh keys

Returns a collection of the user’s ssh keys.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@return ApiFindSSHKeysRequest

func (*SSHKeysApiService) FindSSHKeysExecute ¶

func (a *SSHKeysApiService) FindSSHKeysExecute(r ApiFindSSHKeysRequest) (*SSHKeyList, *http.Response, error)

Execute executes the request

@return SSHKeyList

func (*SSHKeysApiService) UpdateSSHKey ¶

UpdateSSHKey Update the ssh key

Updates the ssh key.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param id SSH Key UUID
@return ApiUpdateSSHKeyRequest

func (*SSHKeysApiService) UpdateSSHKeyExecute ¶

func (a *SSHKeysApiService) UpdateSSHKeyExecute(r ApiUpdateSSHKeyRequest) (*SSHKey, *http.Response, error)

Execute executes the request

@return SSHKey

type SelfServiceReservationItemRequest ¶

type SelfServiceReservationItemRequest struct {
	Amount               *float32 `json:"amount,omitempty"`
	MetroId              *string  `json:"metro_id,omitempty"`
	PlanId               *string  `json:"plan_id,omitempty"`
	Quantity             *int32   `json:"quantity,omitempty"`
	Term                 *string  `json:"term,omitempty"`
	AdditionalProperties map[string]interface{}
}

SelfServiceReservationItemRequest struct for SelfServiceReservationItemRequest

func NewSelfServiceReservationItemRequest ¶

func NewSelfServiceReservationItemRequest() *SelfServiceReservationItemRequest

NewSelfServiceReservationItemRequest instantiates a new SelfServiceReservationItemRequest object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewSelfServiceReservationItemRequestWithDefaults ¶

func NewSelfServiceReservationItemRequestWithDefaults() *SelfServiceReservationItemRequest

NewSelfServiceReservationItemRequestWithDefaults instantiates a new SelfServiceReservationItemRequest object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*SelfServiceReservationItemRequest) GetAmount ¶

GetAmount returns the Amount field value if set, zero value otherwise.

func (*SelfServiceReservationItemRequest) GetAmountOk ¶

func (o *SelfServiceReservationItemRequest) GetAmountOk() (*float32, bool)

GetAmountOk returns a tuple with the Amount field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SelfServiceReservationItemRequest) GetMetroId ¶

func (o *SelfServiceReservationItemRequest) GetMetroId() string

GetMetroId returns the MetroId field value if set, zero value otherwise.

func (*SelfServiceReservationItemRequest) GetMetroIdOk ¶

func (o *SelfServiceReservationItemRequest) GetMetroIdOk() (*string, bool)

GetMetroIdOk returns a tuple with the MetroId field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SelfServiceReservationItemRequest) GetPlanId ¶

GetPlanId returns the PlanId field value if set, zero value otherwise.

func (*SelfServiceReservationItemRequest) GetPlanIdOk ¶

func (o *SelfServiceReservationItemRequest) GetPlanIdOk() (*string, bool)

GetPlanIdOk returns a tuple with the PlanId field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SelfServiceReservationItemRequest) GetQuantity ¶

func (o *SelfServiceReservationItemRequest) GetQuantity() int32

GetQuantity returns the Quantity field value if set, zero value otherwise.

func (*SelfServiceReservationItemRequest) GetQuantityOk ¶

func (o *SelfServiceReservationItemRequest) GetQuantityOk() (*int32, bool)

GetQuantityOk returns a tuple with the Quantity field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SelfServiceReservationItemRequest) GetTerm ¶

GetTerm returns the Term field value if set, zero value otherwise.

func (*SelfServiceReservationItemRequest) GetTermOk ¶

func (o *SelfServiceReservationItemRequest) GetTermOk() (*string, bool)

GetTermOk returns a tuple with the Term field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SelfServiceReservationItemRequest) HasAmount ¶

func (o *SelfServiceReservationItemRequest) HasAmount() bool

HasAmount returns a boolean if a field has been set.

func (*SelfServiceReservationItemRequest) HasMetroId ¶

func (o *SelfServiceReservationItemRequest) HasMetroId() bool

HasMetroId returns a boolean if a field has been set.

func (*SelfServiceReservationItemRequest) HasPlanId ¶

func (o *SelfServiceReservationItemRequest) HasPlanId() bool

HasPlanId returns a boolean if a field has been set.

func (*SelfServiceReservationItemRequest) HasQuantity ¶

func (o *SelfServiceReservationItemRequest) HasQuantity() bool

HasQuantity returns a boolean if a field has been set.

func (*SelfServiceReservationItemRequest) HasTerm ¶

HasTerm returns a boolean if a field has been set.

func (SelfServiceReservationItemRequest) MarshalJSON ¶

func (o SelfServiceReservationItemRequest) MarshalJSON() ([]byte, error)

func (*SelfServiceReservationItemRequest) SetAmount ¶

SetAmount gets a reference to the given float32 and assigns it to the Amount field.

func (*SelfServiceReservationItemRequest) SetMetroId ¶

func (o *SelfServiceReservationItemRequest) SetMetroId(v string)

SetMetroId gets a reference to the given string and assigns it to the MetroId field.

func (*SelfServiceReservationItemRequest) SetPlanId ¶

func (o *SelfServiceReservationItemRequest) SetPlanId(v string)

SetPlanId gets a reference to the given string and assigns it to the PlanId field.

func (*SelfServiceReservationItemRequest) SetQuantity ¶

func (o *SelfServiceReservationItemRequest) SetQuantity(v int32)

SetQuantity gets a reference to the given int32 and assigns it to the Quantity field.

func (*SelfServiceReservationItemRequest) SetTerm ¶

SetTerm gets a reference to the given string and assigns it to the Term field.

func (SelfServiceReservationItemRequest) ToMap ¶ added in v0.4.0

func (o SelfServiceReservationItemRequest) ToMap() (map[string]interface{}, error)

func (*SelfServiceReservationItemRequest) UnmarshalJSON ¶ added in v0.7.0

func (o *SelfServiceReservationItemRequest) UnmarshalJSON(bytes []byte) (err error)

type SelfServiceReservationItemResponse ¶

type SelfServiceReservationItemResponse struct {
	Amount               *float32 `json:"amount,omitempty"`
	Id                   *string  `json:"id,omitempty"`
	MetroCode            *string  `json:"metro_code,omitempty"`
	MetroId              *string  `json:"metro_id,omitempty"`
	MetroName            *string  `json:"metro_name,omitempty"`
	PlanId               *string  `json:"plan_id,omitempty"`
	PlanName             *string  `json:"plan_name,omitempty"`
	PlanSlug             *string  `json:"plan_slug,omitempty"`
	PlanCategories       []string `json:"plan_categories,omitempty"`
	Quantity             *int32   `json:"quantity,omitempty"`
	Term                 *string  `json:"term,omitempty"`
	AdditionalProperties map[string]interface{}
}

SelfServiceReservationItemResponse struct for SelfServiceReservationItemResponse

func NewSelfServiceReservationItemResponse ¶

func NewSelfServiceReservationItemResponse() *SelfServiceReservationItemResponse

NewSelfServiceReservationItemResponse instantiates a new SelfServiceReservationItemResponse object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewSelfServiceReservationItemResponseWithDefaults ¶

func NewSelfServiceReservationItemResponseWithDefaults() *SelfServiceReservationItemResponse

NewSelfServiceReservationItemResponseWithDefaults instantiates a new SelfServiceReservationItemResponse object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*SelfServiceReservationItemResponse) GetAmount ¶

GetAmount returns the Amount field value if set, zero value otherwise.

func (*SelfServiceReservationItemResponse) GetAmountOk ¶

func (o *SelfServiceReservationItemResponse) GetAmountOk() (*float32, bool)

GetAmountOk returns a tuple with the Amount field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SelfServiceReservationItemResponse) GetId ¶

GetId returns the Id field value if set, zero value otherwise.

func (*SelfServiceReservationItemResponse) GetIdOk ¶

GetIdOk returns a tuple with the Id field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SelfServiceReservationItemResponse) GetMetroCode ¶

func (o *SelfServiceReservationItemResponse) GetMetroCode() string

GetMetroCode returns the MetroCode field value if set, zero value otherwise.

func (*SelfServiceReservationItemResponse) GetMetroCodeOk ¶

func (o *SelfServiceReservationItemResponse) GetMetroCodeOk() (*string, bool)

GetMetroCodeOk returns a tuple with the MetroCode field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SelfServiceReservationItemResponse) GetMetroId ¶

GetMetroId returns the MetroId field value if set, zero value otherwise.

func (*SelfServiceReservationItemResponse) GetMetroIdOk ¶

func (o *SelfServiceReservationItemResponse) GetMetroIdOk() (*string, bool)

GetMetroIdOk returns a tuple with the MetroId field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SelfServiceReservationItemResponse) GetMetroName ¶

func (o *SelfServiceReservationItemResponse) GetMetroName() string

GetMetroName returns the MetroName field value if set, zero value otherwise.

func (*SelfServiceReservationItemResponse) GetMetroNameOk ¶

func (o *SelfServiceReservationItemResponse) GetMetroNameOk() (*string, bool)

GetMetroNameOk returns a tuple with the MetroName field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SelfServiceReservationItemResponse) GetPlanCategories ¶ added in v0.9.0

func (o *SelfServiceReservationItemResponse) GetPlanCategories() []string

GetPlanCategories returns the PlanCategories field value if set, zero value otherwise.

func (*SelfServiceReservationItemResponse) GetPlanCategoriesOk ¶ added in v0.9.0

func (o *SelfServiceReservationItemResponse) GetPlanCategoriesOk() ([]string, bool)

GetPlanCategoriesOk returns a tuple with the PlanCategories field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SelfServiceReservationItemResponse) GetPlanId ¶

GetPlanId returns the PlanId field value if set, zero value otherwise.

func (*SelfServiceReservationItemResponse) GetPlanIdOk ¶

func (o *SelfServiceReservationItemResponse) GetPlanIdOk() (*string, bool)

GetPlanIdOk returns a tuple with the PlanId field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SelfServiceReservationItemResponse) GetPlanName ¶

func (o *SelfServiceReservationItemResponse) GetPlanName() string

GetPlanName returns the PlanName field value if set, zero value otherwise.

func (*SelfServiceReservationItemResponse) GetPlanNameOk ¶

func (o *SelfServiceReservationItemResponse) GetPlanNameOk() (*string, bool)

GetPlanNameOk returns a tuple with the PlanName field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SelfServiceReservationItemResponse) GetPlanSlug ¶

func (o *SelfServiceReservationItemResponse) GetPlanSlug() string

GetPlanSlug returns the PlanSlug field value if set, zero value otherwise.

func (*SelfServiceReservationItemResponse) GetPlanSlugOk ¶

func (o *SelfServiceReservationItemResponse) GetPlanSlugOk() (*string, bool)

GetPlanSlugOk returns a tuple with the PlanSlug field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SelfServiceReservationItemResponse) GetQuantity ¶

func (o *SelfServiceReservationItemResponse) GetQuantity() int32

GetQuantity returns the Quantity field value if set, zero value otherwise.

func (*SelfServiceReservationItemResponse) GetQuantityOk ¶

func (o *SelfServiceReservationItemResponse) GetQuantityOk() (*int32, bool)

GetQuantityOk returns a tuple with the Quantity field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SelfServiceReservationItemResponse) GetTerm ¶

GetTerm returns the Term field value if set, zero value otherwise.

func (*SelfServiceReservationItemResponse) GetTermOk ¶

func (o *SelfServiceReservationItemResponse) GetTermOk() (*string, bool)

GetTermOk returns a tuple with the Term field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SelfServiceReservationItemResponse) HasAmount ¶

HasAmount returns a boolean if a field has been set.

func (*SelfServiceReservationItemResponse) HasId ¶

HasId returns a boolean if a field has been set.

func (*SelfServiceReservationItemResponse) HasMetroCode ¶

func (o *SelfServiceReservationItemResponse) HasMetroCode() bool

HasMetroCode returns a boolean if a field has been set.

func (*SelfServiceReservationItemResponse) HasMetroId ¶

func (o *SelfServiceReservationItemResponse) HasMetroId() bool

HasMetroId returns a boolean if a field has been set.

func (*SelfServiceReservationItemResponse) HasMetroName ¶

func (o *SelfServiceReservationItemResponse) HasMetroName() bool

HasMetroName returns a boolean if a field has been set.

func (*SelfServiceReservationItemResponse) HasPlanCategories ¶ added in v0.9.0

func (o *SelfServiceReservationItemResponse) HasPlanCategories() bool

HasPlanCategories returns a boolean if a field has been set.

func (*SelfServiceReservationItemResponse) HasPlanId ¶

HasPlanId returns a boolean if a field has been set.

func (*SelfServiceReservationItemResponse) HasPlanName ¶

func (o *SelfServiceReservationItemResponse) HasPlanName() bool

HasPlanName returns a boolean if a field has been set.

func (*SelfServiceReservationItemResponse) HasPlanSlug ¶

func (o *SelfServiceReservationItemResponse) HasPlanSlug() bool

HasPlanSlug returns a boolean if a field has been set.

func (*SelfServiceReservationItemResponse) HasQuantity ¶

func (o *SelfServiceReservationItemResponse) HasQuantity() bool

HasQuantity returns a boolean if a field has been set.

func (*SelfServiceReservationItemResponse) HasTerm ¶

HasTerm returns a boolean if a field has been set.

func (SelfServiceReservationItemResponse) MarshalJSON ¶

func (o SelfServiceReservationItemResponse) MarshalJSON() ([]byte, error)

func (*SelfServiceReservationItemResponse) SetAmount ¶

SetAmount gets a reference to the given float32 and assigns it to the Amount field.

func (*SelfServiceReservationItemResponse) SetId ¶

SetId gets a reference to the given string and assigns it to the Id field.

func (*SelfServiceReservationItemResponse) SetMetroCode ¶

func (o *SelfServiceReservationItemResponse) SetMetroCode(v string)

SetMetroCode gets a reference to the given string and assigns it to the MetroCode field.

func (*SelfServiceReservationItemResponse) SetMetroId ¶

func (o *SelfServiceReservationItemResponse) SetMetroId(v string)

SetMetroId gets a reference to the given string and assigns it to the MetroId field.

func (*SelfServiceReservationItemResponse) SetMetroName ¶

func (o *SelfServiceReservationItemResponse) SetMetroName(v string)

SetMetroName gets a reference to the given string and assigns it to the MetroName field.

func (*SelfServiceReservationItemResponse) SetPlanCategories ¶ added in v0.9.0

func (o *SelfServiceReservationItemResponse) SetPlanCategories(v []string)

SetPlanCategories gets a reference to the given []string and assigns it to the PlanCategories field.

func (*SelfServiceReservationItemResponse) SetPlanId ¶

SetPlanId gets a reference to the given string and assigns it to the PlanId field.

func (*SelfServiceReservationItemResponse) SetPlanName ¶

func (o *SelfServiceReservationItemResponse) SetPlanName(v string)

SetPlanName gets a reference to the given string and assigns it to the PlanName field.

func (*SelfServiceReservationItemResponse) SetPlanSlug ¶

func (o *SelfServiceReservationItemResponse) SetPlanSlug(v string)

SetPlanSlug gets a reference to the given string and assigns it to the PlanSlug field.

func (*SelfServiceReservationItemResponse) SetQuantity ¶

func (o *SelfServiceReservationItemResponse) SetQuantity(v int32)

SetQuantity gets a reference to the given int32 and assigns it to the Quantity field.

func (*SelfServiceReservationItemResponse) SetTerm ¶

SetTerm gets a reference to the given string and assigns it to the Term field.

func (SelfServiceReservationItemResponse) ToMap ¶ added in v0.4.0

func (o SelfServiceReservationItemResponse) ToMap() (map[string]interface{}, error)

func (*SelfServiceReservationItemResponse) UnmarshalJSON ¶ added in v0.7.0

func (o *SelfServiceReservationItemResponse) UnmarshalJSON(bytes []byte) (err error)

type SelfServiceReservationList ¶

type SelfServiceReservationList struct {
	Reservations         []SelfServiceReservationResponse `json:"reservations,omitempty"`
	AdditionalProperties map[string]interface{}
}

SelfServiceReservationList struct for SelfServiceReservationList

func NewSelfServiceReservationList ¶

func NewSelfServiceReservationList() *SelfServiceReservationList

NewSelfServiceReservationList instantiates a new SelfServiceReservationList object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewSelfServiceReservationListWithDefaults ¶

func NewSelfServiceReservationListWithDefaults() *SelfServiceReservationList

NewSelfServiceReservationListWithDefaults instantiates a new SelfServiceReservationList object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*SelfServiceReservationList) GetReservations ¶

GetReservations returns the Reservations field value if set, zero value otherwise.

func (*SelfServiceReservationList) GetReservationsOk ¶

GetReservationsOk returns a tuple with the Reservations field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SelfServiceReservationList) HasReservations ¶

func (o *SelfServiceReservationList) HasReservations() bool

HasReservations returns a boolean if a field has been set.

func (SelfServiceReservationList) MarshalJSON ¶

func (o SelfServiceReservationList) MarshalJSON() ([]byte, error)

func (*SelfServiceReservationList) SetReservations ¶

SetReservations gets a reference to the given []SelfServiceReservationResponse and assigns it to the Reservations field.

func (SelfServiceReservationList) ToMap ¶ added in v0.4.0

func (o SelfServiceReservationList) ToMap() (map[string]interface{}, error)

func (*SelfServiceReservationList) UnmarshalJSON ¶ added in v0.7.0

func (o *SelfServiceReservationList) UnmarshalJSON(bytes []byte) (err error)

type SelfServiceReservationResponse ¶

type SelfServiceReservationResponse struct {
	CreatedAt            *time.Time                                 `json:"created_at,omitempty"`
	Item                 []SelfServiceReservationItemResponse       `json:"item,omitempty"`
	Notes                *string                                    `json:"notes,omitempty"`
	Organization         *string                                    `json:"organization,omitempty"`
	OrganizationId       *string                                    `json:"organization_id,omitempty"`
	Period               *CreateSelfServiceReservationRequestPeriod `json:"period,omitempty"`
	Project              *string                                    `json:"project,omitempty"`
	ProjectId            *string                                    `json:"project_id,omitempty"`
	StartDate            *time.Time                                 `json:"start_date,omitempty"`
	Status               *string                                    `json:"status,omitempty"`
	TotalCost            *int32                                     `json:"total_cost,omitempty"`
	AdditionalProperties map[string]interface{}
}

SelfServiceReservationResponse struct for SelfServiceReservationResponse

func NewSelfServiceReservationResponse ¶

func NewSelfServiceReservationResponse() *SelfServiceReservationResponse

NewSelfServiceReservationResponse instantiates a new SelfServiceReservationResponse object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewSelfServiceReservationResponseWithDefaults ¶

func NewSelfServiceReservationResponseWithDefaults() *SelfServiceReservationResponse

NewSelfServiceReservationResponseWithDefaults instantiates a new SelfServiceReservationResponse object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*SelfServiceReservationResponse) GetCreatedAt ¶

func (o *SelfServiceReservationResponse) GetCreatedAt() time.Time

GetCreatedAt returns the CreatedAt field value if set, zero value otherwise.

func (*SelfServiceReservationResponse) GetCreatedAtOk ¶

func (o *SelfServiceReservationResponse) GetCreatedAtOk() (*time.Time, bool)

GetCreatedAtOk returns a tuple with the CreatedAt field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SelfServiceReservationResponse) GetItem ¶

GetItem returns the Item field value if set, zero value otherwise.

func (*SelfServiceReservationResponse) GetItemOk ¶

GetItemOk returns a tuple with the Item field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SelfServiceReservationResponse) GetNotes ¶

func (o *SelfServiceReservationResponse) GetNotes() string

GetNotes returns the Notes field value if set, zero value otherwise.

func (*SelfServiceReservationResponse) GetNotesOk ¶

func (o *SelfServiceReservationResponse) GetNotesOk() (*string, bool)

GetNotesOk returns a tuple with the Notes field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SelfServiceReservationResponse) GetOrganization ¶

func (o *SelfServiceReservationResponse) GetOrganization() string

GetOrganization returns the Organization field value if set, zero value otherwise.

func (*SelfServiceReservationResponse) GetOrganizationId ¶

func (o *SelfServiceReservationResponse) GetOrganizationId() string

GetOrganizationId returns the OrganizationId field value if set, zero value otherwise.

func (*SelfServiceReservationResponse) GetOrganizationIdOk ¶

func (o *SelfServiceReservationResponse) GetOrganizationIdOk() (*string, bool)

GetOrganizationIdOk returns a tuple with the OrganizationId field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SelfServiceReservationResponse) GetOrganizationOk ¶

func (o *SelfServiceReservationResponse) GetOrganizationOk() (*string, bool)

GetOrganizationOk returns a tuple with the Organization field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SelfServiceReservationResponse) GetPeriod ¶

GetPeriod returns the Period field value if set, zero value otherwise.

func (*SelfServiceReservationResponse) GetPeriodOk ¶

GetPeriodOk returns a tuple with the Period field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SelfServiceReservationResponse) GetProject ¶

func (o *SelfServiceReservationResponse) GetProject() string

GetProject returns the Project field value if set, zero value otherwise.

func (*SelfServiceReservationResponse) GetProjectId ¶

func (o *SelfServiceReservationResponse) GetProjectId() string

GetProjectId returns the ProjectId field value if set, zero value otherwise.

func (*SelfServiceReservationResponse) GetProjectIdOk ¶

func (o *SelfServiceReservationResponse) GetProjectIdOk() (*string, bool)

GetProjectIdOk returns a tuple with the ProjectId field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SelfServiceReservationResponse) GetProjectOk ¶

func (o *SelfServiceReservationResponse) GetProjectOk() (*string, bool)

GetProjectOk returns a tuple with the Project field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SelfServiceReservationResponse) GetStartDate ¶

func (o *SelfServiceReservationResponse) GetStartDate() time.Time

GetStartDate returns the StartDate field value if set, zero value otherwise.

func (*SelfServiceReservationResponse) GetStartDateOk ¶

func (o *SelfServiceReservationResponse) GetStartDateOk() (*time.Time, bool)

GetStartDateOk returns a tuple with the StartDate field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SelfServiceReservationResponse) GetStatus ¶

func (o *SelfServiceReservationResponse) GetStatus() string

GetStatus returns the Status field value if set, zero value otherwise.

func (*SelfServiceReservationResponse) GetStatusOk ¶

func (o *SelfServiceReservationResponse) GetStatusOk() (*string, bool)

GetStatusOk returns a tuple with the Status field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SelfServiceReservationResponse) GetTotalCost ¶

func (o *SelfServiceReservationResponse) GetTotalCost() int32

GetTotalCost returns the TotalCost field value if set, zero value otherwise.

func (*SelfServiceReservationResponse) GetTotalCostOk ¶

func (o *SelfServiceReservationResponse) GetTotalCostOk() (*int32, bool)

GetTotalCostOk returns a tuple with the TotalCost field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SelfServiceReservationResponse) HasCreatedAt ¶

func (o *SelfServiceReservationResponse) HasCreatedAt() bool

HasCreatedAt returns a boolean if a field has been set.

func (*SelfServiceReservationResponse) HasItem ¶

func (o *SelfServiceReservationResponse) HasItem() bool

HasItem returns a boolean if a field has been set.

func (*SelfServiceReservationResponse) HasNotes ¶

func (o *SelfServiceReservationResponse) HasNotes() bool

HasNotes returns a boolean if a field has been set.

func (*SelfServiceReservationResponse) HasOrganization ¶

func (o *SelfServiceReservationResponse) HasOrganization() bool

HasOrganization returns a boolean if a field has been set.

func (*SelfServiceReservationResponse) HasOrganizationId ¶

func (o *SelfServiceReservationResponse) HasOrganizationId() bool

HasOrganizationId returns a boolean if a field has been set.

func (*SelfServiceReservationResponse) HasPeriod ¶

func (o *SelfServiceReservationResponse) HasPeriod() bool

HasPeriod returns a boolean if a field has been set.

func (*SelfServiceReservationResponse) HasProject ¶

func (o *SelfServiceReservationResponse) HasProject() bool

HasProject returns a boolean if a field has been set.

func (*SelfServiceReservationResponse) HasProjectId ¶

func (o *SelfServiceReservationResponse) HasProjectId() bool

HasProjectId returns a boolean if a field has been set.

func (*SelfServiceReservationResponse) HasStartDate ¶

func (o *SelfServiceReservationResponse) HasStartDate() bool

HasStartDate returns a boolean if a field has been set.

func (*SelfServiceReservationResponse) HasStatus ¶

func (o *SelfServiceReservationResponse) HasStatus() bool

HasStatus returns a boolean if a field has been set.

func (*SelfServiceReservationResponse) HasTotalCost ¶

func (o *SelfServiceReservationResponse) HasTotalCost() bool

HasTotalCost returns a boolean if a field has been set.

func (SelfServiceReservationResponse) MarshalJSON ¶

func (o SelfServiceReservationResponse) MarshalJSON() ([]byte, error)

func (*SelfServiceReservationResponse) SetCreatedAt ¶

func (o *SelfServiceReservationResponse) SetCreatedAt(v time.Time)

SetCreatedAt gets a reference to the given time.Time and assigns it to the CreatedAt field.

func (*SelfServiceReservationResponse) SetItem ¶

SetItem gets a reference to the given []SelfServiceReservationItemResponse and assigns it to the Item field.

func (*SelfServiceReservationResponse) SetNotes ¶

func (o *SelfServiceReservationResponse) SetNotes(v string)

SetNotes gets a reference to the given string and assigns it to the Notes field.

func (*SelfServiceReservationResponse) SetOrganization ¶

func (o *SelfServiceReservationResponse) SetOrganization(v string)

SetOrganization gets a reference to the given string and assigns it to the Organization field.

func (*SelfServiceReservationResponse) SetOrganizationId ¶

func (o *SelfServiceReservationResponse) SetOrganizationId(v string)

SetOrganizationId gets a reference to the given string and assigns it to the OrganizationId field.

func (*SelfServiceReservationResponse) SetPeriod ¶

SetPeriod gets a reference to the given CreateSelfServiceReservationRequestPeriod and assigns it to the Period field.

func (*SelfServiceReservationResponse) SetProject ¶

func (o *SelfServiceReservationResponse) SetProject(v string)

SetProject gets a reference to the given string and assigns it to the Project field.

func (*SelfServiceReservationResponse) SetProjectId ¶

func (o *SelfServiceReservationResponse) SetProjectId(v string)

SetProjectId gets a reference to the given string and assigns it to the ProjectId field.

func (*SelfServiceReservationResponse) SetStartDate ¶

func (o *SelfServiceReservationResponse) SetStartDate(v time.Time)

SetStartDate gets a reference to the given time.Time and assigns it to the StartDate field.

func (*SelfServiceReservationResponse) SetStatus ¶

func (o *SelfServiceReservationResponse) SetStatus(v string)

SetStatus gets a reference to the given string and assigns it to the Status field.

func (*SelfServiceReservationResponse) SetTotalCost ¶

func (o *SelfServiceReservationResponse) SetTotalCost(v int32)

SetTotalCost gets a reference to the given int32 and assigns it to the TotalCost field.

func (SelfServiceReservationResponse) ToMap ¶ added in v0.4.0

func (o SelfServiceReservationResponse) ToMap() (map[string]interface{}, error)

func (*SelfServiceReservationResponse) UnmarshalJSON ¶ added in v0.7.0

func (o *SelfServiceReservationResponse) UnmarshalJSON(bytes []byte) (err error)

type SelfServiceReservationsApiService ¶

type SelfServiceReservationsApiService service

SelfServiceReservationsApiService SelfServiceReservationsApi service

func (*SelfServiceReservationsApiService) CreateSelfServiceReservation ¶

func (a *SelfServiceReservationsApiService) CreateSelfServiceReservation(ctx context.Context, projectId string) ApiCreateSelfServiceReservationRequest

CreateSelfServiceReservation Create a reservation

Creates a reservation.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param projectId Project UUID
@return ApiCreateSelfServiceReservationRequest

func (*SelfServiceReservationsApiService) CreateSelfServiceReservationExecute ¶

Execute executes the request

@return SelfServiceReservationResponse

func (*SelfServiceReservationsApiService) FindSelfServiceReservation ¶

func (a *SelfServiceReservationsApiService) FindSelfServiceReservation(ctx context.Context, id string, projectId string) ApiFindSelfServiceReservationRequest

FindSelfServiceReservation Retrieve a reservation

Returns a reservation

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param id Reservation short_id
@param projectId Project UUID
@return ApiFindSelfServiceReservationRequest

func (*SelfServiceReservationsApiService) FindSelfServiceReservationExecute ¶

Execute executes the request

@return SelfServiceReservationResponse

func (*SelfServiceReservationsApiService) FindSelfServiceReservations ¶

func (a *SelfServiceReservationsApiService) FindSelfServiceReservations(ctx context.Context, projectId string) ApiFindSelfServiceReservationsRequest

FindSelfServiceReservations Retrieve all reservations

Returns all reservations.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param projectId Project UUID
@return ApiFindSelfServiceReservationsRequest

func (*SelfServiceReservationsApiService) FindSelfServiceReservationsExecute ¶

Execute executes the request

@return SelfServiceReservationList

type ServerConfiguration ¶

type ServerConfiguration struct {
	URL         string
	Description string
	Variables   map[string]ServerVariable
}

ServerConfiguration stores the information about a server

type ServerConfigurations ¶

type ServerConfigurations []ServerConfiguration

ServerConfigurations stores multiple ServerConfiguration items

func (ServerConfigurations) URL ¶

func (sc ServerConfigurations) URL(index int, variables map[string]string) (string, error)

URL formats template on a index using given variables

type ServerInfo ¶

type ServerInfo struct {
	// Deprecated
	Facility *string `json:"facility,omitempty"`
	// The metro ID or code to check the capacity in.
	Metro *string `json:"metro,omitempty"`
	// The plan ID or slug to check the capacity of.
	Plan *string `json:"plan,omitempty"`
	// The number of servers to check the capacity of.
	Quantity             *string `json:"quantity,omitempty"`
	AdditionalProperties map[string]interface{}
}

ServerInfo struct for ServerInfo

func NewServerInfo ¶

func NewServerInfo() *ServerInfo

NewServerInfo instantiates a new ServerInfo object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewServerInfoWithDefaults ¶

func NewServerInfoWithDefaults() *ServerInfo

NewServerInfoWithDefaults instantiates a new ServerInfo object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*ServerInfo) GetFacility ¶

func (o *ServerInfo) GetFacility() string

GetFacility returns the Facility field value if set, zero value otherwise. Deprecated

func (*ServerInfo) GetFacilityOk ¶

func (o *ServerInfo) GetFacilityOk() (*string, bool)

GetFacilityOk returns a tuple with the Facility field value if set, nil otherwise and a boolean to check if the value has been set. Deprecated

func (*ServerInfo) GetMetro ¶ added in v0.10.0

func (o *ServerInfo) GetMetro() string

GetMetro returns the Metro field value if set, zero value otherwise.

func (*ServerInfo) GetMetroOk ¶ added in v0.10.0

func (o *ServerInfo) GetMetroOk() (*string, bool)

GetMetroOk returns a tuple with the Metro field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ServerInfo) GetPlan ¶

func (o *ServerInfo) GetPlan() string

GetPlan returns the Plan field value if set, zero value otherwise.

func (*ServerInfo) GetPlanOk ¶

func (o *ServerInfo) GetPlanOk() (*string, bool)

GetPlanOk returns a tuple with the Plan field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ServerInfo) GetQuantity ¶

func (o *ServerInfo) GetQuantity() string

GetQuantity returns the Quantity field value if set, zero value otherwise.

func (*ServerInfo) GetQuantityOk ¶

func (o *ServerInfo) GetQuantityOk() (*string, bool)

GetQuantityOk returns a tuple with the Quantity field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ServerInfo) HasFacility ¶

func (o *ServerInfo) HasFacility() bool

HasFacility returns a boolean if a field has been set.

func (*ServerInfo) HasMetro ¶ added in v0.10.0

func (o *ServerInfo) HasMetro() bool

HasMetro returns a boolean if a field has been set.

func (*ServerInfo) HasPlan ¶

func (o *ServerInfo) HasPlan() bool

HasPlan returns a boolean if a field has been set.

func (*ServerInfo) HasQuantity ¶

func (o *ServerInfo) HasQuantity() bool

HasQuantity returns a boolean if a field has been set.

func (ServerInfo) MarshalJSON ¶

func (o ServerInfo) MarshalJSON() ([]byte, error)

func (*ServerInfo) SetFacility ¶

func (o *ServerInfo) SetFacility(v string)

SetFacility gets a reference to the given string and assigns it to the Facility field. Deprecated

func (*ServerInfo) SetMetro ¶ added in v0.10.0

func (o *ServerInfo) SetMetro(v string)

SetMetro gets a reference to the given string and assigns it to the Metro field.

func (*ServerInfo) SetPlan ¶

func (o *ServerInfo) SetPlan(v string)

SetPlan gets a reference to the given string and assigns it to the Plan field.

func (*ServerInfo) SetQuantity ¶

func (o *ServerInfo) SetQuantity(v string)

SetQuantity gets a reference to the given string and assigns it to the Quantity field.

func (ServerInfo) ToMap ¶ added in v0.4.0

func (o ServerInfo) ToMap() (map[string]interface{}, error)

func (*ServerInfo) UnmarshalJSON ¶ added in v0.7.0

func (o *ServerInfo) UnmarshalJSON(bytes []byte) (err error)

type ServerVariable ¶

type ServerVariable struct {
	Description  string
	DefaultValue string
	EnumValues   []string
}

ServerVariable stores the information about a server variable

type SpotMarketApiService ¶

type SpotMarketApiService service

SpotMarketApiService SpotMarketApi service

func (*SpotMarketApiService) CreateSpotMarketRequest ¶

func (a *SpotMarketApiService) CreateSpotMarketRequest(ctx context.Context, id string) ApiCreateSpotMarketRequestRequest

CreateSpotMarketRequest Create a spot market request

Creates a new spot market request.

Type-specific options (such as operating_system for baremetal devices) should be included in the main data structure alongside hostname and plan.

The features attribute allows you to optionally specify what features your server should have. For example, if you require a server with a TPM chip, you may specify `{ "features": { "tpm": "required" } }` (or `{ "features": ["tpm"] }` in shorthand).

The request will fail if there are no available servers matching your criteria. Alternatively, if you do not require a certain feature, but would prefer to be assigned a server with that feature if there are any available, you may specify that feature with a preferred value (see the example request below).

The request will not fail if we have no servers with that feature in our inventory.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param id Project UUID
@return ApiCreateSpotMarketRequestRequest

func (*SpotMarketApiService) CreateSpotMarketRequestExecute ¶

Execute executes the request

@return SpotMarketRequest

func (*SpotMarketApiService) DeleteSpotMarketRequest ¶

func (a *SpotMarketApiService) DeleteSpotMarketRequest(ctx context.Context, id string) ApiDeleteSpotMarketRequestRequest

DeleteSpotMarketRequest Delete the spot market request

Deletes the spot market request.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param id SpotMarketRequest UUID
@return ApiDeleteSpotMarketRequestRequest

func (*SpotMarketApiService) DeleteSpotMarketRequestExecute ¶

func (a *SpotMarketApiService) DeleteSpotMarketRequestExecute(r ApiDeleteSpotMarketRequestRequest) (*http.Response, error)

Execute executes the request

func (*SpotMarketApiService) FindMetroSpotMarketPrices ¶

func (a *SpotMarketApiService) FindMetroSpotMarketPrices(ctx context.Context) ApiFindMetroSpotMarketPricesRequest

FindMetroSpotMarketPrices Get current spot market prices for metros

Get Equinix Metal current spot market prices for all metros.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@return ApiFindMetroSpotMarketPricesRequest

func (*SpotMarketApiService) FindMetroSpotMarketPricesExecute ¶

Execute executes the request

@return SpotMarketPricesPerMetroList

func (*SpotMarketApiService) FindSpotMarketPrices ¶

FindSpotMarketPrices Get current spot market prices

Get Equinix Metal current spot market prices.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@return ApiFindSpotMarketPricesRequest

func (*SpotMarketApiService) FindSpotMarketPricesExecute ¶

Execute executes the request

@return SpotMarketPricesList

func (*SpotMarketApiService) FindSpotMarketPricesHistory ¶

func (a *SpotMarketApiService) FindSpotMarketPricesHistory(ctx context.Context) ApiFindSpotMarketPricesHistoryRequest

FindSpotMarketPricesHistory Get spot market prices for a given period of time

Get spot market prices for a given plan and facility in a fixed period of time ¶

*Note: In the `200` response, the property `datapoints` contains arrays of `[float, integer]`.*

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@return ApiFindSpotMarketPricesHistoryRequest

func (*SpotMarketApiService) FindSpotMarketPricesHistoryExecute ¶

Execute executes the request

@return SpotPricesHistoryReport

func (*SpotMarketApiService) FindSpotMarketRequestById ¶

func (a *SpotMarketApiService) FindSpotMarketRequestById(ctx context.Context, id string) ApiFindSpotMarketRequestByIdRequest

FindSpotMarketRequestById Retrieve a spot market request

Returns a single spot market request

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param id SpotMarketRequest UUID
@return ApiFindSpotMarketRequestByIdRequest

func (*SpotMarketApiService) FindSpotMarketRequestByIdExecute ¶

Execute executes the request

@return SpotMarketRequest

func (*SpotMarketApiService) ListSpotMarketRequests ¶

func (a *SpotMarketApiService) ListSpotMarketRequests(ctx context.Context, id string) ApiListSpotMarketRequestsRequest

ListSpotMarketRequests List spot market requests

View all spot market requests for a given project.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param id Project UUID
@return ApiListSpotMarketRequestsRequest

func (*SpotMarketApiService) ListSpotMarketRequestsExecute ¶

Execute executes the request

@return SpotMarketRequestList

type SpotMarketPricesList ¶

type SpotMarketPricesList struct {
	SpotMarketPrices     *SpotPricesReport `json:"spot_market_prices,omitempty"`
	AdditionalProperties map[string]interface{}
}

SpotMarketPricesList struct for SpotMarketPricesList

func NewSpotMarketPricesList ¶

func NewSpotMarketPricesList() *SpotMarketPricesList

NewSpotMarketPricesList instantiates a new SpotMarketPricesList object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewSpotMarketPricesListWithDefaults ¶

func NewSpotMarketPricesListWithDefaults() *SpotMarketPricesList

NewSpotMarketPricesListWithDefaults instantiates a new SpotMarketPricesList object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*SpotMarketPricesList) GetSpotMarketPrices ¶

func (o *SpotMarketPricesList) GetSpotMarketPrices() SpotPricesReport

GetSpotMarketPrices returns the SpotMarketPrices field value if set, zero value otherwise.

func (*SpotMarketPricesList) GetSpotMarketPricesOk ¶

func (o *SpotMarketPricesList) GetSpotMarketPricesOk() (*SpotPricesReport, bool)

GetSpotMarketPricesOk returns a tuple with the SpotMarketPrices field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SpotMarketPricesList) HasSpotMarketPrices ¶

func (o *SpotMarketPricesList) HasSpotMarketPrices() bool

HasSpotMarketPrices returns a boolean if a field has been set.

func (SpotMarketPricesList) MarshalJSON ¶

func (o SpotMarketPricesList) MarshalJSON() ([]byte, error)

func (*SpotMarketPricesList) SetSpotMarketPrices ¶

func (o *SpotMarketPricesList) SetSpotMarketPrices(v SpotPricesReport)

SetSpotMarketPrices gets a reference to the given SpotPricesReport and assigns it to the SpotMarketPrices field.

func (SpotMarketPricesList) ToMap ¶ added in v0.4.0

func (o SpotMarketPricesList) ToMap() (map[string]interface{}, error)

func (*SpotMarketPricesList) UnmarshalJSON ¶ added in v0.7.0

func (o *SpotMarketPricesList) UnmarshalJSON(bytes []byte) (err error)

type SpotMarketPricesPerMetroList ¶

type SpotMarketPricesPerMetroList struct {
	SpotMarketPrices     *SpotMarketPricesPerMetroReport `json:"spot_market_prices,omitempty"`
	AdditionalProperties map[string]interface{}
}

SpotMarketPricesPerMetroList struct for SpotMarketPricesPerMetroList

func NewSpotMarketPricesPerMetroList ¶

func NewSpotMarketPricesPerMetroList() *SpotMarketPricesPerMetroList

NewSpotMarketPricesPerMetroList instantiates a new SpotMarketPricesPerMetroList object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewSpotMarketPricesPerMetroListWithDefaults ¶

func NewSpotMarketPricesPerMetroListWithDefaults() *SpotMarketPricesPerMetroList

NewSpotMarketPricesPerMetroListWithDefaults instantiates a new SpotMarketPricesPerMetroList object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*SpotMarketPricesPerMetroList) GetSpotMarketPrices ¶

GetSpotMarketPrices returns the SpotMarketPrices field value if set, zero value otherwise.

func (*SpotMarketPricesPerMetroList) GetSpotMarketPricesOk ¶

func (o *SpotMarketPricesPerMetroList) GetSpotMarketPricesOk() (*SpotMarketPricesPerMetroReport, bool)

GetSpotMarketPricesOk returns a tuple with the SpotMarketPrices field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SpotMarketPricesPerMetroList) HasSpotMarketPrices ¶

func (o *SpotMarketPricesPerMetroList) HasSpotMarketPrices() bool

HasSpotMarketPrices returns a boolean if a field has been set.

func (SpotMarketPricesPerMetroList) MarshalJSON ¶

func (o SpotMarketPricesPerMetroList) MarshalJSON() ([]byte, error)

func (*SpotMarketPricesPerMetroList) SetSpotMarketPrices ¶

SetSpotMarketPrices gets a reference to the given SpotMarketPricesPerMetroReport and assigns it to the SpotMarketPrices field.

func (SpotMarketPricesPerMetroList) ToMap ¶ added in v0.4.0

func (o SpotMarketPricesPerMetroList) ToMap() (map[string]interface{}, error)

func (*SpotMarketPricesPerMetroList) UnmarshalJSON ¶ added in v0.7.0

func (o *SpotMarketPricesPerMetroList) UnmarshalJSON(bytes []byte) (err error)

type SpotMarketPricesPerMetroReport ¶

type SpotMarketPricesPerMetroReport struct {
	Am                   *SpotPricesPerFacility `json:"am,omitempty"`
	Ch                   *SpotPricesPerFacility `json:"ch,omitempty"`
	Da                   *SpotPricesPerFacility `json:"da,omitempty"`
	La                   *SpotPricesPerFacility `json:"la,omitempty"`
	Ny                   *SpotPricesPerFacility `json:"ny,omitempty"`
	Sg                   *SpotPricesPerFacility `json:"sg,omitempty"`
	Sv                   *SpotPricesPerFacility `json:"sv,omitempty"`
	AdditionalProperties map[string]interface{}
}

SpotMarketPricesPerMetroReport struct for SpotMarketPricesPerMetroReport

func NewSpotMarketPricesPerMetroReport ¶

func NewSpotMarketPricesPerMetroReport() *SpotMarketPricesPerMetroReport

NewSpotMarketPricesPerMetroReport instantiates a new SpotMarketPricesPerMetroReport object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewSpotMarketPricesPerMetroReportWithDefaults ¶

func NewSpotMarketPricesPerMetroReportWithDefaults() *SpotMarketPricesPerMetroReport

NewSpotMarketPricesPerMetroReportWithDefaults instantiates a new SpotMarketPricesPerMetroReport object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*SpotMarketPricesPerMetroReport) GetAm ¶

GetAm returns the Am field value if set, zero value otherwise.

func (*SpotMarketPricesPerMetroReport) GetAmOk ¶

GetAmOk returns a tuple with the Am field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SpotMarketPricesPerMetroReport) GetCh ¶

GetCh returns the Ch field value if set, zero value otherwise.

func (*SpotMarketPricesPerMetroReport) GetChOk ¶

GetChOk returns a tuple with the Ch field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SpotMarketPricesPerMetroReport) GetDa ¶

GetDa returns the Da field value if set, zero value otherwise.

func (*SpotMarketPricesPerMetroReport) GetDaOk ¶

GetDaOk returns a tuple with the Da field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SpotMarketPricesPerMetroReport) GetLa ¶

GetLa returns the La field value if set, zero value otherwise.

func (*SpotMarketPricesPerMetroReport) GetLaOk ¶

GetLaOk returns a tuple with the La field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SpotMarketPricesPerMetroReport) GetNy ¶

GetNy returns the Ny field value if set, zero value otherwise.

func (*SpotMarketPricesPerMetroReport) GetNyOk ¶

GetNyOk returns a tuple with the Ny field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SpotMarketPricesPerMetroReport) GetSg ¶

GetSg returns the Sg field value if set, zero value otherwise.

func (*SpotMarketPricesPerMetroReport) GetSgOk ¶

GetSgOk returns a tuple with the Sg field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SpotMarketPricesPerMetroReport) GetSv ¶

GetSv returns the Sv field value if set, zero value otherwise.

func (*SpotMarketPricesPerMetroReport) GetSvOk ¶

GetSvOk returns a tuple with the Sv field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SpotMarketPricesPerMetroReport) HasAm ¶

HasAm returns a boolean if a field has been set.

func (*SpotMarketPricesPerMetroReport) HasCh ¶

HasCh returns a boolean if a field has been set.

func (*SpotMarketPricesPerMetroReport) HasDa ¶

HasDa returns a boolean if a field has been set.

func (*SpotMarketPricesPerMetroReport) HasLa ¶

HasLa returns a boolean if a field has been set.

func (*SpotMarketPricesPerMetroReport) HasNy ¶

HasNy returns a boolean if a field has been set.

func (*SpotMarketPricesPerMetroReport) HasSg ¶

HasSg returns a boolean if a field has been set.

func (*SpotMarketPricesPerMetroReport) HasSv ¶

HasSv returns a boolean if a field has been set.

func (SpotMarketPricesPerMetroReport) MarshalJSON ¶

func (o SpotMarketPricesPerMetroReport) MarshalJSON() ([]byte, error)

func (*SpotMarketPricesPerMetroReport) SetAm ¶

SetAm gets a reference to the given SpotPricesPerFacility and assigns it to the Am field.

func (*SpotMarketPricesPerMetroReport) SetCh ¶

SetCh gets a reference to the given SpotPricesPerFacility and assigns it to the Ch field.

func (*SpotMarketPricesPerMetroReport) SetDa ¶

SetDa gets a reference to the given SpotPricesPerFacility and assigns it to the Da field.

func (*SpotMarketPricesPerMetroReport) SetLa ¶

SetLa gets a reference to the given SpotPricesPerFacility and assigns it to the La field.

func (*SpotMarketPricesPerMetroReport) SetNy ¶

SetNy gets a reference to the given SpotPricesPerFacility and assigns it to the Ny field.

func (*SpotMarketPricesPerMetroReport) SetSg ¶

SetSg gets a reference to the given SpotPricesPerFacility and assigns it to the Sg field.

func (*SpotMarketPricesPerMetroReport) SetSv ¶

SetSv gets a reference to the given SpotPricesPerFacility and assigns it to the Sv field.

func (SpotMarketPricesPerMetroReport) ToMap ¶ added in v0.4.0

func (o SpotMarketPricesPerMetroReport) ToMap() (map[string]interface{}, error)

func (*SpotMarketPricesPerMetroReport) UnmarshalJSON ¶ added in v0.7.0

func (o *SpotMarketPricesPerMetroReport) UnmarshalJSON(bytes []byte) (err error)

type SpotMarketRequest ¶

type SpotMarketRequest struct {
	CreatedAt            *time.Time              `json:"created_at,omitempty"`
	DevicesMax           *int32                  `json:"devices_max,omitempty"`
	DevicesMin           *int32                  `json:"devices_min,omitempty"`
	EndAt                *time.Time              `json:"end_at,omitempty"`
	Facilities           *Href                   `json:"facilities,omitempty"`
	Href                 *string                 `json:"href,omitempty"`
	Id                   *string                 `json:"id,omitempty"`
	Instances            *Href                   `json:"instances,omitempty"`
	MaxBidPrice          *float32                `json:"max_bid_price,omitempty"`
	Metro                *SpotMarketRequestMetro `json:"metro,omitempty"`
	Project              *Href                   `json:"project,omitempty"`
	AdditionalProperties map[string]interface{}
}

SpotMarketRequest struct for SpotMarketRequest

func NewSpotMarketRequest ¶

func NewSpotMarketRequest() *SpotMarketRequest

NewSpotMarketRequest instantiates a new SpotMarketRequest object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewSpotMarketRequestWithDefaults ¶

func NewSpotMarketRequestWithDefaults() *SpotMarketRequest

NewSpotMarketRequestWithDefaults instantiates a new SpotMarketRequest object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*SpotMarketRequest) GetCreatedAt ¶

func (o *SpotMarketRequest) GetCreatedAt() time.Time

GetCreatedAt returns the CreatedAt field value if set, zero value otherwise.

func (*SpotMarketRequest) GetCreatedAtOk ¶

func (o *SpotMarketRequest) GetCreatedAtOk() (*time.Time, bool)

GetCreatedAtOk returns a tuple with the CreatedAt field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SpotMarketRequest) GetDevicesMax ¶

func (o *SpotMarketRequest) GetDevicesMax() int32

GetDevicesMax returns the DevicesMax field value if set, zero value otherwise.

func (*SpotMarketRequest) GetDevicesMaxOk ¶

func (o *SpotMarketRequest) GetDevicesMaxOk() (*int32, bool)

GetDevicesMaxOk returns a tuple with the DevicesMax field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SpotMarketRequest) GetDevicesMin ¶

func (o *SpotMarketRequest) GetDevicesMin() int32

GetDevicesMin returns the DevicesMin field value if set, zero value otherwise.

func (*SpotMarketRequest) GetDevicesMinOk ¶

func (o *SpotMarketRequest) GetDevicesMinOk() (*int32, bool)

GetDevicesMinOk returns a tuple with the DevicesMin field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SpotMarketRequest) GetEndAt ¶

func (o *SpotMarketRequest) GetEndAt() time.Time

GetEndAt returns the EndAt field value if set, zero value otherwise.

func (*SpotMarketRequest) GetEndAtOk ¶

func (o *SpotMarketRequest) GetEndAtOk() (*time.Time, bool)

GetEndAtOk returns a tuple with the EndAt field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SpotMarketRequest) GetFacilities ¶

func (o *SpotMarketRequest) GetFacilities() Href

GetFacilities returns the Facilities field value if set, zero value otherwise.

func (*SpotMarketRequest) GetFacilitiesOk ¶

func (o *SpotMarketRequest) GetFacilitiesOk() (*Href, bool)

GetFacilitiesOk returns a tuple with the Facilities field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SpotMarketRequest) GetHref ¶

func (o *SpotMarketRequest) GetHref() string

GetHref returns the Href field value if set, zero value otherwise.

func (*SpotMarketRequest) GetHrefOk ¶

func (o *SpotMarketRequest) GetHrefOk() (*string, bool)

GetHrefOk returns a tuple with the Href field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SpotMarketRequest) GetId ¶

func (o *SpotMarketRequest) GetId() string

GetId returns the Id field value if set, zero value otherwise.

func (*SpotMarketRequest) GetIdOk ¶

func (o *SpotMarketRequest) GetIdOk() (*string, bool)

GetIdOk returns a tuple with the Id field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SpotMarketRequest) GetInstances ¶

func (o *SpotMarketRequest) GetInstances() Href

GetInstances returns the Instances field value if set, zero value otherwise.

func (*SpotMarketRequest) GetInstancesOk ¶

func (o *SpotMarketRequest) GetInstancesOk() (*Href, bool)

GetInstancesOk returns a tuple with the Instances field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SpotMarketRequest) GetMaxBidPrice ¶

func (o *SpotMarketRequest) GetMaxBidPrice() float32

GetMaxBidPrice returns the MaxBidPrice field value if set, zero value otherwise.

func (*SpotMarketRequest) GetMaxBidPriceOk ¶

func (o *SpotMarketRequest) GetMaxBidPriceOk() (*float32, bool)

GetMaxBidPriceOk returns a tuple with the MaxBidPrice field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SpotMarketRequest) GetMetro ¶

GetMetro returns the Metro field value if set, zero value otherwise.

func (*SpotMarketRequest) GetMetroOk ¶

func (o *SpotMarketRequest) GetMetroOk() (*SpotMarketRequestMetro, bool)

GetMetroOk returns a tuple with the Metro field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SpotMarketRequest) GetProject ¶

func (o *SpotMarketRequest) GetProject() Href

GetProject returns the Project field value if set, zero value otherwise.

func (*SpotMarketRequest) GetProjectOk ¶

func (o *SpotMarketRequest) GetProjectOk() (*Href, bool)

GetProjectOk returns a tuple with the Project field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SpotMarketRequest) HasCreatedAt ¶

func (o *SpotMarketRequest) HasCreatedAt() bool

HasCreatedAt returns a boolean if a field has been set.

func (*SpotMarketRequest) HasDevicesMax ¶

func (o *SpotMarketRequest) HasDevicesMax() bool

HasDevicesMax returns a boolean if a field has been set.

func (*SpotMarketRequest) HasDevicesMin ¶

func (o *SpotMarketRequest) HasDevicesMin() bool

HasDevicesMin returns a boolean if a field has been set.

func (*SpotMarketRequest) HasEndAt ¶

func (o *SpotMarketRequest) HasEndAt() bool

HasEndAt returns a boolean if a field has been set.

func (*SpotMarketRequest) HasFacilities ¶

func (o *SpotMarketRequest) HasFacilities() bool

HasFacilities returns a boolean if a field has been set.

func (*SpotMarketRequest) HasHref ¶

func (o *SpotMarketRequest) HasHref() bool

HasHref returns a boolean if a field has been set.

func (*SpotMarketRequest) HasId ¶

func (o *SpotMarketRequest) HasId() bool

HasId returns a boolean if a field has been set.

func (*SpotMarketRequest) HasInstances ¶

func (o *SpotMarketRequest) HasInstances() bool

HasInstances returns a boolean if a field has been set.

func (*SpotMarketRequest) HasMaxBidPrice ¶

func (o *SpotMarketRequest) HasMaxBidPrice() bool

HasMaxBidPrice returns a boolean if a field has been set.

func (*SpotMarketRequest) HasMetro ¶

func (o *SpotMarketRequest) HasMetro() bool

HasMetro returns a boolean if a field has been set.

func (*SpotMarketRequest) HasProject ¶

func (o *SpotMarketRequest) HasProject() bool

HasProject returns a boolean if a field has been set.

func (SpotMarketRequest) MarshalJSON ¶

func (o SpotMarketRequest) MarshalJSON() ([]byte, error)

func (*SpotMarketRequest) SetCreatedAt ¶

func (o *SpotMarketRequest) SetCreatedAt(v time.Time)

SetCreatedAt gets a reference to the given time.Time and assigns it to the CreatedAt field.

func (*SpotMarketRequest) SetDevicesMax ¶

func (o *SpotMarketRequest) SetDevicesMax(v int32)

SetDevicesMax gets a reference to the given int32 and assigns it to the DevicesMax field.

func (*SpotMarketRequest) SetDevicesMin ¶

func (o *SpotMarketRequest) SetDevicesMin(v int32)

SetDevicesMin gets a reference to the given int32 and assigns it to the DevicesMin field.

func (*SpotMarketRequest) SetEndAt ¶

func (o *SpotMarketRequest) SetEndAt(v time.Time)

SetEndAt gets a reference to the given time.Time and assigns it to the EndAt field.

func (*SpotMarketRequest) SetFacilities ¶

func (o *SpotMarketRequest) SetFacilities(v Href)

SetFacilities gets a reference to the given Href and assigns it to the Facilities field.

func (*SpotMarketRequest) SetHref ¶

func (o *SpotMarketRequest) SetHref(v string)

SetHref gets a reference to the given string and assigns it to the Href field.

func (*SpotMarketRequest) SetId ¶

func (o *SpotMarketRequest) SetId(v string)

SetId gets a reference to the given string and assigns it to the Id field.

func (*SpotMarketRequest) SetInstances ¶

func (o *SpotMarketRequest) SetInstances(v Href)

SetInstances gets a reference to the given Href and assigns it to the Instances field.

func (*SpotMarketRequest) SetMaxBidPrice ¶

func (o *SpotMarketRequest) SetMaxBidPrice(v float32)

SetMaxBidPrice gets a reference to the given float32 and assigns it to the MaxBidPrice field.

func (*SpotMarketRequest) SetMetro ¶

SetMetro gets a reference to the given SpotMarketRequestMetro and assigns it to the Metro field.

func (*SpotMarketRequest) SetProject ¶

func (o *SpotMarketRequest) SetProject(v Href)

SetProject gets a reference to the given Href and assigns it to the Project field.

func (SpotMarketRequest) ToMap ¶ added in v0.4.0

func (o SpotMarketRequest) ToMap() (map[string]interface{}, error)

func (*SpotMarketRequest) UnmarshalJSON ¶ added in v0.7.0

func (o *SpotMarketRequest) UnmarshalJSON(bytes []byte) (err error)

type SpotMarketRequestCreateInput ¶

type SpotMarketRequestCreateInput struct {
	DevicesMax *int32     `json:"devices_max,omitempty"`
	DevicesMin *int32     `json:"devices_min,omitempty"`
	EndAt      *time.Time `json:"end_at,omitempty"`
	// Deprecated
	Facilities         []string                                        `json:"facilities,omitempty"`
	InstanceParameters *SpotMarketRequestCreateInputInstanceParameters `json:"instance_parameters,omitempty"`
	MaxBidPrice        *float32                                        `json:"max_bid_price,omitempty"`
	// The metro ID or code the spot market request will be created in.
	Metro                *string `json:"metro,omitempty"`
	AdditionalProperties map[string]interface{}
}

SpotMarketRequestCreateInput struct for SpotMarketRequestCreateInput

func NewSpotMarketRequestCreateInput ¶

func NewSpotMarketRequestCreateInput() *SpotMarketRequestCreateInput

NewSpotMarketRequestCreateInput instantiates a new SpotMarketRequestCreateInput object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewSpotMarketRequestCreateInputWithDefaults ¶

func NewSpotMarketRequestCreateInputWithDefaults() *SpotMarketRequestCreateInput

NewSpotMarketRequestCreateInputWithDefaults instantiates a new SpotMarketRequestCreateInput object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*SpotMarketRequestCreateInput) GetDevicesMax ¶

func (o *SpotMarketRequestCreateInput) GetDevicesMax() int32

GetDevicesMax returns the DevicesMax field value if set, zero value otherwise.

func (*SpotMarketRequestCreateInput) GetDevicesMaxOk ¶

func (o *SpotMarketRequestCreateInput) GetDevicesMaxOk() (*int32, bool)

GetDevicesMaxOk returns a tuple with the DevicesMax field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SpotMarketRequestCreateInput) GetDevicesMin ¶

func (o *SpotMarketRequestCreateInput) GetDevicesMin() int32

GetDevicesMin returns the DevicesMin field value if set, zero value otherwise.

func (*SpotMarketRequestCreateInput) GetDevicesMinOk ¶

func (o *SpotMarketRequestCreateInput) GetDevicesMinOk() (*int32, bool)

GetDevicesMinOk returns a tuple with the DevicesMin field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SpotMarketRequestCreateInput) GetEndAt ¶

func (o *SpotMarketRequestCreateInput) GetEndAt() time.Time

GetEndAt returns the EndAt field value if set, zero value otherwise.

func (*SpotMarketRequestCreateInput) GetEndAtOk ¶

func (o *SpotMarketRequestCreateInput) GetEndAtOk() (*time.Time, bool)

GetEndAtOk returns a tuple with the EndAt field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SpotMarketRequestCreateInput) GetFacilities ¶

func (o *SpotMarketRequestCreateInput) GetFacilities() []string

GetFacilities returns the Facilities field value if set, zero value otherwise. Deprecated

func (*SpotMarketRequestCreateInput) GetFacilitiesOk ¶

func (o *SpotMarketRequestCreateInput) GetFacilitiesOk() ([]string, bool)

GetFacilitiesOk returns a tuple with the Facilities field value if set, nil otherwise and a boolean to check if the value has been set. Deprecated

func (*SpotMarketRequestCreateInput) GetInstanceParameters ¶ added in v0.8.0

GetInstanceParameters returns the InstanceParameters field value if set, zero value otherwise.

func (*SpotMarketRequestCreateInput) GetInstanceParametersOk ¶ added in v0.8.0

GetInstanceParametersOk returns a tuple with the InstanceParameters field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SpotMarketRequestCreateInput) GetMaxBidPrice ¶

func (o *SpotMarketRequestCreateInput) GetMaxBidPrice() float32

GetMaxBidPrice returns the MaxBidPrice field value if set, zero value otherwise.

func (*SpotMarketRequestCreateInput) GetMaxBidPriceOk ¶

func (o *SpotMarketRequestCreateInput) GetMaxBidPriceOk() (*float32, bool)

GetMaxBidPriceOk returns a tuple with the MaxBidPrice field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SpotMarketRequestCreateInput) GetMetro ¶

func (o *SpotMarketRequestCreateInput) GetMetro() string

GetMetro returns the Metro field value if set, zero value otherwise.

func (*SpotMarketRequestCreateInput) GetMetroOk ¶

func (o *SpotMarketRequestCreateInput) GetMetroOk() (*string, bool)

GetMetroOk returns a tuple with the Metro field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SpotMarketRequestCreateInput) HasDevicesMax ¶

func (o *SpotMarketRequestCreateInput) HasDevicesMax() bool

HasDevicesMax returns a boolean if a field has been set.

func (*SpotMarketRequestCreateInput) HasDevicesMin ¶

func (o *SpotMarketRequestCreateInput) HasDevicesMin() bool

HasDevicesMin returns a boolean if a field has been set.

func (*SpotMarketRequestCreateInput) HasEndAt ¶

func (o *SpotMarketRequestCreateInput) HasEndAt() bool

HasEndAt returns a boolean if a field has been set.

func (*SpotMarketRequestCreateInput) HasFacilities ¶

func (o *SpotMarketRequestCreateInput) HasFacilities() bool

HasFacilities returns a boolean if a field has been set.

func (*SpotMarketRequestCreateInput) HasInstanceParameters ¶ added in v0.8.0

func (o *SpotMarketRequestCreateInput) HasInstanceParameters() bool

HasInstanceParameters returns a boolean if a field has been set.

func (*SpotMarketRequestCreateInput) HasMaxBidPrice ¶

func (o *SpotMarketRequestCreateInput) HasMaxBidPrice() bool

HasMaxBidPrice returns a boolean if a field has been set.

func (*SpotMarketRequestCreateInput) HasMetro ¶

func (o *SpotMarketRequestCreateInput) HasMetro() bool

HasMetro returns a boolean if a field has been set.

func (SpotMarketRequestCreateInput) MarshalJSON ¶

func (o SpotMarketRequestCreateInput) MarshalJSON() ([]byte, error)

func (*SpotMarketRequestCreateInput) SetDevicesMax ¶

func (o *SpotMarketRequestCreateInput) SetDevicesMax(v int32)

SetDevicesMax gets a reference to the given int32 and assigns it to the DevicesMax field.

func (*SpotMarketRequestCreateInput) SetDevicesMin ¶

func (o *SpotMarketRequestCreateInput) SetDevicesMin(v int32)

SetDevicesMin gets a reference to the given int32 and assigns it to the DevicesMin field.

func (*SpotMarketRequestCreateInput) SetEndAt ¶

func (o *SpotMarketRequestCreateInput) SetEndAt(v time.Time)

SetEndAt gets a reference to the given time.Time and assigns it to the EndAt field.

func (*SpotMarketRequestCreateInput) SetFacilities ¶

func (o *SpotMarketRequestCreateInput) SetFacilities(v []string)

SetFacilities gets a reference to the given []string and assigns it to the Facilities field. Deprecated

func (*SpotMarketRequestCreateInput) SetInstanceParameters ¶ added in v0.8.0

SetInstanceParameters gets a reference to the given SpotMarketRequestCreateInputInstanceParameters and assigns it to the InstanceParameters field.

func (*SpotMarketRequestCreateInput) SetMaxBidPrice ¶

func (o *SpotMarketRequestCreateInput) SetMaxBidPrice(v float32)

SetMaxBidPrice gets a reference to the given float32 and assigns it to the MaxBidPrice field.

func (*SpotMarketRequestCreateInput) SetMetro ¶

func (o *SpotMarketRequestCreateInput) SetMetro(v string)

SetMetro gets a reference to the given string and assigns it to the Metro field.

func (SpotMarketRequestCreateInput) ToMap ¶ added in v0.4.0

func (o SpotMarketRequestCreateInput) ToMap() (map[string]interface{}, error)

func (*SpotMarketRequestCreateInput) UnmarshalJSON ¶ added in v0.7.0

func (o *SpotMarketRequestCreateInput) UnmarshalJSON(bytes []byte) (err error)

type SpotMarketRequestCreateInputInstanceParameters ¶ added in v0.8.0

type SpotMarketRequestCreateInputInstanceParameters struct {
	AlwaysPxe    *bool                  `json:"always_pxe,omitempty"`
	BillingCycle *string                `json:"billing_cycle,omitempty"`
	Customdata   map[string]interface{} `json:"customdata,omitempty"`
	Description  *string                `json:"description,omitempty"`
	Features     []string               `json:"features,omitempty"`
	Hostname     *string                `json:"hostname,omitempty"`
	Hostnames    []string               `json:"hostnames,omitempty"`
	// Whether the device should be locked, preventing accidental deletion.
	Locked                *bool      `json:"locked,omitempty"`
	NoSshKeys             *bool      `json:"no_ssh_keys,omitempty"`
	OperatingSystem       *string    `json:"operating_system,omitempty"`
	Plan                  *string    `json:"plan,omitempty"`
	PrivateIpv4SubnetSize *int32     `json:"private_ipv4_subnet_size,omitempty"`
	ProjectSshKeys        []string   `json:"project_ssh_keys,omitempty"`
	PublicIpv4SubnetSize  *int32     `json:"public_ipv4_subnet_size,omitempty"`
	Tags                  []string   `json:"tags,omitempty"`
	TerminationTime       *time.Time `json:"termination_time,omitempty"`
	// The UUIDs of users whose SSH keys should be included on the provisioned device.
	UserSshKeys          []string `json:"user_ssh_keys,omitempty"`
	Userdata             *string  `json:"userdata,omitempty"`
	AdditionalProperties map[string]interface{}
}

SpotMarketRequestCreateInputInstanceParameters struct for SpotMarketRequestCreateInputInstanceParameters

func NewSpotMarketRequestCreateInputInstanceParameters ¶ added in v0.8.0

func NewSpotMarketRequestCreateInputInstanceParameters() *SpotMarketRequestCreateInputInstanceParameters

NewSpotMarketRequestCreateInputInstanceParameters instantiates a new SpotMarketRequestCreateInputInstanceParameters object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewSpotMarketRequestCreateInputInstanceParametersWithDefaults ¶ added in v0.8.0

func NewSpotMarketRequestCreateInputInstanceParametersWithDefaults() *SpotMarketRequestCreateInputInstanceParameters

NewSpotMarketRequestCreateInputInstanceParametersWithDefaults instantiates a new SpotMarketRequestCreateInputInstanceParameters object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*SpotMarketRequestCreateInputInstanceParameters) GetAlwaysPxe ¶ added in v0.8.0

GetAlwaysPxe returns the AlwaysPxe field value if set, zero value otherwise.

func (*SpotMarketRequestCreateInputInstanceParameters) GetAlwaysPxeOk ¶ added in v0.8.0

GetAlwaysPxeOk returns a tuple with the AlwaysPxe field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SpotMarketRequestCreateInputInstanceParameters) GetBillingCycle ¶ added in v0.8.0

GetBillingCycle returns the BillingCycle field value if set, zero value otherwise.

func (*SpotMarketRequestCreateInputInstanceParameters) GetBillingCycleOk ¶ added in v0.8.0

func (o *SpotMarketRequestCreateInputInstanceParameters) GetBillingCycleOk() (*string, bool)

GetBillingCycleOk returns a tuple with the BillingCycle field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SpotMarketRequestCreateInputInstanceParameters) GetCustomdata ¶ added in v0.8.0

func (o *SpotMarketRequestCreateInputInstanceParameters) GetCustomdata() map[string]interface{}

GetCustomdata returns the Customdata field value if set, zero value otherwise.

func (*SpotMarketRequestCreateInputInstanceParameters) GetCustomdataOk ¶ added in v0.8.0

func (o *SpotMarketRequestCreateInputInstanceParameters) GetCustomdataOk() (map[string]interface{}, bool)

GetCustomdataOk returns a tuple with the Customdata field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SpotMarketRequestCreateInputInstanceParameters) GetDescription ¶ added in v0.8.0

GetDescription returns the Description field value if set, zero value otherwise.

func (*SpotMarketRequestCreateInputInstanceParameters) GetDescriptionOk ¶ added in v0.8.0

GetDescriptionOk returns a tuple with the Description field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SpotMarketRequestCreateInputInstanceParameters) GetFeatures ¶ added in v0.8.0

GetFeatures returns the Features field value if set, zero value otherwise.

func (*SpotMarketRequestCreateInputInstanceParameters) GetFeaturesOk ¶ added in v0.8.0

GetFeaturesOk returns a tuple with the Features field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SpotMarketRequestCreateInputInstanceParameters) GetHostname ¶ added in v0.8.0

GetHostname returns the Hostname field value if set, zero value otherwise.

func (*SpotMarketRequestCreateInputInstanceParameters) GetHostnameOk ¶ added in v0.8.0

GetHostnameOk returns a tuple with the Hostname field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SpotMarketRequestCreateInputInstanceParameters) GetHostnames ¶ added in v0.8.0

GetHostnames returns the Hostnames field value if set, zero value otherwise.

func (*SpotMarketRequestCreateInputInstanceParameters) GetHostnamesOk ¶ added in v0.8.0

GetHostnamesOk returns a tuple with the Hostnames field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SpotMarketRequestCreateInputInstanceParameters) GetLocked ¶ added in v0.8.0

GetLocked returns the Locked field value if set, zero value otherwise.

func (*SpotMarketRequestCreateInputInstanceParameters) GetLockedOk ¶ added in v0.8.0

GetLockedOk returns a tuple with the Locked field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SpotMarketRequestCreateInputInstanceParameters) GetNoSshKeys ¶ added in v0.8.0

GetNoSshKeys returns the NoSshKeys field value if set, zero value otherwise.

func (*SpotMarketRequestCreateInputInstanceParameters) GetNoSshKeysOk ¶ added in v0.8.0

GetNoSshKeysOk returns a tuple with the NoSshKeys field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SpotMarketRequestCreateInputInstanceParameters) GetOperatingSystem ¶ added in v0.8.0

GetOperatingSystem returns the OperatingSystem field value if set, zero value otherwise.

func (*SpotMarketRequestCreateInputInstanceParameters) GetOperatingSystemOk ¶ added in v0.8.0

func (o *SpotMarketRequestCreateInputInstanceParameters) GetOperatingSystemOk() (*string, bool)

GetOperatingSystemOk returns a tuple with the OperatingSystem field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SpotMarketRequestCreateInputInstanceParameters) GetPlan ¶ added in v0.8.0

GetPlan returns the Plan field value if set, zero value otherwise.

func (*SpotMarketRequestCreateInputInstanceParameters) GetPlanOk ¶ added in v0.8.0

GetPlanOk returns a tuple with the Plan field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SpotMarketRequestCreateInputInstanceParameters) GetPrivateIpv4SubnetSize ¶ added in v0.8.0

func (o *SpotMarketRequestCreateInputInstanceParameters) GetPrivateIpv4SubnetSize() int32

GetPrivateIpv4SubnetSize returns the PrivateIpv4SubnetSize field value if set, zero value otherwise.

func (*SpotMarketRequestCreateInputInstanceParameters) GetPrivateIpv4SubnetSizeOk ¶ added in v0.8.0

func (o *SpotMarketRequestCreateInputInstanceParameters) GetPrivateIpv4SubnetSizeOk() (*int32, bool)

GetPrivateIpv4SubnetSizeOk returns a tuple with the PrivateIpv4SubnetSize field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SpotMarketRequestCreateInputInstanceParameters) GetProjectSshKeys ¶ added in v0.8.0

func (o *SpotMarketRequestCreateInputInstanceParameters) GetProjectSshKeys() []string

GetProjectSshKeys returns the ProjectSshKeys field value if set, zero value otherwise.

func (*SpotMarketRequestCreateInputInstanceParameters) GetProjectSshKeysOk ¶ added in v0.8.0

func (o *SpotMarketRequestCreateInputInstanceParameters) GetProjectSshKeysOk() ([]string, bool)

GetProjectSshKeysOk returns a tuple with the ProjectSshKeys field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SpotMarketRequestCreateInputInstanceParameters) GetPublicIpv4SubnetSize ¶ added in v0.8.0

func (o *SpotMarketRequestCreateInputInstanceParameters) GetPublicIpv4SubnetSize() int32

GetPublicIpv4SubnetSize returns the PublicIpv4SubnetSize field value if set, zero value otherwise.

func (*SpotMarketRequestCreateInputInstanceParameters) GetPublicIpv4SubnetSizeOk ¶ added in v0.8.0

func (o *SpotMarketRequestCreateInputInstanceParameters) GetPublicIpv4SubnetSizeOk() (*int32, bool)

GetPublicIpv4SubnetSizeOk returns a tuple with the PublicIpv4SubnetSize field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SpotMarketRequestCreateInputInstanceParameters) GetTags ¶ added in v0.8.0

GetTags returns the Tags field value if set, zero value otherwise.

func (*SpotMarketRequestCreateInputInstanceParameters) GetTagsOk ¶ added in v0.8.0

GetTagsOk returns a tuple with the Tags field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SpotMarketRequestCreateInputInstanceParameters) GetTerminationTime ¶ added in v0.8.0

GetTerminationTime returns the TerminationTime field value if set, zero value otherwise.

func (*SpotMarketRequestCreateInputInstanceParameters) GetTerminationTimeOk ¶ added in v0.8.0

func (o *SpotMarketRequestCreateInputInstanceParameters) GetTerminationTimeOk() (*time.Time, bool)

GetTerminationTimeOk returns a tuple with the TerminationTime field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SpotMarketRequestCreateInputInstanceParameters) GetUserSshKeys ¶ added in v0.8.0

GetUserSshKeys returns the UserSshKeys field value if set, zero value otherwise.

func (*SpotMarketRequestCreateInputInstanceParameters) GetUserSshKeysOk ¶ added in v0.8.0

func (o *SpotMarketRequestCreateInputInstanceParameters) GetUserSshKeysOk() ([]string, bool)

GetUserSshKeysOk returns a tuple with the UserSshKeys field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SpotMarketRequestCreateInputInstanceParameters) GetUserdata ¶ added in v0.8.0

GetUserdata returns the Userdata field value if set, zero value otherwise.

func (*SpotMarketRequestCreateInputInstanceParameters) GetUserdataOk ¶ added in v0.8.0

GetUserdataOk returns a tuple with the Userdata field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SpotMarketRequestCreateInputInstanceParameters) HasAlwaysPxe ¶ added in v0.8.0

HasAlwaysPxe returns a boolean if a field has been set.

func (*SpotMarketRequestCreateInputInstanceParameters) HasBillingCycle ¶ added in v0.8.0

HasBillingCycle returns a boolean if a field has been set.

func (*SpotMarketRequestCreateInputInstanceParameters) HasCustomdata ¶ added in v0.8.0

HasCustomdata returns a boolean if a field has been set.

func (*SpotMarketRequestCreateInputInstanceParameters) HasDescription ¶ added in v0.8.0

HasDescription returns a boolean if a field has been set.

func (*SpotMarketRequestCreateInputInstanceParameters) HasFeatures ¶ added in v0.8.0

HasFeatures returns a boolean if a field has been set.

func (*SpotMarketRequestCreateInputInstanceParameters) HasHostname ¶ added in v0.8.0

HasHostname returns a boolean if a field has been set.

func (*SpotMarketRequestCreateInputInstanceParameters) HasHostnames ¶ added in v0.8.0

HasHostnames returns a boolean if a field has been set.

func (*SpotMarketRequestCreateInputInstanceParameters) HasLocked ¶ added in v0.8.0

HasLocked returns a boolean if a field has been set.

func (*SpotMarketRequestCreateInputInstanceParameters) HasNoSshKeys ¶ added in v0.8.0

HasNoSshKeys returns a boolean if a field has been set.

func (*SpotMarketRequestCreateInputInstanceParameters) HasOperatingSystem ¶ added in v0.8.0

func (o *SpotMarketRequestCreateInputInstanceParameters) HasOperatingSystem() bool

HasOperatingSystem returns a boolean if a field has been set.

func (*SpotMarketRequestCreateInputInstanceParameters) HasPlan ¶ added in v0.8.0

HasPlan returns a boolean if a field has been set.

func (*SpotMarketRequestCreateInputInstanceParameters) HasPrivateIpv4SubnetSize ¶ added in v0.8.0

func (o *SpotMarketRequestCreateInputInstanceParameters) HasPrivateIpv4SubnetSize() bool

HasPrivateIpv4SubnetSize returns a boolean if a field has been set.

func (*SpotMarketRequestCreateInputInstanceParameters) HasProjectSshKeys ¶ added in v0.8.0

HasProjectSshKeys returns a boolean if a field has been set.

func (*SpotMarketRequestCreateInputInstanceParameters) HasPublicIpv4SubnetSize ¶ added in v0.8.0

func (o *SpotMarketRequestCreateInputInstanceParameters) HasPublicIpv4SubnetSize() bool

HasPublicIpv4SubnetSize returns a boolean if a field has been set.

func (*SpotMarketRequestCreateInputInstanceParameters) HasTags ¶ added in v0.8.0

HasTags returns a boolean if a field has been set.

func (*SpotMarketRequestCreateInputInstanceParameters) HasTerminationTime ¶ added in v0.8.0

func (o *SpotMarketRequestCreateInputInstanceParameters) HasTerminationTime() bool

HasTerminationTime returns a boolean if a field has been set.

func (*SpotMarketRequestCreateInputInstanceParameters) HasUserSshKeys ¶ added in v0.8.0

HasUserSshKeys returns a boolean if a field has been set.

func (*SpotMarketRequestCreateInputInstanceParameters) HasUserdata ¶ added in v0.8.0

HasUserdata returns a boolean if a field has been set.

func (SpotMarketRequestCreateInputInstanceParameters) MarshalJSON ¶ added in v0.8.0

func (*SpotMarketRequestCreateInputInstanceParameters) SetAlwaysPxe ¶ added in v0.8.0

SetAlwaysPxe gets a reference to the given bool and assigns it to the AlwaysPxe field.

func (*SpotMarketRequestCreateInputInstanceParameters) SetBillingCycle ¶ added in v0.8.0

SetBillingCycle gets a reference to the given string and assigns it to the BillingCycle field.

func (*SpotMarketRequestCreateInputInstanceParameters) SetCustomdata ¶ added in v0.8.0

func (o *SpotMarketRequestCreateInputInstanceParameters) SetCustomdata(v map[string]interface{})

SetCustomdata gets a reference to the given map[string]interface{} and assigns it to the Customdata field.

func (*SpotMarketRequestCreateInputInstanceParameters) SetDescription ¶ added in v0.8.0

SetDescription gets a reference to the given string and assigns it to the Description field.

func (*SpotMarketRequestCreateInputInstanceParameters) SetFeatures ¶ added in v0.8.0

SetFeatures gets a reference to the given []string and assigns it to the Features field.

func (*SpotMarketRequestCreateInputInstanceParameters) SetHostname ¶ added in v0.8.0

SetHostname gets a reference to the given string and assigns it to the Hostname field.

func (*SpotMarketRequestCreateInputInstanceParameters) SetHostnames ¶ added in v0.8.0

SetHostnames gets a reference to the given []string and assigns it to the Hostnames field.

func (*SpotMarketRequestCreateInputInstanceParameters) SetLocked ¶ added in v0.8.0

SetLocked gets a reference to the given bool and assigns it to the Locked field.

func (*SpotMarketRequestCreateInputInstanceParameters) SetNoSshKeys ¶ added in v0.8.0

SetNoSshKeys gets a reference to the given bool and assigns it to the NoSshKeys field.

func (*SpotMarketRequestCreateInputInstanceParameters) SetOperatingSystem ¶ added in v0.8.0

func (o *SpotMarketRequestCreateInputInstanceParameters) SetOperatingSystem(v string)

SetOperatingSystem gets a reference to the given string and assigns it to the OperatingSystem field.

func (*SpotMarketRequestCreateInputInstanceParameters) SetPlan ¶ added in v0.8.0

SetPlan gets a reference to the given string and assigns it to the Plan field.

func (*SpotMarketRequestCreateInputInstanceParameters) SetPrivateIpv4SubnetSize ¶ added in v0.8.0

func (o *SpotMarketRequestCreateInputInstanceParameters) SetPrivateIpv4SubnetSize(v int32)

SetPrivateIpv4SubnetSize gets a reference to the given int32 and assigns it to the PrivateIpv4SubnetSize field.

func (*SpotMarketRequestCreateInputInstanceParameters) SetProjectSshKeys ¶ added in v0.8.0

func (o *SpotMarketRequestCreateInputInstanceParameters) SetProjectSshKeys(v []string)

SetProjectSshKeys gets a reference to the given []string and assigns it to the ProjectSshKeys field.

func (*SpotMarketRequestCreateInputInstanceParameters) SetPublicIpv4SubnetSize ¶ added in v0.8.0

func (o *SpotMarketRequestCreateInputInstanceParameters) SetPublicIpv4SubnetSize(v int32)

SetPublicIpv4SubnetSize gets a reference to the given int32 and assigns it to the PublicIpv4SubnetSize field.

func (*SpotMarketRequestCreateInputInstanceParameters) SetTags ¶ added in v0.8.0

SetTags gets a reference to the given []string and assigns it to the Tags field.

func (*SpotMarketRequestCreateInputInstanceParameters) SetTerminationTime ¶ added in v0.8.0

func (o *SpotMarketRequestCreateInputInstanceParameters) SetTerminationTime(v time.Time)

SetTerminationTime gets a reference to the given time.Time and assigns it to the TerminationTime field.

func (*SpotMarketRequestCreateInputInstanceParameters) SetUserSshKeys ¶ added in v0.8.0

SetUserSshKeys gets a reference to the given []string and assigns it to the UserSshKeys field.

func (*SpotMarketRequestCreateInputInstanceParameters) SetUserdata ¶ added in v0.8.0

SetUserdata gets a reference to the given string and assigns it to the Userdata field.

func (SpotMarketRequestCreateInputInstanceParameters) ToMap ¶ added in v0.8.0

func (o SpotMarketRequestCreateInputInstanceParameters) ToMap() (map[string]interface{}, error)

func (*SpotMarketRequestCreateInputInstanceParameters) UnmarshalJSON ¶ added in v0.8.0

func (o *SpotMarketRequestCreateInputInstanceParameters) UnmarshalJSON(bytes []byte) (err error)

type SpotMarketRequestList ¶

type SpotMarketRequestList struct {
	SpotMarketRequests   []SpotMarketRequest `json:"spot_market_requests,omitempty"`
	AdditionalProperties map[string]interface{}
}

SpotMarketRequestList struct for SpotMarketRequestList

func NewSpotMarketRequestList ¶

func NewSpotMarketRequestList() *SpotMarketRequestList

NewSpotMarketRequestList instantiates a new SpotMarketRequestList object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewSpotMarketRequestListWithDefaults ¶

func NewSpotMarketRequestListWithDefaults() *SpotMarketRequestList

NewSpotMarketRequestListWithDefaults instantiates a new SpotMarketRequestList object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*SpotMarketRequestList) GetSpotMarketRequests ¶

func (o *SpotMarketRequestList) GetSpotMarketRequests() []SpotMarketRequest

GetSpotMarketRequests returns the SpotMarketRequests field value if set, zero value otherwise.

func (*SpotMarketRequestList) GetSpotMarketRequestsOk ¶

func (o *SpotMarketRequestList) GetSpotMarketRequestsOk() ([]SpotMarketRequest, bool)

GetSpotMarketRequestsOk returns a tuple with the SpotMarketRequests field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SpotMarketRequestList) HasSpotMarketRequests ¶

func (o *SpotMarketRequestList) HasSpotMarketRequests() bool

HasSpotMarketRequests returns a boolean if a field has been set.

func (SpotMarketRequestList) MarshalJSON ¶

func (o SpotMarketRequestList) MarshalJSON() ([]byte, error)

func (*SpotMarketRequestList) SetSpotMarketRequests ¶

func (o *SpotMarketRequestList) SetSpotMarketRequests(v []SpotMarketRequest)

SetSpotMarketRequests gets a reference to the given []SpotMarketRequest and assigns it to the SpotMarketRequests field.

func (SpotMarketRequestList) ToMap ¶ added in v0.4.0

func (o SpotMarketRequestList) ToMap() (map[string]interface{}, error)

func (*SpotMarketRequestList) UnmarshalJSON ¶ added in v0.7.0

func (o *SpotMarketRequestList) UnmarshalJSON(bytes []byte) (err error)

type SpotMarketRequestMetro ¶ added in v0.4.0

type SpotMarketRequestMetro struct {
	Code                 *string `json:"code,omitempty"`
	Country              *string `json:"country,omitempty"`
	Id                   *string `json:"id,omitempty"`
	Name                 *string `json:"name,omitempty"`
	AdditionalProperties map[string]interface{}
}

SpotMarketRequestMetro struct for SpotMarketRequestMetro

func NewSpotMarketRequestMetro ¶ added in v0.4.0

func NewSpotMarketRequestMetro() *SpotMarketRequestMetro

NewSpotMarketRequestMetro instantiates a new SpotMarketRequestMetro object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewSpotMarketRequestMetroWithDefaults ¶ added in v0.4.0

func NewSpotMarketRequestMetroWithDefaults() *SpotMarketRequestMetro

NewSpotMarketRequestMetroWithDefaults instantiates a new SpotMarketRequestMetro object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*SpotMarketRequestMetro) GetCode ¶ added in v0.4.0

func (o *SpotMarketRequestMetro) GetCode() string

GetCode returns the Code field value if set, zero value otherwise.

func (*SpotMarketRequestMetro) GetCodeOk ¶ added in v0.4.0

func (o *SpotMarketRequestMetro) GetCodeOk() (*string, bool)

GetCodeOk returns a tuple with the Code field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SpotMarketRequestMetro) GetCountry ¶ added in v0.4.0

func (o *SpotMarketRequestMetro) GetCountry() string

GetCountry returns the Country field value if set, zero value otherwise.

func (*SpotMarketRequestMetro) GetCountryOk ¶ added in v0.4.0

func (o *SpotMarketRequestMetro) GetCountryOk() (*string, bool)

GetCountryOk returns a tuple with the Country field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SpotMarketRequestMetro) GetId ¶ added in v0.4.0

func (o *SpotMarketRequestMetro) GetId() string

GetId returns the Id field value if set, zero value otherwise.

func (*SpotMarketRequestMetro) GetIdOk ¶ added in v0.4.0

func (o *SpotMarketRequestMetro) GetIdOk() (*string, bool)

GetIdOk returns a tuple with the Id field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SpotMarketRequestMetro) GetName ¶ added in v0.4.0

func (o *SpotMarketRequestMetro) GetName() string

GetName returns the Name field value if set, zero value otherwise.

func (*SpotMarketRequestMetro) GetNameOk ¶ added in v0.4.0

func (o *SpotMarketRequestMetro) GetNameOk() (*string, bool)

GetNameOk returns a tuple with the Name field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SpotMarketRequestMetro) HasCode ¶ added in v0.4.0

func (o *SpotMarketRequestMetro) HasCode() bool

HasCode returns a boolean if a field has been set.

func (*SpotMarketRequestMetro) HasCountry ¶ added in v0.4.0

func (o *SpotMarketRequestMetro) HasCountry() bool

HasCountry returns a boolean if a field has been set.

func (*SpotMarketRequestMetro) HasId ¶ added in v0.4.0

func (o *SpotMarketRequestMetro) HasId() bool

HasId returns a boolean if a field has been set.

func (*SpotMarketRequestMetro) HasName ¶ added in v0.4.0

func (o *SpotMarketRequestMetro) HasName() bool

HasName returns a boolean if a field has been set.

func (SpotMarketRequestMetro) MarshalJSON ¶ added in v0.4.0

func (o SpotMarketRequestMetro) MarshalJSON() ([]byte, error)

func (*SpotMarketRequestMetro) SetCode ¶ added in v0.4.0

func (o *SpotMarketRequestMetro) SetCode(v string)

SetCode gets a reference to the given string and assigns it to the Code field.

func (*SpotMarketRequestMetro) SetCountry ¶ added in v0.4.0

func (o *SpotMarketRequestMetro) SetCountry(v string)

SetCountry gets a reference to the given string and assigns it to the Country field.

func (*SpotMarketRequestMetro) SetId ¶ added in v0.4.0

func (o *SpotMarketRequestMetro) SetId(v string)

SetId gets a reference to the given string and assigns it to the Id field.

func (*SpotMarketRequestMetro) SetName ¶ added in v0.4.0

func (o *SpotMarketRequestMetro) SetName(v string)

SetName gets a reference to the given string and assigns it to the Name field.

func (SpotMarketRequestMetro) ToMap ¶ added in v0.4.0

func (o SpotMarketRequestMetro) ToMap() (map[string]interface{}, error)

func (*SpotMarketRequestMetro) UnmarshalJSON ¶ added in v0.7.0

func (o *SpotMarketRequestMetro) UnmarshalJSON(bytes []byte) (err error)

type SpotPricesDatapoints ¶

type SpotPricesDatapoints struct {
	Datapoints           [][]float32 `json:"datapoints,omitempty"`
	AdditionalProperties map[string]interface{}
}

SpotPricesDatapoints struct for SpotPricesDatapoints

func NewSpotPricesDatapoints ¶

func NewSpotPricesDatapoints() *SpotPricesDatapoints

NewSpotPricesDatapoints instantiates a new SpotPricesDatapoints object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewSpotPricesDatapointsWithDefaults ¶

func NewSpotPricesDatapointsWithDefaults() *SpotPricesDatapoints

NewSpotPricesDatapointsWithDefaults instantiates a new SpotPricesDatapoints object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*SpotPricesDatapoints) GetDatapoints ¶

func (o *SpotPricesDatapoints) GetDatapoints() [][]float32

GetDatapoints returns the Datapoints field value if set, zero value otherwise.

func (*SpotPricesDatapoints) GetDatapointsOk ¶

func (o *SpotPricesDatapoints) GetDatapointsOk() ([][]float32, bool)

GetDatapointsOk returns a tuple with the Datapoints field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SpotPricesDatapoints) HasDatapoints ¶

func (o *SpotPricesDatapoints) HasDatapoints() bool

HasDatapoints returns a boolean if a field has been set.

func (SpotPricesDatapoints) MarshalJSON ¶

func (o SpotPricesDatapoints) MarshalJSON() ([]byte, error)

func (*SpotPricesDatapoints) SetDatapoints ¶

func (o *SpotPricesDatapoints) SetDatapoints(v [][]float32)

SetDatapoints gets a reference to the given [][]float32 and assigns it to the Datapoints field.

func (SpotPricesDatapoints) ToMap ¶ added in v0.4.0

func (o SpotPricesDatapoints) ToMap() (map[string]interface{}, error)

func (*SpotPricesDatapoints) UnmarshalJSON ¶ added in v0.7.0

func (o *SpotPricesDatapoints) UnmarshalJSON(bytes []byte) (err error)

type SpotPricesHistoryReport ¶

type SpotPricesHistoryReport struct {
	PricesHistory        *SpotPricesDatapoints `json:"prices_history,omitempty"`
	AdditionalProperties map[string]interface{}
}

SpotPricesHistoryReport struct for SpotPricesHistoryReport

func NewSpotPricesHistoryReport ¶

func NewSpotPricesHistoryReport() *SpotPricesHistoryReport

NewSpotPricesHistoryReport instantiates a new SpotPricesHistoryReport object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewSpotPricesHistoryReportWithDefaults ¶

func NewSpotPricesHistoryReportWithDefaults() *SpotPricesHistoryReport

NewSpotPricesHistoryReportWithDefaults instantiates a new SpotPricesHistoryReport object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*SpotPricesHistoryReport) GetPricesHistory ¶

func (o *SpotPricesHistoryReport) GetPricesHistory() SpotPricesDatapoints

GetPricesHistory returns the PricesHistory field value if set, zero value otherwise.

func (*SpotPricesHistoryReport) GetPricesHistoryOk ¶

func (o *SpotPricesHistoryReport) GetPricesHistoryOk() (*SpotPricesDatapoints, bool)

GetPricesHistoryOk returns a tuple with the PricesHistory field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SpotPricesHistoryReport) HasPricesHistory ¶

func (o *SpotPricesHistoryReport) HasPricesHistory() bool

HasPricesHistory returns a boolean if a field has been set.

func (SpotPricesHistoryReport) MarshalJSON ¶

func (o SpotPricesHistoryReport) MarshalJSON() ([]byte, error)

func (*SpotPricesHistoryReport) SetPricesHistory ¶

func (o *SpotPricesHistoryReport) SetPricesHistory(v SpotPricesDatapoints)

SetPricesHistory gets a reference to the given SpotPricesDatapoints and assigns it to the PricesHistory field.

func (SpotPricesHistoryReport) ToMap ¶ added in v0.4.0

func (o SpotPricesHistoryReport) ToMap() (map[string]interface{}, error)

func (*SpotPricesHistoryReport) UnmarshalJSON ¶ added in v0.7.0

func (o *SpotPricesHistoryReport) UnmarshalJSON(bytes []byte) (err error)

type SpotPricesPerBaremetal ¶

type SpotPricesPerBaremetal struct {
	Price                *float32 `json:"price,omitempty"`
	AdditionalProperties map[string]interface{}
}

SpotPricesPerBaremetal struct for SpotPricesPerBaremetal

func NewSpotPricesPerBaremetal ¶

func NewSpotPricesPerBaremetal() *SpotPricesPerBaremetal

NewSpotPricesPerBaremetal instantiates a new SpotPricesPerBaremetal object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewSpotPricesPerBaremetalWithDefaults ¶

func NewSpotPricesPerBaremetalWithDefaults() *SpotPricesPerBaremetal

NewSpotPricesPerBaremetalWithDefaults instantiates a new SpotPricesPerBaremetal object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*SpotPricesPerBaremetal) GetPrice ¶

func (o *SpotPricesPerBaremetal) GetPrice() float32

GetPrice returns the Price field value if set, zero value otherwise.

func (*SpotPricesPerBaremetal) GetPriceOk ¶

func (o *SpotPricesPerBaremetal) GetPriceOk() (*float32, bool)

GetPriceOk returns a tuple with the Price field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SpotPricesPerBaremetal) HasPrice ¶

func (o *SpotPricesPerBaremetal) HasPrice() bool

HasPrice returns a boolean if a field has been set.

func (SpotPricesPerBaremetal) MarshalJSON ¶

func (o SpotPricesPerBaremetal) MarshalJSON() ([]byte, error)

func (*SpotPricesPerBaremetal) SetPrice ¶

func (o *SpotPricesPerBaremetal) SetPrice(v float32)

SetPrice gets a reference to the given float32 and assigns it to the Price field.

func (SpotPricesPerBaremetal) ToMap ¶ added in v0.4.0

func (o SpotPricesPerBaremetal) ToMap() (map[string]interface{}, error)

func (*SpotPricesPerBaremetal) UnmarshalJSON ¶ added in v0.7.0

func (o *SpotPricesPerBaremetal) UnmarshalJSON(bytes []byte) (err error)

type SpotPricesPerFacility ¶

type SpotPricesPerFacility struct {
	Baremetal0           *SpotPricesPerBaremetal `json:"baremetal_0,omitempty"`
	Baremetal1           *SpotPricesPerBaremetal `json:"baremetal_1,omitempty"`
	Baremetal2           *SpotPricesPerBaremetal `json:"baremetal_2,omitempty"`
	Baremetal2a          *SpotPricesPerBaremetal `json:"baremetal_2a,omitempty"`
	Baremetal2a2         *SpotPricesPerBaremetal `json:"baremetal_2a2,omitempty"`
	Baremetal3           *SpotPricesPerBaremetal `json:"baremetal_3,omitempty"`
	BaremetalS           *SpotPricesPerBaremetal `json:"baremetal_s,omitempty"`
	C2MediumX86          *SpotPricesPerBaremetal `json:"c2.medium.x86,omitempty"`
	M2XlargeX86          *SpotPricesPerBaremetal `json:"m2.xlarge.x86,omitempty"`
	AdditionalProperties map[string]interface{}
}

SpotPricesPerFacility struct for SpotPricesPerFacility

func NewSpotPricesPerFacility ¶

func NewSpotPricesPerFacility() *SpotPricesPerFacility

NewSpotPricesPerFacility instantiates a new SpotPricesPerFacility object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewSpotPricesPerFacilityWithDefaults ¶

func NewSpotPricesPerFacilityWithDefaults() *SpotPricesPerFacility

NewSpotPricesPerFacilityWithDefaults instantiates a new SpotPricesPerFacility object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*SpotPricesPerFacility) GetBaremetal0 ¶

func (o *SpotPricesPerFacility) GetBaremetal0() SpotPricesPerBaremetal

GetBaremetal0 returns the Baremetal0 field value if set, zero value otherwise.

func (*SpotPricesPerFacility) GetBaremetal0Ok ¶

func (o *SpotPricesPerFacility) GetBaremetal0Ok() (*SpotPricesPerBaremetal, bool)

GetBaremetal0Ok returns a tuple with the Baremetal0 field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SpotPricesPerFacility) GetBaremetal1 ¶

func (o *SpotPricesPerFacility) GetBaremetal1() SpotPricesPerBaremetal

GetBaremetal1 returns the Baremetal1 field value if set, zero value otherwise.

func (*SpotPricesPerFacility) GetBaremetal1Ok ¶

func (o *SpotPricesPerFacility) GetBaremetal1Ok() (*SpotPricesPerBaremetal, bool)

GetBaremetal1Ok returns a tuple with the Baremetal1 field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SpotPricesPerFacility) GetBaremetal2 ¶

func (o *SpotPricesPerFacility) GetBaremetal2() SpotPricesPerBaremetal

GetBaremetal2 returns the Baremetal2 field value if set, zero value otherwise.

func (*SpotPricesPerFacility) GetBaremetal2Ok ¶

func (o *SpotPricesPerFacility) GetBaremetal2Ok() (*SpotPricesPerBaremetal, bool)

GetBaremetal2Ok returns a tuple with the Baremetal2 field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SpotPricesPerFacility) GetBaremetal2a ¶

func (o *SpotPricesPerFacility) GetBaremetal2a() SpotPricesPerBaremetal

GetBaremetal2a returns the Baremetal2a field value if set, zero value otherwise.

func (*SpotPricesPerFacility) GetBaremetal2a2 ¶

func (o *SpotPricesPerFacility) GetBaremetal2a2() SpotPricesPerBaremetal

GetBaremetal2a2 returns the Baremetal2a2 field value if set, zero value otherwise.

func (*SpotPricesPerFacility) GetBaremetal2a2Ok ¶

func (o *SpotPricesPerFacility) GetBaremetal2a2Ok() (*SpotPricesPerBaremetal, bool)

GetBaremetal2a2Ok returns a tuple with the Baremetal2a2 field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SpotPricesPerFacility) GetBaremetal2aOk ¶

func (o *SpotPricesPerFacility) GetBaremetal2aOk() (*SpotPricesPerBaremetal, bool)

GetBaremetal2aOk returns a tuple with the Baremetal2a field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SpotPricesPerFacility) GetBaremetal3 ¶

func (o *SpotPricesPerFacility) GetBaremetal3() SpotPricesPerBaremetal

GetBaremetal3 returns the Baremetal3 field value if set, zero value otherwise.

func (*SpotPricesPerFacility) GetBaremetal3Ok ¶

func (o *SpotPricesPerFacility) GetBaremetal3Ok() (*SpotPricesPerBaremetal, bool)

GetBaremetal3Ok returns a tuple with the Baremetal3 field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SpotPricesPerFacility) GetBaremetalS ¶

func (o *SpotPricesPerFacility) GetBaremetalS() SpotPricesPerBaremetal

GetBaremetalS returns the BaremetalS field value if set, zero value otherwise.

func (*SpotPricesPerFacility) GetBaremetalSOk ¶

func (o *SpotPricesPerFacility) GetBaremetalSOk() (*SpotPricesPerBaremetal, bool)

GetBaremetalSOk returns a tuple with the BaremetalS field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SpotPricesPerFacility) GetC2MediumX86 ¶

func (o *SpotPricesPerFacility) GetC2MediumX86() SpotPricesPerBaremetal

GetC2MediumX86 returns the C2MediumX86 field value if set, zero value otherwise.

func (*SpotPricesPerFacility) GetC2MediumX86Ok ¶

func (o *SpotPricesPerFacility) GetC2MediumX86Ok() (*SpotPricesPerBaremetal, bool)

GetC2MediumX86Ok returns a tuple with the C2MediumX86 field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SpotPricesPerFacility) GetM2XlargeX86 ¶

func (o *SpotPricesPerFacility) GetM2XlargeX86() SpotPricesPerBaremetal

GetM2XlargeX86 returns the M2XlargeX86 field value if set, zero value otherwise.

func (*SpotPricesPerFacility) GetM2XlargeX86Ok ¶

func (o *SpotPricesPerFacility) GetM2XlargeX86Ok() (*SpotPricesPerBaremetal, bool)

GetM2XlargeX86Ok returns a tuple with the M2XlargeX86 field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SpotPricesPerFacility) HasBaremetal0 ¶

func (o *SpotPricesPerFacility) HasBaremetal0() bool

HasBaremetal0 returns a boolean if a field has been set.

func (*SpotPricesPerFacility) HasBaremetal1 ¶

func (o *SpotPricesPerFacility) HasBaremetal1() bool

HasBaremetal1 returns a boolean if a field has been set.

func (*SpotPricesPerFacility) HasBaremetal2 ¶

func (o *SpotPricesPerFacility) HasBaremetal2() bool

HasBaremetal2 returns a boolean if a field has been set.

func (*SpotPricesPerFacility) HasBaremetal2a ¶

func (o *SpotPricesPerFacility) HasBaremetal2a() bool

HasBaremetal2a returns a boolean if a field has been set.

func (*SpotPricesPerFacility) HasBaremetal2a2 ¶

func (o *SpotPricesPerFacility) HasBaremetal2a2() bool

HasBaremetal2a2 returns a boolean if a field has been set.

func (*SpotPricesPerFacility) HasBaremetal3 ¶

func (o *SpotPricesPerFacility) HasBaremetal3() bool

HasBaremetal3 returns a boolean if a field has been set.

func (*SpotPricesPerFacility) HasBaremetalS ¶

func (o *SpotPricesPerFacility) HasBaremetalS() bool

HasBaremetalS returns a boolean if a field has been set.

func (*SpotPricesPerFacility) HasC2MediumX86 ¶

func (o *SpotPricesPerFacility) HasC2MediumX86() bool

HasC2MediumX86 returns a boolean if a field has been set.

func (*SpotPricesPerFacility) HasM2XlargeX86 ¶

func (o *SpotPricesPerFacility) HasM2XlargeX86() bool

HasM2XlargeX86 returns a boolean if a field has been set.

func (SpotPricesPerFacility) MarshalJSON ¶

func (o SpotPricesPerFacility) MarshalJSON() ([]byte, error)

func (*SpotPricesPerFacility) SetBaremetal0 ¶

func (o *SpotPricesPerFacility) SetBaremetal0(v SpotPricesPerBaremetal)

SetBaremetal0 gets a reference to the given SpotPricesPerBaremetal and assigns it to the Baremetal0 field.

func (*SpotPricesPerFacility) SetBaremetal1 ¶

func (o *SpotPricesPerFacility) SetBaremetal1(v SpotPricesPerBaremetal)

SetBaremetal1 gets a reference to the given SpotPricesPerBaremetal and assigns it to the Baremetal1 field.

func (*SpotPricesPerFacility) SetBaremetal2 ¶

func (o *SpotPricesPerFacility) SetBaremetal2(v SpotPricesPerBaremetal)

SetBaremetal2 gets a reference to the given SpotPricesPerBaremetal and assigns it to the Baremetal2 field.

func (*SpotPricesPerFacility) SetBaremetal2a ¶

func (o *SpotPricesPerFacility) SetBaremetal2a(v SpotPricesPerBaremetal)

SetBaremetal2a gets a reference to the given SpotPricesPerBaremetal and assigns it to the Baremetal2a field.

func (*SpotPricesPerFacility) SetBaremetal2a2 ¶

func (o *SpotPricesPerFacility) SetBaremetal2a2(v SpotPricesPerBaremetal)

SetBaremetal2a2 gets a reference to the given SpotPricesPerBaremetal and assigns it to the Baremetal2a2 field.

func (*SpotPricesPerFacility) SetBaremetal3 ¶

func (o *SpotPricesPerFacility) SetBaremetal3(v SpotPricesPerBaremetal)

SetBaremetal3 gets a reference to the given SpotPricesPerBaremetal and assigns it to the Baremetal3 field.

func (*SpotPricesPerFacility) SetBaremetalS ¶

func (o *SpotPricesPerFacility) SetBaremetalS(v SpotPricesPerBaremetal)

SetBaremetalS gets a reference to the given SpotPricesPerBaremetal and assigns it to the BaremetalS field.

func (*SpotPricesPerFacility) SetC2MediumX86 ¶

func (o *SpotPricesPerFacility) SetC2MediumX86(v SpotPricesPerBaremetal)

SetC2MediumX86 gets a reference to the given SpotPricesPerBaremetal and assigns it to the C2MediumX86 field.

func (*SpotPricesPerFacility) SetM2XlargeX86 ¶

func (o *SpotPricesPerFacility) SetM2XlargeX86(v SpotPricesPerBaremetal)

SetM2XlargeX86 gets a reference to the given SpotPricesPerBaremetal and assigns it to the M2XlargeX86 field.

func (SpotPricesPerFacility) ToMap ¶ added in v0.4.0

func (o SpotPricesPerFacility) ToMap() (map[string]interface{}, error)

func (*SpotPricesPerFacility) UnmarshalJSON ¶ added in v0.7.0

func (o *SpotPricesPerFacility) UnmarshalJSON(bytes []byte) (err error)

type SpotPricesPerNewFacility ¶

type SpotPricesPerNewFacility struct {
	Baremetal1e          *SpotPricesPerBaremetal `json:"baremetal_1e,omitempty"`
	AdditionalProperties map[string]interface{}
}

SpotPricesPerNewFacility struct for SpotPricesPerNewFacility

func NewSpotPricesPerNewFacility ¶

func NewSpotPricesPerNewFacility() *SpotPricesPerNewFacility

NewSpotPricesPerNewFacility instantiates a new SpotPricesPerNewFacility object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewSpotPricesPerNewFacilityWithDefaults ¶

func NewSpotPricesPerNewFacilityWithDefaults() *SpotPricesPerNewFacility

NewSpotPricesPerNewFacilityWithDefaults instantiates a new SpotPricesPerNewFacility object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*SpotPricesPerNewFacility) GetBaremetal1e ¶

GetBaremetal1e returns the Baremetal1e field value if set, zero value otherwise.

func (*SpotPricesPerNewFacility) GetBaremetal1eOk ¶

func (o *SpotPricesPerNewFacility) GetBaremetal1eOk() (*SpotPricesPerBaremetal, bool)

GetBaremetal1eOk returns a tuple with the Baremetal1e field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SpotPricesPerNewFacility) HasBaremetal1e ¶

func (o *SpotPricesPerNewFacility) HasBaremetal1e() bool

HasBaremetal1e returns a boolean if a field has been set.

func (SpotPricesPerNewFacility) MarshalJSON ¶

func (o SpotPricesPerNewFacility) MarshalJSON() ([]byte, error)

func (*SpotPricesPerNewFacility) SetBaremetal1e ¶

func (o *SpotPricesPerNewFacility) SetBaremetal1e(v SpotPricesPerBaremetal)

SetBaremetal1e gets a reference to the given SpotPricesPerBaremetal and assigns it to the Baremetal1e field.

func (SpotPricesPerNewFacility) ToMap ¶ added in v0.4.0

func (o SpotPricesPerNewFacility) ToMap() (map[string]interface{}, error)

func (*SpotPricesPerNewFacility) UnmarshalJSON ¶ added in v0.7.0

func (o *SpotPricesPerNewFacility) UnmarshalJSON(bytes []byte) (err error)

type SpotPricesReport ¶

type SpotPricesReport struct {
	Ams1                 *SpotPricesPerFacility    `json:"ams1,omitempty"`
	Atl1                 *SpotPricesPerNewFacility `json:"atl1,omitempty"`
	Dfw1                 *SpotPricesPerNewFacility `json:"dfw1,omitempty"`
	Ewr1                 *SpotPricesPerFacility    `json:"ewr1,omitempty"`
	Fra1                 *SpotPricesPerNewFacility `json:"fra1,omitempty"`
	Iad1                 *SpotPricesPerNewFacility `json:"iad1,omitempty"`
	Lax1                 *SpotPricesPerNewFacility `json:"lax1,omitempty"`
	Nrt1                 *SpotPricesPerFacility    `json:"nrt1,omitempty"`
	Ord1                 *SpotPricesPerNewFacility `json:"ord1,omitempty"`
	Sea1                 *SpotPricesPerNewFacility `json:"sea1,omitempty"`
	Sin1                 *SpotPricesPerNewFacility `json:"sin1,omitempty"`
	Sjc1                 *SpotPricesPerFacility    `json:"sjc1,omitempty"`
	Syd1                 *SpotPricesPerNewFacility `json:"syd1,omitempty"`
	Yyz1                 *SpotPricesPerNewFacility `json:"yyz1,omitempty"`
	AdditionalProperties map[string]interface{}
}

SpotPricesReport struct for SpotPricesReport

func NewSpotPricesReport ¶

func NewSpotPricesReport() *SpotPricesReport

NewSpotPricesReport instantiates a new SpotPricesReport object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewSpotPricesReportWithDefaults ¶

func NewSpotPricesReportWithDefaults() *SpotPricesReport

NewSpotPricesReportWithDefaults instantiates a new SpotPricesReport object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*SpotPricesReport) GetAms1 ¶

GetAms1 returns the Ams1 field value if set, zero value otherwise.

func (*SpotPricesReport) GetAms1Ok ¶

func (o *SpotPricesReport) GetAms1Ok() (*SpotPricesPerFacility, bool)

GetAms1Ok returns a tuple with the Ams1 field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SpotPricesReport) GetAtl1 ¶

GetAtl1 returns the Atl1 field value if set, zero value otherwise.

func (*SpotPricesReport) GetAtl1Ok ¶

func (o *SpotPricesReport) GetAtl1Ok() (*SpotPricesPerNewFacility, bool)

GetAtl1Ok returns a tuple with the Atl1 field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SpotPricesReport) GetDfw1 ¶

GetDfw1 returns the Dfw1 field value if set, zero value otherwise.

func (*SpotPricesReport) GetDfw1Ok ¶

func (o *SpotPricesReport) GetDfw1Ok() (*SpotPricesPerNewFacility, bool)

GetDfw1Ok returns a tuple with the Dfw1 field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SpotPricesReport) GetEwr1 ¶

GetEwr1 returns the Ewr1 field value if set, zero value otherwise.

func (*SpotPricesReport) GetEwr1Ok ¶

func (o *SpotPricesReport) GetEwr1Ok() (*SpotPricesPerFacility, bool)

GetEwr1Ok returns a tuple with the Ewr1 field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SpotPricesReport) GetFra1 ¶

GetFra1 returns the Fra1 field value if set, zero value otherwise.

func (*SpotPricesReport) GetFra1Ok ¶

func (o *SpotPricesReport) GetFra1Ok() (*SpotPricesPerNewFacility, bool)

GetFra1Ok returns a tuple with the Fra1 field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SpotPricesReport) GetIad1 ¶

GetIad1 returns the Iad1 field value if set, zero value otherwise.

func (*SpotPricesReport) GetIad1Ok ¶

func (o *SpotPricesReport) GetIad1Ok() (*SpotPricesPerNewFacility, bool)

GetIad1Ok returns a tuple with the Iad1 field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SpotPricesReport) GetLax1 ¶

GetLax1 returns the Lax1 field value if set, zero value otherwise.

func (*SpotPricesReport) GetLax1Ok ¶

func (o *SpotPricesReport) GetLax1Ok() (*SpotPricesPerNewFacility, bool)

GetLax1Ok returns a tuple with the Lax1 field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SpotPricesReport) GetNrt1 ¶

GetNrt1 returns the Nrt1 field value if set, zero value otherwise.

func (*SpotPricesReport) GetNrt1Ok ¶

func (o *SpotPricesReport) GetNrt1Ok() (*SpotPricesPerFacility, bool)

GetNrt1Ok returns a tuple with the Nrt1 field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SpotPricesReport) GetOrd1 ¶

GetOrd1 returns the Ord1 field value if set, zero value otherwise.

func (*SpotPricesReport) GetOrd1Ok ¶

func (o *SpotPricesReport) GetOrd1Ok() (*SpotPricesPerNewFacility, bool)

GetOrd1Ok returns a tuple with the Ord1 field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SpotPricesReport) GetSea1 ¶

GetSea1 returns the Sea1 field value if set, zero value otherwise.

func (*SpotPricesReport) GetSea1Ok ¶

func (o *SpotPricesReport) GetSea1Ok() (*SpotPricesPerNewFacility, bool)

GetSea1Ok returns a tuple with the Sea1 field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SpotPricesReport) GetSin1 ¶

GetSin1 returns the Sin1 field value if set, zero value otherwise.

func (*SpotPricesReport) GetSin1Ok ¶

func (o *SpotPricesReport) GetSin1Ok() (*SpotPricesPerNewFacility, bool)

GetSin1Ok returns a tuple with the Sin1 field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SpotPricesReport) GetSjc1 ¶

GetSjc1 returns the Sjc1 field value if set, zero value otherwise.

func (*SpotPricesReport) GetSjc1Ok ¶

func (o *SpotPricesReport) GetSjc1Ok() (*SpotPricesPerFacility, bool)

GetSjc1Ok returns a tuple with the Sjc1 field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SpotPricesReport) GetSyd1 ¶

GetSyd1 returns the Syd1 field value if set, zero value otherwise.

func (*SpotPricesReport) GetSyd1Ok ¶

func (o *SpotPricesReport) GetSyd1Ok() (*SpotPricesPerNewFacility, bool)

GetSyd1Ok returns a tuple with the Syd1 field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SpotPricesReport) GetYyz1 ¶

GetYyz1 returns the Yyz1 field value if set, zero value otherwise.

func (*SpotPricesReport) GetYyz1Ok ¶

func (o *SpotPricesReport) GetYyz1Ok() (*SpotPricesPerNewFacility, bool)

GetYyz1Ok returns a tuple with the Yyz1 field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SpotPricesReport) HasAms1 ¶

func (o *SpotPricesReport) HasAms1() bool

HasAms1 returns a boolean if a field has been set.

func (*SpotPricesReport) HasAtl1 ¶

func (o *SpotPricesReport) HasAtl1() bool

HasAtl1 returns a boolean if a field has been set.

func (*SpotPricesReport) HasDfw1 ¶

func (o *SpotPricesReport) HasDfw1() bool

HasDfw1 returns a boolean if a field has been set.

func (*SpotPricesReport) HasEwr1 ¶

func (o *SpotPricesReport) HasEwr1() bool

HasEwr1 returns a boolean if a field has been set.

func (*SpotPricesReport) HasFra1 ¶

func (o *SpotPricesReport) HasFra1() bool

HasFra1 returns a boolean if a field has been set.

func (*SpotPricesReport) HasIad1 ¶

func (o *SpotPricesReport) HasIad1() bool

HasIad1 returns a boolean if a field has been set.

func (*SpotPricesReport) HasLax1 ¶

func (o *SpotPricesReport) HasLax1() bool

HasLax1 returns a boolean if a field has been set.

func (*SpotPricesReport) HasNrt1 ¶

func (o *SpotPricesReport) HasNrt1() bool

HasNrt1 returns a boolean if a field has been set.

func (*SpotPricesReport) HasOrd1 ¶

func (o *SpotPricesReport) HasOrd1() bool

HasOrd1 returns a boolean if a field has been set.

func (*SpotPricesReport) HasSea1 ¶

func (o *SpotPricesReport) HasSea1() bool

HasSea1 returns a boolean if a field has been set.

func (*SpotPricesReport) HasSin1 ¶

func (o *SpotPricesReport) HasSin1() bool

HasSin1 returns a boolean if a field has been set.

func (*SpotPricesReport) HasSjc1 ¶

func (o *SpotPricesReport) HasSjc1() bool

HasSjc1 returns a boolean if a field has been set.

func (*SpotPricesReport) HasSyd1 ¶

func (o *SpotPricesReport) HasSyd1() bool

HasSyd1 returns a boolean if a field has been set.

func (*SpotPricesReport) HasYyz1 ¶

func (o *SpotPricesReport) HasYyz1() bool

HasYyz1 returns a boolean if a field has been set.

func (SpotPricesReport) MarshalJSON ¶

func (o SpotPricesReport) MarshalJSON() ([]byte, error)

func (*SpotPricesReport) SetAms1 ¶

SetAms1 gets a reference to the given SpotPricesPerFacility and assigns it to the Ams1 field.

func (*SpotPricesReport) SetAtl1 ¶

SetAtl1 gets a reference to the given SpotPricesPerNewFacility and assigns it to the Atl1 field.

func (*SpotPricesReport) SetDfw1 ¶

SetDfw1 gets a reference to the given SpotPricesPerNewFacility and assigns it to the Dfw1 field.

func (*SpotPricesReport) SetEwr1 ¶

SetEwr1 gets a reference to the given SpotPricesPerFacility and assigns it to the Ewr1 field.

func (*SpotPricesReport) SetFra1 ¶

SetFra1 gets a reference to the given SpotPricesPerNewFacility and assigns it to the Fra1 field.

func (*SpotPricesReport) SetIad1 ¶

SetIad1 gets a reference to the given SpotPricesPerNewFacility and assigns it to the Iad1 field.

func (*SpotPricesReport) SetLax1 ¶

SetLax1 gets a reference to the given SpotPricesPerNewFacility and assigns it to the Lax1 field.

func (*SpotPricesReport) SetNrt1 ¶

SetNrt1 gets a reference to the given SpotPricesPerFacility and assigns it to the Nrt1 field.

func (*SpotPricesReport) SetOrd1 ¶

SetOrd1 gets a reference to the given SpotPricesPerNewFacility and assigns it to the Ord1 field.

func (*SpotPricesReport) SetSea1 ¶

SetSea1 gets a reference to the given SpotPricesPerNewFacility and assigns it to the Sea1 field.

func (*SpotPricesReport) SetSin1 ¶

SetSin1 gets a reference to the given SpotPricesPerNewFacility and assigns it to the Sin1 field.

func (*SpotPricesReport) SetSjc1 ¶

SetSjc1 gets a reference to the given SpotPricesPerFacility and assigns it to the Sjc1 field.

func (*SpotPricesReport) SetSyd1 ¶

SetSyd1 gets a reference to the given SpotPricesPerNewFacility and assigns it to the Syd1 field.

func (*SpotPricesReport) SetYyz1 ¶

SetYyz1 gets a reference to the given SpotPricesPerNewFacility and assigns it to the Yyz1 field.

func (SpotPricesReport) ToMap ¶ added in v0.4.0

func (o SpotPricesReport) ToMap() (map[string]interface{}, error)

func (*SpotPricesReport) UnmarshalJSON ¶ added in v0.7.0

func (o *SpotPricesReport) UnmarshalJSON(bytes []byte) (err error)

type Storage ¶ added in v0.6.0

type Storage struct {
	Disks                []Disk       `json:"disks,omitempty"`
	Raid                 []Raid       `json:"raid,omitempty"`
	Filesystems          []Filesystem `json:"filesystems,omitempty"`
	AdditionalProperties map[string]interface{}
}

Storage struct for Storage

func NewStorage ¶ added in v0.6.0

func NewStorage() *Storage

NewStorage instantiates a new Storage object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewStorageWithDefaults ¶ added in v0.6.0

func NewStorageWithDefaults() *Storage

NewStorageWithDefaults instantiates a new Storage object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*Storage) GetDisks ¶ added in v0.6.0

func (o *Storage) GetDisks() []Disk

GetDisks returns the Disks field value if set, zero value otherwise.

func (*Storage) GetDisksOk ¶ added in v0.6.0

func (o *Storage) GetDisksOk() ([]Disk, bool)

GetDisksOk returns a tuple with the Disks field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Storage) GetFilesystems ¶ added in v0.6.0

func (o *Storage) GetFilesystems() []Filesystem

GetFilesystems returns the Filesystems field value if set, zero value otherwise.

func (*Storage) GetFilesystemsOk ¶ added in v0.6.0

func (o *Storage) GetFilesystemsOk() ([]Filesystem, bool)

GetFilesystemsOk returns a tuple with the Filesystems field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Storage) GetRaid ¶ added in v0.6.0

func (o *Storage) GetRaid() []Raid

GetRaid returns the Raid field value if set, zero value otherwise.

func (*Storage) GetRaidOk ¶ added in v0.6.0

func (o *Storage) GetRaidOk() ([]Raid, bool)

GetRaidOk returns a tuple with the Raid field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Storage) HasDisks ¶ added in v0.6.0

func (o *Storage) HasDisks() bool

HasDisks returns a boolean if a field has been set.

func (*Storage) HasFilesystems ¶ added in v0.6.0

func (o *Storage) HasFilesystems() bool

HasFilesystems returns a boolean if a field has been set.

func (*Storage) HasRaid ¶ added in v0.6.0

func (o *Storage) HasRaid() bool

HasRaid returns a boolean if a field has been set.

func (Storage) MarshalJSON ¶ added in v0.6.0

func (o Storage) MarshalJSON() ([]byte, error)

func (*Storage) SetDisks ¶ added in v0.6.0

func (o *Storage) SetDisks(v []Disk)

SetDisks gets a reference to the given []Disk and assigns it to the Disks field.

func (*Storage) SetFilesystems ¶ added in v0.6.0

func (o *Storage) SetFilesystems(v []Filesystem)

SetFilesystems gets a reference to the given []Filesystem and assigns it to the Filesystems field.

func (*Storage) SetRaid ¶ added in v0.6.0

func (o *Storage) SetRaid(v []Raid)

SetRaid gets a reference to the given []Raid and assigns it to the Raid field.

func (Storage) ToMap ¶ added in v0.6.0

func (o Storage) ToMap() (map[string]interface{}, error)

func (*Storage) UnmarshalJSON ¶ added in v0.7.0

func (o *Storage) UnmarshalJSON(bytes []byte) (err error)

type SupportRequestApiService ¶

type SupportRequestApiService service

SupportRequestApiService SupportRequestApi service

func (*SupportRequestApiService) RequestSuppert ¶

RequestSuppert Create a support ticket

Support Ticket.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@return ApiRequestSuppertRequest

func (*SupportRequestApiService) RequestSuppertExecute ¶

func (a *SupportRequestApiService) RequestSuppertExecute(r ApiRequestSuppertRequest) (*http.Response, error)

Execute executes the request

type SupportRequestInput ¶

type SupportRequestInput struct {
	DeviceId             *string                      `json:"device_id,omitempty"`
	Message              string                       `json:"message"`
	Priority             *SupportRequestInputPriority `json:"priority,omitempty"`
	ProjectId            *string                      `json:"project_id,omitempty"`
	Subject              string                       `json:"subject"`
	AdditionalProperties map[string]interface{}
}

SupportRequestInput struct for SupportRequestInput

func NewSupportRequestInput ¶

func NewSupportRequestInput(message string, subject string) *SupportRequestInput

NewSupportRequestInput instantiates a new SupportRequestInput object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewSupportRequestInputWithDefaults ¶

func NewSupportRequestInputWithDefaults() *SupportRequestInput

NewSupportRequestInputWithDefaults instantiates a new SupportRequestInput object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*SupportRequestInput) GetDeviceId ¶

func (o *SupportRequestInput) GetDeviceId() string

GetDeviceId returns the DeviceId field value if set, zero value otherwise.

func (*SupportRequestInput) GetDeviceIdOk ¶

func (o *SupportRequestInput) GetDeviceIdOk() (*string, bool)

GetDeviceIdOk returns a tuple with the DeviceId field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SupportRequestInput) GetMessage ¶

func (o *SupportRequestInput) GetMessage() string

GetMessage returns the Message field value

func (*SupportRequestInput) GetMessageOk ¶

func (o *SupportRequestInput) GetMessageOk() (*string, bool)

GetMessageOk returns a tuple with the Message field value and a boolean to check if the value has been set.

func (*SupportRequestInput) GetPriority ¶

GetPriority returns the Priority field value if set, zero value otherwise.

func (*SupportRequestInput) GetPriorityOk ¶

func (o *SupportRequestInput) GetPriorityOk() (*SupportRequestInputPriority, bool)

GetPriorityOk returns a tuple with the Priority field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SupportRequestInput) GetProjectId ¶

func (o *SupportRequestInput) GetProjectId() string

GetProjectId returns the ProjectId field value if set, zero value otherwise.

func (*SupportRequestInput) GetProjectIdOk ¶

func (o *SupportRequestInput) GetProjectIdOk() (*string, bool)

GetProjectIdOk returns a tuple with the ProjectId field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SupportRequestInput) GetSubject ¶

func (o *SupportRequestInput) GetSubject() string

GetSubject returns the Subject field value

func (*SupportRequestInput) GetSubjectOk ¶

func (o *SupportRequestInput) GetSubjectOk() (*string, bool)

GetSubjectOk returns a tuple with the Subject field value and a boolean to check if the value has been set.

func (*SupportRequestInput) HasDeviceId ¶

func (o *SupportRequestInput) HasDeviceId() bool

HasDeviceId returns a boolean if a field has been set.

func (*SupportRequestInput) HasPriority ¶

func (o *SupportRequestInput) HasPriority() bool

HasPriority returns a boolean if a field has been set.

func (*SupportRequestInput) HasProjectId ¶

func (o *SupportRequestInput) HasProjectId() bool

HasProjectId returns a boolean if a field has been set.

func (SupportRequestInput) MarshalJSON ¶

func (o SupportRequestInput) MarshalJSON() ([]byte, error)

func (*SupportRequestInput) SetDeviceId ¶

func (o *SupportRequestInput) SetDeviceId(v string)

SetDeviceId gets a reference to the given string and assigns it to the DeviceId field.

func (*SupportRequestInput) SetMessage ¶

func (o *SupportRequestInput) SetMessage(v string)

SetMessage sets field value

func (*SupportRequestInput) SetPriority ¶

SetPriority gets a reference to the given SupportRequestInputPriority and assigns it to the Priority field.

func (*SupportRequestInput) SetProjectId ¶

func (o *SupportRequestInput) SetProjectId(v string)

SetProjectId gets a reference to the given string and assigns it to the ProjectId field.

func (*SupportRequestInput) SetSubject ¶

func (o *SupportRequestInput) SetSubject(v string)

SetSubject sets field value

func (SupportRequestInput) ToMap ¶ added in v0.4.0

func (o SupportRequestInput) ToMap() (map[string]interface{}, error)

func (*SupportRequestInput) UnmarshalJSON ¶ added in v0.7.0

func (o *SupportRequestInput) UnmarshalJSON(bytes []byte) (err error)

type SupportRequestInputPriority ¶ added in v0.22.0

type SupportRequestInputPriority string

SupportRequestInputPriority the model 'SupportRequestInputPriority'

const (
	SUPPORTREQUESTINPUTPRIORITY_URGENT SupportRequestInputPriority = "urgent"
	SUPPORTREQUESTINPUTPRIORITY_HIGH   SupportRequestInputPriority = "high"
	SUPPORTREQUESTINPUTPRIORITY_MEDIUM SupportRequestInputPriority = "medium"
	SUPPORTREQUESTINPUTPRIORITY_LOW    SupportRequestInputPriority = "low"
)

List of SupportRequestInput_priority

func NewSupportRequestInputPriorityFromValue ¶ added in v0.22.0

func NewSupportRequestInputPriorityFromValue(v string) (*SupportRequestInputPriority, error)

NewSupportRequestInputPriorityFromValue returns a pointer to a valid SupportRequestInputPriority for the value passed as argument, or an error if the value passed is not allowed by the enum

func (SupportRequestInputPriority) IsValid ¶ added in v0.22.0

func (v SupportRequestInputPriority) IsValid() bool

IsValid return true if the value is valid for the enum, false otherwise

func (SupportRequestInputPriority) Ptr ¶ added in v0.22.0

Ptr returns reference to SupportRequestInput_priority value

func (*SupportRequestInputPriority) UnmarshalJSON ¶ added in v0.22.0

func (v *SupportRequestInputPriority) UnmarshalJSON(src []byte) error

type TransferRequest ¶

type TransferRequest struct {
	CreatedAt            *time.Time `json:"created_at,omitempty"`
	Href                 *string    `json:"href,omitempty"`
	Id                   *string    `json:"id,omitempty"`
	Project              *Href      `json:"project,omitempty"`
	TargetOrganization   *Href      `json:"target_organization,omitempty"`
	UpdatedAt            *time.Time `json:"updated_at,omitempty"`
	AdditionalProperties map[string]interface{}
}

TransferRequest struct for TransferRequest

func NewTransferRequest ¶

func NewTransferRequest() *TransferRequest

NewTransferRequest instantiates a new TransferRequest object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewTransferRequestWithDefaults ¶

func NewTransferRequestWithDefaults() *TransferRequest

NewTransferRequestWithDefaults instantiates a new TransferRequest object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*TransferRequest) GetCreatedAt ¶

func (o *TransferRequest) GetCreatedAt() time.Time

GetCreatedAt returns the CreatedAt field value if set, zero value otherwise.

func (*TransferRequest) GetCreatedAtOk ¶

func (o *TransferRequest) GetCreatedAtOk() (*time.Time, bool)

GetCreatedAtOk returns a tuple with the CreatedAt field value if set, nil otherwise and a boolean to check if the value has been set.

func (*TransferRequest) GetHref ¶

func (o *TransferRequest) GetHref() string

GetHref returns the Href field value if set, zero value otherwise.

func (*TransferRequest) GetHrefOk ¶

func (o *TransferRequest) GetHrefOk() (*string, bool)

GetHrefOk returns a tuple with the Href field value if set, nil otherwise and a boolean to check if the value has been set.

func (*TransferRequest) GetId ¶

func (o *TransferRequest) GetId() string

GetId returns the Id field value if set, zero value otherwise.

func (*TransferRequest) GetIdOk ¶

func (o *TransferRequest) GetIdOk() (*string, bool)

GetIdOk returns a tuple with the Id field value if set, nil otherwise and a boolean to check if the value has been set.

func (*TransferRequest) GetProject ¶

func (o *TransferRequest) GetProject() Href

GetProject returns the Project field value if set, zero value otherwise.

func (*TransferRequest) GetProjectOk ¶

func (o *TransferRequest) GetProjectOk() (*Href, bool)

GetProjectOk returns a tuple with the Project field value if set, nil otherwise and a boolean to check if the value has been set.

func (*TransferRequest) GetTargetOrganization ¶

func (o *TransferRequest) GetTargetOrganization() Href

GetTargetOrganization returns the TargetOrganization field value if set, zero value otherwise.

func (*TransferRequest) GetTargetOrganizationOk ¶

func (o *TransferRequest) GetTargetOrganizationOk() (*Href, bool)

GetTargetOrganizationOk returns a tuple with the TargetOrganization field value if set, nil otherwise and a boolean to check if the value has been set.

func (*TransferRequest) GetUpdatedAt ¶

func (o *TransferRequest) GetUpdatedAt() time.Time

GetUpdatedAt returns the UpdatedAt field value if set, zero value otherwise.

func (*TransferRequest) GetUpdatedAtOk ¶

func (o *TransferRequest) GetUpdatedAtOk() (*time.Time, bool)

GetUpdatedAtOk returns a tuple with the UpdatedAt field value if set, nil otherwise and a boolean to check if the value has been set.

func (*TransferRequest) HasCreatedAt ¶

func (o *TransferRequest) HasCreatedAt() bool

HasCreatedAt returns a boolean if a field has been set.

func (*TransferRequest) HasHref ¶

func (o *TransferRequest) HasHref() bool

HasHref returns a boolean if a field has been set.

func (*TransferRequest) HasId ¶

func (o *TransferRequest) HasId() bool

HasId returns a boolean if a field has been set.

func (*TransferRequest) HasProject ¶

func (o *TransferRequest) HasProject() bool

HasProject returns a boolean if a field has been set.

func (*TransferRequest) HasTargetOrganization ¶

func (o *TransferRequest) HasTargetOrganization() bool

HasTargetOrganization returns a boolean if a field has been set.

func (*TransferRequest) HasUpdatedAt ¶

func (o *TransferRequest) HasUpdatedAt() bool

HasUpdatedAt returns a boolean if a field has been set.

func (TransferRequest) MarshalJSON ¶

func (o TransferRequest) MarshalJSON() ([]byte, error)

func (*TransferRequest) SetCreatedAt ¶

func (o *TransferRequest) SetCreatedAt(v time.Time)

SetCreatedAt gets a reference to the given time.Time and assigns it to the CreatedAt field.

func (*TransferRequest) SetHref ¶

func (o *TransferRequest) SetHref(v string)

SetHref gets a reference to the given string and assigns it to the Href field.

func (*TransferRequest) SetId ¶

func (o *TransferRequest) SetId(v string)

SetId gets a reference to the given string and assigns it to the Id field.

func (*TransferRequest) SetProject ¶

func (o *TransferRequest) SetProject(v Href)

SetProject gets a reference to the given Href and assigns it to the Project field.

func (*TransferRequest) SetTargetOrganization ¶

func (o *TransferRequest) SetTargetOrganization(v Href)

SetTargetOrganization gets a reference to the given Href and assigns it to the TargetOrganization field.

func (*TransferRequest) SetUpdatedAt ¶

func (o *TransferRequest) SetUpdatedAt(v time.Time)

SetUpdatedAt gets a reference to the given time.Time and assigns it to the UpdatedAt field.

func (TransferRequest) ToMap ¶ added in v0.4.0

func (o TransferRequest) ToMap() (map[string]interface{}, error)

func (*TransferRequest) UnmarshalJSON ¶ added in v0.7.0

func (o *TransferRequest) UnmarshalJSON(bytes []byte) (err error)

type TransferRequestInput ¶

type TransferRequestInput struct {
	TargetOrganizationId *string `json:"target_organization_id,omitempty"`
	AdditionalProperties map[string]interface{}
}

TransferRequestInput struct for TransferRequestInput

func NewTransferRequestInput ¶

func NewTransferRequestInput() *TransferRequestInput

NewTransferRequestInput instantiates a new TransferRequestInput object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewTransferRequestInputWithDefaults ¶

func NewTransferRequestInputWithDefaults() *TransferRequestInput

NewTransferRequestInputWithDefaults instantiates a new TransferRequestInput object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*TransferRequestInput) GetTargetOrganizationId ¶

func (o *TransferRequestInput) GetTargetOrganizationId() string

GetTargetOrganizationId returns the TargetOrganizationId field value if set, zero value otherwise.

func (*TransferRequestInput) GetTargetOrganizationIdOk ¶

func (o *TransferRequestInput) GetTargetOrganizationIdOk() (*string, bool)

GetTargetOrganizationIdOk returns a tuple with the TargetOrganizationId field value if set, nil otherwise and a boolean to check if the value has been set.

func (*TransferRequestInput) HasTargetOrganizationId ¶

func (o *TransferRequestInput) HasTargetOrganizationId() bool

HasTargetOrganizationId returns a boolean if a field has been set.

func (TransferRequestInput) MarshalJSON ¶

func (o TransferRequestInput) MarshalJSON() ([]byte, error)

func (*TransferRequestInput) SetTargetOrganizationId ¶

func (o *TransferRequestInput) SetTargetOrganizationId(v string)

SetTargetOrganizationId gets a reference to the given string and assigns it to the TargetOrganizationId field.

func (TransferRequestInput) ToMap ¶ added in v0.4.0

func (o TransferRequestInput) ToMap() (map[string]interface{}, error)

func (*TransferRequestInput) UnmarshalJSON ¶ added in v0.7.0

func (o *TransferRequestInput) UnmarshalJSON(bytes []byte) (err error)

type TransferRequestList ¶

type TransferRequestList struct {
	Transfers            []TransferRequest `json:"transfers,omitempty"`
	AdditionalProperties map[string]interface{}
}

TransferRequestList struct for TransferRequestList

func NewTransferRequestList ¶

func NewTransferRequestList() *TransferRequestList

NewTransferRequestList instantiates a new TransferRequestList object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewTransferRequestListWithDefaults ¶

func NewTransferRequestListWithDefaults() *TransferRequestList

NewTransferRequestListWithDefaults instantiates a new TransferRequestList object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*TransferRequestList) GetTransfers ¶

func (o *TransferRequestList) GetTransfers() []TransferRequest

GetTransfers returns the Transfers field value if set, zero value otherwise.

func (*TransferRequestList) GetTransfersOk ¶

func (o *TransferRequestList) GetTransfersOk() ([]TransferRequest, bool)

GetTransfersOk returns a tuple with the Transfers field value if set, nil otherwise and a boolean to check if the value has been set.

func (*TransferRequestList) HasTransfers ¶

func (o *TransferRequestList) HasTransfers() bool

HasTransfers returns a boolean if a field has been set.

func (TransferRequestList) MarshalJSON ¶

func (o TransferRequestList) MarshalJSON() ([]byte, error)

func (*TransferRequestList) SetTransfers ¶

func (o *TransferRequestList) SetTransfers(v []TransferRequest)

SetTransfers gets a reference to the given []TransferRequest and assigns it to the Transfers field.

func (TransferRequestList) ToMap ¶ added in v0.4.0

func (o TransferRequestList) ToMap() (map[string]interface{}, error)

func (*TransferRequestList) UnmarshalJSON ¶ added in v0.7.0

func (o *TransferRequestList) UnmarshalJSON(bytes []byte) (err error)

type TransferRequestsApiService ¶

type TransferRequestsApiService service

TransferRequestsApiService TransferRequestsApi service

func (*TransferRequestsApiService) AcceptTransferRequest ¶

AcceptTransferRequest Accept a transfer request

Accept a transfer request.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param id Transfer request UUID
@return ApiAcceptTransferRequestRequest

func (*TransferRequestsApiService) AcceptTransferRequestExecute ¶

func (a *TransferRequestsApiService) AcceptTransferRequestExecute(r ApiAcceptTransferRequestRequest) (*http.Response, error)

Execute executes the request

func (*TransferRequestsApiService) DeclineTransferRequest ¶

DeclineTransferRequest Decline a transfer request

Decline a transfer request.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param id Transfer request UUID
@return ApiDeclineTransferRequestRequest

func (*TransferRequestsApiService) DeclineTransferRequestExecute ¶

func (a *TransferRequestsApiService) DeclineTransferRequestExecute(r ApiDeclineTransferRequestRequest) (*http.Response, error)

Execute executes the request

func (*TransferRequestsApiService) FindTransferRequestById ¶

FindTransferRequestById View a transfer request

Returns a single transfer request.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param id Transfer request UUID
@return ApiFindTransferRequestByIdRequest

func (*TransferRequestsApiService) FindTransferRequestByIdExecute ¶

Execute executes the request

@return TransferRequest

type TwoFactorAuthApiService ¶

type TwoFactorAuthApiService service

TwoFactorAuthApiService TwoFactorAuthApi service

func (*TwoFactorAuthApiService) DisableTfaApp ¶

DisableTfaApp Disable two factor authentication

Disables two factor authentication.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@return ApiDisableTfaAppRequest

func (*TwoFactorAuthApiService) DisableTfaAppExecute ¶

func (a *TwoFactorAuthApiService) DisableTfaAppExecute(r ApiDisableTfaAppRequest) (*http.Response, error)

Execute executes the request

func (*TwoFactorAuthApiService) DisableTfaSms ¶

DisableTfaSms Disable two factor authentication

Disables two factor authentication.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@return ApiDisableTfaSmsRequest

func (*TwoFactorAuthApiService) DisableTfaSmsExecute ¶

func (a *TwoFactorAuthApiService) DisableTfaSmsExecute(r ApiDisableTfaSmsRequest) (*http.Response, error)

Execute executes the request

func (*TwoFactorAuthApiService) EnableTfaApp ¶

EnableTfaApp Enable two factor auth using app

Enables two factor authentication using authenticator app.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@return ApiEnableTfaAppRequest

func (*TwoFactorAuthApiService) EnableTfaAppExecute ¶

func (a *TwoFactorAuthApiService) EnableTfaAppExecute(r ApiEnableTfaAppRequest) (*http.Response, error)

Execute executes the request

func (*TwoFactorAuthApiService) EnableTfaSms ¶

EnableTfaSms Enable two factor auth using sms

Enables two factor authentication with sms.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@return ApiEnableTfaSmsRequest

func (*TwoFactorAuthApiService) EnableTfaSmsExecute ¶

func (a *TwoFactorAuthApiService) EnableTfaSmsExecute(r ApiEnableTfaSmsRequest) (*http.Response, error)

Execute executes the request

type UpdateEmailInput ¶

type UpdateEmailInput struct {
	Default              *bool `json:"default,omitempty"`
	AdditionalProperties map[string]interface{}
}

UpdateEmailInput struct for UpdateEmailInput

func NewUpdateEmailInput ¶

func NewUpdateEmailInput() *UpdateEmailInput

NewUpdateEmailInput instantiates a new UpdateEmailInput object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewUpdateEmailInputWithDefaults ¶

func NewUpdateEmailInputWithDefaults() *UpdateEmailInput

NewUpdateEmailInputWithDefaults instantiates a new UpdateEmailInput object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*UpdateEmailInput) GetDefault ¶

func (o *UpdateEmailInput) GetDefault() bool

GetDefault returns the Default field value if set, zero value otherwise.

func (*UpdateEmailInput) GetDefaultOk ¶

func (o *UpdateEmailInput) GetDefaultOk() (*bool, bool)

GetDefaultOk returns a tuple with the Default field value if set, nil otherwise and a boolean to check if the value has been set.

func (*UpdateEmailInput) HasDefault ¶

func (o *UpdateEmailInput) HasDefault() bool

HasDefault returns a boolean if a field has been set.

func (UpdateEmailInput) MarshalJSON ¶

func (o UpdateEmailInput) MarshalJSON() ([]byte, error)

func (*UpdateEmailInput) SetDefault ¶

func (o *UpdateEmailInput) SetDefault(v bool)

SetDefault gets a reference to the given bool and assigns it to the Default field.

func (UpdateEmailInput) ToMap ¶ added in v0.4.0

func (o UpdateEmailInput) ToMap() (map[string]interface{}, error)

func (*UpdateEmailInput) UnmarshalJSON ¶ added in v0.7.0

func (o *UpdateEmailInput) UnmarshalJSON(bytes []byte) (err error)

type UsagesApiService ¶

type UsagesApiService service

UsagesApiService UsagesApi service

func (*UsagesApiService) FindDeviceUsages ¶

func (a *UsagesApiService) FindDeviceUsages(ctx context.Context, id string) ApiFindDeviceUsagesRequest

FindDeviceUsages Retrieve all usages for device

Returns all usages for a device.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param id Device UUID
@return ApiFindDeviceUsagesRequest

func (*UsagesApiService) FindDeviceUsagesExecute ¶

func (a *UsagesApiService) FindDeviceUsagesExecute(r ApiFindDeviceUsagesRequest) (*DeviceUsageList, *http.Response, error)

Execute executes the request

@return DeviceUsageList

func (*UsagesApiService) FindProjectUsage ¶

func (a *UsagesApiService) FindProjectUsage(ctx context.Context, id string) ApiFindProjectUsageRequest

FindProjectUsage Retrieve all usages for project

Returns all usages for a project.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param id Project UUID
@return ApiFindProjectUsageRequest

func (*UsagesApiService) FindProjectUsageExecute ¶

func (a *UsagesApiService) FindProjectUsageExecute(r ApiFindProjectUsageRequest) (*ProjectUsageList, *http.Response, error)

Execute executes the request

@return ProjectUsageList

type User ¶

type User struct {
	AvatarThumbUrl        *string                `json:"avatar_thumb_url,omitempty"`
	AvatarUrl             *string                `json:"avatar_url,omitempty"`
	CreatedAt             *time.Time             `json:"created_at,omitempty"`
	Customdata            map[string]interface{} `json:"customdata,omitempty"`
	DefaultOrganizationId *string                `json:"default_organization_id,omitempty"`
	DefaultProjectId      *string                `json:"default_project_id,omitempty"`
	Email                 *string                `json:"email,omitempty"`
	Emails                []Href                 `json:"emails,omitempty"`
	FirstName             *string                `json:"first_name,omitempty"`
	FraudScore            *string                `json:"fraud_score,omitempty"`
	FullName              *string                `json:"full_name,omitempty"`
	Href                  *string                `json:"href,omitempty"`
	Id                    *string                `json:"id,omitempty"`
	LastLoginAt           *time.Time             `json:"last_login_at,omitempty"`
	LastName              *string                `json:"last_name,omitempty"`
	MaxOrganizations      *int32                 `json:"max_organizations,omitempty"`
	MaxProjects           *int32                 `json:"max_projects,omitempty"`
	PhoneNumber           *string                `json:"phone_number,omitempty"`
	ShortId               *string                `json:"short_id,omitempty"`
	Timezone              *string                `json:"timezone,omitempty"`
	TwoFactorAuth         *string                `json:"two_factor_auth,omitempty"`
	UpdatedAt             *time.Time             `json:"updated_at,omitempty"`
	AdditionalProperties  map[string]interface{}
}

User struct for User

func NewUser ¶

func NewUser() *User

NewUser instantiates a new User object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewUserWithDefaults ¶

func NewUserWithDefaults() *User

NewUserWithDefaults instantiates a new User object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*User) GetAvatarThumbUrl ¶

func (o *User) GetAvatarThumbUrl() string

GetAvatarThumbUrl returns the AvatarThumbUrl field value if set, zero value otherwise.

func (*User) GetAvatarThumbUrlOk ¶

func (o *User) GetAvatarThumbUrlOk() (*string, bool)

GetAvatarThumbUrlOk returns a tuple with the AvatarThumbUrl field value if set, nil otherwise and a boolean to check if the value has been set.

func (*User) GetAvatarUrl ¶

func (o *User) GetAvatarUrl() string

GetAvatarUrl returns the AvatarUrl field value if set, zero value otherwise.

func (*User) GetAvatarUrlOk ¶

func (o *User) GetAvatarUrlOk() (*string, bool)

GetAvatarUrlOk returns a tuple with the AvatarUrl field value if set, nil otherwise and a boolean to check if the value has been set.

func (*User) GetCreatedAt ¶

func (o *User) GetCreatedAt() time.Time

GetCreatedAt returns the CreatedAt field value if set, zero value otherwise.

func (*User) GetCreatedAtOk ¶

func (o *User) GetCreatedAtOk() (*time.Time, bool)

GetCreatedAtOk returns a tuple with the CreatedAt field value if set, nil otherwise and a boolean to check if the value has been set.

func (*User) GetCustomdata ¶

func (o *User) GetCustomdata() map[string]interface{}

GetCustomdata returns the Customdata field value if set, zero value otherwise.

func (*User) GetCustomdataOk ¶

func (o *User) GetCustomdataOk() (map[string]interface{}, bool)

GetCustomdataOk returns a tuple with the Customdata field value if set, nil otherwise and a boolean to check if the value has been set.

func (*User) GetDefaultOrganizationId ¶ added in v0.9.0

func (o *User) GetDefaultOrganizationId() string

GetDefaultOrganizationId returns the DefaultOrganizationId field value if set, zero value otherwise.

func (*User) GetDefaultOrganizationIdOk ¶ added in v0.9.0

func (o *User) GetDefaultOrganizationIdOk() (*string, bool)

GetDefaultOrganizationIdOk returns a tuple with the DefaultOrganizationId field value if set, nil otherwise and a boolean to check if the value has been set.

func (*User) GetDefaultProjectId ¶ added in v0.9.0

func (o *User) GetDefaultProjectId() string

GetDefaultProjectId returns the DefaultProjectId field value if set, zero value otherwise.

func (*User) GetDefaultProjectIdOk ¶ added in v0.9.0

func (o *User) GetDefaultProjectIdOk() (*string, bool)

GetDefaultProjectIdOk returns a tuple with the DefaultProjectId field value if set, nil otherwise and a boolean to check if the value has been set.

func (*User) GetEmail ¶

func (o *User) GetEmail() string

GetEmail returns the Email field value if set, zero value otherwise.

func (*User) GetEmailOk ¶

func (o *User) GetEmailOk() (*string, bool)

GetEmailOk returns a tuple with the Email field value if set, nil otherwise and a boolean to check if the value has been set.

func (*User) GetEmails ¶

func (o *User) GetEmails() []Href

GetEmails returns the Emails field value if set, zero value otherwise.

func (*User) GetEmailsOk ¶

func (o *User) GetEmailsOk() ([]Href, bool)

GetEmailsOk returns a tuple with the Emails field value if set, nil otherwise and a boolean to check if the value has been set.

func (*User) GetFirstName ¶

func (o *User) GetFirstName() string

GetFirstName returns the FirstName field value if set, zero value otherwise.

func (*User) GetFirstNameOk ¶

func (o *User) GetFirstNameOk() (*string, bool)

GetFirstNameOk returns a tuple with the FirstName field value if set, nil otherwise and a boolean to check if the value has been set.

func (*User) GetFraudScore ¶

func (o *User) GetFraudScore() string

GetFraudScore returns the FraudScore field value if set, zero value otherwise.

func (*User) GetFraudScoreOk ¶

func (o *User) GetFraudScoreOk() (*string, bool)

GetFraudScoreOk returns a tuple with the FraudScore field value if set, nil otherwise and a boolean to check if the value has been set.

func (*User) GetFullName ¶

func (o *User) GetFullName() string

GetFullName returns the FullName field value if set, zero value otherwise.

func (*User) GetFullNameOk ¶

func (o *User) GetFullNameOk() (*string, bool)

GetFullNameOk returns a tuple with the FullName field value if set, nil otherwise and a boolean to check if the value has been set.

func (*User) GetHref ¶

func (o *User) GetHref() string

GetHref returns the Href field value if set, zero value otherwise.

func (*User) GetHrefOk ¶

func (o *User) GetHrefOk() (*string, bool)

GetHrefOk returns a tuple with the Href field value if set, nil otherwise and a boolean to check if the value has been set.

func (*User) GetId ¶

func (o *User) GetId() string

GetId returns the Id field value if set, zero value otherwise.

func (*User) GetIdOk ¶

func (o *User) GetIdOk() (*string, bool)

GetIdOk returns a tuple with the Id field value if set, nil otherwise and a boolean to check if the value has been set.

func (*User) GetLastLoginAt ¶

func (o *User) GetLastLoginAt() time.Time

GetLastLoginAt returns the LastLoginAt field value if set, zero value otherwise.

func (*User) GetLastLoginAtOk ¶

func (o *User) GetLastLoginAtOk() (*time.Time, bool)

GetLastLoginAtOk returns a tuple with the LastLoginAt field value if set, nil otherwise and a boolean to check if the value has been set.

func (*User) GetLastName ¶

func (o *User) GetLastName() string

GetLastName returns the LastName field value if set, zero value otherwise.

func (*User) GetLastNameOk ¶

func (o *User) GetLastNameOk() (*string, bool)

GetLastNameOk returns a tuple with the LastName field value if set, nil otherwise and a boolean to check if the value has been set.

func (*User) GetMaxOrganizations ¶

func (o *User) GetMaxOrganizations() int32

GetMaxOrganizations returns the MaxOrganizations field value if set, zero value otherwise.

func (*User) GetMaxOrganizationsOk ¶

func (o *User) GetMaxOrganizationsOk() (*int32, bool)

GetMaxOrganizationsOk returns a tuple with the MaxOrganizations field value if set, nil otherwise and a boolean to check if the value has been set.

func (*User) GetMaxProjects ¶

func (o *User) GetMaxProjects() int32

GetMaxProjects returns the MaxProjects field value if set, zero value otherwise.

func (*User) GetMaxProjectsOk ¶

func (o *User) GetMaxProjectsOk() (*int32, bool)

GetMaxProjectsOk returns a tuple with the MaxProjects field value if set, nil otherwise and a boolean to check if the value has been set.

func (*User) GetPhoneNumber ¶

func (o *User) GetPhoneNumber() string

GetPhoneNumber returns the PhoneNumber field value if set, zero value otherwise.

func (*User) GetPhoneNumberOk ¶

func (o *User) GetPhoneNumberOk() (*string, bool)

GetPhoneNumberOk returns a tuple with the PhoneNumber field value if set, nil otherwise and a boolean to check if the value has been set.

func (*User) GetShortId ¶

func (o *User) GetShortId() string

GetShortId returns the ShortId field value if set, zero value otherwise.

func (*User) GetShortIdOk ¶

func (o *User) GetShortIdOk() (*string, bool)

GetShortIdOk returns a tuple with the ShortId field value if set, nil otherwise and a boolean to check if the value has been set.

func (*User) GetTimezone ¶

func (o *User) GetTimezone() string

GetTimezone returns the Timezone field value if set, zero value otherwise.

func (*User) GetTimezoneOk ¶

func (o *User) GetTimezoneOk() (*string, bool)

GetTimezoneOk returns a tuple with the Timezone field value if set, nil otherwise and a boolean to check if the value has been set.

func (*User) GetTwoFactorAuth ¶

func (o *User) GetTwoFactorAuth() string

GetTwoFactorAuth returns the TwoFactorAuth field value if set, zero value otherwise.

func (*User) GetTwoFactorAuthOk ¶

func (o *User) GetTwoFactorAuthOk() (*string, bool)

GetTwoFactorAuthOk returns a tuple with the TwoFactorAuth field value if set, nil otherwise and a boolean to check if the value has been set.

func (*User) GetUpdatedAt ¶

func (o *User) GetUpdatedAt() time.Time

GetUpdatedAt returns the UpdatedAt field value if set, zero value otherwise.

func (*User) GetUpdatedAtOk ¶

func (o *User) GetUpdatedAtOk() (*time.Time, bool)

GetUpdatedAtOk returns a tuple with the UpdatedAt field value if set, nil otherwise and a boolean to check if the value has been set.

func (*User) HasAvatarThumbUrl ¶

func (o *User) HasAvatarThumbUrl() bool

HasAvatarThumbUrl returns a boolean if a field has been set.

func (*User) HasAvatarUrl ¶

func (o *User) HasAvatarUrl() bool

HasAvatarUrl returns a boolean if a field has been set.

func (*User) HasCreatedAt ¶

func (o *User) HasCreatedAt() bool

HasCreatedAt returns a boolean if a field has been set.

func (*User) HasCustomdata ¶

func (o *User) HasCustomdata() bool

HasCustomdata returns a boolean if a field has been set.

func (*User) HasDefaultOrganizationId ¶ added in v0.9.0

func (o *User) HasDefaultOrganizationId() bool

HasDefaultOrganizationId returns a boolean if a field has been set.

func (*User) HasDefaultProjectId ¶ added in v0.9.0

func (o *User) HasDefaultProjectId() bool

HasDefaultProjectId returns a boolean if a field has been set.

func (*User) HasEmail ¶

func (o *User) HasEmail() bool

HasEmail returns a boolean if a field has been set.

func (*User) HasEmails ¶

func (o *User) HasEmails() bool

HasEmails returns a boolean if a field has been set.

func (*User) HasFirstName ¶

func (o *User) HasFirstName() bool

HasFirstName returns a boolean if a field has been set.

func (*User) HasFraudScore ¶

func (o *User) HasFraudScore() bool

HasFraudScore returns a boolean if a field has been set.

func (*User) HasFullName ¶

func (o *User) HasFullName() bool

HasFullName returns a boolean if a field has been set.

func (*User) HasHref ¶

func (o *User) HasHref() bool

HasHref returns a boolean if a field has been set.

func (*User) HasId ¶

func (o *User) HasId() bool

HasId returns a boolean if a field has been set.

func (*User) HasLastLoginAt ¶

func (o *User) HasLastLoginAt() bool

HasLastLoginAt returns a boolean if a field has been set.

func (*User) HasLastName ¶

func (o *User) HasLastName() bool

HasLastName returns a boolean if a field has been set.

func (*User) HasMaxOrganizations ¶

func (o *User) HasMaxOrganizations() bool

HasMaxOrganizations returns a boolean if a field has been set.

func (*User) HasMaxProjects ¶

func (o *User) HasMaxProjects() bool

HasMaxProjects returns a boolean if a field has been set.

func (*User) HasPhoneNumber ¶

func (o *User) HasPhoneNumber() bool

HasPhoneNumber returns a boolean if a field has been set.

func (*User) HasShortId ¶

func (o *User) HasShortId() bool

HasShortId returns a boolean if a field has been set.

func (*User) HasTimezone ¶

func (o *User) HasTimezone() bool

HasTimezone returns a boolean if a field has been set.

func (*User) HasTwoFactorAuth ¶

func (o *User) HasTwoFactorAuth() bool

HasTwoFactorAuth returns a boolean if a field has been set.

func (*User) HasUpdatedAt ¶

func (o *User) HasUpdatedAt() bool

HasUpdatedAt returns a boolean if a field has been set.

func (User) MarshalJSON ¶

func (o User) MarshalJSON() ([]byte, error)

func (*User) SetAvatarThumbUrl ¶

func (o *User) SetAvatarThumbUrl(v string)

SetAvatarThumbUrl gets a reference to the given string and assigns it to the AvatarThumbUrl field.

func (*User) SetAvatarUrl ¶

func (o *User) SetAvatarUrl(v string)

SetAvatarUrl gets a reference to the given string and assigns it to the AvatarUrl field.

func (*User) SetCreatedAt ¶

func (o *User) SetCreatedAt(v time.Time)

SetCreatedAt gets a reference to the given time.Time and assigns it to the CreatedAt field.

func (*User) SetCustomdata ¶

func (o *User) SetCustomdata(v map[string]interface{})

SetCustomdata gets a reference to the given map[string]interface{} and assigns it to the Customdata field.

func (*User) SetDefaultOrganizationId ¶ added in v0.9.0

func (o *User) SetDefaultOrganizationId(v string)

SetDefaultOrganizationId gets a reference to the given string and assigns it to the DefaultOrganizationId field.

func (*User) SetDefaultProjectId ¶ added in v0.9.0

func (o *User) SetDefaultProjectId(v string)

SetDefaultProjectId gets a reference to the given string and assigns it to the DefaultProjectId field.

func (*User) SetEmail ¶

func (o *User) SetEmail(v string)

SetEmail gets a reference to the given string and assigns it to the Email field.

func (*User) SetEmails ¶

func (o *User) SetEmails(v []Href)

SetEmails gets a reference to the given []Href and assigns it to the Emails field.

func (*User) SetFirstName ¶

func (o *User) SetFirstName(v string)

SetFirstName gets a reference to the given string and assigns it to the FirstName field.

func (*User) SetFraudScore ¶

func (o *User) SetFraudScore(v string)

SetFraudScore gets a reference to the given string and assigns it to the FraudScore field.

func (*User) SetFullName ¶

func (o *User) SetFullName(v string)

SetFullName gets a reference to the given string and assigns it to the FullName field.

func (*User) SetHref ¶

func (o *User) SetHref(v string)

SetHref gets a reference to the given string and assigns it to the Href field.

func (*User) SetId ¶

func (o *User) SetId(v string)

SetId gets a reference to the given string and assigns it to the Id field.

func (*User) SetLastLoginAt ¶

func (o *User) SetLastLoginAt(v time.Time)

SetLastLoginAt gets a reference to the given time.Time and assigns it to the LastLoginAt field.

func (*User) SetLastName ¶

func (o *User) SetLastName(v string)

SetLastName gets a reference to the given string and assigns it to the LastName field.

func (*User) SetMaxOrganizations ¶

func (o *User) SetMaxOrganizations(v int32)

SetMaxOrganizations gets a reference to the given int32 and assigns it to the MaxOrganizations field.

func (*User) SetMaxProjects ¶

func (o *User) SetMaxProjects(v int32)

SetMaxProjects gets a reference to the given int32 and assigns it to the MaxProjects field.

func (*User) SetPhoneNumber ¶

func (o *User) SetPhoneNumber(v string)

SetPhoneNumber gets a reference to the given string and assigns it to the PhoneNumber field.

func (*User) SetShortId ¶

func (o *User) SetShortId(v string)

SetShortId gets a reference to the given string and assigns it to the ShortId field.

func (*User) SetTimezone ¶

func (o *User) SetTimezone(v string)

SetTimezone gets a reference to the given string and assigns it to the Timezone field.

func (*User) SetTwoFactorAuth ¶

func (o *User) SetTwoFactorAuth(v string)

SetTwoFactorAuth gets a reference to the given string and assigns it to the TwoFactorAuth field.

func (*User) SetUpdatedAt ¶

func (o *User) SetUpdatedAt(v time.Time)

SetUpdatedAt gets a reference to the given time.Time and assigns it to the UpdatedAt field.

func (User) ToMap ¶ added in v0.4.0

func (o User) ToMap() (map[string]interface{}, error)

func (*User) UnmarshalJSON ¶ added in v0.7.0

func (o *User) UnmarshalJSON(bytes []byte) (err error)

type UserCreateInput ¶

type UserCreateInput struct {
	Avatar               **os.File              `json:"avatar,omitempty"`
	CompanyName          *string                `json:"company_name,omitempty"`
	CompanyUrl           *string                `json:"company_url,omitempty"`
	Customdata           map[string]interface{} `json:"customdata,omitempty"`
	Emails               []EmailInput           `json:"emails"`
	FirstName            string                 `json:"first_name"`
	LastName             string                 `json:"last_name"`
	Level                *string                `json:"level,omitempty"`
	Password             *string                `json:"password,omitempty"`
	PhoneNumber          *string                `json:"phone_number,omitempty"`
	SocialAccounts       map[string]interface{} `json:"social_accounts,omitempty"`
	Timezone             *string                `json:"timezone,omitempty"`
	Title                *string                `json:"title,omitempty"`
	TwoFactorAuth        *string                `json:"two_factor_auth,omitempty"`
	VerifiedAt           *time.Time             `json:"verified_at,omitempty"`
	InvitationId         *string                `json:"invitation_id,omitempty"`
	Nonce                *string                `json:"nonce,omitempty"`
	AdditionalProperties map[string]interface{}
}

UserCreateInput struct for UserCreateInput

func NewUserCreateInput ¶

func NewUserCreateInput(emails []EmailInput, firstName string, lastName string) *UserCreateInput

NewUserCreateInput instantiates a new UserCreateInput object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewUserCreateInputWithDefaults ¶

func NewUserCreateInputWithDefaults() *UserCreateInput

NewUserCreateInputWithDefaults instantiates a new UserCreateInput object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*UserCreateInput) GetAvatar ¶

func (o *UserCreateInput) GetAvatar() *os.File

GetAvatar returns the Avatar field value if set, zero value otherwise.

func (*UserCreateInput) GetAvatarOk ¶

func (o *UserCreateInput) GetAvatarOk() (**os.File, bool)

GetAvatarOk returns a tuple with the Avatar field value if set, nil otherwise and a boolean to check if the value has been set.

func (*UserCreateInput) GetCompanyName ¶

func (o *UserCreateInput) GetCompanyName() string

GetCompanyName returns the CompanyName field value if set, zero value otherwise.

func (*UserCreateInput) GetCompanyNameOk ¶

func (o *UserCreateInput) GetCompanyNameOk() (*string, bool)

GetCompanyNameOk returns a tuple with the CompanyName field value if set, nil otherwise and a boolean to check if the value has been set.

func (*UserCreateInput) GetCompanyUrl ¶

func (o *UserCreateInput) GetCompanyUrl() string

GetCompanyUrl returns the CompanyUrl field value if set, zero value otherwise.

func (*UserCreateInput) GetCompanyUrlOk ¶

func (o *UserCreateInput) GetCompanyUrlOk() (*string, bool)

GetCompanyUrlOk returns a tuple with the CompanyUrl field value if set, nil otherwise and a boolean to check if the value has been set.

func (*UserCreateInput) GetCustomdata ¶

func (o *UserCreateInput) GetCustomdata() map[string]interface{}

GetCustomdata returns the Customdata field value if set, zero value otherwise.

func (*UserCreateInput) GetCustomdataOk ¶

func (o *UserCreateInput) GetCustomdataOk() (map[string]interface{}, bool)

GetCustomdataOk returns a tuple with the Customdata field value if set, nil otherwise and a boolean to check if the value has been set.

func (*UserCreateInput) GetEmails ¶

func (o *UserCreateInput) GetEmails() []EmailInput

GetEmails returns the Emails field value

func (*UserCreateInput) GetEmailsOk ¶

func (o *UserCreateInput) GetEmailsOk() ([]EmailInput, bool)

GetEmailsOk returns a tuple with the Emails field value and a boolean to check if the value has been set.

func (*UserCreateInput) GetFirstName ¶

func (o *UserCreateInput) GetFirstName() string

GetFirstName returns the FirstName field value

func (*UserCreateInput) GetFirstNameOk ¶

func (o *UserCreateInput) GetFirstNameOk() (*string, bool)

GetFirstNameOk returns a tuple with the FirstName field value and a boolean to check if the value has been set.

func (*UserCreateInput) GetInvitationId ¶ added in v0.3.0

func (o *UserCreateInput) GetInvitationId() string

GetInvitationId returns the InvitationId field value if set, zero value otherwise.

func (*UserCreateInput) GetInvitationIdOk ¶ added in v0.3.0

func (o *UserCreateInput) GetInvitationIdOk() (*string, bool)

GetInvitationIdOk returns a tuple with the InvitationId field value if set, nil otherwise and a boolean to check if the value has been set.

func (*UserCreateInput) GetLastName ¶

func (o *UserCreateInput) GetLastName() string

GetLastName returns the LastName field value

func (*UserCreateInput) GetLastNameOk ¶

func (o *UserCreateInput) GetLastNameOk() (*string, bool)

GetLastNameOk returns a tuple with the LastName field value and a boolean to check if the value has been set.

func (*UserCreateInput) GetLevel ¶

func (o *UserCreateInput) GetLevel() string

GetLevel returns the Level field value if set, zero value otherwise.

func (*UserCreateInput) GetLevelOk ¶

func (o *UserCreateInput) GetLevelOk() (*string, bool)

GetLevelOk returns a tuple with the Level field value if set, nil otherwise and a boolean to check if the value has been set.

func (*UserCreateInput) GetNonce ¶ added in v0.3.0

func (o *UserCreateInput) GetNonce() string

GetNonce returns the Nonce field value if set, zero value otherwise.

func (*UserCreateInput) GetNonceOk ¶ added in v0.3.0

func (o *UserCreateInput) GetNonceOk() (*string, bool)

GetNonceOk returns a tuple with the Nonce field value if set, nil otherwise and a boolean to check if the value has been set.

func (*UserCreateInput) GetPassword ¶

func (o *UserCreateInput) GetPassword() string

GetPassword returns the Password field value if set, zero value otherwise.

func (*UserCreateInput) GetPasswordOk ¶

func (o *UserCreateInput) GetPasswordOk() (*string, bool)

GetPasswordOk returns a tuple with the Password field value if set, nil otherwise and a boolean to check if the value has been set.

func (*UserCreateInput) GetPhoneNumber ¶

func (o *UserCreateInput) GetPhoneNumber() string

GetPhoneNumber returns the PhoneNumber field value if set, zero value otherwise.

func (*UserCreateInput) GetPhoneNumberOk ¶

func (o *UserCreateInput) GetPhoneNumberOk() (*string, bool)

GetPhoneNumberOk returns a tuple with the PhoneNumber field value if set, nil otherwise and a boolean to check if the value has been set.

func (*UserCreateInput) GetSocialAccounts ¶

func (o *UserCreateInput) GetSocialAccounts() map[string]interface{}

GetSocialAccounts returns the SocialAccounts field value if set, zero value otherwise.

func (*UserCreateInput) GetSocialAccountsOk ¶

func (o *UserCreateInput) GetSocialAccountsOk() (map[string]interface{}, bool)

GetSocialAccountsOk returns a tuple with the SocialAccounts field value if set, nil otherwise and a boolean to check if the value has been set.

func (*UserCreateInput) GetTimezone ¶

func (o *UserCreateInput) GetTimezone() string

GetTimezone returns the Timezone field value if set, zero value otherwise.

func (*UserCreateInput) GetTimezoneOk ¶

func (o *UserCreateInput) GetTimezoneOk() (*string, bool)

GetTimezoneOk returns a tuple with the Timezone field value if set, nil otherwise and a boolean to check if the value has been set.

func (*UserCreateInput) GetTitle ¶

func (o *UserCreateInput) GetTitle() string

GetTitle returns the Title field value if set, zero value otherwise.

func (*UserCreateInput) GetTitleOk ¶

func (o *UserCreateInput) GetTitleOk() (*string, bool)

GetTitleOk returns a tuple with the Title field value if set, nil otherwise and a boolean to check if the value has been set.

func (*UserCreateInput) GetTwoFactorAuth ¶

func (o *UserCreateInput) GetTwoFactorAuth() string

GetTwoFactorAuth returns the TwoFactorAuth field value if set, zero value otherwise.

func (*UserCreateInput) GetTwoFactorAuthOk ¶

func (o *UserCreateInput) GetTwoFactorAuthOk() (*string, bool)

GetTwoFactorAuthOk returns a tuple with the TwoFactorAuth field value if set, nil otherwise and a boolean to check if the value has been set.

func (*UserCreateInput) GetVerifiedAt ¶

func (o *UserCreateInput) GetVerifiedAt() time.Time

GetVerifiedAt returns the VerifiedAt field value if set, zero value otherwise.

func (*UserCreateInput) GetVerifiedAtOk ¶

func (o *UserCreateInput) GetVerifiedAtOk() (*time.Time, bool)

GetVerifiedAtOk returns a tuple with the VerifiedAt field value if set, nil otherwise and a boolean to check if the value has been set.

func (*UserCreateInput) HasAvatar ¶

func (o *UserCreateInput) HasAvatar() bool

HasAvatar returns a boolean if a field has been set.

func (*UserCreateInput) HasCompanyName ¶

func (o *UserCreateInput) HasCompanyName() bool

HasCompanyName returns a boolean if a field has been set.

func (*UserCreateInput) HasCompanyUrl ¶

func (o *UserCreateInput) HasCompanyUrl() bool

HasCompanyUrl returns a boolean if a field has been set.

func (*UserCreateInput) HasCustomdata ¶

func (o *UserCreateInput) HasCustomdata() bool

HasCustomdata returns a boolean if a field has been set.

func (*UserCreateInput) HasInvitationId ¶ added in v0.3.0

func (o *UserCreateInput) HasInvitationId() bool

HasInvitationId returns a boolean if a field has been set.

func (*UserCreateInput) HasLevel ¶

func (o *UserCreateInput) HasLevel() bool

HasLevel returns a boolean if a field has been set.

func (*UserCreateInput) HasNonce ¶ added in v0.3.0

func (o *UserCreateInput) HasNonce() bool

HasNonce returns a boolean if a field has been set.

func (*UserCreateInput) HasPassword ¶

func (o *UserCreateInput) HasPassword() bool

HasPassword returns a boolean if a field has been set.

func (*UserCreateInput) HasPhoneNumber ¶

func (o *UserCreateInput) HasPhoneNumber() bool

HasPhoneNumber returns a boolean if a field has been set.

func (*UserCreateInput) HasSocialAccounts ¶

func (o *UserCreateInput) HasSocialAccounts() bool

HasSocialAccounts returns a boolean if a field has been set.

func (*UserCreateInput) HasTimezone ¶

func (o *UserCreateInput) HasTimezone() bool

HasTimezone returns a boolean if a field has been set.

func (*UserCreateInput) HasTitle ¶

func (o *UserCreateInput) HasTitle() bool

HasTitle returns a boolean if a field has been set.

func (*UserCreateInput) HasTwoFactorAuth ¶

func (o *UserCreateInput) HasTwoFactorAuth() bool

HasTwoFactorAuth returns a boolean if a field has been set.

func (*UserCreateInput) HasVerifiedAt ¶

func (o *UserCreateInput) HasVerifiedAt() bool

HasVerifiedAt returns a boolean if a field has been set.

func (UserCreateInput) MarshalJSON ¶

func (o UserCreateInput) MarshalJSON() ([]byte, error)

func (*UserCreateInput) SetAvatar ¶

func (o *UserCreateInput) SetAvatar(v *os.File)

SetAvatar gets a reference to the given *os.File and assigns it to the Avatar field.

func (*UserCreateInput) SetCompanyName ¶

func (o *UserCreateInput) SetCompanyName(v string)

SetCompanyName gets a reference to the given string and assigns it to the CompanyName field.

func (*UserCreateInput) SetCompanyUrl ¶

func (o *UserCreateInput) SetCompanyUrl(v string)

SetCompanyUrl gets a reference to the given string and assigns it to the CompanyUrl field.

func (*UserCreateInput) SetCustomdata ¶

func (o *UserCreateInput) SetCustomdata(v map[string]interface{})

SetCustomdata gets a reference to the given map[string]interface{} and assigns it to the Customdata field.

func (*UserCreateInput) SetEmails ¶

func (o *UserCreateInput) SetEmails(v []EmailInput)

SetEmails sets field value

func (*UserCreateInput) SetFirstName ¶

func (o *UserCreateInput) SetFirstName(v string)

SetFirstName sets field value

func (*UserCreateInput) SetInvitationId ¶ added in v0.3.0

func (o *UserCreateInput) SetInvitationId(v string)

SetInvitationId gets a reference to the given string and assigns it to the InvitationId field.

func (*UserCreateInput) SetLastName ¶

func (o *UserCreateInput) SetLastName(v string)

SetLastName sets field value

func (*UserCreateInput) SetLevel ¶

func (o *UserCreateInput) SetLevel(v string)

SetLevel gets a reference to the given string and assigns it to the Level field.

func (*UserCreateInput) SetNonce ¶ added in v0.3.0

func (o *UserCreateInput) SetNonce(v string)

SetNonce gets a reference to the given string and assigns it to the Nonce field.

func (*UserCreateInput) SetPassword ¶

func (o *UserCreateInput) SetPassword(v string)

SetPassword gets a reference to the given string and assigns it to the Password field.

func (*UserCreateInput) SetPhoneNumber ¶

func (o *UserCreateInput) SetPhoneNumber(v string)

SetPhoneNumber gets a reference to the given string and assigns it to the PhoneNumber field.

func (*UserCreateInput) SetSocialAccounts ¶

func (o *UserCreateInput) SetSocialAccounts(v map[string]interface{})

SetSocialAccounts gets a reference to the given map[string]interface{} and assigns it to the SocialAccounts field.

func (*UserCreateInput) SetTimezone ¶

func (o *UserCreateInput) SetTimezone(v string)

SetTimezone gets a reference to the given string and assigns it to the Timezone field.

func (*UserCreateInput) SetTitle ¶

func (o *UserCreateInput) SetTitle(v string)

SetTitle gets a reference to the given string and assigns it to the Title field.

func (*UserCreateInput) SetTwoFactorAuth ¶

func (o *UserCreateInput) SetTwoFactorAuth(v string)

SetTwoFactorAuth gets a reference to the given string and assigns it to the TwoFactorAuth field.

func (*UserCreateInput) SetVerifiedAt ¶

func (o *UserCreateInput) SetVerifiedAt(v time.Time)

SetVerifiedAt gets a reference to the given time.Time and assigns it to the VerifiedAt field.

func (UserCreateInput) ToMap ¶ added in v0.4.0

func (o UserCreateInput) ToMap() (map[string]interface{}, error)

func (*UserCreateInput) UnmarshalJSON ¶ added in v0.7.0

func (o *UserCreateInput) UnmarshalJSON(bytes []byte) (err error)

type UserLimited ¶ added in v0.7.0

type UserLimited struct {
	// Avatar thumbnail URL of the User
	AvatarThumbUrl *string `json:"avatar_thumb_url,omitempty"`
	// Avatar URL of the User
	AvatarUrl *string `json:"avatar_url,omitempty"`
	// Full name of the User
	FullName *string `json:"full_name,omitempty"`
	// API URL uniquely representing the User
	Href *string `json:"href,omitempty"`
	// ID of the User
	Id                   string `json:"id"`
	AdditionalProperties map[string]interface{}
}

UserLimited struct for UserLimited

func NewUserLimited ¶ added in v0.7.0

func NewUserLimited(id string) *UserLimited

NewUserLimited instantiates a new UserLimited object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewUserLimitedWithDefaults ¶ added in v0.7.0

func NewUserLimitedWithDefaults() *UserLimited

NewUserLimitedWithDefaults instantiates a new UserLimited object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*UserLimited) GetAvatarThumbUrl ¶ added in v0.7.0

func (o *UserLimited) GetAvatarThumbUrl() string

GetAvatarThumbUrl returns the AvatarThumbUrl field value if set, zero value otherwise.

func (*UserLimited) GetAvatarThumbUrlOk ¶ added in v0.7.0

func (o *UserLimited) GetAvatarThumbUrlOk() (*string, bool)

GetAvatarThumbUrlOk returns a tuple with the AvatarThumbUrl field value if set, nil otherwise and a boolean to check if the value has been set.

func (*UserLimited) GetAvatarUrl ¶ added in v0.7.0

func (o *UserLimited) GetAvatarUrl() string

GetAvatarUrl returns the AvatarUrl field value if set, zero value otherwise.

func (*UserLimited) GetAvatarUrlOk ¶ added in v0.7.0

func (o *UserLimited) GetAvatarUrlOk() (*string, bool)

GetAvatarUrlOk returns a tuple with the AvatarUrl field value if set, nil otherwise and a boolean to check if the value has been set.

func (*UserLimited) GetFullName ¶ added in v0.7.0

func (o *UserLimited) GetFullName() string

GetFullName returns the FullName field value if set, zero value otherwise.

func (*UserLimited) GetFullNameOk ¶ added in v0.7.0

func (o *UserLimited) GetFullNameOk() (*string, bool)

GetFullNameOk returns a tuple with the FullName field value if set, nil otherwise and a boolean to check if the value has been set.

func (*UserLimited) GetHref ¶ added in v0.7.0

func (o *UserLimited) GetHref() string

GetHref returns the Href field value if set, zero value otherwise.

func (*UserLimited) GetHrefOk ¶ added in v0.7.0

func (o *UserLimited) GetHrefOk() (*string, bool)

GetHrefOk returns a tuple with the Href field value if set, nil otherwise and a boolean to check if the value has been set.

func (*UserLimited) GetId ¶ added in v0.7.0

func (o *UserLimited) GetId() string

GetId returns the Id field value

func (*UserLimited) GetIdOk ¶ added in v0.7.0

func (o *UserLimited) GetIdOk() (*string, bool)

GetIdOk returns a tuple with the Id field value and a boolean to check if the value has been set.

func (*UserLimited) HasAvatarThumbUrl ¶ added in v0.7.0

func (o *UserLimited) HasAvatarThumbUrl() bool

HasAvatarThumbUrl returns a boolean if a field has been set.

func (*UserLimited) HasAvatarUrl ¶ added in v0.7.0

func (o *UserLimited) HasAvatarUrl() bool

HasAvatarUrl returns a boolean if a field has been set.

func (*UserLimited) HasFullName ¶ added in v0.7.0

func (o *UserLimited) HasFullName() bool

HasFullName returns a boolean if a field has been set.

func (*UserLimited) HasHref ¶ added in v0.7.0

func (o *UserLimited) HasHref() bool

HasHref returns a boolean if a field has been set.

func (UserLimited) MarshalJSON ¶ added in v0.7.0

func (o UserLimited) MarshalJSON() ([]byte, error)

func (*UserLimited) SetAvatarThumbUrl ¶ added in v0.7.0

func (o *UserLimited) SetAvatarThumbUrl(v string)

SetAvatarThumbUrl gets a reference to the given string and assigns it to the AvatarThumbUrl field.

func (*UserLimited) SetAvatarUrl ¶ added in v0.7.0

func (o *UserLimited) SetAvatarUrl(v string)

SetAvatarUrl gets a reference to the given string and assigns it to the AvatarUrl field.

func (*UserLimited) SetFullName ¶ added in v0.7.0

func (o *UserLimited) SetFullName(v string)

SetFullName gets a reference to the given string and assigns it to the FullName field.

func (*UserLimited) SetHref ¶ added in v0.7.0

func (o *UserLimited) SetHref(v string)

SetHref gets a reference to the given string and assigns it to the Href field.

func (*UserLimited) SetId ¶ added in v0.7.0

func (o *UserLimited) SetId(v string)

SetId sets field value

func (UserLimited) ToMap ¶ added in v0.7.0

func (o UserLimited) ToMap() (map[string]interface{}, error)

func (*UserLimited) UnmarshalJSON ¶ added in v0.7.0

func (o *UserLimited) UnmarshalJSON(bytes []byte) (err error)

type UserList ¶

type UserList struct {
	Meta                 *Meta  `json:"meta,omitempty"`
	Users                []User `json:"users,omitempty"`
	AdditionalProperties map[string]interface{}
}

UserList struct for UserList

func NewUserList ¶

func NewUserList() *UserList

NewUserList instantiates a new UserList object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewUserListWithDefaults ¶

func NewUserListWithDefaults() *UserList

NewUserListWithDefaults instantiates a new UserList object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*UserList) GetMeta ¶

func (o *UserList) GetMeta() Meta

GetMeta returns the Meta field value if set, zero value otherwise.

func (*UserList) GetMetaOk ¶

func (o *UserList) GetMetaOk() (*Meta, bool)

GetMetaOk returns a tuple with the Meta field value if set, nil otherwise and a boolean to check if the value has been set.

func (*UserList) GetUsers ¶

func (o *UserList) GetUsers() []User

GetUsers returns the Users field value if set, zero value otherwise.

func (*UserList) GetUsersOk ¶

func (o *UserList) GetUsersOk() ([]User, bool)

GetUsersOk returns a tuple with the Users field value if set, nil otherwise and a boolean to check if the value has been set.

func (*UserList) HasMeta ¶

func (o *UserList) HasMeta() bool

HasMeta returns a boolean if a field has been set.

func (*UserList) HasUsers ¶

func (o *UserList) HasUsers() bool

HasUsers returns a boolean if a field has been set.

func (UserList) MarshalJSON ¶

func (o UserList) MarshalJSON() ([]byte, error)

func (*UserList) SetMeta ¶

func (o *UserList) SetMeta(v Meta)

SetMeta gets a reference to the given Meta and assigns it to the Meta field.

func (*UserList) SetUsers ¶

func (o *UserList) SetUsers(v []User)

SetUsers gets a reference to the given []User and assigns it to the Users field.

func (UserList) ToMap ¶ added in v0.4.0

func (o UserList) ToMap() (map[string]interface{}, error)

func (*UserList) UnmarshalJSON ¶ added in v0.7.0

func (o *UserList) UnmarshalJSON(bytes []byte) (err error)

type UserLite ¶

type UserLite struct {
	// Avatar thumbnail URL of the User
	AvatarThumbUrl *string `json:"avatar_thumb_url,omitempty"`
	// When the user was created
	CreatedAt *time.Time `json:"created_at,omitempty"`
	// Primary email address of the User
	Email *string `json:"email,omitempty"`
	// First name of the User
	FirstName *string `json:"first_name,omitempty"`
	// Full name of the User
	FullName *string `json:"full_name,omitempty"`
	// API URL uniquely representing the User
	Href *string `json:"href,omitempty"`
	// ID of the User
	Id string `json:"id"`
	// Last name of the User
	LastName *string `json:"last_name,omitempty"`
	// Short ID of the User
	ShortId string `json:"short_id"`
	// When the user details were last updated
	UpdatedAt            *time.Time `json:"updated_at,omitempty"`
	AdditionalProperties map[string]interface{}
}

UserLite struct for UserLite

func NewUserLite ¶

func NewUserLite(id string, shortId string) *UserLite

NewUserLite instantiates a new UserLite object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewUserLiteWithDefaults ¶

func NewUserLiteWithDefaults() *UserLite

NewUserLiteWithDefaults instantiates a new UserLite object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*UserLite) GetAvatarThumbUrl ¶

func (o *UserLite) GetAvatarThumbUrl() string

GetAvatarThumbUrl returns the AvatarThumbUrl field value if set, zero value otherwise.

func (*UserLite) GetAvatarThumbUrlOk ¶

func (o *UserLite) GetAvatarThumbUrlOk() (*string, bool)

GetAvatarThumbUrlOk returns a tuple with the AvatarThumbUrl field value if set, nil otherwise and a boolean to check if the value has been set.

func (*UserLite) GetCreatedAt ¶

func (o *UserLite) GetCreatedAt() time.Time

GetCreatedAt returns the CreatedAt field value if set, zero value otherwise.

func (*UserLite) GetCreatedAtOk ¶

func (o *UserLite) GetCreatedAtOk() (*time.Time, bool)

GetCreatedAtOk returns a tuple with the CreatedAt field value if set, nil otherwise and a boolean to check if the value has been set.

func (*UserLite) GetEmail ¶

func (o *UserLite) GetEmail() string

GetEmail returns the Email field value if set, zero value otherwise.

func (*UserLite) GetEmailOk ¶

func (o *UserLite) GetEmailOk() (*string, bool)

GetEmailOk returns a tuple with the Email field value if set, nil otherwise and a boolean to check if the value has been set.

func (*UserLite) GetFirstName ¶

func (o *UserLite) GetFirstName() string

GetFirstName returns the FirstName field value if set, zero value otherwise.

func (*UserLite) GetFirstNameOk ¶

func (o *UserLite) GetFirstNameOk() (*string, bool)

GetFirstNameOk returns a tuple with the FirstName field value if set, nil otherwise and a boolean to check if the value has been set.

func (*UserLite) GetFullName ¶

func (o *UserLite) GetFullName() string

GetFullName returns the FullName field value if set, zero value otherwise.

func (*UserLite) GetFullNameOk ¶

func (o *UserLite) GetFullNameOk() (*string, bool)

GetFullNameOk returns a tuple with the FullName field value if set, nil otherwise and a boolean to check if the value has been set.

func (*UserLite) GetHref ¶

func (o *UserLite) GetHref() string

GetHref returns the Href field value if set, zero value otherwise.

func (*UserLite) GetHrefOk ¶

func (o *UserLite) GetHrefOk() (*string, bool)

GetHrefOk returns a tuple with the Href field value if set, nil otherwise and a boolean to check if the value has been set.

func (*UserLite) GetId ¶

func (o *UserLite) GetId() string

GetId returns the Id field value

func (*UserLite) GetIdOk ¶

func (o *UserLite) GetIdOk() (*string, bool)

GetIdOk returns a tuple with the Id field value and a boolean to check if the value has been set.

func (*UserLite) GetLastName ¶

func (o *UserLite) GetLastName() string

GetLastName returns the LastName field value if set, zero value otherwise.

func (*UserLite) GetLastNameOk ¶

func (o *UserLite) GetLastNameOk() (*string, bool)

GetLastNameOk returns a tuple with the LastName field value if set, nil otherwise and a boolean to check if the value has been set.

func (*UserLite) GetShortId ¶

func (o *UserLite) GetShortId() string

GetShortId returns the ShortId field value

func (*UserLite) GetShortIdOk ¶

func (o *UserLite) GetShortIdOk() (*string, bool)

GetShortIdOk returns a tuple with the ShortId field value and a boolean to check if the value has been set.

func (*UserLite) GetUpdatedAt ¶

func (o *UserLite) GetUpdatedAt() time.Time

GetUpdatedAt returns the UpdatedAt field value if set, zero value otherwise.

func (*UserLite) GetUpdatedAtOk ¶

func (o *UserLite) GetUpdatedAtOk() (*time.Time, bool)

GetUpdatedAtOk returns a tuple with the UpdatedAt field value if set, nil otherwise and a boolean to check if the value has been set.

func (*UserLite) HasAvatarThumbUrl ¶

func (o *UserLite) HasAvatarThumbUrl() bool

HasAvatarThumbUrl returns a boolean if a field has been set.

func (*UserLite) HasCreatedAt ¶

func (o *UserLite) HasCreatedAt() bool

HasCreatedAt returns a boolean if a field has been set.

func (*UserLite) HasEmail ¶

func (o *UserLite) HasEmail() bool

HasEmail returns a boolean if a field has been set.

func (*UserLite) HasFirstName ¶

func (o *UserLite) HasFirstName() bool

HasFirstName returns a boolean if a field has been set.

func (*UserLite) HasFullName ¶

func (o *UserLite) HasFullName() bool

HasFullName returns a boolean if a field has been set.

func (*UserLite) HasHref ¶

func (o *UserLite) HasHref() bool

HasHref returns a boolean if a field has been set.

func (*UserLite) HasLastName ¶

func (o *UserLite) HasLastName() bool

HasLastName returns a boolean if a field has been set.

func (*UserLite) HasUpdatedAt ¶

func (o *UserLite) HasUpdatedAt() bool

HasUpdatedAt returns a boolean if a field has been set.

func (UserLite) MarshalJSON ¶

func (o UserLite) MarshalJSON() ([]byte, error)

func (*UserLite) SetAvatarThumbUrl ¶

func (o *UserLite) SetAvatarThumbUrl(v string)

SetAvatarThumbUrl gets a reference to the given string and assigns it to the AvatarThumbUrl field.

func (*UserLite) SetCreatedAt ¶

func (o *UserLite) SetCreatedAt(v time.Time)

SetCreatedAt gets a reference to the given time.Time and assigns it to the CreatedAt field.

func (*UserLite) SetEmail ¶

func (o *UserLite) SetEmail(v string)

SetEmail gets a reference to the given string and assigns it to the Email field.

func (*UserLite) SetFirstName ¶

func (o *UserLite) SetFirstName(v string)

SetFirstName gets a reference to the given string and assigns it to the FirstName field.

func (*UserLite) SetFullName ¶

func (o *UserLite) SetFullName(v string)

SetFullName gets a reference to the given string and assigns it to the FullName field.

func (*UserLite) SetHref ¶

func (o *UserLite) SetHref(v string)

SetHref gets a reference to the given string and assigns it to the Href field.

func (*UserLite) SetId ¶

func (o *UserLite) SetId(v string)

SetId sets field value

func (*UserLite) SetLastName ¶

func (o *UserLite) SetLastName(v string)

SetLastName gets a reference to the given string and assigns it to the LastName field.

func (*UserLite) SetShortId ¶

func (o *UserLite) SetShortId(v string)

SetShortId sets field value

func (*UserLite) SetUpdatedAt ¶

func (o *UserLite) SetUpdatedAt(v time.Time)

SetUpdatedAt gets a reference to the given time.Time and assigns it to the UpdatedAt field.

func (UserLite) ToMap ¶ added in v0.4.0

func (o UserLite) ToMap() (map[string]interface{}, error)

func (*UserLite) UnmarshalJSON ¶ added in v0.7.0

func (o *UserLite) UnmarshalJSON(bytes []byte) (err error)

type UserUpdateInput ¶

type UserUpdateInput struct {
	Customdata           map[string]interface{} `json:"customdata,omitempty"`
	FirstName            *string                `json:"first_name,omitempty"`
	LastName             *string                `json:"last_name,omitempty"`
	Password             *string                `json:"password,omitempty"`
	PhoneNumber          *string                `json:"phone_number,omitempty"`
	Timezone             *string                `json:"timezone,omitempty"`
	AdditionalProperties map[string]interface{}
}

UserUpdateInput struct for UserUpdateInput

func NewUserUpdateInput ¶

func NewUserUpdateInput() *UserUpdateInput

NewUserUpdateInput instantiates a new UserUpdateInput object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewUserUpdateInputWithDefaults ¶

func NewUserUpdateInputWithDefaults() *UserUpdateInput

NewUserUpdateInputWithDefaults instantiates a new UserUpdateInput object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*UserUpdateInput) GetCustomdata ¶

func (o *UserUpdateInput) GetCustomdata() map[string]interface{}

GetCustomdata returns the Customdata field value if set, zero value otherwise.

func (*UserUpdateInput) GetCustomdataOk ¶

func (o *UserUpdateInput) GetCustomdataOk() (map[string]interface{}, bool)

GetCustomdataOk returns a tuple with the Customdata field value if set, nil otherwise and a boolean to check if the value has been set.

func (*UserUpdateInput) GetFirstName ¶

func (o *UserUpdateInput) GetFirstName() string

GetFirstName returns the FirstName field value if set, zero value otherwise.

func (*UserUpdateInput) GetFirstNameOk ¶

func (o *UserUpdateInput) GetFirstNameOk() (*string, bool)

GetFirstNameOk returns a tuple with the FirstName field value if set, nil otherwise and a boolean to check if the value has been set.

func (*UserUpdateInput) GetLastName ¶

func (o *UserUpdateInput) GetLastName() string

GetLastName returns the LastName field value if set, zero value otherwise.

func (*UserUpdateInput) GetLastNameOk ¶

func (o *UserUpdateInput) GetLastNameOk() (*string, bool)

GetLastNameOk returns a tuple with the LastName field value if set, nil otherwise and a boolean to check if the value has been set.

func (*UserUpdateInput) GetPassword ¶

func (o *UserUpdateInput) GetPassword() string

GetPassword returns the Password field value if set, zero value otherwise.

func (*UserUpdateInput) GetPasswordOk ¶

func (o *UserUpdateInput) GetPasswordOk() (*string, bool)

GetPasswordOk returns a tuple with the Password field value if set, nil otherwise and a boolean to check if the value has been set.

func (*UserUpdateInput) GetPhoneNumber ¶

func (o *UserUpdateInput) GetPhoneNumber() string

GetPhoneNumber returns the PhoneNumber field value if set, zero value otherwise.

func (*UserUpdateInput) GetPhoneNumberOk ¶

func (o *UserUpdateInput) GetPhoneNumberOk() (*string, bool)

GetPhoneNumberOk returns a tuple with the PhoneNumber field value if set, nil otherwise and a boolean to check if the value has been set.

func (*UserUpdateInput) GetTimezone ¶

func (o *UserUpdateInput) GetTimezone() string

GetTimezone returns the Timezone field value if set, zero value otherwise.

func (*UserUpdateInput) GetTimezoneOk ¶

func (o *UserUpdateInput) GetTimezoneOk() (*string, bool)

GetTimezoneOk returns a tuple with the Timezone field value if set, nil otherwise and a boolean to check if the value has been set.

func (*UserUpdateInput) HasCustomdata ¶

func (o *UserUpdateInput) HasCustomdata() bool

HasCustomdata returns a boolean if a field has been set.

func (*UserUpdateInput) HasFirstName ¶

func (o *UserUpdateInput) HasFirstName() bool

HasFirstName returns a boolean if a field has been set.

func (*UserUpdateInput) HasLastName ¶

func (o *UserUpdateInput) HasLastName() bool

HasLastName returns a boolean if a field has been set.

func (*UserUpdateInput) HasPassword ¶

func (o *UserUpdateInput) HasPassword() bool

HasPassword returns a boolean if a field has been set.

func (*UserUpdateInput) HasPhoneNumber ¶

func (o *UserUpdateInput) HasPhoneNumber() bool

HasPhoneNumber returns a boolean if a field has been set.

func (*UserUpdateInput) HasTimezone ¶

func (o *UserUpdateInput) HasTimezone() bool

HasTimezone returns a boolean if a field has been set.

func (UserUpdateInput) MarshalJSON ¶

func (o UserUpdateInput) MarshalJSON() ([]byte, error)

func (*UserUpdateInput) SetCustomdata ¶

func (o *UserUpdateInput) SetCustomdata(v map[string]interface{})

SetCustomdata gets a reference to the given map[string]interface{} and assigns it to the Customdata field.

func (*UserUpdateInput) SetFirstName ¶

func (o *UserUpdateInput) SetFirstName(v string)

SetFirstName gets a reference to the given string and assigns it to the FirstName field.

func (*UserUpdateInput) SetLastName ¶

func (o *UserUpdateInput) SetLastName(v string)

SetLastName gets a reference to the given string and assigns it to the LastName field.

func (*UserUpdateInput) SetPassword ¶

func (o *UserUpdateInput) SetPassword(v string)

SetPassword gets a reference to the given string and assigns it to the Password field.

func (*UserUpdateInput) SetPhoneNumber ¶

func (o *UserUpdateInput) SetPhoneNumber(v string)

SetPhoneNumber gets a reference to the given string and assigns it to the PhoneNumber field.

func (*UserUpdateInput) SetTimezone ¶

func (o *UserUpdateInput) SetTimezone(v string)

SetTimezone gets a reference to the given string and assigns it to the Timezone field.

func (UserUpdateInput) ToMap ¶ added in v0.4.0

func (o UserUpdateInput) ToMap() (map[string]interface{}, error)

func (*UserUpdateInput) UnmarshalJSON ¶ added in v0.7.0

func (o *UserUpdateInput) UnmarshalJSON(bytes []byte) (err error)

type UserVerificationTokensApiService ¶

type UserVerificationTokensApiService service

UserVerificationTokensApiService UserVerificationTokensApi service

func (*UserVerificationTokensApiService) ConsumeVerificationRequest ¶

ConsumeVerificationRequest Verify a user using an email verification token

Consumes an email verification token and verifies the user associated with it.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@return ApiConsumeVerificationRequestRequest

func (*UserVerificationTokensApiService) ConsumeVerificationRequestExecute ¶

func (a *UserVerificationTokensApiService) ConsumeVerificationRequestExecute(r ApiConsumeVerificationRequestRequest) (*http.Response, error)

Execute executes the request

func (*UserVerificationTokensApiService) CreateValidationRequest ¶

CreateValidationRequest Create an email verification request

Creates an email verification request

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@return ApiCreateValidationRequestRequest

func (*UserVerificationTokensApiService) CreateValidationRequestExecute ¶

Execute executes the request

type Userdata ¶ added in v0.3.0

type Userdata struct {
	Userdata             *string `json:"userdata,omitempty"`
	AdditionalProperties map[string]interface{}
}

Userdata struct for Userdata

func NewUserdata ¶ added in v0.3.0

func NewUserdata() *Userdata

NewUserdata instantiates a new Userdata object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewUserdataWithDefaults ¶ added in v0.3.0

func NewUserdataWithDefaults() *Userdata

NewUserdataWithDefaults instantiates a new Userdata object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*Userdata) GetUserdata ¶ added in v0.3.0

func (o *Userdata) GetUserdata() string

GetUserdata returns the Userdata field value if set, zero value otherwise.

func (*Userdata) GetUserdataOk ¶ added in v0.3.0

func (o *Userdata) GetUserdataOk() (*string, bool)

GetUserdataOk returns a tuple with the Userdata field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Userdata) HasUserdata ¶ added in v0.3.0

func (o *Userdata) HasUserdata() bool

HasUserdata returns a boolean if a field has been set.

func (Userdata) MarshalJSON ¶ added in v0.3.0

func (o Userdata) MarshalJSON() ([]byte, error)

func (*Userdata) SetUserdata ¶ added in v0.3.0

func (o *Userdata) SetUserdata(v string)

SetUserdata gets a reference to the given string and assigns it to the Userdata field.

func (Userdata) ToMap ¶ added in v0.4.0

func (o Userdata) ToMap() (map[string]interface{}, error)

func (*Userdata) UnmarshalJSON ¶ added in v0.7.0

func (o *Userdata) UnmarshalJSON(bytes []byte) (err error)

type UserdataApiService ¶

type UserdataApiService service

UserdataApiService UserdataApi service

func (*UserdataApiService) ValidateUserdata ¶

ValidateUserdata Validate user data

Validates user data (Userdata)

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@return ApiValidateUserdataRequest

func (*UserdataApiService) ValidateUserdataExecute ¶

func (a *UserdataApiService) ValidateUserdataExecute(r ApiValidateUserdataRequest) (*http.Response, error)

Execute executes the request

type UsersApiService ¶

type UsersApiService service

UsersApiService UsersApi service

func (*UsersApiService) CreateUser ¶

CreateUser Create a user

Creates a user.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@return ApiCreateUserRequest

func (*UsersApiService) CreateUserExecute ¶

func (a *UsersApiService) CreateUserExecute(r ApiCreateUserRequest) (*User, *http.Response, error)

Execute executes the request

@return User

func (*UsersApiService) FindCurrentUser ¶

func (a *UsersApiService) FindCurrentUser(ctx context.Context) ApiFindCurrentUserRequest

FindCurrentUser Retrieve the current user

Returns the user object for the currently logged-in user.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@return ApiFindCurrentUserRequest

func (*UsersApiService) FindCurrentUserExecute ¶

func (a *UsersApiService) FindCurrentUserExecute(r ApiFindCurrentUserRequest) (*User, *http.Response, error)

Execute executes the request

@return User

func (*UsersApiService) FindInvitations ¶

func (a *UsersApiService) FindInvitations(ctx context.Context) ApiFindInvitationsRequest

FindInvitations Retrieve current user invitations

Returns all invitations in current user.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@return ApiFindInvitationsRequest

func (*UsersApiService) FindInvitationsExecute ¶

func (a *UsersApiService) FindInvitationsExecute(r ApiFindInvitationsRequest) (*InvitationList, *http.Response, error)

Execute executes the request

@return InvitationList

func (*UsersApiService) FindUserById ¶

func (a *UsersApiService) FindUserById(ctx context.Context, id string) ApiFindUserByIdRequest

FindUserById Retrieve a user

Returns a single user if the user has access

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param id User UUID
@return ApiFindUserByIdRequest

func (*UsersApiService) FindUserByIdExecute ¶

func (a *UsersApiService) FindUserByIdExecute(r ApiFindUserByIdRequest) (*User, *http.Response, error)

Execute executes the request

@return User

func (*UsersApiService) FindUserCustomdata ¶

func (a *UsersApiService) FindUserCustomdata(ctx context.Context, id string) ApiFindUserCustomdataRequest

FindUserCustomdata Retrieve the custom metadata of a user

Provides the custom metadata stored for this user in json format

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param id User UUID
@return ApiFindUserCustomdataRequest

func (*UsersApiService) FindUserCustomdataExecute ¶

func (a *UsersApiService) FindUserCustomdataExecute(r ApiFindUserCustomdataRequest) (*http.Response, error)

Execute executes the request

func (*UsersApiService) FindUsers ¶

FindUsers Retrieve all users

Returns a list of users that the are accessible to the current user (all users in the current user’s projects, essentially).

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@return ApiFindUsersRequest

func (*UsersApiService) FindUsersExecute ¶

func (a *UsersApiService) FindUsersExecute(r ApiFindUsersRequest) (*UserList, *http.Response, error)

Execute executes the request

@return UserList

func (*UsersApiService) UpdateCurrentUser ¶

func (a *UsersApiService) UpdateCurrentUser(ctx context.Context) ApiUpdateCurrentUserRequest

UpdateCurrentUser Update the current user

Updates the currently logged-in user.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@return ApiUpdateCurrentUserRequest

func (*UsersApiService) UpdateCurrentUserExecute ¶

func (a *UsersApiService) UpdateCurrentUserExecute(r ApiUpdateCurrentUserRequest) (*User, *http.Response, error)

Execute executes the request

@return User

type VLANsApiService ¶

type VLANsApiService service

VLANsApiService VLANsApi service

func (*VLANsApiService) CreateVirtualNetwork ¶

func (a *VLANsApiService) CreateVirtualNetwork(ctx context.Context, id string) ApiCreateVirtualNetworkRequest

CreateVirtualNetwork Create a virtual network

Creates an virtual network.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param id Project UUID
@return ApiCreateVirtualNetworkRequest

func (*VLANsApiService) CreateVirtualNetworkExecute ¶

func (a *VLANsApiService) CreateVirtualNetworkExecute(r ApiCreateVirtualNetworkRequest) (*VirtualNetwork, *http.Response, error)

Execute executes the request

@return VirtualNetwork

func (*VLANsApiService) DeleteVirtualNetwork ¶

func (a *VLANsApiService) DeleteVirtualNetwork(ctx context.Context, id string) ApiDeleteVirtualNetworkRequest

DeleteVirtualNetwork Delete a virtual network

Deletes a virtual network.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param id Virtual Network UUID
@return ApiDeleteVirtualNetworkRequest

func (*VLANsApiService) DeleteVirtualNetworkExecute ¶

func (a *VLANsApiService) DeleteVirtualNetworkExecute(r ApiDeleteVirtualNetworkRequest) (*VirtualNetwork, *http.Response, error)

Execute executes the request

@return VirtualNetwork

func (*VLANsApiService) FindVirtualNetworks ¶

func (a *VLANsApiService) FindVirtualNetworks(ctx context.Context, id string) ApiFindVirtualNetworksRequest

FindVirtualNetworks Retrieve all virtual networks

Provides a list of virtual networks for a single project.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param id Project UUID
@return ApiFindVirtualNetworksRequest

func (*VLANsApiService) FindVirtualNetworksExecute ¶

func (a *VLANsApiService) FindVirtualNetworksExecute(r ApiFindVirtualNetworksRequest) (*VirtualNetworkList, *http.Response, error)

Execute executes the request

@return VirtualNetworkList

func (*VLANsApiService) GetVirtualNetwork ¶

func (a *VLANsApiService) GetVirtualNetwork(ctx context.Context, id string) ApiGetVirtualNetworkRequest

GetVirtualNetwork Get a virtual network

Get a virtual network.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param id Virtual Network UUID
@return ApiGetVirtualNetworkRequest

func (*VLANsApiService) GetVirtualNetworkExecute ¶

func (a *VLANsApiService) GetVirtualNetworkExecute(r ApiGetVirtualNetworkRequest) (*VirtualNetwork, *http.Response, error)

Execute executes the request

@return VirtualNetwork

type VRFsApiService ¶

type VRFsApiService service

VRFsApiService VRFsApi service

func (*VRFsApiService) BgpDynamicNeighborsIdGet ¶ added in v0.9.0

func (a *VRFsApiService) BgpDynamicNeighborsIdGet(ctx context.Context, id string) ApiBgpDynamicNeighborsIdGetRequest

BgpDynamicNeighborsIdGet Retrieve a BGP Dynamic Neighbor

Return a single BGP Dynamic Neighbor resource

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param id BGP Dynamic Neighbor UUID
@return ApiBgpDynamicNeighborsIdGetRequest

func (*VRFsApiService) BgpDynamicNeighborsIdGetExecute ¶ added in v0.9.0

func (a *VRFsApiService) BgpDynamicNeighborsIdGetExecute(r ApiBgpDynamicNeighborsIdGetRequest) (*BgpDynamicNeighbor, *http.Response, error)

Execute executes the request

@return BgpDynamicNeighbor

func (*VRFsApiService) CreateBgpDynamicNeighbor ¶ added in v0.9.0

func (a *VRFsApiService) CreateBgpDynamicNeighbor(ctx context.Context, id string) ApiCreateBgpDynamicNeighborRequest

CreateBgpDynamicNeighbor Create a VRF BGP Dynamic Neighbor range

Create a VRF BGP Dynamic Neighbor range.

BGP Dynamic Neighbor records are limited to 2 per Virtual Network.

Notice: VRFs are a test feature currently under active development, and only available to certain users. Please contact Customer Success for more information.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param id Metal Gateway UUID
@return ApiCreateBgpDynamicNeighborRequest

func (*VRFsApiService) CreateBgpDynamicNeighborExecute ¶ added in v0.9.0

func (a *VRFsApiService) CreateBgpDynamicNeighborExecute(r ApiCreateBgpDynamicNeighborRequest) (*BgpDynamicNeighbor, *http.Response, error)

Execute executes the request

@return BgpDynamicNeighbor

func (*VRFsApiService) CreateVrf ¶

CreateVrf Create a new VRF in the specified project

Creates a new VRF in the specified project

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param id Project UUID
@return ApiCreateVrfRequest

func (*VRFsApiService) CreateVrfExecute ¶

func (a *VRFsApiService) CreateVrfExecute(r ApiCreateVrfRequest) (*Vrf, *http.Response, error)

Execute executes the request

@return Vrf

func (*VRFsApiService) CreateVrfRoute ¶ added in v0.5.0

func (a *VRFsApiService) CreateVrfRoute(ctx context.Context, id string) ApiCreateVrfRouteRequest

CreateVrfRoute Create a VRF route

Create a route in a VRF. Currently only static default routes are supported.

Notice: VRFs are a test feature currently under active development, and only available to certain users. Please contact Customer Success for more information.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param id VRF UUID
@return ApiCreateVrfRouteRequest

func (*VRFsApiService) CreateVrfRouteExecute ¶ added in v0.5.0

func (a *VRFsApiService) CreateVrfRouteExecute(r ApiCreateVrfRouteRequest) (*VrfRoute, *http.Response, error)

Execute executes the request

@return VrfRoute

func (*VRFsApiService) DeleteBgpDynamicNeighborById ¶ added in v0.9.0

func (a *VRFsApiService) DeleteBgpDynamicNeighborById(ctx context.Context, id string) ApiDeleteBgpDynamicNeighborByIdRequest

DeleteBgpDynamicNeighborById Delete a VRF BGP Dynamic Neighbor

Trigger the removal of a BGP Neighbor range from a VRF

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param id BGP Dynamic Neighbor UUID
@return ApiDeleteBgpDynamicNeighborByIdRequest

func (*VRFsApiService) DeleteBgpDynamicNeighborByIdExecute ¶ added in v0.9.0

func (a *VRFsApiService) DeleteBgpDynamicNeighborByIdExecute(r ApiDeleteBgpDynamicNeighborByIdRequest) (*BgpDynamicNeighbor, *http.Response, error)

Execute executes the request

@return BgpDynamicNeighbor

func (*VRFsApiService) DeleteVrf ¶

DeleteVrf Delete the VRF

Deletes the VRF

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param id VRF UUID
@return ApiDeleteVrfRequest

func (*VRFsApiService) DeleteVrfExecute ¶

func (a *VRFsApiService) DeleteVrfExecute(r ApiDeleteVrfRequest) (*http.Response, error)

Execute executes the request

func (*VRFsApiService) DeleteVrfRouteById ¶ added in v0.5.0

func (a *VRFsApiService) DeleteVrfRouteById(ctx context.Context, id string) ApiDeleteVrfRouteByIdRequest

DeleteVrfRouteById Delete a VRF Route

Trigger the deletion of a VRF Route resource. The status of the route will update to 'deleting', and the route resource will remain accessible while background operations remove the route from the network. Once the route has been removed from the network, the resource will be fully deleted.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param id VRF Route UUID
@return ApiDeleteVrfRouteByIdRequest

func (*VRFsApiService) DeleteVrfRouteByIdExecute ¶ added in v0.5.0

func (a *VRFsApiService) DeleteVrfRouteByIdExecute(r ApiDeleteVrfRouteByIdRequest) (*VrfRoute, *http.Response, error)

Execute executes the request

@return VrfRoute

func (*VRFsApiService) FindVrfById ¶

func (a *VRFsApiService) FindVrfById(ctx context.Context, id string) ApiFindVrfByIdRequest

FindVrfById Retrieve a VRF

Returns a single VRF resource

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param id VRF UUID
@return ApiFindVrfByIdRequest

func (*VRFsApiService) FindVrfByIdExecute ¶

func (a *VRFsApiService) FindVrfByIdExecute(r ApiFindVrfByIdRequest) (*Vrf, *http.Response, error)

Execute executes the request

@return Vrf

func (*VRFsApiService) FindVrfIpReservation ¶ added in v0.5.0

func (a *VRFsApiService) FindVrfIpReservation(ctx context.Context, vrfId string, id string) ApiFindVrfIpReservationRequest

FindVrfIpReservation Retrieve all VRF IP Reservations in the VRF

Returns the IP Reservation for the VRF.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param vrfId VRF UUID
@param id IP UUID
@return ApiFindVrfIpReservationRequest

func (*VRFsApiService) FindVrfIpReservationExecute ¶ added in v0.5.0

func (a *VRFsApiService) FindVrfIpReservationExecute(r ApiFindVrfIpReservationRequest) (*VrfIpReservation, *http.Response, error)

Execute executes the request

@return VrfIpReservation

func (*VRFsApiService) FindVrfIpReservations ¶

func (a *VRFsApiService) FindVrfIpReservations(ctx context.Context, id string) ApiFindVrfIpReservationsRequest

FindVrfIpReservations Retrieve all VRF IP Reservations in the VRF

Returns the list of VRF IP Reservations for the VRF.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param id VRF UUID
@return ApiFindVrfIpReservationsRequest

func (*VRFsApiService) FindVrfIpReservationsExecute ¶

func (a *VRFsApiService) FindVrfIpReservationsExecute(r ApiFindVrfIpReservationsRequest) (*VrfIpReservationList, *http.Response, error)

Execute executes the request

@return VrfIpReservationList

func (*VRFsApiService) FindVrfRouteById ¶ added in v0.5.0

func (a *VRFsApiService) FindVrfRouteById(ctx context.Context, id string) ApiFindVrfRouteByIdRequest

FindVrfRouteById Retrieve a VRF Route

Returns a single VRF Route resource

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param id VRF Route UUID
@return ApiFindVrfRouteByIdRequest

func (*VRFsApiService) FindVrfRouteByIdExecute ¶ added in v0.5.0

func (a *VRFsApiService) FindVrfRouteByIdExecute(r ApiFindVrfRouteByIdRequest) (*VrfRoute, *http.Response, error)

Execute executes the request

@return VrfRoute

func (*VRFsApiService) FindVrfs ¶

FindVrfs Retrieve all VRFs in the project

Returns the list of VRFs for a single project.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param id Project UUID
@return ApiFindVrfsRequest

func (*VRFsApiService) FindVrfsExecute ¶

func (a *VRFsApiService) FindVrfsExecute(r ApiFindVrfsRequest) (*VrfList, *http.Response, error)

Execute executes the request

@return VrfList

func (*VRFsApiService) GetBgpDynamicNeighbors ¶ added in v0.9.0

func (a *VRFsApiService) GetBgpDynamicNeighbors(ctx context.Context, id string) ApiGetBgpDynamicNeighborsRequest

GetBgpDynamicNeighbors List BGP Dynamic Neighbors

Returns the list of VRF BGP Dynamic Neighbors for this Metal Gateway

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param id Metal Gateway UUID
@return ApiGetBgpDynamicNeighborsRequest

func (*VRFsApiService) GetBgpDynamicNeighborsExecute ¶ added in v0.9.0

Execute executes the request

@return BgpDynamicNeighborList

func (*VRFsApiService) GetVrfRoutes ¶ added in v0.5.0

func (a *VRFsApiService) GetVrfRoutes(ctx context.Context, id string) ApiGetVrfRoutesRequest

GetVrfRoutes Retrieve all routes in the VRF

Returns the list of routes for the VRF

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param id VRF UUID
@return ApiGetVrfRoutesRequest

func (*VRFsApiService) GetVrfRoutesExecute ¶ added in v0.5.0

func (a *VRFsApiService) GetVrfRoutesExecute(r ApiGetVrfRoutesRequest) (*VrfRouteList, *http.Response, error)

Execute executes the request

@return VrfRouteList

func (*VRFsApiService) UpdateVrf ¶

UpdateVrf Update the VRF

Updates the VRF.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param id VRF UUID
@return ApiUpdateVrfRequest

func (*VRFsApiService) UpdateVrfExecute ¶

func (a *VRFsApiService) UpdateVrfExecute(r ApiUpdateVrfRequest) (*Vrf, *http.Response, error)

Execute executes the request

@return Vrf

func (*VRFsApiService) UpdateVrfRouteById ¶ added in v0.5.0

func (a *VRFsApiService) UpdateVrfRouteById(ctx context.Context, id string) ApiUpdateVrfRouteByIdRequest

UpdateVrfRouteById Update a VRF Route

Requests a VRF Route be redeployed across the network. Updating the prefix or next-hop address on a route is not currently supported.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param id VRF Route UUID
@return ApiUpdateVrfRouteByIdRequest

func (*VRFsApiService) UpdateVrfRouteByIdExecute ¶ added in v0.5.0

func (a *VRFsApiService) UpdateVrfRouteByIdExecute(r ApiUpdateVrfRouteByIdRequest) (*VrfRoute, *http.Response, error)

Execute executes the request

@return VrfRoute

type VerifyEmail ¶ added in v0.3.0

type VerifyEmail struct {
	// User verification token
	UserToken            string `json:"user_token"`
	AdditionalProperties map[string]interface{}
}

VerifyEmail struct for VerifyEmail

func NewVerifyEmail ¶ added in v0.3.0

func NewVerifyEmail(userToken string) *VerifyEmail

NewVerifyEmail instantiates a new VerifyEmail object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewVerifyEmailWithDefaults ¶ added in v0.3.0

func NewVerifyEmailWithDefaults() *VerifyEmail

NewVerifyEmailWithDefaults instantiates a new VerifyEmail object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*VerifyEmail) GetUserToken ¶ added in v0.3.0

func (o *VerifyEmail) GetUserToken() string

GetUserToken returns the UserToken field value

func (*VerifyEmail) GetUserTokenOk ¶ added in v0.3.0

func (o *VerifyEmail) GetUserTokenOk() (*string, bool)

GetUserTokenOk returns a tuple with the UserToken field value and a boolean to check if the value has been set.

func (VerifyEmail) MarshalJSON ¶ added in v0.3.0

func (o VerifyEmail) MarshalJSON() ([]byte, error)

func (*VerifyEmail) SetUserToken ¶ added in v0.3.0

func (o *VerifyEmail) SetUserToken(v string)

SetUserToken sets field value

func (VerifyEmail) ToMap ¶ added in v0.4.0

func (o VerifyEmail) ToMap() (map[string]interface{}, error)

func (*VerifyEmail) UnmarshalJSON ¶ added in v0.7.0

func (o *VerifyEmail) UnmarshalJSON(bytes []byte) (err error)

type VirtualCircuit ¶

type VirtualCircuit struct {
	VlanVirtualCircuit *VlanVirtualCircuit
	VrfVirtualCircuit  *VrfVirtualCircuit
}

VirtualCircuit - struct for VirtualCircuit

func VlanVirtualCircuitAsVirtualCircuit ¶ added in v0.8.0

func VlanVirtualCircuitAsVirtualCircuit(v *VlanVirtualCircuit) VirtualCircuit

VlanVirtualCircuitAsVirtualCircuit is a convenience function that returns VlanVirtualCircuit wrapped in VirtualCircuit

func VrfVirtualCircuitAsVirtualCircuit ¶ added in v0.8.0

func VrfVirtualCircuitAsVirtualCircuit(v *VrfVirtualCircuit) VirtualCircuit

VrfVirtualCircuitAsVirtualCircuit is a convenience function that returns VrfVirtualCircuit wrapped in VirtualCircuit

func (*VirtualCircuit) GetActualInstance ¶ added in v0.8.0

func (obj *VirtualCircuit) GetActualInstance() interface{}

Get the actual instance

func (VirtualCircuit) MarshalJSON ¶

func (src VirtualCircuit) MarshalJSON() ([]byte, error)

Marshal data from the first non-nil pointers in the struct to JSON

func (*VirtualCircuit) UnmarshalJSON ¶ added in v0.7.0

func (dst *VirtualCircuit) UnmarshalJSON(data []byte) error

Unmarshal JSON data into one of the pointers in the struct

type VirtualCircuitCreateInput ¶

type VirtualCircuitCreateInput struct {
	VlanVirtualCircuitCreateInput *VlanVirtualCircuitCreateInput
	VrfVirtualCircuitCreateInput  *VrfVirtualCircuitCreateInput
}

VirtualCircuitCreateInput - struct for VirtualCircuitCreateInput

func VlanVirtualCircuitCreateInputAsVirtualCircuitCreateInput ¶ added in v0.8.0

func VlanVirtualCircuitCreateInputAsVirtualCircuitCreateInput(v *VlanVirtualCircuitCreateInput) VirtualCircuitCreateInput

VlanVirtualCircuitCreateInputAsVirtualCircuitCreateInput is a convenience function that returns VlanVirtualCircuitCreateInput wrapped in VirtualCircuitCreateInput

func VrfVirtualCircuitCreateInputAsVirtualCircuitCreateInput ¶ added in v0.8.0

func VrfVirtualCircuitCreateInputAsVirtualCircuitCreateInput(v *VrfVirtualCircuitCreateInput) VirtualCircuitCreateInput

VrfVirtualCircuitCreateInputAsVirtualCircuitCreateInput is a convenience function that returns VrfVirtualCircuitCreateInput wrapped in VirtualCircuitCreateInput

func (*VirtualCircuitCreateInput) GetActualInstance ¶ added in v0.8.0

func (obj *VirtualCircuitCreateInput) GetActualInstance() interface{}

Get the actual instance

func (VirtualCircuitCreateInput) MarshalJSON ¶

func (src VirtualCircuitCreateInput) MarshalJSON() ([]byte, error)

Marshal data from the first non-nil pointers in the struct to JSON

func (*VirtualCircuitCreateInput) UnmarshalJSON ¶ added in v0.7.0

func (dst *VirtualCircuitCreateInput) UnmarshalJSON(data []byte) error

Unmarshal JSON data into one of the pointers in the struct

type VirtualCircuitList ¶

type VirtualCircuitList struct {
	VirtualCircuits      []VirtualCircuit `json:"virtual_circuits,omitempty"`
	AdditionalProperties map[string]interface{}
}

VirtualCircuitList struct for VirtualCircuitList

func NewVirtualCircuitList ¶

func NewVirtualCircuitList() *VirtualCircuitList

NewVirtualCircuitList instantiates a new VirtualCircuitList object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewVirtualCircuitListWithDefaults ¶

func NewVirtualCircuitListWithDefaults() *VirtualCircuitList

NewVirtualCircuitListWithDefaults instantiates a new VirtualCircuitList object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*VirtualCircuitList) GetVirtualCircuits ¶

func (o *VirtualCircuitList) GetVirtualCircuits() []VirtualCircuit

GetVirtualCircuits returns the VirtualCircuits field value if set, zero value otherwise.

func (*VirtualCircuitList) GetVirtualCircuitsOk ¶

func (o *VirtualCircuitList) GetVirtualCircuitsOk() ([]VirtualCircuit, bool)

GetVirtualCircuitsOk returns a tuple with the VirtualCircuits field value if set, nil otherwise and a boolean to check if the value has been set.

func (*VirtualCircuitList) HasVirtualCircuits ¶

func (o *VirtualCircuitList) HasVirtualCircuits() bool

HasVirtualCircuits returns a boolean if a field has been set.

func (VirtualCircuitList) MarshalJSON ¶

func (o VirtualCircuitList) MarshalJSON() ([]byte, error)

func (*VirtualCircuitList) SetVirtualCircuits ¶

func (o *VirtualCircuitList) SetVirtualCircuits(v []VirtualCircuit)

SetVirtualCircuits gets a reference to the given []VirtualCircuit and assigns it to the VirtualCircuits field.

func (VirtualCircuitList) ToMap ¶ added in v0.4.0

func (o VirtualCircuitList) ToMap() (map[string]interface{}, error)

func (*VirtualCircuitList) UnmarshalJSON ¶ added in v0.7.0

func (o *VirtualCircuitList) UnmarshalJSON(bytes []byte) (err error)

type VirtualCircuitUpdateInput ¶

type VirtualCircuitUpdateInput struct {
	VlanVirtualCircuitUpdateInput *VlanVirtualCircuitUpdateInput
	VrfVirtualCircuitUpdateInput  *VrfVirtualCircuitUpdateInput
}

VirtualCircuitUpdateInput - struct for VirtualCircuitUpdateInput

func VlanVirtualCircuitUpdateInputAsVirtualCircuitUpdateInput ¶ added in v0.8.0

func VlanVirtualCircuitUpdateInputAsVirtualCircuitUpdateInput(v *VlanVirtualCircuitUpdateInput) VirtualCircuitUpdateInput

VlanVirtualCircuitUpdateInputAsVirtualCircuitUpdateInput is a convenience function that returns VlanVirtualCircuitUpdateInput wrapped in VirtualCircuitUpdateInput

func VrfVirtualCircuitUpdateInputAsVirtualCircuitUpdateInput ¶ added in v0.8.0

func VrfVirtualCircuitUpdateInputAsVirtualCircuitUpdateInput(v *VrfVirtualCircuitUpdateInput) VirtualCircuitUpdateInput

VrfVirtualCircuitUpdateInputAsVirtualCircuitUpdateInput is a convenience function that returns VrfVirtualCircuitUpdateInput wrapped in VirtualCircuitUpdateInput

func (*VirtualCircuitUpdateInput) GetActualInstance ¶ added in v0.8.0

func (obj *VirtualCircuitUpdateInput) GetActualInstance() interface{}

Get the actual instance

func (VirtualCircuitUpdateInput) MarshalJSON ¶

func (src VirtualCircuitUpdateInput) MarshalJSON() ([]byte, error)

Marshal data from the first non-nil pointers in the struct to JSON

func (*VirtualCircuitUpdateInput) UnmarshalJSON ¶ added in v0.7.0

func (dst *VirtualCircuitUpdateInput) UnmarshalJSON(data []byte) error

Unmarshal JSON data into one of the pointers in the struct

type VirtualNetwork ¶

type VirtualNetwork struct {
	AssignedTo *Href `json:"assigned_to,omitempty"`
	// True if the virtual network is attached to a virtual circuit. False if not.
	AssignedToVirtualCircuit *bool      `json:"assigned_to_virtual_circuit,omitempty"`
	Description              *string    `json:"description,omitempty"`
	Facility                 *Href      `json:"facility,omitempty"`
	Href                     *string    `json:"href,omitempty"`
	CreatedAt                *time.Time `json:"created_at,omitempty"`
	Id                       *string    `json:"id,omitempty"`
	// A list of instances with ports currently associated to this Virtual Network.
	Instances []Href `json:"instances,omitempty"`
	// A list of metal gateways currently associated to this Virtual Network.
	MetalGateways []MetalGatewayLite `json:"metal_gateways,omitempty"`
	Metro         *Href              `json:"metro,omitempty"`
	// The Metro code of the metro in which this Virtual Network is defined.
	MetroCode            *string  `json:"metro_code,omitempty"`
	Vxlan                *int32   `json:"vxlan,omitempty"`
	Tags                 []string `json:"tags,omitempty"`
	AdditionalProperties map[string]interface{}
}

VirtualNetwork struct for VirtualNetwork

func NewVirtualNetwork ¶

func NewVirtualNetwork() *VirtualNetwork

NewVirtualNetwork instantiates a new VirtualNetwork object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewVirtualNetworkWithDefaults ¶

func NewVirtualNetworkWithDefaults() *VirtualNetwork

NewVirtualNetworkWithDefaults instantiates a new VirtualNetwork object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*VirtualNetwork) GetAssignedTo ¶

func (o *VirtualNetwork) GetAssignedTo() Href

GetAssignedTo returns the AssignedTo field value if set, zero value otherwise.

func (*VirtualNetwork) GetAssignedToOk ¶

func (o *VirtualNetwork) GetAssignedToOk() (*Href, bool)

GetAssignedToOk returns a tuple with the AssignedTo field value if set, nil otherwise and a boolean to check if the value has been set.

func (*VirtualNetwork) GetAssignedToVirtualCircuit ¶

func (o *VirtualNetwork) GetAssignedToVirtualCircuit() bool

GetAssignedToVirtualCircuit returns the AssignedToVirtualCircuit field value if set, zero value otherwise.

func (*VirtualNetwork) GetAssignedToVirtualCircuitOk ¶

func (o *VirtualNetwork) GetAssignedToVirtualCircuitOk() (*bool, bool)

GetAssignedToVirtualCircuitOk returns a tuple with the AssignedToVirtualCircuit field value if set, nil otherwise and a boolean to check if the value has been set.

func (*VirtualNetwork) GetCreatedAt ¶ added in v0.16.0

func (o *VirtualNetwork) GetCreatedAt() time.Time

GetCreatedAt returns the CreatedAt field value if set, zero value otherwise.

func (*VirtualNetwork) GetCreatedAtOk ¶ added in v0.16.0

func (o *VirtualNetwork) GetCreatedAtOk() (*time.Time, bool)

GetCreatedAtOk returns a tuple with the CreatedAt field value if set, nil otherwise and a boolean to check if the value has been set.

func (*VirtualNetwork) GetDescription ¶

func (o *VirtualNetwork) GetDescription() string

GetDescription returns the Description field value if set, zero value otherwise.

func (*VirtualNetwork) GetDescriptionOk ¶

func (o *VirtualNetwork) GetDescriptionOk() (*string, bool)

GetDescriptionOk returns a tuple with the Description field value if set, nil otherwise and a boolean to check if the value has been set.

func (*VirtualNetwork) GetFacility ¶

func (o *VirtualNetwork) GetFacility() Href

GetFacility returns the Facility field value if set, zero value otherwise.

func (*VirtualNetwork) GetFacilityOk ¶

func (o *VirtualNetwork) GetFacilityOk() (*Href, bool)

GetFacilityOk returns a tuple with the Facility field value if set, nil otherwise and a boolean to check if the value has been set.

func (*VirtualNetwork) GetHref ¶

func (o *VirtualNetwork) GetHref() string

GetHref returns the Href field value if set, zero value otherwise.

func (*VirtualNetwork) GetHrefOk ¶

func (o *VirtualNetwork) GetHrefOk() (*string, bool)

GetHrefOk returns a tuple with the Href field value if set, nil otherwise and a boolean to check if the value has been set.

func (*VirtualNetwork) GetId ¶

func (o *VirtualNetwork) GetId() string

GetId returns the Id field value if set, zero value otherwise.

func (*VirtualNetwork) GetIdOk ¶

func (o *VirtualNetwork) GetIdOk() (*string, bool)

GetIdOk returns a tuple with the Id field value if set, nil otherwise and a boolean to check if the value has been set.

func (*VirtualNetwork) GetInstances ¶

func (o *VirtualNetwork) GetInstances() []Href

GetInstances returns the Instances field value if set, zero value otherwise.

func (*VirtualNetwork) GetInstancesOk ¶

func (o *VirtualNetwork) GetInstancesOk() ([]Href, bool)

GetInstancesOk returns a tuple with the Instances field value if set, nil otherwise and a boolean to check if the value has been set.

func (*VirtualNetwork) GetMetalGateways ¶ added in v0.3.0

func (o *VirtualNetwork) GetMetalGateways() []MetalGatewayLite

GetMetalGateways returns the MetalGateways field value if set, zero value otherwise.

func (*VirtualNetwork) GetMetalGatewaysOk ¶ added in v0.3.0

func (o *VirtualNetwork) GetMetalGatewaysOk() ([]MetalGatewayLite, bool)

GetMetalGatewaysOk returns a tuple with the MetalGateways field value if set, nil otherwise and a boolean to check if the value has been set.

func (*VirtualNetwork) GetMetro ¶

func (o *VirtualNetwork) GetMetro() Href

GetMetro returns the Metro field value if set, zero value otherwise.

func (*VirtualNetwork) GetMetroCode ¶

func (o *VirtualNetwork) GetMetroCode() string

GetMetroCode returns the MetroCode field value if set, zero value otherwise.

func (*VirtualNetwork) GetMetroCodeOk ¶

func (o *VirtualNetwork) GetMetroCodeOk() (*string, bool)

GetMetroCodeOk returns a tuple with the MetroCode field value if set, nil otherwise and a boolean to check if the value has been set.

func (*VirtualNetwork) GetMetroOk ¶

func (o *VirtualNetwork) GetMetroOk() (*Href, bool)

GetMetroOk returns a tuple with the Metro field value if set, nil otherwise and a boolean to check if the value has been set.

func (*VirtualNetwork) GetTags ¶ added in v0.15.0

func (o *VirtualNetwork) GetTags() []string

GetTags returns the Tags field value if set, zero value otherwise.

func (*VirtualNetwork) GetTagsOk ¶ added in v0.15.0

func (o *VirtualNetwork) GetTagsOk() ([]string, bool)

GetTagsOk returns a tuple with the Tags field value if set, nil otherwise and a boolean to check if the value has been set.

func (*VirtualNetwork) GetVxlan ¶

func (o *VirtualNetwork) GetVxlan() int32

GetVxlan returns the Vxlan field value if set, zero value otherwise.

func (*VirtualNetwork) GetVxlanOk ¶

func (o *VirtualNetwork) GetVxlanOk() (*int32, bool)

GetVxlanOk returns a tuple with the Vxlan field value if set, nil otherwise and a boolean to check if the value has been set.

func (*VirtualNetwork) HasAssignedTo ¶

func (o *VirtualNetwork) HasAssignedTo() bool

HasAssignedTo returns a boolean if a field has been set.

func (*VirtualNetwork) HasAssignedToVirtualCircuit ¶

func (o *VirtualNetwork) HasAssignedToVirtualCircuit() bool

HasAssignedToVirtualCircuit returns a boolean if a field has been set.

func (*VirtualNetwork) HasCreatedAt ¶ added in v0.16.0

func (o *VirtualNetwork) HasCreatedAt() bool

HasCreatedAt returns a boolean if a field has been set.

func (*VirtualNetwork) HasDescription ¶

func (o *VirtualNetwork) HasDescription() bool

HasDescription returns a boolean if a field has been set.

func (*VirtualNetwork) HasFacility ¶

func (o *VirtualNetwork) HasFacility() bool

HasFacility returns a boolean if a field has been set.

func (*VirtualNetwork) HasHref ¶

func (o *VirtualNetwork) HasHref() bool

HasHref returns a boolean if a field has been set.

func (*VirtualNetwork) HasId ¶

func (o *VirtualNetwork) HasId() bool

HasId returns a boolean if a field has been set.

func (*VirtualNetwork) HasInstances ¶

func (o *VirtualNetwork) HasInstances() bool

HasInstances returns a boolean if a field has been set.

func (*VirtualNetwork) HasMetalGateways ¶ added in v0.3.0

func (o *VirtualNetwork) HasMetalGateways() bool

HasMetalGateways returns a boolean if a field has been set.

func (*VirtualNetwork) HasMetro ¶

func (o *VirtualNetwork) HasMetro() bool

HasMetro returns a boolean if a field has been set.

func (*VirtualNetwork) HasMetroCode ¶

func (o *VirtualNetwork) HasMetroCode() bool

HasMetroCode returns a boolean if a field has been set.

func (*VirtualNetwork) HasTags ¶ added in v0.15.0

func (o *VirtualNetwork) HasTags() bool

HasTags returns a boolean if a field has been set.

func (*VirtualNetwork) HasVxlan ¶

func (o *VirtualNetwork) HasVxlan() bool

HasVxlan returns a boolean if a field has been set.

func (VirtualNetwork) MarshalJSON ¶

func (o VirtualNetwork) MarshalJSON() ([]byte, error)

func (*VirtualNetwork) SetAssignedTo ¶

func (o *VirtualNetwork) SetAssignedTo(v Href)

SetAssignedTo gets a reference to the given Href and assigns it to the AssignedTo field.

func (*VirtualNetwork) SetAssignedToVirtualCircuit ¶

func (o *VirtualNetwork) SetAssignedToVirtualCircuit(v bool)

SetAssignedToVirtualCircuit gets a reference to the given bool and assigns it to the AssignedToVirtualCircuit field.

func (*VirtualNetwork) SetCreatedAt ¶ added in v0.16.0

func (o *VirtualNetwork) SetCreatedAt(v time.Time)

SetCreatedAt gets a reference to the given time.Time and assigns it to the CreatedAt field.

func (*VirtualNetwork) SetDescription ¶

func (o *VirtualNetwork) SetDescription(v string)

SetDescription gets a reference to the given string and assigns it to the Description field.

func (*VirtualNetwork) SetFacility ¶

func (o *VirtualNetwork) SetFacility(v Href)

SetFacility gets a reference to the given Href and assigns it to the Facility field.

func (*VirtualNetwork) SetHref ¶

func (o *VirtualNetwork) SetHref(v string)

SetHref gets a reference to the given string and assigns it to the Href field.

func (*VirtualNetwork) SetId ¶

func (o *VirtualNetwork) SetId(v string)

SetId gets a reference to the given string and assigns it to the Id field.

func (*VirtualNetwork) SetInstances ¶

func (o *VirtualNetwork) SetInstances(v []Href)

SetInstances gets a reference to the given []Href and assigns it to the Instances field.

func (*VirtualNetwork) SetMetalGateways ¶ added in v0.3.0

func (o *VirtualNetwork) SetMetalGateways(v []MetalGatewayLite)

SetMetalGateways gets a reference to the given []MetalGatewayLite and assigns it to the MetalGateways field.

func (*VirtualNetwork) SetMetro ¶

func (o *VirtualNetwork) SetMetro(v Href)

SetMetro gets a reference to the given Href and assigns it to the Metro field.

func (*VirtualNetwork) SetMetroCode ¶

func (o *VirtualNetwork) SetMetroCode(v string)

SetMetroCode gets a reference to the given string and assigns it to the MetroCode field.

func (*VirtualNetwork) SetTags ¶ added in v0.15.0

func (o *VirtualNetwork) SetTags(v []string)

SetTags gets a reference to the given []string and assigns it to the Tags field.

func (*VirtualNetwork) SetVxlan ¶

func (o *VirtualNetwork) SetVxlan(v int32)

SetVxlan gets a reference to the given int32 and assigns it to the Vxlan field.

func (VirtualNetwork) ToMap ¶ added in v0.4.0

func (o VirtualNetwork) ToMap() (map[string]interface{}, error)

func (*VirtualNetwork) UnmarshalJSON ¶ added in v0.7.0

func (o *VirtualNetwork) UnmarshalJSON(bytes []byte) (err error)

type VirtualNetworkCreateInput ¶

type VirtualNetworkCreateInput struct {
	Description *string `json:"description,omitempty"`
	// The UUID (or facility code) for the Facility in which to create this Virtual network.
	// Deprecated
	Facility *string `json:"facility,omitempty"`
	// The UUID (or metro code) for the Metro in which to create this Virtual Network.
	Metro *string `json:"metro,omitempty"`
	// VLAN ID between 2-3999. Must be unique for the project within the Metro in which this Virtual Network is being created. If no value is specified, the next-available VLAN ID in the range 1000-1999 will be automatically selected.
	Vxlan                *int32   `json:"vxlan,omitempty"`
	Tags                 []string `json:"tags,omitempty"`
	AdditionalProperties map[string]interface{}
}

VirtualNetworkCreateInput struct for VirtualNetworkCreateInput

func NewVirtualNetworkCreateInput ¶

func NewVirtualNetworkCreateInput() *VirtualNetworkCreateInput

NewVirtualNetworkCreateInput instantiates a new VirtualNetworkCreateInput object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewVirtualNetworkCreateInputWithDefaults ¶

func NewVirtualNetworkCreateInputWithDefaults() *VirtualNetworkCreateInput

NewVirtualNetworkCreateInputWithDefaults instantiates a new VirtualNetworkCreateInput object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*VirtualNetworkCreateInput) GetDescription ¶

func (o *VirtualNetworkCreateInput) GetDescription() string

GetDescription returns the Description field value if set, zero value otherwise.

func (*VirtualNetworkCreateInput) GetDescriptionOk ¶

func (o *VirtualNetworkCreateInput) GetDescriptionOk() (*string, bool)

GetDescriptionOk returns a tuple with the Description field value if set, nil otherwise and a boolean to check if the value has been set.

func (*VirtualNetworkCreateInput) GetFacility ¶

func (o *VirtualNetworkCreateInput) GetFacility() string

GetFacility returns the Facility field value if set, zero value otherwise. Deprecated

func (*VirtualNetworkCreateInput) GetFacilityOk ¶

func (o *VirtualNetworkCreateInput) GetFacilityOk() (*string, bool)

GetFacilityOk returns a tuple with the Facility field value if set, nil otherwise and a boolean to check if the value has been set. Deprecated

func (*VirtualNetworkCreateInput) GetMetro ¶

func (o *VirtualNetworkCreateInput) GetMetro() string

GetMetro returns the Metro field value if set, zero value otherwise.

func (*VirtualNetworkCreateInput) GetMetroOk ¶

func (o *VirtualNetworkCreateInput) GetMetroOk() (*string, bool)

GetMetroOk returns a tuple with the Metro field value if set, nil otherwise and a boolean to check if the value has been set.

func (*VirtualNetworkCreateInput) GetTags ¶ added in v0.15.0

func (o *VirtualNetworkCreateInput) GetTags() []string

GetTags returns the Tags field value if set, zero value otherwise.

func (*VirtualNetworkCreateInput) GetTagsOk ¶ added in v0.15.0

func (o *VirtualNetworkCreateInput) GetTagsOk() ([]string, bool)

GetTagsOk returns a tuple with the Tags field value if set, nil otherwise and a boolean to check if the value has been set.

func (*VirtualNetworkCreateInput) GetVxlan ¶

func (o *VirtualNetworkCreateInput) GetVxlan() int32

GetVxlan returns the Vxlan field value if set, zero value otherwise.

func (*VirtualNetworkCreateInput) GetVxlanOk ¶

func (o *VirtualNetworkCreateInput) GetVxlanOk() (*int32, bool)

GetVxlanOk returns a tuple with the Vxlan field value if set, nil otherwise and a boolean to check if the value has been set.

func (*VirtualNetworkCreateInput) HasDescription ¶

func (o *VirtualNetworkCreateInput) HasDescription() bool

HasDescription returns a boolean if a field has been set.

func (*VirtualNetworkCreateInput) HasFacility ¶

func (o *VirtualNetworkCreateInput) HasFacility() bool

HasFacility returns a boolean if a field has been set.

func (*VirtualNetworkCreateInput) HasMetro ¶

func (o *VirtualNetworkCreateInput) HasMetro() bool

HasMetro returns a boolean if a field has been set.

func (*VirtualNetworkCreateInput) HasTags ¶ added in v0.15.0

func (o *VirtualNetworkCreateInput) HasTags() bool

HasTags returns a boolean if a field has been set.

func (*VirtualNetworkCreateInput) HasVxlan ¶

func (o *VirtualNetworkCreateInput) HasVxlan() bool

HasVxlan returns a boolean if a field has been set.

func (VirtualNetworkCreateInput) MarshalJSON ¶

func (o VirtualNetworkCreateInput) MarshalJSON() ([]byte, error)

func (*VirtualNetworkCreateInput) SetDescription ¶

func (o *VirtualNetworkCreateInput) SetDescription(v string)

SetDescription gets a reference to the given string and assigns it to the Description field.

func (*VirtualNetworkCreateInput) SetFacility ¶

func (o *VirtualNetworkCreateInput) SetFacility(v string)

SetFacility gets a reference to the given string and assigns it to the Facility field. Deprecated

func (*VirtualNetworkCreateInput) SetMetro ¶

func (o *VirtualNetworkCreateInput) SetMetro(v string)

SetMetro gets a reference to the given string and assigns it to the Metro field.

func (*VirtualNetworkCreateInput) SetTags ¶ added in v0.15.0

func (o *VirtualNetworkCreateInput) SetTags(v []string)

SetTags gets a reference to the given []string and assigns it to the Tags field.

func (*VirtualNetworkCreateInput) SetVxlan ¶

func (o *VirtualNetworkCreateInput) SetVxlan(v int32)

SetVxlan gets a reference to the given int32 and assigns it to the Vxlan field.

func (VirtualNetworkCreateInput) ToMap ¶ added in v0.4.0

func (o VirtualNetworkCreateInput) ToMap() (map[string]interface{}, error)

func (*VirtualNetworkCreateInput) UnmarshalJSON ¶ added in v0.7.0

func (o *VirtualNetworkCreateInput) UnmarshalJSON(bytes []byte) (err error)

type VirtualNetworkList ¶

type VirtualNetworkList struct {
	VirtualNetworks      []VirtualNetwork `json:"virtual_networks,omitempty"`
	AdditionalProperties map[string]interface{}
}

VirtualNetworkList struct for VirtualNetworkList

func NewVirtualNetworkList ¶

func NewVirtualNetworkList() *VirtualNetworkList

NewVirtualNetworkList instantiates a new VirtualNetworkList object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewVirtualNetworkListWithDefaults ¶

func NewVirtualNetworkListWithDefaults() *VirtualNetworkList

NewVirtualNetworkListWithDefaults instantiates a new VirtualNetworkList object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*VirtualNetworkList) GetVirtualNetworks ¶

func (o *VirtualNetworkList) GetVirtualNetworks() []VirtualNetwork

GetVirtualNetworks returns the VirtualNetworks field value if set, zero value otherwise.

func (*VirtualNetworkList) GetVirtualNetworksOk ¶

func (o *VirtualNetworkList) GetVirtualNetworksOk() ([]VirtualNetwork, bool)

GetVirtualNetworksOk returns a tuple with the VirtualNetworks field value if set, nil otherwise and a boolean to check if the value has been set.

func (*VirtualNetworkList) HasVirtualNetworks ¶

func (o *VirtualNetworkList) HasVirtualNetworks() bool

HasVirtualNetworks returns a boolean if a field has been set.

func (VirtualNetworkList) MarshalJSON ¶

func (o VirtualNetworkList) MarshalJSON() ([]byte, error)

func (*VirtualNetworkList) SetVirtualNetworks ¶

func (o *VirtualNetworkList) SetVirtualNetworks(v []VirtualNetwork)

SetVirtualNetworks gets a reference to the given []VirtualNetwork and assigns it to the VirtualNetworks field.

func (VirtualNetworkList) ToMap ¶ added in v0.4.0

func (o VirtualNetworkList) ToMap() (map[string]interface{}, error)

func (*VirtualNetworkList) UnmarshalJSON ¶ added in v0.7.0

func (o *VirtualNetworkList) UnmarshalJSON(bytes []byte) (err error)

type VlanFabricVcCreateInput ¶ added in v0.18.0

type VlanFabricVcCreateInput struct {
	// The preferred email used for communication and notifications about the Equinix Fabric interconnection. Required when using a Project API key. Optional and defaults to the primary user email address when using a User API key.
	ContactEmail *string `json:"contact_email,omitempty"`
	Description  *string `json:"description,omitempty"`
	// A Metro ID or code. When creating Fabric VCs (Metal Billed), this is where interconnection will be originating from, as we pre-authorize the use of one of our shared ports as the origin of the interconnection using A-Side service tokens. We only allow local connections for Fabric VCs (Metal Billed), so the destination location must be the same as the origin. For Fabric VCs (Fabric Billed), or shared connections, this will be the destination of the interconnection. We allow remote connections for Fabric VCs (Fabric Billed), so the origin of the interconnection can be a different metro set here.
	Metro   string  `json:"metro"`
	Name    string  `json:"name"`
	Project *string `json:"project,omitempty"`
	// Either 'primary' or 'redundant'.
	Redundancy       string                                  `json:"redundancy"`
	ServiceTokenType VlanFabricVcCreateInputServiceTokenType `json:"service_token_type"`
	// A interconnection speed, in bps, mbps, or gbps. For Fabric VCs, this represents the maximum speed of the interconnection. For Fabric VCs (Metal Billed), this can only be one of the following:  ”50mbps”, ”200mbps”, ”500mbps”, ”1gbps”, ”2gbps”, ”5gbps” or ”10gbps”, and is required for creation. For Fabric VCs (Fabric Billed), this field will always default to ”10gbps” even if it is not provided. For example, ”500000000”, ”50m”, or' ”500mbps” will all work as valid inputs.
	Speed *int32                      `json:"speed,omitempty"`
	Tags  []string                    `json:"tags,omitempty"`
	Type  VlanFabricVcCreateInputType `json:"type"`
	// A list of one or two metro-based VLANs that will be set on the virtual circuits of primary and/or secondary (if redundant) interconnections respectively when creating Fabric VCs. VLANs can also be set after the interconnection is created, but are required to fully activate the virtual circuits.
	Vlans                []int32 `json:"vlans,omitempty"`
	AdditionalProperties map[string]interface{}
}

VlanFabricVcCreateInput struct for VlanFabricVcCreateInput

func NewVlanFabricVcCreateInput ¶ added in v0.18.0

func NewVlanFabricVcCreateInput(metro string, name string, redundancy string, serviceTokenType VlanFabricVcCreateInputServiceTokenType, type_ VlanFabricVcCreateInputType) *VlanFabricVcCreateInput

NewVlanFabricVcCreateInput instantiates a new VlanFabricVcCreateInput object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewVlanFabricVcCreateInputWithDefaults ¶ added in v0.18.0

func NewVlanFabricVcCreateInputWithDefaults() *VlanFabricVcCreateInput

NewVlanFabricVcCreateInputWithDefaults instantiates a new VlanFabricVcCreateInput object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*VlanFabricVcCreateInput) GetContactEmail ¶ added in v0.18.0

func (o *VlanFabricVcCreateInput) GetContactEmail() string

GetContactEmail returns the ContactEmail field value if set, zero value otherwise.

func (*VlanFabricVcCreateInput) GetContactEmailOk ¶ added in v0.18.0

func (o *VlanFabricVcCreateInput) GetContactEmailOk() (*string, bool)

GetContactEmailOk returns a tuple with the ContactEmail field value if set, nil otherwise and a boolean to check if the value has been set.

func (*VlanFabricVcCreateInput) GetDescription ¶ added in v0.18.0

func (o *VlanFabricVcCreateInput) GetDescription() string

GetDescription returns the Description field value if set, zero value otherwise.

func (*VlanFabricVcCreateInput) GetDescriptionOk ¶ added in v0.18.0

func (o *VlanFabricVcCreateInput) GetDescriptionOk() (*string, bool)

GetDescriptionOk returns a tuple with the Description field value if set, nil otherwise and a boolean to check if the value has been set.

func (*VlanFabricVcCreateInput) GetMetro ¶ added in v0.18.0

func (o *VlanFabricVcCreateInput) GetMetro() string

GetMetro returns the Metro field value

func (*VlanFabricVcCreateInput) GetMetroOk ¶ added in v0.18.0

func (o *VlanFabricVcCreateInput) GetMetroOk() (*string, bool)

GetMetroOk returns a tuple with the Metro field value and a boolean to check if the value has been set.

func (*VlanFabricVcCreateInput) GetName ¶ added in v0.18.0

func (o *VlanFabricVcCreateInput) GetName() string

GetName returns the Name field value

func (*VlanFabricVcCreateInput) GetNameOk ¶ added in v0.18.0

func (o *VlanFabricVcCreateInput) GetNameOk() (*string, bool)

GetNameOk returns a tuple with the Name field value and a boolean to check if the value has been set.

func (*VlanFabricVcCreateInput) GetProject ¶ added in v0.18.0

func (o *VlanFabricVcCreateInput) GetProject() string

GetProject returns the Project field value if set, zero value otherwise.

func (*VlanFabricVcCreateInput) GetProjectOk ¶ added in v0.18.0

func (o *VlanFabricVcCreateInput) GetProjectOk() (*string, bool)

GetProjectOk returns a tuple with the Project field value if set, nil otherwise and a boolean to check if the value has been set.

func (*VlanFabricVcCreateInput) GetRedundancy ¶ added in v0.18.0

func (o *VlanFabricVcCreateInput) GetRedundancy() string

GetRedundancy returns the Redundancy field value

func (*VlanFabricVcCreateInput) GetRedundancyOk ¶ added in v0.18.0

func (o *VlanFabricVcCreateInput) GetRedundancyOk() (*string, bool)

GetRedundancyOk returns a tuple with the Redundancy field value and a boolean to check if the value has been set.

func (*VlanFabricVcCreateInput) GetServiceTokenType ¶ added in v0.18.0

GetServiceTokenType returns the ServiceTokenType field value

func (*VlanFabricVcCreateInput) GetServiceTokenTypeOk ¶ added in v0.18.0

GetServiceTokenTypeOk returns a tuple with the ServiceTokenType field value and a boolean to check if the value has been set.

func (*VlanFabricVcCreateInput) GetSpeed ¶ added in v0.18.0

func (o *VlanFabricVcCreateInput) GetSpeed() int32

GetSpeed returns the Speed field value if set, zero value otherwise.

func (*VlanFabricVcCreateInput) GetSpeedOk ¶ added in v0.18.0

func (o *VlanFabricVcCreateInput) GetSpeedOk() (*int32, bool)

GetSpeedOk returns a tuple with the Speed field value if set, nil otherwise and a boolean to check if the value has been set.

func (*VlanFabricVcCreateInput) GetTags ¶ added in v0.18.0

func (o *VlanFabricVcCreateInput) GetTags() []string

GetTags returns the Tags field value if set, zero value otherwise.

func (*VlanFabricVcCreateInput) GetTagsOk ¶ added in v0.18.0

func (o *VlanFabricVcCreateInput) GetTagsOk() ([]string, bool)

GetTagsOk returns a tuple with the Tags field value if set, nil otherwise and a boolean to check if the value has been set.

func (*VlanFabricVcCreateInput) GetType ¶ added in v0.18.0

GetType returns the Type field value

func (*VlanFabricVcCreateInput) GetTypeOk ¶ added in v0.18.0

GetTypeOk returns a tuple with the Type field value and a boolean to check if the value has been set.

func (*VlanFabricVcCreateInput) GetVlans ¶ added in v0.18.0

func (o *VlanFabricVcCreateInput) GetVlans() []int32

GetVlans returns the Vlans field value if set, zero value otherwise.

func (*VlanFabricVcCreateInput) GetVlansOk ¶ added in v0.18.0

func (o *VlanFabricVcCreateInput) GetVlansOk() ([]int32, bool)

GetVlansOk returns a tuple with the Vlans field value if set, nil otherwise and a boolean to check if the value has been set.

func (*VlanFabricVcCreateInput) HasContactEmail ¶ added in v0.18.0

func (o *VlanFabricVcCreateInput) HasContactEmail() bool

HasContactEmail returns a boolean if a field has been set.

func (*VlanFabricVcCreateInput) HasDescription ¶ added in v0.18.0

func (o *VlanFabricVcCreateInput) HasDescription() bool

HasDescription returns a boolean if a field has been set.

func (*VlanFabricVcCreateInput) HasProject ¶ added in v0.18.0

func (o *VlanFabricVcCreateInput) HasProject() bool

HasProject returns a boolean if a field has been set.

func (*VlanFabricVcCreateInput) HasSpeed ¶ added in v0.18.0

func (o *VlanFabricVcCreateInput) HasSpeed() bool

HasSpeed returns a boolean if a field has been set.

func (*VlanFabricVcCreateInput) HasTags ¶ added in v0.18.0

func (o *VlanFabricVcCreateInput) HasTags() bool

HasTags returns a boolean if a field has been set.

func (*VlanFabricVcCreateInput) HasVlans ¶ added in v0.18.0

func (o *VlanFabricVcCreateInput) HasVlans() bool

HasVlans returns a boolean if a field has been set.

func (VlanFabricVcCreateInput) MarshalJSON ¶ added in v0.18.0

func (o VlanFabricVcCreateInput) MarshalJSON() ([]byte, error)

func (*VlanFabricVcCreateInput) SetContactEmail ¶ added in v0.18.0

func (o *VlanFabricVcCreateInput) SetContactEmail(v string)

SetContactEmail gets a reference to the given string and assigns it to the ContactEmail field.

func (*VlanFabricVcCreateInput) SetDescription ¶ added in v0.18.0

func (o *VlanFabricVcCreateInput) SetDescription(v string)

SetDescription gets a reference to the given string and assigns it to the Description field.

func (*VlanFabricVcCreateInput) SetMetro ¶ added in v0.18.0

func (o *VlanFabricVcCreateInput) SetMetro(v string)

SetMetro sets field value

func (*VlanFabricVcCreateInput) SetName ¶ added in v0.18.0

func (o *VlanFabricVcCreateInput) SetName(v string)

SetName sets field value

func (*VlanFabricVcCreateInput) SetProject ¶ added in v0.18.0

func (o *VlanFabricVcCreateInput) SetProject(v string)

SetProject gets a reference to the given string and assigns it to the Project field.

func (*VlanFabricVcCreateInput) SetRedundancy ¶ added in v0.18.0

func (o *VlanFabricVcCreateInput) SetRedundancy(v string)

SetRedundancy sets field value

func (*VlanFabricVcCreateInput) SetServiceTokenType ¶ added in v0.18.0

SetServiceTokenType sets field value

func (*VlanFabricVcCreateInput) SetSpeed ¶ added in v0.18.0

func (o *VlanFabricVcCreateInput) SetSpeed(v int32)

SetSpeed gets a reference to the given int32 and assigns it to the Speed field.

func (*VlanFabricVcCreateInput) SetTags ¶ added in v0.18.0

func (o *VlanFabricVcCreateInput) SetTags(v []string)

SetTags gets a reference to the given []string and assigns it to the Tags field.

func (*VlanFabricVcCreateInput) SetType ¶ added in v0.18.0

SetType sets field value

func (*VlanFabricVcCreateInput) SetVlans ¶ added in v0.18.0

func (o *VlanFabricVcCreateInput) SetVlans(v []int32)

SetVlans gets a reference to the given []int32 and assigns it to the Vlans field.

func (VlanFabricVcCreateInput) ToMap ¶ added in v0.18.0

func (o VlanFabricVcCreateInput) ToMap() (map[string]interface{}, error)

func (*VlanFabricVcCreateInput) UnmarshalJSON ¶ added in v0.18.0

func (o *VlanFabricVcCreateInput) UnmarshalJSON(bytes []byte) (err error)

type VlanFabricVcCreateInputServiceTokenType ¶ added in v0.22.0

type VlanFabricVcCreateInputServiceTokenType string

VlanFabricVcCreateInputServiceTokenType Either 'a_side' or 'z_side'. Setting this field to 'a_side' will create an interconnection with Fabric VCs (Metal Billed). Setting this field to 'z_side' will create an interconnection with Fabric VCs (Fabric Billed). This is required when the 'type' is 'shared', but this is not applicable when the 'type' is 'dedicated'. This parameter is included in the specification as a developer preview and is generally unavailable. Please contact our Support team for more details.

const (
	VLANFABRICVCCREATEINPUTSERVICETOKENTYPE_A_SIDE VlanFabricVcCreateInputServiceTokenType = "a_side"
	VLANFABRICVCCREATEINPUTSERVICETOKENTYPE_Z_SIDE VlanFabricVcCreateInputServiceTokenType = "z_side"
)

List of VlanFabricVcCreateInput_service_token_type

func NewVlanFabricVcCreateInputServiceTokenTypeFromValue ¶ added in v0.22.0

func NewVlanFabricVcCreateInputServiceTokenTypeFromValue(v string) (*VlanFabricVcCreateInputServiceTokenType, error)

NewVlanFabricVcCreateInputServiceTokenTypeFromValue returns a pointer to a valid VlanFabricVcCreateInputServiceTokenType for the value passed as argument, or an error if the value passed is not allowed by the enum

func (VlanFabricVcCreateInputServiceTokenType) IsValid ¶ added in v0.22.0

IsValid return true if the value is valid for the enum, false otherwise

func (VlanFabricVcCreateInputServiceTokenType) Ptr ¶ added in v0.22.0

Ptr returns reference to VlanFabricVcCreateInput_service_token_type value

func (*VlanFabricVcCreateInputServiceTokenType) UnmarshalJSON ¶ added in v0.22.0

func (v *VlanFabricVcCreateInputServiceTokenType) UnmarshalJSON(src []byte) error

type VlanFabricVcCreateInputType ¶ added in v0.22.0

type VlanFabricVcCreateInputType string

VlanFabricVcCreateInputType When requesting for a Fabric VC, the value of this field should be 'shared'.

const (
	VLANFABRICVCCREATEINPUTTYPE_SHARED VlanFabricVcCreateInputType = "shared"
)

List of VlanFabricVcCreateInput_type

func NewVlanFabricVcCreateInputTypeFromValue ¶ added in v0.22.0

func NewVlanFabricVcCreateInputTypeFromValue(v string) (*VlanFabricVcCreateInputType, error)

NewVlanFabricVcCreateInputTypeFromValue returns a pointer to a valid VlanFabricVcCreateInputType for the value passed as argument, or an error if the value passed is not allowed by the enum

func (VlanFabricVcCreateInputType) IsValid ¶ added in v0.22.0

func (v VlanFabricVcCreateInputType) IsValid() bool

IsValid return true if the value is valid for the enum, false otherwise

func (VlanFabricVcCreateInputType) Ptr ¶ added in v0.22.0

Ptr returns reference to VlanFabricVcCreateInput_type value

func (*VlanFabricVcCreateInputType) UnmarshalJSON ¶ added in v0.22.0

func (v *VlanFabricVcCreateInputType) UnmarshalJSON(src []byte) error

type VlanVirtualCircuit ¶ added in v0.8.0

type VlanVirtualCircuit struct {
	// True if the Virtual Circuit is being billed. Currently, only Virtual Circuits of Fabric VCs (Metal Billed) will be billed. Usage will start the first time the Virtual Circuit becomes active, and will not stop until it is deleted from Metal.
	Bill        *bool   `json:"bill,omitempty"`
	Description *string `json:"description,omitempty"`
	Id          *string `json:"id,omitempty"`
	Name        *string `json:"name,omitempty"`
	NniVlan     *int32  `json:"nni_vlan,omitempty"`
	Port        *Href   `json:"port,omitempty"`
	Project     *Href   `json:"project,omitempty"`
	// For Virtual Circuits on shared and dedicated connections, this speed should match the one set on their Interconnection Ports. For Virtual Circuits on Fabric VCs (both Metal and Fabric Billed) that have found their corresponding Fabric connection, this is the actual speed of the interconnection that was configured when setting up the interconnection on the Fabric Portal. Details on Fabric VCs are included in the specification as a developer preview and is generally unavailable. Please contact our Support team for more details.
	Speed                *int32                    `json:"speed,omitempty"`
	Status               *VlanVirtualCircuitStatus `json:"status,omitempty"`
	Tags                 []string                  `json:"tags,omitempty"`
	Type                 *VlanVirtualCircuitType   `json:"type,omitempty"`
	VirtualNetwork       *Href                     `json:"virtual_network,omitempty"`
	Vnid                 *int32                    `json:"vnid,omitempty"`
	CreatedAt            *time.Time                `json:"created_at,omitempty"`
	UpdatedAt            *time.Time                `json:"updated_at,omitempty"`
	AdditionalProperties map[string]interface{}
}

VlanVirtualCircuit struct for VlanVirtualCircuit

func NewVlanVirtualCircuit ¶ added in v0.8.0

func NewVlanVirtualCircuit() *VlanVirtualCircuit

NewVlanVirtualCircuit instantiates a new VlanVirtualCircuit object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewVlanVirtualCircuitWithDefaults ¶ added in v0.8.0

func NewVlanVirtualCircuitWithDefaults() *VlanVirtualCircuit

NewVlanVirtualCircuitWithDefaults instantiates a new VlanVirtualCircuit object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*VlanVirtualCircuit) GetBill ¶ added in v0.8.0

func (o *VlanVirtualCircuit) GetBill() bool

GetBill returns the Bill field value if set, zero value otherwise.

func (*VlanVirtualCircuit) GetBillOk ¶ added in v0.8.0

func (o *VlanVirtualCircuit) GetBillOk() (*bool, bool)

GetBillOk returns a tuple with the Bill field value if set, nil otherwise and a boolean to check if the value has been set.

func (*VlanVirtualCircuit) GetCreatedAt ¶ added in v0.8.0

func (o *VlanVirtualCircuit) GetCreatedAt() time.Time

GetCreatedAt returns the CreatedAt field value if set, zero value otherwise.

func (*VlanVirtualCircuit) GetCreatedAtOk ¶ added in v0.8.0

func (o *VlanVirtualCircuit) GetCreatedAtOk() (*time.Time, bool)

GetCreatedAtOk returns a tuple with the CreatedAt field value if set, nil otherwise and a boolean to check if the value has been set.

func (*VlanVirtualCircuit) GetDescription ¶ added in v0.8.0

func (o *VlanVirtualCircuit) GetDescription() string

GetDescription returns the Description field value if set, zero value otherwise.

func (*VlanVirtualCircuit) GetDescriptionOk ¶ added in v0.8.0

func (o *VlanVirtualCircuit) GetDescriptionOk() (*string, bool)

GetDescriptionOk returns a tuple with the Description field value if set, nil otherwise and a boolean to check if the value has been set.

func (*VlanVirtualCircuit) GetId ¶ added in v0.8.0

func (o *VlanVirtualCircuit) GetId() string

GetId returns the Id field value if set, zero value otherwise.

func (*VlanVirtualCircuit) GetIdOk ¶ added in v0.8.0

func (o *VlanVirtualCircuit) GetIdOk() (*string, bool)

GetIdOk returns a tuple with the Id field value if set, nil otherwise and a boolean to check if the value has been set.

func (*VlanVirtualCircuit) GetName ¶ added in v0.8.0

func (o *VlanVirtualCircuit) GetName() string

GetName returns the Name field value if set, zero value otherwise.

func (*VlanVirtualCircuit) GetNameOk ¶ added in v0.8.0

func (o *VlanVirtualCircuit) GetNameOk() (*string, bool)

GetNameOk returns a tuple with the Name field value if set, nil otherwise and a boolean to check if the value has been set.

func (*VlanVirtualCircuit) GetNniVlan ¶ added in v0.8.0

func (o *VlanVirtualCircuit) GetNniVlan() int32

GetNniVlan returns the NniVlan field value if set, zero value otherwise.

func (*VlanVirtualCircuit) GetNniVlanOk ¶ added in v0.8.0

func (o *VlanVirtualCircuit) GetNniVlanOk() (*int32, bool)

GetNniVlanOk returns a tuple with the NniVlan field value if set, nil otherwise and a boolean to check if the value has been set.

func (*VlanVirtualCircuit) GetPort ¶ added in v0.8.0

func (o *VlanVirtualCircuit) GetPort() Href

GetPort returns the Port field value if set, zero value otherwise.

func (*VlanVirtualCircuit) GetPortOk ¶ added in v0.8.0

func (o *VlanVirtualCircuit) GetPortOk() (*Href, bool)

GetPortOk returns a tuple with the Port field value if set, nil otherwise and a boolean to check if the value has been set.

func (*VlanVirtualCircuit) GetProject ¶ added in v0.8.0

func (o *VlanVirtualCircuit) GetProject() Href

GetProject returns the Project field value if set, zero value otherwise.

func (*VlanVirtualCircuit) GetProjectOk ¶ added in v0.8.0

func (o *VlanVirtualCircuit) GetProjectOk() (*Href, bool)

GetProjectOk returns a tuple with the Project field value if set, nil otherwise and a boolean to check if the value has been set.

func (*VlanVirtualCircuit) GetSpeed ¶ added in v0.8.0

func (o *VlanVirtualCircuit) GetSpeed() int32

GetSpeed returns the Speed field value if set, zero value otherwise.

func (*VlanVirtualCircuit) GetSpeedOk ¶ added in v0.8.0

func (o *VlanVirtualCircuit) GetSpeedOk() (*int32, bool)

GetSpeedOk returns a tuple with the Speed field value if set, nil otherwise and a boolean to check if the value has been set.

func (*VlanVirtualCircuit) GetStatus ¶ added in v0.8.0

GetStatus returns the Status field value if set, zero value otherwise.

func (*VlanVirtualCircuit) GetStatusOk ¶ added in v0.8.0

func (o *VlanVirtualCircuit) GetStatusOk() (*VlanVirtualCircuitStatus, bool)

GetStatusOk returns a tuple with the Status field value if set, nil otherwise and a boolean to check if the value has been set.

func (*VlanVirtualCircuit) GetTags ¶ added in v0.8.0

func (o *VlanVirtualCircuit) GetTags() []string

GetTags returns the Tags field value if set, zero value otherwise.

func (*VlanVirtualCircuit) GetTagsOk ¶ added in v0.8.0

func (o *VlanVirtualCircuit) GetTagsOk() ([]string, bool)

GetTagsOk returns a tuple with the Tags field value if set, nil otherwise and a boolean to check if the value has been set.

func (*VlanVirtualCircuit) GetType ¶ added in v0.25.0

GetType returns the Type field value if set, zero value otherwise.

func (*VlanVirtualCircuit) GetTypeOk ¶ added in v0.25.0

func (o *VlanVirtualCircuit) GetTypeOk() (*VlanVirtualCircuitType, bool)

GetTypeOk returns a tuple with the Type field value if set, nil otherwise and a boolean to check if the value has been set.

func (*VlanVirtualCircuit) GetUpdatedAt ¶ added in v0.8.0

func (o *VlanVirtualCircuit) GetUpdatedAt() time.Time

GetUpdatedAt returns the UpdatedAt field value if set, zero value otherwise.

func (*VlanVirtualCircuit) GetUpdatedAtOk ¶ added in v0.8.0

func (o *VlanVirtualCircuit) GetUpdatedAtOk() (*time.Time, bool)

GetUpdatedAtOk returns a tuple with the UpdatedAt field value if set, nil otherwise and a boolean to check if the value has been set.

func (*VlanVirtualCircuit) GetVirtualNetwork ¶ added in v0.8.0

func (o *VlanVirtualCircuit) GetVirtualNetwork() Href

GetVirtualNetwork returns the VirtualNetwork field value if set, zero value otherwise.

func (*VlanVirtualCircuit) GetVirtualNetworkOk ¶ added in v0.8.0

func (o *VlanVirtualCircuit) GetVirtualNetworkOk() (*Href, bool)

GetVirtualNetworkOk returns a tuple with the VirtualNetwork field value if set, nil otherwise and a boolean to check if the value has been set.

func (*VlanVirtualCircuit) GetVnid ¶ added in v0.8.0

func (o *VlanVirtualCircuit) GetVnid() int32

GetVnid returns the Vnid field value if set, zero value otherwise.

func (*VlanVirtualCircuit) GetVnidOk ¶ added in v0.8.0

func (o *VlanVirtualCircuit) GetVnidOk() (*int32, bool)

GetVnidOk returns a tuple with the Vnid field value if set, nil otherwise and a boolean to check if the value has been set.

func (*VlanVirtualCircuit) HasBill ¶ added in v0.25.0

func (o *VlanVirtualCircuit) HasBill() bool

HasBill returns a boolean if a field has been set.

func (*VlanVirtualCircuit) HasCreatedAt ¶ added in v0.8.0

func (o *VlanVirtualCircuit) HasCreatedAt() bool

HasCreatedAt returns a boolean if a field has been set.

func (*VlanVirtualCircuit) HasDescription ¶ added in v0.25.0

func (o *VlanVirtualCircuit) HasDescription() bool

HasDescription returns a boolean if a field has been set.

func (*VlanVirtualCircuit) HasId ¶ added in v0.25.0

func (o *VlanVirtualCircuit) HasId() bool

HasId returns a boolean if a field has been set.

func (*VlanVirtualCircuit) HasName ¶ added in v0.25.0

func (o *VlanVirtualCircuit) HasName() bool

HasName returns a boolean if a field has been set.

func (*VlanVirtualCircuit) HasNniVlan ¶ added in v0.25.0

func (o *VlanVirtualCircuit) HasNniVlan() bool

HasNniVlan returns a boolean if a field has been set.

func (*VlanVirtualCircuit) HasPort ¶ added in v0.25.0

func (o *VlanVirtualCircuit) HasPort() bool

HasPort returns a boolean if a field has been set.

func (*VlanVirtualCircuit) HasProject ¶ added in v0.25.0

func (o *VlanVirtualCircuit) HasProject() bool

HasProject returns a boolean if a field has been set.

func (*VlanVirtualCircuit) HasSpeed ¶ added in v0.8.0

func (o *VlanVirtualCircuit) HasSpeed() bool

HasSpeed returns a boolean if a field has been set.

func (*VlanVirtualCircuit) HasStatus ¶ added in v0.25.0

func (o *VlanVirtualCircuit) HasStatus() bool

HasStatus returns a boolean if a field has been set.

func (*VlanVirtualCircuit) HasTags ¶ added in v0.25.0

func (o *VlanVirtualCircuit) HasTags() bool

HasTags returns a boolean if a field has been set.

func (*VlanVirtualCircuit) HasType ¶ added in v0.25.0

func (o *VlanVirtualCircuit) HasType() bool

HasType returns a boolean if a field has been set.

func (*VlanVirtualCircuit) HasUpdatedAt ¶ added in v0.8.0

func (o *VlanVirtualCircuit) HasUpdatedAt() bool

HasUpdatedAt returns a boolean if a field has been set.

func (*VlanVirtualCircuit) HasVirtualNetwork ¶ added in v0.25.0

func (o *VlanVirtualCircuit) HasVirtualNetwork() bool

HasVirtualNetwork returns a boolean if a field has been set.

func (*VlanVirtualCircuit) HasVnid ¶ added in v0.25.0

func (o *VlanVirtualCircuit) HasVnid() bool

HasVnid returns a boolean if a field has been set.

func (VlanVirtualCircuit) MarshalJSON ¶ added in v0.8.0

func (o VlanVirtualCircuit) MarshalJSON() ([]byte, error)

func (*VlanVirtualCircuit) SetBill ¶ added in v0.8.0

func (o *VlanVirtualCircuit) SetBill(v bool)

SetBill gets a reference to the given bool and assigns it to the Bill field.

func (*VlanVirtualCircuit) SetCreatedAt ¶ added in v0.8.0

func (o *VlanVirtualCircuit) SetCreatedAt(v time.Time)

SetCreatedAt gets a reference to the given time.Time and assigns it to the CreatedAt field.

func (*VlanVirtualCircuit) SetDescription ¶ added in v0.8.0

func (o *VlanVirtualCircuit) SetDescription(v string)

SetDescription gets a reference to the given string and assigns it to the Description field.

func (*VlanVirtualCircuit) SetId ¶ added in v0.8.0

func (o *VlanVirtualCircuit) SetId(v string)

SetId gets a reference to the given string and assigns it to the Id field.

func (*VlanVirtualCircuit) SetName ¶ added in v0.8.0

func (o *VlanVirtualCircuit) SetName(v string)

SetName gets a reference to the given string and assigns it to the Name field.

func (*VlanVirtualCircuit) SetNniVlan ¶ added in v0.8.0

func (o *VlanVirtualCircuit) SetNniVlan(v int32)

SetNniVlan gets a reference to the given int32 and assigns it to the NniVlan field.

func (*VlanVirtualCircuit) SetPort ¶ added in v0.8.0

func (o *VlanVirtualCircuit) SetPort(v Href)

SetPort gets a reference to the given Href and assigns it to the Port field.

func (*VlanVirtualCircuit) SetProject ¶ added in v0.8.0

func (o *VlanVirtualCircuit) SetProject(v Href)

SetProject gets a reference to the given Href and assigns it to the Project field.

func (*VlanVirtualCircuit) SetSpeed ¶ added in v0.8.0

func (o *VlanVirtualCircuit) SetSpeed(v int32)

SetSpeed gets a reference to the given int32 and assigns it to the Speed field.

func (*VlanVirtualCircuit) SetStatus ¶ added in v0.8.0

SetStatus gets a reference to the given VlanVirtualCircuitStatus and assigns it to the Status field.

func (*VlanVirtualCircuit) SetTags ¶ added in v0.8.0

func (o *VlanVirtualCircuit) SetTags(v []string)

SetTags gets a reference to the given []string and assigns it to the Tags field.

func (*VlanVirtualCircuit) SetType ¶ added in v0.25.0

SetType gets a reference to the given VlanVirtualCircuitType and assigns it to the Type field.

func (*VlanVirtualCircuit) SetUpdatedAt ¶ added in v0.8.0

func (o *VlanVirtualCircuit) SetUpdatedAt(v time.Time)

SetUpdatedAt gets a reference to the given time.Time and assigns it to the UpdatedAt field.

func (*VlanVirtualCircuit) SetVirtualNetwork ¶ added in v0.8.0

func (o *VlanVirtualCircuit) SetVirtualNetwork(v Href)

SetVirtualNetwork gets a reference to the given Href and assigns it to the VirtualNetwork field.

func (*VlanVirtualCircuit) SetVnid ¶ added in v0.8.0

func (o *VlanVirtualCircuit) SetVnid(v int32)

SetVnid gets a reference to the given int32 and assigns it to the Vnid field.

func (VlanVirtualCircuit) ToMap ¶ added in v0.8.0

func (o VlanVirtualCircuit) ToMap() (map[string]interface{}, error)

func (*VlanVirtualCircuit) UnmarshalJSON ¶ added in v0.8.0

func (o *VlanVirtualCircuit) UnmarshalJSON(bytes []byte) (err error)

type VlanVirtualCircuitCreateInput ¶ added in v0.8.0

type VlanVirtualCircuitCreateInput struct {
	Description *string `json:"description,omitempty"`
	Name        *string `json:"name,omitempty"`
	NniVlan     *int32  `json:"nni_vlan,omitempty"`
	ProjectId   string  `json:"project_id"`
	// speed can be passed as integer number representing bps speed or string (e.g. '52m' or '100g' or '4 gbps')
	Speed *int32   `json:"speed,omitempty"`
	Tags  []string `json:"tags,omitempty"`
	// A Virtual Network record UUID or the VNID of a Metro Virtual Network in your project (sent as integer).
	Vnid                 *string `json:"vnid,omitempty"`
	AdditionalProperties map[string]interface{}
}

VlanVirtualCircuitCreateInput struct for VlanVirtualCircuitCreateInput

func NewVlanVirtualCircuitCreateInput ¶ added in v0.8.0

func NewVlanVirtualCircuitCreateInput(projectId string) *VlanVirtualCircuitCreateInput

NewVlanVirtualCircuitCreateInput instantiates a new VlanVirtualCircuitCreateInput object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewVlanVirtualCircuitCreateInputWithDefaults ¶ added in v0.8.0

func NewVlanVirtualCircuitCreateInputWithDefaults() *VlanVirtualCircuitCreateInput

NewVlanVirtualCircuitCreateInputWithDefaults instantiates a new VlanVirtualCircuitCreateInput object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*VlanVirtualCircuitCreateInput) GetDescription ¶ added in v0.8.0

func (o *VlanVirtualCircuitCreateInput) GetDescription() string

GetDescription returns the Description field value if set, zero value otherwise.

func (*VlanVirtualCircuitCreateInput) GetDescriptionOk ¶ added in v0.8.0

func (o *VlanVirtualCircuitCreateInput) GetDescriptionOk() (*string, bool)

GetDescriptionOk returns a tuple with the Description field value if set, nil otherwise and a boolean to check if the value has been set.

func (*VlanVirtualCircuitCreateInput) GetName ¶ added in v0.8.0

GetName returns the Name field value if set, zero value otherwise.

func (*VlanVirtualCircuitCreateInput) GetNameOk ¶ added in v0.8.0

func (o *VlanVirtualCircuitCreateInput) GetNameOk() (*string, bool)

GetNameOk returns a tuple with the Name field value if set, nil otherwise and a boolean to check if the value has been set.

func (*VlanVirtualCircuitCreateInput) GetNniVlan ¶ added in v0.8.0

func (o *VlanVirtualCircuitCreateInput) GetNniVlan() int32

GetNniVlan returns the NniVlan field value if set, zero value otherwise.

func (*VlanVirtualCircuitCreateInput) GetNniVlanOk ¶ added in v0.8.0

func (o *VlanVirtualCircuitCreateInput) GetNniVlanOk() (*int32, bool)

GetNniVlanOk returns a tuple with the NniVlan field value if set, nil otherwise and a boolean to check if the value has been set.

func (*VlanVirtualCircuitCreateInput) GetProjectId ¶ added in v0.8.0

func (o *VlanVirtualCircuitCreateInput) GetProjectId() string

GetProjectId returns the ProjectId field value

func (*VlanVirtualCircuitCreateInput) GetProjectIdOk ¶ added in v0.8.0

func (o *VlanVirtualCircuitCreateInput) GetProjectIdOk() (*string, bool)

GetProjectIdOk returns a tuple with the ProjectId field value and a boolean to check if the value has been set.

func (*VlanVirtualCircuitCreateInput) GetSpeed ¶ added in v0.8.0

func (o *VlanVirtualCircuitCreateInput) GetSpeed() int32

GetSpeed returns the Speed field value if set, zero value otherwise.

func (*VlanVirtualCircuitCreateInput) GetSpeedOk ¶ added in v0.8.0

func (o *VlanVirtualCircuitCreateInput) GetSpeedOk() (*int32, bool)

GetSpeedOk returns a tuple with the Speed field value if set, nil otherwise and a boolean to check if the value has been set.

func (*VlanVirtualCircuitCreateInput) GetTags ¶ added in v0.8.0

func (o *VlanVirtualCircuitCreateInput) GetTags() []string

GetTags returns the Tags field value if set, zero value otherwise.

func (*VlanVirtualCircuitCreateInput) GetTagsOk ¶ added in v0.8.0

func (o *VlanVirtualCircuitCreateInput) GetTagsOk() ([]string, bool)

GetTagsOk returns a tuple with the Tags field value if set, nil otherwise and a boolean to check if the value has been set.

func (*VlanVirtualCircuitCreateInput) GetVnid ¶ added in v0.8.0

GetVnid returns the Vnid field value if set, zero value otherwise.

func (*VlanVirtualCircuitCreateInput) GetVnidOk ¶ added in v0.8.0

func (o *VlanVirtualCircuitCreateInput) GetVnidOk() (*string, bool)

GetVnidOk returns a tuple with the Vnid field value if set, nil otherwise and a boolean to check if the value has been set.

func (*VlanVirtualCircuitCreateInput) HasDescription ¶ added in v0.8.0

func (o *VlanVirtualCircuitCreateInput) HasDescription() bool

HasDescription returns a boolean if a field has been set.

func (*VlanVirtualCircuitCreateInput) HasName ¶ added in v0.8.0

func (o *VlanVirtualCircuitCreateInput) HasName() bool

HasName returns a boolean if a field has been set.

func (*VlanVirtualCircuitCreateInput) HasNniVlan ¶ added in v0.8.0

func (o *VlanVirtualCircuitCreateInput) HasNniVlan() bool

HasNniVlan returns a boolean if a field has been set.

func (*VlanVirtualCircuitCreateInput) HasSpeed ¶ added in v0.8.0

func (o *VlanVirtualCircuitCreateInput) HasSpeed() bool

HasSpeed returns a boolean if a field has been set.

func (*VlanVirtualCircuitCreateInput) HasTags ¶ added in v0.8.0

func (o *VlanVirtualCircuitCreateInput) HasTags() bool

HasTags returns a boolean if a field has been set.

func (*VlanVirtualCircuitCreateInput) HasVnid ¶ added in v0.8.0

func (o *VlanVirtualCircuitCreateInput) HasVnid() bool

HasVnid returns a boolean if a field has been set.

func (VlanVirtualCircuitCreateInput) MarshalJSON ¶ added in v0.8.0

func (o VlanVirtualCircuitCreateInput) MarshalJSON() ([]byte, error)

func (*VlanVirtualCircuitCreateInput) SetDescription ¶ added in v0.8.0

func (o *VlanVirtualCircuitCreateInput) SetDescription(v string)

SetDescription gets a reference to the given string and assigns it to the Description field.

func (*VlanVirtualCircuitCreateInput) SetName ¶ added in v0.8.0

func (o *VlanVirtualCircuitCreateInput) SetName(v string)

SetName gets a reference to the given string and assigns it to the Name field.

func (*VlanVirtualCircuitCreateInput) SetNniVlan ¶ added in v0.8.0

func (o *VlanVirtualCircuitCreateInput) SetNniVlan(v int32)

SetNniVlan gets a reference to the given int32 and assigns it to the NniVlan field.

func (*VlanVirtualCircuitCreateInput) SetProjectId ¶ added in v0.8.0

func (o *VlanVirtualCircuitCreateInput) SetProjectId(v string)

SetProjectId sets field value

func (*VlanVirtualCircuitCreateInput) SetSpeed ¶ added in v0.8.0

func (o *VlanVirtualCircuitCreateInput) SetSpeed(v int32)

SetSpeed gets a reference to the given int32 and assigns it to the Speed field.

func (*VlanVirtualCircuitCreateInput) SetTags ¶ added in v0.8.0

func (o *VlanVirtualCircuitCreateInput) SetTags(v []string)

SetTags gets a reference to the given []string and assigns it to the Tags field.

func (*VlanVirtualCircuitCreateInput) SetVnid ¶ added in v0.8.0

func (o *VlanVirtualCircuitCreateInput) SetVnid(v string)

SetVnid gets a reference to the given string and assigns it to the Vnid field.

func (VlanVirtualCircuitCreateInput) ToMap ¶ added in v0.8.0

func (o VlanVirtualCircuitCreateInput) ToMap() (map[string]interface{}, error)

func (*VlanVirtualCircuitCreateInput) UnmarshalJSON ¶ added in v0.8.0

func (o *VlanVirtualCircuitCreateInput) UnmarshalJSON(bytes []byte) (err error)

type VlanVirtualCircuitStatus ¶ added in v0.22.0

type VlanVirtualCircuitStatus string

VlanVirtualCircuitStatus The status of a Virtual Circuit is always 'pending' on creation. The status can turn to 'Waiting on Customer VLAN' if a Metro VLAN was not set yet on the Virtual Circuit and is the last step needed for full activation. For Dedicated interconnections, as long as the Dedicated Port has been associated to the Virtual Circuit and a NNI VNID has been set, it will turn to 'waiting_on_customer_vlan'. For Fabric VCs, it will only change to 'waiting_on_customer_vlan' once the corresponding Fabric connection has been found on the Fabric side. If the Fabric service token associated with the Virtual Circuit hasn't been redeemed on Fabric within the expiry time, it will change to an `expired` status. Once a Metro VLAN is set on the Virtual Circuit (which for Fabric VCs, can be set on creation of a Fabric VC) and the necessary set up is done, it will turn into 'Activating' status as it tries to activate the Virtual Circuit. Once the Virtual Circuit fully activates and is configured on the switch, it will turn to staus 'active'. For Fabric VCs (Metal Billed), we will start billing the moment the status of the Virtual Circuit turns to 'active'. If there are any changes to the VLAN after the Virtual Circuit is in an 'active' status, the status will show 'changing_vlan' if a new VLAN has been provided, or 'deactivating' if we are removing the VLAN. When a deletion request is issued for the Virtual Circuit, it will move to a 'deleting' status, and we will immediately unconfigure the switch for the Virtual Circuit and issue a deletion on any associated Fabric connections. Any associated Metro VLANs on the virtual circuit will also be unassociated after the switch has been successfully unconfigured. If there are any associated Fabric connections, we will only fully delete the Virtual Circuit once we have checked that the Fabric connection was fully deprovisioned on Fabric.

const (
	VLANVIRTUALCIRCUITSTATUS_PENDING                  VlanVirtualCircuitStatus = "pending"
	VLANVIRTUALCIRCUITSTATUS_WAITING_ON_CUSTOMER_VLAN VlanVirtualCircuitStatus = "waiting_on_customer_vlan"
	VLANVIRTUALCIRCUITSTATUS_ACTIVATING               VlanVirtualCircuitStatus = "activating"
	VLANVIRTUALCIRCUITSTATUS_CHANGING_VLAN            VlanVirtualCircuitStatus = "changing_vlan"
	VLANVIRTUALCIRCUITSTATUS_DEACTIVATING             VlanVirtualCircuitStatus = "deactivating"
	VLANVIRTUALCIRCUITSTATUS_DELETING                 VlanVirtualCircuitStatus = "deleting"
	VLANVIRTUALCIRCUITSTATUS_ACTIVE                   VlanVirtualCircuitStatus = "active"
	VLANVIRTUALCIRCUITSTATUS_EXPIRED                  VlanVirtualCircuitStatus = "expired"
	VLANVIRTUALCIRCUITSTATUS_ACTIVATION_FAILED        VlanVirtualCircuitStatus = "activation_failed"
	VLANVIRTUALCIRCUITSTATUS_CHANGING_VLAN_FAILED     VlanVirtualCircuitStatus = "changing_vlan_failed"
	VLANVIRTUALCIRCUITSTATUS_DEACTIVATION_FAILED      VlanVirtualCircuitStatus = "deactivation_failed"
	VLANVIRTUALCIRCUITSTATUS_DELETE_FAILED            VlanVirtualCircuitStatus = "delete_failed"
)

List of VlanVirtualCircuit_status

func NewVlanVirtualCircuitStatusFromValue ¶ added in v0.22.0

func NewVlanVirtualCircuitStatusFromValue(v string) (*VlanVirtualCircuitStatus, error)

NewVlanVirtualCircuitStatusFromValue returns a pointer to a valid VlanVirtualCircuitStatus for the value passed as argument, or an error if the value passed is not allowed by the enum

func (VlanVirtualCircuitStatus) IsValid ¶ added in v0.22.0

func (v VlanVirtualCircuitStatus) IsValid() bool

IsValid return true if the value is valid for the enum, false otherwise

func (VlanVirtualCircuitStatus) Ptr ¶ added in v0.22.0

Ptr returns reference to VlanVirtualCircuit_status value

func (*VlanVirtualCircuitStatus) UnmarshalJSON ¶ added in v0.22.0

func (v *VlanVirtualCircuitStatus) UnmarshalJSON(src []byte) error

type VlanVirtualCircuitType ¶ added in v0.25.0

type VlanVirtualCircuitType string

VlanVirtualCircuitType the model 'VlanVirtualCircuitType'

const (
	VLANVIRTUALCIRCUITTYPE_VLAN VlanVirtualCircuitType = "vlan"
)

List of VlanVirtualCircuit_type

func NewVlanVirtualCircuitTypeFromValue ¶ added in v0.25.0

func NewVlanVirtualCircuitTypeFromValue(v string) (*VlanVirtualCircuitType, error)

NewVlanVirtualCircuitTypeFromValue returns a pointer to a valid VlanVirtualCircuitType for the value passed as argument, or an error if the value passed is not allowed by the enum

func (VlanVirtualCircuitType) IsValid ¶ added in v0.25.0

func (v VlanVirtualCircuitType) IsValid() bool

IsValid return true if the value is valid for the enum, false otherwise

func (VlanVirtualCircuitType) Ptr ¶ added in v0.25.0

Ptr returns reference to VlanVirtualCircuit_type value

func (*VlanVirtualCircuitType) UnmarshalJSON ¶ added in v0.25.0

func (v *VlanVirtualCircuitType) UnmarshalJSON(src []byte) error

type VlanVirtualCircuitUpdateInput ¶ added in v0.8.0

type VlanVirtualCircuitUpdateInput struct {
	Description *string `json:"description,omitempty"`
	Name        *string `json:"name,omitempty"`
	// Speed can be changed only if it is an interconnection on a Dedicated Port
	Speed *string  `json:"speed,omitempty"`
	Tags  []string `json:"tags,omitempty"`
	// A Virtual Network record UUID or the VNID of a Metro Virtual Network in your project.
	Vnid                 *string `json:"vnid,omitempty"`
	AdditionalProperties map[string]interface{}
}

VlanVirtualCircuitUpdateInput struct for VlanVirtualCircuitUpdateInput

func NewVlanVirtualCircuitUpdateInput ¶ added in v0.8.0

func NewVlanVirtualCircuitUpdateInput() *VlanVirtualCircuitUpdateInput

NewVlanVirtualCircuitUpdateInput instantiates a new VlanVirtualCircuitUpdateInput object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewVlanVirtualCircuitUpdateInputWithDefaults ¶ added in v0.8.0

func NewVlanVirtualCircuitUpdateInputWithDefaults() *VlanVirtualCircuitUpdateInput

NewVlanVirtualCircuitUpdateInputWithDefaults instantiates a new VlanVirtualCircuitUpdateInput object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*VlanVirtualCircuitUpdateInput) GetDescription ¶ added in v0.8.0

func (o *VlanVirtualCircuitUpdateInput) GetDescription() string

GetDescription returns the Description field value if set, zero value otherwise.

func (*VlanVirtualCircuitUpdateInput) GetDescriptionOk ¶ added in v0.8.0

func (o *VlanVirtualCircuitUpdateInput) GetDescriptionOk() (*string, bool)

GetDescriptionOk returns a tuple with the Description field value if set, nil otherwise and a boolean to check if the value has been set.

func (*VlanVirtualCircuitUpdateInput) GetName ¶ added in v0.8.0

GetName returns the Name field value if set, zero value otherwise.

func (*VlanVirtualCircuitUpdateInput) GetNameOk ¶ added in v0.8.0

func (o *VlanVirtualCircuitUpdateInput) GetNameOk() (*string, bool)

GetNameOk returns a tuple with the Name field value if set, nil otherwise and a boolean to check if the value has been set.

func (*VlanVirtualCircuitUpdateInput) GetSpeed ¶ added in v0.8.0

func (o *VlanVirtualCircuitUpdateInput) GetSpeed() string

GetSpeed returns the Speed field value if set, zero value otherwise.

func (*VlanVirtualCircuitUpdateInput) GetSpeedOk ¶ added in v0.8.0

func (o *VlanVirtualCircuitUpdateInput) GetSpeedOk() (*string, bool)

GetSpeedOk returns a tuple with the Speed field value if set, nil otherwise and a boolean to check if the value has been set.

func (*VlanVirtualCircuitUpdateInput) GetTags ¶ added in v0.8.0

func (o *VlanVirtualCircuitUpdateInput) GetTags() []string

GetTags returns the Tags field value if set, zero value otherwise.

func (*VlanVirtualCircuitUpdateInput) GetTagsOk ¶ added in v0.8.0

func (o *VlanVirtualCircuitUpdateInput) GetTagsOk() ([]string, bool)

GetTagsOk returns a tuple with the Tags field value if set, nil otherwise and a boolean to check if the value has been set.

func (*VlanVirtualCircuitUpdateInput) GetVnid ¶ added in v0.8.0

GetVnid returns the Vnid field value if set, zero value otherwise.

func (*VlanVirtualCircuitUpdateInput) GetVnidOk ¶ added in v0.8.0

func (o *VlanVirtualCircuitUpdateInput) GetVnidOk() (*string, bool)

GetVnidOk returns a tuple with the Vnid field value if set, nil otherwise and a boolean to check if the value has been set.

func (*VlanVirtualCircuitUpdateInput) HasDescription ¶ added in v0.8.0

func (o *VlanVirtualCircuitUpdateInput) HasDescription() bool

HasDescription returns a boolean if a field has been set.

func (*VlanVirtualCircuitUpdateInput) HasName ¶ added in v0.8.0

func (o *VlanVirtualCircuitUpdateInput) HasName() bool

HasName returns a boolean if a field has been set.

func (*VlanVirtualCircuitUpdateInput) HasSpeed ¶ added in v0.8.0

func (o *VlanVirtualCircuitUpdateInput) HasSpeed() bool

HasSpeed returns a boolean if a field has been set.

func (*VlanVirtualCircuitUpdateInput) HasTags ¶ added in v0.8.0

func (o *VlanVirtualCircuitUpdateInput) HasTags() bool

HasTags returns a boolean if a field has been set.

func (*VlanVirtualCircuitUpdateInput) HasVnid ¶ added in v0.8.0

func (o *VlanVirtualCircuitUpdateInput) HasVnid() bool

HasVnid returns a boolean if a field has been set.

func (VlanVirtualCircuitUpdateInput) MarshalJSON ¶ added in v0.8.0

func (o VlanVirtualCircuitUpdateInput) MarshalJSON() ([]byte, error)

func (*VlanVirtualCircuitUpdateInput) SetDescription ¶ added in v0.8.0

func (o *VlanVirtualCircuitUpdateInput) SetDescription(v string)

SetDescription gets a reference to the given string and assigns it to the Description field.

func (*VlanVirtualCircuitUpdateInput) SetName ¶ added in v0.8.0

func (o *VlanVirtualCircuitUpdateInput) SetName(v string)

SetName gets a reference to the given string and assigns it to the Name field.

func (*VlanVirtualCircuitUpdateInput) SetSpeed ¶ added in v0.8.0

func (o *VlanVirtualCircuitUpdateInput) SetSpeed(v string)

SetSpeed gets a reference to the given string and assigns it to the Speed field.

func (*VlanVirtualCircuitUpdateInput) SetTags ¶ added in v0.8.0

func (o *VlanVirtualCircuitUpdateInput) SetTags(v []string)

SetTags gets a reference to the given []string and assigns it to the Tags field.

func (*VlanVirtualCircuitUpdateInput) SetVnid ¶ added in v0.8.0

func (o *VlanVirtualCircuitUpdateInput) SetVnid(v string)

SetVnid gets a reference to the given string and assigns it to the Vnid field.

func (VlanVirtualCircuitUpdateInput) ToMap ¶ added in v0.8.0

func (o VlanVirtualCircuitUpdateInput) ToMap() (map[string]interface{}, error)

func (*VlanVirtualCircuitUpdateInput) UnmarshalJSON ¶ added in v0.8.0

func (o *VlanVirtualCircuitUpdateInput) UnmarshalJSON(bytes []byte) (err error)

type Vrf ¶

type Vrf struct {
	Id   *string `json:"id,omitempty"`
	Name *string `json:"name,omitempty"`
	// Optional field that can be set to describe the VRF
	Description *string `json:"description,omitempty"`
	// True if the VRF is being billed. Usage will start when the first VRF Virtual Circuit is active, and will only stop when the VRF has been deleted.
	Bill *bool `json:"bill,omitempty"`
	// Toggle to enable the dynamic bgp neighbors feature on the VRF
	BgpDynamicNeighborsEnabled *bool `json:"bgp_dynamic_neighbors_enabled,omitempty"`
	// Toggle to export the VRF route-map to the dynamic bgp neighbors
	BgpDynamicNeighborsExportRouteMap *bool `json:"bgp_dynamic_neighbors_export_route_map,omitempty"`
	// Toggle BFD on dynamic bgp neighbors sessions
	BgpDynamicNeighborsBfdEnabled *bool `json:"bgp_dynamic_neighbors_bfd_enabled,omitempty"`
	// A 4-byte ASN associated with the VRF.
	LocalAsn *int32 `json:"local_asn,omitempty"`
	// Virtual circuits that are in the VRF
	VirtualCircuits []VrfVirtualCircuit `json:"virtual_circuits,omitempty"`
	// A list of CIDR network addresses. Like [\"10.0.0.0/16\", \"2001:d78::/56\"].
	IpRanges             []string   `json:"ip_ranges,omitempty"`
	Project              *Project   `json:"project,omitempty"`
	Metro                *Metro     `json:"metro,omitempty"`
	CreatedBy            *User      `json:"created_by,omitempty"`
	Href                 *string    `json:"href,omitempty"`
	CreatedAt            *time.Time `json:"created_at,omitempty"`
	UpdatedAt            *time.Time `json:"updated_at,omitempty"`
	Tags                 []string   `json:"tags,omitempty"`
	AdditionalProperties map[string]interface{}
}

Vrf struct for Vrf

func NewVrf ¶

func NewVrf() *Vrf

NewVrf instantiates a new Vrf object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewVrfWithDefaults ¶

func NewVrfWithDefaults() *Vrf

NewVrfWithDefaults instantiates a new Vrf object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*Vrf) GetBgpDynamicNeighborsBfdEnabled ¶ added in v0.8.0

func (o *Vrf) GetBgpDynamicNeighborsBfdEnabled() bool

GetBgpDynamicNeighborsBfdEnabled returns the BgpDynamicNeighborsBfdEnabled field value if set, zero value otherwise.

func (*Vrf) GetBgpDynamicNeighborsBfdEnabledOk ¶ added in v0.8.0

func (o *Vrf) GetBgpDynamicNeighborsBfdEnabledOk() (*bool, bool)

GetBgpDynamicNeighborsBfdEnabledOk returns a tuple with the BgpDynamicNeighborsBfdEnabled field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Vrf) GetBgpDynamicNeighborsEnabled ¶ added in v0.7.0

func (o *Vrf) GetBgpDynamicNeighborsEnabled() bool

GetBgpDynamicNeighborsEnabled returns the BgpDynamicNeighborsEnabled field value if set, zero value otherwise.

func (*Vrf) GetBgpDynamicNeighborsEnabledOk ¶ added in v0.7.0

func (o *Vrf) GetBgpDynamicNeighborsEnabledOk() (*bool, bool)

GetBgpDynamicNeighborsEnabledOk returns a tuple with the BgpDynamicNeighborsEnabled field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Vrf) GetBgpDynamicNeighborsExportRouteMap ¶ added in v0.7.0

func (o *Vrf) GetBgpDynamicNeighborsExportRouteMap() bool

GetBgpDynamicNeighborsExportRouteMap returns the BgpDynamicNeighborsExportRouteMap field value if set, zero value otherwise.

func (*Vrf) GetBgpDynamicNeighborsExportRouteMapOk ¶ added in v0.7.0

func (o *Vrf) GetBgpDynamicNeighborsExportRouteMapOk() (*bool, bool)

GetBgpDynamicNeighborsExportRouteMapOk returns a tuple with the BgpDynamicNeighborsExportRouteMap field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Vrf) GetBill ¶ added in v0.8.0

func (o *Vrf) GetBill() bool

GetBill returns the Bill field value if set, zero value otherwise.

func (*Vrf) GetBillOk ¶ added in v0.8.0

func (o *Vrf) GetBillOk() (*bool, bool)

GetBillOk returns a tuple with the Bill field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Vrf) GetCreatedAt ¶ added in v0.5.0

func (o *Vrf) GetCreatedAt() time.Time

GetCreatedAt returns the CreatedAt field value if set, zero value otherwise.

func (*Vrf) GetCreatedAtOk ¶ added in v0.5.0

func (o *Vrf) GetCreatedAtOk() (*time.Time, bool)

GetCreatedAtOk returns a tuple with the CreatedAt field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Vrf) GetCreatedBy ¶

func (o *Vrf) GetCreatedBy() User

GetCreatedBy returns the CreatedBy field value if set, zero value otherwise.

func (*Vrf) GetCreatedByOk ¶

func (o *Vrf) GetCreatedByOk() (*User, bool)

GetCreatedByOk returns a tuple with the CreatedBy field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Vrf) GetDescription ¶

func (o *Vrf) GetDescription() string

GetDescription returns the Description field value if set, zero value otherwise.

func (*Vrf) GetDescriptionOk ¶

func (o *Vrf) GetDescriptionOk() (*string, bool)

GetDescriptionOk returns a tuple with the Description field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Vrf) GetHref ¶

func (o *Vrf) GetHref() string

GetHref returns the Href field value if set, zero value otherwise.

func (*Vrf) GetHrefOk ¶

func (o *Vrf) GetHrefOk() (*string, bool)

GetHrefOk returns a tuple with the Href field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Vrf) GetId ¶

func (o *Vrf) GetId() string

GetId returns the Id field value if set, zero value otherwise.

func (*Vrf) GetIdOk ¶

func (o *Vrf) GetIdOk() (*string, bool)

GetIdOk returns a tuple with the Id field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Vrf) GetIpRanges ¶

func (o *Vrf) GetIpRanges() []string

GetIpRanges returns the IpRanges field value if set, zero value otherwise.

func (*Vrf) GetIpRangesOk ¶

func (o *Vrf) GetIpRangesOk() ([]string, bool)

GetIpRangesOk returns a tuple with the IpRanges field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Vrf) GetLocalAsn ¶

func (o *Vrf) GetLocalAsn() int32

GetLocalAsn returns the LocalAsn field value if set, zero value otherwise.

func (*Vrf) GetLocalAsnOk ¶

func (o *Vrf) GetLocalAsnOk() (*int32, bool)

GetLocalAsnOk returns a tuple with the LocalAsn field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Vrf) GetMetro ¶

func (o *Vrf) GetMetro() Metro

GetMetro returns the Metro field value if set, zero value otherwise.

func (*Vrf) GetMetroOk ¶

func (o *Vrf) GetMetroOk() (*Metro, bool)

GetMetroOk returns a tuple with the Metro field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Vrf) GetName ¶

func (o *Vrf) GetName() string

GetName returns the Name field value if set, zero value otherwise.

func (*Vrf) GetNameOk ¶

func (o *Vrf) GetNameOk() (*string, bool)

GetNameOk returns a tuple with the Name field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Vrf) GetProject ¶

func (o *Vrf) GetProject() Project

GetProject returns the Project field value if set, zero value otherwise.

func (*Vrf) GetProjectOk ¶

func (o *Vrf) GetProjectOk() (*Project, bool)

GetProjectOk returns a tuple with the Project field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Vrf) GetTags ¶ added in v0.17.0

func (o *Vrf) GetTags() []string

GetTags returns the Tags field value if set, zero value otherwise.

func (*Vrf) GetTagsOk ¶ added in v0.17.0

func (o *Vrf) GetTagsOk() ([]string, bool)

GetTagsOk returns a tuple with the Tags field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Vrf) GetUpdatedAt ¶ added in v0.5.0

func (o *Vrf) GetUpdatedAt() time.Time

GetUpdatedAt returns the UpdatedAt field value if set, zero value otherwise.

func (*Vrf) GetUpdatedAtOk ¶ added in v0.5.0

func (o *Vrf) GetUpdatedAtOk() (*time.Time, bool)

GetUpdatedAtOk returns a tuple with the UpdatedAt field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Vrf) GetVirtualCircuits ¶ added in v0.8.0

func (o *Vrf) GetVirtualCircuits() []VrfVirtualCircuit

GetVirtualCircuits returns the VirtualCircuits field value if set, zero value otherwise.

func (*Vrf) GetVirtualCircuitsOk ¶ added in v0.8.0

func (o *Vrf) GetVirtualCircuitsOk() ([]VrfVirtualCircuit, bool)

GetVirtualCircuitsOk returns a tuple with the VirtualCircuits field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Vrf) HasBgpDynamicNeighborsBfdEnabled ¶ added in v0.8.0

func (o *Vrf) HasBgpDynamicNeighborsBfdEnabled() bool

HasBgpDynamicNeighborsBfdEnabled returns a boolean if a field has been set.

func (*Vrf) HasBgpDynamicNeighborsEnabled ¶ added in v0.7.0

func (o *Vrf) HasBgpDynamicNeighborsEnabled() bool

HasBgpDynamicNeighborsEnabled returns a boolean if a field has been set.

func (*Vrf) HasBgpDynamicNeighborsExportRouteMap ¶ added in v0.7.0

func (o *Vrf) HasBgpDynamicNeighborsExportRouteMap() bool

HasBgpDynamicNeighborsExportRouteMap returns a boolean if a field has been set.

func (*Vrf) HasBill ¶ added in v0.8.0

func (o *Vrf) HasBill() bool

HasBill returns a boolean if a field has been set.

func (*Vrf) HasCreatedAt ¶ added in v0.5.0

func (o *Vrf) HasCreatedAt() bool

HasCreatedAt returns a boolean if a field has been set.

func (*Vrf) HasCreatedBy ¶

func (o *Vrf) HasCreatedBy() bool

HasCreatedBy returns a boolean if a field has been set.

func (*Vrf) HasDescription ¶

func (o *Vrf) HasDescription() bool

HasDescription returns a boolean if a field has been set.

func (*Vrf) HasHref ¶

func (o *Vrf) HasHref() bool

HasHref returns a boolean if a field has been set.

func (*Vrf) HasId ¶

func (o *Vrf) HasId() bool

HasId returns a boolean if a field has been set.

func (*Vrf) HasIpRanges ¶

func (o *Vrf) HasIpRanges() bool

HasIpRanges returns a boolean if a field has been set.

func (*Vrf) HasLocalAsn ¶

func (o *Vrf) HasLocalAsn() bool

HasLocalAsn returns a boolean if a field has been set.

func (*Vrf) HasMetro ¶

func (o *Vrf) HasMetro() bool

HasMetro returns a boolean if a field has been set.

func (*Vrf) HasName ¶

func (o *Vrf) HasName() bool

HasName returns a boolean if a field has been set.

func (*Vrf) HasProject ¶

func (o *Vrf) HasProject() bool

HasProject returns a boolean if a field has been set.

func (*Vrf) HasTags ¶ added in v0.17.0

func (o *Vrf) HasTags() bool

HasTags returns a boolean if a field has been set.

func (*Vrf) HasUpdatedAt ¶ added in v0.5.0

func (o *Vrf) HasUpdatedAt() bool

HasUpdatedAt returns a boolean if a field has been set.

func (*Vrf) HasVirtualCircuits ¶ added in v0.8.0

func (o *Vrf) HasVirtualCircuits() bool

HasVirtualCircuits returns a boolean if a field has been set.

func (Vrf) MarshalJSON ¶

func (o Vrf) MarshalJSON() ([]byte, error)

func (*Vrf) SetBgpDynamicNeighborsBfdEnabled ¶ added in v0.8.0

func (o *Vrf) SetBgpDynamicNeighborsBfdEnabled(v bool)

SetBgpDynamicNeighborsBfdEnabled gets a reference to the given bool and assigns it to the BgpDynamicNeighborsBfdEnabled field.

func (*Vrf) SetBgpDynamicNeighborsEnabled ¶ added in v0.7.0

func (o *Vrf) SetBgpDynamicNeighborsEnabled(v bool)

SetBgpDynamicNeighborsEnabled gets a reference to the given bool and assigns it to the BgpDynamicNeighborsEnabled field.

func (*Vrf) SetBgpDynamicNeighborsExportRouteMap ¶ added in v0.7.0

func (o *Vrf) SetBgpDynamicNeighborsExportRouteMap(v bool)

SetBgpDynamicNeighborsExportRouteMap gets a reference to the given bool and assigns it to the BgpDynamicNeighborsExportRouteMap field.

func (*Vrf) SetBill ¶ added in v0.8.0

func (o *Vrf) SetBill(v bool)

SetBill gets a reference to the given bool and assigns it to the Bill field.

func (*Vrf) SetCreatedAt ¶ added in v0.5.0

func (o *Vrf) SetCreatedAt(v time.Time)

SetCreatedAt gets a reference to the given time.Time and assigns it to the CreatedAt field.

func (*Vrf) SetCreatedBy ¶

func (o *Vrf) SetCreatedBy(v User)

SetCreatedBy gets a reference to the given User and assigns it to the CreatedBy field.

func (*Vrf) SetDescription ¶

func (o *Vrf) SetDescription(v string)

SetDescription gets a reference to the given string and assigns it to the Description field.

func (*Vrf) SetHref ¶

func (o *Vrf) SetHref(v string)

SetHref gets a reference to the given string and assigns it to the Href field.

func (*Vrf) SetId ¶

func (o *Vrf) SetId(v string)

SetId gets a reference to the given string and assigns it to the Id field.

func (*Vrf) SetIpRanges ¶

func (o *Vrf) SetIpRanges(v []string)

SetIpRanges gets a reference to the given []string and assigns it to the IpRanges field.

func (*Vrf) SetLocalAsn ¶

func (o *Vrf) SetLocalAsn(v int32)

SetLocalAsn gets a reference to the given int32 and assigns it to the LocalAsn field.

func (*Vrf) SetMetro ¶

func (o *Vrf) SetMetro(v Metro)

SetMetro gets a reference to the given Metro and assigns it to the Metro field.

func (*Vrf) SetName ¶

func (o *Vrf) SetName(v string)

SetName gets a reference to the given string and assigns it to the Name field.

func (*Vrf) SetProject ¶

func (o *Vrf) SetProject(v Project)

SetProject gets a reference to the given Project and assigns it to the Project field.

func (*Vrf) SetTags ¶ added in v0.17.0

func (o *Vrf) SetTags(v []string)

SetTags gets a reference to the given []string and assigns it to the Tags field.

func (*Vrf) SetUpdatedAt ¶ added in v0.5.0

func (o *Vrf) SetUpdatedAt(v time.Time)

SetUpdatedAt gets a reference to the given time.Time and assigns it to the UpdatedAt field.

func (*Vrf) SetVirtualCircuits ¶ added in v0.8.0

func (o *Vrf) SetVirtualCircuits(v []VrfVirtualCircuit)

SetVirtualCircuits gets a reference to the given []VrfVirtualCircuit and assigns it to the VirtualCircuits field.

func (Vrf) ToMap ¶ added in v0.4.0

func (o Vrf) ToMap() (map[string]interface{}, error)

func (*Vrf) UnmarshalJSON ¶ added in v0.7.0

func (o *Vrf) UnmarshalJSON(bytes []byte) (err error)

type VrfCreateInput ¶

type VrfCreateInput struct {
	// Toggle to enable the dynamic bgp neighbors feature on the VRF
	BgpDynamicNeighborsEnabled *bool `json:"bgp_dynamic_neighbors_enabled,omitempty"`
	// Toggle to export the VRF route-map to the dynamic bgp neighbors
	BgpDynamicNeighborsExportRouteMap *bool `json:"bgp_dynamic_neighbors_export_route_map,omitempty"`
	// Toggle BFD on dynamic bgp neighbors sessions
	BgpDynamicNeighborsBfdEnabled *bool   `json:"bgp_dynamic_neighbors_bfd_enabled,omitempty"`
	Description                   *string `json:"description,omitempty"`
	// A list of CIDR network addresses. Like [\"10.0.0.0/16\", \"2001:d78::/56\"]. IPv4 blocks must be between /8 and /29 in size. IPv6 blocks must be between /56 and /64. A VRF\\'s IP ranges must be defined in order to create VRF IP Reservations, which can then be used for Metal Gateways or Virtual Circuits.
	IpRanges []string `json:"ip_ranges,omitempty"`
	LocalAsn *int32   `json:"local_asn,omitempty"`
	// The UUID (or metro code) for the Metro in which to create this VRF.
	Metro                string   `json:"metro"`
	Name                 string   `json:"name"`
	Tags                 []string `json:"tags,omitempty"`
	AdditionalProperties map[string]interface{}
}

VrfCreateInput struct for VrfCreateInput

func NewVrfCreateInput ¶

func NewVrfCreateInput(metro string, name string) *VrfCreateInput

NewVrfCreateInput instantiates a new VrfCreateInput object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewVrfCreateInputWithDefaults ¶

func NewVrfCreateInputWithDefaults() *VrfCreateInput

NewVrfCreateInputWithDefaults instantiates a new VrfCreateInput object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*VrfCreateInput) GetBgpDynamicNeighborsBfdEnabled ¶ added in v0.8.0

func (o *VrfCreateInput) GetBgpDynamicNeighborsBfdEnabled() bool

GetBgpDynamicNeighborsBfdEnabled returns the BgpDynamicNeighborsBfdEnabled field value if set, zero value otherwise.

func (*VrfCreateInput) GetBgpDynamicNeighborsBfdEnabledOk ¶ added in v0.8.0

func (o *VrfCreateInput) GetBgpDynamicNeighborsBfdEnabledOk() (*bool, bool)

GetBgpDynamicNeighborsBfdEnabledOk returns a tuple with the BgpDynamicNeighborsBfdEnabled field value if set, nil otherwise and a boolean to check if the value has been set.

func (*VrfCreateInput) GetBgpDynamicNeighborsEnabled ¶ added in v0.8.0

func (o *VrfCreateInput) GetBgpDynamicNeighborsEnabled() bool

GetBgpDynamicNeighborsEnabled returns the BgpDynamicNeighborsEnabled field value if set, zero value otherwise.

func (*VrfCreateInput) GetBgpDynamicNeighborsEnabledOk ¶ added in v0.8.0

func (o *VrfCreateInput) GetBgpDynamicNeighborsEnabledOk() (*bool, bool)

GetBgpDynamicNeighborsEnabledOk returns a tuple with the BgpDynamicNeighborsEnabled field value if set, nil otherwise and a boolean to check if the value has been set.

func (*VrfCreateInput) GetBgpDynamicNeighborsExportRouteMap ¶ added in v0.8.0

func (o *VrfCreateInput) GetBgpDynamicNeighborsExportRouteMap() bool

GetBgpDynamicNeighborsExportRouteMap returns the BgpDynamicNeighborsExportRouteMap field value if set, zero value otherwise.

func (*VrfCreateInput) GetBgpDynamicNeighborsExportRouteMapOk ¶ added in v0.8.0

func (o *VrfCreateInput) GetBgpDynamicNeighborsExportRouteMapOk() (*bool, bool)

GetBgpDynamicNeighborsExportRouteMapOk returns a tuple with the BgpDynamicNeighborsExportRouteMap field value if set, nil otherwise and a boolean to check if the value has been set.

func (*VrfCreateInput) GetDescription ¶

func (o *VrfCreateInput) GetDescription() string

GetDescription returns the Description field value if set, zero value otherwise.

func (*VrfCreateInput) GetDescriptionOk ¶

func (o *VrfCreateInput) GetDescriptionOk() (*string, bool)

GetDescriptionOk returns a tuple with the Description field value if set, nil otherwise and a boolean to check if the value has been set.

func (*VrfCreateInput) GetIpRanges ¶

func (o *VrfCreateInput) GetIpRanges() []string

GetIpRanges returns the IpRanges field value if set, zero value otherwise.

func (*VrfCreateInput) GetIpRangesOk ¶

func (o *VrfCreateInput) GetIpRangesOk() ([]string, bool)

GetIpRangesOk returns a tuple with the IpRanges field value if set, nil otherwise and a boolean to check if the value has been set.

func (*VrfCreateInput) GetLocalAsn ¶

func (o *VrfCreateInput) GetLocalAsn() int32

GetLocalAsn returns the LocalAsn field value if set, zero value otherwise.

func (*VrfCreateInput) GetLocalAsnOk ¶

func (o *VrfCreateInput) GetLocalAsnOk() (*int32, bool)

GetLocalAsnOk returns a tuple with the LocalAsn field value if set, nil otherwise and a boolean to check if the value has been set.

func (*VrfCreateInput) GetMetro ¶

func (o *VrfCreateInput) GetMetro() string

GetMetro returns the Metro field value

func (*VrfCreateInput) GetMetroOk ¶

func (o *VrfCreateInput) GetMetroOk() (*string, bool)

GetMetroOk returns a tuple with the Metro field value and a boolean to check if the value has been set.

func (*VrfCreateInput) GetName ¶

func (o *VrfCreateInput) GetName() string

GetName returns the Name field value

func (*VrfCreateInput) GetNameOk ¶

func (o *VrfCreateInput) GetNameOk() (*string, bool)

GetNameOk returns a tuple with the Name field value and a boolean to check if the value has been set.

func (*VrfCreateInput) GetTags ¶ added in v0.17.0

func (o *VrfCreateInput) GetTags() []string

GetTags returns the Tags field value if set, zero value otherwise.

func (*VrfCreateInput) GetTagsOk ¶ added in v0.17.0

func (o *VrfCreateInput) GetTagsOk() ([]string, bool)

GetTagsOk returns a tuple with the Tags field value if set, nil otherwise and a boolean to check if the value has been set.

func (*VrfCreateInput) HasBgpDynamicNeighborsBfdEnabled ¶ added in v0.8.0

func (o *VrfCreateInput) HasBgpDynamicNeighborsBfdEnabled() bool

HasBgpDynamicNeighborsBfdEnabled returns a boolean if a field has been set.

func (*VrfCreateInput) HasBgpDynamicNeighborsEnabled ¶ added in v0.8.0

func (o *VrfCreateInput) HasBgpDynamicNeighborsEnabled() bool

HasBgpDynamicNeighborsEnabled returns a boolean if a field has been set.

func (*VrfCreateInput) HasBgpDynamicNeighborsExportRouteMap ¶ added in v0.8.0

func (o *VrfCreateInput) HasBgpDynamicNeighborsExportRouteMap() bool

HasBgpDynamicNeighborsExportRouteMap returns a boolean if a field has been set.

func (*VrfCreateInput) HasDescription ¶

func (o *VrfCreateInput) HasDescription() bool

HasDescription returns a boolean if a field has been set.

func (*VrfCreateInput) HasIpRanges ¶

func (o *VrfCreateInput) HasIpRanges() bool

HasIpRanges returns a boolean if a field has been set.

func (*VrfCreateInput) HasLocalAsn ¶

func (o *VrfCreateInput) HasLocalAsn() bool

HasLocalAsn returns a boolean if a field has been set.

func (*VrfCreateInput) HasTags ¶ added in v0.17.0

func (o *VrfCreateInput) HasTags() bool

HasTags returns a boolean if a field has been set.

func (VrfCreateInput) MarshalJSON ¶

func (o VrfCreateInput) MarshalJSON() ([]byte, error)

func (*VrfCreateInput) SetBgpDynamicNeighborsBfdEnabled ¶ added in v0.8.0

func (o *VrfCreateInput) SetBgpDynamicNeighborsBfdEnabled(v bool)

SetBgpDynamicNeighborsBfdEnabled gets a reference to the given bool and assigns it to the BgpDynamicNeighborsBfdEnabled field.

func (*VrfCreateInput) SetBgpDynamicNeighborsEnabled ¶ added in v0.8.0

func (o *VrfCreateInput) SetBgpDynamicNeighborsEnabled(v bool)

SetBgpDynamicNeighborsEnabled gets a reference to the given bool and assigns it to the BgpDynamicNeighborsEnabled field.

func (*VrfCreateInput) SetBgpDynamicNeighborsExportRouteMap ¶ added in v0.8.0

func (o *VrfCreateInput) SetBgpDynamicNeighborsExportRouteMap(v bool)

SetBgpDynamicNeighborsExportRouteMap gets a reference to the given bool and assigns it to the BgpDynamicNeighborsExportRouteMap field.

func (*VrfCreateInput) SetDescription ¶

func (o *VrfCreateInput) SetDescription(v string)

SetDescription gets a reference to the given string and assigns it to the Description field.

func (*VrfCreateInput) SetIpRanges ¶

func (o *VrfCreateInput) SetIpRanges(v []string)

SetIpRanges gets a reference to the given []string and assigns it to the IpRanges field.

func (*VrfCreateInput) SetLocalAsn ¶

func (o *VrfCreateInput) SetLocalAsn(v int32)

SetLocalAsn gets a reference to the given int32 and assigns it to the LocalAsn field.

func (*VrfCreateInput) SetMetro ¶

func (o *VrfCreateInput) SetMetro(v string)

SetMetro sets field value

func (*VrfCreateInput) SetName ¶

func (o *VrfCreateInput) SetName(v string)

SetName sets field value

func (*VrfCreateInput) SetTags ¶ added in v0.17.0

func (o *VrfCreateInput) SetTags(v []string)

SetTags gets a reference to the given []string and assigns it to the Tags field.

func (VrfCreateInput) ToMap ¶ added in v0.4.0

func (o VrfCreateInput) ToMap() (map[string]interface{}, error)

func (*VrfCreateInput) UnmarshalJSON ¶ added in v0.7.0

func (o *VrfCreateInput) UnmarshalJSON(bytes []byte) (err error)

type VrfFabricVcCreateInput ¶ added in v0.18.0

type VrfFabricVcCreateInput struct {
	// The preferred email used for communication and notifications about the Equinix Fabric interconnection. Required when using a Project API key. Optional and defaults to the primary user email address when using a User API key.
	ContactEmail *string `json:"contact_email,omitempty"`
	Description  *string `json:"description,omitempty"`
	// A Metro ID or code. When creating Fabric VCs (Metal Billed), this is where interconnection will be originating from, as we pre-authorize the use of one of our shared ports as the origin of the interconnection using A-Side service tokens. We only allow local connections for Fabric VCs (Metal Billed), so the destination location must be the same as the origin. For Fabric VCs (Fabric Billed), or shared connections, this will be the destination of the interconnection. We allow remote connections for Fabric VCs (Fabric Billed), so the origin of the interconnection can be a different metro set here.
	Metro   string  `json:"metro"`
	Name    string  `json:"name"`
	Project *string `json:"project,omitempty"`
	// Either 'primary' or 'redundant'.
	Redundancy       string                                  `json:"redundancy"`
	ServiceTokenType VlanFabricVcCreateInputServiceTokenType `json:"service_token_type"`
	// A interconnection speed, in bps, mbps, or gbps. For Fabric VCs, this represents the maximum speed of the interconnection. For Fabric VCs (Metal Billed), this can only be one of the following:  ”50mbps”, ”200mbps”, ”500mbps”, ”1gbps”, ”2gbps”, ”5gbps” or ”10gbps”, and is required for creation. For Fabric VCs (Fabric Billed), this field will always default to ”10gbps” even if it is not provided. For example, ”500000000”, ”50m”, or' ”500mbps” will all work as valid inputs.
	Speed *int32                      `json:"speed,omitempty"`
	Tags  []string                    `json:"tags,omitempty"`
	Type  VlanFabricVcCreateInputType `json:"type"`
	// This field holds a list of VRF UUIDs that will be set automatically on the virtual circuits of Fabric VCs on creation, and can hold up to two UUIDs. Two UUIDs are required when requesting redundant Fabric VCs. The first UUID will be set on the primary virtual circuit, while the second UUID will be set on the secondary. The two UUIDs can be the same if both the primary and secondary virtual circuits will be in the same VRF. This parameter is included in the specification as a developer preview and is generally unavailable. Please contact our Support team for more details.
	Vrfs                 []string `json:"vrfs"`
	AdditionalProperties map[string]interface{}
}

VrfFabricVcCreateInput struct for VrfFabricVcCreateInput

func NewVrfFabricVcCreateInput ¶ added in v0.18.0

func NewVrfFabricVcCreateInput(metro string, name string, redundancy string, serviceTokenType VlanFabricVcCreateInputServiceTokenType, type_ VlanFabricVcCreateInputType, vrfs []string) *VrfFabricVcCreateInput

NewVrfFabricVcCreateInput instantiates a new VrfFabricVcCreateInput object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewVrfFabricVcCreateInputWithDefaults ¶ added in v0.18.0

func NewVrfFabricVcCreateInputWithDefaults() *VrfFabricVcCreateInput

NewVrfFabricVcCreateInputWithDefaults instantiates a new VrfFabricVcCreateInput object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*VrfFabricVcCreateInput) GetContactEmail ¶ added in v0.18.0

func (o *VrfFabricVcCreateInput) GetContactEmail() string

GetContactEmail returns the ContactEmail field value if set, zero value otherwise.

func (*VrfFabricVcCreateInput) GetContactEmailOk ¶ added in v0.18.0

func (o *VrfFabricVcCreateInput) GetContactEmailOk() (*string, bool)

GetContactEmailOk returns a tuple with the ContactEmail field value if set, nil otherwise and a boolean to check if the value has been set.

func (*VrfFabricVcCreateInput) GetDescription ¶ added in v0.18.0

func (o *VrfFabricVcCreateInput) GetDescription() string

GetDescription returns the Description field value if set, zero value otherwise.

func (*VrfFabricVcCreateInput) GetDescriptionOk ¶ added in v0.18.0

func (o *VrfFabricVcCreateInput) GetDescriptionOk() (*string, bool)

GetDescriptionOk returns a tuple with the Description field value if set, nil otherwise and a boolean to check if the value has been set.

func (*VrfFabricVcCreateInput) GetMetro ¶ added in v0.18.0

func (o *VrfFabricVcCreateInput) GetMetro() string

GetMetro returns the Metro field value

func (*VrfFabricVcCreateInput) GetMetroOk ¶ added in v0.18.0

func (o *VrfFabricVcCreateInput) GetMetroOk() (*string, bool)

GetMetroOk returns a tuple with the Metro field value and a boolean to check if the value has been set.

func (*VrfFabricVcCreateInput) GetName ¶ added in v0.18.0

func (o *VrfFabricVcCreateInput) GetName() string

GetName returns the Name field value

func (*VrfFabricVcCreateInput) GetNameOk ¶ added in v0.18.0

func (o *VrfFabricVcCreateInput) GetNameOk() (*string, bool)

GetNameOk returns a tuple with the Name field value and a boolean to check if the value has been set.

func (*VrfFabricVcCreateInput) GetProject ¶ added in v0.18.0

func (o *VrfFabricVcCreateInput) GetProject() string

GetProject returns the Project field value if set, zero value otherwise.

func (*VrfFabricVcCreateInput) GetProjectOk ¶ added in v0.18.0

func (o *VrfFabricVcCreateInput) GetProjectOk() (*string, bool)

GetProjectOk returns a tuple with the Project field value if set, nil otherwise and a boolean to check if the value has been set.

func (*VrfFabricVcCreateInput) GetRedundancy ¶ added in v0.18.0

func (o *VrfFabricVcCreateInput) GetRedundancy() string

GetRedundancy returns the Redundancy field value

func (*VrfFabricVcCreateInput) GetRedundancyOk ¶ added in v0.18.0

func (o *VrfFabricVcCreateInput) GetRedundancyOk() (*string, bool)

GetRedundancyOk returns a tuple with the Redundancy field value and a boolean to check if the value has been set.

func (*VrfFabricVcCreateInput) GetServiceTokenType ¶ added in v0.18.0

GetServiceTokenType returns the ServiceTokenType field value

func (*VrfFabricVcCreateInput) GetServiceTokenTypeOk ¶ added in v0.18.0

GetServiceTokenTypeOk returns a tuple with the ServiceTokenType field value and a boolean to check if the value has been set.

func (*VrfFabricVcCreateInput) GetSpeed ¶ added in v0.18.0

func (o *VrfFabricVcCreateInput) GetSpeed() int32

GetSpeed returns the Speed field value if set, zero value otherwise.

func (*VrfFabricVcCreateInput) GetSpeedOk ¶ added in v0.18.0

func (o *VrfFabricVcCreateInput) GetSpeedOk() (*int32, bool)

GetSpeedOk returns a tuple with the Speed field value if set, nil otherwise and a boolean to check if the value has been set.

func (*VrfFabricVcCreateInput) GetTags ¶ added in v0.18.0

func (o *VrfFabricVcCreateInput) GetTags() []string

GetTags returns the Tags field value if set, zero value otherwise.

func (*VrfFabricVcCreateInput) GetTagsOk ¶ added in v0.18.0

func (o *VrfFabricVcCreateInput) GetTagsOk() ([]string, bool)

GetTagsOk returns a tuple with the Tags field value if set, nil otherwise and a boolean to check if the value has been set.

func (*VrfFabricVcCreateInput) GetType ¶ added in v0.18.0

GetType returns the Type field value

func (*VrfFabricVcCreateInput) GetTypeOk ¶ added in v0.18.0

GetTypeOk returns a tuple with the Type field value and a boolean to check if the value has been set.

func (*VrfFabricVcCreateInput) GetVrfs ¶ added in v0.18.0

func (o *VrfFabricVcCreateInput) GetVrfs() []string

GetVrfs returns the Vrfs field value

func (*VrfFabricVcCreateInput) GetVrfsOk ¶ added in v0.18.0

func (o *VrfFabricVcCreateInput) GetVrfsOk() ([]string, bool)

GetVrfsOk returns a tuple with the Vrfs field value and a boolean to check if the value has been set.

func (*VrfFabricVcCreateInput) HasContactEmail ¶ added in v0.18.0

func (o *VrfFabricVcCreateInput) HasContactEmail() bool

HasContactEmail returns a boolean if a field has been set.

func (*VrfFabricVcCreateInput) HasDescription ¶ added in v0.18.0

func (o *VrfFabricVcCreateInput) HasDescription() bool

HasDescription returns a boolean if a field has been set.

func (*VrfFabricVcCreateInput) HasProject ¶ added in v0.18.0

func (o *VrfFabricVcCreateInput) HasProject() bool

HasProject returns a boolean if a field has been set.

func (*VrfFabricVcCreateInput) HasSpeed ¶ added in v0.18.0

func (o *VrfFabricVcCreateInput) HasSpeed() bool

HasSpeed returns a boolean if a field has been set.

func (*VrfFabricVcCreateInput) HasTags ¶ added in v0.18.0

func (o *VrfFabricVcCreateInput) HasTags() bool

HasTags returns a boolean if a field has been set.

func (VrfFabricVcCreateInput) MarshalJSON ¶ added in v0.18.0

func (o VrfFabricVcCreateInput) MarshalJSON() ([]byte, error)

func (*VrfFabricVcCreateInput) SetContactEmail ¶ added in v0.18.0

func (o *VrfFabricVcCreateInput) SetContactEmail(v string)

SetContactEmail gets a reference to the given string and assigns it to the ContactEmail field.

func (*VrfFabricVcCreateInput) SetDescription ¶ added in v0.18.0

func (o *VrfFabricVcCreateInput) SetDescription(v string)

SetDescription gets a reference to the given string and assigns it to the Description field.

func (*VrfFabricVcCreateInput) SetMetro ¶ added in v0.18.0

func (o *VrfFabricVcCreateInput) SetMetro(v string)

SetMetro sets field value

func (*VrfFabricVcCreateInput) SetName ¶ added in v0.18.0

func (o *VrfFabricVcCreateInput) SetName(v string)

SetName sets field value

func (*VrfFabricVcCreateInput) SetProject ¶ added in v0.18.0

func (o *VrfFabricVcCreateInput) SetProject(v string)

SetProject gets a reference to the given string and assigns it to the Project field.

func (*VrfFabricVcCreateInput) SetRedundancy ¶ added in v0.18.0

func (o *VrfFabricVcCreateInput) SetRedundancy(v string)

SetRedundancy sets field value

func (*VrfFabricVcCreateInput) SetServiceTokenType ¶ added in v0.18.0

SetServiceTokenType sets field value

func (*VrfFabricVcCreateInput) SetSpeed ¶ added in v0.18.0

func (o *VrfFabricVcCreateInput) SetSpeed(v int32)

SetSpeed gets a reference to the given int32 and assigns it to the Speed field.

func (*VrfFabricVcCreateInput) SetTags ¶ added in v0.18.0

func (o *VrfFabricVcCreateInput) SetTags(v []string)

SetTags gets a reference to the given []string and assigns it to the Tags field.

func (*VrfFabricVcCreateInput) SetType ¶ added in v0.18.0

SetType sets field value

func (*VrfFabricVcCreateInput) SetVrfs ¶ added in v0.18.0

func (o *VrfFabricVcCreateInput) SetVrfs(v []string)

SetVrfs sets field value

func (VrfFabricVcCreateInput) ToMap ¶ added in v0.18.0

func (o VrfFabricVcCreateInput) ToMap() (map[string]interface{}, error)

func (*VrfFabricVcCreateInput) UnmarshalJSON ¶ added in v0.18.0

func (o *VrfFabricVcCreateInput) UnmarshalJSON(bytes []byte) (err error)

type VrfIpReservation ¶

type VrfIpReservation struct {
	AddressFamily        *int32                 `json:"address_family,omitempty"`
	Cidr                 *int32                 `json:"cidr,omitempty"`
	CreatedAt            *time.Time             `json:"created_at,omitempty"`
	CreatedBy            *Href                  `json:"created_by,omitempty"`
	Details              *string                `json:"details,omitempty"`
	Href                 *string                `json:"href,omitempty"`
	Id                   *string                `json:"id,omitempty"`
	MetalGateway         *MetalGatewayLite      `json:"metal_gateway,omitempty"`
	Netmask              *string                `json:"netmask,omitempty"`
	Network              *string                `json:"network,omitempty"`
	Project              *Project               `json:"project,omitempty"`
	State                *string                `json:"state,omitempty"`
	Tags                 []string               `json:"tags,omitempty"`
	Type                 VrfIpReservationType   `json:"type"`
	Vrf                  Vrf                    `json:"vrf"`
	Public               *bool                  `json:"public,omitempty"`
	Management           *bool                  `json:"management,omitempty"`
	Manageable           *bool                  `json:"manageable,omitempty"`
	Customdata           map[string]interface{} `json:"customdata,omitempty"`
	Bill                 *bool                  `json:"bill,omitempty"`
	ProjectLite          *Project               `json:"project_lite,omitempty"`
	Address              *string                `json:"address,omitempty"`
	Gateway              *string                `json:"gateway,omitempty"`
	Metro                *Metro                 `json:"metro,omitempty"`
	AdditionalProperties map[string]interface{}
}

VrfIpReservation struct for VrfIpReservation

func NewVrfIpReservation ¶

func NewVrfIpReservation(type_ VrfIpReservationType, vrf Vrf) *VrfIpReservation

NewVrfIpReservation instantiates a new VrfIpReservation object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewVrfIpReservationWithDefaults ¶

func NewVrfIpReservationWithDefaults() *VrfIpReservation

NewVrfIpReservationWithDefaults instantiates a new VrfIpReservation object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*VrfIpReservation) GetAddress ¶ added in v0.5.0

func (o *VrfIpReservation) GetAddress() string

GetAddress returns the Address field value if set, zero value otherwise.

func (*VrfIpReservation) GetAddressFamily ¶

func (o *VrfIpReservation) GetAddressFamily() int32

GetAddressFamily returns the AddressFamily field value if set, zero value otherwise.

func (*VrfIpReservation) GetAddressFamilyOk ¶

func (o *VrfIpReservation) GetAddressFamilyOk() (*int32, bool)

GetAddressFamilyOk returns a tuple with the AddressFamily field value if set, nil otherwise and a boolean to check if the value has been set.

func (*VrfIpReservation) GetAddressOk ¶ added in v0.5.0

func (o *VrfIpReservation) GetAddressOk() (*string, bool)

GetAddressOk returns a tuple with the Address field value if set, nil otherwise and a boolean to check if the value has been set.

func (*VrfIpReservation) GetBill ¶ added in v0.5.0

func (o *VrfIpReservation) GetBill() bool

GetBill returns the Bill field value if set, zero value otherwise.

func (*VrfIpReservation) GetBillOk ¶ added in v0.5.0

func (o *VrfIpReservation) GetBillOk() (*bool, bool)

GetBillOk returns a tuple with the Bill field value if set, nil otherwise and a boolean to check if the value has been set.

func (*VrfIpReservation) GetCidr ¶

func (o *VrfIpReservation) GetCidr() int32

GetCidr returns the Cidr field value if set, zero value otherwise.

func (*VrfIpReservation) GetCidrOk ¶

func (o *VrfIpReservation) GetCidrOk() (*int32, bool)

GetCidrOk returns a tuple with the Cidr field value if set, nil otherwise and a boolean to check if the value has been set.

func (*VrfIpReservation) GetCreatedAt ¶

func (o *VrfIpReservation) GetCreatedAt() time.Time

GetCreatedAt returns the CreatedAt field value if set, zero value otherwise.

func (*VrfIpReservation) GetCreatedAtOk ¶

func (o *VrfIpReservation) GetCreatedAtOk() (*time.Time, bool)

GetCreatedAtOk returns a tuple with the CreatedAt field value if set, nil otherwise and a boolean to check if the value has been set.

func (*VrfIpReservation) GetCreatedBy ¶

func (o *VrfIpReservation) GetCreatedBy() Href

GetCreatedBy returns the CreatedBy field value if set, zero value otherwise.

func (*VrfIpReservation) GetCreatedByOk ¶

func (o *VrfIpReservation) GetCreatedByOk() (*Href, bool)

GetCreatedByOk returns a tuple with the CreatedBy field value if set, nil otherwise and a boolean to check if the value has been set.

func (*VrfIpReservation) GetCustomdata ¶ added in v0.5.0

func (o *VrfIpReservation) GetCustomdata() map[string]interface{}

GetCustomdata returns the Customdata field value if set, zero value otherwise.

func (*VrfIpReservation) GetCustomdataOk ¶ added in v0.5.0

func (o *VrfIpReservation) GetCustomdataOk() (map[string]interface{}, bool)

GetCustomdataOk returns a tuple with the Customdata field value if set, nil otherwise and a boolean to check if the value has been set.

func (*VrfIpReservation) GetDetails ¶

func (o *VrfIpReservation) GetDetails() string

GetDetails returns the Details field value if set, zero value otherwise.

func (*VrfIpReservation) GetDetailsOk ¶

func (o *VrfIpReservation) GetDetailsOk() (*string, bool)

GetDetailsOk returns a tuple with the Details field value if set, nil otherwise and a boolean to check if the value has been set.

func (*VrfIpReservation) GetGateway ¶ added in v0.5.0

func (o *VrfIpReservation) GetGateway() string

GetGateway returns the Gateway field value if set, zero value otherwise.

func (*VrfIpReservation) GetGatewayOk ¶ added in v0.5.0

func (o *VrfIpReservation) GetGatewayOk() (*string, bool)

GetGatewayOk returns a tuple with the Gateway field value if set, nil otherwise and a boolean to check if the value has been set.

func (*VrfIpReservation) GetHref ¶

func (o *VrfIpReservation) GetHref() string

GetHref returns the Href field value if set, zero value otherwise.

func (*VrfIpReservation) GetHrefOk ¶

func (o *VrfIpReservation) GetHrefOk() (*string, bool)

GetHrefOk returns a tuple with the Href field value if set, nil otherwise and a boolean to check if the value has been set.

func (*VrfIpReservation) GetId ¶

func (o *VrfIpReservation) GetId() string

GetId returns the Id field value if set, zero value otherwise.

func (*VrfIpReservation) GetIdOk ¶

func (o *VrfIpReservation) GetIdOk() (*string, bool)

GetIdOk returns a tuple with the Id field value if set, nil otherwise and a boolean to check if the value has been set.

func (*VrfIpReservation) GetManageable ¶ added in v0.5.0

func (o *VrfIpReservation) GetManageable() bool

GetManageable returns the Manageable field value if set, zero value otherwise.

func (*VrfIpReservation) GetManageableOk ¶ added in v0.5.0

func (o *VrfIpReservation) GetManageableOk() (*bool, bool)

GetManageableOk returns a tuple with the Manageable field value if set, nil otherwise and a boolean to check if the value has been set.

func (*VrfIpReservation) GetManagement ¶ added in v0.5.0

func (o *VrfIpReservation) GetManagement() bool

GetManagement returns the Management field value if set, zero value otherwise.

func (*VrfIpReservation) GetManagementOk ¶ added in v0.5.0

func (o *VrfIpReservation) GetManagementOk() (*bool, bool)

GetManagementOk returns a tuple with the Management field value if set, nil otherwise and a boolean to check if the value has been set.

func (*VrfIpReservation) GetMetalGateway ¶

func (o *VrfIpReservation) GetMetalGateway() MetalGatewayLite

GetMetalGateway returns the MetalGateway field value if set, zero value otherwise.

func (*VrfIpReservation) GetMetalGatewayOk ¶

func (o *VrfIpReservation) GetMetalGatewayOk() (*MetalGatewayLite, bool)

GetMetalGatewayOk returns a tuple with the MetalGateway field value if set, nil otherwise and a boolean to check if the value has been set.

func (*VrfIpReservation) GetMetro ¶ added in v0.5.0

func (o *VrfIpReservation) GetMetro() Metro

GetMetro returns the Metro field value if set, zero value otherwise.

func (*VrfIpReservation) GetMetroOk ¶ added in v0.5.0

func (o *VrfIpReservation) GetMetroOk() (*Metro, bool)

GetMetroOk returns a tuple with the Metro field value if set, nil otherwise and a boolean to check if the value has been set.

func (*VrfIpReservation) GetNetmask ¶

func (o *VrfIpReservation) GetNetmask() string

GetNetmask returns the Netmask field value if set, zero value otherwise.

func (*VrfIpReservation) GetNetmaskOk ¶

func (o *VrfIpReservation) GetNetmaskOk() (*string, bool)

GetNetmaskOk returns a tuple with the Netmask field value if set, nil otherwise and a boolean to check if the value has been set.

func (*VrfIpReservation) GetNetwork ¶

func (o *VrfIpReservation) GetNetwork() string

GetNetwork returns the Network field value if set, zero value otherwise.

func (*VrfIpReservation) GetNetworkOk ¶

func (o *VrfIpReservation) GetNetworkOk() (*string, bool)

GetNetworkOk returns a tuple with the Network field value if set, nil otherwise and a boolean to check if the value has been set.

func (*VrfIpReservation) GetProject ¶

func (o *VrfIpReservation) GetProject() Project

GetProject returns the Project field value if set, zero value otherwise.

func (*VrfIpReservation) GetProjectLite ¶ added in v0.5.0

func (o *VrfIpReservation) GetProjectLite() Project

GetProjectLite returns the ProjectLite field value if set, zero value otherwise.

func (*VrfIpReservation) GetProjectLiteOk ¶ added in v0.5.0

func (o *VrfIpReservation) GetProjectLiteOk() (*Project, bool)

GetProjectLiteOk returns a tuple with the ProjectLite field value if set, nil otherwise and a boolean to check if the value has been set.

func (*VrfIpReservation) GetProjectOk ¶

func (o *VrfIpReservation) GetProjectOk() (*Project, bool)

GetProjectOk returns a tuple with the Project field value if set, nil otherwise and a boolean to check if the value has been set.

func (*VrfIpReservation) GetPublic ¶ added in v0.5.0

func (o *VrfIpReservation) GetPublic() bool

GetPublic returns the Public field value if set, zero value otherwise.

func (*VrfIpReservation) GetPublicOk ¶ added in v0.5.0

func (o *VrfIpReservation) GetPublicOk() (*bool, bool)

GetPublicOk returns a tuple with the Public field value if set, nil otherwise and a boolean to check if the value has been set.

func (*VrfIpReservation) GetState ¶

func (o *VrfIpReservation) GetState() string

GetState returns the State field value if set, zero value otherwise.

func (*VrfIpReservation) GetStateOk ¶

func (o *VrfIpReservation) GetStateOk() (*string, bool)

GetStateOk returns a tuple with the State field value if set, nil otherwise and a boolean to check if the value has been set.

func (*VrfIpReservation) GetTags ¶

func (o *VrfIpReservation) GetTags() []string

GetTags returns the Tags field value if set, zero value otherwise.

func (*VrfIpReservation) GetTagsOk ¶

func (o *VrfIpReservation) GetTagsOk() ([]string, bool)

GetTagsOk returns a tuple with the Tags field value if set, nil otherwise and a boolean to check if the value has been set.

func (*VrfIpReservation) GetType ¶

GetType returns the Type field value

func (*VrfIpReservation) GetTypeOk ¶

func (o *VrfIpReservation) GetTypeOk() (*VrfIpReservationType, bool)

GetTypeOk returns a tuple with the Type field value and a boolean to check if the value has been set.

func (*VrfIpReservation) GetVrf ¶

func (o *VrfIpReservation) GetVrf() Vrf

GetVrf returns the Vrf field value

func (*VrfIpReservation) GetVrfOk ¶

func (o *VrfIpReservation) GetVrfOk() (*Vrf, bool)

GetVrfOk returns a tuple with the Vrf field value and a boolean to check if the value has been set.

func (*VrfIpReservation) HasAddress ¶ added in v0.5.0

func (o *VrfIpReservation) HasAddress() bool

HasAddress returns a boolean if a field has been set.

func (*VrfIpReservation) HasAddressFamily ¶

func (o *VrfIpReservation) HasAddressFamily() bool

HasAddressFamily returns a boolean if a field has been set.

func (*VrfIpReservation) HasBill ¶ added in v0.5.0

func (o *VrfIpReservation) HasBill() bool

HasBill returns a boolean if a field has been set.

func (*VrfIpReservation) HasCidr ¶

func (o *VrfIpReservation) HasCidr() bool

HasCidr returns a boolean if a field has been set.

func (*VrfIpReservation) HasCreatedAt ¶

func (o *VrfIpReservation) HasCreatedAt() bool

HasCreatedAt returns a boolean if a field has been set.

func (*VrfIpReservation) HasCreatedBy ¶

func (o *VrfIpReservation) HasCreatedBy() bool

HasCreatedBy returns a boolean if a field has been set.

func (*VrfIpReservation) HasCustomdata ¶ added in v0.5.0

func (o *VrfIpReservation) HasCustomdata() bool

HasCustomdata returns a boolean if a field has been set.

func (*VrfIpReservation) HasDetails ¶

func (o *VrfIpReservation) HasDetails() bool

HasDetails returns a boolean if a field has been set.

func (*VrfIpReservation) HasGateway ¶ added in v0.5.0

func (o *VrfIpReservation) HasGateway() bool

HasGateway returns a boolean if a field has been set.

func (*VrfIpReservation) HasHref ¶

func (o *VrfIpReservation) HasHref() bool

HasHref returns a boolean if a field has been set.

func (*VrfIpReservation) HasId ¶

func (o *VrfIpReservation) HasId() bool

HasId returns a boolean if a field has been set.

func (*VrfIpReservation) HasManageable ¶ added in v0.5.0

func (o *VrfIpReservation) HasManageable() bool

HasManageable returns a boolean if a field has been set.

func (*VrfIpReservation) HasManagement ¶ added in v0.5.0

func (o *VrfIpReservation) HasManagement() bool

HasManagement returns a boolean if a field has been set.

func (*VrfIpReservation) HasMetalGateway ¶

func (o *VrfIpReservation) HasMetalGateway() bool

HasMetalGateway returns a boolean if a field has been set.

func (*VrfIpReservation) HasMetro ¶ added in v0.5.0

func (o *VrfIpReservation) HasMetro() bool

HasMetro returns a boolean if a field has been set.

func (*VrfIpReservation) HasNetmask ¶

func (o *VrfIpReservation) HasNetmask() bool

HasNetmask returns a boolean if a field has been set.

func (*VrfIpReservation) HasNetwork ¶

func (o *VrfIpReservation) HasNetwork() bool

HasNetwork returns a boolean if a field has been set.

func (*VrfIpReservation) HasProject ¶

func (o *VrfIpReservation) HasProject() bool

HasProject returns a boolean if a field has been set.

func (*VrfIpReservation) HasProjectLite ¶ added in v0.5.0

func (o *VrfIpReservation) HasProjectLite() bool

HasProjectLite returns a boolean if a field has been set.

func (*VrfIpReservation) HasPublic ¶ added in v0.5.0

func (o *VrfIpReservation) HasPublic() bool

HasPublic returns a boolean if a field has been set.

func (*VrfIpReservation) HasState ¶

func (o *VrfIpReservation) HasState() bool

HasState returns a boolean if a field has been set.

func (*VrfIpReservation) HasTags ¶

func (o *VrfIpReservation) HasTags() bool

HasTags returns a boolean if a field has been set.

func (VrfIpReservation) MarshalJSON ¶

func (o VrfIpReservation) MarshalJSON() ([]byte, error)

func (*VrfIpReservation) SetAddress ¶ added in v0.5.0

func (o *VrfIpReservation) SetAddress(v string)

SetAddress gets a reference to the given string and assigns it to the Address field.

func (*VrfIpReservation) SetAddressFamily ¶

func (o *VrfIpReservation) SetAddressFamily(v int32)

SetAddressFamily gets a reference to the given int32 and assigns it to the AddressFamily field.

func (*VrfIpReservation) SetBill ¶ added in v0.5.0

func (o *VrfIpReservation) SetBill(v bool)

SetBill gets a reference to the given bool and assigns it to the Bill field.

func (*VrfIpReservation) SetCidr ¶

func (o *VrfIpReservation) SetCidr(v int32)

SetCidr gets a reference to the given int32 and assigns it to the Cidr field.

func (*VrfIpReservation) SetCreatedAt ¶

func (o *VrfIpReservation) SetCreatedAt(v time.Time)

SetCreatedAt gets a reference to the given time.Time and assigns it to the CreatedAt field.

func (*VrfIpReservation) SetCreatedBy ¶

func (o *VrfIpReservation) SetCreatedBy(v Href)

SetCreatedBy gets a reference to the given Href and assigns it to the CreatedBy field.

func (*VrfIpReservation) SetCustomdata ¶ added in v0.5.0

func (o *VrfIpReservation) SetCustomdata(v map[string]interface{})

SetCustomdata gets a reference to the given map[string]interface{} and assigns it to the Customdata field.

func (*VrfIpReservation) SetDetails ¶

func (o *VrfIpReservation) SetDetails(v string)

SetDetails gets a reference to the given string and assigns it to the Details field.

func (*VrfIpReservation) SetGateway ¶ added in v0.5.0

func (o *VrfIpReservation) SetGateway(v string)

SetGateway gets a reference to the given string and assigns it to the Gateway field.

func (*VrfIpReservation) SetHref ¶

func (o *VrfIpReservation) SetHref(v string)

SetHref gets a reference to the given string and assigns it to the Href field.

func (*VrfIpReservation) SetId ¶

func (o *VrfIpReservation) SetId(v string)

SetId gets a reference to the given string and assigns it to the Id field.

func (*VrfIpReservation) SetManageable ¶ added in v0.5.0

func (o *VrfIpReservation) SetManageable(v bool)

SetManageable gets a reference to the given bool and assigns it to the Manageable field.

func (*VrfIpReservation) SetManagement ¶ added in v0.5.0

func (o *VrfIpReservation) SetManagement(v bool)

SetManagement gets a reference to the given bool and assigns it to the Management field.

func (*VrfIpReservation) SetMetalGateway ¶

func (o *VrfIpReservation) SetMetalGateway(v MetalGatewayLite)

SetMetalGateway gets a reference to the given MetalGatewayLite and assigns it to the MetalGateway field.

func (*VrfIpReservation) SetMetro ¶ added in v0.5.0

func (o *VrfIpReservation) SetMetro(v Metro)

SetMetro gets a reference to the given Metro and assigns it to the Metro field.

func (*VrfIpReservation) SetNetmask ¶

func (o *VrfIpReservation) SetNetmask(v string)

SetNetmask gets a reference to the given string and assigns it to the Netmask field.

func (*VrfIpReservation) SetNetwork ¶

func (o *VrfIpReservation) SetNetwork(v string)

SetNetwork gets a reference to the given string and assigns it to the Network field.

func (*VrfIpReservation) SetProject ¶

func (o *VrfIpReservation) SetProject(v Project)

SetProject gets a reference to the given Project and assigns it to the Project field.

func (*VrfIpReservation) SetProjectLite ¶ added in v0.5.0

func (o *VrfIpReservation) SetProjectLite(v Project)

SetProjectLite gets a reference to the given Project and assigns it to the ProjectLite field.

func (*VrfIpReservation) SetPublic ¶ added in v0.5.0

func (o *VrfIpReservation) SetPublic(v bool)

SetPublic gets a reference to the given bool and assigns it to the Public field.

func (*VrfIpReservation) SetState ¶

func (o *VrfIpReservation) SetState(v string)

SetState gets a reference to the given string and assigns it to the State field.

func (*VrfIpReservation) SetTags ¶

func (o *VrfIpReservation) SetTags(v []string)

SetTags gets a reference to the given []string and assigns it to the Tags field.

func (*VrfIpReservation) SetType ¶

func (o *VrfIpReservation) SetType(v VrfIpReservationType)

SetType sets field value

func (*VrfIpReservation) SetVrf ¶

func (o *VrfIpReservation) SetVrf(v Vrf)

SetVrf sets field value

func (VrfIpReservation) ToMap ¶ added in v0.4.0

func (o VrfIpReservation) ToMap() (map[string]interface{}, error)

func (*VrfIpReservation) UnmarshalJSON ¶ added in v0.7.0

func (o *VrfIpReservation) UnmarshalJSON(bytes []byte) (err error)

type VrfIpReservationCreateInput ¶

type VrfIpReservationCreateInput struct {
	// The size of the VRF IP Reservation's subnet
	Cidr       int32                  `json:"cidr"`
	Customdata map[string]interface{} `json:"customdata,omitempty"`
	Details    *string                `json:"details,omitempty"`
	// The starting address for this VRF IP Reservation's subnet
	Network string   `json:"network"`
	Tags    []string `json:"tags,omitempty"`
	// Must be set to 'vrf'
	Type string `json:"type"`
	// The ID of the VRF in which this VRF IP Reservation is created. The VRF must have an existing IP Range that contains the requested subnet. This field may be aliased as just 'vrf'.
	VrfId                string `json:"vrf_id"`
	AdditionalProperties map[string]interface{}
}

VrfIpReservationCreateInput struct for VrfIpReservationCreateInput

func NewVrfIpReservationCreateInput ¶

func NewVrfIpReservationCreateInput(cidr int32, network string, type_ string, vrfId string) *VrfIpReservationCreateInput

NewVrfIpReservationCreateInput instantiates a new VrfIpReservationCreateInput object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewVrfIpReservationCreateInputWithDefaults ¶

func NewVrfIpReservationCreateInputWithDefaults() *VrfIpReservationCreateInput

NewVrfIpReservationCreateInputWithDefaults instantiates a new VrfIpReservationCreateInput object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*VrfIpReservationCreateInput) GetCidr ¶

func (o *VrfIpReservationCreateInput) GetCidr() int32

GetCidr returns the Cidr field value

func (*VrfIpReservationCreateInput) GetCidrOk ¶

func (o *VrfIpReservationCreateInput) GetCidrOk() (*int32, bool)

GetCidrOk returns a tuple with the Cidr field value and a boolean to check if the value has been set.

func (*VrfIpReservationCreateInput) GetCustomdata ¶

func (o *VrfIpReservationCreateInput) GetCustomdata() map[string]interface{}

GetCustomdata returns the Customdata field value if set, zero value otherwise.

func (*VrfIpReservationCreateInput) GetCustomdataOk ¶

func (o *VrfIpReservationCreateInput) GetCustomdataOk() (map[string]interface{}, bool)

GetCustomdataOk returns a tuple with the Customdata field value if set, nil otherwise and a boolean to check if the value has been set.

func (*VrfIpReservationCreateInput) GetDetails ¶

func (o *VrfIpReservationCreateInput) GetDetails() string

GetDetails returns the Details field value if set, zero value otherwise.

func (*VrfIpReservationCreateInput) GetDetailsOk ¶

func (o *VrfIpReservationCreateInput) GetDetailsOk() (*string, bool)

GetDetailsOk returns a tuple with the Details field value if set, nil otherwise and a boolean to check if the value has been set.

func (*VrfIpReservationCreateInput) GetNetwork ¶

func (o *VrfIpReservationCreateInput) GetNetwork() string

GetNetwork returns the Network field value

func (*VrfIpReservationCreateInput) GetNetworkOk ¶

func (o *VrfIpReservationCreateInput) GetNetworkOk() (*string, bool)

GetNetworkOk returns a tuple with the Network field value and a boolean to check if the value has been set.

func (*VrfIpReservationCreateInput) GetTags ¶

func (o *VrfIpReservationCreateInput) GetTags() []string

GetTags returns the Tags field value if set, zero value otherwise.

func (*VrfIpReservationCreateInput) GetTagsOk ¶

func (o *VrfIpReservationCreateInput) GetTagsOk() ([]string, bool)

GetTagsOk returns a tuple with the Tags field value if set, nil otherwise and a boolean to check if the value has been set.

func (*VrfIpReservationCreateInput) GetType ¶

func (o *VrfIpReservationCreateInput) GetType() string

GetType returns the Type field value

func (*VrfIpReservationCreateInput) GetTypeOk ¶

func (o *VrfIpReservationCreateInput) GetTypeOk() (*string, bool)

GetTypeOk returns a tuple with the Type field value and a boolean to check if the value has been set.

func (*VrfIpReservationCreateInput) GetVrfId ¶

func (o *VrfIpReservationCreateInput) GetVrfId() string

GetVrfId returns the VrfId field value

func (*VrfIpReservationCreateInput) GetVrfIdOk ¶

func (o *VrfIpReservationCreateInput) GetVrfIdOk() (*string, bool)

GetVrfIdOk returns a tuple with the VrfId field value and a boolean to check if the value has been set.

func (*VrfIpReservationCreateInput) HasCustomdata ¶

func (o *VrfIpReservationCreateInput) HasCustomdata() bool

HasCustomdata returns a boolean if a field has been set.

func (*VrfIpReservationCreateInput) HasDetails ¶

func (o *VrfIpReservationCreateInput) HasDetails() bool

HasDetails returns a boolean if a field has been set.

func (*VrfIpReservationCreateInput) HasTags ¶

func (o *VrfIpReservationCreateInput) HasTags() bool

HasTags returns a boolean if a field has been set.

func (VrfIpReservationCreateInput) MarshalJSON ¶

func (o VrfIpReservationCreateInput) MarshalJSON() ([]byte, error)

func (*VrfIpReservationCreateInput) SetCidr ¶

func (o *VrfIpReservationCreateInput) SetCidr(v int32)

SetCidr sets field value

func (*VrfIpReservationCreateInput) SetCustomdata ¶

func (o *VrfIpReservationCreateInput) SetCustomdata(v map[string]interface{})

SetCustomdata gets a reference to the given map[string]interface{} and assigns it to the Customdata field.

func (*VrfIpReservationCreateInput) SetDetails ¶

func (o *VrfIpReservationCreateInput) SetDetails(v string)

SetDetails gets a reference to the given string and assigns it to the Details field.

func (*VrfIpReservationCreateInput) SetNetwork ¶

func (o *VrfIpReservationCreateInput) SetNetwork(v string)

SetNetwork sets field value

func (*VrfIpReservationCreateInput) SetTags ¶

func (o *VrfIpReservationCreateInput) SetTags(v []string)

SetTags gets a reference to the given []string and assigns it to the Tags field.

func (*VrfIpReservationCreateInput) SetType ¶

func (o *VrfIpReservationCreateInput) SetType(v string)

SetType sets field value

func (*VrfIpReservationCreateInput) SetVrfId ¶

func (o *VrfIpReservationCreateInput) SetVrfId(v string)

SetVrfId sets field value

func (VrfIpReservationCreateInput) ToMap ¶ added in v0.4.0

func (o VrfIpReservationCreateInput) ToMap() (map[string]interface{}, error)

func (*VrfIpReservationCreateInput) UnmarshalJSON ¶ added in v0.7.0

func (o *VrfIpReservationCreateInput) UnmarshalJSON(bytes []byte) (err error)

type VrfIpReservationList ¶

type VrfIpReservationList struct {
	IpAddresses          []VrfIpReservation `json:"ip_addresses,omitempty"`
	AdditionalProperties map[string]interface{}
}

VrfIpReservationList struct for VrfIpReservationList

func NewVrfIpReservationList ¶

func NewVrfIpReservationList() *VrfIpReservationList

NewVrfIpReservationList instantiates a new VrfIpReservationList object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewVrfIpReservationListWithDefaults ¶

func NewVrfIpReservationListWithDefaults() *VrfIpReservationList

NewVrfIpReservationListWithDefaults instantiates a new VrfIpReservationList object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*VrfIpReservationList) GetIpAddresses ¶

func (o *VrfIpReservationList) GetIpAddresses() []VrfIpReservation

GetIpAddresses returns the IpAddresses field value if set, zero value otherwise.

func (*VrfIpReservationList) GetIpAddressesOk ¶

func (o *VrfIpReservationList) GetIpAddressesOk() ([]VrfIpReservation, bool)

GetIpAddressesOk returns a tuple with the IpAddresses field value if set, nil otherwise and a boolean to check if the value has been set.

func (*VrfIpReservationList) HasIpAddresses ¶

func (o *VrfIpReservationList) HasIpAddresses() bool

HasIpAddresses returns a boolean if a field has been set.

func (VrfIpReservationList) MarshalJSON ¶

func (o VrfIpReservationList) MarshalJSON() ([]byte, error)

func (*VrfIpReservationList) SetIpAddresses ¶

func (o *VrfIpReservationList) SetIpAddresses(v []VrfIpReservation)

SetIpAddresses gets a reference to the given []VrfIpReservation and assigns it to the IpAddresses field.

func (VrfIpReservationList) ToMap ¶ added in v0.4.0

func (o VrfIpReservationList) ToMap() (map[string]interface{}, error)

func (*VrfIpReservationList) UnmarshalJSON ¶ added in v0.7.0

func (o *VrfIpReservationList) UnmarshalJSON(bytes []byte) (err error)

type VrfIpReservationType ¶ added in v0.22.0

type VrfIpReservationType string

VrfIpReservationType the model 'VrfIpReservationType'

const (
	VRFIPRESERVATIONTYPE_VRF VrfIpReservationType = "vrf"
)

List of VrfIpReservation_type

func NewVrfIpReservationTypeFromValue ¶ added in v0.22.0

func NewVrfIpReservationTypeFromValue(v string) (*VrfIpReservationType, error)

NewVrfIpReservationTypeFromValue returns a pointer to a valid VrfIpReservationType for the value passed as argument, or an error if the value passed is not allowed by the enum

func (VrfIpReservationType) IsValid ¶ added in v0.22.0

func (v VrfIpReservationType) IsValid() bool

IsValid return true if the value is valid for the enum, false otherwise

func (VrfIpReservationType) Ptr ¶ added in v0.22.0

Ptr returns reference to VrfIpReservation_type value

func (*VrfIpReservationType) UnmarshalJSON ¶ added in v0.22.0

func (v *VrfIpReservationType) UnmarshalJSON(src []byte) error

type VrfList ¶

type VrfList struct {
	Vrfs                 []Vrf `json:"vrfs,omitempty"`
	AdditionalProperties map[string]interface{}
}

VrfList struct for VrfList

func NewVrfList ¶

func NewVrfList() *VrfList

NewVrfList instantiates a new VrfList object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewVrfListWithDefaults ¶

func NewVrfListWithDefaults() *VrfList

NewVrfListWithDefaults instantiates a new VrfList object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*VrfList) GetVrfs ¶

func (o *VrfList) GetVrfs() []Vrf

GetVrfs returns the Vrfs field value if set, zero value otherwise.

func (*VrfList) GetVrfsOk ¶

func (o *VrfList) GetVrfsOk() ([]Vrf, bool)

GetVrfsOk returns a tuple with the Vrfs field value if set, nil otherwise and a boolean to check if the value has been set.

func (*VrfList) HasVrfs ¶

func (o *VrfList) HasVrfs() bool

HasVrfs returns a boolean if a field has been set.

func (VrfList) MarshalJSON ¶

func (o VrfList) MarshalJSON() ([]byte, error)

func (*VrfList) SetVrfs ¶

func (o *VrfList) SetVrfs(v []Vrf)

SetVrfs gets a reference to the given []Vrf and assigns it to the Vrfs field.

func (VrfList) ToMap ¶ added in v0.4.0

func (o VrfList) ToMap() (map[string]interface{}, error)

func (*VrfList) UnmarshalJSON ¶ added in v0.7.0

func (o *VrfList) UnmarshalJSON(bytes []byte) (err error)

type VrfMetalGateway ¶

type VrfMetalGateway struct {
	CreatedAt            *time.Time         `json:"created_at,omitempty"`
	CreatedBy            *Href              `json:"created_by,omitempty"`
	Href                 *string            `json:"href,omitempty"`
	Id                   *string            `json:"id,omitempty"`
	IpReservation        *VrfIpReservation  `json:"ip_reservation,omitempty"`
	Project              *Project           `json:"project,omitempty"`
	State                *MetalGatewayState `json:"state,omitempty"`
	UpdatedAt            *time.Time         `json:"updated_at,omitempty"`
	VirtualNetwork       *VirtualNetwork    `json:"virtual_network,omitempty"`
	Vrf                  *Vrf               `json:"vrf,omitempty"`
	AdditionalProperties map[string]interface{}
}

VrfMetalGateway struct for VrfMetalGateway

func NewVrfMetalGateway ¶

func NewVrfMetalGateway() *VrfMetalGateway

NewVrfMetalGateway instantiates a new VrfMetalGateway object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewVrfMetalGatewayWithDefaults ¶

func NewVrfMetalGatewayWithDefaults() *VrfMetalGateway

NewVrfMetalGatewayWithDefaults instantiates a new VrfMetalGateway object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*VrfMetalGateway) GetCreatedAt ¶

func (o *VrfMetalGateway) GetCreatedAt() time.Time

GetCreatedAt returns the CreatedAt field value if set, zero value otherwise.

func (*VrfMetalGateway) GetCreatedAtOk ¶

func (o *VrfMetalGateway) GetCreatedAtOk() (*time.Time, bool)

GetCreatedAtOk returns a tuple with the CreatedAt field value if set, nil otherwise and a boolean to check if the value has been set.

func (*VrfMetalGateway) GetCreatedBy ¶

func (o *VrfMetalGateway) GetCreatedBy() Href

GetCreatedBy returns the CreatedBy field value if set, zero value otherwise.

func (*VrfMetalGateway) GetCreatedByOk ¶

func (o *VrfMetalGateway) GetCreatedByOk() (*Href, bool)

GetCreatedByOk returns a tuple with the CreatedBy field value if set, nil otherwise and a boolean to check if the value has been set.

func (*VrfMetalGateway) GetHref ¶

func (o *VrfMetalGateway) GetHref() string

GetHref returns the Href field value if set, zero value otherwise.

func (*VrfMetalGateway) GetHrefOk ¶

func (o *VrfMetalGateway) GetHrefOk() (*string, bool)

GetHrefOk returns a tuple with the Href field value if set, nil otherwise and a boolean to check if the value has been set.

func (*VrfMetalGateway) GetId ¶

func (o *VrfMetalGateway) GetId() string

GetId returns the Id field value if set, zero value otherwise.

func (*VrfMetalGateway) GetIdOk ¶

func (o *VrfMetalGateway) GetIdOk() (*string, bool)

GetIdOk returns a tuple with the Id field value if set, nil otherwise and a boolean to check if the value has been set.

func (*VrfMetalGateway) GetIpReservation ¶

func (o *VrfMetalGateway) GetIpReservation() VrfIpReservation

GetIpReservation returns the IpReservation field value if set, zero value otherwise.

func (*VrfMetalGateway) GetIpReservationOk ¶

func (o *VrfMetalGateway) GetIpReservationOk() (*VrfIpReservation, bool)

GetIpReservationOk returns a tuple with the IpReservation field value if set, nil otherwise and a boolean to check if the value has been set.

func (*VrfMetalGateway) GetProject ¶

func (o *VrfMetalGateway) GetProject() Project

GetProject returns the Project field value if set, zero value otherwise.

func (*VrfMetalGateway) GetProjectOk ¶

func (o *VrfMetalGateway) GetProjectOk() (*Project, bool)

GetProjectOk returns a tuple with the Project field value if set, nil otherwise and a boolean to check if the value has been set.

func (*VrfMetalGateway) GetState ¶

func (o *VrfMetalGateway) GetState() MetalGatewayState

GetState returns the State field value if set, zero value otherwise.

func (*VrfMetalGateway) GetStateOk ¶

func (o *VrfMetalGateway) GetStateOk() (*MetalGatewayState, bool)

GetStateOk returns a tuple with the State field value if set, nil otherwise and a boolean to check if the value has been set.

func (*VrfMetalGateway) GetUpdatedAt ¶

func (o *VrfMetalGateway) GetUpdatedAt() time.Time

GetUpdatedAt returns the UpdatedAt field value if set, zero value otherwise.

func (*VrfMetalGateway) GetUpdatedAtOk ¶

func (o *VrfMetalGateway) GetUpdatedAtOk() (*time.Time, bool)

GetUpdatedAtOk returns a tuple with the UpdatedAt field value if set, nil otherwise and a boolean to check if the value has been set.

func (*VrfMetalGateway) GetVirtualNetwork ¶

func (o *VrfMetalGateway) GetVirtualNetwork() VirtualNetwork

GetVirtualNetwork returns the VirtualNetwork field value if set, zero value otherwise.

func (*VrfMetalGateway) GetVirtualNetworkOk ¶

func (o *VrfMetalGateway) GetVirtualNetworkOk() (*VirtualNetwork, bool)

GetVirtualNetworkOk returns a tuple with the VirtualNetwork field value if set, nil otherwise and a boolean to check if the value has been set.

func (*VrfMetalGateway) GetVrf ¶

func (o *VrfMetalGateway) GetVrf() Vrf

GetVrf returns the Vrf field value if set, zero value otherwise.

func (*VrfMetalGateway) GetVrfOk ¶

func (o *VrfMetalGateway) GetVrfOk() (*Vrf, bool)

GetVrfOk returns a tuple with the Vrf field value if set, nil otherwise and a boolean to check if the value has been set.

func (*VrfMetalGateway) HasCreatedAt ¶

func (o *VrfMetalGateway) HasCreatedAt() bool

HasCreatedAt returns a boolean if a field has been set.

func (*VrfMetalGateway) HasCreatedBy ¶

func (o *VrfMetalGateway) HasCreatedBy() bool

HasCreatedBy returns a boolean if a field has been set.

func (*VrfMetalGateway) HasHref ¶

func (o *VrfMetalGateway) HasHref() bool

HasHref returns a boolean if a field has been set.

func (*VrfMetalGateway) HasId ¶

func (o *VrfMetalGateway) HasId() bool

HasId returns a boolean if a field has been set.

func (*VrfMetalGateway) HasIpReservation ¶

func (o *VrfMetalGateway) HasIpReservation() bool

HasIpReservation returns a boolean if a field has been set.

func (*VrfMetalGateway) HasProject ¶

func (o *VrfMetalGateway) HasProject() bool

HasProject returns a boolean if a field has been set.

func (*VrfMetalGateway) HasState ¶

func (o *VrfMetalGateway) HasState() bool

HasState returns a boolean if a field has been set.

func (*VrfMetalGateway) HasUpdatedAt ¶

func (o *VrfMetalGateway) HasUpdatedAt() bool

HasUpdatedAt returns a boolean if a field has been set.

func (*VrfMetalGateway) HasVirtualNetwork ¶

func (o *VrfMetalGateway) HasVirtualNetwork() bool

HasVirtualNetwork returns a boolean if a field has been set.

func (*VrfMetalGateway) HasVrf ¶

func (o *VrfMetalGateway) HasVrf() bool

HasVrf returns a boolean if a field has been set.

func (VrfMetalGateway) MarshalJSON ¶

func (o VrfMetalGateway) MarshalJSON() ([]byte, error)

func (*VrfMetalGateway) SetCreatedAt ¶

func (o *VrfMetalGateway) SetCreatedAt(v time.Time)

SetCreatedAt gets a reference to the given time.Time and assigns it to the CreatedAt field.

func (*VrfMetalGateway) SetCreatedBy ¶

func (o *VrfMetalGateway) SetCreatedBy(v Href)

SetCreatedBy gets a reference to the given Href and assigns it to the CreatedBy field.

func (*VrfMetalGateway) SetHref ¶

func (o *VrfMetalGateway) SetHref(v string)

SetHref gets a reference to the given string and assigns it to the Href field.

func (*VrfMetalGateway) SetId ¶

func (o *VrfMetalGateway) SetId(v string)

SetId gets a reference to the given string and assigns it to the Id field.

func (*VrfMetalGateway) SetIpReservation ¶

func (o *VrfMetalGateway) SetIpReservation(v VrfIpReservation)

SetIpReservation gets a reference to the given VrfIpReservation and assigns it to the IpReservation field.

func (*VrfMetalGateway) SetProject ¶

func (o *VrfMetalGateway) SetProject(v Project)

SetProject gets a reference to the given Project and assigns it to the Project field.

func (*VrfMetalGateway) SetState ¶

func (o *VrfMetalGateway) SetState(v MetalGatewayState)

SetState gets a reference to the given MetalGatewayState and assigns it to the State field.

func (*VrfMetalGateway) SetUpdatedAt ¶

func (o *VrfMetalGateway) SetUpdatedAt(v time.Time)

SetUpdatedAt gets a reference to the given time.Time and assigns it to the UpdatedAt field.

func (*VrfMetalGateway) SetVirtualNetwork ¶

func (o *VrfMetalGateway) SetVirtualNetwork(v VirtualNetwork)

SetVirtualNetwork gets a reference to the given VirtualNetwork and assigns it to the VirtualNetwork field.

func (*VrfMetalGateway) SetVrf ¶

func (o *VrfMetalGateway) SetVrf(v Vrf)

SetVrf gets a reference to the given Vrf and assigns it to the Vrf field.

func (VrfMetalGateway) ToMap ¶ added in v0.4.0

func (o VrfMetalGateway) ToMap() (map[string]interface{}, error)

func (*VrfMetalGateway) UnmarshalJSON ¶ added in v0.7.0

func (o *VrfMetalGateway) UnmarshalJSON(bytes []byte) (err error)

type VrfMetalGatewayCreateInput ¶

type VrfMetalGatewayCreateInput struct {
	// The UUID an a VRF IP Reservation that belongs to the same project as the one in which the Metal Gateway is to be created. Additionally, the VRF IP Reservation and the Virtual Network must reside in the same Metro.
	IpReservationId string `json:"ip_reservation_id"`
	// THe UUID of a Metro Virtual Network that belongs to the same project as the one in which the Metal Gateway is to be created. Additionally, the Virtual Network and the VRF IP Reservation must reside in the same metro.
	VirtualNetworkId     string `json:"virtual_network_id"`
	AdditionalProperties map[string]interface{}
}

VrfMetalGatewayCreateInput struct for VrfMetalGatewayCreateInput

func NewVrfMetalGatewayCreateInput ¶

func NewVrfMetalGatewayCreateInput(ipReservationId string, virtualNetworkId string) *VrfMetalGatewayCreateInput

NewVrfMetalGatewayCreateInput instantiates a new VrfMetalGatewayCreateInput object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewVrfMetalGatewayCreateInputWithDefaults ¶

func NewVrfMetalGatewayCreateInputWithDefaults() *VrfMetalGatewayCreateInput

NewVrfMetalGatewayCreateInputWithDefaults instantiates a new VrfMetalGatewayCreateInput object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*VrfMetalGatewayCreateInput) GetIpReservationId ¶

func (o *VrfMetalGatewayCreateInput) GetIpReservationId() string

GetIpReservationId returns the IpReservationId field value

func (*VrfMetalGatewayCreateInput) GetIpReservationIdOk ¶

func (o *VrfMetalGatewayCreateInput) GetIpReservationIdOk() (*string, bool)

GetIpReservationIdOk returns a tuple with the IpReservationId field value and a boolean to check if the value has been set.

func (*VrfMetalGatewayCreateInput) GetVirtualNetworkId ¶

func (o *VrfMetalGatewayCreateInput) GetVirtualNetworkId() string

GetVirtualNetworkId returns the VirtualNetworkId field value

func (*VrfMetalGatewayCreateInput) GetVirtualNetworkIdOk ¶

func (o *VrfMetalGatewayCreateInput) GetVirtualNetworkIdOk() (*string, bool)

GetVirtualNetworkIdOk returns a tuple with the VirtualNetworkId field value and a boolean to check if the value has been set.

func (VrfMetalGatewayCreateInput) MarshalJSON ¶

func (o VrfMetalGatewayCreateInput) MarshalJSON() ([]byte, error)

func (*VrfMetalGatewayCreateInput) SetIpReservationId ¶

func (o *VrfMetalGatewayCreateInput) SetIpReservationId(v string)

SetIpReservationId sets field value

func (*VrfMetalGatewayCreateInput) SetVirtualNetworkId ¶

func (o *VrfMetalGatewayCreateInput) SetVirtualNetworkId(v string)

SetVirtualNetworkId sets field value

func (VrfMetalGatewayCreateInput) ToMap ¶ added in v0.4.0

func (o VrfMetalGatewayCreateInput) ToMap() (map[string]interface{}, error)

func (*VrfMetalGatewayCreateInput) UnmarshalJSON ¶ added in v0.7.0

func (o *VrfMetalGatewayCreateInput) UnmarshalJSON(bytes []byte) (err error)

type VrfRoute ¶ added in v0.5.0

type VrfRoute struct {
	// The unique identifier for the newly-created resource
	Id     *string         `json:"id,omitempty"`
	Status *VrfRouteStatus `json:"status,omitempty"`
	// The IPv4 prefix for the route, in CIDR-style notation
	Prefix *string `json:"prefix,omitempty"`
	// The next-hop IPv4 address for the route
	NextHop              *string          `json:"next_hop,omitempty"`
	Type                 *VrfRouteType    `json:"type,omitempty"`
	CreatedAt            *time.Time       `json:"created_at,omitempty"`
	UpdatedAt            *time.Time       `json:"updated_at,omitempty"`
	MetalGateway         *VrfMetalGateway `json:"metal_gateway,omitempty"`
	VirtualNetwork       *VirtualNetwork  `json:"virtual_network,omitempty"`
	Vrf                  *Vrf             `json:"vrf,omitempty"`
	Href                 *string          `json:"href,omitempty"`
	Tags                 []string         `json:"tags,omitempty"`
	AdditionalProperties map[string]interface{}
}

VrfRoute struct for VrfRoute

func NewVrfRoute ¶ added in v0.5.0

func NewVrfRoute() *VrfRoute

NewVrfRoute instantiates a new VrfRoute object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewVrfRouteWithDefaults ¶ added in v0.5.0

func NewVrfRouteWithDefaults() *VrfRoute

NewVrfRouteWithDefaults instantiates a new VrfRoute object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*VrfRoute) GetCreatedAt ¶ added in v0.5.0

func (o *VrfRoute) GetCreatedAt() time.Time

GetCreatedAt returns the CreatedAt field value if set, zero value otherwise.

func (*VrfRoute) GetCreatedAtOk ¶ added in v0.5.0

func (o *VrfRoute) GetCreatedAtOk() (*time.Time, bool)

GetCreatedAtOk returns a tuple with the CreatedAt field value if set, nil otherwise and a boolean to check if the value has been set.

func (*VrfRoute) GetHref ¶ added in v0.5.0

func (o *VrfRoute) GetHref() string

GetHref returns the Href field value if set, zero value otherwise.

func (*VrfRoute) GetHrefOk ¶ added in v0.5.0

func (o *VrfRoute) GetHrefOk() (*string, bool)

GetHrefOk returns a tuple with the Href field value if set, nil otherwise and a boolean to check if the value has been set.

func (*VrfRoute) GetId ¶ added in v0.5.0

func (o *VrfRoute) GetId() string

GetId returns the Id field value if set, zero value otherwise.

func (*VrfRoute) GetIdOk ¶ added in v0.5.0

func (o *VrfRoute) GetIdOk() (*string, bool)

GetIdOk returns a tuple with the Id field value if set, nil otherwise and a boolean to check if the value has been set.

func (*VrfRoute) GetMetalGateway ¶ added in v0.5.0

func (o *VrfRoute) GetMetalGateway() VrfMetalGateway

GetMetalGateway returns the MetalGateway field value if set, zero value otherwise.

func (*VrfRoute) GetMetalGatewayOk ¶ added in v0.5.0

func (o *VrfRoute) GetMetalGatewayOk() (*VrfMetalGateway, bool)

GetMetalGatewayOk returns a tuple with the MetalGateway field value if set, nil otherwise and a boolean to check if the value has been set.

func (*VrfRoute) GetNextHop ¶ added in v0.5.0

func (o *VrfRoute) GetNextHop() string

GetNextHop returns the NextHop field value if set, zero value otherwise.

func (*VrfRoute) GetNextHopOk ¶ added in v0.5.0

func (o *VrfRoute) GetNextHopOk() (*string, bool)

GetNextHopOk returns a tuple with the NextHop field value if set, nil otherwise and a boolean to check if the value has been set.

func (*VrfRoute) GetPrefix ¶ added in v0.5.0

func (o *VrfRoute) GetPrefix() string

GetPrefix returns the Prefix field value if set, zero value otherwise.

func (*VrfRoute) GetPrefixOk ¶ added in v0.5.0

func (o *VrfRoute) GetPrefixOk() (*string, bool)

GetPrefixOk returns a tuple with the Prefix field value if set, nil otherwise and a boolean to check if the value has been set.

func (*VrfRoute) GetStatus ¶ added in v0.5.0

func (o *VrfRoute) GetStatus() VrfRouteStatus

GetStatus returns the Status field value if set, zero value otherwise.

func (*VrfRoute) GetStatusOk ¶ added in v0.5.0

func (o *VrfRoute) GetStatusOk() (*VrfRouteStatus, bool)

GetStatusOk returns a tuple with the Status field value if set, nil otherwise and a boolean to check if the value has been set.

func (*VrfRoute) GetTags ¶ added in v0.17.0

func (o *VrfRoute) GetTags() []string

GetTags returns the Tags field value if set, zero value otherwise.

func (*VrfRoute) GetTagsOk ¶ added in v0.17.0

func (o *VrfRoute) GetTagsOk() ([]string, bool)

GetTagsOk returns a tuple with the Tags field value if set, nil otherwise and a boolean to check if the value has been set.

func (*VrfRoute) GetType ¶ added in v0.5.0

func (o *VrfRoute) GetType() VrfRouteType

GetType returns the Type field value if set, zero value otherwise.

func (*VrfRoute) GetTypeOk ¶ added in v0.5.0

func (o *VrfRoute) GetTypeOk() (*VrfRouteType, bool)

GetTypeOk returns a tuple with the Type field value if set, nil otherwise and a boolean to check if the value has been set.

func (*VrfRoute) GetUpdatedAt ¶ added in v0.5.0

func (o *VrfRoute) GetUpdatedAt() time.Time

GetUpdatedAt returns the UpdatedAt field value if set, zero value otherwise.

func (*VrfRoute) GetUpdatedAtOk ¶ added in v0.5.0

func (o *VrfRoute) GetUpdatedAtOk() (*time.Time, bool)

GetUpdatedAtOk returns a tuple with the UpdatedAt field value if set, nil otherwise and a boolean to check if the value has been set.

func (*VrfRoute) GetVirtualNetwork ¶ added in v0.5.0

func (o *VrfRoute) GetVirtualNetwork() VirtualNetwork

GetVirtualNetwork returns the VirtualNetwork field value if set, zero value otherwise.

func (*VrfRoute) GetVirtualNetworkOk ¶ added in v0.5.0

func (o *VrfRoute) GetVirtualNetworkOk() (*VirtualNetwork, bool)

GetVirtualNetworkOk returns a tuple with the VirtualNetwork field value if set, nil otherwise and a boolean to check if the value has been set.

func (*VrfRoute) GetVrf ¶ added in v0.5.0

func (o *VrfRoute) GetVrf() Vrf

GetVrf returns the Vrf field value if set, zero value otherwise.

func (*VrfRoute) GetVrfOk ¶ added in v0.5.0

func (o *VrfRoute) GetVrfOk() (*Vrf, bool)

GetVrfOk returns a tuple with the Vrf field value if set, nil otherwise and a boolean to check if the value has been set.

func (*VrfRoute) HasCreatedAt ¶ added in v0.5.0

func (o *VrfRoute) HasCreatedAt() bool

HasCreatedAt returns a boolean if a field has been set.

func (*VrfRoute) HasHref ¶ added in v0.5.0

func (o *VrfRoute) HasHref() bool

HasHref returns a boolean if a field has been set.

func (*VrfRoute) HasId ¶ added in v0.5.0

func (o *VrfRoute) HasId() bool

HasId returns a boolean if a field has been set.

func (*VrfRoute) HasMetalGateway ¶ added in v0.5.0

func (o *VrfRoute) HasMetalGateway() bool

HasMetalGateway returns a boolean if a field has been set.

func (*VrfRoute) HasNextHop ¶ added in v0.5.0

func (o *VrfRoute) HasNextHop() bool

HasNextHop returns a boolean if a field has been set.

func (*VrfRoute) HasPrefix ¶ added in v0.5.0

func (o *VrfRoute) HasPrefix() bool

HasPrefix returns a boolean if a field has been set.

func (*VrfRoute) HasStatus ¶ added in v0.5.0

func (o *VrfRoute) HasStatus() bool

HasStatus returns a boolean if a field has been set.

func (*VrfRoute) HasTags ¶ added in v0.17.0

func (o *VrfRoute) HasTags() bool

HasTags returns a boolean if a field has been set.

func (*VrfRoute) HasType ¶ added in v0.5.0

func (o *VrfRoute) HasType() bool

HasType returns a boolean if a field has been set.

func (*VrfRoute) HasUpdatedAt ¶ added in v0.5.0

func (o *VrfRoute) HasUpdatedAt() bool

HasUpdatedAt returns a boolean if a field has been set.

func (*VrfRoute) HasVirtualNetwork ¶ added in v0.5.0

func (o *VrfRoute) HasVirtualNetwork() bool

HasVirtualNetwork returns a boolean if a field has been set.

func (*VrfRoute) HasVrf ¶ added in v0.5.0

func (o *VrfRoute) HasVrf() bool

HasVrf returns a boolean if a field has been set.

func (VrfRoute) MarshalJSON ¶ added in v0.5.0

func (o VrfRoute) MarshalJSON() ([]byte, error)

func (*VrfRoute) SetCreatedAt ¶ added in v0.5.0

func (o *VrfRoute) SetCreatedAt(v time.Time)

SetCreatedAt gets a reference to the given time.Time and assigns it to the CreatedAt field.

func (*VrfRoute) SetHref ¶ added in v0.5.0

func (o *VrfRoute) SetHref(v string)

SetHref gets a reference to the given string and assigns it to the Href field.

func (*VrfRoute) SetId ¶ added in v0.5.0

func (o *VrfRoute) SetId(v string)

SetId gets a reference to the given string and assigns it to the Id field.

func (*VrfRoute) SetMetalGateway ¶ added in v0.5.0

func (o *VrfRoute) SetMetalGateway(v VrfMetalGateway)

SetMetalGateway gets a reference to the given VrfMetalGateway and assigns it to the MetalGateway field.

func (*VrfRoute) SetNextHop ¶ added in v0.5.0

func (o *VrfRoute) SetNextHop(v string)

SetNextHop gets a reference to the given string and assigns it to the NextHop field.

func (*VrfRoute) SetPrefix ¶ added in v0.5.0

func (o *VrfRoute) SetPrefix(v string)

SetPrefix gets a reference to the given string and assigns it to the Prefix field.

func (*VrfRoute) SetStatus ¶ added in v0.5.0

func (o *VrfRoute) SetStatus(v VrfRouteStatus)

SetStatus gets a reference to the given VrfRouteStatus and assigns it to the Status field.

func (*VrfRoute) SetTags ¶ added in v0.17.0

func (o *VrfRoute) SetTags(v []string)

SetTags gets a reference to the given []string and assigns it to the Tags field.

func (*VrfRoute) SetType ¶ added in v0.5.0

func (o *VrfRoute) SetType(v VrfRouteType)

SetType gets a reference to the given VrfRouteType and assigns it to the Type field.

func (*VrfRoute) SetUpdatedAt ¶ added in v0.5.0

func (o *VrfRoute) SetUpdatedAt(v time.Time)

SetUpdatedAt gets a reference to the given time.Time and assigns it to the UpdatedAt field.

func (*VrfRoute) SetVirtualNetwork ¶ added in v0.5.0

func (o *VrfRoute) SetVirtualNetwork(v VirtualNetwork)

SetVirtualNetwork gets a reference to the given VirtualNetwork and assigns it to the VirtualNetwork field.

func (*VrfRoute) SetVrf ¶ added in v0.5.0

func (o *VrfRoute) SetVrf(v Vrf)

SetVrf gets a reference to the given Vrf and assigns it to the Vrf field.

func (VrfRoute) ToMap ¶ added in v0.5.0

func (o VrfRoute) ToMap() (map[string]interface{}, error)

func (*VrfRoute) UnmarshalJSON ¶ added in v0.7.0

func (o *VrfRoute) UnmarshalJSON(bytes []byte) (err error)

type VrfRouteCreateInput ¶ added in v0.5.0

type VrfRouteCreateInput struct {
	// The IPv4 prefix for the route, in CIDR-style notation. For a static default route, this will always be \"0.0.0.0/0\"
	Prefix string `json:"prefix"`
	// The IPv4 address within the VRF of the host that will handle this route
	NextHop              string   `json:"next_hop"`
	Tags                 []string `json:"tags,omitempty"`
	AdditionalProperties map[string]interface{}
}

VrfRouteCreateInput struct for VrfRouteCreateInput

func NewVrfRouteCreateInput ¶ added in v0.5.0

func NewVrfRouteCreateInput(prefix string, nextHop string) *VrfRouteCreateInput

NewVrfRouteCreateInput instantiates a new VrfRouteCreateInput object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewVrfRouteCreateInputWithDefaults ¶ added in v0.5.0

func NewVrfRouteCreateInputWithDefaults() *VrfRouteCreateInput

NewVrfRouteCreateInputWithDefaults instantiates a new VrfRouteCreateInput object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*VrfRouteCreateInput) GetNextHop ¶ added in v0.5.0

func (o *VrfRouteCreateInput) GetNextHop() string

GetNextHop returns the NextHop field value

func (*VrfRouteCreateInput) GetNextHopOk ¶ added in v0.5.0

func (o *VrfRouteCreateInput) GetNextHopOk() (*string, bool)

GetNextHopOk returns a tuple with the NextHop field value and a boolean to check if the value has been set.

func (*VrfRouteCreateInput) GetPrefix ¶ added in v0.5.0

func (o *VrfRouteCreateInput) GetPrefix() string

GetPrefix returns the Prefix field value

func (*VrfRouteCreateInput) GetPrefixOk ¶ added in v0.5.0

func (o *VrfRouteCreateInput) GetPrefixOk() (*string, bool)

GetPrefixOk returns a tuple with the Prefix field value and a boolean to check if the value has been set.

func (*VrfRouteCreateInput) GetTags ¶ added in v0.17.0

func (o *VrfRouteCreateInput) GetTags() []string

GetTags returns the Tags field value if set, zero value otherwise.

func (*VrfRouteCreateInput) GetTagsOk ¶ added in v0.17.0

func (o *VrfRouteCreateInput) GetTagsOk() ([]string, bool)

GetTagsOk returns a tuple with the Tags field value if set, nil otherwise and a boolean to check if the value has been set.

func (*VrfRouteCreateInput) HasTags ¶ added in v0.17.0

func (o *VrfRouteCreateInput) HasTags() bool

HasTags returns a boolean if a field has been set.

func (VrfRouteCreateInput) MarshalJSON ¶ added in v0.5.0

func (o VrfRouteCreateInput) MarshalJSON() ([]byte, error)

func (*VrfRouteCreateInput) SetNextHop ¶ added in v0.5.0

func (o *VrfRouteCreateInput) SetNextHop(v string)

SetNextHop sets field value

func (*VrfRouteCreateInput) SetPrefix ¶ added in v0.5.0

func (o *VrfRouteCreateInput) SetPrefix(v string)

SetPrefix sets field value

func (*VrfRouteCreateInput) SetTags ¶ added in v0.17.0

func (o *VrfRouteCreateInput) SetTags(v []string)

SetTags gets a reference to the given []string and assigns it to the Tags field.

func (VrfRouteCreateInput) ToMap ¶ added in v0.5.0

func (o VrfRouteCreateInput) ToMap() (map[string]interface{}, error)

func (*VrfRouteCreateInput) UnmarshalJSON ¶ added in v0.7.0

func (o *VrfRouteCreateInput) UnmarshalJSON(bytes []byte) (err error)

type VrfRouteList ¶ added in v0.5.0

type VrfRouteList struct {
	Routes               []VrfRoute `json:"routes,omitempty"`
	Meta                 *Meta      `json:"meta,omitempty"`
	AdditionalProperties map[string]interface{}
}

VrfRouteList struct for VrfRouteList

func NewVrfRouteList ¶ added in v0.5.0

func NewVrfRouteList() *VrfRouteList

NewVrfRouteList instantiates a new VrfRouteList object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewVrfRouteListWithDefaults ¶ added in v0.5.0

func NewVrfRouteListWithDefaults() *VrfRouteList

NewVrfRouteListWithDefaults instantiates a new VrfRouteList object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*VrfRouteList) GetMeta ¶ added in v0.5.0

func (o *VrfRouteList) GetMeta() Meta

GetMeta returns the Meta field value if set, zero value otherwise.

func (*VrfRouteList) GetMetaOk ¶ added in v0.5.0

func (o *VrfRouteList) GetMetaOk() (*Meta, bool)

GetMetaOk returns a tuple with the Meta field value if set, nil otherwise and a boolean to check if the value has been set.

func (*VrfRouteList) GetRoutes ¶ added in v0.5.0

func (o *VrfRouteList) GetRoutes() []VrfRoute

GetRoutes returns the Routes field value if set, zero value otherwise.

func (*VrfRouteList) GetRoutesOk ¶ added in v0.5.0

func (o *VrfRouteList) GetRoutesOk() ([]VrfRoute, bool)

GetRoutesOk returns a tuple with the Routes field value if set, nil otherwise and a boolean to check if the value has been set.

func (*VrfRouteList) HasMeta ¶ added in v0.5.0

func (o *VrfRouteList) HasMeta() bool

HasMeta returns a boolean if a field has been set.

func (*VrfRouteList) HasRoutes ¶ added in v0.5.0

func (o *VrfRouteList) HasRoutes() bool

HasRoutes returns a boolean if a field has been set.

func (VrfRouteList) MarshalJSON ¶ added in v0.5.0

func (o VrfRouteList) MarshalJSON() ([]byte, error)

func (*VrfRouteList) SetMeta ¶ added in v0.5.0

func (o *VrfRouteList) SetMeta(v Meta)

SetMeta gets a reference to the given Meta and assigns it to the Meta field.

func (*VrfRouteList) SetRoutes ¶ added in v0.5.0

func (o *VrfRouteList) SetRoutes(v []VrfRoute)

SetRoutes gets a reference to the given []VrfRoute and assigns it to the Routes field.

func (VrfRouteList) ToMap ¶ added in v0.5.0

func (o VrfRouteList) ToMap() (map[string]interface{}, error)

func (*VrfRouteList) UnmarshalJSON ¶ added in v0.7.0

func (o *VrfRouteList) UnmarshalJSON(bytes []byte) (err error)

type VrfRouteStatus ¶ added in v0.22.0

type VrfRouteStatus string

VrfRouteStatus The status of the route. Potential values are \"pending\", \"active\", \"deleting\", and \"error\", representing various lifecycle states of the route and whether or not it has been successfully configured on the network

const (
	VRFROUTESTATUS_PENDING  VrfRouteStatus = "pending"
	VRFROUTESTATUS_ACTIVE   VrfRouteStatus = "active"
	VRFROUTESTATUS_DELETING VrfRouteStatus = "deleting"
	VRFROUTESTATUS_ERROR    VrfRouteStatus = "error"
)

List of VrfRoute_status

func NewVrfRouteStatusFromValue ¶ added in v0.22.0

func NewVrfRouteStatusFromValue(v string) (*VrfRouteStatus, error)

NewVrfRouteStatusFromValue returns a pointer to a valid VrfRouteStatus for the value passed as argument, or an error if the value passed is not allowed by the enum

func (VrfRouteStatus) IsValid ¶ added in v0.22.0

func (v VrfRouteStatus) IsValid() bool

IsValid return true if the value is valid for the enum, false otherwise

func (VrfRouteStatus) Ptr ¶ added in v0.22.0

func (v VrfRouteStatus) Ptr() *VrfRouteStatus

Ptr returns reference to VrfRoute_status value

func (*VrfRouteStatus) UnmarshalJSON ¶ added in v0.22.0

func (v *VrfRouteStatus) UnmarshalJSON(src []byte) error

type VrfRouteType ¶ added in v0.22.0

type VrfRouteType string

VrfRouteType VRF route type, like 'bgp', 'connected', and 'static'. Currently, only static routes are supported

const (
	VRFROUTETYPE_STATIC VrfRouteType = "static"
)

List of VrfRoute_type

func NewVrfRouteTypeFromValue ¶ added in v0.22.0

func NewVrfRouteTypeFromValue(v string) (*VrfRouteType, error)

NewVrfRouteTypeFromValue returns a pointer to a valid VrfRouteType for the value passed as argument, or an error if the value passed is not allowed by the enum

func (VrfRouteType) IsValid ¶ added in v0.22.0

func (v VrfRouteType) IsValid() bool

IsValid return true if the value is valid for the enum, false otherwise

func (VrfRouteType) Ptr ¶ added in v0.22.0

func (v VrfRouteType) Ptr() *VrfRouteType

Ptr returns reference to VrfRoute_type value

func (*VrfRouteType) UnmarshalJSON ¶ added in v0.22.0

func (v *VrfRouteType) UnmarshalJSON(src []byte) error

type VrfRouteUpdateInput ¶ added in v0.9.0

type VrfRouteUpdateInput struct {
	// The IPv4 prefix for the route, in CIDR-style notation. For a static default route, this will always be \"0.0.0.0/0\"
	Prefix *string `json:"prefix,omitempty"`
	// The IPv4 address within the VRF of the host that will handle this route
	NextHop              *string  `json:"next_hop,omitempty"`
	Tags                 []string `json:"tags,omitempty"`
	AdditionalProperties map[string]interface{}
}

VrfRouteUpdateInput struct for VrfRouteUpdateInput

func NewVrfRouteUpdateInput ¶ added in v0.9.0

func NewVrfRouteUpdateInput() *VrfRouteUpdateInput

NewVrfRouteUpdateInput instantiates a new VrfRouteUpdateInput object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewVrfRouteUpdateInputWithDefaults ¶ added in v0.9.0

func NewVrfRouteUpdateInputWithDefaults() *VrfRouteUpdateInput

NewVrfRouteUpdateInputWithDefaults instantiates a new VrfRouteUpdateInput object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*VrfRouteUpdateInput) GetNextHop ¶ added in v0.9.0

func (o *VrfRouteUpdateInput) GetNextHop() string

GetNextHop returns the NextHop field value if set, zero value otherwise.

func (*VrfRouteUpdateInput) GetNextHopOk ¶ added in v0.9.0

func (o *VrfRouteUpdateInput) GetNextHopOk() (*string, bool)

GetNextHopOk returns a tuple with the NextHop field value if set, nil otherwise and a boolean to check if the value has been set.

func (*VrfRouteUpdateInput) GetPrefix ¶ added in v0.9.0

func (o *VrfRouteUpdateInput) GetPrefix() string

GetPrefix returns the Prefix field value if set, zero value otherwise.

func (*VrfRouteUpdateInput) GetPrefixOk ¶ added in v0.9.0

func (o *VrfRouteUpdateInput) GetPrefixOk() (*string, bool)

GetPrefixOk returns a tuple with the Prefix field value if set, nil otherwise and a boolean to check if the value has been set.

func (*VrfRouteUpdateInput) GetTags ¶ added in v0.17.0

func (o *VrfRouteUpdateInput) GetTags() []string

GetTags returns the Tags field value if set, zero value otherwise.

func (*VrfRouteUpdateInput) GetTagsOk ¶ added in v0.17.0

func (o *VrfRouteUpdateInput) GetTagsOk() ([]string, bool)

GetTagsOk returns a tuple with the Tags field value if set, nil otherwise and a boolean to check if the value has been set.

func (*VrfRouteUpdateInput) HasNextHop ¶ added in v0.9.0

func (o *VrfRouteUpdateInput) HasNextHop() bool

HasNextHop returns a boolean if a field has been set.

func (*VrfRouteUpdateInput) HasPrefix ¶ added in v0.9.0

func (o *VrfRouteUpdateInput) HasPrefix() bool

HasPrefix returns a boolean if a field has been set.

func (*VrfRouteUpdateInput) HasTags ¶ added in v0.17.0

func (o *VrfRouteUpdateInput) HasTags() bool

HasTags returns a boolean if a field has been set.

func (VrfRouteUpdateInput) MarshalJSON ¶ added in v0.9.0

func (o VrfRouteUpdateInput) MarshalJSON() ([]byte, error)

func (*VrfRouteUpdateInput) SetNextHop ¶ added in v0.9.0

func (o *VrfRouteUpdateInput) SetNextHop(v string)

SetNextHop gets a reference to the given string and assigns it to the NextHop field.

func (*VrfRouteUpdateInput) SetPrefix ¶ added in v0.9.0

func (o *VrfRouteUpdateInput) SetPrefix(v string)

SetPrefix gets a reference to the given string and assigns it to the Prefix field.

func (*VrfRouteUpdateInput) SetTags ¶ added in v0.17.0

func (o *VrfRouteUpdateInput) SetTags(v []string)

SetTags gets a reference to the given []string and assigns it to the Tags field.

func (VrfRouteUpdateInput) ToMap ¶ added in v0.9.0

func (o VrfRouteUpdateInput) ToMap() (map[string]interface{}, error)

func (*VrfRouteUpdateInput) UnmarshalJSON ¶ added in v0.9.0

func (o *VrfRouteUpdateInput) UnmarshalJSON(bytes []byte) (err error)

type VrfUpdateInput ¶

type VrfUpdateInput struct {
	// Toggle to enable the dynamic bgp neighbors feature on the VRF
	BgpDynamicNeighborsEnabled *bool `json:"bgp_dynamic_neighbors_enabled,omitempty"`
	// Toggle to export the VRF route-map to the dynamic bgp neighbors
	BgpDynamicNeighborsExportRouteMap *bool `json:"bgp_dynamic_neighbors_export_route_map,omitempty"`
	// Toggle BFD on dynamic bgp neighbors sessions
	BgpDynamicNeighborsBfdEnabled *bool   `json:"bgp_dynamic_neighbors_bfd_enabled,omitempty"`
	Description                   *string `json:"description,omitempty"`
	// A list of CIDR network addresses. Like [\"10.0.0.0/16\", \"2001:d78::/56\"]. IPv4 blocks must be between /8 and /29 in size. IPv6 blocks must be between /56 and /64. A VRF\\'s IP ranges must be defined in order to create VRF IP Reservations, which can then be used for Metal Gateways or Virtual Circuits. Adding a new CIDR address to the list will result in the creation of a new IP Range for this VRF. Removal of an existing CIDR address from the list will result in the deletion of an existing IP Range for this VRF. Deleting an IP Range will result in the deletion of any VRF IP Reservations contained within the IP Range, as well as the VRF IP Reservation\\'s associated Metal Gateways or Virtual Circuits. If you do not wish to add or remove IP Ranges, either include the full existing list of IP Ranges in the update request, or do not specify the `ip_ranges` field in the update request. Specifying a value of `[]` will remove all existing IP Ranges from the VRF.
	IpRanges []string `json:"ip_ranges,omitempty"`
	// The new `local_asn` value for the VRF. This field cannot be updated when there are active Interconnection Virtual Circuits associated to the VRF, or if any of the VLANs of the VRF's metal gateway has been assigned on an instance.
	LocalAsn             *int32   `json:"local_asn,omitempty"`
	Name                 *string  `json:"name,omitempty"`
	Tags                 []string `json:"tags,omitempty"`
	AdditionalProperties map[string]interface{}
}

VrfUpdateInput struct for VrfUpdateInput

func NewVrfUpdateInput ¶

func NewVrfUpdateInput() *VrfUpdateInput

NewVrfUpdateInput instantiates a new VrfUpdateInput object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewVrfUpdateInputWithDefaults ¶

func NewVrfUpdateInputWithDefaults() *VrfUpdateInput

NewVrfUpdateInputWithDefaults instantiates a new VrfUpdateInput object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*VrfUpdateInput) GetBgpDynamicNeighborsBfdEnabled ¶ added in v0.8.0

func (o *VrfUpdateInput) GetBgpDynamicNeighborsBfdEnabled() bool

GetBgpDynamicNeighborsBfdEnabled returns the BgpDynamicNeighborsBfdEnabled field value if set, zero value otherwise.

func (*VrfUpdateInput) GetBgpDynamicNeighborsBfdEnabledOk ¶ added in v0.8.0

func (o *VrfUpdateInput) GetBgpDynamicNeighborsBfdEnabledOk() (*bool, bool)

GetBgpDynamicNeighborsBfdEnabledOk returns a tuple with the BgpDynamicNeighborsBfdEnabled field value if set, nil otherwise and a boolean to check if the value has been set.

func (*VrfUpdateInput) GetBgpDynamicNeighborsEnabled ¶ added in v0.7.0

func (o *VrfUpdateInput) GetBgpDynamicNeighborsEnabled() bool

GetBgpDynamicNeighborsEnabled returns the BgpDynamicNeighborsEnabled field value if set, zero value otherwise.

func (*VrfUpdateInput) GetBgpDynamicNeighborsEnabledOk ¶ added in v0.7.0

func (o *VrfUpdateInput) GetBgpDynamicNeighborsEnabledOk() (*bool, bool)

GetBgpDynamicNeighborsEnabledOk returns a tuple with the BgpDynamicNeighborsEnabled field value if set, nil otherwise and a boolean to check if the value has been set.

func (*VrfUpdateInput) GetBgpDynamicNeighborsExportRouteMap ¶ added in v0.7.0

func (o *VrfUpdateInput) GetBgpDynamicNeighborsExportRouteMap() bool

GetBgpDynamicNeighborsExportRouteMap returns the BgpDynamicNeighborsExportRouteMap field value if set, zero value otherwise.

func (*VrfUpdateInput) GetBgpDynamicNeighborsExportRouteMapOk ¶ added in v0.7.0

func (o *VrfUpdateInput) GetBgpDynamicNeighborsExportRouteMapOk() (*bool, bool)

GetBgpDynamicNeighborsExportRouteMapOk returns a tuple with the BgpDynamicNeighborsExportRouteMap field value if set, nil otherwise and a boolean to check if the value has been set.

func (*VrfUpdateInput) GetDescription ¶

func (o *VrfUpdateInput) GetDescription() string

GetDescription returns the Description field value if set, zero value otherwise.

func (*VrfUpdateInput) GetDescriptionOk ¶

func (o *VrfUpdateInput) GetDescriptionOk() (*string, bool)

GetDescriptionOk returns a tuple with the Description field value if set, nil otherwise and a boolean to check if the value has been set.

func (*VrfUpdateInput) GetIpRanges ¶

func (o *VrfUpdateInput) GetIpRanges() []string

GetIpRanges returns the IpRanges field value if set, zero value otherwise.

func (*VrfUpdateInput) GetIpRangesOk ¶

func (o *VrfUpdateInput) GetIpRangesOk() ([]string, bool)

GetIpRangesOk returns a tuple with the IpRanges field value if set, nil otherwise and a boolean to check if the value has been set.

func (*VrfUpdateInput) GetLocalAsn ¶

func (o *VrfUpdateInput) GetLocalAsn() int32

GetLocalAsn returns the LocalAsn field value if set, zero value otherwise.

func (*VrfUpdateInput) GetLocalAsnOk ¶

func (o *VrfUpdateInput) GetLocalAsnOk() (*int32, bool)

GetLocalAsnOk returns a tuple with the LocalAsn field value if set, nil otherwise and a boolean to check if the value has been set.

func (*VrfUpdateInput) GetName ¶

func (o *VrfUpdateInput) GetName() string

GetName returns the Name field value if set, zero value otherwise.

func (*VrfUpdateInput) GetNameOk ¶

func (o *VrfUpdateInput) GetNameOk() (*string, bool)

GetNameOk returns a tuple with the Name field value if set, nil otherwise and a boolean to check if the value has been set.

func (*VrfUpdateInput) GetTags ¶ added in v0.17.0

func (o *VrfUpdateInput) GetTags() []string

GetTags returns the Tags field value if set, zero value otherwise.

func (*VrfUpdateInput) GetTagsOk ¶ added in v0.17.0

func (o *VrfUpdateInput) GetTagsOk() ([]string, bool)

GetTagsOk returns a tuple with the Tags field value if set, nil otherwise and a boolean to check if the value has been set.

func (*VrfUpdateInput) HasBgpDynamicNeighborsBfdEnabled ¶ added in v0.8.0

func (o *VrfUpdateInput) HasBgpDynamicNeighborsBfdEnabled() bool

HasBgpDynamicNeighborsBfdEnabled returns a boolean if a field has been set.

func (*VrfUpdateInput) HasBgpDynamicNeighborsEnabled ¶ added in v0.7.0

func (o *VrfUpdateInput) HasBgpDynamicNeighborsEnabled() bool

HasBgpDynamicNeighborsEnabled returns a boolean if a field has been set.

func (*VrfUpdateInput) HasBgpDynamicNeighborsExportRouteMap ¶ added in v0.7.0

func (o *VrfUpdateInput) HasBgpDynamicNeighborsExportRouteMap() bool

HasBgpDynamicNeighborsExportRouteMap returns a boolean if a field has been set.

func (*VrfUpdateInput) HasDescription ¶

func (o *VrfUpdateInput) HasDescription() bool

HasDescription returns a boolean if a field has been set.

func (*VrfUpdateInput) HasIpRanges ¶

func (o *VrfUpdateInput) HasIpRanges() bool

HasIpRanges returns a boolean if a field has been set.

func (*VrfUpdateInput) HasLocalAsn ¶

func (o *VrfUpdateInput) HasLocalAsn() bool

HasLocalAsn returns a boolean if a field has been set.

func (*VrfUpdateInput) HasName ¶

func (o *VrfUpdateInput) HasName() bool

HasName returns a boolean if a field has been set.

func (*VrfUpdateInput) HasTags ¶ added in v0.17.0

func (o *VrfUpdateInput) HasTags() bool

HasTags returns a boolean if a field has been set.

func (VrfUpdateInput) MarshalJSON ¶

func (o VrfUpdateInput) MarshalJSON() ([]byte, error)

func (*VrfUpdateInput) SetBgpDynamicNeighborsBfdEnabled ¶ added in v0.8.0

func (o *VrfUpdateInput) SetBgpDynamicNeighborsBfdEnabled(v bool)

SetBgpDynamicNeighborsBfdEnabled gets a reference to the given bool and assigns it to the BgpDynamicNeighborsBfdEnabled field.

func (*VrfUpdateInput) SetBgpDynamicNeighborsEnabled ¶ added in v0.7.0

func (o *VrfUpdateInput) SetBgpDynamicNeighborsEnabled(v bool)

SetBgpDynamicNeighborsEnabled gets a reference to the given bool and assigns it to the BgpDynamicNeighborsEnabled field.

func (*VrfUpdateInput) SetBgpDynamicNeighborsExportRouteMap ¶ added in v0.7.0

func (o *VrfUpdateInput) SetBgpDynamicNeighborsExportRouteMap(v bool)

SetBgpDynamicNeighborsExportRouteMap gets a reference to the given bool and assigns it to the BgpDynamicNeighborsExportRouteMap field.

func (*VrfUpdateInput) SetDescription ¶

func (o *VrfUpdateInput) SetDescription(v string)

SetDescription gets a reference to the given string and assigns it to the Description field.

func (*VrfUpdateInput) SetIpRanges ¶

func (o *VrfUpdateInput) SetIpRanges(v []string)

SetIpRanges gets a reference to the given []string and assigns it to the IpRanges field.

func (*VrfUpdateInput) SetLocalAsn ¶

func (o *VrfUpdateInput) SetLocalAsn(v int32)

SetLocalAsn gets a reference to the given int32 and assigns it to the LocalAsn field.

func (*VrfUpdateInput) SetName ¶

func (o *VrfUpdateInput) SetName(v string)

SetName gets a reference to the given string and assigns it to the Name field.

func (*VrfUpdateInput) SetTags ¶ added in v0.17.0

func (o *VrfUpdateInput) SetTags(v []string)

SetTags gets a reference to the given []string and assigns it to the Tags field.

func (VrfUpdateInput) ToMap ¶ added in v0.4.0

func (o VrfUpdateInput) ToMap() (map[string]interface{}, error)

func (*VrfUpdateInput) UnmarshalJSON ¶ added in v0.7.0

func (o *VrfUpdateInput) UnmarshalJSON(bytes []byte) (err error)

type VrfVirtualCircuit ¶

type VrfVirtualCircuit struct {
	// An IP address from the subnet that will be used on the Customer side. This parameter is optional, but if supplied, we will use the other usable IP address in the subnet as the Metal IP. By default, the last usable IP address in the subnet will be used.
	CustomerIp  *string `json:"customer_ip,omitempty"`
	Description *string `json:"description,omitempty"`
	Id          *string `json:"id,omitempty"`
	// The MD5 password for the BGP peering in plaintext (not a checksum).
	Md5 *string `json:"md5,omitempty"`
	// An IP address from the subnet that will be used on the Metal side. This parameter is optional, but if supplied, we will use the other usable IP address in the subnet as the Customer IP. By default, the first usable IP address in the subnet will be used.
	MetalIp *string `json:"metal_ip,omitempty"`
	Name    *string `json:"name,omitempty"`
	Port    *Href   `json:"port,omitempty"`
	NniVlan *int32  `json:"nni_vlan,omitempty"`
	// The peer ASN that will be used with the VRF on the Virtual Circuit.
	PeerAsn *int32 `json:"peer_asn,omitempty"`
	Project *Href  `json:"project,omitempty"`
	// integer representing bps speed
	Speed  *int32                   `json:"speed,omitempty"`
	Status *VrfVirtualCircuitStatus `json:"status,omitempty"`
	// The /30 or /31 subnet of one of the VRF IP Blocks that will be used with the VRF for the Virtual Circuit. This subnet does not have to be an existing VRF IP reservation, as we will create the VRF IP reservation on creation if it does not exist. The Metal IP and Customer IP must be IPs from this subnet. For /30 subnets, the network and broadcast IPs cannot be used as the Metal or Customer IP.
	Subnet               *string               `json:"subnet,omitempty"`
	Tags                 []string              `json:"tags,omitempty"`
	Type                 *VrfIpReservationType `json:"type,omitempty"`
	Vrf                  Vrf                   `json:"vrf"`
	CreatedAt            *time.Time            `json:"created_at,omitempty"`
	UpdatedAt            *time.Time            `json:"updated_at,omitempty"`
	AdditionalProperties map[string]interface{}
}

VrfVirtualCircuit struct for VrfVirtualCircuit

func NewVrfVirtualCircuit ¶

func NewVrfVirtualCircuit(vrf Vrf) *VrfVirtualCircuit

NewVrfVirtualCircuit instantiates a new VrfVirtualCircuit object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewVrfVirtualCircuitWithDefaults ¶

func NewVrfVirtualCircuitWithDefaults() *VrfVirtualCircuit

NewVrfVirtualCircuitWithDefaults instantiates a new VrfVirtualCircuit object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*VrfVirtualCircuit) GetCreatedAt ¶ added in v0.5.0

func (o *VrfVirtualCircuit) GetCreatedAt() time.Time

GetCreatedAt returns the CreatedAt field value if set, zero value otherwise.

func (*VrfVirtualCircuit) GetCreatedAtOk ¶ added in v0.5.0

func (o *VrfVirtualCircuit) GetCreatedAtOk() (*time.Time, bool)

GetCreatedAtOk returns a tuple with the CreatedAt field value if set, nil otherwise and a boolean to check if the value has been set.

func (*VrfVirtualCircuit) GetCustomerIp ¶

func (o *VrfVirtualCircuit) GetCustomerIp() string

GetCustomerIp returns the CustomerIp field value if set, zero value otherwise.

func (*VrfVirtualCircuit) GetCustomerIpOk ¶

func (o *VrfVirtualCircuit) GetCustomerIpOk() (*string, bool)

GetCustomerIpOk returns a tuple with the CustomerIp field value if set, nil otherwise and a boolean to check if the value has been set.

func (*VrfVirtualCircuit) GetDescription ¶

func (o *VrfVirtualCircuit) GetDescription() string

GetDescription returns the Description field value if set, zero value otherwise.

func (*VrfVirtualCircuit) GetDescriptionOk ¶

func (o *VrfVirtualCircuit) GetDescriptionOk() (*string, bool)

GetDescriptionOk returns a tuple with the Description field value if set, nil otherwise and a boolean to check if the value has been set.

func (*VrfVirtualCircuit) GetId ¶

func (o *VrfVirtualCircuit) GetId() string

GetId returns the Id field value if set, zero value otherwise.

func (*VrfVirtualCircuit) GetIdOk ¶

func (o *VrfVirtualCircuit) GetIdOk() (*string, bool)

GetIdOk returns a tuple with the Id field value if set, nil otherwise and a boolean to check if the value has been set.

func (*VrfVirtualCircuit) GetMd5 ¶

func (o *VrfVirtualCircuit) GetMd5() string

GetMd5 returns the Md5 field value if set, zero value otherwise.

func (*VrfVirtualCircuit) GetMd5Ok ¶

func (o *VrfVirtualCircuit) GetMd5Ok() (*string, bool)

GetMd5Ok returns a tuple with the Md5 field value if set, nil otherwise and a boolean to check if the value has been set.

func (*VrfVirtualCircuit) GetMetalIp ¶

func (o *VrfVirtualCircuit) GetMetalIp() string

GetMetalIp returns the MetalIp field value if set, zero value otherwise.

func (*VrfVirtualCircuit) GetMetalIpOk ¶

func (o *VrfVirtualCircuit) GetMetalIpOk() (*string, bool)

GetMetalIpOk returns a tuple with the MetalIp field value if set, nil otherwise and a boolean to check if the value has been set.

func (*VrfVirtualCircuit) GetName ¶

func (o *VrfVirtualCircuit) GetName() string

GetName returns the Name field value if set, zero value otherwise.

func (*VrfVirtualCircuit) GetNameOk ¶

func (o *VrfVirtualCircuit) GetNameOk() (*string, bool)

GetNameOk returns a tuple with the Name field value if set, nil otherwise and a boolean to check if the value has been set.

func (*VrfVirtualCircuit) GetNniVlan ¶

func (o *VrfVirtualCircuit) GetNniVlan() int32

GetNniVlan returns the NniVlan field value if set, zero value otherwise.

func (*VrfVirtualCircuit) GetNniVlanOk ¶

func (o *VrfVirtualCircuit) GetNniVlanOk() (*int32, bool)

GetNniVlanOk returns a tuple with the NniVlan field value if set, nil otherwise and a boolean to check if the value has been set.

func (*VrfVirtualCircuit) GetPeerAsn ¶

func (o *VrfVirtualCircuit) GetPeerAsn() int32

GetPeerAsn returns the PeerAsn field value if set, zero value otherwise.

func (*VrfVirtualCircuit) GetPeerAsnOk ¶

func (o *VrfVirtualCircuit) GetPeerAsnOk() (*int32, bool)

GetPeerAsnOk returns a tuple with the PeerAsn field value if set, nil otherwise and a boolean to check if the value has been set.

func (*VrfVirtualCircuit) GetPort ¶

func (o *VrfVirtualCircuit) GetPort() Href

GetPort returns the Port field value if set, zero value otherwise.

func (*VrfVirtualCircuit) GetPortOk ¶

func (o *VrfVirtualCircuit) GetPortOk() (*Href, bool)

GetPortOk returns a tuple with the Port field value if set, nil otherwise and a boolean to check if the value has been set.

func (*VrfVirtualCircuit) GetProject ¶

func (o *VrfVirtualCircuit) GetProject() Href

GetProject returns the Project field value if set, zero value otherwise.

func (*VrfVirtualCircuit) GetProjectOk ¶

func (o *VrfVirtualCircuit) GetProjectOk() (*Href, bool)

GetProjectOk returns a tuple with the Project field value if set, nil otherwise and a boolean to check if the value has been set.

func (*VrfVirtualCircuit) GetSpeed ¶

func (o *VrfVirtualCircuit) GetSpeed() int32

GetSpeed returns the Speed field value if set, zero value otherwise.

func (*VrfVirtualCircuit) GetSpeedOk ¶

func (o *VrfVirtualCircuit) GetSpeedOk() (*int32, bool)

GetSpeedOk returns a tuple with the Speed field value if set, nil otherwise and a boolean to check if the value has been set.

func (*VrfVirtualCircuit) GetStatus ¶

GetStatus returns the Status field value if set, zero value otherwise.

func (*VrfVirtualCircuit) GetStatusOk ¶

func (o *VrfVirtualCircuit) GetStatusOk() (*VrfVirtualCircuitStatus, bool)

GetStatusOk returns a tuple with the Status field value if set, nil otherwise and a boolean to check if the value has been set.

func (*VrfVirtualCircuit) GetSubnet ¶

func (o *VrfVirtualCircuit) GetSubnet() string

GetSubnet returns the Subnet field value if set, zero value otherwise.

func (*VrfVirtualCircuit) GetSubnetOk ¶

func (o *VrfVirtualCircuit) GetSubnetOk() (*string, bool)

GetSubnetOk returns a tuple with the Subnet field value if set, nil otherwise and a boolean to check if the value has been set.

func (*VrfVirtualCircuit) GetTags ¶

func (o *VrfVirtualCircuit) GetTags() []string

GetTags returns the Tags field value if set, zero value otherwise.

func (*VrfVirtualCircuit) GetTagsOk ¶

func (o *VrfVirtualCircuit) GetTagsOk() ([]string, bool)

GetTagsOk returns a tuple with the Tags field value if set, nil otherwise and a boolean to check if the value has been set.

func (*VrfVirtualCircuit) GetType ¶ added in v0.25.0

GetType returns the Type field value if set, zero value otherwise.

func (*VrfVirtualCircuit) GetTypeOk ¶ added in v0.25.0

func (o *VrfVirtualCircuit) GetTypeOk() (*VrfIpReservationType, bool)

GetTypeOk returns a tuple with the Type field value if set, nil otherwise and a boolean to check if the value has been set.

func (*VrfVirtualCircuit) GetUpdatedAt ¶ added in v0.5.0

func (o *VrfVirtualCircuit) GetUpdatedAt() time.Time

GetUpdatedAt returns the UpdatedAt field value if set, zero value otherwise.

func (*VrfVirtualCircuit) GetUpdatedAtOk ¶ added in v0.5.0

func (o *VrfVirtualCircuit) GetUpdatedAtOk() (*time.Time, bool)

GetUpdatedAtOk returns a tuple with the UpdatedAt field value if set, nil otherwise and a boolean to check if the value has been set.

func (*VrfVirtualCircuit) GetVrf ¶

func (o *VrfVirtualCircuit) GetVrf() Vrf

GetVrf returns the Vrf field value

func (*VrfVirtualCircuit) GetVrfOk ¶

func (o *VrfVirtualCircuit) GetVrfOk() (*Vrf, bool)

GetVrfOk returns a tuple with the Vrf field value and a boolean to check if the value has been set.

func (*VrfVirtualCircuit) HasCreatedAt ¶ added in v0.5.0

func (o *VrfVirtualCircuit) HasCreatedAt() bool

HasCreatedAt returns a boolean if a field has been set.

func (*VrfVirtualCircuit) HasCustomerIp ¶

func (o *VrfVirtualCircuit) HasCustomerIp() bool

HasCustomerIp returns a boolean if a field has been set.

func (*VrfVirtualCircuit) HasDescription ¶

func (o *VrfVirtualCircuit) HasDescription() bool

HasDescription returns a boolean if a field has been set.

func (*VrfVirtualCircuit) HasId ¶

func (o *VrfVirtualCircuit) HasId() bool

HasId returns a boolean if a field has been set.

func (*VrfVirtualCircuit) HasMd5 ¶

func (o *VrfVirtualCircuit) HasMd5() bool

HasMd5 returns a boolean if a field has been set.

func (*VrfVirtualCircuit) HasMetalIp ¶

func (o *VrfVirtualCircuit) HasMetalIp() bool

HasMetalIp returns a boolean if a field has been set.

func (*VrfVirtualCircuit) HasName ¶

func (o *VrfVirtualCircuit) HasName() bool

HasName returns a boolean if a field has been set.

func (*VrfVirtualCircuit) HasNniVlan ¶

func (o *VrfVirtualCircuit) HasNniVlan() bool

HasNniVlan returns a boolean if a field has been set.

func (*VrfVirtualCircuit) HasPeerAsn ¶

func (o *VrfVirtualCircuit) HasPeerAsn() bool

HasPeerAsn returns a boolean if a field has been set.

func (*VrfVirtualCircuit) HasPort ¶

func (o *VrfVirtualCircuit) HasPort() bool

HasPort returns a boolean if a field has been set.

func (*VrfVirtualCircuit) HasProject ¶

func (o *VrfVirtualCircuit) HasProject() bool

HasProject returns a boolean if a field has been set.

func (*VrfVirtualCircuit) HasSpeed ¶

func (o *VrfVirtualCircuit) HasSpeed() bool

HasSpeed returns a boolean if a field has been set.

func (*VrfVirtualCircuit) HasStatus ¶

func (o *VrfVirtualCircuit) HasStatus() bool

HasStatus returns a boolean if a field has been set.

func (*VrfVirtualCircuit) HasSubnet ¶

func (o *VrfVirtualCircuit) HasSubnet() bool

HasSubnet returns a boolean if a field has been set.

func (*VrfVirtualCircuit) HasTags ¶

func (o *VrfVirtualCircuit) HasTags() bool

HasTags returns a boolean if a field has been set.

func (*VrfVirtualCircuit) HasType ¶ added in v0.25.0

func (o *VrfVirtualCircuit) HasType() bool

HasType returns a boolean if a field has been set.

func (*VrfVirtualCircuit) HasUpdatedAt ¶ added in v0.5.0

func (o *VrfVirtualCircuit) HasUpdatedAt() bool

HasUpdatedAt returns a boolean if a field has been set.

func (VrfVirtualCircuit) MarshalJSON ¶

func (o VrfVirtualCircuit) MarshalJSON() ([]byte, error)

func (*VrfVirtualCircuit) SetCreatedAt ¶ added in v0.5.0

func (o *VrfVirtualCircuit) SetCreatedAt(v time.Time)

SetCreatedAt gets a reference to the given time.Time and assigns it to the CreatedAt field.

func (*VrfVirtualCircuit) SetCustomerIp ¶

func (o *VrfVirtualCircuit) SetCustomerIp(v string)

SetCustomerIp gets a reference to the given string and assigns it to the CustomerIp field.

func (*VrfVirtualCircuit) SetDescription ¶

func (o *VrfVirtualCircuit) SetDescription(v string)

SetDescription gets a reference to the given string and assigns it to the Description field.

func (*VrfVirtualCircuit) SetId ¶

func (o *VrfVirtualCircuit) SetId(v string)

SetId gets a reference to the given string and assigns it to the Id field.

func (*VrfVirtualCircuit) SetMd5 ¶

func (o *VrfVirtualCircuit) SetMd5(v string)

SetMd5 gets a reference to the given string and assigns it to the Md5 field.

func (*VrfVirtualCircuit) SetMetalIp ¶

func (o *VrfVirtualCircuit) SetMetalIp(v string)

SetMetalIp gets a reference to the given string and assigns it to the MetalIp field.

func (*VrfVirtualCircuit) SetName ¶

func (o *VrfVirtualCircuit) SetName(v string)

SetName gets a reference to the given string and assigns it to the Name field.

func (*VrfVirtualCircuit) SetNniVlan ¶

func (o *VrfVirtualCircuit) SetNniVlan(v int32)

SetNniVlan gets a reference to the given int32 and assigns it to the NniVlan field.

func (*VrfVirtualCircuit) SetPeerAsn ¶

func (o *VrfVirtualCircuit) SetPeerAsn(v int32)

SetPeerAsn gets a reference to the given int32 and assigns it to the PeerAsn field.

func (*VrfVirtualCircuit) SetPort ¶

func (o *VrfVirtualCircuit) SetPort(v Href)

SetPort gets a reference to the given Href and assigns it to the Port field.

func (*VrfVirtualCircuit) SetProject ¶

func (o *VrfVirtualCircuit) SetProject(v Href)

SetProject gets a reference to the given Href and assigns it to the Project field.

func (*VrfVirtualCircuit) SetSpeed ¶

func (o *VrfVirtualCircuit) SetSpeed(v int32)

SetSpeed gets a reference to the given int32 and assigns it to the Speed field.

func (*VrfVirtualCircuit) SetStatus ¶

SetStatus gets a reference to the given VrfVirtualCircuitStatus and assigns it to the Status field.

func (*VrfVirtualCircuit) SetSubnet ¶

func (o *VrfVirtualCircuit) SetSubnet(v string)

SetSubnet gets a reference to the given string and assigns it to the Subnet field.

func (*VrfVirtualCircuit) SetTags ¶

func (o *VrfVirtualCircuit) SetTags(v []string)

SetTags gets a reference to the given []string and assigns it to the Tags field.

func (*VrfVirtualCircuit) SetType ¶ added in v0.25.0

SetType gets a reference to the given VrfIpReservationType and assigns it to the Type field.

func (*VrfVirtualCircuit) SetUpdatedAt ¶ added in v0.5.0

func (o *VrfVirtualCircuit) SetUpdatedAt(v time.Time)

SetUpdatedAt gets a reference to the given time.Time and assigns it to the UpdatedAt field.

func (*VrfVirtualCircuit) SetVrf ¶

func (o *VrfVirtualCircuit) SetVrf(v Vrf)

SetVrf sets field value

func (VrfVirtualCircuit) ToMap ¶ added in v0.4.0

func (o VrfVirtualCircuit) ToMap() (map[string]interface{}, error)

func (*VrfVirtualCircuit) UnmarshalJSON ¶ added in v0.7.0

func (o *VrfVirtualCircuit) UnmarshalJSON(bytes []byte) (err error)

type VrfVirtualCircuitCreateInput ¶

type VrfVirtualCircuitCreateInput struct {
	// An IP address from the subnet that will be used on the Customer side. This parameter is optional, but if supplied, we will use the other usable IP address in the subnet as the Metal IP. By default, the last usable IP address in the subnet will be used.
	CustomerIp  *string `json:"customer_ip,omitempty"`
	Description *string `json:"description,omitempty"`
	// The plaintext BGP peering password shared by neighbors as an MD5 checksum: * must be 10-20 characters long * may not include punctuation * must be a combination of numbers and letters * must contain at least one lowercase, uppercase, and digit character
	Md5 NullableString `json:"md5,omitempty"`
	// An IP address from the subnet that will be used on the Metal side. This parameter is optional, but if supplied, we will use the other usable IP address in the subnet as the Customer IP. By default, the first usable IP address in the subnet will be used.
	MetalIp *string `json:"metal_ip,omitempty"`
	Name    *string `json:"name,omitempty"`
	NniVlan int32   `json:"nni_vlan"`
	// The peer ASN that will be used with the VRF on the Virtual Circuit.
	PeerAsn   int32  `json:"peer_asn"`
	ProjectId string `json:"project_id"`
	// speed can be passed as integer number representing bps speed or string (e.g. '52m' or '100g' or '4 gbps')
	Speed *int32 `json:"speed,omitempty"`
	// The /30 or /31 subnet of one of the VRF IP Blocks that will be used with the VRF for the Virtual Circuit. This subnet does not have to be an existing VRF IP reservation, as we will create the VRF IP reservation on creation if it does not exist. The Metal IP and Customer IP must be IPs from this subnet. For /30 subnets, the network and broadcast IPs cannot be used as the Metal or Customer IP. The subnet specified must be contained within an already-defined IP Range for the VRF.
	Subnet string   `json:"subnet"`
	Tags   []string `json:"tags,omitempty"`
	// The UUID of the VRF that will be associated with the Virtual Circuit.
	Vrf                  string `json:"vrf"`
	AdditionalProperties map[string]interface{}
}

VrfVirtualCircuitCreateInput struct for VrfVirtualCircuitCreateInput

func NewVrfVirtualCircuitCreateInput ¶

func NewVrfVirtualCircuitCreateInput(nniVlan int32, peerAsn int32, projectId string, subnet string, vrf string) *VrfVirtualCircuitCreateInput

NewVrfVirtualCircuitCreateInput instantiates a new VrfVirtualCircuitCreateInput object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewVrfVirtualCircuitCreateInputWithDefaults ¶

func NewVrfVirtualCircuitCreateInputWithDefaults() *VrfVirtualCircuitCreateInput

NewVrfVirtualCircuitCreateInputWithDefaults instantiates a new VrfVirtualCircuitCreateInput object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*VrfVirtualCircuitCreateInput) GetCustomerIp ¶

func (o *VrfVirtualCircuitCreateInput) GetCustomerIp() string

GetCustomerIp returns the CustomerIp field value if set, zero value otherwise.

func (*VrfVirtualCircuitCreateInput) GetCustomerIpOk ¶

func (o *VrfVirtualCircuitCreateInput) GetCustomerIpOk() (*string, bool)

GetCustomerIpOk returns a tuple with the CustomerIp field value if set, nil otherwise and a boolean to check if the value has been set.

func (*VrfVirtualCircuitCreateInput) GetDescription ¶

func (o *VrfVirtualCircuitCreateInput) GetDescription() string

GetDescription returns the Description field value if set, zero value otherwise.

func (*VrfVirtualCircuitCreateInput) GetDescriptionOk ¶

func (o *VrfVirtualCircuitCreateInput) GetDescriptionOk() (*string, bool)

GetDescriptionOk returns a tuple with the Description field value if set, nil otherwise and a boolean to check if the value has been set.

func (*VrfVirtualCircuitCreateInput) GetMd5 ¶

GetMd5 returns the Md5 field value if set, zero value otherwise (both if not set or set to explicit null).

func (*VrfVirtualCircuitCreateInput) GetMd5Ok ¶

func (o *VrfVirtualCircuitCreateInput) GetMd5Ok() (*string, bool)

GetMd5Ok returns a tuple with the Md5 field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*VrfVirtualCircuitCreateInput) GetMetalIp ¶

func (o *VrfVirtualCircuitCreateInput) GetMetalIp() string

GetMetalIp returns the MetalIp field value if set, zero value otherwise.

func (*VrfVirtualCircuitCreateInput) GetMetalIpOk ¶

func (o *VrfVirtualCircuitCreateInput) GetMetalIpOk() (*string, bool)

GetMetalIpOk returns a tuple with the MetalIp field value if set, nil otherwise and a boolean to check if the value has been set.

func (*VrfVirtualCircuitCreateInput) GetName ¶

func (o *VrfVirtualCircuitCreateInput) GetName() string

GetName returns the Name field value if set, zero value otherwise.

func (*VrfVirtualCircuitCreateInput) GetNameOk ¶

func (o *VrfVirtualCircuitCreateInput) GetNameOk() (*string, bool)

GetNameOk returns a tuple with the Name field value if set, nil otherwise and a boolean to check if the value has been set.

func (*VrfVirtualCircuitCreateInput) GetNniVlan ¶

func (o *VrfVirtualCircuitCreateInput) GetNniVlan() int32

GetNniVlan returns the NniVlan field value

func (*VrfVirtualCircuitCreateInput) GetNniVlanOk ¶

func (o *VrfVirtualCircuitCreateInput) GetNniVlanOk() (*int32, bool)

GetNniVlanOk returns a tuple with the NniVlan field value and a boolean to check if the value has been set.

func (*VrfVirtualCircuitCreateInput) GetPeerAsn ¶

func (o *VrfVirtualCircuitCreateInput) GetPeerAsn() int32

GetPeerAsn returns the PeerAsn field value

func (*VrfVirtualCircuitCreateInput) GetPeerAsnOk ¶

func (o *VrfVirtualCircuitCreateInput) GetPeerAsnOk() (*int32, bool)

GetPeerAsnOk returns a tuple with the PeerAsn field value and a boolean to check if the value has been set.

func (*VrfVirtualCircuitCreateInput) GetProjectId ¶ added in v0.5.0

func (o *VrfVirtualCircuitCreateInput) GetProjectId() string

GetProjectId returns the ProjectId field value

func (*VrfVirtualCircuitCreateInput) GetProjectIdOk ¶ added in v0.5.0

func (o *VrfVirtualCircuitCreateInput) GetProjectIdOk() (*string, bool)

GetProjectIdOk returns a tuple with the ProjectId field value and a boolean to check if the value has been set.

func (*VrfVirtualCircuitCreateInput) GetSpeed ¶

func (o *VrfVirtualCircuitCreateInput) GetSpeed() int32

GetSpeed returns the Speed field value if set, zero value otherwise.

func (*VrfVirtualCircuitCreateInput) GetSpeedOk ¶

func (o *VrfVirtualCircuitCreateInput) GetSpeedOk() (*int32, bool)

GetSpeedOk returns a tuple with the Speed field value if set, nil otherwise and a boolean to check if the value has been set.

func (*VrfVirtualCircuitCreateInput) GetSubnet ¶

func (o *VrfVirtualCircuitCreateInput) GetSubnet() string

GetSubnet returns the Subnet field value

func (*VrfVirtualCircuitCreateInput) GetSubnetOk ¶

func (o *VrfVirtualCircuitCreateInput) GetSubnetOk() (*string, bool)

GetSubnetOk returns a tuple with the Subnet field value and a boolean to check if the value has been set.

func (*VrfVirtualCircuitCreateInput) GetTags ¶

func (o *VrfVirtualCircuitCreateInput) GetTags() []string

GetTags returns the Tags field value if set, zero value otherwise.

func (*VrfVirtualCircuitCreateInput) GetTagsOk ¶

func (o *VrfVirtualCircuitCreateInput) GetTagsOk() ([]string, bool)

GetTagsOk returns a tuple with the Tags field value if set, nil otherwise and a boolean to check if the value has been set.

func (*VrfVirtualCircuitCreateInput) GetVrf ¶

GetVrf returns the Vrf field value

func (*VrfVirtualCircuitCreateInput) GetVrfOk ¶

func (o *VrfVirtualCircuitCreateInput) GetVrfOk() (*string, bool)

GetVrfOk returns a tuple with the Vrf field value and a boolean to check if the value has been set.

func (*VrfVirtualCircuitCreateInput) HasCustomerIp ¶

func (o *VrfVirtualCircuitCreateInput) HasCustomerIp() bool

HasCustomerIp returns a boolean if a field has been set.

func (*VrfVirtualCircuitCreateInput) HasDescription ¶

func (o *VrfVirtualCircuitCreateInput) HasDescription() bool

HasDescription returns a boolean if a field has been set.

func (*VrfVirtualCircuitCreateInput) HasMd5 ¶

func (o *VrfVirtualCircuitCreateInput) HasMd5() bool

HasMd5 returns a boolean if a field has been set.

func (*VrfVirtualCircuitCreateInput) HasMetalIp ¶

func (o *VrfVirtualCircuitCreateInput) HasMetalIp() bool

HasMetalIp returns a boolean if a field has been set.

func (*VrfVirtualCircuitCreateInput) HasName ¶

func (o *VrfVirtualCircuitCreateInput) HasName() bool

HasName returns a boolean if a field has been set.

func (*VrfVirtualCircuitCreateInput) HasSpeed ¶

func (o *VrfVirtualCircuitCreateInput) HasSpeed() bool

HasSpeed returns a boolean if a field has been set.

func (*VrfVirtualCircuitCreateInput) HasTags ¶

func (o *VrfVirtualCircuitCreateInput) HasTags() bool

HasTags returns a boolean if a field has been set.

func (VrfVirtualCircuitCreateInput) MarshalJSON ¶

func (o VrfVirtualCircuitCreateInput) MarshalJSON() ([]byte, error)

func (*VrfVirtualCircuitCreateInput) SetCustomerIp ¶

func (o *VrfVirtualCircuitCreateInput) SetCustomerIp(v string)

SetCustomerIp gets a reference to the given string and assigns it to the CustomerIp field.

func (*VrfVirtualCircuitCreateInput) SetDescription ¶

func (o *VrfVirtualCircuitCreateInput) SetDescription(v string)

SetDescription gets a reference to the given string and assigns it to the Description field.

func (*VrfVirtualCircuitCreateInput) SetMd5 ¶

func (o *VrfVirtualCircuitCreateInput) SetMd5(v string)

SetMd5 gets a reference to the given NullableString and assigns it to the Md5 field.

func (*VrfVirtualCircuitCreateInput) SetMd5Nil ¶

func (o *VrfVirtualCircuitCreateInput) SetMd5Nil()

SetMd5Nil sets the value for Md5 to be an explicit nil

func (*VrfVirtualCircuitCreateInput) SetMetalIp ¶

func (o *VrfVirtualCircuitCreateInput) SetMetalIp(v string)

SetMetalIp gets a reference to the given string and assigns it to the MetalIp field.

func (*VrfVirtualCircuitCreateInput) SetName ¶

func (o *VrfVirtualCircuitCreateInput) SetName(v string)

SetName gets a reference to the given string and assigns it to the Name field.

func (*VrfVirtualCircuitCreateInput) SetNniVlan ¶

func (o *VrfVirtualCircuitCreateInput) SetNniVlan(v int32)

SetNniVlan sets field value

func (*VrfVirtualCircuitCreateInput) SetPeerAsn ¶

func (o *VrfVirtualCircuitCreateInput) SetPeerAsn(v int32)

SetPeerAsn sets field value

func (*VrfVirtualCircuitCreateInput) SetProjectId ¶ added in v0.5.0

func (o *VrfVirtualCircuitCreateInput) SetProjectId(v string)

SetProjectId sets field value

func (*VrfVirtualCircuitCreateInput) SetSpeed ¶

func (o *VrfVirtualCircuitCreateInput) SetSpeed(v int32)

SetSpeed gets a reference to the given int32 and assigns it to the Speed field.

func (*VrfVirtualCircuitCreateInput) SetSubnet ¶

func (o *VrfVirtualCircuitCreateInput) SetSubnet(v string)

SetSubnet sets field value

func (*VrfVirtualCircuitCreateInput) SetTags ¶

func (o *VrfVirtualCircuitCreateInput) SetTags(v []string)

SetTags gets a reference to the given []string and assigns it to the Tags field.

func (*VrfVirtualCircuitCreateInput) SetVrf ¶

func (o *VrfVirtualCircuitCreateInput) SetVrf(v string)

SetVrf sets field value

func (VrfVirtualCircuitCreateInput) ToMap ¶ added in v0.4.0

func (o VrfVirtualCircuitCreateInput) ToMap() (map[string]interface{}, error)

func (*VrfVirtualCircuitCreateInput) UnmarshalJSON ¶ added in v0.7.0

func (o *VrfVirtualCircuitCreateInput) UnmarshalJSON(bytes []byte) (err error)

func (*VrfVirtualCircuitCreateInput) UnsetMd5 ¶

func (o *VrfVirtualCircuitCreateInput) UnsetMd5()

UnsetMd5 ensures that no value is present for Md5, not even an explicit nil

type VrfVirtualCircuitStatus ¶ added in v0.22.0

type VrfVirtualCircuitStatus string

VrfVirtualCircuitStatus The status changes of a VRF virtual circuit are generally the same as Virtual Circuits that aren't in a VRF. However, for VRF Virtual Circuits on Fabric VCs, the status will change to 'waiting_on_peering_details' once the Fabric service token associated with the virtual circuit has been redeemed on Fabric, and Metal has found the associated Fabric connection. At this point, users can update the subnet, MD5 password, customer IP and/or metal IP accordingly. For VRF Virtual Circuits on Dedicated Ports, we require all peering details to be set on creation of a VRF Virtual Circuit. The status will change to `changing_peering_details` whenever an active VRF Virtual Circuit has any of its peering details updated.

const (
	VRFVIRTUALCIRCUITSTATUS_PENDING                         VrfVirtualCircuitStatus = "pending"
	VRFVIRTUALCIRCUITSTATUS_WAITING_ON_PEERING_DETAILS      VrfVirtualCircuitStatus = "waiting_on_peering_details"
	VRFVIRTUALCIRCUITSTATUS_ACTIVATING                      VrfVirtualCircuitStatus = "activating"
	VRFVIRTUALCIRCUITSTATUS_CHANGING_PEERING_DETAILS        VrfVirtualCircuitStatus = "changing_peering_details"
	VRFVIRTUALCIRCUITSTATUS_DEACTIVATING                    VrfVirtualCircuitStatus = "deactivating"
	VRFVIRTUALCIRCUITSTATUS_DELETING                        VrfVirtualCircuitStatus = "deleting"
	VRFVIRTUALCIRCUITSTATUS_ACTIVE                          VrfVirtualCircuitStatus = "active"
	VRFVIRTUALCIRCUITSTATUS_EXPIRED                         VrfVirtualCircuitStatus = "expired"
	VRFVIRTUALCIRCUITSTATUS_ACTIVATION_FAILED               VrfVirtualCircuitStatus = "activation_failed"
	VRFVIRTUALCIRCUITSTATUS_CHANGING_PEERING_DETAILS_FAILED VrfVirtualCircuitStatus = "changing_peering_details_failed"
	VRFVIRTUALCIRCUITSTATUS_DEACTIVATION_FAILED             VrfVirtualCircuitStatus = "deactivation_failed"
	VRFVIRTUALCIRCUITSTATUS_DELETE_FAILED                   VrfVirtualCircuitStatus = "delete_failed"
)

List of VrfVirtualCircuit_status

func NewVrfVirtualCircuitStatusFromValue ¶ added in v0.22.0

func NewVrfVirtualCircuitStatusFromValue(v string) (*VrfVirtualCircuitStatus, error)

NewVrfVirtualCircuitStatusFromValue returns a pointer to a valid VrfVirtualCircuitStatus for the value passed as argument, or an error if the value passed is not allowed by the enum

func (VrfVirtualCircuitStatus) IsValid ¶ added in v0.22.0

func (v VrfVirtualCircuitStatus) IsValid() bool

IsValid return true if the value is valid for the enum, false otherwise

func (VrfVirtualCircuitStatus) Ptr ¶ added in v0.22.0

Ptr returns reference to VrfVirtualCircuit_status value

func (*VrfVirtualCircuitStatus) UnmarshalJSON ¶ added in v0.22.0

func (v *VrfVirtualCircuitStatus) UnmarshalJSON(src []byte) error

type VrfVirtualCircuitUpdateInput ¶

type VrfVirtualCircuitUpdateInput struct {
	// An IP address from the subnet that will be used on the Customer side. This parameter is optional, but if supplied, we will use the other usable IP address in the subnet as the Metal IP. By default, the last usable IP address in the subnet will be used.
	CustomerIp  *string `json:"customer_ip,omitempty"`
	Description *string `json:"description,omitempty"`
	// The plaintext BGP peering password shared by neighbors as an MD5 checksum: * must be 10-20 characters long * may not include punctuation * must be a combination of numbers and letters * must contain at least one lowercase, uppercase, and digit character
	Md5 *string `json:"md5,omitempty"`
	// An IP address from the subnet that will be used on the Metal side. This parameter is optional, but if supplied, we will use the other usable IP address in the subnet as the Customer IP. By default, the first usable IP address in the subnet will be used.
	MetalIp *string `json:"metal_ip,omitempty"`
	Name    *string `json:"name,omitempty"`
	// The peer ASN that will be used with the VRF on the Virtual Circuit.
	PeerAsn *int32 `json:"peer_asn,omitempty"`
	// Speed can be changed only if it is an interconnection on a Dedicated Port
	Speed *string `json:"speed,omitempty"`
	// The /30 or /31 subnet of one of the VRF IP Blocks that will be used with the VRF for the Virtual Circuit. This subnet does not have to be an existing VRF IP reservation, as we will create the VRF IP reservation on creation if it does not exist. The Metal IP and Customer IP must be IPs from this subnet. For /30 subnets, the network and broadcast IPs cannot be used as the Metal or Customer IP.
	Subnet               *string  `json:"subnet,omitempty"`
	Tags                 []string `json:"tags,omitempty"`
	AdditionalProperties map[string]interface{}
}

VrfVirtualCircuitUpdateInput struct for VrfVirtualCircuitUpdateInput

func NewVrfVirtualCircuitUpdateInput ¶

func NewVrfVirtualCircuitUpdateInput() *VrfVirtualCircuitUpdateInput

NewVrfVirtualCircuitUpdateInput instantiates a new VrfVirtualCircuitUpdateInput object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewVrfVirtualCircuitUpdateInputWithDefaults ¶

func NewVrfVirtualCircuitUpdateInputWithDefaults() *VrfVirtualCircuitUpdateInput

NewVrfVirtualCircuitUpdateInputWithDefaults instantiates a new VrfVirtualCircuitUpdateInput object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*VrfVirtualCircuitUpdateInput) GetCustomerIp ¶ added in v0.5.0

func (o *VrfVirtualCircuitUpdateInput) GetCustomerIp() string

GetCustomerIp returns the CustomerIp field value if set, zero value otherwise.

func (*VrfVirtualCircuitUpdateInput) GetCustomerIpOk ¶ added in v0.5.0

func (o *VrfVirtualCircuitUpdateInput) GetCustomerIpOk() (*string, bool)

GetCustomerIpOk returns a tuple with the CustomerIp field value if set, nil otherwise and a boolean to check if the value has been set.

func (*VrfVirtualCircuitUpdateInput) GetDescription ¶

func (o *VrfVirtualCircuitUpdateInput) GetDescription() string

GetDescription returns the Description field value if set, zero value otherwise.

func (*VrfVirtualCircuitUpdateInput) GetDescriptionOk ¶

func (o *VrfVirtualCircuitUpdateInput) GetDescriptionOk() (*string, bool)

GetDescriptionOk returns a tuple with the Description field value if set, nil otherwise and a boolean to check if the value has been set.

func (*VrfVirtualCircuitUpdateInput) GetMd5 ¶ added in v0.5.0

GetMd5 returns the Md5 field value if set, zero value otherwise.

func (*VrfVirtualCircuitUpdateInput) GetMd5Ok ¶ added in v0.5.0

func (o *VrfVirtualCircuitUpdateInput) GetMd5Ok() (*string, bool)

GetMd5Ok returns a tuple with the Md5 field value if set, nil otherwise and a boolean to check if the value has been set.

func (*VrfVirtualCircuitUpdateInput) GetMetalIp ¶ added in v0.5.0

func (o *VrfVirtualCircuitUpdateInput) GetMetalIp() string

GetMetalIp returns the MetalIp field value if set, zero value otherwise.

func (*VrfVirtualCircuitUpdateInput) GetMetalIpOk ¶ added in v0.5.0

func (o *VrfVirtualCircuitUpdateInput) GetMetalIpOk() (*string, bool)

GetMetalIpOk returns a tuple with the MetalIp field value if set, nil otherwise and a boolean to check if the value has been set.

func (*VrfVirtualCircuitUpdateInput) GetName ¶

func (o *VrfVirtualCircuitUpdateInput) GetName() string

GetName returns the Name field value if set, zero value otherwise.

func (*VrfVirtualCircuitUpdateInput) GetNameOk ¶

func (o *VrfVirtualCircuitUpdateInput) GetNameOk() (*string, bool)

GetNameOk returns a tuple with the Name field value if set, nil otherwise and a boolean to check if the value has been set.

func (*VrfVirtualCircuitUpdateInput) GetPeerAsn ¶ added in v0.5.0

func (o *VrfVirtualCircuitUpdateInput) GetPeerAsn() int32

GetPeerAsn returns the PeerAsn field value if set, zero value otherwise.

func (*VrfVirtualCircuitUpdateInput) GetPeerAsnOk ¶ added in v0.5.0

func (o *VrfVirtualCircuitUpdateInput) GetPeerAsnOk() (*int32, bool)

GetPeerAsnOk returns a tuple with the PeerAsn field value if set, nil otherwise and a boolean to check if the value has been set.

func (*VrfVirtualCircuitUpdateInput) GetSpeed ¶

func (o *VrfVirtualCircuitUpdateInput) GetSpeed() string

GetSpeed returns the Speed field value if set, zero value otherwise.

func (*VrfVirtualCircuitUpdateInput) GetSpeedOk ¶

func (o *VrfVirtualCircuitUpdateInput) GetSpeedOk() (*string, bool)

GetSpeedOk returns a tuple with the Speed field value if set, nil otherwise and a boolean to check if the value has been set.

func (*VrfVirtualCircuitUpdateInput) GetSubnet ¶ added in v0.5.0

func (o *VrfVirtualCircuitUpdateInput) GetSubnet() string

GetSubnet returns the Subnet field value if set, zero value otherwise.

func (*VrfVirtualCircuitUpdateInput) GetSubnetOk ¶ added in v0.5.0

func (o *VrfVirtualCircuitUpdateInput) GetSubnetOk() (*string, bool)

GetSubnetOk returns a tuple with the Subnet field value if set, nil otherwise and a boolean to check if the value has been set.

func (*VrfVirtualCircuitUpdateInput) GetTags ¶

func (o *VrfVirtualCircuitUpdateInput) GetTags() []string

GetTags returns the Tags field value if set, zero value otherwise.

func (*VrfVirtualCircuitUpdateInput) GetTagsOk ¶

func (o *VrfVirtualCircuitUpdateInput) GetTagsOk() ([]string, bool)

GetTagsOk returns a tuple with the Tags field value if set, nil otherwise and a boolean to check if the value has been set.

func (*VrfVirtualCircuitUpdateInput) HasCustomerIp ¶ added in v0.5.0

func (o *VrfVirtualCircuitUpdateInput) HasCustomerIp() bool

HasCustomerIp returns a boolean if a field has been set.

func (*VrfVirtualCircuitUpdateInput) HasDescription ¶

func (o *VrfVirtualCircuitUpdateInput) HasDescription() bool

HasDescription returns a boolean if a field has been set.

func (*VrfVirtualCircuitUpdateInput) HasMd5 ¶ added in v0.5.0

func (o *VrfVirtualCircuitUpdateInput) HasMd5() bool

HasMd5 returns a boolean if a field has been set.

func (*VrfVirtualCircuitUpdateInput) HasMetalIp ¶ added in v0.5.0

func (o *VrfVirtualCircuitUpdateInput) HasMetalIp() bool

HasMetalIp returns a boolean if a field has been set.

func (*VrfVirtualCircuitUpdateInput) HasName ¶

func (o *VrfVirtualCircuitUpdateInput) HasName() bool

HasName returns a boolean if a field has been set.

func (*VrfVirtualCircuitUpdateInput) HasPeerAsn ¶ added in v0.5.0

func (o *VrfVirtualCircuitUpdateInput) HasPeerAsn() bool

HasPeerAsn returns a boolean if a field has been set.

func (*VrfVirtualCircuitUpdateInput) HasSpeed ¶

func (o *VrfVirtualCircuitUpdateInput) HasSpeed() bool

HasSpeed returns a boolean if a field has been set.

func (*VrfVirtualCircuitUpdateInput) HasSubnet ¶ added in v0.5.0

func (o *VrfVirtualCircuitUpdateInput) HasSubnet() bool

HasSubnet returns a boolean if a field has been set.

func (*VrfVirtualCircuitUpdateInput) HasTags ¶

func (o *VrfVirtualCircuitUpdateInput) HasTags() bool

HasTags returns a boolean if a field has been set.

func (VrfVirtualCircuitUpdateInput) MarshalJSON ¶

func (o VrfVirtualCircuitUpdateInput) MarshalJSON() ([]byte, error)

func (*VrfVirtualCircuitUpdateInput) SetCustomerIp ¶ added in v0.5.0

func (o *VrfVirtualCircuitUpdateInput) SetCustomerIp(v string)

SetCustomerIp gets a reference to the given string and assigns it to the CustomerIp field.

func (*VrfVirtualCircuitUpdateInput) SetDescription ¶

func (o *VrfVirtualCircuitUpdateInput) SetDescription(v string)

SetDescription gets a reference to the given string and assigns it to the Description field.

func (*VrfVirtualCircuitUpdateInput) SetMd5 ¶ added in v0.5.0

func (o *VrfVirtualCircuitUpdateInput) SetMd5(v string)

SetMd5 gets a reference to the given string and assigns it to the Md5 field.

func (*VrfVirtualCircuitUpdateInput) SetMetalIp ¶ added in v0.5.0

func (o *VrfVirtualCircuitUpdateInput) SetMetalIp(v string)

SetMetalIp gets a reference to the given string and assigns it to the MetalIp field.

func (*VrfVirtualCircuitUpdateInput) SetName ¶

func (o *VrfVirtualCircuitUpdateInput) SetName(v string)

SetName gets a reference to the given string and assigns it to the Name field.

func (*VrfVirtualCircuitUpdateInput) SetPeerAsn ¶ added in v0.5.0

func (o *VrfVirtualCircuitUpdateInput) SetPeerAsn(v int32)

SetPeerAsn gets a reference to the given int32 and assigns it to the PeerAsn field.

func (*VrfVirtualCircuitUpdateInput) SetSpeed ¶

func (o *VrfVirtualCircuitUpdateInput) SetSpeed(v string)

SetSpeed gets a reference to the given string and assigns it to the Speed field.

func (*VrfVirtualCircuitUpdateInput) SetSubnet ¶ added in v0.5.0

func (o *VrfVirtualCircuitUpdateInput) SetSubnet(v string)

SetSubnet gets a reference to the given string and assigns it to the Subnet field.

func (*VrfVirtualCircuitUpdateInput) SetTags ¶

func (o *VrfVirtualCircuitUpdateInput) SetTags(v []string)

SetTags gets a reference to the given []string and assigns it to the Tags field.

func (VrfVirtualCircuitUpdateInput) ToMap ¶ added in v0.4.0

func (o VrfVirtualCircuitUpdateInput) ToMap() (map[string]interface{}, error)

func (*VrfVirtualCircuitUpdateInput) UnmarshalJSON ¶ added in v0.7.0

func (o *VrfVirtualCircuitUpdateInput) UnmarshalJSON(bytes []byte) (err error)

Source Files ¶

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL