v1

package
v0.2.7 Latest Latest
Warning

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

Go to latest
Published: Sep 29, 2022 License: MIT Imports: 22 Imported by: 1

Documentation ¶

Index ¶

Constants ¶

This section is empty.

Variables ¶

View Source
var (
	// ContextOAuth2 takes an oauth2.TokenSource as authentication for the request.
	ContextOAuth2 = contextKey("token")

	// ContextBasicAuth takes BasicAuth as authentication for the request.
	ContextBasicAuth = contextKey("basic")

	// ContextAccessToken takes a string oauth2 access token as authentication for the request.
	ContextAccessToken = contextKey("accesstoken")

	// ContextAPIKeys takes a string apikey as authentication for the request
	ContextAPIKeys = contextKey("apiKeys")

	// ContextHttpSignatureAuth takes HttpSignatureAuth as authentication for the request.
	ContextHttpSignatureAuth = contextKey("httpsignature")

	// 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")
)

Functions ¶

func CacheExpires ¶

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

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

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

	DevicesApi *DevicesApiService

	EmailsApi *EmailsApiService

	EventsApi *EventsApiService

	FacilitiesApi *FacilitiesApiService

	HardwareReservationsApi *HardwareReservationsApiService

	IPAddressesApi *IPAddressesApiService

	IncidentsApi *IncidentsApiService

	InterconnectionsApi *InterconnectionsApiService

	InvitationsApi *InvitationsApiService

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

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

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 ¶

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

func (*Address) GetCoordinatesOk ¶

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 ¶

SetCoordinates gets a reference to the given FindDeviceById200ResponseFacilityAddressCoordinates 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

type AnyOfarraystring ¶ added in v0.2.6

type AnyOfarraystring interface{}

type ApiAcceptInvitationRequest ¶

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

func (ApiAcceptInvitationRequest) Execute ¶

type ApiAcceptTransferRequestRequest ¶

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

func (ApiAcceptTransferRequestRequest) Execute ¶

type ApiAssignNativeVlanRequest ¶

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

func (ApiAssignNativeVlanRequest) Execute ¶

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

func (r ApiAssignPortRequest) AssignPortRequest(assignPortRequest AssignPortRequest) ApiAssignPortRequest

func (ApiAssignPortRequest) Execute ¶

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 ¶

type ApiCheckCapacityForFacilityRequest ¶

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

func (ApiCheckCapacityForFacilityRequest) CheckCapacityForFacilityRequest ¶

func (r ApiCheckCapacityForFacilityRequest) CheckCapacityForFacilityRequest(checkCapacityForFacilityRequest CheckCapacityForFacilityRequest) ApiCheckCapacityForFacilityRequest

Facility to check capacity in

func (ApiCheckCapacityForFacilityRequest) Execute ¶

type ApiCheckCapacityForMetroRequest ¶

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

func (ApiCheckCapacityForMetroRequest) CheckCapacityForMetroRequest ¶

func (r ApiCheckCapacityForMetroRequest) CheckCapacityForMetroRequest(checkCapacityForMetroRequest CheckCapacityForMetroRequest) ApiCheckCapacityForMetroRequest

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

User verification token

type ApiConvertLayer2Request ¶

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

func (ApiConvertLayer2Request) AssignPortRequest ¶

func (r ApiConvertLayer2Request) AssignPortRequest(assignPortRequest AssignPortRequest) ApiConvertLayer2Request

Virtual Network ID

func (ApiConvertLayer2Request) Execute ¶

type ApiConvertLayer3Request ¶

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

func (ApiConvertLayer3Request) ConvertLayer3Request ¶

func (r ApiConvertLayer3Request) ConvertLayer3Request(convertLayer3Request ConvertLayer3Request) ApiConvertLayer3Request

IPs to request

func (ApiConvertLayer3Request) Execute ¶

type ApiCreateAPIKeyRequest ¶

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

func (ApiCreateAPIKeyRequest) CreateProjectAPIKeyRequest ¶

func (r ApiCreateAPIKeyRequest) CreateProjectAPIKeyRequest(createProjectAPIKeyRequest CreateProjectAPIKeyRequest) ApiCreateAPIKeyRequest

API key to create

func (ApiCreateAPIKeyRequest) Execute ¶

type ApiCreateBgpSessionRequest ¶

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

func (ApiCreateBgpSessionRequest) CreateBgpSessionRequest ¶

func (r ApiCreateBgpSessionRequest) CreateBgpSessionRequest(createBgpSessionRequest CreateBgpSessionRequest) ApiCreateBgpSessionRequest

BGP session to create

func (ApiCreateBgpSessionRequest) Execute ¶

type ApiCreateDeviceBatchRequest ¶

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

func (ApiCreateDeviceBatchRequest) CreateDeviceBatchRequest ¶

func (r ApiCreateDeviceBatchRequest) CreateDeviceBatchRequest(createDeviceBatchRequest CreateDeviceBatchRequest) ApiCreateDeviceBatchRequest

Batches to create

func (ApiCreateDeviceBatchRequest) Execute ¶

type ApiCreateDeviceRequest ¶

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

func (ApiCreateDeviceRequest) CreateDeviceRequest ¶

func (r ApiCreateDeviceRequest) CreateDeviceRequest(createDeviceRequest CreateDeviceRequest) ApiCreateDeviceRequest

Device to create

func (ApiCreateDeviceRequest) Execute ¶

type ApiCreateEmailRequest ¶

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

func (ApiCreateEmailRequest) CreateEmailRequest ¶

func (r ApiCreateEmailRequest) CreateEmailRequest(createEmailRequest CreateEmailRequest) ApiCreateEmailRequest

Email to create

func (ApiCreateEmailRequest) Execute ¶

type ApiCreateIPAssignmentRequest ¶

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

func (ApiCreateIPAssignmentRequest) CreateIPAssignmentRequest ¶

func (r ApiCreateIPAssignmentRequest) CreateIPAssignmentRequest(createIPAssignmentRequest CreateIPAssignmentRequest) ApiCreateIPAssignmentRequest

IPAssignment to create

func (ApiCreateIPAssignmentRequest) Execute ¶

type ApiCreateInterconnectionPortVirtualCircuitRequest ¶ added in v0.2.6

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

func (ApiCreateInterconnectionPortVirtualCircuitRequest) CreateInterconnectionPortVirtualCircuitRequest ¶ added in v0.2.6

func (r ApiCreateInterconnectionPortVirtualCircuitRequest) CreateInterconnectionPortVirtualCircuitRequest(createInterconnectionPortVirtualCircuitRequest CreateInterconnectionPortVirtualCircuitRequest) ApiCreateInterconnectionPortVirtualCircuitRequest

Virtual Circuit details

func (ApiCreateInterconnectionPortVirtualCircuitRequest) Execute ¶ added in v0.2.6

type ApiCreateLicenseRequest ¶

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

func (ApiCreateLicenseRequest) CreateLicenseRequest ¶

func (r ApiCreateLicenseRequest) CreateLicenseRequest(createLicenseRequest CreateLicenseRequest) ApiCreateLicenseRequest

License to create

func (ApiCreateLicenseRequest) Execute ¶

type ApiCreateMetalGatewayRequest ¶

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

func (ApiCreateMetalGatewayRequest) CreateMetalGatewayRequest ¶

func (r ApiCreateMetalGatewayRequest) CreateMetalGatewayRequest(createMetalGatewayRequest CreateMetalGatewayRequest) ApiCreateMetalGatewayRequest

Metal Gateway to create

func (ApiCreateMetalGatewayRequest) Execute ¶

func (ApiCreateMetalGatewayRequest) Page ¶

Page to return

func (ApiCreateMetalGatewayRequest) PerPage ¶

Items returned per page

type ApiCreateOrganizationInterconnectionRequest ¶ added in v0.2.6

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

func (ApiCreateOrganizationInterconnectionRequest) CreateOrganizationInterconnectionRequest ¶ added in v0.2.6

func (r ApiCreateOrganizationInterconnectionRequest) CreateOrganizationInterconnectionRequest(createOrganizationInterconnectionRequest CreateOrganizationInterconnectionRequest) ApiCreateOrganizationInterconnectionRequest

Interconnection details

func (ApiCreateOrganizationInterconnectionRequest) Execute ¶ added in v0.2.6

type ApiCreateOrganizationInvitationRequest ¶

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

func (ApiCreateOrganizationInvitationRequest) CreateOrganizationInvitationRequest ¶

func (r ApiCreateOrganizationInvitationRequest) CreateOrganizationInvitationRequest(createOrganizationInvitationRequest CreateOrganizationInvitationRequest) ApiCreateOrganizationInvitationRequest

Invitation to create

func (ApiCreateOrganizationInvitationRequest) Execute ¶

type ApiCreateOrganizationProjectRequest ¶

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

func (ApiCreateOrganizationProjectRequest) CreateOrganizationProjectRequest ¶

func (r ApiCreateOrganizationProjectRequest) CreateOrganizationProjectRequest(createOrganizationProjectRequest CreateOrganizationProjectRequest) ApiCreateOrganizationProjectRequest

Project to create

type ApiCreateOrganizationRequest ¶

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

func (ApiCreateOrganizationRequest) CreateOrganizationRequest ¶

func (r ApiCreateOrganizationRequest) CreateOrganizationRequest(createOrganizationRequest CreateOrganizationRequest) ApiCreateOrganizationRequest

Organization to create

func (ApiCreateOrganizationRequest) Execute ¶

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

func (r ApiCreatePaymentMethodRequest) CreatePaymentMethodRequest(createPaymentMethodRequest CreatePaymentMethodRequest) ApiCreatePaymentMethodRequest

Payment Method to create

type ApiCreatePortVlanAssignmentBatchRequest ¶

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

func (ApiCreatePortVlanAssignmentBatchRequest) CreatePortVlanAssignmentBatchRequest ¶

func (r ApiCreatePortVlanAssignmentBatchRequest) CreatePortVlanAssignmentBatchRequest(createPortVlanAssignmentBatchRequest CreatePortVlanAssignmentBatchRequest) ApiCreatePortVlanAssignmentBatchRequest

VLAN Assignment batch details

func (ApiCreatePortVlanAssignmentBatchRequest) Execute ¶

type ApiCreateProjectAPIKeyRequest ¶

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

func (ApiCreateProjectAPIKeyRequest) CreateProjectAPIKeyRequest ¶

func (r ApiCreateProjectAPIKeyRequest) CreateProjectAPIKeyRequest(createProjectAPIKeyRequest CreateProjectAPIKeyRequest) ApiCreateProjectAPIKeyRequest

API Key to create

func (ApiCreateProjectAPIKeyRequest) Execute ¶

type ApiCreateProjectInterconnectionRequest ¶ added in v0.2.6

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

func (ApiCreateProjectInterconnectionRequest) CreateOrganizationInterconnectionRequest ¶ added in v0.2.6

func (r ApiCreateProjectInterconnectionRequest) CreateOrganizationInterconnectionRequest(createOrganizationInterconnectionRequest CreateOrganizationInterconnectionRequest) ApiCreateProjectInterconnectionRequest

Interconnection details

func (ApiCreateProjectInterconnectionRequest) Execute ¶ added in v0.2.6

type ApiCreateProjectInvitationRequest ¶

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

func (ApiCreateProjectInvitationRequest) CreateOrganizationInvitationRequest ¶

func (r ApiCreateProjectInvitationRequest) CreateOrganizationInvitationRequest(createOrganizationInvitationRequest CreateOrganizationInvitationRequest) ApiCreateProjectInvitationRequest

Invitation to create

func (ApiCreateProjectInvitationRequest) Execute ¶

type ApiCreateProjectRequest ¶

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

func (ApiCreateProjectRequest) CreateProjectRequest ¶

func (r ApiCreateProjectRequest) CreateProjectRequest(createProjectRequest CreateProjectRequest) ApiCreateProjectRequest

Project to create

type ApiCreateProjectSSHKeyRequest ¶

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

func (ApiCreateProjectSSHKeyRequest) CreateProjectSSHKeyRequest ¶

func (r ApiCreateProjectSSHKeyRequest) CreateProjectSSHKeyRequest(createProjectSSHKeyRequest CreateProjectSSHKeyRequest) ApiCreateProjectSSHKeyRequest

ssh key to create

func (ApiCreateProjectSSHKeyRequest) Execute ¶

type ApiCreateSSHKeyRequest ¶

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

func (ApiCreateSSHKeyRequest) CreateProjectSSHKeyRequest ¶

func (r ApiCreateSSHKeyRequest) CreateProjectSSHKeyRequest(createProjectSSHKeyRequest CreateProjectSSHKeyRequest) ApiCreateSSHKeyRequest

ssh key to create

func (ApiCreateSSHKeyRequest) Execute ¶

type ApiCreateSelfServiceReservationRequest ¶

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

func (ApiCreateSelfServiceReservationRequest) CreateSelfServiceReservationRequest ¶

func (r ApiCreateSelfServiceReservationRequest) CreateSelfServiceReservationRequest(createSelfServiceReservationRequest CreateSelfServiceReservationRequest) ApiCreateSelfServiceReservationRequest

reservation to create

type ApiCreateSpotMarketRequestRequest ¶

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

func (ApiCreateSpotMarketRequestRequest) CreateSpotMarketRequestRequest ¶

func (r ApiCreateSpotMarketRequestRequest) CreateSpotMarketRequestRequest(createSpotMarketRequestRequest CreateSpotMarketRequestRequest) ApiCreateSpotMarketRequestRequest

Spot Market Request to create

type ApiCreateTransferRequestRequest ¶

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

func (ApiCreateTransferRequestRequest) CreateTransferRequestRequest ¶

func (r ApiCreateTransferRequestRequest) CreateTransferRequestRequest(createTransferRequestRequest CreateTransferRequestRequest) ApiCreateTransferRequestRequest

Transfer Request to create

type ApiCreateUserRequest ¶

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

func (ApiCreateUserRequest) CreateUserRequest ¶

func (r ApiCreateUserRequest) CreateUserRequest(createUserRequest CreateUserRequest) ApiCreateUserRequest

User to create

type ApiCreateValidationRequestRequest ¶

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

func (ApiCreateValidationRequestRequest) Execute ¶

func (ApiCreateValidationRequestRequest) Login ¶

Email for verification request

type ApiCreateVirtualNetworkRequest ¶

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

func (ApiCreateVirtualNetworkRequest) CreateVirtualNetworkRequest ¶

func (r ApiCreateVirtualNetworkRequest) CreateVirtualNetworkRequest(createVirtualNetworkRequest CreateVirtualNetworkRequest) ApiCreateVirtualNetworkRequest

Virtual Network to create

type ApiCreateVrfRequest ¶

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

func (ApiCreateVrfRequest) CreateVrfRequest ¶

func (r ApiCreateVrfRequest) CreateVrfRequest(createVrfRequest CreateVrfRequest) ApiCreateVrfRequest

VRF to create

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 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 ¶ added in v0.2.6

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

func (ApiDeleteInterconnectionRequest) Execute ¶ added in v0.2.6

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 ¶

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 ¶

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 ¶

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 ¶ added in v0.2.6

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

func (ApiDeleteVirtualCircuitRequest) Execute ¶ added in v0.2.6

type ApiDeleteVirtualNetworkRequest ¶

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

type ApiDeleteVrfRequest ¶

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

func (ApiDeleteVrfRequest) Execute ¶

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

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 ¶

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

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

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

type ApiFindBatchByIdRequest ¶

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

func (ApiFindBatchByIdRequest) 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 (ApiFindBatchByIdRequest) Execute ¶

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

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

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

func (ApiFindDeviceMetadataByIDRequest) Execute ¶

type ApiFindDeviceSSHKeysRequest ¶

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

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

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

func (ApiFindDeviceUserdataByIDRequest) Execute ¶

type ApiFindEmailByIdRequest ¶

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

func (ApiFindEmailByIdRequest) 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 (ApiFindEmailByIdRequest) Execute ¶

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

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

func (ApiFindInterconnectionEventsRequest) 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 (ApiFindInterconnectionEventsRequest) Execute ¶

func (ApiFindInterconnectionEventsRequest) 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 (ApiFindInterconnectionEventsRequest) Page ¶

Page to return

func (ApiFindInterconnectionEventsRequest) PerPage ¶

Items returned per page

type ApiFindInterconnectionPortEventsRequest ¶

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

func (ApiFindInterconnectionPortEventsRequest) 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 (ApiFindInterconnectionPortEventsRequest) Execute ¶

func (ApiFindInterconnectionPortEventsRequest) 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 (ApiFindInterconnectionPortEventsRequest) Page ¶

Page to return

func (ApiFindInterconnectionPortEventsRequest) PerPage ¶

Items returned per page

type ApiFindInvitationByIdRequest ¶

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

func (ApiFindInvitationByIdRequest) 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 (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) 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 (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) 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 (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) Execute ¶

type ApiFindMetalGatewaysByProjectRequest ¶

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

func (ApiFindMetalGatewaysByProjectRequest) Execute ¶

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 ¶

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

Filter by device facility

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

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

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

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

func (r ApiFindOrganizationsRequest) WithoutProjects(withoutProjects string) ApiFindOrganizationsRequest

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

type ApiFindPaymentMethodByIdRequest ¶

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

func (ApiFindPaymentMethodByIdRequest) 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 (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) 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 (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) Type_ ¶

Filter plans by its plan type

type ApiFindPortByIdRequest ¶

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

func (ApiFindPortByIdRequest) 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 (ApiFindPortByIdRequest) Execute ¶

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 ¶

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

Filter by device facility

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

Page to return

func (ApiFindProjectDevicesRequest) PerPage ¶

Items returned per page

func (ApiFindProjectDevicesRequest) Reserved ¶

Filter only reserved instances

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

type ApiFindProjectInvitationsRequest ¶

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

func (ApiFindProjectInvitationsRequest) 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 (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) 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 (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

type ApiFindProjectSSHKeysRequest ¶

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

func (ApiFindProjectSSHKeysRequest) 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 (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) SearchString ¶

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

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

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

func (r ApiFindSSHKeysRequest) SearchString(searchString string) ApiFindSSHKeysRequest

Search by key, label, or fingerprint

type ApiFindSelfServiceReservationRequest ¶

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

type ApiFindSelfServiceReservationsRequest ¶

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

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

func (r ApiFindTrafficRequest) Direction(direction string) ApiFindTrafficRequest

Traffic direction

func (ApiFindTrafficRequest) Execute ¶

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

func (ApiFindTrafficRequest) Interval ¶

func (r ApiFindTrafficRequest) Interval(interval string) ApiFindTrafficRequest

Traffic interval

func (ApiFindTrafficRequest) Timeframe ¶

type ApiFindTransferRequestByIdRequest ¶

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

func (ApiFindTransferRequestByIdRequest) 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 (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) 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 (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

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

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

func (ApiGetBgpNeighborDataRequest) Execute ¶

type ApiGetInterconnectionPortRequest ¶ added in v0.2.6

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

func (ApiGetInterconnectionPortRequest) Execute ¶ added in v0.2.6

type ApiGetInterconnectionRequest ¶ added in v0.2.6

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

func (ApiGetInterconnectionRequest) Execute ¶ added in v0.2.6

type ApiGetMetroRequest ¶

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

func (ApiGetMetroRequest) Execute ¶

type ApiGetVirtualCircuitRequest ¶ added in v0.2.6

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

func (ApiGetVirtualCircuitRequest) Execute ¶ added in v0.2.6

type ApiGetVirtualNetworkRequest ¶

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

type ApiListInterconnectionPortVirtualCircuitsRequest ¶ added in v0.2.6

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

func (ApiListInterconnectionPortVirtualCircuitsRequest) Execute ¶ added in v0.2.6

type ApiListInterconnectionPortsRequest ¶ added in v0.2.6

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

func (ApiListInterconnectionPortsRequest) Execute ¶ added in v0.2.6

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

Project UUID

func (ApiMoveHardwareReservationRequest) Execute ¶

type ApiOrganizationListInterconnectionsRequest ¶ added in v0.2.6

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

func (ApiOrganizationListInterconnectionsRequest) Execute ¶ added in v0.2.6

type ApiPerformActionRequest ¶

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

func (ApiPerformActionRequest) Execute ¶

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

func (ApiPerformActionRequest) Type_ ¶

Action to perform

type ApiProjectListInterconnectionsRequest ¶ added in v0.2.6

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

func (ApiProjectListInterconnectionsRequest) Execute ¶ added in v0.2.6

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

func (ApiRequestBgpConfigRequest) RequestBgpConfigRequest ¶

func (r ApiRequestBgpConfigRequest) RequestBgpConfigRequest(requestBgpConfigRequest RequestBgpConfigRequest) ApiRequestBgpConfigRequest

BGP config Request to create

type ApiRequestIPReservationRequest ¶

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

func (ApiRequestIPReservationRequest) Execute ¶

func (ApiRequestIPReservationRequest) RequestIPReservationRequest ¶

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

func (r ApiRequestSuppertRequest) RequestSuppertRequest(requestSuppertRequest RequestSuppertRequest) 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) AssignPortRequest ¶

func (r ApiUnassignPortRequest) AssignPortRequest(assignPortRequest AssignPortRequest) ApiUnassignPortRequest

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

func (ApiUnassignPortRequest) Execute ¶

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

func (r ApiUpdateCurrentUserRequest) UpdateCurrentUserRequest(updateCurrentUserRequest UpdateCurrentUserRequest) ApiUpdateCurrentUserRequest

User to update

type ApiUpdateDeviceRequest ¶

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

func (ApiUpdateDeviceRequest) Execute ¶

func (ApiUpdateDeviceRequest) UpdateDeviceRequest ¶

func (r ApiUpdateDeviceRequest) UpdateDeviceRequest(updateDeviceRequest UpdateDeviceRequest) ApiUpdateDeviceRequest

Facility to update

type ApiUpdateEmailRequest ¶

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

func (ApiUpdateEmailRequest) Execute ¶

func (ApiUpdateEmailRequest) UpdateEmailRequest ¶

func (r ApiUpdateEmailRequest) UpdateEmailRequest(updateEmailRequest UpdateEmailRequest) ApiUpdateEmailRequest

email to update

type ApiUpdateIPAddressRequest ¶

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

func (ApiUpdateIPAddressRequest) Customdata ¶

Provides the custom metadata stored for this IP Assignment in json format

func (ApiUpdateIPAddressRequest) Details ¶

Notes for this IP Assignment

func (ApiUpdateIPAddressRequest) Execute ¶

type ApiUpdateInterconnectionRequest ¶ added in v0.2.6

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

func (ApiUpdateInterconnectionRequest) Execute ¶ added in v0.2.6

func (ApiUpdateInterconnectionRequest) UpdateInterconnectionRequest ¶ added in v0.2.6

func (r ApiUpdateInterconnectionRequest) UpdateInterconnectionRequest(updateInterconnectionRequest UpdateInterconnectionRequest) ApiUpdateInterconnectionRequest

Updated interconnection details

type ApiUpdateLicenseRequest ¶

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

func (ApiUpdateLicenseRequest) Execute ¶

func (ApiUpdateLicenseRequest) UpdateLicenseRequest ¶

func (r ApiUpdateLicenseRequest) UpdateLicenseRequest(updateLicenseRequest UpdateLicenseRequest) ApiUpdateLicenseRequest

License to update

type ApiUpdateMembershipRequest ¶

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

func (ApiUpdateMembershipRequest) Execute ¶

func (ApiUpdateMembershipRequest) UpdateMembershipRequest ¶

func (r ApiUpdateMembershipRequest) UpdateMembershipRequest(updateMembershipRequest UpdateMembershipRequest) ApiUpdateMembershipRequest

Membership to update

type ApiUpdateOrganizationRequest ¶

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

func (ApiUpdateOrganizationRequest) CreateOrganizationRequest ¶

func (r ApiUpdateOrganizationRequest) CreateOrganizationRequest(createOrganizationRequest CreateOrganizationRequest) ApiUpdateOrganizationRequest

Organization to update

func (ApiUpdateOrganizationRequest) Execute ¶

type ApiUpdatePaymentMethodRequest ¶

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

func (ApiUpdatePaymentMethodRequest) UpdatePaymentMethodRequest ¶

func (r ApiUpdatePaymentMethodRequest) UpdatePaymentMethodRequest(updatePaymentMethodRequest UpdatePaymentMethodRequest) ApiUpdatePaymentMethodRequest

Payment Method to update

type ApiUpdateProjectRequest ¶

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

func (ApiUpdateProjectRequest) UpdateProjectRequest ¶

func (r ApiUpdateProjectRequest) UpdateProjectRequest(updateProjectRequest UpdateProjectRequest) ApiUpdateProjectRequest

Project to update

type ApiUpdateSSHKeyRequest ¶

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

func (ApiUpdateSSHKeyRequest) CreateDeviceRequestOneOfAllOf1SshKeysInner ¶

func (r ApiUpdateSSHKeyRequest) CreateDeviceRequestOneOfAllOf1SshKeysInner(createDeviceRequestOneOfAllOf1SshKeysInner CreateDeviceRequestOneOfAllOf1SshKeysInner) ApiUpdateSSHKeyRequest

ssh key to update

func (ApiUpdateSSHKeyRequest) Execute ¶

type ApiUpdateVirtualCircuitRequest ¶ added in v0.2.6

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

func (ApiUpdateVirtualCircuitRequest) Execute ¶ added in v0.2.6

func (ApiUpdateVirtualCircuitRequest) UpdateVirtualCircuitRequest ¶ added in v0.2.6

func (r ApiUpdateVirtualCircuitRequest) UpdateVirtualCircuitRequest(updateVirtualCircuitRequest UpdateVirtualCircuitRequest) ApiUpdateVirtualCircuitRequest

Updated Virtual Circuit details

type ApiUpdateVrfRequest ¶

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

func (ApiUpdateVrfRequest) UpdateVrfRequest ¶

func (r ApiUpdateVrfRequest) UpdateVrfRequest(updateVrfRequest UpdateVrfRequest) ApiUpdateVrfRequest

VRF to update

type ApiValidateUserdataRequest ¶

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

func (ApiValidateUserdataRequest) Execute ¶

func (ApiValidateUserdataRequest) Userdata ¶

Userdata to validate

type AssignPortRequest ¶

type AssignPortRequest struct {
	// Virtual Network ID. May be the UUID of the Virtual Network record, or the VLAN value itself.
	Vnid *string `json:"vnid,omitempty"`
}

AssignPortRequest struct for AssignPortRequest

func NewAssignPortRequest ¶

func NewAssignPortRequest() *AssignPortRequest

NewAssignPortRequest instantiates a new AssignPortRequest 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 NewAssignPortRequestWithDefaults ¶

func NewAssignPortRequestWithDefaults() *AssignPortRequest

NewAssignPortRequestWithDefaults instantiates a new AssignPortRequest 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 (*AssignPortRequest) GetVnid ¶

func (o *AssignPortRequest) GetVnid() string

GetVnid returns the Vnid field value if set, zero value otherwise.

func (*AssignPortRequest) GetVnidOk ¶

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

func (o *AssignPortRequest) HasVnid() bool

HasVnid returns a boolean if a field has been set.

func (AssignPortRequest) MarshalJSON ¶

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

func (*AssignPortRequest) SetVnid ¶

func (o *AssignPortRequest) SetVnid(v string)

SetVnid gets a reference to the given string and assigns it to the Vnid field.

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     *FindProjectAPIKeys200ResponseApiKeysInnerProject `json:"project,omitempty"`
	ReadOnly    *bool                                             `json:"read_only,omitempty"`
	Token       *string                                           `json:"token,omitempty"`
	UpdatedAt   *time.Time                                        `json:"updated_at,omitempty"`
	User        *FindProjectAPIKeys200ResponseApiKeysInnerUser    `json:"user,omitempty"`
}

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 ¶

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

func (*AuthToken) GetProjectOk ¶

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 ¶

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

func (*AuthToken) GetUserOk ¶

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 ¶

SetProject gets a reference to the given FindProjectAPIKeys200ResponseApiKeysInnerProject 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 ¶

SetUser gets a reference to the given FindProjectAPIKeys200ResponseApiKeysInnerUser and assigns it to the User field.

type AuthTokenInput ¶

type AuthTokenInput struct {
	Description *string `json:"description,omitempty"`
	ReadOnly    *bool   `json:"read_only,omitempty"`
}

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.

type AuthTokenList ¶

type AuthTokenList struct {
	ApiKeys []FindProjectAPIKeys200ResponseApiKeysInner `json:"api_keys,omitempty"`
}

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 ¶

GetApiKeys returns the ApiKeys field value if set, zero value otherwise.

func (*AuthTokenList) GetApiKeysOk ¶

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 ¶

SetApiKeys gets a reference to the given []FindProjectAPIKeys200ResponseApiKeysInner and assigns it to the ApiKeys field.

type AuthenticationApiService ¶

type AuthenticationApiService service

AuthenticationApiService AuthenticationApi service

func (*AuthenticationApiService) CreateAPIKey ¶

CreateAPIKey Create a 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 FindProjectAPIKeys200ResponseApiKeysInner

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 ¶

Execute executes the request

@return FindProjectAPIKeys200ResponseApiKeysInner

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 FindProjectAPIKeys200Response

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 FindProjectAPIKeys200Response

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 ¶

Execute executes the request

@return FindBgpConfigByProject200Response

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 ¶

Execute executes the request

@return FindBgpSessionById200Response

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 ¶

Execute executes the request

@return FindGlobalBgpRanges200Response

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 ¶

Execute executes the request

@return FindBgpSessions200Response

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 {
	// Address family for BGP session.
	AddressFamily *string `json:"address_family,omitempty"`
	// Set the default route policy.
	DefaultRoute *bool `json:"default_route,omitempty"`
}

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() string

GetAddressFamily returns the AddressFamily field value if set, zero value otherwise.

func (*BGPSessionInput) GetAddressFamilyOk ¶

func (o *BGPSessionInput) GetAddressFamilyOk() (*string, 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 string)

SetAddressFamily gets a reference to the given string 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.

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       []FindBatchById200ResponseDevicesInner `json:"devices,omitempty"`
	ErrorMessages []string                               `json:"error_messages,omitempty"`
	Id            *string                                `json:"id,omitempty"`
	Project       *FindBatchById200ResponseDevicesInner  `json:"project,omitempty"`
	Quantity      *int32                                 `json:"quantity,omitempty"`
	State         *string                                `json:"state,omitempty"`
	UpdatedAt     *time.Time                             `json:"updated_at,omitempty"`
}

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() []FindBatchById200ResponseDevicesInner

GetDevices returns the Devices field value if set, zero value otherwise.

func (*Batch) GetDevicesOk ¶

func (o *Batch) GetDevicesOk() ([]FindBatchById200ResponseDevicesInner, 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 ¶

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

func (*Batch) GetProjectOk ¶

func (o *Batch) GetProjectOk() (*FindBatchById200ResponseDevicesInner, 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 []FindBatchById200ResponseDevicesInner)

SetDevices gets a reference to the given []FindBatchById200ResponseDevicesInner 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 ¶

SetProject gets a reference to the given FindBatchById200ResponseDevicesInner 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.

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.

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.

The facilities attribute specifies in what datacenter you wish to create the device.

You can either specify a single facility `{ "facility": "f1" }` , or you can instruct 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"] }` will try to assign to the facility f3, if there are no available f2, and so on. If "any" is not specified for "facility", the request will fail unless it can assign in the selected locations.

With `{ "facility": "any" }` you have the option to diversify to indicate how many facilities you are willing to be spread across. For this purpose use parameter: `facility_diversity_level = N`.

For example:

`{ "facilities": ["sjc1", "ewr1", "any"] , "facility_diversity_level" = 1, "quantity" = 10 }` will assign 10 devices into the same facility, trying first in "sjc1", and if there aren’t available, it will try in "ewr1", otherwise any other.

The `ip_addresses` attribute will allow you to specify the addresses you want created with your device.

To maintain backwards compatibility, If the attribute is not sent in the request, it will be treated as if `{ "ip_addresses": [{ "address_family": 4, "public": true }, { "address_family": 4, "public": false }, { "address_family": 6, "public": true }] }` was sent.

The private IPv4 address is required and always need to be sent in the array. Not all operating systems support no public IPv4 address, so in those cases you will receive an error message.

For example, to only configure your server with a private IPv4 address, you can send `{ "ip_addresses": [{ "address_family": 4, "public": false }] }`.

Note: when specifying a subnet size larger than a /30, you will need to supply the UUID(s) of existing ip_reservations in your project to assign IPs from.

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 use another server with public IPs as a proxy.

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

Execute executes the request

@return FindBatchesByProject200Response

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 ¶

Execute executes the request

@return FindBatchById200Response

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 ¶

Execute executes the request

@return FindBatchesByProject200Response

type BatchesList ¶

type BatchesList struct {
	Batches []FindBatchById200Response `json:"batches,omitempty"`
}

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() []FindBatchById200Response

GetBatches returns the Batches field value if set, zero value otherwise.

func (*BatchesList) GetBatchesOk ¶

func (o *BatchesList) GetBatchesOk() ([]FindBatchById200Response, 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 []FindBatchById200Response)

SetBatches gets a reference to the given []FindBatchById200Response and assigns it to the Batches field.

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"`
	// 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.
	DeploymentType *string `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 *FindBatchById200ResponseDevicesInner `json:"project,omitempty"`
	// The IP block ranges associated to the ASN (Populated in Global BGP only)
	Ranges      []FindBgpConfigByProject200ResponseRangesInner `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 []FindBgpSessionById200Response `json:"sessions,omitempty"`
	// Status of the BGP Config. Status \"requested\" is valid only with the \"global\" deployment_type.
	Status *string `json:"status,omitempty"`
}

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() string

GetDeploymentType returns the DeploymentType field value if set, zero value otherwise.

func (*BgpConfig) GetDeploymentTypeOk ¶

func (o *BgpConfig) GetDeploymentTypeOk() (*string, 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 ¶

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

func (*BgpConfig) GetProjectOk ¶

func (o *BgpConfig) GetProjectOk() (*FindBatchById200ResponseDevicesInner, 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 ¶

GetRanges returns the Ranges field value if set, zero value otherwise.

func (*BgpConfig) GetRangesOk ¶

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() []FindBgpSessionById200Response

GetSessions returns the Sessions field value if set, zero value otherwise.

func (*BgpConfig) GetSessionsOk ¶

func (o *BgpConfig) GetSessionsOk() ([]FindBgpSessionById200Response, 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() string

GetStatus returns the Status field value if set, zero value otherwise.

func (*BgpConfig) GetStatusOk ¶

func (o *BgpConfig) 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 (*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 string)

SetDeploymentType gets a reference to the given string 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 ¶

SetProject gets a reference to the given FindBatchById200ResponseDevicesInner and assigns it to the Project field.

func (*BgpConfig) SetRanges ¶

SetRanges gets a reference to the given []FindBgpConfigByProject200ResponseRangesInner 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 []FindBgpSessionById200Response)

SetSessions gets a reference to the given []FindBgpSessionById200Response and assigns it to the Sessions field.

func (*BgpConfig) SetStatus ¶

func (o *BgpConfig) SetStatus(v string)

SetStatus gets a reference to the given string and assigns it to the Status field.

func (*BgpConfig) UnsetMd5 ¶

func (o *BgpConfig) UnsetMd5()

UnsetMd5 ensures that no value is present for Md5, not even an explicit nil

type BgpConfigRequestInput ¶

type BgpConfigRequestInput struct {
	Asn            int32   `json:"asn"`
	DeploymentType string  `json:"deployment_type"`
	Md5            *string `json:"md5,omitempty"`
	UseCase        *string `json:"use_case,omitempty"`
}

BgpConfigRequestInput struct for BgpConfigRequestInput

func NewBgpConfigRequestInput ¶

func NewBgpConfigRequestInput(asn int32, deploymentType string) *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 ¶

func (o *BgpConfigRequestInput) GetDeploymentType() string

GetDeploymentType returns the DeploymentType field value

func (*BgpConfigRequestInput) GetDeploymentTypeOk ¶

func (o *BgpConfigRequestInput) GetDeploymentTypeOk() (*string, 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 ¶

func (o *BgpConfigRequestInput) SetDeploymentType(v string)

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.

type BgpNeighborData ¶

type BgpNeighborData struct {
	// Address Family for IP Address. Accepted values are 4 or 6
	AddressFamily *float32 `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 *float32 `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 *float32 `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 []GetBgpNeighborData200ResponseBgpNeighborsInnerRoutesInInner `json:"routes_in,omitempty"`
	// A list of outgoing routes. Only populated if the BGP session has default route enabled.
	RoutesOut []GetBgpNeighborData200ResponseBgpNeighborsInnerRoutesOutInner `json:"routes_out,omitempty"`
}

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() float32

GetAddressFamily returns the AddressFamily field value if set, zero value otherwise.

func (*BgpNeighborData) GetAddressFamilyOk ¶

func (o *BgpNeighborData) GetAddressFamilyOk() (*float32, 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() float32

GetCustomerAs returns the CustomerAs field value if set, zero value otherwise.

func (*BgpNeighborData) GetCustomerAsOk ¶

func (o *BgpNeighborData) GetCustomerAsOk() (*float32, 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() float32

GetPeerAs returns the PeerAs field value if set, zero value otherwise.

func (*BgpNeighborData) GetPeerAsOk ¶

func (o *BgpNeighborData) GetPeerAsOk() (*float32, 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 ¶

GetRoutesIn returns the RoutesIn field value if set, zero value otherwise.

func (*BgpNeighborData) GetRoutesInOk ¶

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 ¶

GetRoutesOut returns the RoutesOut field value if set, zero value otherwise.

func (*BgpNeighborData) GetRoutesOutOk ¶

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 float32)

SetAddressFamily gets a reference to the given float32 and assigns it to the AddressFamily field.

func (*BgpNeighborData) SetCustomerAs ¶

func (o *BgpNeighborData) SetCustomerAs(v float32)

SetCustomerAs gets a reference to the given float32 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 float32)

SetPeerAs gets a reference to the given float32 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 ¶

SetRoutesIn gets a reference to the given []GetBgpNeighborData200ResponseBgpNeighborsInnerRoutesInInner and assigns it to the RoutesIn field.

func (*BgpNeighborData) SetRoutesOut ¶

SetRoutesOut gets a reference to the given []GetBgpNeighborData200ResponseBgpNeighborsInnerRoutesOutInner and assigns it to the RoutesOut field.

type BgpSession ¶

type BgpSession struct {
	AddressFamily string                                `json:"address_family"`
	CreatedAt     *time.Time                            `json:"created_at,omitempty"`
	DefaultRoute  *bool                                 `json:"default_route,omitempty"`
	Device        *FindBatchById200ResponseDevicesInner `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"`
}

BgpSession struct for BgpSession

func NewBgpSession ¶

func NewBgpSession(addressFamily string) *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() string

GetAddressFamily returns the AddressFamily field value

func (*BgpSession) GetAddressFamilyOk ¶

func (o *BgpSession) GetAddressFamilyOk() (*string, 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 ¶

GetDevice returns the Device field value if set, zero value otherwise.

func (*BgpSession) GetDeviceOk ¶

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 string)

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 ¶

SetDevice gets a reference to the given FindBatchById200ResponseDevicesInner 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.

type BgpSessionList ¶

type BgpSessionList struct {
	BgpSessions []FindBgpSessionById200Response `json:"bgp_sessions,omitempty"`
}

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() []FindBgpSessionById200Response

GetBgpSessions returns the BgpSessions field value if set, zero value otherwise.

func (*BgpSessionList) GetBgpSessionsOk ¶

func (o *BgpSessionList) GetBgpSessionsOk() ([]FindBgpSessionById200Response, 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 []FindBgpSessionById200Response)

SetBgpSessions gets a reference to the given []FindBgpSessionById200Response and assigns it to the BgpSessions field.

type BgpSessionNeighbors ¶

type BgpSessionNeighbors struct {
	// A list of BGP session neighbor data
	BgpNeighbors []GetBgpNeighborData200ResponseBgpNeighborsInner `json:"bgp_neighbors,omitempty"`
}

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 ¶

GetBgpNeighbors returns the BgpNeighbors field value if set, zero value otherwise.

func (*BgpSessionNeighbors) GetBgpNeighborsOk ¶

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 ¶

SetBgpNeighbors gets a reference to the given []GetBgpNeighborData200ResponseBgpNeighborsInner and assigns it to the BgpNeighbors field.

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

func (*CapacityApiService) CheckCapacityForFacilityExecute ¶

Execute executes the request

@return CheckCapacityForFacility200Response

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 CheckCapacityForMetro200Response

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 ¶

Execute executes the request

@return FindCapacityForFacility200Response

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 ¶

Execute executes the request

@return FindCapacityForMetro200Response

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 ¶

Execute executes the request

@return FindCapacityForFacility200Response

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 ¶

Execute executes the request

@return FindCapacityForMetro200Response

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"`
}

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.

type CapacityCheckPerFacilityList ¶

type CapacityCheckPerFacilityList struct {
	Servers []CheckCapacityForFacility200ResponseServersInner `json:"servers,omitempty"`
}

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 []CheckCapacityForFacility200ResponseServersInner and assigns it to the Servers field.

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"`
}

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.

type CapacityCheckPerMetroList ¶

type CapacityCheckPerMetroList struct {
	Servers []CheckCapacityForMetro200ResponseServersInner `json:"servers,omitempty"`
}

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 []CheckCapacityForMetro200ResponseServersInner and assigns it to the Servers field.

type CapacityInput ¶

type CapacityInput struct {
	Servers []CheckCapacityForFacilityRequestServersInner `json:"servers,omitempty"`
}

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 ¶

GetServers returns the Servers field value if set, zero value otherwise.

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

SetServers gets a reference to the given []CheckCapacityForFacilityRequestServersInner and assigns it to the Servers field.

type CapacityLevelPerBaremetal ¶

type CapacityLevelPerBaremetal struct {
	Level *string `json:"level,omitempty"`
}

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.

type CapacityList ¶

type CapacityList struct {
	Capacity *FindCapacityForFacility200ResponseCapacity `json:"capacity,omitempty"`
}

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 ¶

GetCapacity returns the Capacity field value if set, zero value otherwise.

func (*CapacityList) GetCapacityOk ¶

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 ¶

SetCapacity gets a reference to the given FindCapacityForFacility200ResponseCapacity and assigns it to the Capacity field.

type CapacityPerFacility ¶

type CapacityPerFacility struct {
	Baremetal0   *FindCapacityForFacility200ResponseCapacityAms1Baremetal0 `json:"baremetal_0,omitempty"`
	Baremetal1   *FindCapacityForFacility200ResponseCapacityAms1Baremetal0 `json:"baremetal_1,omitempty"`
	Baremetal2   *FindCapacityForFacility200ResponseCapacityAms1Baremetal0 `json:"baremetal_2,omitempty"`
	Baremetal2a  *FindCapacityForFacility200ResponseCapacityAms1Baremetal0 `json:"baremetal_2a,omitempty"`
	Baremetal2a2 *FindCapacityForFacility200ResponseCapacityAms1Baremetal0 `json:"baremetal_2a2,omitempty"`
	Baremetal3   *FindCapacityForFacility200ResponseCapacityAms1Baremetal0 `json:"baremetal_3,omitempty"`
	BaremetalS   *FindCapacityForFacility200ResponseCapacityAms1Baremetal0 `json:"baremetal_s,omitempty"`
	C2MediumX86  *FindCapacityForFacility200ResponseCapacityAms1Baremetal0 `json:"c2.medium.x86,omitempty"`
	M2XlargeX86  *FindCapacityForFacility200ResponseCapacityAms1Baremetal0 `json:"m2.xlarge.x86,omitempty"`
}

CapacityPerFacility struct for CapacityPerFacility

func NewCapacityPerFacility ¶

func NewCapacityPerFacility() *CapacityPerFacility

NewCapacityPerFacility instantiates a new CapacityPerFacility 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 NewCapacityPerFacilityWithDefaults ¶

func NewCapacityPerFacilityWithDefaults() *CapacityPerFacility

NewCapacityPerFacilityWithDefaults instantiates a new CapacityPerFacility 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 (*CapacityPerFacility) GetBaremetal0 ¶

GetBaremetal0 returns the Baremetal0 field value if set, zero value otherwise.

func (*CapacityPerFacility) GetBaremetal0Ok ¶

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 (*CapacityPerFacility) GetBaremetal1 ¶

GetBaremetal1 returns the Baremetal1 field value if set, zero value otherwise.

func (*CapacityPerFacility) GetBaremetal1Ok ¶

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 (*CapacityPerFacility) GetBaremetal2 ¶

GetBaremetal2 returns the Baremetal2 field value if set, zero value otherwise.

func (*CapacityPerFacility) GetBaremetal2Ok ¶

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 (*CapacityPerFacility) GetBaremetal2a ¶

GetBaremetal2a returns the Baremetal2a field value if set, zero value otherwise.

func (*CapacityPerFacility) GetBaremetal2a2 ¶

GetBaremetal2a2 returns the Baremetal2a2 field value if set, zero value otherwise.

func (*CapacityPerFacility) GetBaremetal2a2Ok ¶

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 (*CapacityPerFacility) GetBaremetal2aOk ¶

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 (*CapacityPerFacility) GetBaremetal3 ¶

GetBaremetal3 returns the Baremetal3 field value if set, zero value otherwise.

func (*CapacityPerFacility) GetBaremetal3Ok ¶

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 (*CapacityPerFacility) GetBaremetalS ¶

GetBaremetalS returns the BaremetalS field value if set, zero value otherwise.

func (*CapacityPerFacility) GetBaremetalSOk ¶

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 (*CapacityPerFacility) GetC2MediumX86 ¶

GetC2MediumX86 returns the C2MediumX86 field value if set, zero value otherwise.

func (*CapacityPerFacility) GetC2MediumX86Ok ¶

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 (*CapacityPerFacility) GetM2XlargeX86 ¶

GetM2XlargeX86 returns the M2XlargeX86 field value if set, zero value otherwise.

func (*CapacityPerFacility) GetM2XlargeX86Ok ¶

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 (*CapacityPerFacility) HasBaremetal0 ¶

func (o *CapacityPerFacility) HasBaremetal0() bool

HasBaremetal0 returns a boolean if a field has been set.

func (*CapacityPerFacility) HasBaremetal1 ¶

func (o *CapacityPerFacility) HasBaremetal1() bool

HasBaremetal1 returns a boolean if a field has been set.

func (*CapacityPerFacility) HasBaremetal2 ¶

func (o *CapacityPerFacility) HasBaremetal2() bool

HasBaremetal2 returns a boolean if a field has been set.

func (*CapacityPerFacility) HasBaremetal2a ¶

func (o *CapacityPerFacility) HasBaremetal2a() bool

HasBaremetal2a returns a boolean if a field has been set.

func (*CapacityPerFacility) HasBaremetal2a2 ¶

func (o *CapacityPerFacility) HasBaremetal2a2() bool

HasBaremetal2a2 returns a boolean if a field has been set.

func (*CapacityPerFacility) HasBaremetal3 ¶

func (o *CapacityPerFacility) HasBaremetal3() bool

HasBaremetal3 returns a boolean if a field has been set.

func (*CapacityPerFacility) HasBaremetalS ¶

func (o *CapacityPerFacility) HasBaremetalS() bool

HasBaremetalS returns a boolean if a field has been set.

func (*CapacityPerFacility) HasC2MediumX86 ¶

func (o *CapacityPerFacility) HasC2MediumX86() bool

HasC2MediumX86 returns a boolean if a field has been set.

func (*CapacityPerFacility) HasM2XlargeX86 ¶

func (o *CapacityPerFacility) HasM2XlargeX86() bool

HasM2XlargeX86 returns a boolean if a field has been set.

func (CapacityPerFacility) MarshalJSON ¶

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

func (*CapacityPerFacility) SetBaremetal0 ¶

SetBaremetal0 gets a reference to the given FindCapacityForFacility200ResponseCapacityAms1Baremetal0 and assigns it to the Baremetal0 field.

func (*CapacityPerFacility) SetBaremetal1 ¶

SetBaremetal1 gets a reference to the given FindCapacityForFacility200ResponseCapacityAms1Baremetal0 and assigns it to the Baremetal1 field.

func (*CapacityPerFacility) SetBaremetal2 ¶

SetBaremetal2 gets a reference to the given FindCapacityForFacility200ResponseCapacityAms1Baremetal0 and assigns it to the Baremetal2 field.

func (*CapacityPerFacility) SetBaremetal2a ¶

SetBaremetal2a gets a reference to the given FindCapacityForFacility200ResponseCapacityAms1Baremetal0 and assigns it to the Baremetal2a field.

func (*CapacityPerFacility) SetBaremetal2a2 ¶

SetBaremetal2a2 gets a reference to the given FindCapacityForFacility200ResponseCapacityAms1Baremetal0 and assigns it to the Baremetal2a2 field.

func (*CapacityPerFacility) SetBaremetal3 ¶

SetBaremetal3 gets a reference to the given FindCapacityForFacility200ResponseCapacityAms1Baremetal0 and assigns it to the Baremetal3 field.

func (*CapacityPerFacility) SetBaremetalS ¶

SetBaremetalS gets a reference to the given FindCapacityForFacility200ResponseCapacityAms1Baremetal0 and assigns it to the BaremetalS field.

func (*CapacityPerFacility) SetC2MediumX86 ¶

SetC2MediumX86 gets a reference to the given FindCapacityForFacility200ResponseCapacityAms1Baremetal0 and assigns it to the C2MediumX86 field.

func (*CapacityPerFacility) SetM2XlargeX86 ¶

SetM2XlargeX86 gets a reference to the given FindCapacityForFacility200ResponseCapacityAms1Baremetal0 and assigns it to the M2XlargeX86 field.

type CapacityPerMetroInput ¶

type CapacityPerMetroInput struct {
	Servers []CheckCapacityForMetroRequestServersInner `json:"servers,omitempty"`
}

CapacityPerMetroInput struct for CapacityPerMetroInput

func NewCapacityPerMetroInput ¶

func NewCapacityPerMetroInput() *CapacityPerMetroInput

NewCapacityPerMetroInput instantiates a new CapacityPerMetroInput 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 NewCapacityPerMetroInputWithDefaults ¶

func NewCapacityPerMetroInputWithDefaults() *CapacityPerMetroInput

NewCapacityPerMetroInputWithDefaults instantiates a new CapacityPerMetroInput 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 (*CapacityPerMetroInput) GetServers ¶

GetServers returns the Servers field value if set, zero value otherwise.

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

func (o *CapacityPerMetroInput) HasServers() bool

HasServers returns a boolean if a field has been set.

func (CapacityPerMetroInput) MarshalJSON ¶

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

func (*CapacityPerMetroInput) SetServers ¶

SetServers gets a reference to the given []CheckCapacityForMetroRequestServersInner and assigns it to the Servers field.

type CapacityPerNewFacility ¶

type CapacityPerNewFacility struct {
	Baremetal1e *FindCapacityForFacility200ResponseCapacityAms1Baremetal0 `json:"baremetal_1e,omitempty"`
}

CapacityPerNewFacility struct for CapacityPerNewFacility

func NewCapacityPerNewFacility ¶

func NewCapacityPerNewFacility() *CapacityPerNewFacility

NewCapacityPerNewFacility instantiates a new CapacityPerNewFacility 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 NewCapacityPerNewFacilityWithDefaults ¶

func NewCapacityPerNewFacilityWithDefaults() *CapacityPerNewFacility

NewCapacityPerNewFacilityWithDefaults instantiates a new CapacityPerNewFacility 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 (*CapacityPerNewFacility) GetBaremetal1e ¶

GetBaremetal1e returns the Baremetal1e field value if set, zero value otherwise.

func (*CapacityPerNewFacility) GetBaremetal1eOk ¶

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 (*CapacityPerNewFacility) HasBaremetal1e ¶

func (o *CapacityPerNewFacility) HasBaremetal1e() bool

HasBaremetal1e returns a boolean if a field has been set.

func (CapacityPerNewFacility) MarshalJSON ¶

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

func (*CapacityPerNewFacility) SetBaremetal1e ¶

SetBaremetal1e gets a reference to the given FindCapacityForFacility200ResponseCapacityAms1Baremetal0 and assigns it to the Baremetal1e field.

type CapacityReport ¶

type CapacityReport struct {
	Ams1 *FindCapacityForFacility200ResponseCapacityAms1 `json:"ams1,omitempty"`
	Atl1 *FindCapacityForFacility200ResponseCapacityAtl1 `json:"atl1,omitempty"`
	Dfw1 *FindCapacityForFacility200ResponseCapacityAtl1 `json:"dfw1,omitempty"`
	Ewr1 *FindCapacityForFacility200ResponseCapacityAms1 `json:"ewr1,omitempty"`
	Fra1 *FindCapacityForFacility200ResponseCapacityAtl1 `json:"fra1,omitempty"`
	Iad1 *FindCapacityForFacility200ResponseCapacityAtl1 `json:"iad1,omitempty"`
	Lax1 *FindCapacityForFacility200ResponseCapacityAtl1 `json:"lax1,omitempty"`
	Nrt1 *FindCapacityForFacility200ResponseCapacityAms1 `json:"nrt1,omitempty"`
	Ord1 *FindCapacityForFacility200ResponseCapacityAtl1 `json:"ord1,omitempty"`
	Sea1 *FindCapacityForFacility200ResponseCapacityAtl1 `json:"sea1,omitempty"`
	Sin1 *FindCapacityForFacility200ResponseCapacityAtl1 `json:"sin1,omitempty"`
	Sjc1 *FindCapacityForFacility200ResponseCapacityAms1 `json:"sjc1,omitempty"`
	Syd1 *FindCapacityForFacility200ResponseCapacityAtl1 `json:"syd1,omitempty"`
	Yyz1 *FindCapacityForFacility200ResponseCapacityAtl1 `json:"yyz1,omitempty"`
}

CapacityReport struct for CapacityReport

func NewCapacityReport ¶

func NewCapacityReport() *CapacityReport

NewCapacityReport instantiates a new CapacityReport 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 NewCapacityReportWithDefaults ¶

func NewCapacityReportWithDefaults() *CapacityReport

NewCapacityReportWithDefaults instantiates a new CapacityReport 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 (*CapacityReport) GetAms1 ¶

GetAms1 returns the Ams1 field value if set, zero value otherwise.

func (*CapacityReport) GetAms1Ok ¶

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 (*CapacityReport) GetAtl1 ¶

GetAtl1 returns the Atl1 field value if set, zero value otherwise.

func (*CapacityReport) GetAtl1Ok ¶

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 (*CapacityReport) GetDfw1 ¶

GetDfw1 returns the Dfw1 field value if set, zero value otherwise.

func (*CapacityReport) GetDfw1Ok ¶

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 (*CapacityReport) GetEwr1 ¶

GetEwr1 returns the Ewr1 field value if set, zero value otherwise.

func (*CapacityReport) GetEwr1Ok ¶

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 (*CapacityReport) GetFra1 ¶

GetFra1 returns the Fra1 field value if set, zero value otherwise.

func (*CapacityReport) GetFra1Ok ¶

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 (*CapacityReport) GetIad1 ¶

GetIad1 returns the Iad1 field value if set, zero value otherwise.

func (*CapacityReport) GetIad1Ok ¶

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 (*CapacityReport) GetLax1 ¶

GetLax1 returns the Lax1 field value if set, zero value otherwise.

func (*CapacityReport) GetLax1Ok ¶

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 (*CapacityReport) GetNrt1 ¶

GetNrt1 returns the Nrt1 field value if set, zero value otherwise.

func (*CapacityReport) GetNrt1Ok ¶

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 (*CapacityReport) GetOrd1 ¶

GetOrd1 returns the Ord1 field value if set, zero value otherwise.

func (*CapacityReport) GetOrd1Ok ¶

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 (*CapacityReport) GetSea1 ¶

GetSea1 returns the Sea1 field value if set, zero value otherwise.

func (*CapacityReport) GetSea1Ok ¶

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 (*CapacityReport) GetSin1 ¶

GetSin1 returns the Sin1 field value if set, zero value otherwise.

func (*CapacityReport) GetSin1Ok ¶

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 (*CapacityReport) GetSjc1 ¶

GetSjc1 returns the Sjc1 field value if set, zero value otherwise.

func (*CapacityReport) GetSjc1Ok ¶

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 (*CapacityReport) GetSyd1 ¶

GetSyd1 returns the Syd1 field value if set, zero value otherwise.

func (*CapacityReport) GetSyd1Ok ¶

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 (*CapacityReport) GetYyz1 ¶

GetYyz1 returns the Yyz1 field value if set, zero value otherwise.

func (*CapacityReport) GetYyz1Ok ¶

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 (*CapacityReport) HasAms1 ¶

func (o *CapacityReport) HasAms1() bool

HasAms1 returns a boolean if a field has been set.

func (*CapacityReport) HasAtl1 ¶

func (o *CapacityReport) HasAtl1() bool

HasAtl1 returns a boolean if a field has been set.

func (*CapacityReport) HasDfw1 ¶

func (o *CapacityReport) HasDfw1() bool

HasDfw1 returns a boolean if a field has been set.

func (*CapacityReport) HasEwr1 ¶

func (o *CapacityReport) HasEwr1() bool

HasEwr1 returns a boolean if a field has been set.

func (*CapacityReport) HasFra1 ¶

func (o *CapacityReport) HasFra1() bool

HasFra1 returns a boolean if a field has been set.

func (*CapacityReport) HasIad1 ¶

func (o *CapacityReport) HasIad1() bool

HasIad1 returns a boolean if a field has been set.

func (*CapacityReport) HasLax1 ¶

func (o *CapacityReport) HasLax1() bool

HasLax1 returns a boolean if a field has been set.

func (*CapacityReport) HasNrt1 ¶

func (o *CapacityReport) HasNrt1() bool

HasNrt1 returns a boolean if a field has been set.

func (*CapacityReport) HasOrd1 ¶

func (o *CapacityReport) HasOrd1() bool

HasOrd1 returns a boolean if a field has been set.

func (*CapacityReport) HasSea1 ¶

func (o *CapacityReport) HasSea1() bool

HasSea1 returns a boolean if a field has been set.

func (*CapacityReport) HasSin1 ¶

func (o *CapacityReport) HasSin1() bool

HasSin1 returns a boolean if a field has been set.

func (*CapacityReport) HasSjc1 ¶

func (o *CapacityReport) HasSjc1() bool

HasSjc1 returns a boolean if a field has been set.

func (*CapacityReport) HasSyd1 ¶

func (o *CapacityReport) HasSyd1() bool

HasSyd1 returns a boolean if a field has been set.

func (*CapacityReport) HasYyz1 ¶

func (o *CapacityReport) HasYyz1() bool

HasYyz1 returns a boolean if a field has been set.

func (CapacityReport) MarshalJSON ¶

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

func (*CapacityReport) SetAms1 ¶

SetAms1 gets a reference to the given FindCapacityForFacility200ResponseCapacityAms1 and assigns it to the Ams1 field.

func (*CapacityReport) SetAtl1 ¶

SetAtl1 gets a reference to the given FindCapacityForFacility200ResponseCapacityAtl1 and assigns it to the Atl1 field.

func (*CapacityReport) SetDfw1 ¶

SetDfw1 gets a reference to the given FindCapacityForFacility200ResponseCapacityAtl1 and assigns it to the Dfw1 field.

func (*CapacityReport) SetEwr1 ¶

SetEwr1 gets a reference to the given FindCapacityForFacility200ResponseCapacityAms1 and assigns it to the Ewr1 field.

func (*CapacityReport) SetFra1 ¶

SetFra1 gets a reference to the given FindCapacityForFacility200ResponseCapacityAtl1 and assigns it to the Fra1 field.

func (*CapacityReport) SetIad1 ¶

SetIad1 gets a reference to the given FindCapacityForFacility200ResponseCapacityAtl1 and assigns it to the Iad1 field.

func (*CapacityReport) SetLax1 ¶

SetLax1 gets a reference to the given FindCapacityForFacility200ResponseCapacityAtl1 and assigns it to the Lax1 field.

func (*CapacityReport) SetNrt1 ¶

SetNrt1 gets a reference to the given FindCapacityForFacility200ResponseCapacityAms1 and assigns it to the Nrt1 field.

func (*CapacityReport) SetOrd1 ¶

SetOrd1 gets a reference to the given FindCapacityForFacility200ResponseCapacityAtl1 and assigns it to the Ord1 field.

func (*CapacityReport) SetSea1 ¶

SetSea1 gets a reference to the given FindCapacityForFacility200ResponseCapacityAtl1 and assigns it to the Sea1 field.

func (*CapacityReport) SetSin1 ¶

SetSin1 gets a reference to the given FindCapacityForFacility200ResponseCapacityAtl1 and assigns it to the Sin1 field.

func (*CapacityReport) SetSjc1 ¶

SetSjc1 gets a reference to the given FindCapacityForFacility200ResponseCapacityAms1 and assigns it to the Sjc1 field.

func (*CapacityReport) SetSyd1 ¶

SetSyd1 gets a reference to the given FindCapacityForFacility200ResponseCapacityAtl1 and assigns it to the Syd1 field.

func (*CapacityReport) SetYyz1 ¶

SetYyz1 gets a reference to the given FindCapacityForFacility200ResponseCapacityAtl1 and assigns it to the Yyz1 field.

type CheckCapacityForFacility200Response ¶

type CheckCapacityForFacility200Response struct {
	Servers []CheckCapacityForFacility200ResponseServersInner `json:"servers,omitempty"`
}

CheckCapacityForFacility200Response struct for CheckCapacityForFacility200Response

func NewCheckCapacityForFacility200Response ¶

func NewCheckCapacityForFacility200Response() *CheckCapacityForFacility200Response

NewCheckCapacityForFacility200Response instantiates a new CheckCapacityForFacility200Response 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 NewCheckCapacityForFacility200ResponseWithDefaults ¶

func NewCheckCapacityForFacility200ResponseWithDefaults() *CheckCapacityForFacility200Response

NewCheckCapacityForFacility200ResponseWithDefaults instantiates a new CheckCapacityForFacility200Response 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 (*CheckCapacityForFacility200Response) GetServers ¶

GetServers returns the Servers field value if set, zero value otherwise.

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

func (o *CheckCapacityForFacility200Response) HasServers() bool

HasServers returns a boolean if a field has been set.

func (CheckCapacityForFacility200Response) MarshalJSON ¶

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

func (*CheckCapacityForFacility200Response) SetServers ¶

SetServers gets a reference to the given []CheckCapacityForFacility200ResponseServersInner and assigns it to the Servers field.

type CheckCapacityForFacility200ResponseServersInner ¶

type CheckCapacityForFacility200ResponseServersInner struct {
	Available *bool   `json:"available,omitempty"`
	Facility  *string `json:"facility,omitempty"`
	Plan      *string `json:"plan,omitempty"`
	Quantity  *string `json:"quantity,omitempty"`
}

CheckCapacityForFacility200ResponseServersInner struct for CheckCapacityForFacility200ResponseServersInner

func NewCheckCapacityForFacility200ResponseServersInner ¶

func NewCheckCapacityForFacility200ResponseServersInner() *CheckCapacityForFacility200ResponseServersInner

NewCheckCapacityForFacility200ResponseServersInner instantiates a new CheckCapacityForFacility200ResponseServersInner 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 NewCheckCapacityForFacility200ResponseServersInnerWithDefaults ¶

func NewCheckCapacityForFacility200ResponseServersInnerWithDefaults() *CheckCapacityForFacility200ResponseServersInner

NewCheckCapacityForFacility200ResponseServersInnerWithDefaults instantiates a new CheckCapacityForFacility200ResponseServersInner 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 (*CheckCapacityForFacility200ResponseServersInner) GetAvailable ¶

GetAvailable returns the Available field value if set, zero value otherwise.

func (*CheckCapacityForFacility200ResponseServersInner) GetAvailableOk ¶

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 (*CheckCapacityForFacility200ResponseServersInner) GetFacility ¶

GetFacility returns the Facility field value if set, zero value otherwise.

func (*CheckCapacityForFacility200ResponseServersInner) GetFacilityOk ¶

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 (*CheckCapacityForFacility200ResponseServersInner) GetPlan ¶

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

func (*CheckCapacityForFacility200ResponseServersInner) GetPlanOk ¶

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 (*CheckCapacityForFacility200ResponseServersInner) GetQuantity ¶

GetQuantity returns the Quantity field value if set, zero value otherwise.

func (*CheckCapacityForFacility200ResponseServersInner) GetQuantityOk ¶

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 (*CheckCapacityForFacility200ResponseServersInner) HasAvailable ¶

HasAvailable returns a boolean if a field has been set.

func (*CheckCapacityForFacility200ResponseServersInner) HasFacility ¶

HasFacility returns a boolean if a field has been set.

func (*CheckCapacityForFacility200ResponseServersInner) HasPlan ¶

HasPlan returns a boolean if a field has been set.

func (*CheckCapacityForFacility200ResponseServersInner) HasQuantity ¶

HasQuantity returns a boolean if a field has been set.

func (CheckCapacityForFacility200ResponseServersInner) MarshalJSON ¶

func (*CheckCapacityForFacility200ResponseServersInner) SetAvailable ¶

SetAvailable gets a reference to the given bool and assigns it to the Available field.

func (*CheckCapacityForFacility200ResponseServersInner) SetFacility ¶

SetFacility gets a reference to the given string and assigns it to the Facility field.

func (*CheckCapacityForFacility200ResponseServersInner) SetPlan ¶

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

func (*CheckCapacityForFacility200ResponseServersInner) SetQuantity ¶

SetQuantity gets a reference to the given string and assigns it to the Quantity field.

type CheckCapacityForFacilityRequest ¶

type CheckCapacityForFacilityRequest struct {
	Servers []CheckCapacityForFacilityRequestServersInner `json:"servers,omitempty"`
}

CheckCapacityForFacilityRequest struct for CheckCapacityForFacilityRequest

func NewCheckCapacityForFacilityRequest ¶

func NewCheckCapacityForFacilityRequest() *CheckCapacityForFacilityRequest

NewCheckCapacityForFacilityRequest instantiates a new CheckCapacityForFacilityRequest 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 NewCheckCapacityForFacilityRequestWithDefaults ¶

func NewCheckCapacityForFacilityRequestWithDefaults() *CheckCapacityForFacilityRequest

NewCheckCapacityForFacilityRequestWithDefaults instantiates a new CheckCapacityForFacilityRequest 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 (*CheckCapacityForFacilityRequest) GetServers ¶

GetServers returns the Servers field value if set, zero value otherwise.

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

func (o *CheckCapacityForFacilityRequest) HasServers() bool

HasServers returns a boolean if a field has been set.

func (CheckCapacityForFacilityRequest) MarshalJSON ¶

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

func (*CheckCapacityForFacilityRequest) SetServers ¶

SetServers gets a reference to the given []CheckCapacityForFacilityRequestServersInner and assigns it to the Servers field.

type CheckCapacityForFacilityRequestServersInner ¶

type CheckCapacityForFacilityRequestServersInner struct {
	Facility *string `json:"facility,omitempty"`
	Plan     *string `json:"plan,omitempty"`
	Quantity *string `json:"quantity,omitempty"`
}

CheckCapacityForFacilityRequestServersInner struct for CheckCapacityForFacilityRequestServersInner

func NewCheckCapacityForFacilityRequestServersInner ¶

func NewCheckCapacityForFacilityRequestServersInner() *CheckCapacityForFacilityRequestServersInner

NewCheckCapacityForFacilityRequestServersInner instantiates a new CheckCapacityForFacilityRequestServersInner 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 NewCheckCapacityForFacilityRequestServersInnerWithDefaults ¶

func NewCheckCapacityForFacilityRequestServersInnerWithDefaults() *CheckCapacityForFacilityRequestServersInner

NewCheckCapacityForFacilityRequestServersInnerWithDefaults instantiates a new CheckCapacityForFacilityRequestServersInner 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 (*CheckCapacityForFacilityRequestServersInner) GetFacility ¶

GetFacility returns the Facility field value if set, zero value otherwise.

func (*CheckCapacityForFacilityRequestServersInner) GetFacilityOk ¶

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 (*CheckCapacityForFacilityRequestServersInner) GetPlan ¶

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

func (*CheckCapacityForFacilityRequestServersInner) GetPlanOk ¶

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 (*CheckCapacityForFacilityRequestServersInner) GetQuantity ¶

GetQuantity returns the Quantity field value if set, zero value otherwise.

func (*CheckCapacityForFacilityRequestServersInner) GetQuantityOk ¶

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 (*CheckCapacityForFacilityRequestServersInner) HasFacility ¶

HasFacility returns a boolean if a field has been set.

func (*CheckCapacityForFacilityRequestServersInner) HasPlan ¶

HasPlan returns a boolean if a field has been set.

func (*CheckCapacityForFacilityRequestServersInner) HasQuantity ¶

HasQuantity returns a boolean if a field has been set.

func (CheckCapacityForFacilityRequestServersInner) MarshalJSON ¶

func (*CheckCapacityForFacilityRequestServersInner) SetFacility ¶

SetFacility gets a reference to the given string and assigns it to the Facility field.

func (*CheckCapacityForFacilityRequestServersInner) SetPlan ¶

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

func (*CheckCapacityForFacilityRequestServersInner) SetQuantity ¶

SetQuantity gets a reference to the given string and assigns it to the Quantity field.

type CheckCapacityForMetro200Response ¶

type CheckCapacityForMetro200Response struct {
	Servers []CheckCapacityForMetro200ResponseServersInner `json:"servers,omitempty"`
}

CheckCapacityForMetro200Response struct for CheckCapacityForMetro200Response

func NewCheckCapacityForMetro200Response ¶

func NewCheckCapacityForMetro200Response() *CheckCapacityForMetro200Response

NewCheckCapacityForMetro200Response instantiates a new CheckCapacityForMetro200Response 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 NewCheckCapacityForMetro200ResponseWithDefaults ¶

func NewCheckCapacityForMetro200ResponseWithDefaults() *CheckCapacityForMetro200Response

NewCheckCapacityForMetro200ResponseWithDefaults instantiates a new CheckCapacityForMetro200Response 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 (*CheckCapacityForMetro200Response) GetServers ¶

GetServers returns the Servers field value if set, zero value otherwise.

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

func (o *CheckCapacityForMetro200Response) HasServers() bool

HasServers returns a boolean if a field has been set.

func (CheckCapacityForMetro200Response) MarshalJSON ¶

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

func (*CheckCapacityForMetro200Response) SetServers ¶

SetServers gets a reference to the given []CheckCapacityForMetro200ResponseServersInner and assigns it to the Servers field.

type CheckCapacityForMetro200ResponseServersInner ¶

type CheckCapacityForMetro200ResponseServersInner 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"`
}

CheckCapacityForMetro200ResponseServersInner struct for CheckCapacityForMetro200ResponseServersInner

func NewCheckCapacityForMetro200ResponseServersInner ¶

func NewCheckCapacityForMetro200ResponseServersInner() *CheckCapacityForMetro200ResponseServersInner

NewCheckCapacityForMetro200ResponseServersInner instantiates a new CheckCapacityForMetro200ResponseServersInner 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 NewCheckCapacityForMetro200ResponseServersInnerWithDefaults ¶

func NewCheckCapacityForMetro200ResponseServersInnerWithDefaults() *CheckCapacityForMetro200ResponseServersInner

NewCheckCapacityForMetro200ResponseServersInnerWithDefaults instantiates a new CheckCapacityForMetro200ResponseServersInner 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 (*CheckCapacityForMetro200ResponseServersInner) GetAvailable ¶

GetAvailable returns the Available field value if set, zero value otherwise.

func (*CheckCapacityForMetro200ResponseServersInner) GetAvailableOk ¶

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

GetMetro returns the Metro field value if set, zero value otherwise.

func (*CheckCapacityForMetro200ResponseServersInner) GetMetroOk ¶

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 (*CheckCapacityForMetro200ResponseServersInner) GetPlan ¶

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

func (*CheckCapacityForMetro200ResponseServersInner) GetPlanOk ¶

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 (*CheckCapacityForMetro200ResponseServersInner) GetQuantity ¶

GetQuantity returns the Quantity field value if set, zero value otherwise.

func (*CheckCapacityForMetro200ResponseServersInner) GetQuantityOk ¶

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 (*CheckCapacityForMetro200ResponseServersInner) HasAvailable ¶

HasAvailable returns a boolean if a field has been set.

func (*CheckCapacityForMetro200ResponseServersInner) HasMetro ¶

HasMetro returns a boolean if a field has been set.

func (*CheckCapacityForMetro200ResponseServersInner) HasPlan ¶

HasPlan returns a boolean if a field has been set.

func (*CheckCapacityForMetro200ResponseServersInner) HasQuantity ¶

HasQuantity returns a boolean if a field has been set.

func (CheckCapacityForMetro200ResponseServersInner) MarshalJSON ¶

func (*CheckCapacityForMetro200ResponseServersInner) SetAvailable ¶

SetAvailable gets a reference to the given bool and assigns it to the Available field.

func (*CheckCapacityForMetro200ResponseServersInner) SetMetro ¶

SetMetro gets a reference to the given string and assigns it to the Metro field.

func (*CheckCapacityForMetro200ResponseServersInner) SetPlan ¶

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

func (*CheckCapacityForMetro200ResponseServersInner) SetQuantity ¶

SetQuantity gets a reference to the given string and assigns it to the Quantity field.

type CheckCapacityForMetroRequest ¶

type CheckCapacityForMetroRequest struct {
	Servers []CheckCapacityForMetroRequestServersInner `json:"servers,omitempty"`
}

CheckCapacityForMetroRequest struct for CheckCapacityForMetroRequest

func NewCheckCapacityForMetroRequest ¶

func NewCheckCapacityForMetroRequest() *CheckCapacityForMetroRequest

NewCheckCapacityForMetroRequest instantiates a new CheckCapacityForMetroRequest 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 NewCheckCapacityForMetroRequestWithDefaults ¶

func NewCheckCapacityForMetroRequestWithDefaults() *CheckCapacityForMetroRequest

NewCheckCapacityForMetroRequestWithDefaults instantiates a new CheckCapacityForMetroRequest 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 (*CheckCapacityForMetroRequest) GetServers ¶

GetServers returns the Servers field value if set, zero value otherwise.

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

func (o *CheckCapacityForMetroRequest) HasServers() bool

HasServers returns a boolean if a field has been set.

func (CheckCapacityForMetroRequest) MarshalJSON ¶

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

func (*CheckCapacityForMetroRequest) SetServers ¶

SetServers gets a reference to the given []CheckCapacityForMetroRequestServersInner and assigns it to the Servers field.

type CheckCapacityForMetroRequestServersInner ¶

type CheckCapacityForMetroRequestServersInner struct {
	// 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"`
}

CheckCapacityForMetroRequestServersInner struct for CheckCapacityForMetroRequestServersInner

func NewCheckCapacityForMetroRequestServersInner ¶

func NewCheckCapacityForMetroRequestServersInner() *CheckCapacityForMetroRequestServersInner

NewCheckCapacityForMetroRequestServersInner instantiates a new CheckCapacityForMetroRequestServersInner 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 NewCheckCapacityForMetroRequestServersInnerWithDefaults ¶

func NewCheckCapacityForMetroRequestServersInnerWithDefaults() *CheckCapacityForMetroRequestServersInner

NewCheckCapacityForMetroRequestServersInnerWithDefaults instantiates a new CheckCapacityForMetroRequestServersInner 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 (*CheckCapacityForMetroRequestServersInner) GetMetro ¶

GetMetro returns the Metro field value if set, zero value otherwise.

func (*CheckCapacityForMetroRequestServersInner) GetMetroOk ¶

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 (*CheckCapacityForMetroRequestServersInner) GetPlan ¶

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

func (*CheckCapacityForMetroRequestServersInner) GetPlanOk ¶

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 (*CheckCapacityForMetroRequestServersInner) GetQuantity ¶

GetQuantity returns the Quantity field value if set, zero value otherwise.

func (*CheckCapacityForMetroRequestServersInner) GetQuantityOk ¶

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

HasMetro returns a boolean if a field has been set.

func (*CheckCapacityForMetroRequestServersInner) HasPlan ¶

HasPlan returns a boolean if a field has been set.

func (*CheckCapacityForMetroRequestServersInner) HasQuantity ¶

HasQuantity returns a boolean if a field has been set.

func (CheckCapacityForMetroRequestServersInner) MarshalJSON ¶

func (*CheckCapacityForMetroRequestServersInner) SetMetro ¶

SetMetro gets a reference to the given string and assigns it to the Metro field.

func (*CheckCapacityForMetroRequestServersInner) SetPlan ¶

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

func (*CheckCapacityForMetroRequestServersInner) SetQuantity ¶

SetQuantity gets a reference to the given string and assigns it to the Quantity field.

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

type ConvertLayer3Request struct {
	RequestIps []ConvertLayer3RequestRequestIpsInner `json:"request_ips,omitempty"`
}

ConvertLayer3Request struct for ConvertLayer3Request

func NewConvertLayer3Request ¶

func NewConvertLayer3Request() *ConvertLayer3Request

NewConvertLayer3Request instantiates a new ConvertLayer3Request 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 NewConvertLayer3RequestWithDefaults ¶

func NewConvertLayer3RequestWithDefaults() *ConvertLayer3Request

NewConvertLayer3RequestWithDefaults instantiates a new ConvertLayer3Request 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 (*ConvertLayer3Request) GetRequestIps ¶

GetRequestIps returns the RequestIps field value if set, zero value otherwise.

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

func (o *ConvertLayer3Request) HasRequestIps() bool

HasRequestIps returns a boolean if a field has been set.

func (ConvertLayer3Request) MarshalJSON ¶

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

func (*ConvertLayer3Request) SetRequestIps ¶

SetRequestIps gets a reference to the given []ConvertLayer3RequestRequestIpsInner and assigns it to the RequestIps field.

type ConvertLayer3RequestRequestIpsInner ¶

type ConvertLayer3RequestRequestIpsInner struct {
	AddressFamily *int32 `json:"address_family,omitempty"`
	Public        *bool  `json:"public,omitempty"`
}

ConvertLayer3RequestRequestIpsInner struct for ConvertLayer3RequestRequestIpsInner

func NewConvertLayer3RequestRequestIpsInner ¶

func NewConvertLayer3RequestRequestIpsInner() *ConvertLayer3RequestRequestIpsInner

NewConvertLayer3RequestRequestIpsInner instantiates a new ConvertLayer3RequestRequestIpsInner 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 NewConvertLayer3RequestRequestIpsInnerWithDefaults ¶

func NewConvertLayer3RequestRequestIpsInnerWithDefaults() *ConvertLayer3RequestRequestIpsInner

NewConvertLayer3RequestRequestIpsInnerWithDefaults instantiates a new ConvertLayer3RequestRequestIpsInner 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 (*ConvertLayer3RequestRequestIpsInner) GetAddressFamily ¶

func (o *ConvertLayer3RequestRequestIpsInner) GetAddressFamily() int32

GetAddressFamily returns the AddressFamily field value if set, zero value otherwise.

func (*ConvertLayer3RequestRequestIpsInner) GetAddressFamilyOk ¶

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

GetPublic returns the Public field value if set, zero value otherwise.

func (*ConvertLayer3RequestRequestIpsInner) GetPublicOk ¶

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

func (o *ConvertLayer3RequestRequestIpsInner) HasAddressFamily() bool

HasAddressFamily returns a boolean if a field has been set.

func (*ConvertLayer3RequestRequestIpsInner) HasPublic ¶

HasPublic returns a boolean if a field has been set.

func (ConvertLayer3RequestRequestIpsInner) MarshalJSON ¶

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

func (*ConvertLayer3RequestRequestIpsInner) SetAddressFamily ¶

func (o *ConvertLayer3RequestRequestIpsInner) SetAddressFamily(v int32)

SetAddressFamily gets a reference to the given int32 and assigns it to the AddressFamily field.

func (*ConvertLayer3RequestRequestIpsInner) SetPublic ¶

func (o *ConvertLayer3RequestRequestIpsInner) SetPublic(v bool)

SetPublic gets a reference to the given bool and assigns it to the Public field.

type Coordinates ¶

type Coordinates struct {
	Latitude  *string `json:"latitude,omitempty"`
	Longitude *string `json:"longitude,omitempty"`
}

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.

type CreateBgpSessionRequest ¶

type CreateBgpSessionRequest struct {
	// Address family for BGP session.
	AddressFamily *string `json:"address_family,omitempty"`
	// Set the default route policy.
	DefaultRoute *bool `json:"default_route,omitempty"`
}

CreateBgpSessionRequest struct for CreateBgpSessionRequest

func NewCreateBgpSessionRequest ¶

func NewCreateBgpSessionRequest() *CreateBgpSessionRequest

NewCreateBgpSessionRequest instantiates a new CreateBgpSessionRequest 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 NewCreateBgpSessionRequestWithDefaults ¶

func NewCreateBgpSessionRequestWithDefaults() *CreateBgpSessionRequest

NewCreateBgpSessionRequestWithDefaults instantiates a new CreateBgpSessionRequest 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 (*CreateBgpSessionRequest) GetAddressFamily ¶

func (o *CreateBgpSessionRequest) GetAddressFamily() string

GetAddressFamily returns the AddressFamily field value if set, zero value otherwise.

func (*CreateBgpSessionRequest) GetAddressFamilyOk ¶

func (o *CreateBgpSessionRequest) GetAddressFamilyOk() (*string, 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 (*CreateBgpSessionRequest) GetDefaultRoute ¶

func (o *CreateBgpSessionRequest) GetDefaultRoute() bool

GetDefaultRoute returns the DefaultRoute field value if set, zero value otherwise.

func (*CreateBgpSessionRequest) GetDefaultRouteOk ¶

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

func (o *CreateBgpSessionRequest) HasAddressFamily() bool

HasAddressFamily returns a boolean if a field has been set.

func (*CreateBgpSessionRequest) HasDefaultRoute ¶

func (o *CreateBgpSessionRequest) HasDefaultRoute() bool

HasDefaultRoute returns a boolean if a field has been set.

func (CreateBgpSessionRequest) MarshalJSON ¶

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

func (*CreateBgpSessionRequest) SetAddressFamily ¶

func (o *CreateBgpSessionRequest) SetAddressFamily(v string)

SetAddressFamily gets a reference to the given string and assigns it to the AddressFamily field.

func (*CreateBgpSessionRequest) SetDefaultRoute ¶

func (o *CreateBgpSessionRequest) SetDefaultRoute(v bool)

SetDefaultRoute gets a reference to the given bool and assigns it to the DefaultRoute field.

type CreateDeviceBatchRequest ¶

type CreateDeviceBatchRequest struct {
	Batches []CreateDeviceBatchRequestBatchesInner `json:"batches,omitempty"`
}

CreateDeviceBatchRequest struct for CreateDeviceBatchRequest

func NewCreateDeviceBatchRequest ¶

func NewCreateDeviceBatchRequest() *CreateDeviceBatchRequest

NewCreateDeviceBatchRequest instantiates a new CreateDeviceBatchRequest 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 NewCreateDeviceBatchRequestWithDefaults ¶

func NewCreateDeviceBatchRequestWithDefaults() *CreateDeviceBatchRequest

NewCreateDeviceBatchRequestWithDefaults instantiates a new CreateDeviceBatchRequest 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 (*CreateDeviceBatchRequest) GetBatches ¶

GetBatches returns the Batches field value if set, zero value otherwise.

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

func (o *CreateDeviceBatchRequest) HasBatches() bool

HasBatches returns a boolean if a field has been set.

func (CreateDeviceBatchRequest) MarshalJSON ¶

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

func (*CreateDeviceBatchRequest) SetBatches ¶

SetBatches gets a reference to the given []CreateDeviceBatchRequestBatchesInner and assigns it to the Batches field.

type CreateDeviceBatchRequestBatchesInner ¶

type CreateDeviceBatchRequestBatchesInner 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"`
	// Array of facility codes the batch can use for provisioning. This param also takes a string if you want the batch to be fulfilled in only one facility. Cannot be set if the metro is already set.
	Facility    []string                                               `json:"facility,omitempty"`
	Features    []string                                               `json:"features,omitempty"`
	Hostname    *string                                                `json:"hostname,omitempty"`
	Hostnames   []string                                               `json:"hostnames,omitempty"`
	IpAddresses []CreateDeviceBatchRequestBatchesInnerIpAddressesInner `json:"ip_addresses,omitempty"`
	Locked      *bool                                                  `json:"locked,omitempty"`
	// The metro ID or code the batch can use for provisioning. Cannot be set if the facility is already set.
	Metro           *string    `json:"metro,omitempty"`
	NoSshKeys       *bool      `json:"no_ssh_keys,omitempty"`
	OperatingSystem *string    `json:"operating_system,omitempty"`
	Plan            *string    `json:"plan,omitempty"`
	ProjectSshKeys  []string   `json:"project_ssh_keys,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"`
}

CreateDeviceBatchRequestBatchesInner struct for CreateDeviceBatchRequestBatchesInner

func NewCreateDeviceBatchRequestBatchesInner ¶

func NewCreateDeviceBatchRequestBatchesInner() *CreateDeviceBatchRequestBatchesInner

NewCreateDeviceBatchRequestBatchesInner instantiates a new CreateDeviceBatchRequestBatchesInner 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 NewCreateDeviceBatchRequestBatchesInnerWithDefaults ¶

func NewCreateDeviceBatchRequestBatchesInnerWithDefaults() *CreateDeviceBatchRequestBatchesInner

NewCreateDeviceBatchRequestBatchesInnerWithDefaults instantiates a new CreateDeviceBatchRequestBatchesInner 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 (*CreateDeviceBatchRequestBatchesInner) GetAlwaysPxe ¶

func (o *CreateDeviceBatchRequestBatchesInner) GetAlwaysPxe() bool

GetAlwaysPxe returns the AlwaysPxe field value if set, zero value otherwise.

func (*CreateDeviceBatchRequestBatchesInner) GetAlwaysPxeOk ¶

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

func (o *CreateDeviceBatchRequestBatchesInner) GetBillingCycle() string

GetBillingCycle returns the BillingCycle field value if set, zero value otherwise.

func (*CreateDeviceBatchRequestBatchesInner) GetBillingCycleOk ¶

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

func (o *CreateDeviceBatchRequestBatchesInner) GetCustomdata() map[string]interface{}

GetCustomdata returns the Customdata field value if set, zero value otherwise.

func (*CreateDeviceBatchRequestBatchesInner) GetCustomdataOk ¶

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

func (o *CreateDeviceBatchRequestBatchesInner) GetDescription() string

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

func (*CreateDeviceBatchRequestBatchesInner) GetDescriptionOk ¶

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

func (o *CreateDeviceBatchRequestBatchesInner) GetFacility() []string

GetFacility returns the Facility field value if set, zero value otherwise.

func (*CreateDeviceBatchRequestBatchesInner) GetFacilityOk ¶

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

func (o *CreateDeviceBatchRequestBatchesInner) GetFeatures() []string

GetFeatures returns the Features field value if set, zero value otherwise.

func (*CreateDeviceBatchRequestBatchesInner) GetFeaturesOk ¶

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

GetHostname returns the Hostname field value if set, zero value otherwise.

func (*CreateDeviceBatchRequestBatchesInner) GetHostnameOk ¶

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

func (o *CreateDeviceBatchRequestBatchesInner) GetHostnames() []string

GetHostnames returns the Hostnames field value if set, zero value otherwise.

func (*CreateDeviceBatchRequestBatchesInner) GetHostnamesOk ¶

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

GetIpAddresses returns the IpAddresses field value if set, zero value otherwise.

func (*CreateDeviceBatchRequestBatchesInner) GetIpAddressesOk ¶

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 (*CreateDeviceBatchRequestBatchesInner) GetLocked ¶

GetLocked returns the Locked field value if set, zero value otherwise.

func (*CreateDeviceBatchRequestBatchesInner) GetLockedOk ¶

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

GetMetro returns the Metro field value if set, zero value otherwise.

func (*CreateDeviceBatchRequestBatchesInner) GetMetroOk ¶

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

func (o *CreateDeviceBatchRequestBatchesInner) GetNoSshKeys() bool

GetNoSshKeys returns the NoSshKeys field value if set, zero value otherwise.

func (*CreateDeviceBatchRequestBatchesInner) GetNoSshKeysOk ¶

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

func (o *CreateDeviceBatchRequestBatchesInner) GetOperatingSystem() string

GetOperatingSystem returns the OperatingSystem field value if set, zero value otherwise.

func (*CreateDeviceBatchRequestBatchesInner) GetOperatingSystemOk ¶

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

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

func (*CreateDeviceBatchRequestBatchesInner) GetPlanOk ¶

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 (*CreateDeviceBatchRequestBatchesInner) GetProjectSshKeys ¶

func (o *CreateDeviceBatchRequestBatchesInner) GetProjectSshKeys() []string

GetProjectSshKeys returns the ProjectSshKeys field value if set, zero value otherwise.

func (*CreateDeviceBatchRequestBatchesInner) GetProjectSshKeysOk ¶

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

GetTags returns the Tags field value if set, zero value otherwise.

func (*CreateDeviceBatchRequestBatchesInner) GetTagsOk ¶

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

func (o *CreateDeviceBatchRequestBatchesInner) GetTerminationTime() time.Time

GetTerminationTime returns the TerminationTime field value if set, zero value otherwise.

func (*CreateDeviceBatchRequestBatchesInner) GetTerminationTimeOk ¶

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

func (o *CreateDeviceBatchRequestBatchesInner) GetUserSshKeys() []string

GetUserSshKeys returns the UserSshKeys field value if set, zero value otherwise.

func (*CreateDeviceBatchRequestBatchesInner) GetUserSshKeysOk ¶

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

GetUserdata returns the Userdata field value if set, zero value otherwise.

func (*CreateDeviceBatchRequestBatchesInner) GetUserdataOk ¶

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

func (o *CreateDeviceBatchRequestBatchesInner) HasAlwaysPxe() bool

HasAlwaysPxe returns a boolean if a field has been set.

func (*CreateDeviceBatchRequestBatchesInner) HasBillingCycle ¶

func (o *CreateDeviceBatchRequestBatchesInner) HasBillingCycle() bool

HasBillingCycle returns a boolean if a field has been set.

func (*CreateDeviceBatchRequestBatchesInner) HasCustomdata ¶

func (o *CreateDeviceBatchRequestBatchesInner) HasCustomdata() bool

HasCustomdata returns a boolean if a field has been set.

func (*CreateDeviceBatchRequestBatchesInner) HasDescription ¶

func (o *CreateDeviceBatchRequestBatchesInner) HasDescription() bool

HasDescription returns a boolean if a field has been set.

func (*CreateDeviceBatchRequestBatchesInner) HasFacility ¶

func (o *CreateDeviceBatchRequestBatchesInner) HasFacility() bool

HasFacility returns a boolean if a field has been set.

func (*CreateDeviceBatchRequestBatchesInner) HasFeatures ¶

func (o *CreateDeviceBatchRequestBatchesInner) HasFeatures() bool

HasFeatures returns a boolean if a field has been set.

func (*CreateDeviceBatchRequestBatchesInner) HasHostname ¶

func (o *CreateDeviceBatchRequestBatchesInner) HasHostname() bool

HasHostname returns a boolean if a field has been set.

func (*CreateDeviceBatchRequestBatchesInner) HasHostnames ¶

func (o *CreateDeviceBatchRequestBatchesInner) HasHostnames() bool

HasHostnames returns a boolean if a field has been set.

func (*CreateDeviceBatchRequestBatchesInner) HasIpAddresses ¶

func (o *CreateDeviceBatchRequestBatchesInner) HasIpAddresses() bool

HasIpAddresses returns a boolean if a field has been set.

func (*CreateDeviceBatchRequestBatchesInner) HasLocked ¶

HasLocked returns a boolean if a field has been set.

func (*CreateDeviceBatchRequestBatchesInner) HasMetro ¶

HasMetro returns a boolean if a field has been set.

func (*CreateDeviceBatchRequestBatchesInner) HasNoSshKeys ¶

func (o *CreateDeviceBatchRequestBatchesInner) HasNoSshKeys() bool

HasNoSshKeys returns a boolean if a field has been set.

func (*CreateDeviceBatchRequestBatchesInner) HasOperatingSystem ¶

func (o *CreateDeviceBatchRequestBatchesInner) HasOperatingSystem() bool

HasOperatingSystem returns a boolean if a field has been set.

func (*CreateDeviceBatchRequestBatchesInner) HasPlan ¶

HasPlan returns a boolean if a field has been set.

func (*CreateDeviceBatchRequestBatchesInner) HasProjectSshKeys ¶

func (o *CreateDeviceBatchRequestBatchesInner) HasProjectSshKeys() bool

HasProjectSshKeys returns a boolean if a field has been set.

func (*CreateDeviceBatchRequestBatchesInner) HasTags ¶

HasTags returns a boolean if a field has been set.

func (*CreateDeviceBatchRequestBatchesInner) HasTerminationTime ¶

func (o *CreateDeviceBatchRequestBatchesInner) HasTerminationTime() bool

HasTerminationTime returns a boolean if a field has been set.

func (*CreateDeviceBatchRequestBatchesInner) HasUserSshKeys ¶

func (o *CreateDeviceBatchRequestBatchesInner) HasUserSshKeys() bool

HasUserSshKeys returns a boolean if a field has been set.

func (*CreateDeviceBatchRequestBatchesInner) HasUserdata ¶

func (o *CreateDeviceBatchRequestBatchesInner) HasUserdata() bool

HasUserdata returns a boolean if a field has been set.

func (CreateDeviceBatchRequestBatchesInner) MarshalJSON ¶

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

func (*CreateDeviceBatchRequestBatchesInner) SetAlwaysPxe ¶

func (o *CreateDeviceBatchRequestBatchesInner) SetAlwaysPxe(v bool)

SetAlwaysPxe gets a reference to the given bool and assigns it to the AlwaysPxe field.

func (*CreateDeviceBatchRequestBatchesInner) SetBillingCycle ¶

func (o *CreateDeviceBatchRequestBatchesInner) SetBillingCycle(v string)

SetBillingCycle gets a reference to the given string and assigns it to the BillingCycle field.

func (*CreateDeviceBatchRequestBatchesInner) SetCustomdata ¶

func (o *CreateDeviceBatchRequestBatchesInner) SetCustomdata(v map[string]interface{})

SetCustomdata gets a reference to the given map[string]interface{} and assigns it to the Customdata field.

func (*CreateDeviceBatchRequestBatchesInner) SetDescription ¶

func (o *CreateDeviceBatchRequestBatchesInner) SetDescription(v string)

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

func (*CreateDeviceBatchRequestBatchesInner) SetFacility ¶

func (o *CreateDeviceBatchRequestBatchesInner) SetFacility(v []string)

SetFacility gets a reference to the given []string and assigns it to the Facility field.

func (*CreateDeviceBatchRequestBatchesInner) SetFeatures ¶

func (o *CreateDeviceBatchRequestBatchesInner) SetFeatures(v []string)

SetFeatures gets a reference to the given []string and assigns it to the Features field.

func (*CreateDeviceBatchRequestBatchesInner) SetHostname ¶

func (o *CreateDeviceBatchRequestBatchesInner) SetHostname(v string)

SetHostname gets a reference to the given string and assigns it to the Hostname field.

func (*CreateDeviceBatchRequestBatchesInner) SetHostnames ¶

func (o *CreateDeviceBatchRequestBatchesInner) SetHostnames(v []string)

SetHostnames gets a reference to the given []string and assigns it to the Hostnames field.

func (*CreateDeviceBatchRequestBatchesInner) SetIpAddresses ¶

SetIpAddresses gets a reference to the given []CreateDeviceBatchRequestBatchesInnerIpAddressesInner and assigns it to the IpAddresses field.

func (*CreateDeviceBatchRequestBatchesInner) SetLocked ¶

SetLocked gets a reference to the given bool and assigns it to the Locked field.

func (*CreateDeviceBatchRequestBatchesInner) SetMetro ¶

SetMetro gets a reference to the given string and assigns it to the Metro field.

func (*CreateDeviceBatchRequestBatchesInner) SetNoSshKeys ¶

func (o *CreateDeviceBatchRequestBatchesInner) SetNoSshKeys(v bool)

SetNoSshKeys gets a reference to the given bool and assigns it to the NoSshKeys field.

func (*CreateDeviceBatchRequestBatchesInner) SetOperatingSystem ¶

func (o *CreateDeviceBatchRequestBatchesInner) SetOperatingSystem(v string)

SetOperatingSystem gets a reference to the given string and assigns it to the OperatingSystem field.

func (*CreateDeviceBatchRequestBatchesInner) SetPlan ¶

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

func (*CreateDeviceBatchRequestBatchesInner) SetProjectSshKeys ¶

func (o *CreateDeviceBatchRequestBatchesInner) SetProjectSshKeys(v []string)

SetProjectSshKeys gets a reference to the given []string and assigns it to the ProjectSshKeys field.

func (*CreateDeviceBatchRequestBatchesInner) SetTags ¶

SetTags gets a reference to the given []string and assigns it to the Tags field.

func (*CreateDeviceBatchRequestBatchesInner) SetTerminationTime ¶

func (o *CreateDeviceBatchRequestBatchesInner) SetTerminationTime(v time.Time)

SetTerminationTime gets a reference to the given time.Time and assigns it to the TerminationTime field.

func (*CreateDeviceBatchRequestBatchesInner) SetUserSshKeys ¶

func (o *CreateDeviceBatchRequestBatchesInner) SetUserSshKeys(v []string)

SetUserSshKeys gets a reference to the given []string and assigns it to the UserSshKeys field.

func (*CreateDeviceBatchRequestBatchesInner) SetUserdata ¶

func (o *CreateDeviceBatchRequestBatchesInner) SetUserdata(v string)

SetUserdata gets a reference to the given string and assigns it to the Userdata field.

type CreateDeviceBatchRequestBatchesInnerIpAddressesInner ¶

type CreateDeviceBatchRequestBatchesInnerIpAddressesInner struct {
	// Address Family for IP Address
	AddressFamily *float32 `json:"address_family,omitempty"`
	// Cidr Size for the IP Block created. Valid values depends on the operating system been provisioned (28..32 for IPv4 addresses, 124..127 for IPv6 addresses).
	Cidr *float32 `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"`
}

CreateDeviceBatchRequestBatchesInnerIpAddressesInner struct for CreateDeviceBatchRequestBatchesInnerIpAddressesInner

func NewCreateDeviceBatchRequestBatchesInnerIpAddressesInner ¶

func NewCreateDeviceBatchRequestBatchesInnerIpAddressesInner() *CreateDeviceBatchRequestBatchesInnerIpAddressesInner

NewCreateDeviceBatchRequestBatchesInnerIpAddressesInner instantiates a new CreateDeviceBatchRequestBatchesInnerIpAddressesInner 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 NewCreateDeviceBatchRequestBatchesInnerIpAddressesInnerWithDefaults ¶

func NewCreateDeviceBatchRequestBatchesInnerIpAddressesInnerWithDefaults() *CreateDeviceBatchRequestBatchesInnerIpAddressesInner

NewCreateDeviceBatchRequestBatchesInnerIpAddressesInnerWithDefaults instantiates a new CreateDeviceBatchRequestBatchesInnerIpAddressesInner 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 (*CreateDeviceBatchRequestBatchesInnerIpAddressesInner) GetAddressFamily ¶

GetAddressFamily returns the AddressFamily field value if set, zero value otherwise.

func (*CreateDeviceBatchRequestBatchesInnerIpAddressesInner) GetAddressFamilyOk ¶

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 (*CreateDeviceBatchRequestBatchesInnerIpAddressesInner) GetCidr ¶

GetCidr returns the Cidr field value if set, zero value otherwise.

func (*CreateDeviceBatchRequestBatchesInnerIpAddressesInner) GetCidrOk ¶

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 (*CreateDeviceBatchRequestBatchesInnerIpAddressesInner) GetIpReservations ¶

GetIpReservations returns the IpReservations field value if set, zero value otherwise.

func (*CreateDeviceBatchRequestBatchesInnerIpAddressesInner) GetIpReservationsOk ¶

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 (*CreateDeviceBatchRequestBatchesInnerIpAddressesInner) GetPublic ¶

GetPublic returns the Public field value if set, zero value otherwise.

func (*CreateDeviceBatchRequestBatchesInnerIpAddressesInner) GetPublicOk ¶

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 (*CreateDeviceBatchRequestBatchesInnerIpAddressesInner) HasAddressFamily ¶

HasAddressFamily returns a boolean if a field has been set.

func (*CreateDeviceBatchRequestBatchesInnerIpAddressesInner) HasCidr ¶

HasCidr returns a boolean if a field has been set.

func (*CreateDeviceBatchRequestBatchesInnerIpAddressesInner) HasIpReservations ¶

HasIpReservations returns a boolean if a field has been set.

func (*CreateDeviceBatchRequestBatchesInnerIpAddressesInner) HasPublic ¶

HasPublic returns a boolean if a field has been set.

func (CreateDeviceBatchRequestBatchesInnerIpAddressesInner) MarshalJSON ¶

func (*CreateDeviceBatchRequestBatchesInnerIpAddressesInner) SetAddressFamily ¶

SetAddressFamily gets a reference to the given float32 and assigns it to the AddressFamily field.

func (*CreateDeviceBatchRequestBatchesInnerIpAddressesInner) SetCidr ¶

SetCidr gets a reference to the given float32 and assigns it to the Cidr field.

func (*CreateDeviceBatchRequestBatchesInnerIpAddressesInner) SetIpReservations ¶

SetIpReservations gets a reference to the given []string and assigns it to the IpReservations field.

func (*CreateDeviceBatchRequestBatchesInnerIpAddressesInner) SetPublic ¶

SetPublic gets a reference to the given bool and assigns it to the Public field.

type CreateDeviceRequest ¶

type CreateDeviceRequest struct {
	CreateDeviceRequestOneOf  *CreateDeviceRequestOneOf
	CreateDeviceRequestOneOf1 *CreateDeviceRequestOneOf1
}

CreateDeviceRequest - struct for CreateDeviceRequest

func CreateDeviceRequestOneOf1AsCreateDeviceRequest ¶

func CreateDeviceRequestOneOf1AsCreateDeviceRequest(v *CreateDeviceRequestOneOf1) CreateDeviceRequest

CreateDeviceRequestOneOf1AsCreateDeviceRequest is a convenience function that returns CreateDeviceRequestOneOf1 wrapped in CreateDeviceRequest

func CreateDeviceRequestOneOfAsCreateDeviceRequest ¶

func CreateDeviceRequestOneOfAsCreateDeviceRequest(v *CreateDeviceRequestOneOf) CreateDeviceRequest

CreateDeviceRequestOneOfAsCreateDeviceRequest is a convenience function that returns CreateDeviceRequestOneOf wrapped in CreateDeviceRequest

func (*CreateDeviceRequest) GetActualInstance ¶

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 ¶

func (dst *CreateDeviceRequest) UnmarshalJSON(data []byte) error

Unmarshal JSON data into one of the pointers in the struct

type CreateDeviceRequestOneOf ¶ added in v0.2.6

type CreateDeviceRequestOneOf 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"`
	// The billing cycle of the device.
	BillingCycle *string `json:"billing_cycle,omitempty"`
	// Customdata is an arbitrary JSON value that can be accessed via the metadata service.
	Customdata 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 []CreateDeviceRequestOneOfAllOf1IpAddressesInner `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"`
	// 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 *float32 `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 *float32 `json:"public_ipv4_subnet_size,omitempty"`
	SpotInstance         *bool    `json:"spot_instance,omitempty"`
	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         []CreateDeviceRequestOneOfAllOf1SshKeysInner `json:"ssh_keys,omitempty"`
	Tags            []string                                     `json:"tags,omitempty"`
	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"`
}

CreateDeviceRequestOneOf struct for CreateDeviceRequestOneOf

func NewCreateDeviceRequestOneOf ¶ added in v0.2.6

func NewCreateDeviceRequestOneOf(metro string, operatingSystem string, plan string) *CreateDeviceRequestOneOf

NewCreateDeviceRequestOneOf instantiates a new CreateDeviceRequestOneOf 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 NewCreateDeviceRequestOneOfWithDefaults ¶ added in v0.2.6

func NewCreateDeviceRequestOneOfWithDefaults() *CreateDeviceRequestOneOf

NewCreateDeviceRequestOneOfWithDefaults instantiates a new CreateDeviceRequestOneOf 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 (*CreateDeviceRequestOneOf) GetAlwaysPxe ¶ added in v0.2.6

func (o *CreateDeviceRequestOneOf) GetAlwaysPxe() bool

GetAlwaysPxe returns the AlwaysPxe field value if set, zero value otherwise.

func (*CreateDeviceRequestOneOf) GetAlwaysPxeOk ¶ added in v0.2.6

func (o *CreateDeviceRequestOneOf) 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 (*CreateDeviceRequestOneOf) GetBillingCycle ¶ added in v0.2.6

func (o *CreateDeviceRequestOneOf) GetBillingCycle() string

GetBillingCycle returns the BillingCycle field value if set, zero value otherwise.

func (*CreateDeviceRequestOneOf) GetBillingCycleOk ¶ added in v0.2.6

func (o *CreateDeviceRequestOneOf) 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 (*CreateDeviceRequestOneOf) GetCustomdata ¶ added in v0.2.6

func (o *CreateDeviceRequestOneOf) GetCustomdata() interface{}

GetCustomdata returns the Customdata field value if set, zero value otherwise (both if not set or set to explicit null).

func (*CreateDeviceRequestOneOf) GetCustomdataOk ¶ added in v0.2.6

func (o *CreateDeviceRequestOneOf) GetCustomdataOk() (*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. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*CreateDeviceRequestOneOf) GetDescription ¶ added in v0.2.6

func (o *CreateDeviceRequestOneOf) GetDescription() string

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

func (*CreateDeviceRequestOneOf) GetDescriptionOk ¶ added in v0.2.6

func (o *CreateDeviceRequestOneOf) 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 (*CreateDeviceRequestOneOf) GetFeatures ¶ added in v0.2.6

func (o *CreateDeviceRequestOneOf) GetFeatures() []string

GetFeatures returns the Features field value if set, zero value otherwise.

func (*CreateDeviceRequestOneOf) GetFeaturesOk ¶ added in v0.2.6

func (o *CreateDeviceRequestOneOf) 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 (*CreateDeviceRequestOneOf) GetHardwareReservationId ¶ added in v0.2.6

func (o *CreateDeviceRequestOneOf) GetHardwareReservationId() string

GetHardwareReservationId returns the HardwareReservationId field value if set, zero value otherwise.

func (*CreateDeviceRequestOneOf) GetHardwareReservationIdOk ¶ added in v0.2.6

func (o *CreateDeviceRequestOneOf) 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 (*CreateDeviceRequestOneOf) GetHostname ¶ added in v0.2.6

func (o *CreateDeviceRequestOneOf) GetHostname() string

GetHostname returns the Hostname field value if set, zero value otherwise.

func (*CreateDeviceRequestOneOf) GetHostnameOk ¶ added in v0.2.6

func (o *CreateDeviceRequestOneOf) 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 (*CreateDeviceRequestOneOf) GetIpAddresses ¶ added in v0.2.6

GetIpAddresses returns the IpAddresses field value if set, zero value otherwise.

func (*CreateDeviceRequestOneOf) GetIpAddressesOk ¶ added in v0.2.6

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 (*CreateDeviceRequestOneOf) GetIpxeScriptUrl ¶ added in v0.2.6

func (o *CreateDeviceRequestOneOf) GetIpxeScriptUrl() string

GetIpxeScriptUrl returns the IpxeScriptUrl field value if set, zero value otherwise.

func (*CreateDeviceRequestOneOf) GetIpxeScriptUrlOk ¶ added in v0.2.6

func (o *CreateDeviceRequestOneOf) 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 (*CreateDeviceRequestOneOf) GetLocked ¶ added in v0.2.6

func (o *CreateDeviceRequestOneOf) GetLocked() bool

GetLocked returns the Locked field value if set, zero value otherwise.

func (*CreateDeviceRequestOneOf) GetLockedOk ¶ added in v0.2.6

func (o *CreateDeviceRequestOneOf) 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 (*CreateDeviceRequestOneOf) GetMetro ¶ added in v0.2.6

func (o *CreateDeviceRequestOneOf) GetMetro() string

GetMetro returns the Metro field value

func (*CreateDeviceRequestOneOf) GetMetroOk ¶ added in v0.2.6

func (o *CreateDeviceRequestOneOf) GetMetroOk() (*string, bool)

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

func (*CreateDeviceRequestOneOf) GetNoSshKeys ¶ added in v0.2.6

func (o *CreateDeviceRequestOneOf) GetNoSshKeys() bool

GetNoSshKeys returns the NoSshKeys field value if set, zero value otherwise.

func (*CreateDeviceRequestOneOf) GetNoSshKeysOk ¶ added in v0.2.6

func (o *CreateDeviceRequestOneOf) 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 (*CreateDeviceRequestOneOf) GetOperatingSystem ¶ added in v0.2.6

func (o *CreateDeviceRequestOneOf) GetOperatingSystem() string

GetOperatingSystem returns the OperatingSystem field value

func (*CreateDeviceRequestOneOf) GetOperatingSystemOk ¶ added in v0.2.6

func (o *CreateDeviceRequestOneOf) GetOperatingSystemOk() (*string, bool)

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

func (*CreateDeviceRequestOneOf) GetPlan ¶ added in v0.2.6

func (o *CreateDeviceRequestOneOf) GetPlan() string

GetPlan returns the Plan field value

func (*CreateDeviceRequestOneOf) GetPlanOk ¶ added in v0.2.6

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

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

func (*CreateDeviceRequestOneOf) GetPrivateIpv4SubnetSize ¶ added in v0.2.6

func (o *CreateDeviceRequestOneOf) GetPrivateIpv4SubnetSize() float32

GetPrivateIpv4SubnetSize returns the PrivateIpv4SubnetSize field value if set, zero value otherwise.

func (*CreateDeviceRequestOneOf) GetPrivateIpv4SubnetSizeOk ¶ added in v0.2.6

func (o *CreateDeviceRequestOneOf) GetPrivateIpv4SubnetSizeOk() (*float32, 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 (*CreateDeviceRequestOneOf) GetProjectSshKeys ¶ added in v0.2.6

func (o *CreateDeviceRequestOneOf) GetProjectSshKeys() []string

GetProjectSshKeys returns the ProjectSshKeys field value if set, zero value otherwise.

func (*CreateDeviceRequestOneOf) GetProjectSshKeysOk ¶ added in v0.2.6

func (o *CreateDeviceRequestOneOf) 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 (*CreateDeviceRequestOneOf) GetPublicIpv4SubnetSize ¶ added in v0.2.6

func (o *CreateDeviceRequestOneOf) GetPublicIpv4SubnetSize() float32

GetPublicIpv4SubnetSize returns the PublicIpv4SubnetSize field value if set, zero value otherwise.

func (*CreateDeviceRequestOneOf) GetPublicIpv4SubnetSizeOk ¶ added in v0.2.6

func (o *CreateDeviceRequestOneOf) GetPublicIpv4SubnetSizeOk() (*float32, 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 (*CreateDeviceRequestOneOf) GetSpotInstance ¶ added in v0.2.6

func (o *CreateDeviceRequestOneOf) GetSpotInstance() bool

GetSpotInstance returns the SpotInstance field value if set, zero value otherwise.

func (*CreateDeviceRequestOneOf) GetSpotInstanceOk ¶ added in v0.2.6

func (o *CreateDeviceRequestOneOf) 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 (*CreateDeviceRequestOneOf) GetSpotPriceMax ¶ added in v0.2.6

func (o *CreateDeviceRequestOneOf) GetSpotPriceMax() float32

GetSpotPriceMax returns the SpotPriceMax field value if set, zero value otherwise.

func (*CreateDeviceRequestOneOf) GetSpotPriceMaxOk ¶ added in v0.2.6

func (o *CreateDeviceRequestOneOf) 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 (*CreateDeviceRequestOneOf) GetSshKeys ¶ added in v0.2.6

GetSshKeys returns the SshKeys field value if set, zero value otherwise.

func (*CreateDeviceRequestOneOf) GetSshKeysOk ¶ added in v0.2.6

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 (*CreateDeviceRequestOneOf) GetTags ¶ added in v0.2.6

func (o *CreateDeviceRequestOneOf) GetTags() []string

GetTags returns the Tags field value if set, zero value otherwise.

func (*CreateDeviceRequestOneOf) GetTagsOk ¶ added in v0.2.6

func (o *CreateDeviceRequestOneOf) 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 (*CreateDeviceRequestOneOf) GetTerminationTime ¶ added in v0.2.6

func (o *CreateDeviceRequestOneOf) GetTerminationTime() time.Time

GetTerminationTime returns the TerminationTime field value if set, zero value otherwise.

func (*CreateDeviceRequestOneOf) GetTerminationTimeOk ¶ added in v0.2.6

func (o *CreateDeviceRequestOneOf) 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 (*CreateDeviceRequestOneOf) GetUserSshKeys ¶ added in v0.2.6

func (o *CreateDeviceRequestOneOf) GetUserSshKeys() []string

GetUserSshKeys returns the UserSshKeys field value if set, zero value otherwise.

func (*CreateDeviceRequestOneOf) GetUserSshKeysOk ¶ added in v0.2.6

func (o *CreateDeviceRequestOneOf) 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 (*CreateDeviceRequestOneOf) GetUserdata ¶ added in v0.2.6

func (o *CreateDeviceRequestOneOf) GetUserdata() string

GetUserdata returns the Userdata field value if set, zero value otherwise.

func (*CreateDeviceRequestOneOf) GetUserdataOk ¶ added in v0.2.6

func (o *CreateDeviceRequestOneOf) 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 (*CreateDeviceRequestOneOf) HasAlwaysPxe ¶ added in v0.2.6

func (o *CreateDeviceRequestOneOf) HasAlwaysPxe() bool

HasAlwaysPxe returns a boolean if a field has been set.

func (*CreateDeviceRequestOneOf) HasBillingCycle ¶ added in v0.2.6

func (o *CreateDeviceRequestOneOf) HasBillingCycle() bool

HasBillingCycle returns a boolean if a field has been set.

func (*CreateDeviceRequestOneOf) HasCustomdata ¶ added in v0.2.6

func (o *CreateDeviceRequestOneOf) HasCustomdata() bool

HasCustomdata returns a boolean if a field has been set.

func (*CreateDeviceRequestOneOf) HasDescription ¶ added in v0.2.6

func (o *CreateDeviceRequestOneOf) HasDescription() bool

HasDescription returns a boolean if a field has been set.

func (*CreateDeviceRequestOneOf) HasFeatures ¶ added in v0.2.6

func (o *CreateDeviceRequestOneOf) HasFeatures() bool

HasFeatures returns a boolean if a field has been set.

func (*CreateDeviceRequestOneOf) HasHardwareReservationId ¶ added in v0.2.6

func (o *CreateDeviceRequestOneOf) HasHardwareReservationId() bool

HasHardwareReservationId returns a boolean if a field has been set.

func (*CreateDeviceRequestOneOf) HasHostname ¶ added in v0.2.6

func (o *CreateDeviceRequestOneOf) HasHostname() bool

HasHostname returns a boolean if a field has been set.

func (*CreateDeviceRequestOneOf) HasIpAddresses ¶ added in v0.2.6

func (o *CreateDeviceRequestOneOf) HasIpAddresses() bool

HasIpAddresses returns a boolean if a field has been set.

func (*CreateDeviceRequestOneOf) HasIpxeScriptUrl ¶ added in v0.2.6

func (o *CreateDeviceRequestOneOf) HasIpxeScriptUrl() bool

HasIpxeScriptUrl returns a boolean if a field has been set.

func (*CreateDeviceRequestOneOf) HasLocked ¶ added in v0.2.6

func (o *CreateDeviceRequestOneOf) HasLocked() bool

HasLocked returns a boolean if a field has been set.

func (*CreateDeviceRequestOneOf) HasNoSshKeys ¶ added in v0.2.6

func (o *CreateDeviceRequestOneOf) HasNoSshKeys() bool

HasNoSshKeys returns a boolean if a field has been set.

func (*CreateDeviceRequestOneOf) HasPrivateIpv4SubnetSize ¶ added in v0.2.6

func (o *CreateDeviceRequestOneOf) HasPrivateIpv4SubnetSize() bool

HasPrivateIpv4SubnetSize returns a boolean if a field has been set.

func (*CreateDeviceRequestOneOf) HasProjectSshKeys ¶ added in v0.2.6

func (o *CreateDeviceRequestOneOf) HasProjectSshKeys() bool

HasProjectSshKeys returns a boolean if a field has been set.

func (*CreateDeviceRequestOneOf) HasPublicIpv4SubnetSize ¶ added in v0.2.6

func (o *CreateDeviceRequestOneOf) HasPublicIpv4SubnetSize() bool

HasPublicIpv4SubnetSize returns a boolean if a field has been set.

func (*CreateDeviceRequestOneOf) HasSpotInstance ¶ added in v0.2.6

func (o *CreateDeviceRequestOneOf) HasSpotInstance() bool

HasSpotInstance returns a boolean if a field has been set.

func (*CreateDeviceRequestOneOf) HasSpotPriceMax ¶ added in v0.2.6

func (o *CreateDeviceRequestOneOf) HasSpotPriceMax() bool

HasSpotPriceMax returns a boolean if a field has been set.

func (*CreateDeviceRequestOneOf) HasSshKeys ¶ added in v0.2.6

func (o *CreateDeviceRequestOneOf) HasSshKeys() bool

HasSshKeys returns a boolean if a field has been set.

func (*CreateDeviceRequestOneOf) HasTags ¶ added in v0.2.6

func (o *CreateDeviceRequestOneOf) HasTags() bool

HasTags returns a boolean if a field has been set.

func (*CreateDeviceRequestOneOf) HasTerminationTime ¶ added in v0.2.6

func (o *CreateDeviceRequestOneOf) HasTerminationTime() bool

HasTerminationTime returns a boolean if a field has been set.

func (*CreateDeviceRequestOneOf) HasUserSshKeys ¶ added in v0.2.6

func (o *CreateDeviceRequestOneOf) HasUserSshKeys() bool

HasUserSshKeys returns a boolean if a field has been set.

func (*CreateDeviceRequestOneOf) HasUserdata ¶ added in v0.2.6

func (o *CreateDeviceRequestOneOf) HasUserdata() bool

HasUserdata returns a boolean if a field has been set.

func (CreateDeviceRequestOneOf) MarshalJSON ¶ added in v0.2.6

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

func (*CreateDeviceRequestOneOf) SetAlwaysPxe ¶ added in v0.2.6

func (o *CreateDeviceRequestOneOf) SetAlwaysPxe(v bool)

SetAlwaysPxe gets a reference to the given bool and assigns it to the AlwaysPxe field.

func (*CreateDeviceRequestOneOf) SetBillingCycle ¶ added in v0.2.6

func (o *CreateDeviceRequestOneOf) SetBillingCycle(v string)

SetBillingCycle gets a reference to the given string and assigns it to the BillingCycle field.

func (*CreateDeviceRequestOneOf) SetCustomdata ¶ added in v0.2.6

func (o *CreateDeviceRequestOneOf) SetCustomdata(v interface{})

SetCustomdata gets a reference to the given interface{} and assigns it to the Customdata field.

func (*CreateDeviceRequestOneOf) SetDescription ¶ added in v0.2.6

func (o *CreateDeviceRequestOneOf) SetDescription(v string)

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

func (*CreateDeviceRequestOneOf) SetFeatures ¶ added in v0.2.6

func (o *CreateDeviceRequestOneOf) SetFeatures(v []string)

SetFeatures gets a reference to the given []string and assigns it to the Features field.

func (*CreateDeviceRequestOneOf) SetHardwareReservationId ¶ added in v0.2.6

func (o *CreateDeviceRequestOneOf) SetHardwareReservationId(v string)

SetHardwareReservationId gets a reference to the given string and assigns it to the HardwareReservationId field.

func (*CreateDeviceRequestOneOf) SetHostname ¶ added in v0.2.6

func (o *CreateDeviceRequestOneOf) SetHostname(v string)

SetHostname gets a reference to the given string and assigns it to the Hostname field.

func (*CreateDeviceRequestOneOf) SetIpAddresses ¶ added in v0.2.6

SetIpAddresses gets a reference to the given []CreateDeviceRequestOneOfAllOf1IpAddressesInner and assigns it to the IpAddresses field.

func (*CreateDeviceRequestOneOf) SetIpxeScriptUrl ¶ added in v0.2.6

func (o *CreateDeviceRequestOneOf) SetIpxeScriptUrl(v string)

SetIpxeScriptUrl gets a reference to the given string and assigns it to the IpxeScriptUrl field.

func (*CreateDeviceRequestOneOf) SetLocked ¶ added in v0.2.6

func (o *CreateDeviceRequestOneOf) SetLocked(v bool)

SetLocked gets a reference to the given bool and assigns it to the Locked field.

func (*CreateDeviceRequestOneOf) SetMetro ¶ added in v0.2.6

func (o *CreateDeviceRequestOneOf) SetMetro(v string)

SetMetro sets field value

func (*CreateDeviceRequestOneOf) SetNoSshKeys ¶ added in v0.2.6

func (o *CreateDeviceRequestOneOf) SetNoSshKeys(v bool)

SetNoSshKeys gets a reference to the given bool and assigns it to the NoSshKeys field.

func (*CreateDeviceRequestOneOf) SetOperatingSystem ¶ added in v0.2.6

func (o *CreateDeviceRequestOneOf) SetOperatingSystem(v string)

SetOperatingSystem sets field value

func (*CreateDeviceRequestOneOf) SetPlan ¶ added in v0.2.6

func (o *CreateDeviceRequestOneOf) SetPlan(v string)

SetPlan sets field value

func (*CreateDeviceRequestOneOf) SetPrivateIpv4SubnetSize ¶ added in v0.2.6

func (o *CreateDeviceRequestOneOf) SetPrivateIpv4SubnetSize(v float32)

SetPrivateIpv4SubnetSize gets a reference to the given float32 and assigns it to the PrivateIpv4SubnetSize field.

func (*CreateDeviceRequestOneOf) SetProjectSshKeys ¶ added in v0.2.6

func (o *CreateDeviceRequestOneOf) SetProjectSshKeys(v []string)

SetProjectSshKeys gets a reference to the given []string and assigns it to the ProjectSshKeys field.

func (*CreateDeviceRequestOneOf) SetPublicIpv4SubnetSize ¶ added in v0.2.6

func (o *CreateDeviceRequestOneOf) SetPublicIpv4SubnetSize(v float32)

SetPublicIpv4SubnetSize gets a reference to the given float32 and assigns it to the PublicIpv4SubnetSize field.

func (*CreateDeviceRequestOneOf) SetSpotInstance ¶ added in v0.2.6

func (o *CreateDeviceRequestOneOf) SetSpotInstance(v bool)

SetSpotInstance gets a reference to the given bool and assigns it to the SpotInstance field.

func (*CreateDeviceRequestOneOf) SetSpotPriceMax ¶ added in v0.2.6

func (o *CreateDeviceRequestOneOf) SetSpotPriceMax(v float32)

SetSpotPriceMax gets a reference to the given float32 and assigns it to the SpotPriceMax field.

func (*CreateDeviceRequestOneOf) SetSshKeys ¶ added in v0.2.6

SetSshKeys gets a reference to the given []CreateDeviceRequestOneOfAllOf1SshKeysInner and assigns it to the SshKeys field.

func (*CreateDeviceRequestOneOf) SetTags ¶ added in v0.2.6

func (o *CreateDeviceRequestOneOf) SetTags(v []string)

SetTags gets a reference to the given []string and assigns it to the Tags field.

func (*CreateDeviceRequestOneOf) SetTerminationTime ¶ added in v0.2.6

func (o *CreateDeviceRequestOneOf) SetTerminationTime(v time.Time)

SetTerminationTime gets a reference to the given time.Time and assigns it to the TerminationTime field.

func (*CreateDeviceRequestOneOf) SetUserSshKeys ¶ added in v0.2.6

func (o *CreateDeviceRequestOneOf) SetUserSshKeys(v []string)

SetUserSshKeys gets a reference to the given []string and assigns it to the UserSshKeys field.

func (*CreateDeviceRequestOneOf) SetUserdata ¶ added in v0.2.6

func (o *CreateDeviceRequestOneOf) SetUserdata(v string)

SetUserdata gets a reference to the given string and assigns it to the Userdata field.

type CreateDeviceRequestOneOf1 ¶ added in v0.2.6

type CreateDeviceRequestOneOf1 struct {
	Facility CreateDeviceRequestOneOf1AllOfFacility `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"`
	// The billing cycle of the device.
	BillingCycle *string `json:"billing_cycle,omitempty"`
	// Customdata is an arbitrary JSON value that can be accessed via the metadata service.
	Customdata 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 []CreateDeviceRequestOneOfAllOf1IpAddressesInner `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"`
	// 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 *float32 `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 *float32 `json:"public_ipv4_subnet_size,omitempty"`
	SpotInstance         *bool    `json:"spot_instance,omitempty"`
	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         []CreateDeviceRequestOneOfAllOf1SshKeysInner `json:"ssh_keys,omitempty"`
	Tags            []string                                     `json:"tags,omitempty"`
	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"`
}

CreateDeviceRequestOneOf1 struct for CreateDeviceRequestOneOf1

func NewCreateDeviceRequestOneOf1 ¶ added in v0.2.6

func NewCreateDeviceRequestOneOf1(facility CreateDeviceRequestOneOf1AllOfFacility, operatingSystem string, plan string) *CreateDeviceRequestOneOf1

NewCreateDeviceRequestOneOf1 instantiates a new CreateDeviceRequestOneOf1 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 NewCreateDeviceRequestOneOf1WithDefaults ¶ added in v0.2.6

func NewCreateDeviceRequestOneOf1WithDefaults() *CreateDeviceRequestOneOf1

NewCreateDeviceRequestOneOf1WithDefaults instantiates a new CreateDeviceRequestOneOf1 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 (*CreateDeviceRequestOneOf1) GetAlwaysPxe ¶ added in v0.2.6

func (o *CreateDeviceRequestOneOf1) GetAlwaysPxe() bool

GetAlwaysPxe returns the AlwaysPxe field value if set, zero value otherwise.

func (*CreateDeviceRequestOneOf1) GetAlwaysPxeOk ¶ added in v0.2.6

func (o *CreateDeviceRequestOneOf1) 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 (*CreateDeviceRequestOneOf1) GetBillingCycle ¶ added in v0.2.6

func (o *CreateDeviceRequestOneOf1) GetBillingCycle() string

GetBillingCycle returns the BillingCycle field value if set, zero value otherwise.

func (*CreateDeviceRequestOneOf1) GetBillingCycleOk ¶ added in v0.2.6

func (o *CreateDeviceRequestOneOf1) 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 (*CreateDeviceRequestOneOf1) GetCustomdata ¶ added in v0.2.6

func (o *CreateDeviceRequestOneOf1) GetCustomdata() interface{}

GetCustomdata returns the Customdata field value if set, zero value otherwise (both if not set or set to explicit null).

func (*CreateDeviceRequestOneOf1) GetCustomdataOk ¶ added in v0.2.6

func (o *CreateDeviceRequestOneOf1) GetCustomdataOk() (*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. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*CreateDeviceRequestOneOf1) GetDescription ¶ added in v0.2.6

func (o *CreateDeviceRequestOneOf1) GetDescription() string

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

func (*CreateDeviceRequestOneOf1) GetDescriptionOk ¶ added in v0.2.6

func (o *CreateDeviceRequestOneOf1) 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 (*CreateDeviceRequestOneOf1) GetFacility ¶ added in v0.2.6

GetFacility returns the Facility field value

func (*CreateDeviceRequestOneOf1) GetFacilityOk ¶ added in v0.2.6

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

func (*CreateDeviceRequestOneOf1) GetFeatures ¶ added in v0.2.6

func (o *CreateDeviceRequestOneOf1) GetFeatures() []string

GetFeatures returns the Features field value if set, zero value otherwise.

func (*CreateDeviceRequestOneOf1) GetFeaturesOk ¶ added in v0.2.6

func (o *CreateDeviceRequestOneOf1) 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 (*CreateDeviceRequestOneOf1) GetHardwareReservationId ¶ added in v0.2.6

func (o *CreateDeviceRequestOneOf1) GetHardwareReservationId() string

GetHardwareReservationId returns the HardwareReservationId field value if set, zero value otherwise.

func (*CreateDeviceRequestOneOf1) GetHardwareReservationIdOk ¶ added in v0.2.6

func (o *CreateDeviceRequestOneOf1) 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 (*CreateDeviceRequestOneOf1) GetHostname ¶ added in v0.2.6

func (o *CreateDeviceRequestOneOf1) GetHostname() string

GetHostname returns the Hostname field value if set, zero value otherwise.

func (*CreateDeviceRequestOneOf1) GetHostnameOk ¶ added in v0.2.6

func (o *CreateDeviceRequestOneOf1) 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 (*CreateDeviceRequestOneOf1) GetIpAddresses ¶ added in v0.2.6

GetIpAddresses returns the IpAddresses field value if set, zero value otherwise.

func (*CreateDeviceRequestOneOf1) GetIpAddressesOk ¶ added in v0.2.6

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 (*CreateDeviceRequestOneOf1) GetIpxeScriptUrl ¶ added in v0.2.6

func (o *CreateDeviceRequestOneOf1) GetIpxeScriptUrl() string

GetIpxeScriptUrl returns the IpxeScriptUrl field value if set, zero value otherwise.

func (*CreateDeviceRequestOneOf1) GetIpxeScriptUrlOk ¶ added in v0.2.6

func (o *CreateDeviceRequestOneOf1) 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 (*CreateDeviceRequestOneOf1) GetLocked ¶ added in v0.2.6

func (o *CreateDeviceRequestOneOf1) GetLocked() bool

GetLocked returns the Locked field value if set, zero value otherwise.

func (*CreateDeviceRequestOneOf1) GetLockedOk ¶ added in v0.2.6

func (o *CreateDeviceRequestOneOf1) 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 (*CreateDeviceRequestOneOf1) GetNoSshKeys ¶ added in v0.2.6

func (o *CreateDeviceRequestOneOf1) GetNoSshKeys() bool

GetNoSshKeys returns the NoSshKeys field value if set, zero value otherwise.

func (*CreateDeviceRequestOneOf1) GetNoSshKeysOk ¶ added in v0.2.6

func (o *CreateDeviceRequestOneOf1) 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 (*CreateDeviceRequestOneOf1) GetOperatingSystem ¶ added in v0.2.6

func (o *CreateDeviceRequestOneOf1) GetOperatingSystem() string

GetOperatingSystem returns the OperatingSystem field value

func (*CreateDeviceRequestOneOf1) GetOperatingSystemOk ¶ added in v0.2.6

func (o *CreateDeviceRequestOneOf1) GetOperatingSystemOk() (*string, bool)

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

func (*CreateDeviceRequestOneOf1) GetPlan ¶ added in v0.2.6

func (o *CreateDeviceRequestOneOf1) GetPlan() string

GetPlan returns the Plan field value

func (*CreateDeviceRequestOneOf1) GetPlanOk ¶ added in v0.2.6

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

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

func (*CreateDeviceRequestOneOf1) GetPrivateIpv4SubnetSize ¶ added in v0.2.6

func (o *CreateDeviceRequestOneOf1) GetPrivateIpv4SubnetSize() float32

GetPrivateIpv4SubnetSize returns the PrivateIpv4SubnetSize field value if set, zero value otherwise.

func (*CreateDeviceRequestOneOf1) GetPrivateIpv4SubnetSizeOk ¶ added in v0.2.6

func (o *CreateDeviceRequestOneOf1) GetPrivateIpv4SubnetSizeOk() (*float32, 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 (*CreateDeviceRequestOneOf1) GetProjectSshKeys ¶ added in v0.2.6

func (o *CreateDeviceRequestOneOf1) GetProjectSshKeys() []string

GetProjectSshKeys returns the ProjectSshKeys field value if set, zero value otherwise.

func (*CreateDeviceRequestOneOf1) GetProjectSshKeysOk ¶ added in v0.2.6

func (o *CreateDeviceRequestOneOf1) 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 (*CreateDeviceRequestOneOf1) GetPublicIpv4SubnetSize ¶ added in v0.2.6

func (o *CreateDeviceRequestOneOf1) GetPublicIpv4SubnetSize() float32

GetPublicIpv4SubnetSize returns the PublicIpv4SubnetSize field value if set, zero value otherwise.

func (*CreateDeviceRequestOneOf1) GetPublicIpv4SubnetSizeOk ¶ added in v0.2.6

func (o *CreateDeviceRequestOneOf1) GetPublicIpv4SubnetSizeOk() (*float32, 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 (*CreateDeviceRequestOneOf1) GetSpotInstance ¶ added in v0.2.6

func (o *CreateDeviceRequestOneOf1) GetSpotInstance() bool

GetSpotInstance returns the SpotInstance field value if set, zero value otherwise.

func (*CreateDeviceRequestOneOf1) GetSpotInstanceOk ¶ added in v0.2.6

func (o *CreateDeviceRequestOneOf1) 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 (*CreateDeviceRequestOneOf1) GetSpotPriceMax ¶ added in v0.2.6

func (o *CreateDeviceRequestOneOf1) GetSpotPriceMax() float32

GetSpotPriceMax returns the SpotPriceMax field value if set, zero value otherwise.

func (*CreateDeviceRequestOneOf1) GetSpotPriceMaxOk ¶ added in v0.2.6

func (o *CreateDeviceRequestOneOf1) 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 (*CreateDeviceRequestOneOf1) GetSshKeys ¶ added in v0.2.6

GetSshKeys returns the SshKeys field value if set, zero value otherwise.

func (*CreateDeviceRequestOneOf1) GetSshKeysOk ¶ added in v0.2.6

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 (*CreateDeviceRequestOneOf1) GetTags ¶ added in v0.2.6

func (o *CreateDeviceRequestOneOf1) GetTags() []string

GetTags returns the Tags field value if set, zero value otherwise.

func (*CreateDeviceRequestOneOf1) GetTagsOk ¶ added in v0.2.6

func (o *CreateDeviceRequestOneOf1) 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 (*CreateDeviceRequestOneOf1) GetTerminationTime ¶ added in v0.2.6

func (o *CreateDeviceRequestOneOf1) GetTerminationTime() time.Time

GetTerminationTime returns the TerminationTime field value if set, zero value otherwise.

func (*CreateDeviceRequestOneOf1) GetTerminationTimeOk ¶ added in v0.2.6

func (o *CreateDeviceRequestOneOf1) 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 (*CreateDeviceRequestOneOf1) GetUserSshKeys ¶ added in v0.2.6

func (o *CreateDeviceRequestOneOf1) GetUserSshKeys() []string

GetUserSshKeys returns the UserSshKeys field value if set, zero value otherwise.

func (*CreateDeviceRequestOneOf1) GetUserSshKeysOk ¶ added in v0.2.6

func (o *CreateDeviceRequestOneOf1) 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 (*CreateDeviceRequestOneOf1) GetUserdata ¶ added in v0.2.6

func (o *CreateDeviceRequestOneOf1) GetUserdata() string

GetUserdata returns the Userdata field value if set, zero value otherwise.

func (*CreateDeviceRequestOneOf1) GetUserdataOk ¶ added in v0.2.6

func (o *CreateDeviceRequestOneOf1) 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 (*CreateDeviceRequestOneOf1) HasAlwaysPxe ¶ added in v0.2.6

func (o *CreateDeviceRequestOneOf1) HasAlwaysPxe() bool

HasAlwaysPxe returns a boolean if a field has been set.

func (*CreateDeviceRequestOneOf1) HasBillingCycle ¶ added in v0.2.6

func (o *CreateDeviceRequestOneOf1) HasBillingCycle() bool

HasBillingCycle returns a boolean if a field has been set.

func (*CreateDeviceRequestOneOf1) HasCustomdata ¶ added in v0.2.6

func (o *CreateDeviceRequestOneOf1) HasCustomdata() bool

HasCustomdata returns a boolean if a field has been set.

func (*CreateDeviceRequestOneOf1) HasDescription ¶ added in v0.2.6

func (o *CreateDeviceRequestOneOf1) HasDescription() bool

HasDescription returns a boolean if a field has been set.

func (*CreateDeviceRequestOneOf1) HasFeatures ¶ added in v0.2.6

func (o *CreateDeviceRequestOneOf1) HasFeatures() bool

HasFeatures returns a boolean if a field has been set.

func (*CreateDeviceRequestOneOf1) HasHardwareReservationId ¶ added in v0.2.6

func (o *CreateDeviceRequestOneOf1) HasHardwareReservationId() bool

HasHardwareReservationId returns a boolean if a field has been set.

func (*CreateDeviceRequestOneOf1) HasHostname ¶ added in v0.2.6

func (o *CreateDeviceRequestOneOf1) HasHostname() bool

HasHostname returns a boolean if a field has been set.

func (*CreateDeviceRequestOneOf1) HasIpAddresses ¶ added in v0.2.6

func (o *CreateDeviceRequestOneOf1) HasIpAddresses() bool

HasIpAddresses returns a boolean if a field has been set.

func (*CreateDeviceRequestOneOf1) HasIpxeScriptUrl ¶ added in v0.2.6

func (o *CreateDeviceRequestOneOf1) HasIpxeScriptUrl() bool

HasIpxeScriptUrl returns a boolean if a field has been set.

func (*CreateDeviceRequestOneOf1) HasLocked ¶ added in v0.2.6

func (o *CreateDeviceRequestOneOf1) HasLocked() bool

HasLocked returns a boolean if a field has been set.

func (*CreateDeviceRequestOneOf1) HasNoSshKeys ¶ added in v0.2.6

func (o *CreateDeviceRequestOneOf1) HasNoSshKeys() bool

HasNoSshKeys returns a boolean if a field has been set.

func (*CreateDeviceRequestOneOf1) HasPrivateIpv4SubnetSize ¶ added in v0.2.6

func (o *CreateDeviceRequestOneOf1) HasPrivateIpv4SubnetSize() bool

HasPrivateIpv4SubnetSize returns a boolean if a field has been set.

func (*CreateDeviceRequestOneOf1) HasProjectSshKeys ¶ added in v0.2.6

func (o *CreateDeviceRequestOneOf1) HasProjectSshKeys() bool

HasProjectSshKeys returns a boolean if a field has been set.

func (*CreateDeviceRequestOneOf1) HasPublicIpv4SubnetSize ¶ added in v0.2.6

func (o *CreateDeviceRequestOneOf1) HasPublicIpv4SubnetSize() bool

HasPublicIpv4SubnetSize returns a boolean if a field has been set.

func (*CreateDeviceRequestOneOf1) HasSpotInstance ¶ added in v0.2.6

func (o *CreateDeviceRequestOneOf1) HasSpotInstance() bool

HasSpotInstance returns a boolean if a field has been set.

func (*CreateDeviceRequestOneOf1) HasSpotPriceMax ¶ added in v0.2.6

func (o *CreateDeviceRequestOneOf1) HasSpotPriceMax() bool

HasSpotPriceMax returns a boolean if a field has been set.

func (*CreateDeviceRequestOneOf1) HasSshKeys ¶ added in v0.2.6

func (o *CreateDeviceRequestOneOf1) HasSshKeys() bool

HasSshKeys returns a boolean if a field has been set.

func (*CreateDeviceRequestOneOf1) HasTags ¶ added in v0.2.6

func (o *CreateDeviceRequestOneOf1) HasTags() bool

HasTags returns a boolean if a field has been set.

func (*CreateDeviceRequestOneOf1) HasTerminationTime ¶ added in v0.2.6

func (o *CreateDeviceRequestOneOf1) HasTerminationTime() bool

HasTerminationTime returns a boolean if a field has been set.

func (*CreateDeviceRequestOneOf1) HasUserSshKeys ¶ added in v0.2.6

func (o *CreateDeviceRequestOneOf1) HasUserSshKeys() bool

HasUserSshKeys returns a boolean if a field has been set.

func (*CreateDeviceRequestOneOf1) HasUserdata ¶ added in v0.2.6

func (o *CreateDeviceRequestOneOf1) HasUserdata() bool

HasUserdata returns a boolean if a field has been set.

func (CreateDeviceRequestOneOf1) MarshalJSON ¶ added in v0.2.6

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

func (*CreateDeviceRequestOneOf1) SetAlwaysPxe ¶ added in v0.2.6

func (o *CreateDeviceRequestOneOf1) SetAlwaysPxe(v bool)

SetAlwaysPxe gets a reference to the given bool and assigns it to the AlwaysPxe field.

func (*CreateDeviceRequestOneOf1) SetBillingCycle ¶ added in v0.2.6

func (o *CreateDeviceRequestOneOf1) SetBillingCycle(v string)

SetBillingCycle gets a reference to the given string and assigns it to the BillingCycle field.

func (*CreateDeviceRequestOneOf1) SetCustomdata ¶ added in v0.2.6

func (o *CreateDeviceRequestOneOf1) SetCustomdata(v interface{})

SetCustomdata gets a reference to the given interface{} and assigns it to the Customdata field.

func (*CreateDeviceRequestOneOf1) SetDescription ¶ added in v0.2.6

func (o *CreateDeviceRequestOneOf1) SetDescription(v string)

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

func (*CreateDeviceRequestOneOf1) SetFacility ¶ added in v0.2.6

SetFacility sets field value

func (*CreateDeviceRequestOneOf1) SetFeatures ¶ added in v0.2.6

func (o *CreateDeviceRequestOneOf1) SetFeatures(v []string)

SetFeatures gets a reference to the given []string and assigns it to the Features field.

func (*CreateDeviceRequestOneOf1) SetHardwareReservationId ¶ added in v0.2.6

func (o *CreateDeviceRequestOneOf1) SetHardwareReservationId(v string)

SetHardwareReservationId gets a reference to the given string and assigns it to the HardwareReservationId field.

func (*CreateDeviceRequestOneOf1) SetHostname ¶ added in v0.2.6

func (o *CreateDeviceRequestOneOf1) SetHostname(v string)

SetHostname gets a reference to the given string and assigns it to the Hostname field.

func (*CreateDeviceRequestOneOf1) SetIpAddresses ¶ added in v0.2.6

SetIpAddresses gets a reference to the given []CreateDeviceRequestOneOfAllOf1IpAddressesInner and assigns it to the IpAddresses field.

func (*CreateDeviceRequestOneOf1) SetIpxeScriptUrl ¶ added in v0.2.6

func (o *CreateDeviceRequestOneOf1) SetIpxeScriptUrl(v string)

SetIpxeScriptUrl gets a reference to the given string and assigns it to the IpxeScriptUrl field.

func (*CreateDeviceRequestOneOf1) SetLocked ¶ added in v0.2.6

func (o *CreateDeviceRequestOneOf1) SetLocked(v bool)

SetLocked gets a reference to the given bool and assigns it to the Locked field.

func (*CreateDeviceRequestOneOf1) SetNoSshKeys ¶ added in v0.2.6

func (o *CreateDeviceRequestOneOf1) SetNoSshKeys(v bool)

SetNoSshKeys gets a reference to the given bool and assigns it to the NoSshKeys field.

func (*CreateDeviceRequestOneOf1) SetOperatingSystem ¶ added in v0.2.6

func (o *CreateDeviceRequestOneOf1) SetOperatingSystem(v string)

SetOperatingSystem sets field value

func (*CreateDeviceRequestOneOf1) SetPlan ¶ added in v0.2.6

func (o *CreateDeviceRequestOneOf1) SetPlan(v string)

SetPlan sets field value

func (*CreateDeviceRequestOneOf1) SetPrivateIpv4SubnetSize ¶ added in v0.2.6

func (o *CreateDeviceRequestOneOf1) SetPrivateIpv4SubnetSize(v float32)

SetPrivateIpv4SubnetSize gets a reference to the given float32 and assigns it to the PrivateIpv4SubnetSize field.

func (*CreateDeviceRequestOneOf1) SetProjectSshKeys ¶ added in v0.2.6

func (o *CreateDeviceRequestOneOf1) SetProjectSshKeys(v []string)

SetProjectSshKeys gets a reference to the given []string and assigns it to the ProjectSshKeys field.

func (*CreateDeviceRequestOneOf1) SetPublicIpv4SubnetSize ¶ added in v0.2.6

func (o *CreateDeviceRequestOneOf1) SetPublicIpv4SubnetSize(v float32)

SetPublicIpv4SubnetSize gets a reference to the given float32 and assigns it to the PublicIpv4SubnetSize field.

func (*CreateDeviceRequestOneOf1) SetSpotInstance ¶ added in v0.2.6

func (o *CreateDeviceRequestOneOf1) SetSpotInstance(v bool)

SetSpotInstance gets a reference to the given bool and assigns it to the SpotInstance field.

func (*CreateDeviceRequestOneOf1) SetSpotPriceMax ¶ added in v0.2.6

func (o *CreateDeviceRequestOneOf1) SetSpotPriceMax(v float32)

SetSpotPriceMax gets a reference to the given float32 and assigns it to the SpotPriceMax field.

func (*CreateDeviceRequestOneOf1) SetSshKeys ¶ added in v0.2.6

SetSshKeys gets a reference to the given []CreateDeviceRequestOneOfAllOf1SshKeysInner and assigns it to the SshKeys field.

func (*CreateDeviceRequestOneOf1) SetTags ¶ added in v0.2.6

func (o *CreateDeviceRequestOneOf1) SetTags(v []string)

SetTags gets a reference to the given []string and assigns it to the Tags field.

func (*CreateDeviceRequestOneOf1) SetTerminationTime ¶ added in v0.2.6

func (o *CreateDeviceRequestOneOf1) SetTerminationTime(v time.Time)

SetTerminationTime gets a reference to the given time.Time and assigns it to the TerminationTime field.

func (*CreateDeviceRequestOneOf1) SetUserSshKeys ¶ added in v0.2.6

func (o *CreateDeviceRequestOneOf1) SetUserSshKeys(v []string)

SetUserSshKeys gets a reference to the given []string and assigns it to the UserSshKeys field.

func (*CreateDeviceRequestOneOf1) SetUserdata ¶ added in v0.2.6

func (o *CreateDeviceRequestOneOf1) SetUserdata(v string)

SetUserdata gets a reference to the given string and assigns it to the Userdata field.

type CreateDeviceRequestOneOf1AllOf ¶ added in v0.2.6

type CreateDeviceRequestOneOf1AllOf struct {
	Facility CreateDeviceRequestOneOf1AllOfFacility `json:"facility"`
}

CreateDeviceRequestOneOf1AllOf struct for CreateDeviceRequestOneOf1AllOf

func NewCreateDeviceRequestOneOf1AllOf ¶ added in v0.2.6

func NewCreateDeviceRequestOneOf1AllOf(facility CreateDeviceRequestOneOf1AllOfFacility) *CreateDeviceRequestOneOf1AllOf

NewCreateDeviceRequestOneOf1AllOf instantiates a new CreateDeviceRequestOneOf1AllOf 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 NewCreateDeviceRequestOneOf1AllOfWithDefaults ¶ added in v0.2.6

func NewCreateDeviceRequestOneOf1AllOfWithDefaults() *CreateDeviceRequestOneOf1AllOf

NewCreateDeviceRequestOneOf1AllOfWithDefaults instantiates a new CreateDeviceRequestOneOf1AllOf 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 (*CreateDeviceRequestOneOf1AllOf) GetFacility ¶ added in v0.2.6

GetFacility returns the Facility field value

func (*CreateDeviceRequestOneOf1AllOf) GetFacilityOk ¶ added in v0.2.6

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

func (CreateDeviceRequestOneOf1AllOf) MarshalJSON ¶ added in v0.2.6

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

func (*CreateDeviceRequestOneOf1AllOf) SetFacility ¶ added in v0.2.6

SetFacility sets field value

type CreateDeviceRequestOneOf1AllOfFacility ¶ added in v0.2.6

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

CreateDeviceRequestOneOf1AllOfFacility 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.

func (*CreateDeviceRequestOneOf1AllOfFacility) MarshalJSON ¶ added in v0.2.6

func (src *CreateDeviceRequestOneOf1AllOfFacility) MarshalJSON() ([]byte, error)

Marshal data from the first non-nil pointers in the struct to JSON

func (*CreateDeviceRequestOneOf1AllOfFacility) UnmarshalJSON ¶ added in v0.2.6

func (dst *CreateDeviceRequestOneOf1AllOfFacility) UnmarshalJSON(data []byte) error

Unmarshal JSON data into any of the pointers in the struct

type CreateDeviceRequestOneOfAllOf ¶ added in v0.2.6

type CreateDeviceRequestOneOfAllOf struct {
	// Metro code or ID of where the instance should be provisioned in.  Either metro or facility must be provided.
	Metro string `json:"metro"`
}

CreateDeviceRequestOneOfAllOf struct for CreateDeviceRequestOneOfAllOf

func NewCreateDeviceRequestOneOfAllOf ¶ added in v0.2.6

func NewCreateDeviceRequestOneOfAllOf(metro string) *CreateDeviceRequestOneOfAllOf

NewCreateDeviceRequestOneOfAllOf instantiates a new CreateDeviceRequestOneOfAllOf 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 NewCreateDeviceRequestOneOfAllOfWithDefaults ¶ added in v0.2.6

func NewCreateDeviceRequestOneOfAllOfWithDefaults() *CreateDeviceRequestOneOfAllOf

NewCreateDeviceRequestOneOfAllOfWithDefaults instantiates a new CreateDeviceRequestOneOfAllOf 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 (*CreateDeviceRequestOneOfAllOf) GetMetro ¶ added in v0.2.6

func (o *CreateDeviceRequestOneOfAllOf) GetMetro() string

GetMetro returns the Metro field value

func (*CreateDeviceRequestOneOfAllOf) GetMetroOk ¶ added in v0.2.6

func (o *CreateDeviceRequestOneOfAllOf) GetMetroOk() (*string, bool)

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

func (CreateDeviceRequestOneOfAllOf) MarshalJSON ¶ added in v0.2.6

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

func (*CreateDeviceRequestOneOfAllOf) SetMetro ¶ added in v0.2.6

func (o *CreateDeviceRequestOneOfAllOf) SetMetro(v string)

SetMetro sets field value

type CreateDeviceRequestOneOfAllOf1 ¶ added in v0.2.6

type CreateDeviceRequestOneOfAllOf1 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"`
	// The billing cycle of the device.
	BillingCycle *string `json:"billing_cycle,omitempty"`
	// Customdata is an arbitrary JSON value that can be accessed via the metadata service.
	Customdata 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 []CreateDeviceRequestOneOfAllOf1IpAddressesInner `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"`
	// 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 *float32 `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 *float32 `json:"public_ipv4_subnet_size,omitempty"`
	SpotInstance         *bool    `json:"spot_instance,omitempty"`
	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         []CreateDeviceRequestOneOfAllOf1SshKeysInner `json:"ssh_keys,omitempty"`
	Tags            []string                                     `json:"tags,omitempty"`
	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"`
}

CreateDeviceRequestOneOfAllOf1 struct for CreateDeviceRequestOneOfAllOf1

func NewCreateDeviceRequestOneOfAllOf1 ¶ added in v0.2.6

func NewCreateDeviceRequestOneOfAllOf1(operatingSystem string, plan string) *CreateDeviceRequestOneOfAllOf1

NewCreateDeviceRequestOneOfAllOf1 instantiates a new CreateDeviceRequestOneOfAllOf1 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 NewCreateDeviceRequestOneOfAllOf1WithDefaults ¶ added in v0.2.6

func NewCreateDeviceRequestOneOfAllOf1WithDefaults() *CreateDeviceRequestOneOfAllOf1

NewCreateDeviceRequestOneOfAllOf1WithDefaults instantiates a new CreateDeviceRequestOneOfAllOf1 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 (*CreateDeviceRequestOneOfAllOf1) GetAlwaysPxe ¶ added in v0.2.6

func (o *CreateDeviceRequestOneOfAllOf1) GetAlwaysPxe() bool

GetAlwaysPxe returns the AlwaysPxe field value if set, zero value otherwise.

func (*CreateDeviceRequestOneOfAllOf1) GetAlwaysPxeOk ¶ added in v0.2.6

func (o *CreateDeviceRequestOneOfAllOf1) 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 (*CreateDeviceRequestOneOfAllOf1) GetBillingCycle ¶ added in v0.2.6

func (o *CreateDeviceRequestOneOfAllOf1) GetBillingCycle() string

GetBillingCycle returns the BillingCycle field value if set, zero value otherwise.

func (*CreateDeviceRequestOneOfAllOf1) GetBillingCycleOk ¶ added in v0.2.6

func (o *CreateDeviceRequestOneOfAllOf1) 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 (*CreateDeviceRequestOneOfAllOf1) GetCustomdata ¶ added in v0.2.6

func (o *CreateDeviceRequestOneOfAllOf1) GetCustomdata() interface{}

GetCustomdata returns the Customdata field value if set, zero value otherwise (both if not set or set to explicit null).

func (*CreateDeviceRequestOneOfAllOf1) GetCustomdataOk ¶ added in v0.2.6

func (o *CreateDeviceRequestOneOfAllOf1) GetCustomdataOk() (*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. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*CreateDeviceRequestOneOfAllOf1) GetDescription ¶ added in v0.2.6

func (o *CreateDeviceRequestOneOfAllOf1) GetDescription() string

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

func (*CreateDeviceRequestOneOfAllOf1) GetDescriptionOk ¶ added in v0.2.6

func (o *CreateDeviceRequestOneOfAllOf1) 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 (*CreateDeviceRequestOneOfAllOf1) GetFeatures ¶ added in v0.2.6

func (o *CreateDeviceRequestOneOfAllOf1) GetFeatures() []string

GetFeatures returns the Features field value if set, zero value otherwise.

func (*CreateDeviceRequestOneOfAllOf1) GetFeaturesOk ¶ added in v0.2.6

func (o *CreateDeviceRequestOneOfAllOf1) 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 (*CreateDeviceRequestOneOfAllOf1) GetHardwareReservationId ¶ added in v0.2.6

func (o *CreateDeviceRequestOneOfAllOf1) GetHardwareReservationId() string

GetHardwareReservationId returns the HardwareReservationId field value if set, zero value otherwise.

func (*CreateDeviceRequestOneOfAllOf1) GetHardwareReservationIdOk ¶ added in v0.2.6

func (o *CreateDeviceRequestOneOfAllOf1) 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 (*CreateDeviceRequestOneOfAllOf1) GetHostname ¶ added in v0.2.6

func (o *CreateDeviceRequestOneOfAllOf1) GetHostname() string

GetHostname returns the Hostname field value if set, zero value otherwise.

func (*CreateDeviceRequestOneOfAllOf1) GetHostnameOk ¶ added in v0.2.6

func (o *CreateDeviceRequestOneOfAllOf1) 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 (*CreateDeviceRequestOneOfAllOf1) GetIpAddresses ¶ added in v0.2.6

GetIpAddresses returns the IpAddresses field value if set, zero value otherwise.

func (*CreateDeviceRequestOneOfAllOf1) GetIpAddressesOk ¶ added in v0.2.6

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 (*CreateDeviceRequestOneOfAllOf1) GetIpxeScriptUrl ¶ added in v0.2.6

func (o *CreateDeviceRequestOneOfAllOf1) GetIpxeScriptUrl() string

GetIpxeScriptUrl returns the IpxeScriptUrl field value if set, zero value otherwise.

func (*CreateDeviceRequestOneOfAllOf1) GetIpxeScriptUrlOk ¶ added in v0.2.6

func (o *CreateDeviceRequestOneOfAllOf1) 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 (*CreateDeviceRequestOneOfAllOf1) GetLocked ¶ added in v0.2.6

func (o *CreateDeviceRequestOneOfAllOf1) GetLocked() bool

GetLocked returns the Locked field value if set, zero value otherwise.

func (*CreateDeviceRequestOneOfAllOf1) GetLockedOk ¶ added in v0.2.6

func (o *CreateDeviceRequestOneOfAllOf1) 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 (*CreateDeviceRequestOneOfAllOf1) GetNoSshKeys ¶ added in v0.2.6

func (o *CreateDeviceRequestOneOfAllOf1) GetNoSshKeys() bool

GetNoSshKeys returns the NoSshKeys field value if set, zero value otherwise.

func (*CreateDeviceRequestOneOfAllOf1) GetNoSshKeysOk ¶ added in v0.2.6

func (o *CreateDeviceRequestOneOfAllOf1) 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 (*CreateDeviceRequestOneOfAllOf1) GetOperatingSystem ¶ added in v0.2.6

func (o *CreateDeviceRequestOneOfAllOf1) GetOperatingSystem() string

GetOperatingSystem returns the OperatingSystem field value

func (*CreateDeviceRequestOneOfAllOf1) GetOperatingSystemOk ¶ added in v0.2.6

func (o *CreateDeviceRequestOneOfAllOf1) GetOperatingSystemOk() (*string, bool)

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

func (*CreateDeviceRequestOneOfAllOf1) GetPlan ¶ added in v0.2.6

GetPlan returns the Plan field value

func (*CreateDeviceRequestOneOfAllOf1) GetPlanOk ¶ added in v0.2.6

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

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

func (*CreateDeviceRequestOneOfAllOf1) GetPrivateIpv4SubnetSize ¶ added in v0.2.6

func (o *CreateDeviceRequestOneOfAllOf1) GetPrivateIpv4SubnetSize() float32

GetPrivateIpv4SubnetSize returns the PrivateIpv4SubnetSize field value if set, zero value otherwise.

func (*CreateDeviceRequestOneOfAllOf1) GetPrivateIpv4SubnetSizeOk ¶ added in v0.2.6

func (o *CreateDeviceRequestOneOfAllOf1) GetPrivateIpv4SubnetSizeOk() (*float32, 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 (*CreateDeviceRequestOneOfAllOf1) GetProjectSshKeys ¶ added in v0.2.6

func (o *CreateDeviceRequestOneOfAllOf1) GetProjectSshKeys() []string

GetProjectSshKeys returns the ProjectSshKeys field value if set, zero value otherwise.

func (*CreateDeviceRequestOneOfAllOf1) GetProjectSshKeysOk ¶ added in v0.2.6

func (o *CreateDeviceRequestOneOfAllOf1) 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 (*CreateDeviceRequestOneOfAllOf1) GetPublicIpv4SubnetSize ¶ added in v0.2.6

func (o *CreateDeviceRequestOneOfAllOf1) GetPublicIpv4SubnetSize() float32

GetPublicIpv4SubnetSize returns the PublicIpv4SubnetSize field value if set, zero value otherwise.

func (*CreateDeviceRequestOneOfAllOf1) GetPublicIpv4SubnetSizeOk ¶ added in v0.2.6

func (o *CreateDeviceRequestOneOfAllOf1) GetPublicIpv4SubnetSizeOk() (*float32, 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 (*CreateDeviceRequestOneOfAllOf1) GetSpotInstance ¶ added in v0.2.6

func (o *CreateDeviceRequestOneOfAllOf1) GetSpotInstance() bool

GetSpotInstance returns the SpotInstance field value if set, zero value otherwise.

func (*CreateDeviceRequestOneOfAllOf1) GetSpotInstanceOk ¶ added in v0.2.6

func (o *CreateDeviceRequestOneOfAllOf1) 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 (*CreateDeviceRequestOneOfAllOf1) GetSpotPriceMax ¶ added in v0.2.6

func (o *CreateDeviceRequestOneOfAllOf1) GetSpotPriceMax() float32

GetSpotPriceMax returns the SpotPriceMax field value if set, zero value otherwise.

func (*CreateDeviceRequestOneOfAllOf1) GetSpotPriceMaxOk ¶ added in v0.2.6

func (o *CreateDeviceRequestOneOfAllOf1) 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 (*CreateDeviceRequestOneOfAllOf1) GetSshKeys ¶ added in v0.2.6

GetSshKeys returns the SshKeys field value if set, zero value otherwise.

func (*CreateDeviceRequestOneOfAllOf1) GetSshKeysOk ¶ added in v0.2.6

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 (*CreateDeviceRequestOneOfAllOf1) GetTags ¶ added in v0.2.6

func (o *CreateDeviceRequestOneOfAllOf1) GetTags() []string

GetTags returns the Tags field value if set, zero value otherwise.

func (*CreateDeviceRequestOneOfAllOf1) GetTagsOk ¶ added in v0.2.6

func (o *CreateDeviceRequestOneOfAllOf1) 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 (*CreateDeviceRequestOneOfAllOf1) GetTerminationTime ¶ added in v0.2.6

func (o *CreateDeviceRequestOneOfAllOf1) GetTerminationTime() time.Time

GetTerminationTime returns the TerminationTime field value if set, zero value otherwise.

func (*CreateDeviceRequestOneOfAllOf1) GetTerminationTimeOk ¶ added in v0.2.6

func (o *CreateDeviceRequestOneOfAllOf1) 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 (*CreateDeviceRequestOneOfAllOf1) GetUserSshKeys ¶ added in v0.2.6

func (o *CreateDeviceRequestOneOfAllOf1) GetUserSshKeys() []string

GetUserSshKeys returns the UserSshKeys field value if set, zero value otherwise.

func (*CreateDeviceRequestOneOfAllOf1) GetUserSshKeysOk ¶ added in v0.2.6

func (o *CreateDeviceRequestOneOfAllOf1) 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 (*CreateDeviceRequestOneOfAllOf1) GetUserdata ¶ added in v0.2.6

func (o *CreateDeviceRequestOneOfAllOf1) GetUserdata() string

GetUserdata returns the Userdata field value if set, zero value otherwise.

func (*CreateDeviceRequestOneOfAllOf1) GetUserdataOk ¶ added in v0.2.6

func (o *CreateDeviceRequestOneOfAllOf1) 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 (*CreateDeviceRequestOneOfAllOf1) HasAlwaysPxe ¶ added in v0.2.6

func (o *CreateDeviceRequestOneOfAllOf1) HasAlwaysPxe() bool

HasAlwaysPxe returns a boolean if a field has been set.

func (*CreateDeviceRequestOneOfAllOf1) HasBillingCycle ¶ added in v0.2.6

func (o *CreateDeviceRequestOneOfAllOf1) HasBillingCycle() bool

HasBillingCycle returns a boolean if a field has been set.

func (*CreateDeviceRequestOneOfAllOf1) HasCustomdata ¶ added in v0.2.6

func (o *CreateDeviceRequestOneOfAllOf1) HasCustomdata() bool

HasCustomdata returns a boolean if a field has been set.

func (*CreateDeviceRequestOneOfAllOf1) HasDescription ¶ added in v0.2.6

func (o *CreateDeviceRequestOneOfAllOf1) HasDescription() bool

HasDescription returns a boolean if a field has been set.

func (*CreateDeviceRequestOneOfAllOf1) HasFeatures ¶ added in v0.2.6

func (o *CreateDeviceRequestOneOfAllOf1) HasFeatures() bool

HasFeatures returns a boolean if a field has been set.

func (*CreateDeviceRequestOneOfAllOf1) HasHardwareReservationId ¶ added in v0.2.6

func (o *CreateDeviceRequestOneOfAllOf1) HasHardwareReservationId() bool

HasHardwareReservationId returns a boolean if a field has been set.

func (*CreateDeviceRequestOneOfAllOf1) HasHostname ¶ added in v0.2.6

func (o *CreateDeviceRequestOneOfAllOf1) HasHostname() bool

HasHostname returns a boolean if a field has been set.

func (*CreateDeviceRequestOneOfAllOf1) HasIpAddresses ¶ added in v0.2.6

func (o *CreateDeviceRequestOneOfAllOf1) HasIpAddresses() bool

HasIpAddresses returns a boolean if a field has been set.

func (*CreateDeviceRequestOneOfAllOf1) HasIpxeScriptUrl ¶ added in v0.2.6

func (o *CreateDeviceRequestOneOfAllOf1) HasIpxeScriptUrl() bool

HasIpxeScriptUrl returns a boolean if a field has been set.

func (*CreateDeviceRequestOneOfAllOf1) HasLocked ¶ added in v0.2.6

func (o *CreateDeviceRequestOneOfAllOf1) HasLocked() bool

HasLocked returns a boolean if a field has been set.

func (*CreateDeviceRequestOneOfAllOf1) HasNoSshKeys ¶ added in v0.2.6

func (o *CreateDeviceRequestOneOfAllOf1) HasNoSshKeys() bool

HasNoSshKeys returns a boolean if a field has been set.

func (*CreateDeviceRequestOneOfAllOf1) HasPrivateIpv4SubnetSize ¶ added in v0.2.6

func (o *CreateDeviceRequestOneOfAllOf1) HasPrivateIpv4SubnetSize() bool

HasPrivateIpv4SubnetSize returns a boolean if a field has been set.

func (*CreateDeviceRequestOneOfAllOf1) HasProjectSshKeys ¶ added in v0.2.6

func (o *CreateDeviceRequestOneOfAllOf1) HasProjectSshKeys() bool

HasProjectSshKeys returns a boolean if a field has been set.

func (*CreateDeviceRequestOneOfAllOf1) HasPublicIpv4SubnetSize ¶ added in v0.2.6

func (o *CreateDeviceRequestOneOfAllOf1) HasPublicIpv4SubnetSize() bool

HasPublicIpv4SubnetSize returns a boolean if a field has been set.

func (*CreateDeviceRequestOneOfAllOf1) HasSpotInstance ¶ added in v0.2.6

func (o *CreateDeviceRequestOneOfAllOf1) HasSpotInstance() bool

HasSpotInstance returns a boolean if a field has been set.

func (*CreateDeviceRequestOneOfAllOf1) HasSpotPriceMax ¶ added in v0.2.6

func (o *CreateDeviceRequestOneOfAllOf1) HasSpotPriceMax() bool

HasSpotPriceMax returns a boolean if a field has been set.

func (*CreateDeviceRequestOneOfAllOf1) HasSshKeys ¶ added in v0.2.6

func (o *CreateDeviceRequestOneOfAllOf1) HasSshKeys() bool

HasSshKeys returns a boolean if a field has been set.

func (*CreateDeviceRequestOneOfAllOf1) HasTags ¶ added in v0.2.6

func (o *CreateDeviceRequestOneOfAllOf1) HasTags() bool

HasTags returns a boolean if a field has been set.

func (*CreateDeviceRequestOneOfAllOf1) HasTerminationTime ¶ added in v0.2.6

func (o *CreateDeviceRequestOneOfAllOf1) HasTerminationTime() bool

HasTerminationTime returns a boolean if a field has been set.

func (*CreateDeviceRequestOneOfAllOf1) HasUserSshKeys ¶ added in v0.2.6

func (o *CreateDeviceRequestOneOfAllOf1) HasUserSshKeys() bool

HasUserSshKeys returns a boolean if a field has been set.

func (*CreateDeviceRequestOneOfAllOf1) HasUserdata ¶ added in v0.2.6

func (o *CreateDeviceRequestOneOfAllOf1) HasUserdata() bool

HasUserdata returns a boolean if a field has been set.

func (CreateDeviceRequestOneOfAllOf1) MarshalJSON ¶ added in v0.2.6

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

func (*CreateDeviceRequestOneOfAllOf1) SetAlwaysPxe ¶ added in v0.2.6

func (o *CreateDeviceRequestOneOfAllOf1) SetAlwaysPxe(v bool)

SetAlwaysPxe gets a reference to the given bool and assigns it to the AlwaysPxe field.

func (*CreateDeviceRequestOneOfAllOf1) SetBillingCycle ¶ added in v0.2.6

func (o *CreateDeviceRequestOneOfAllOf1) SetBillingCycle(v string)

SetBillingCycle gets a reference to the given string and assigns it to the BillingCycle field.

func (*CreateDeviceRequestOneOfAllOf1) SetCustomdata ¶ added in v0.2.6

func (o *CreateDeviceRequestOneOfAllOf1) SetCustomdata(v interface{})

SetCustomdata gets a reference to the given interface{} and assigns it to the Customdata field.

func (*CreateDeviceRequestOneOfAllOf1) SetDescription ¶ added in v0.2.6

func (o *CreateDeviceRequestOneOfAllOf1) SetDescription(v string)

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

func (*CreateDeviceRequestOneOfAllOf1) SetFeatures ¶ added in v0.2.6

func (o *CreateDeviceRequestOneOfAllOf1) SetFeatures(v []string)

SetFeatures gets a reference to the given []string and assigns it to the Features field.

func (*CreateDeviceRequestOneOfAllOf1) SetHardwareReservationId ¶ added in v0.2.6

func (o *CreateDeviceRequestOneOfAllOf1) SetHardwareReservationId(v string)

SetHardwareReservationId gets a reference to the given string and assigns it to the HardwareReservationId field.

func (*CreateDeviceRequestOneOfAllOf1) SetHostname ¶ added in v0.2.6

func (o *CreateDeviceRequestOneOfAllOf1) SetHostname(v string)

SetHostname gets a reference to the given string and assigns it to the Hostname field.

func (*CreateDeviceRequestOneOfAllOf1) SetIpAddresses ¶ added in v0.2.6

SetIpAddresses gets a reference to the given []CreateDeviceRequestOneOfAllOf1IpAddressesInner and assigns it to the IpAddresses field.

func (*CreateDeviceRequestOneOfAllOf1) SetIpxeScriptUrl ¶ added in v0.2.6

func (o *CreateDeviceRequestOneOfAllOf1) SetIpxeScriptUrl(v string)

SetIpxeScriptUrl gets a reference to the given string and assigns it to the IpxeScriptUrl field.

func (*CreateDeviceRequestOneOfAllOf1) SetLocked ¶ added in v0.2.6

func (o *CreateDeviceRequestOneOfAllOf1) SetLocked(v bool)

SetLocked gets a reference to the given bool and assigns it to the Locked field.

func (*CreateDeviceRequestOneOfAllOf1) SetNoSshKeys ¶ added in v0.2.6

func (o *CreateDeviceRequestOneOfAllOf1) SetNoSshKeys(v bool)

SetNoSshKeys gets a reference to the given bool and assigns it to the NoSshKeys field.

func (*CreateDeviceRequestOneOfAllOf1) SetOperatingSystem ¶ added in v0.2.6

func (o *CreateDeviceRequestOneOfAllOf1) SetOperatingSystem(v string)

SetOperatingSystem sets field value

func (*CreateDeviceRequestOneOfAllOf1) SetPlan ¶ added in v0.2.6

func (o *CreateDeviceRequestOneOfAllOf1) SetPlan(v string)

SetPlan sets field value

func (*CreateDeviceRequestOneOfAllOf1) SetPrivateIpv4SubnetSize ¶ added in v0.2.6

func (o *CreateDeviceRequestOneOfAllOf1) SetPrivateIpv4SubnetSize(v float32)

SetPrivateIpv4SubnetSize gets a reference to the given float32 and assigns it to the PrivateIpv4SubnetSize field.

func (*CreateDeviceRequestOneOfAllOf1) SetProjectSshKeys ¶ added in v0.2.6

func (o *CreateDeviceRequestOneOfAllOf1) SetProjectSshKeys(v []string)

SetProjectSshKeys gets a reference to the given []string and assigns it to the ProjectSshKeys field.

func (*CreateDeviceRequestOneOfAllOf1) SetPublicIpv4SubnetSize ¶ added in v0.2.6

func (o *CreateDeviceRequestOneOfAllOf1) SetPublicIpv4SubnetSize(v float32)

SetPublicIpv4SubnetSize gets a reference to the given float32 and assigns it to the PublicIpv4SubnetSize field.

func (*CreateDeviceRequestOneOfAllOf1) SetSpotInstance ¶ added in v0.2.6

func (o *CreateDeviceRequestOneOfAllOf1) SetSpotInstance(v bool)

SetSpotInstance gets a reference to the given bool and assigns it to the SpotInstance field.

func (*CreateDeviceRequestOneOfAllOf1) SetSpotPriceMax ¶ added in v0.2.6

func (o *CreateDeviceRequestOneOfAllOf1) SetSpotPriceMax(v float32)

SetSpotPriceMax gets a reference to the given float32 and assigns it to the SpotPriceMax field.

func (*CreateDeviceRequestOneOfAllOf1) SetSshKeys ¶ added in v0.2.6

SetSshKeys gets a reference to the given []CreateDeviceRequestOneOfAllOf1SshKeysInner and assigns it to the SshKeys field.

func (*CreateDeviceRequestOneOfAllOf1) SetTags ¶ added in v0.2.6

func (o *CreateDeviceRequestOneOfAllOf1) SetTags(v []string)

SetTags gets a reference to the given []string and assigns it to the Tags field.

func (*CreateDeviceRequestOneOfAllOf1) SetTerminationTime ¶ added in v0.2.6

func (o *CreateDeviceRequestOneOfAllOf1) SetTerminationTime(v time.Time)

SetTerminationTime gets a reference to the given time.Time and assigns it to the TerminationTime field.

func (*CreateDeviceRequestOneOfAllOf1) SetUserSshKeys ¶ added in v0.2.6

func (o *CreateDeviceRequestOneOfAllOf1) SetUserSshKeys(v []string)

SetUserSshKeys gets a reference to the given []string and assigns it to the UserSshKeys field.

func (*CreateDeviceRequestOneOfAllOf1) SetUserdata ¶ added in v0.2.6

func (o *CreateDeviceRequestOneOfAllOf1) SetUserdata(v string)

SetUserdata gets a reference to the given string and assigns it to the Userdata field.

type CreateDeviceRequestOneOfAllOf1IpAddressesInner ¶ added in v0.2.6

type CreateDeviceRequestOneOfAllOf1IpAddressesInner struct {
	// Address Family for IP Address
	AddressFamily *float32 `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 *float32 `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"`
}

CreateDeviceRequestOneOfAllOf1IpAddressesInner struct for CreateDeviceRequestOneOfAllOf1IpAddressesInner

func NewCreateDeviceRequestOneOfAllOf1IpAddressesInner ¶ added in v0.2.6

func NewCreateDeviceRequestOneOfAllOf1IpAddressesInner() *CreateDeviceRequestOneOfAllOf1IpAddressesInner

NewCreateDeviceRequestOneOfAllOf1IpAddressesInner instantiates a new CreateDeviceRequestOneOfAllOf1IpAddressesInner 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 NewCreateDeviceRequestOneOfAllOf1IpAddressesInnerWithDefaults ¶ added in v0.2.6

func NewCreateDeviceRequestOneOfAllOf1IpAddressesInnerWithDefaults() *CreateDeviceRequestOneOfAllOf1IpAddressesInner

NewCreateDeviceRequestOneOfAllOf1IpAddressesInnerWithDefaults instantiates a new CreateDeviceRequestOneOfAllOf1IpAddressesInner 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 (*CreateDeviceRequestOneOfAllOf1IpAddressesInner) GetAddressFamily ¶ added in v0.2.6

GetAddressFamily returns the AddressFamily field value if set, zero value otherwise.

func (*CreateDeviceRequestOneOfAllOf1IpAddressesInner) GetAddressFamilyOk ¶ added in v0.2.6

func (o *CreateDeviceRequestOneOfAllOf1IpAddressesInner) GetAddressFamilyOk() (*float32, 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 (*CreateDeviceRequestOneOfAllOf1IpAddressesInner) GetCidr ¶ added in v0.2.6

GetCidr returns the Cidr field value if set, zero value otherwise.

func (*CreateDeviceRequestOneOfAllOf1IpAddressesInner) GetCidrOk ¶ added in v0.2.6

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 (*CreateDeviceRequestOneOfAllOf1IpAddressesInner) GetIpReservations ¶ added in v0.2.6

func (o *CreateDeviceRequestOneOfAllOf1IpAddressesInner) GetIpReservations() []string

GetIpReservations returns the IpReservations field value if set, zero value otherwise.

func (*CreateDeviceRequestOneOfAllOf1IpAddressesInner) GetIpReservationsOk ¶ added in v0.2.6

func (o *CreateDeviceRequestOneOfAllOf1IpAddressesInner) 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 (*CreateDeviceRequestOneOfAllOf1IpAddressesInner) GetPublic ¶ added in v0.2.6

GetPublic returns the Public field value if set, zero value otherwise.

func (*CreateDeviceRequestOneOfAllOf1IpAddressesInner) GetPublicOk ¶ added in v0.2.6

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 (*CreateDeviceRequestOneOfAllOf1IpAddressesInner) HasAddressFamily ¶ added in v0.2.6

HasAddressFamily returns a boolean if a field has been set.

func (*CreateDeviceRequestOneOfAllOf1IpAddressesInner) HasCidr ¶ added in v0.2.6

HasCidr returns a boolean if a field has been set.

func (*CreateDeviceRequestOneOfAllOf1IpAddressesInner) HasIpReservations ¶ added in v0.2.6

HasIpReservations returns a boolean if a field has been set.

func (*CreateDeviceRequestOneOfAllOf1IpAddressesInner) HasPublic ¶ added in v0.2.6

HasPublic returns a boolean if a field has been set.

func (CreateDeviceRequestOneOfAllOf1IpAddressesInner) MarshalJSON ¶ added in v0.2.6

func (*CreateDeviceRequestOneOfAllOf1IpAddressesInner) SetAddressFamily ¶ added in v0.2.6

SetAddressFamily gets a reference to the given float32 and assigns it to the AddressFamily field.

func (*CreateDeviceRequestOneOfAllOf1IpAddressesInner) SetCidr ¶ added in v0.2.6

SetCidr gets a reference to the given float32 and assigns it to the Cidr field.

func (*CreateDeviceRequestOneOfAllOf1IpAddressesInner) SetIpReservations ¶ added in v0.2.6

func (o *CreateDeviceRequestOneOfAllOf1IpAddressesInner) SetIpReservations(v []string)

SetIpReservations gets a reference to the given []string and assigns it to the IpReservations field.

func (*CreateDeviceRequestOneOfAllOf1IpAddressesInner) SetPublic ¶ added in v0.2.6

SetPublic gets a reference to the given bool and assigns it to the Public field.

type CreateDeviceRequestOneOfAllOf1SshKeysInner ¶ added in v0.2.6

type CreateDeviceRequestOneOfAllOf1SshKeysInner struct {
	Key   *string `json:"key,omitempty"`
	Label *string `json:"label,omitempty"`
}

CreateDeviceRequestOneOfAllOf1SshKeysInner struct for CreateDeviceRequestOneOfAllOf1SshKeysInner

func NewCreateDeviceRequestOneOfAllOf1SshKeysInner ¶ added in v0.2.6

func NewCreateDeviceRequestOneOfAllOf1SshKeysInner() *CreateDeviceRequestOneOfAllOf1SshKeysInner

NewCreateDeviceRequestOneOfAllOf1SshKeysInner instantiates a new CreateDeviceRequestOneOfAllOf1SshKeysInner 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 NewCreateDeviceRequestOneOfAllOf1SshKeysInnerWithDefaults ¶ added in v0.2.6

func NewCreateDeviceRequestOneOfAllOf1SshKeysInnerWithDefaults() *CreateDeviceRequestOneOfAllOf1SshKeysInner

NewCreateDeviceRequestOneOfAllOf1SshKeysInnerWithDefaults instantiates a new CreateDeviceRequestOneOfAllOf1SshKeysInner 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 (*CreateDeviceRequestOneOfAllOf1SshKeysInner) GetKey ¶ added in v0.2.6

GetKey returns the Key field value if set, zero value otherwise.

func (*CreateDeviceRequestOneOfAllOf1SshKeysInner) GetKeyOk ¶ added in v0.2.6

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 (*CreateDeviceRequestOneOfAllOf1SshKeysInner) GetLabel ¶ added in v0.2.6

GetLabel returns the Label field value if set, zero value otherwise.

func (*CreateDeviceRequestOneOfAllOf1SshKeysInner) GetLabelOk ¶ added in v0.2.6

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 (*CreateDeviceRequestOneOfAllOf1SshKeysInner) HasKey ¶ added in v0.2.6

HasKey returns a boolean if a field has been set.

func (*CreateDeviceRequestOneOfAllOf1SshKeysInner) HasLabel ¶ added in v0.2.6

HasLabel returns a boolean if a field has been set.

func (CreateDeviceRequestOneOfAllOf1SshKeysInner) MarshalJSON ¶ added in v0.2.6

func (*CreateDeviceRequestOneOfAllOf1SshKeysInner) SetKey ¶ added in v0.2.6

SetKey gets a reference to the given string and assigns it to the Key field.

func (*CreateDeviceRequestOneOfAllOf1SshKeysInner) SetLabel ¶ added in v0.2.6

SetLabel gets a reference to the given string and assigns it to the Label field.

type CreateEmail201Response ¶

type CreateEmail201Response 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"`
}

CreateEmail201Response struct for CreateEmail201Response

func NewCreateEmail201Response ¶

func NewCreateEmail201Response() *CreateEmail201Response

NewCreateEmail201Response instantiates a new CreateEmail201Response 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 NewCreateEmail201ResponseWithDefaults ¶

func NewCreateEmail201ResponseWithDefaults() *CreateEmail201Response

NewCreateEmail201ResponseWithDefaults instantiates a new CreateEmail201Response 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 (*CreateEmail201Response) GetAddress ¶

func (o *CreateEmail201Response) GetAddress() string

GetAddress returns the Address field value if set, zero value otherwise.

func (*CreateEmail201Response) GetAddressOk ¶

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

func (o *CreateEmail201Response) GetDefault() bool

GetDefault returns the Default field value if set, zero value otherwise.

func (*CreateEmail201Response) GetDefaultOk ¶

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

func (o *CreateEmail201Response) GetHref() string

GetHref returns the Href field value if set, zero value otherwise.

func (*CreateEmail201Response) GetHrefOk ¶

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

func (o *CreateEmail201Response) GetId() string

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

func (*CreateEmail201Response) GetIdOk ¶

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

func (o *CreateEmail201Response) GetVerified() bool

GetVerified returns the Verified field value if set, zero value otherwise.

func (*CreateEmail201Response) GetVerifiedOk ¶

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

func (o *CreateEmail201Response) HasAddress() bool

HasAddress returns a boolean if a field has been set.

func (*CreateEmail201Response) HasDefault ¶

func (o *CreateEmail201Response) HasDefault() bool

HasDefault returns a boolean if a field has been set.

func (*CreateEmail201Response) HasHref ¶

func (o *CreateEmail201Response) HasHref() bool

HasHref returns a boolean if a field has been set.

func (*CreateEmail201Response) HasId ¶

func (o *CreateEmail201Response) HasId() bool

HasId returns a boolean if a field has been set.

func (*CreateEmail201Response) HasVerified ¶

func (o *CreateEmail201Response) HasVerified() bool

HasVerified returns a boolean if a field has been set.

func (CreateEmail201Response) MarshalJSON ¶

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

func (*CreateEmail201Response) SetAddress ¶

func (o *CreateEmail201Response) SetAddress(v string)

SetAddress gets a reference to the given string and assigns it to the Address field.

func (*CreateEmail201Response) SetDefault ¶

func (o *CreateEmail201Response) SetDefault(v bool)

SetDefault gets a reference to the given bool and assigns it to the Default field.

func (*CreateEmail201Response) SetHref ¶

func (o *CreateEmail201Response) SetHref(v string)

SetHref gets a reference to the given string and assigns it to the Href field.

func (*CreateEmail201Response) SetId ¶

func (o *CreateEmail201Response) SetId(v string)

SetId gets a reference to the given string and assigns it to the Id field.

func (*CreateEmail201Response) SetVerified ¶

func (o *CreateEmail201Response) SetVerified(v bool)

SetVerified gets a reference to the given bool and assigns it to the Verified field.

type CreateEmailInput ¶

type CreateEmailInput struct {
	Address string `json:"address"`
}

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

type CreateEmailRequest ¶

type CreateEmailRequest struct {
	Address string `json:"address"`
}

CreateEmailRequest struct for CreateEmailRequest

func NewCreateEmailRequest ¶

func NewCreateEmailRequest(address string) *CreateEmailRequest

NewCreateEmailRequest instantiates a new CreateEmailRequest 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 NewCreateEmailRequestWithDefaults ¶

func NewCreateEmailRequestWithDefaults() *CreateEmailRequest

NewCreateEmailRequestWithDefaults instantiates a new CreateEmailRequest 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 (*CreateEmailRequest) GetAddress ¶

func (o *CreateEmailRequest) GetAddress() string

GetAddress returns the Address field value

func (*CreateEmailRequest) GetAddressOk ¶

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

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

func (CreateEmailRequest) MarshalJSON ¶

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

func (*CreateEmailRequest) SetAddress ¶

func (o *CreateEmailRequest) SetAddress(v string)

SetAddress sets field value

type CreateIPAssignmentRequest ¶

type CreateIPAssignmentRequest struct {
	Address    string                 `json:"address"`
	Customdata map[string]interface{} `json:"customdata,omitempty"`
	Manageable *bool                  `json:"manageable,omitempty"`
}

CreateIPAssignmentRequest struct for CreateIPAssignmentRequest

func NewCreateIPAssignmentRequest ¶

func NewCreateIPAssignmentRequest(address string) *CreateIPAssignmentRequest

NewCreateIPAssignmentRequest instantiates a new CreateIPAssignmentRequest 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 NewCreateIPAssignmentRequestWithDefaults ¶

func NewCreateIPAssignmentRequestWithDefaults() *CreateIPAssignmentRequest

NewCreateIPAssignmentRequestWithDefaults instantiates a new CreateIPAssignmentRequest 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 (*CreateIPAssignmentRequest) GetAddress ¶

func (o *CreateIPAssignmentRequest) GetAddress() string

GetAddress returns the Address field value

func (*CreateIPAssignmentRequest) GetAddressOk ¶

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

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

func (*CreateIPAssignmentRequest) GetCustomdata ¶

func (o *CreateIPAssignmentRequest) GetCustomdata() map[string]interface{}

GetCustomdata returns the Customdata field value if set, zero value otherwise.

func (*CreateIPAssignmentRequest) GetCustomdataOk ¶

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

func (o *CreateIPAssignmentRequest) GetManageable() bool

GetManageable returns the Manageable field value if set, zero value otherwise.

func (*CreateIPAssignmentRequest) GetManageableOk ¶

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

func (o *CreateIPAssignmentRequest) HasCustomdata() bool

HasCustomdata returns a boolean if a field has been set.

func (*CreateIPAssignmentRequest) HasManageable ¶

func (o *CreateIPAssignmentRequest) HasManageable() bool

HasManageable returns a boolean if a field has been set.

func (CreateIPAssignmentRequest) MarshalJSON ¶

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

func (*CreateIPAssignmentRequest) SetAddress ¶

func (o *CreateIPAssignmentRequest) SetAddress(v string)

SetAddress sets field value

func (*CreateIPAssignmentRequest) SetCustomdata ¶

func (o *CreateIPAssignmentRequest) SetCustomdata(v map[string]interface{})

SetCustomdata gets a reference to the given map[string]interface{} and assigns it to the Customdata field.

func (*CreateIPAssignmentRequest) SetManageable ¶

func (o *CreateIPAssignmentRequest) SetManageable(v bool)

SetManageable gets a reference to the given bool and assigns it to the Manageable field.

type CreateInterconnectionPortVirtualCircuit201Response ¶ added in v0.2.6

type CreateInterconnectionPortVirtualCircuit201Response struct {
	GetInterconnection200ResponsePortsInnerVirtualCircuitsVirtualCircuitsInnerAnyOf  *GetInterconnection200ResponsePortsInnerVirtualCircuitsVirtualCircuitsInnerAnyOf
	GetInterconnection200ResponsePortsInnerVirtualCircuitsVirtualCircuitsInnerAnyOf1 *GetInterconnection200ResponsePortsInnerVirtualCircuitsVirtualCircuitsInnerAnyOf1
}

CreateInterconnectionPortVirtualCircuit201Response - struct for CreateInterconnectionPortVirtualCircuit201Response

func GetInterconnection200ResponsePortsInnerVirtualCircuitsVirtualCircuitsInnerAnyOf1AsCreateInterconnectionPortVirtualCircuit201Response ¶ added in v0.2.6

func GetInterconnection200ResponsePortsInnerVirtualCircuitsVirtualCircuitsInnerAnyOf1AsCreateInterconnectionPortVirtualCircuit201Response(v *GetInterconnection200ResponsePortsInnerVirtualCircuitsVirtualCircuitsInnerAnyOf1) CreateInterconnectionPortVirtualCircuit201Response

GetInterconnection200ResponsePortsInnerVirtualCircuitsVirtualCircuitsInnerAnyOf1AsCreateInterconnectionPortVirtualCircuit201Response is a convenience function that returns GetInterconnection200ResponsePortsInnerVirtualCircuitsVirtualCircuitsInnerAnyOf1 wrapped in CreateInterconnectionPortVirtualCircuit201Response

func GetInterconnection200ResponsePortsInnerVirtualCircuitsVirtualCircuitsInnerAnyOfAsCreateInterconnectionPortVirtualCircuit201Response ¶ added in v0.2.6

func GetInterconnection200ResponsePortsInnerVirtualCircuitsVirtualCircuitsInnerAnyOfAsCreateInterconnectionPortVirtualCircuit201Response(v *GetInterconnection200ResponsePortsInnerVirtualCircuitsVirtualCircuitsInnerAnyOf) CreateInterconnectionPortVirtualCircuit201Response

GetInterconnection200ResponsePortsInnerVirtualCircuitsVirtualCircuitsInnerAnyOfAsCreateInterconnectionPortVirtualCircuit201Response is a convenience function that returns GetInterconnection200ResponsePortsInnerVirtualCircuitsVirtualCircuitsInnerAnyOf wrapped in CreateInterconnectionPortVirtualCircuit201Response

func (*CreateInterconnectionPortVirtualCircuit201Response) GetActualInstance ¶ added in v0.2.6

func (obj *CreateInterconnectionPortVirtualCircuit201Response) GetActualInstance() interface{}

Get the actual instance

func (CreateInterconnectionPortVirtualCircuit201Response) MarshalJSON ¶ added in v0.2.6

Marshal data from the first non-nil pointers in the struct to JSON

func (*CreateInterconnectionPortVirtualCircuit201Response) UnmarshalJSON ¶ added in v0.2.6

Unmarshal JSON data into one of the pointers in the struct

type CreateInterconnectionPortVirtualCircuitRequest ¶ added in v0.2.6

type CreateInterconnectionPortVirtualCircuitRequest struct {
	CreateInterconnectionPortVirtualCircuitRequestOneOf  *CreateInterconnectionPortVirtualCircuitRequestOneOf
	CreateInterconnectionPortVirtualCircuitRequestOneOf1 *CreateInterconnectionPortVirtualCircuitRequestOneOf1
}

CreateInterconnectionPortVirtualCircuitRequest - struct for CreateInterconnectionPortVirtualCircuitRequest

func CreateInterconnectionPortVirtualCircuitRequestOneOf1AsCreateInterconnectionPortVirtualCircuitRequest ¶ added in v0.2.6

func CreateInterconnectionPortVirtualCircuitRequestOneOf1AsCreateInterconnectionPortVirtualCircuitRequest(v *CreateInterconnectionPortVirtualCircuitRequestOneOf1) CreateInterconnectionPortVirtualCircuitRequest

CreateInterconnectionPortVirtualCircuitRequestOneOf1AsCreateInterconnectionPortVirtualCircuitRequest is a convenience function that returns CreateInterconnectionPortVirtualCircuitRequestOneOf1 wrapped in CreateInterconnectionPortVirtualCircuitRequest

func CreateInterconnectionPortVirtualCircuitRequestOneOfAsCreateInterconnectionPortVirtualCircuitRequest ¶ added in v0.2.6

func CreateInterconnectionPortVirtualCircuitRequestOneOfAsCreateInterconnectionPortVirtualCircuitRequest(v *CreateInterconnectionPortVirtualCircuitRequestOneOf) CreateInterconnectionPortVirtualCircuitRequest

CreateInterconnectionPortVirtualCircuitRequestOneOfAsCreateInterconnectionPortVirtualCircuitRequest is a convenience function that returns CreateInterconnectionPortVirtualCircuitRequestOneOf wrapped in CreateInterconnectionPortVirtualCircuitRequest

func (*CreateInterconnectionPortVirtualCircuitRequest) GetActualInstance ¶ added in v0.2.6

func (obj *CreateInterconnectionPortVirtualCircuitRequest) GetActualInstance() interface{}

Get the actual instance

func (CreateInterconnectionPortVirtualCircuitRequest) MarshalJSON ¶ added in v0.2.6

Marshal data from the first non-nil pointers in the struct to JSON

func (*CreateInterconnectionPortVirtualCircuitRequest) UnmarshalJSON ¶ added in v0.2.6

func (dst *CreateInterconnectionPortVirtualCircuitRequest) UnmarshalJSON(data []byte) error

Unmarshal JSON data into one of the pointers in the struct

type CreateInterconnectionPortVirtualCircuitRequestOneOf ¶ added in v0.2.6

type CreateInterconnectionPortVirtualCircuitRequestOneOf struct {
	Description *string `json:"description,omitempty"`
	Name        *string `json:"name,omitempty"`
	NniVlan     *int32  `json:"nni_vlan,omitempty"`
	Project     *string `json:"project,omitempty"`
	// 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 Virtual Network in your project (sent as integer).
	Vnid *string `json:"vnid,omitempty"`
}

CreateInterconnectionPortVirtualCircuitRequestOneOf struct for CreateInterconnectionPortVirtualCircuitRequestOneOf

func NewCreateInterconnectionPortVirtualCircuitRequestOneOf ¶ added in v0.2.6

func NewCreateInterconnectionPortVirtualCircuitRequestOneOf() *CreateInterconnectionPortVirtualCircuitRequestOneOf

NewCreateInterconnectionPortVirtualCircuitRequestOneOf instantiates a new CreateInterconnectionPortVirtualCircuitRequestOneOf 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 NewCreateInterconnectionPortVirtualCircuitRequestOneOfWithDefaults ¶ added in v0.2.6

func NewCreateInterconnectionPortVirtualCircuitRequestOneOfWithDefaults() *CreateInterconnectionPortVirtualCircuitRequestOneOf

NewCreateInterconnectionPortVirtualCircuitRequestOneOfWithDefaults instantiates a new CreateInterconnectionPortVirtualCircuitRequestOneOf 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 (*CreateInterconnectionPortVirtualCircuitRequestOneOf) GetDescription ¶ added in v0.2.6

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

func (*CreateInterconnectionPortVirtualCircuitRequestOneOf) GetDescriptionOk ¶ added in v0.2.6

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 (*CreateInterconnectionPortVirtualCircuitRequestOneOf) GetName ¶ added in v0.2.6

GetName returns the Name field value if set, zero value otherwise.

func (*CreateInterconnectionPortVirtualCircuitRequestOneOf) GetNameOk ¶ added in v0.2.6

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 (*CreateInterconnectionPortVirtualCircuitRequestOneOf) GetNniVlan ¶ added in v0.2.6

GetNniVlan returns the NniVlan field value if set, zero value otherwise.

func (*CreateInterconnectionPortVirtualCircuitRequestOneOf) GetNniVlanOk ¶ added in v0.2.6

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 (*CreateInterconnectionPortVirtualCircuitRequestOneOf) GetProject ¶ added in v0.2.6

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

func (*CreateInterconnectionPortVirtualCircuitRequestOneOf) GetProjectOk ¶ added in v0.2.6

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 (*CreateInterconnectionPortVirtualCircuitRequestOneOf) GetSpeed ¶ added in v0.2.6

GetSpeed returns the Speed field value if set, zero value otherwise.

func (*CreateInterconnectionPortVirtualCircuitRequestOneOf) GetSpeedOk ¶ added in v0.2.6

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 (*CreateInterconnectionPortVirtualCircuitRequestOneOf) GetTags ¶ added in v0.2.6

GetTags returns the Tags field value if set, zero value otherwise.

func (*CreateInterconnectionPortVirtualCircuitRequestOneOf) GetTagsOk ¶ added in v0.2.6

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 (*CreateInterconnectionPortVirtualCircuitRequestOneOf) GetVnid ¶ added in v0.2.6

GetVnid returns the Vnid field value if set, zero value otherwise.

func (*CreateInterconnectionPortVirtualCircuitRequestOneOf) GetVnidOk ¶ added in v0.2.6

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 (*CreateInterconnectionPortVirtualCircuitRequestOneOf) HasDescription ¶ added in v0.2.6

HasDescription returns a boolean if a field has been set.

func (*CreateInterconnectionPortVirtualCircuitRequestOneOf) HasName ¶ added in v0.2.6

HasName returns a boolean if a field has been set.

func (*CreateInterconnectionPortVirtualCircuitRequestOneOf) HasNniVlan ¶ added in v0.2.6

HasNniVlan returns a boolean if a field has been set.

func (*CreateInterconnectionPortVirtualCircuitRequestOneOf) HasProject ¶ added in v0.2.6

HasProject returns a boolean if a field has been set.

func (*CreateInterconnectionPortVirtualCircuitRequestOneOf) HasSpeed ¶ added in v0.2.6

HasSpeed returns a boolean if a field has been set.

func (*CreateInterconnectionPortVirtualCircuitRequestOneOf) HasTags ¶ added in v0.2.6

HasTags returns a boolean if a field has been set.

func (*CreateInterconnectionPortVirtualCircuitRequestOneOf) HasVnid ¶ added in v0.2.6

HasVnid returns a boolean if a field has been set.

func (CreateInterconnectionPortVirtualCircuitRequestOneOf) MarshalJSON ¶ added in v0.2.6

func (*CreateInterconnectionPortVirtualCircuitRequestOneOf) SetDescription ¶ added in v0.2.6

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

func (*CreateInterconnectionPortVirtualCircuitRequestOneOf) SetName ¶ added in v0.2.6

SetName gets a reference to the given string and assigns it to the Name field.

func (*CreateInterconnectionPortVirtualCircuitRequestOneOf) SetNniVlan ¶ added in v0.2.6

SetNniVlan gets a reference to the given int32 and assigns it to the NniVlan field.

func (*CreateInterconnectionPortVirtualCircuitRequestOneOf) SetProject ¶ added in v0.2.6

SetProject gets a reference to the given string and assigns it to the Project field.

func (*CreateInterconnectionPortVirtualCircuitRequestOneOf) SetSpeed ¶ added in v0.2.6

SetSpeed gets a reference to the given int32 and assigns it to the Speed field.

func (*CreateInterconnectionPortVirtualCircuitRequestOneOf) SetTags ¶ added in v0.2.6

SetTags gets a reference to the given []string and assigns it to the Tags field.

func (*CreateInterconnectionPortVirtualCircuitRequestOneOf) SetVnid ¶ added in v0.2.6

SetVnid gets a reference to the given string and assigns it to the Vnid field.

type CreateInterconnectionPortVirtualCircuitRequestOneOf1 ¶ added in v0.2.6

type CreateInterconnectionPortVirtualCircuitRequestOneOf1 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 MD5 password for the BGP peering in plaintext (not a checksum).
	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"`
	Project string `json:"project"`
	// 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"`
}

CreateInterconnectionPortVirtualCircuitRequestOneOf1 struct for CreateInterconnectionPortVirtualCircuitRequestOneOf1

func NewCreateInterconnectionPortVirtualCircuitRequestOneOf1 ¶ added in v0.2.6

func NewCreateInterconnectionPortVirtualCircuitRequestOneOf1(nniVlan int32, peerAsn int32, project string, subnet string, vrf string) *CreateInterconnectionPortVirtualCircuitRequestOneOf1

NewCreateInterconnectionPortVirtualCircuitRequestOneOf1 instantiates a new CreateInterconnectionPortVirtualCircuitRequestOneOf1 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 NewCreateInterconnectionPortVirtualCircuitRequestOneOf1WithDefaults ¶ added in v0.2.6

func NewCreateInterconnectionPortVirtualCircuitRequestOneOf1WithDefaults() *CreateInterconnectionPortVirtualCircuitRequestOneOf1

NewCreateInterconnectionPortVirtualCircuitRequestOneOf1WithDefaults instantiates a new CreateInterconnectionPortVirtualCircuitRequestOneOf1 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 (*CreateInterconnectionPortVirtualCircuitRequestOneOf1) GetCustomerIp ¶ added in v0.2.6

GetCustomerIp returns the CustomerIp field value if set, zero value otherwise.

func (*CreateInterconnectionPortVirtualCircuitRequestOneOf1) GetCustomerIpOk ¶ added in v0.2.6

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 (*CreateInterconnectionPortVirtualCircuitRequestOneOf1) GetDescription ¶ added in v0.2.6

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

func (*CreateInterconnectionPortVirtualCircuitRequestOneOf1) GetDescriptionOk ¶ added in v0.2.6

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 (*CreateInterconnectionPortVirtualCircuitRequestOneOf1) GetMd5 ¶ added in v0.2.6

GetMd5 returns the Md5 field value if set, zero value otherwise (both if not set or set to explicit null).

func (*CreateInterconnectionPortVirtualCircuitRequestOneOf1) GetMd5Ok ¶ added in v0.2.6

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 (*CreateInterconnectionPortVirtualCircuitRequestOneOf1) GetMetalIp ¶ added in v0.2.6

GetMetalIp returns the MetalIp field value if set, zero value otherwise.

func (*CreateInterconnectionPortVirtualCircuitRequestOneOf1) GetMetalIpOk ¶ added in v0.2.6

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 (*CreateInterconnectionPortVirtualCircuitRequestOneOf1) GetName ¶ added in v0.2.6

GetName returns the Name field value if set, zero value otherwise.

func (*CreateInterconnectionPortVirtualCircuitRequestOneOf1) GetNameOk ¶ added in v0.2.6

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 (*CreateInterconnectionPortVirtualCircuitRequestOneOf1) GetNniVlan ¶ added in v0.2.6

GetNniVlan returns the NniVlan field value

func (*CreateInterconnectionPortVirtualCircuitRequestOneOf1) GetNniVlanOk ¶ added in v0.2.6

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

func (*CreateInterconnectionPortVirtualCircuitRequestOneOf1) GetPeerAsn ¶ added in v0.2.6

GetPeerAsn returns the PeerAsn field value

func (*CreateInterconnectionPortVirtualCircuitRequestOneOf1) GetPeerAsnOk ¶ added in v0.2.6

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

func (*CreateInterconnectionPortVirtualCircuitRequestOneOf1) GetProject ¶ added in v0.2.6

GetProject returns the Project field value

func (*CreateInterconnectionPortVirtualCircuitRequestOneOf1) GetProjectOk ¶ added in v0.2.6

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

func (*CreateInterconnectionPortVirtualCircuitRequestOneOf1) GetSpeed ¶ added in v0.2.6

GetSpeed returns the Speed field value if set, zero value otherwise.

func (*CreateInterconnectionPortVirtualCircuitRequestOneOf1) GetSpeedOk ¶ added in v0.2.6

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 (*CreateInterconnectionPortVirtualCircuitRequestOneOf1) GetSubnet ¶ added in v0.2.6

GetSubnet returns the Subnet field value

func (*CreateInterconnectionPortVirtualCircuitRequestOneOf1) GetSubnetOk ¶ added in v0.2.6

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

func (*CreateInterconnectionPortVirtualCircuitRequestOneOf1) GetTags ¶ added in v0.2.6

GetTags returns the Tags field value if set, zero value otherwise.

func (*CreateInterconnectionPortVirtualCircuitRequestOneOf1) GetTagsOk ¶ added in v0.2.6

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 (*CreateInterconnectionPortVirtualCircuitRequestOneOf1) GetVrf ¶ added in v0.2.6

GetVrf returns the Vrf field value

func (*CreateInterconnectionPortVirtualCircuitRequestOneOf1) GetVrfOk ¶ added in v0.2.6

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

func (*CreateInterconnectionPortVirtualCircuitRequestOneOf1) HasCustomerIp ¶ added in v0.2.6

HasCustomerIp returns a boolean if a field has been set.

func (*CreateInterconnectionPortVirtualCircuitRequestOneOf1) HasDescription ¶ added in v0.2.6

HasDescription returns a boolean if a field has been set.

func (*CreateInterconnectionPortVirtualCircuitRequestOneOf1) HasMd5 ¶ added in v0.2.6

HasMd5 returns a boolean if a field has been set.

func (*CreateInterconnectionPortVirtualCircuitRequestOneOf1) HasMetalIp ¶ added in v0.2.6

HasMetalIp returns a boolean if a field has been set.

func (*CreateInterconnectionPortVirtualCircuitRequestOneOf1) HasName ¶ added in v0.2.6

HasName returns a boolean if a field has been set.

func (*CreateInterconnectionPortVirtualCircuitRequestOneOf1) HasSpeed ¶ added in v0.2.6

HasSpeed returns a boolean if a field has been set.

func (*CreateInterconnectionPortVirtualCircuitRequestOneOf1) HasTags ¶ added in v0.2.6

HasTags returns a boolean if a field has been set.

func (CreateInterconnectionPortVirtualCircuitRequestOneOf1) MarshalJSON ¶ added in v0.2.6

func (*CreateInterconnectionPortVirtualCircuitRequestOneOf1) SetCustomerIp ¶ added in v0.2.6

SetCustomerIp gets a reference to the given string and assigns it to the CustomerIp field.

func (*CreateInterconnectionPortVirtualCircuitRequestOneOf1) SetDescription ¶ added in v0.2.6

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

func (*CreateInterconnectionPortVirtualCircuitRequestOneOf1) SetMd5 ¶ added in v0.2.6

SetMd5 gets a reference to the given NullableString and assigns it to the Md5 field.

func (*CreateInterconnectionPortVirtualCircuitRequestOneOf1) SetMd5Nil ¶ added in v0.2.6

SetMd5Nil sets the value for Md5 to be an explicit nil

func (*CreateInterconnectionPortVirtualCircuitRequestOneOf1) SetMetalIp ¶ added in v0.2.6

SetMetalIp gets a reference to the given string and assigns it to the MetalIp field.

func (*CreateInterconnectionPortVirtualCircuitRequestOneOf1) SetName ¶ added in v0.2.6

SetName gets a reference to the given string and assigns it to the Name field.

func (*CreateInterconnectionPortVirtualCircuitRequestOneOf1) SetNniVlan ¶ added in v0.2.6

SetNniVlan sets field value

func (*CreateInterconnectionPortVirtualCircuitRequestOneOf1) SetPeerAsn ¶ added in v0.2.6

SetPeerAsn sets field value

func (*CreateInterconnectionPortVirtualCircuitRequestOneOf1) SetProject ¶ added in v0.2.6

SetProject sets field value

func (*CreateInterconnectionPortVirtualCircuitRequestOneOf1) SetSpeed ¶ added in v0.2.6

SetSpeed gets a reference to the given int32 and assigns it to the Speed field.

func (*CreateInterconnectionPortVirtualCircuitRequestOneOf1) SetSubnet ¶ added in v0.2.6

SetSubnet sets field value

func (*CreateInterconnectionPortVirtualCircuitRequestOneOf1) SetTags ¶ added in v0.2.6

SetTags gets a reference to the given []string and assigns it to the Tags field.

func (*CreateInterconnectionPortVirtualCircuitRequestOneOf1) SetVrf ¶ added in v0.2.6

SetVrf sets field value

func (*CreateInterconnectionPortVirtualCircuitRequestOneOf1) UnsetMd5 ¶ added in v0.2.6

UnsetMd5 ensures that no value is present for Md5, not even an explicit nil

type CreateLicenseRequest ¶

type CreateLicenseRequest struct {
	Description       *string  `json:"description,omitempty"`
	LicenseeProductId *string  `json:"licensee_product_id,omitempty"`
	Size              *float32 `json:"size,omitempty"`
}

CreateLicenseRequest struct for CreateLicenseRequest

func NewCreateLicenseRequest ¶

func NewCreateLicenseRequest() *CreateLicenseRequest

NewCreateLicenseRequest instantiates a new CreateLicenseRequest 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 NewCreateLicenseRequestWithDefaults ¶

func NewCreateLicenseRequestWithDefaults() *CreateLicenseRequest

NewCreateLicenseRequestWithDefaults instantiates a new CreateLicenseRequest 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 (*CreateLicenseRequest) GetDescription ¶

func (o *CreateLicenseRequest) GetDescription() string

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

func (*CreateLicenseRequest) GetDescriptionOk ¶

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

func (o *CreateLicenseRequest) GetLicenseeProductId() string

GetLicenseeProductId returns the LicenseeProductId field value if set, zero value otherwise.

func (*CreateLicenseRequest) GetLicenseeProductIdOk ¶

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

func (o *CreateLicenseRequest) GetSize() float32

GetSize returns the Size field value if set, zero value otherwise.

func (*CreateLicenseRequest) GetSizeOk ¶

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

func (o *CreateLicenseRequest) HasDescription() bool

HasDescription returns a boolean if a field has been set.

func (*CreateLicenseRequest) HasLicenseeProductId ¶

func (o *CreateLicenseRequest) HasLicenseeProductId() bool

HasLicenseeProductId returns a boolean if a field has been set.

func (*CreateLicenseRequest) HasSize ¶

func (o *CreateLicenseRequest) HasSize() bool

HasSize returns a boolean if a field has been set.

func (CreateLicenseRequest) MarshalJSON ¶

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

func (*CreateLicenseRequest) SetDescription ¶

func (o *CreateLicenseRequest) SetDescription(v string)

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

func (*CreateLicenseRequest) SetLicenseeProductId ¶

func (o *CreateLicenseRequest) SetLicenseeProductId(v string)

SetLicenseeProductId gets a reference to the given string and assigns it to the LicenseeProductId field.

func (*CreateLicenseRequest) SetSize ¶

func (o *CreateLicenseRequest) SetSize(v float32)

SetSize gets a reference to the given float32 and assigns it to the Size field.

type CreateMetalGatewayRequest ¶ added in v0.2.6

type CreateMetalGatewayRequest struct {
	CreateMetalGatewayRequestOneOf  *CreateMetalGatewayRequestOneOf
	CreateMetalGatewayRequestOneOf1 *CreateMetalGatewayRequestOneOf1
}

CreateMetalGatewayRequest - struct for CreateMetalGatewayRequest

func CreateMetalGatewayRequestOneOf1AsCreateMetalGatewayRequest ¶ added in v0.2.6

func CreateMetalGatewayRequestOneOf1AsCreateMetalGatewayRequest(v *CreateMetalGatewayRequestOneOf1) CreateMetalGatewayRequest

CreateMetalGatewayRequestOneOf1AsCreateMetalGatewayRequest is a convenience function that returns CreateMetalGatewayRequestOneOf1 wrapped in CreateMetalGatewayRequest

func CreateMetalGatewayRequestOneOfAsCreateMetalGatewayRequest ¶ added in v0.2.6

func CreateMetalGatewayRequestOneOfAsCreateMetalGatewayRequest(v *CreateMetalGatewayRequestOneOf) CreateMetalGatewayRequest

CreateMetalGatewayRequestOneOfAsCreateMetalGatewayRequest is a convenience function that returns CreateMetalGatewayRequestOneOf wrapped in CreateMetalGatewayRequest

func (*CreateMetalGatewayRequest) GetActualInstance ¶ added in v0.2.6

func (obj *CreateMetalGatewayRequest) GetActualInstance() interface{}

Get the actual instance

func (CreateMetalGatewayRequest) MarshalJSON ¶ added in v0.2.6

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.2.6

func (dst *CreateMetalGatewayRequest) UnmarshalJSON(data []byte) error

Unmarshal JSON data into one of the pointers in the struct

type CreateMetalGatewayRequestOneOf ¶ added in v0.2.6

type CreateMetalGatewayRequestOneOf 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"`
}

CreateMetalGatewayRequestOneOf struct for CreateMetalGatewayRequestOneOf

func NewCreateMetalGatewayRequestOneOf ¶ added in v0.2.6

func NewCreateMetalGatewayRequestOneOf(virtualNetworkId string) *CreateMetalGatewayRequestOneOf

NewCreateMetalGatewayRequestOneOf instantiates a new CreateMetalGatewayRequestOneOf 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 NewCreateMetalGatewayRequestOneOfWithDefaults ¶ added in v0.2.6

func NewCreateMetalGatewayRequestOneOfWithDefaults() *CreateMetalGatewayRequestOneOf

NewCreateMetalGatewayRequestOneOfWithDefaults instantiates a new CreateMetalGatewayRequestOneOf 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 (*CreateMetalGatewayRequestOneOf) GetIpReservationId ¶ added in v0.2.6

func (o *CreateMetalGatewayRequestOneOf) GetIpReservationId() string

GetIpReservationId returns the IpReservationId field value if set, zero value otherwise.

func (*CreateMetalGatewayRequestOneOf) GetIpReservationIdOk ¶ added in v0.2.6

func (o *CreateMetalGatewayRequestOneOf) 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 (*CreateMetalGatewayRequestOneOf) GetPrivateIpv4SubnetSize ¶ added in v0.2.6

func (o *CreateMetalGatewayRequestOneOf) GetPrivateIpv4SubnetSize() int32

GetPrivateIpv4SubnetSize returns the PrivateIpv4SubnetSize field value if set, zero value otherwise.

func (*CreateMetalGatewayRequestOneOf) GetPrivateIpv4SubnetSizeOk ¶ added in v0.2.6

func (o *CreateMetalGatewayRequestOneOf) 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 (*CreateMetalGatewayRequestOneOf) GetVirtualNetworkId ¶ added in v0.2.6

func (o *CreateMetalGatewayRequestOneOf) GetVirtualNetworkId() string

GetVirtualNetworkId returns the VirtualNetworkId field value

func (*CreateMetalGatewayRequestOneOf) GetVirtualNetworkIdOk ¶ added in v0.2.6

func (o *CreateMetalGatewayRequestOneOf) GetVirtualNetworkIdOk() (*string, bool)

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

func (*CreateMetalGatewayRequestOneOf) HasIpReservationId ¶ added in v0.2.6

func (o *CreateMetalGatewayRequestOneOf) HasIpReservationId() bool

HasIpReservationId returns a boolean if a field has been set.

func (*CreateMetalGatewayRequestOneOf) HasPrivateIpv4SubnetSize ¶ added in v0.2.6

func (o *CreateMetalGatewayRequestOneOf) HasPrivateIpv4SubnetSize() bool

HasPrivateIpv4SubnetSize returns a boolean if a field has been set.

func (CreateMetalGatewayRequestOneOf) MarshalJSON ¶ added in v0.2.6

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

func (*CreateMetalGatewayRequestOneOf) SetIpReservationId ¶ added in v0.2.6

func (o *CreateMetalGatewayRequestOneOf) SetIpReservationId(v string)

SetIpReservationId gets a reference to the given string and assigns it to the IpReservationId field.

func (*CreateMetalGatewayRequestOneOf) SetPrivateIpv4SubnetSize ¶ added in v0.2.6

func (o *CreateMetalGatewayRequestOneOf) SetPrivateIpv4SubnetSize(v int32)

SetPrivateIpv4SubnetSize gets a reference to the given int32 and assigns it to the PrivateIpv4SubnetSize field.

func (*CreateMetalGatewayRequestOneOf) SetVirtualNetworkId ¶ added in v0.2.6

func (o *CreateMetalGatewayRequestOneOf) SetVirtualNetworkId(v string)

SetVirtualNetworkId sets field value

type CreateMetalGatewayRequestOneOf1 ¶ added in v0.2.6

type CreateMetalGatewayRequestOneOf1 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"`
}

CreateMetalGatewayRequestOneOf1 struct for CreateMetalGatewayRequestOneOf1

func NewCreateMetalGatewayRequestOneOf1 ¶ added in v0.2.6

func NewCreateMetalGatewayRequestOneOf1(ipReservationId string, virtualNetworkId string) *CreateMetalGatewayRequestOneOf1

NewCreateMetalGatewayRequestOneOf1 instantiates a new CreateMetalGatewayRequestOneOf1 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 NewCreateMetalGatewayRequestOneOf1WithDefaults ¶ added in v0.2.6

func NewCreateMetalGatewayRequestOneOf1WithDefaults() *CreateMetalGatewayRequestOneOf1

NewCreateMetalGatewayRequestOneOf1WithDefaults instantiates a new CreateMetalGatewayRequestOneOf1 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 (*CreateMetalGatewayRequestOneOf1) GetIpReservationId ¶ added in v0.2.6

func (o *CreateMetalGatewayRequestOneOf1) GetIpReservationId() string

GetIpReservationId returns the IpReservationId field value

func (*CreateMetalGatewayRequestOneOf1) GetIpReservationIdOk ¶ added in v0.2.6

func (o *CreateMetalGatewayRequestOneOf1) GetIpReservationIdOk() (*string, bool)

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

func (*CreateMetalGatewayRequestOneOf1) GetVirtualNetworkId ¶ added in v0.2.6

func (o *CreateMetalGatewayRequestOneOf1) GetVirtualNetworkId() string

GetVirtualNetworkId returns the VirtualNetworkId field value

func (*CreateMetalGatewayRequestOneOf1) GetVirtualNetworkIdOk ¶ added in v0.2.6

func (o *CreateMetalGatewayRequestOneOf1) GetVirtualNetworkIdOk() (*string, bool)

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

func (CreateMetalGatewayRequestOneOf1) MarshalJSON ¶ added in v0.2.6

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

func (*CreateMetalGatewayRequestOneOf1) SetIpReservationId ¶ added in v0.2.6

func (o *CreateMetalGatewayRequestOneOf1) SetIpReservationId(v string)

SetIpReservationId sets field value

func (*CreateMetalGatewayRequestOneOf1) SetVirtualNetworkId ¶ added in v0.2.6

func (o *CreateMetalGatewayRequestOneOf1) SetVirtualNetworkId(v string)

SetVirtualNetworkId sets field value

type CreateOrganizationInterconnectionRequest ¶

type CreateOrganizationInterconnectionRequest struct {
	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. 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. For access to Fabric VCs, which are not generally available, please contact our Support Team for more details.
	Metro string `json:"metro"`
	// 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.
	Mode    *string `json:"mode,omitempty"`
	Name    string  `json:"name"`
	Project *string `json:"project,omitempty"`
	// Either 'primary' or 'redundant'.
	Redundancy string `json:"redundancy"`
	// 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.
	ServiceTokenType *string `json:"service_token_type,omitempty"`
	// A interconnection speed, in bps, mbps, or gbps. For Dedicated Ports, this can be 10Gbps or 100Gbps. 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"`
	// Either 'shared' or 'dedicated'. The 'shared' type represents shared interconnections, or also known as Fabric VCs. The 'dedicated' type represents dedicated interconnections, or also known as Dedicated Ports.
	Type string `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 interconnection. This parameter is included in the specification as a developer preview and is generally unavailable. Please contact our Support team for more details.
	Vlans []int32 `json:"vlans,omitempty"`
}

CreateOrganizationInterconnectionRequest struct for CreateOrganizationInterconnectionRequest

func NewCreateOrganizationInterconnectionRequest ¶

func NewCreateOrganizationInterconnectionRequest(metro string, name string, redundancy string, type_ string) *CreateOrganizationInterconnectionRequest

NewCreateOrganizationInterconnectionRequest instantiates a new CreateOrganizationInterconnectionRequest 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 NewCreateOrganizationInterconnectionRequestWithDefaults ¶

func NewCreateOrganizationInterconnectionRequestWithDefaults() *CreateOrganizationInterconnectionRequest

NewCreateOrganizationInterconnectionRequestWithDefaults instantiates a new CreateOrganizationInterconnectionRequest 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 (*CreateOrganizationInterconnectionRequest) GetContactEmail ¶

func (o *CreateOrganizationInterconnectionRequest) GetContactEmail() string

GetContactEmail returns the ContactEmail field value if set, zero value otherwise.

func (*CreateOrganizationInterconnectionRequest) GetContactEmailOk ¶

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

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

func (*CreateOrganizationInterconnectionRequest) GetDescriptionOk ¶

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

GetMetro returns the Metro field value

func (*CreateOrganizationInterconnectionRequest) GetMetroOk ¶

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

func (*CreateOrganizationInterconnectionRequest) GetMode ¶

GetMode returns the Mode field value if set, zero value otherwise.

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

GetName returns the Name field value

func (*CreateOrganizationInterconnectionRequest) GetNameOk ¶

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

func (*CreateOrganizationInterconnectionRequest) GetProject ¶

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

func (*CreateOrganizationInterconnectionRequest) GetProjectOk ¶

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 (*CreateOrganizationInterconnectionRequest) GetRedundancy ¶

GetRedundancy returns the Redundancy field value

func (*CreateOrganizationInterconnectionRequest) GetRedundancyOk ¶

func (o *CreateOrganizationInterconnectionRequest) GetRedundancyOk() (*string, bool)

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

func (*CreateOrganizationInterconnectionRequest) GetServiceTokenType ¶

func (o *CreateOrganizationInterconnectionRequest) GetServiceTokenType() string

GetServiceTokenType returns the ServiceTokenType field value if set, zero value otherwise.

func (*CreateOrganizationInterconnectionRequest) GetServiceTokenTypeOk ¶

func (o *CreateOrganizationInterconnectionRequest) GetServiceTokenTypeOk() (*string, 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 (*CreateOrganizationInterconnectionRequest) GetSpeed ¶

GetSpeed returns the Speed field value if set, zero value otherwise.

func (*CreateOrganizationInterconnectionRequest) GetSpeedOk ¶

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 (*CreateOrganizationInterconnectionRequest) GetTags ¶

GetTags returns the Tags field value if set, zero value otherwise.

func (*CreateOrganizationInterconnectionRequest) GetTagsOk ¶

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 (*CreateOrganizationInterconnectionRequest) GetType ¶

GetType returns the Type field value

func (*CreateOrganizationInterconnectionRequest) GetTypeOk ¶

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

func (*CreateOrganizationInterconnectionRequest) GetVlans ¶

GetVlans returns the Vlans field value if set, zero value otherwise.

func (*CreateOrganizationInterconnectionRequest) GetVlansOk ¶

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 (*CreateOrganizationInterconnectionRequest) HasContactEmail ¶

func (o *CreateOrganizationInterconnectionRequest) HasContactEmail() bool

HasContactEmail returns a boolean if a field has been set.

func (*CreateOrganizationInterconnectionRequest) HasDescription ¶

func (o *CreateOrganizationInterconnectionRequest) HasDescription() bool

HasDescription returns a boolean if a field has been set.

func (*CreateOrganizationInterconnectionRequest) HasMode ¶

HasMode returns a boolean if a field has been set.

func (*CreateOrganizationInterconnectionRequest) HasProject ¶

HasProject returns a boolean if a field has been set.

func (*CreateOrganizationInterconnectionRequest) HasServiceTokenType ¶

func (o *CreateOrganizationInterconnectionRequest) HasServiceTokenType() bool

HasServiceTokenType returns a boolean if a field has been set.

func (*CreateOrganizationInterconnectionRequest) HasSpeed ¶

HasSpeed returns a boolean if a field has been set.

func (*CreateOrganizationInterconnectionRequest) HasTags ¶

HasTags returns a boolean if a field has been set.

func (*CreateOrganizationInterconnectionRequest) HasVlans ¶

HasVlans returns a boolean if a field has been set.

func (CreateOrganizationInterconnectionRequest) MarshalJSON ¶

func (*CreateOrganizationInterconnectionRequest) SetContactEmail ¶

func (o *CreateOrganizationInterconnectionRequest) SetContactEmail(v string)

SetContactEmail gets a reference to the given string and assigns it to the ContactEmail field.

func (*CreateOrganizationInterconnectionRequest) SetDescription ¶

func (o *CreateOrganizationInterconnectionRequest) SetDescription(v string)

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

func (*CreateOrganizationInterconnectionRequest) SetMetro ¶

SetMetro sets field value

func (*CreateOrganizationInterconnectionRequest) SetMode ¶

SetMode gets a reference to the given string and assigns it to the Mode field.

func (*CreateOrganizationInterconnectionRequest) SetName ¶

SetName sets field value

func (*CreateOrganizationInterconnectionRequest) SetProject ¶

SetProject gets a reference to the given string and assigns it to the Project field.

func (*CreateOrganizationInterconnectionRequest) SetRedundancy ¶

SetRedundancy sets field value

func (*CreateOrganizationInterconnectionRequest) SetServiceTokenType ¶

func (o *CreateOrganizationInterconnectionRequest) SetServiceTokenType(v string)

SetServiceTokenType gets a reference to the given string and assigns it to the ServiceTokenType field.

func (*CreateOrganizationInterconnectionRequest) SetSpeed ¶

SetSpeed gets a reference to the given int32 and assigns it to the Speed field.

func (*CreateOrganizationInterconnectionRequest) SetTags ¶

SetTags gets a reference to the given []string and assigns it to the Tags field.

func (*CreateOrganizationInterconnectionRequest) SetType ¶

SetType sets field value

func (*CreateOrganizationInterconnectionRequest) SetVlans ¶

SetVlans gets a reference to the given []int32 and assigns it to the Vlans field.

type CreateOrganizationInvitationRequest ¶

type CreateOrganizationInvitationRequest struct {
	Invitee        string   `json:"invitee"`
	Message        *string  `json:"message,omitempty"`
	OrganizationId *string  `json:"organization_id,omitempty"`
	ProjectsIds    []string `json:"projects_ids,omitempty"`
	Roles          []string `json:"roles,omitempty"`
}

CreateOrganizationInvitationRequest struct for CreateOrganizationInvitationRequest

func NewCreateOrganizationInvitationRequest ¶

func NewCreateOrganizationInvitationRequest(invitee string) *CreateOrganizationInvitationRequest

NewCreateOrganizationInvitationRequest instantiates a new CreateOrganizationInvitationRequest 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 NewCreateOrganizationInvitationRequestWithDefaults ¶

func NewCreateOrganizationInvitationRequestWithDefaults() *CreateOrganizationInvitationRequest

NewCreateOrganizationInvitationRequestWithDefaults instantiates a new CreateOrganizationInvitationRequest 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 (*CreateOrganizationInvitationRequest) GetInvitee ¶

GetInvitee returns the Invitee field value

func (*CreateOrganizationInvitationRequest) GetInviteeOk ¶

func (o *CreateOrganizationInvitationRequest) GetInviteeOk() (*string, bool)

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

func (*CreateOrganizationInvitationRequest) GetMessage ¶

GetMessage returns the Message field value if set, zero value otherwise.

func (*CreateOrganizationInvitationRequest) GetMessageOk ¶

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

func (o *CreateOrganizationInvitationRequest) GetOrganizationId() string

GetOrganizationId returns the OrganizationId field value if set, zero value otherwise.

func (*CreateOrganizationInvitationRequest) GetOrganizationIdOk ¶

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

func (o *CreateOrganizationInvitationRequest) GetProjectsIds() []string

GetProjectsIds returns the ProjectsIds field value if set, zero value otherwise.

func (*CreateOrganizationInvitationRequest) GetProjectsIdsOk ¶

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

GetRoles returns the Roles field value if set, zero value otherwise.

func (*CreateOrganizationInvitationRequest) GetRolesOk ¶

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

func (o *CreateOrganizationInvitationRequest) HasMessage() bool

HasMessage returns a boolean if a field has been set.

func (*CreateOrganizationInvitationRequest) HasOrganizationId ¶

func (o *CreateOrganizationInvitationRequest) HasOrganizationId() bool

HasOrganizationId returns a boolean if a field has been set.

func (*CreateOrganizationInvitationRequest) HasProjectsIds ¶

func (o *CreateOrganizationInvitationRequest) HasProjectsIds() bool

HasProjectsIds returns a boolean if a field has been set.

func (*CreateOrganizationInvitationRequest) HasRoles ¶

HasRoles returns a boolean if a field has been set.

func (CreateOrganizationInvitationRequest) MarshalJSON ¶

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

func (*CreateOrganizationInvitationRequest) SetInvitee ¶

SetInvitee sets field value

func (*CreateOrganizationInvitationRequest) SetMessage ¶

SetMessage gets a reference to the given string and assigns it to the Message field.

func (*CreateOrganizationInvitationRequest) SetOrganizationId ¶

func (o *CreateOrganizationInvitationRequest) SetOrganizationId(v string)

SetOrganizationId gets a reference to the given string and assigns it to the OrganizationId field.

func (*CreateOrganizationInvitationRequest) SetProjectsIds ¶

func (o *CreateOrganizationInvitationRequest) SetProjectsIds(v []string)

SetProjectsIds gets a reference to the given []string and assigns it to the ProjectsIds field.

func (*CreateOrganizationInvitationRequest) SetRoles ¶

SetRoles gets a reference to the given []string and assigns it to the Roles field.

type CreateOrganizationProjectRequest ¶

type CreateOrganizationProjectRequest struct {
	Customdata      map[string]interface{} `json:"customdata,omitempty"`
	Name            string                 `json:"name"`
	PaymentMethodId *string                `json:"payment_method_id,omitempty"`
}

CreateOrganizationProjectRequest struct for CreateOrganizationProjectRequest

func NewCreateOrganizationProjectRequest ¶

func NewCreateOrganizationProjectRequest(name string) *CreateOrganizationProjectRequest

NewCreateOrganizationProjectRequest instantiates a new CreateOrganizationProjectRequest 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 NewCreateOrganizationProjectRequestWithDefaults ¶

func NewCreateOrganizationProjectRequestWithDefaults() *CreateOrganizationProjectRequest

NewCreateOrganizationProjectRequestWithDefaults instantiates a new CreateOrganizationProjectRequest 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 (*CreateOrganizationProjectRequest) GetCustomdata ¶

func (o *CreateOrganizationProjectRequest) GetCustomdata() map[string]interface{}

GetCustomdata returns the Customdata field value if set, zero value otherwise.

func (*CreateOrganizationProjectRequest) GetCustomdataOk ¶

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

GetName returns the Name field value

func (*CreateOrganizationProjectRequest) GetNameOk ¶

func (o *CreateOrganizationProjectRequest) GetNameOk() (*string, bool)

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

func (*CreateOrganizationProjectRequest) GetPaymentMethodId ¶

func (o *CreateOrganizationProjectRequest) GetPaymentMethodId() string

GetPaymentMethodId returns the PaymentMethodId field value if set, zero value otherwise.

func (*CreateOrganizationProjectRequest) GetPaymentMethodIdOk ¶

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

func (o *CreateOrganizationProjectRequest) HasCustomdata() bool

HasCustomdata returns a boolean if a field has been set.

func (*CreateOrganizationProjectRequest) HasPaymentMethodId ¶

func (o *CreateOrganizationProjectRequest) HasPaymentMethodId() bool

HasPaymentMethodId returns a boolean if a field has been set.

func (CreateOrganizationProjectRequest) MarshalJSON ¶

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

func (*CreateOrganizationProjectRequest) SetCustomdata ¶

func (o *CreateOrganizationProjectRequest) SetCustomdata(v map[string]interface{})

SetCustomdata gets a reference to the given map[string]interface{} and assigns it to the Customdata field.

func (*CreateOrganizationProjectRequest) SetName ¶

SetName sets field value

func (*CreateOrganizationProjectRequest) SetPaymentMethodId ¶

func (o *CreateOrganizationProjectRequest) SetPaymentMethodId(v string)

SetPaymentMethodId gets a reference to the given string and assigns it to the PaymentMethodId field.

type CreateOrganizationRequest ¶

type CreateOrganizationRequest struct {
	Address        *FindDeviceById200ResponseFacilityAddress `json:"address,omitempty"`
	BillingAddress *FindDeviceById200ResponseFacilityAddress `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"`
	Name         *string    `json:"name,omitempty"`
	Twitter      *string    `json:"twitter,omitempty"`
	Website      *string    `json:"website,omitempty"`
}

CreateOrganizationRequest struct for CreateOrganizationRequest

func NewCreateOrganizationRequest ¶

func NewCreateOrganizationRequest() *CreateOrganizationRequest

NewCreateOrganizationRequest instantiates a new CreateOrganizationRequest 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 NewCreateOrganizationRequestWithDefaults ¶

func NewCreateOrganizationRequestWithDefaults() *CreateOrganizationRequest

NewCreateOrganizationRequestWithDefaults instantiates a new CreateOrganizationRequest 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 (*CreateOrganizationRequest) GetAddress ¶

GetAddress returns the Address field value if set, zero value otherwise.

func (*CreateOrganizationRequest) GetAddressOk ¶

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 (*CreateOrganizationRequest) GetBillingAddress ¶

GetBillingAddress returns the BillingAddress field value if set, zero value otherwise.

func (*CreateOrganizationRequest) GetBillingAddressOk ¶

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 (*CreateOrganizationRequest) GetCustomdata ¶

func (o *CreateOrganizationRequest) GetCustomdata() map[string]interface{}

GetCustomdata returns the Customdata field value if set, zero value otherwise.

func (*CreateOrganizationRequest) GetCustomdataOk ¶

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

func (o *CreateOrganizationRequest) GetDescription() string

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

func (*CreateOrganizationRequest) GetDescriptionOk ¶

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

func (o *CreateOrganizationRequest) GetEnforce2faAt() time.Time

GetEnforce2faAt returns the Enforce2faAt field value if set, zero value otherwise.

func (*CreateOrganizationRequest) GetEnforce2faAtOk ¶

func (o *CreateOrganizationRequest) 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 *CreateOrganizationRequest) GetLogo() *os.File

GetLogo returns the Logo field value if set, zero value otherwise.

func (*CreateOrganizationRequest) GetLogoOk ¶

func (o *CreateOrganizationRequest) GetLogoOk() (**os.File, 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 (*CreateOrganizationRequest) GetName ¶

func (o *CreateOrganizationRequest) GetName() string

GetName returns the Name field value if set, zero value otherwise.

func (*CreateOrganizationRequest) GetNameOk ¶

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

func (o *CreateOrganizationRequest) GetTwitter() string

GetTwitter returns the Twitter field value if set, zero value otherwise.

func (*CreateOrganizationRequest) GetTwitterOk ¶

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

func (o *CreateOrganizationRequest) GetWebsite() string

GetWebsite returns the Website field value if set, zero value otherwise.

func (*CreateOrganizationRequest) GetWebsiteOk ¶

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

func (o *CreateOrganizationRequest) HasAddress() bool

HasAddress returns a boolean if a field has been set.

func (*CreateOrganizationRequest) HasBillingAddress ¶

func (o *CreateOrganizationRequest) HasBillingAddress() bool

HasBillingAddress returns a boolean if a field has been set.

func (*CreateOrganizationRequest) HasCustomdata ¶

func (o *CreateOrganizationRequest) HasCustomdata() bool

HasCustomdata returns a boolean if a field has been set.

func (*CreateOrganizationRequest) HasDescription ¶

func (o *CreateOrganizationRequest) HasDescription() bool

HasDescription returns a boolean if a field has been set.

func (*CreateOrganizationRequest) HasEnforce2faAt ¶

func (o *CreateOrganizationRequest) HasEnforce2faAt() bool

HasEnforce2faAt returns a boolean if a field has been set.

func (o *CreateOrganizationRequest) HasLogo() bool

HasLogo returns a boolean if a field has been set.

func (*CreateOrganizationRequest) HasName ¶

func (o *CreateOrganizationRequest) HasName() bool

HasName returns a boolean if a field has been set.

func (*CreateOrganizationRequest) HasTwitter ¶

func (o *CreateOrganizationRequest) HasTwitter() bool

HasTwitter returns a boolean if a field has been set.

func (*CreateOrganizationRequest) HasWebsite ¶

func (o *CreateOrganizationRequest) HasWebsite() bool

HasWebsite returns a boolean if a field has been set.

func (CreateOrganizationRequest) MarshalJSON ¶

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

func (*CreateOrganizationRequest) SetAddress ¶

SetAddress gets a reference to the given FindDeviceById200ResponseFacilityAddress and assigns it to the Address field.

func (*CreateOrganizationRequest) SetBillingAddress ¶

SetBillingAddress gets a reference to the given FindDeviceById200ResponseFacilityAddress and assigns it to the BillingAddress field.

func (*CreateOrganizationRequest) SetCustomdata ¶

func (o *CreateOrganizationRequest) SetCustomdata(v map[string]interface{})

SetCustomdata gets a reference to the given map[string]interface{} and assigns it to the Customdata field.

func (*CreateOrganizationRequest) SetDescription ¶

func (o *CreateOrganizationRequest) SetDescription(v string)

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

func (*CreateOrganizationRequest) SetEnforce2faAt ¶

func (o *CreateOrganizationRequest) SetEnforce2faAt(v time.Time)

SetEnforce2faAt gets a reference to the given time.Time and assigns it to the Enforce2faAt field.

func (o *CreateOrganizationRequest) SetLogo(v *os.File)

SetLogo gets a reference to the given *os.File and assigns it to the Logo field.

func (*CreateOrganizationRequest) SetName ¶

func (o *CreateOrganizationRequest) SetName(v string)

SetName gets a reference to the given string and assigns it to the Name field.

func (*CreateOrganizationRequest) SetTwitter ¶

func (o *CreateOrganizationRequest) SetTwitter(v string)

SetTwitter gets a reference to the given string and assigns it to the Twitter field.

func (*CreateOrganizationRequest) SetWebsite ¶

func (o *CreateOrganizationRequest) SetWebsite(v string)

SetWebsite gets a reference to the given string and assigns it to the Website field.

type CreatePaymentMethodRequest ¶

type CreatePaymentMethodRequest struct {
	Default *bool  `json:"default,omitempty"`
	Name    string `json:"name"`
	Nonce   string `json:"nonce"`
}

CreatePaymentMethodRequest struct for CreatePaymentMethodRequest

func NewCreatePaymentMethodRequest ¶

func NewCreatePaymentMethodRequest(name string, nonce string) *CreatePaymentMethodRequest

NewCreatePaymentMethodRequest instantiates a new CreatePaymentMethodRequest 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 NewCreatePaymentMethodRequestWithDefaults ¶

func NewCreatePaymentMethodRequestWithDefaults() *CreatePaymentMethodRequest

NewCreatePaymentMethodRequestWithDefaults instantiates a new CreatePaymentMethodRequest 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 (*CreatePaymentMethodRequest) GetDefault ¶

func (o *CreatePaymentMethodRequest) GetDefault() bool

GetDefault returns the Default field value if set, zero value otherwise.

func (*CreatePaymentMethodRequest) GetDefaultOk ¶

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

func (o *CreatePaymentMethodRequest) GetName() string

GetName returns the Name field value

func (*CreatePaymentMethodRequest) GetNameOk ¶

func (o *CreatePaymentMethodRequest) GetNameOk() (*string, bool)

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

func (*CreatePaymentMethodRequest) GetNonce ¶

func (o *CreatePaymentMethodRequest) GetNonce() string

GetNonce returns the Nonce field value

func (*CreatePaymentMethodRequest) GetNonceOk ¶

func (o *CreatePaymentMethodRequest) GetNonceOk() (*string, bool)

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

func (*CreatePaymentMethodRequest) HasDefault ¶

func (o *CreatePaymentMethodRequest) HasDefault() bool

HasDefault returns a boolean if a field has been set.

func (CreatePaymentMethodRequest) MarshalJSON ¶

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

func (*CreatePaymentMethodRequest) SetDefault ¶

func (o *CreatePaymentMethodRequest) SetDefault(v bool)

SetDefault gets a reference to the given bool and assigns it to the Default field.

func (*CreatePaymentMethodRequest) SetName ¶

func (o *CreatePaymentMethodRequest) SetName(v string)

SetName sets field value

func (*CreatePaymentMethodRequest) SetNonce ¶

func (o *CreatePaymentMethodRequest) SetNonce(v string)

SetNonce sets field value

type CreatePortVlanAssignmentBatchRequest ¶

type CreatePortVlanAssignmentBatchRequest struct {
	VlanAssignments []CreatePortVlanAssignmentBatchRequestVlanAssignmentsInner `json:"vlan_assignments,omitempty"`
}

CreatePortVlanAssignmentBatchRequest struct for CreatePortVlanAssignmentBatchRequest

func NewCreatePortVlanAssignmentBatchRequest ¶

func NewCreatePortVlanAssignmentBatchRequest() *CreatePortVlanAssignmentBatchRequest

NewCreatePortVlanAssignmentBatchRequest instantiates a new CreatePortVlanAssignmentBatchRequest 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 NewCreatePortVlanAssignmentBatchRequestWithDefaults ¶

func NewCreatePortVlanAssignmentBatchRequestWithDefaults() *CreatePortVlanAssignmentBatchRequest

NewCreatePortVlanAssignmentBatchRequestWithDefaults instantiates a new CreatePortVlanAssignmentBatchRequest 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 (*CreatePortVlanAssignmentBatchRequest) GetVlanAssignments ¶

GetVlanAssignments returns the VlanAssignments field value if set, zero value otherwise.

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

func (o *CreatePortVlanAssignmentBatchRequest) HasVlanAssignments() bool

HasVlanAssignments returns a boolean if a field has been set.

func (CreatePortVlanAssignmentBatchRequest) MarshalJSON ¶

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

func (*CreatePortVlanAssignmentBatchRequest) SetVlanAssignments ¶

SetVlanAssignments gets a reference to the given []CreatePortVlanAssignmentBatchRequestVlanAssignmentsInner and assigns it to the VlanAssignments field.

type CreatePortVlanAssignmentBatchRequestVlanAssignmentsInner ¶

type CreatePortVlanAssignmentBatchRequestVlanAssignmentsInner struct {
	Native *bool   `json:"native,omitempty"`
	State  *string `json:"state,omitempty"`
	Vlan   *string `json:"vlan,omitempty"`
}

CreatePortVlanAssignmentBatchRequestVlanAssignmentsInner struct for CreatePortVlanAssignmentBatchRequestVlanAssignmentsInner

func NewCreatePortVlanAssignmentBatchRequestVlanAssignmentsInner ¶

func NewCreatePortVlanAssignmentBatchRequestVlanAssignmentsInner() *CreatePortVlanAssignmentBatchRequestVlanAssignmentsInner

NewCreatePortVlanAssignmentBatchRequestVlanAssignmentsInner instantiates a new CreatePortVlanAssignmentBatchRequestVlanAssignmentsInner 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 NewCreatePortVlanAssignmentBatchRequestVlanAssignmentsInnerWithDefaults ¶

func NewCreatePortVlanAssignmentBatchRequestVlanAssignmentsInnerWithDefaults() *CreatePortVlanAssignmentBatchRequestVlanAssignmentsInner

NewCreatePortVlanAssignmentBatchRequestVlanAssignmentsInnerWithDefaults instantiates a new CreatePortVlanAssignmentBatchRequestVlanAssignmentsInner 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 (*CreatePortVlanAssignmentBatchRequestVlanAssignmentsInner) GetNative ¶

GetNative returns the Native field value if set, zero value otherwise.

func (*CreatePortVlanAssignmentBatchRequestVlanAssignmentsInner) GetNativeOk ¶

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 (*CreatePortVlanAssignmentBatchRequestVlanAssignmentsInner) GetState ¶

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

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

GetVlan returns the Vlan field value if set, zero value otherwise.

func (*CreatePortVlanAssignmentBatchRequestVlanAssignmentsInner) GetVlanOk ¶

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 (*CreatePortVlanAssignmentBatchRequestVlanAssignmentsInner) HasNative ¶

HasNative returns a boolean if a field has been set.

func (*CreatePortVlanAssignmentBatchRequestVlanAssignmentsInner) HasState ¶

HasState returns a boolean if a field has been set.

func (*CreatePortVlanAssignmentBatchRequestVlanAssignmentsInner) HasVlan ¶

HasVlan returns a boolean if a field has been set.

func (CreatePortVlanAssignmentBatchRequestVlanAssignmentsInner) MarshalJSON ¶

func (*CreatePortVlanAssignmentBatchRequestVlanAssignmentsInner) SetNative ¶

SetNative gets a reference to the given bool and assigns it to the Native field.

func (*CreatePortVlanAssignmentBatchRequestVlanAssignmentsInner) SetState ¶

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

func (*CreatePortVlanAssignmentBatchRequestVlanAssignmentsInner) SetVlan ¶

SetVlan gets a reference to the given string and assigns it to the Vlan field.

type CreateProjectAPIKeyRequest ¶

type CreateProjectAPIKeyRequest struct {
	Description *string `json:"description,omitempty"`
	ReadOnly    *bool   `json:"read_only,omitempty"`
}

CreateProjectAPIKeyRequest struct for CreateProjectAPIKeyRequest

func NewCreateProjectAPIKeyRequest ¶

func NewCreateProjectAPIKeyRequest() *CreateProjectAPIKeyRequest

NewCreateProjectAPIKeyRequest instantiates a new CreateProjectAPIKeyRequest 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 NewCreateProjectAPIKeyRequestWithDefaults ¶

func NewCreateProjectAPIKeyRequestWithDefaults() *CreateProjectAPIKeyRequest

NewCreateProjectAPIKeyRequestWithDefaults instantiates a new CreateProjectAPIKeyRequest 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 (*CreateProjectAPIKeyRequest) GetDescription ¶

func (o *CreateProjectAPIKeyRequest) GetDescription() string

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

func (*CreateProjectAPIKeyRequest) GetDescriptionOk ¶

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

func (o *CreateProjectAPIKeyRequest) GetReadOnly() bool

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

func (*CreateProjectAPIKeyRequest) GetReadOnlyOk ¶

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

func (o *CreateProjectAPIKeyRequest) HasDescription() bool

HasDescription returns a boolean if a field has been set.

func (*CreateProjectAPIKeyRequest) HasReadOnly ¶

func (o *CreateProjectAPIKeyRequest) HasReadOnly() bool

HasReadOnly returns a boolean if a field has been set.

func (CreateProjectAPIKeyRequest) MarshalJSON ¶

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

func (*CreateProjectAPIKeyRequest) SetDescription ¶

func (o *CreateProjectAPIKeyRequest) SetDescription(v string)

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

func (*CreateProjectAPIKeyRequest) SetReadOnly ¶

func (o *CreateProjectAPIKeyRequest) SetReadOnly(v bool)

SetReadOnly gets a reference to the given bool and assigns it to the ReadOnly field.

type CreateProjectRequest ¶

type CreateProjectRequest struct {
	Customdata      map[string]interface{} `json:"customdata,omitempty"`
	Name            string                 `json:"name"`
	OrganizationId  *string                `json:"organization_id,omitempty"`
	PaymentMethodId *string                `json:"payment_method_id,omitempty"`
}

CreateProjectRequest struct for CreateProjectRequest

func NewCreateProjectRequest ¶

func NewCreateProjectRequest(name string) *CreateProjectRequest

NewCreateProjectRequest instantiates a new CreateProjectRequest 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 NewCreateProjectRequestWithDefaults ¶

func NewCreateProjectRequestWithDefaults() *CreateProjectRequest

NewCreateProjectRequestWithDefaults instantiates a new CreateProjectRequest 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 (*CreateProjectRequest) GetCustomdata ¶

func (o *CreateProjectRequest) GetCustomdata() map[string]interface{}

GetCustomdata returns the Customdata field value if set, zero value otherwise.

func (*CreateProjectRequest) GetCustomdataOk ¶

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

func (o *CreateProjectRequest) GetName() string

GetName returns the Name field value

func (*CreateProjectRequest) GetNameOk ¶

func (o *CreateProjectRequest) GetNameOk() (*string, bool)

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

func (*CreateProjectRequest) GetOrganizationId ¶

func (o *CreateProjectRequest) GetOrganizationId() string

GetOrganizationId returns the OrganizationId field value if set, zero value otherwise.

func (*CreateProjectRequest) GetOrganizationIdOk ¶

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

func (o *CreateProjectRequest) GetPaymentMethodId() string

GetPaymentMethodId returns the PaymentMethodId field value if set, zero value otherwise.

func (*CreateProjectRequest) GetPaymentMethodIdOk ¶

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

func (o *CreateProjectRequest) HasCustomdata() bool

HasCustomdata returns a boolean if a field has been set.

func (*CreateProjectRequest) HasOrganizationId ¶

func (o *CreateProjectRequest) HasOrganizationId() bool

HasOrganizationId returns a boolean if a field has been set.

func (*CreateProjectRequest) HasPaymentMethodId ¶

func (o *CreateProjectRequest) HasPaymentMethodId() bool

HasPaymentMethodId returns a boolean if a field has been set.

func (CreateProjectRequest) MarshalJSON ¶

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

func (*CreateProjectRequest) SetCustomdata ¶

func (o *CreateProjectRequest) SetCustomdata(v map[string]interface{})

SetCustomdata gets a reference to the given map[string]interface{} and assigns it to the Customdata field.

func (*CreateProjectRequest) SetName ¶

func (o *CreateProjectRequest) SetName(v string)

SetName sets field value

func (*CreateProjectRequest) SetOrganizationId ¶

func (o *CreateProjectRequest) SetOrganizationId(v string)

SetOrganizationId gets a reference to the given string and assigns it to the OrganizationId field.

func (*CreateProjectRequest) SetPaymentMethodId ¶

func (o *CreateProjectRequest) SetPaymentMethodId(v string)

SetPaymentMethodId gets a reference to the given string and assigns it to the PaymentMethodId field.

type CreateProjectSSHKeyRequest ¶

type CreateProjectSSHKeyRequest 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"`
}

CreateProjectSSHKeyRequest struct for CreateProjectSSHKeyRequest

func NewCreateProjectSSHKeyRequest ¶

func NewCreateProjectSSHKeyRequest() *CreateProjectSSHKeyRequest

NewCreateProjectSSHKeyRequest instantiates a new CreateProjectSSHKeyRequest 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 NewCreateProjectSSHKeyRequestWithDefaults ¶

func NewCreateProjectSSHKeyRequestWithDefaults() *CreateProjectSSHKeyRequest

NewCreateProjectSSHKeyRequestWithDefaults instantiates a new CreateProjectSSHKeyRequest 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 (*CreateProjectSSHKeyRequest) GetInstancesIds ¶

func (o *CreateProjectSSHKeyRequest) GetInstancesIds() []string

GetInstancesIds returns the InstancesIds field value if set, zero value otherwise.

func (*CreateProjectSSHKeyRequest) GetInstancesIdsOk ¶

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

func (o *CreateProjectSSHKeyRequest) GetKey() string

GetKey returns the Key field value if set, zero value otherwise.

func (*CreateProjectSSHKeyRequest) GetKeyOk ¶

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

func (o *CreateProjectSSHKeyRequest) GetLabel() string

GetLabel returns the Label field value if set, zero value otherwise.

func (*CreateProjectSSHKeyRequest) GetLabelOk ¶

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

func (o *CreateProjectSSHKeyRequest) HasInstancesIds() bool

HasInstancesIds returns a boolean if a field has been set.

func (*CreateProjectSSHKeyRequest) HasKey ¶

func (o *CreateProjectSSHKeyRequest) HasKey() bool

HasKey returns a boolean if a field has been set.

func (*CreateProjectSSHKeyRequest) HasLabel ¶

func (o *CreateProjectSSHKeyRequest) HasLabel() bool

HasLabel returns a boolean if a field has been set.

func (CreateProjectSSHKeyRequest) MarshalJSON ¶

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

func (*CreateProjectSSHKeyRequest) SetInstancesIds ¶

func (o *CreateProjectSSHKeyRequest) SetInstancesIds(v []string)

SetInstancesIds gets a reference to the given []string and assigns it to the InstancesIds field.

func (*CreateProjectSSHKeyRequest) SetKey ¶

func (o *CreateProjectSSHKeyRequest) SetKey(v string)

SetKey gets a reference to the given string and assigns it to the Key field.

func (*CreateProjectSSHKeyRequest) SetLabel ¶

func (o *CreateProjectSSHKeyRequest) SetLabel(v string)

SetLabel gets a reference to the given string and assigns it to the Label field.

type CreateSelfServiceReservationRequest ¶

type CreateSelfServiceReservationRequest struct {
	Item      []CreateSelfServiceReservationRequestItemInner                 `json:"item,omitempty"`
	Notes     *string                                                        `json:"notes,omitempty"`
	Period    *FindSelfServiceReservations200ResponseReservationsInnerPeriod `json:"period,omitempty"`
	StartDate *time.Time                                                     `json:"start_date,omitempty"`
}

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 []CreateSelfServiceReservationRequestItemInner 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 FindSelfServiceReservations200ResponseReservationsInnerPeriod 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.

type CreateSelfServiceReservationRequestItemInner ¶

type CreateSelfServiceReservationRequestItemInner 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"`
}

CreateSelfServiceReservationRequestItemInner struct for CreateSelfServiceReservationRequestItemInner

func NewCreateSelfServiceReservationRequestItemInner ¶

func NewCreateSelfServiceReservationRequestItemInner() *CreateSelfServiceReservationRequestItemInner

NewCreateSelfServiceReservationRequestItemInner instantiates a new CreateSelfServiceReservationRequestItemInner 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 NewCreateSelfServiceReservationRequestItemInnerWithDefaults ¶

func NewCreateSelfServiceReservationRequestItemInnerWithDefaults() *CreateSelfServiceReservationRequestItemInner

NewCreateSelfServiceReservationRequestItemInnerWithDefaults instantiates a new CreateSelfServiceReservationRequestItemInner 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 (*CreateSelfServiceReservationRequestItemInner) GetAmount ¶

GetAmount returns the Amount field value if set, zero value otherwise.

func (*CreateSelfServiceReservationRequestItemInner) GetAmountOk ¶

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 (*CreateSelfServiceReservationRequestItemInner) GetMetroId ¶

GetMetroId returns the MetroId field value if set, zero value otherwise.

func (*CreateSelfServiceReservationRequestItemInner) GetMetroIdOk ¶

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 (*CreateSelfServiceReservationRequestItemInner) GetPlanId ¶

GetPlanId returns the PlanId field value if set, zero value otherwise.

func (*CreateSelfServiceReservationRequestItemInner) GetPlanIdOk ¶

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 (*CreateSelfServiceReservationRequestItemInner) GetQuantity ¶

GetQuantity returns the Quantity field value if set, zero value otherwise.

func (*CreateSelfServiceReservationRequestItemInner) GetQuantityOk ¶

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 (*CreateSelfServiceReservationRequestItemInner) GetTerm ¶

GetTerm returns the Term field value if set, zero value otherwise.

func (*CreateSelfServiceReservationRequestItemInner) GetTermOk ¶

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 (*CreateSelfServiceReservationRequestItemInner) HasAmount ¶

HasAmount returns a boolean if a field has been set.

func (*CreateSelfServiceReservationRequestItemInner) HasMetroId ¶

HasMetroId returns a boolean if a field has been set.

func (*CreateSelfServiceReservationRequestItemInner) HasPlanId ¶

HasPlanId returns a boolean if a field has been set.

func (*CreateSelfServiceReservationRequestItemInner) HasQuantity ¶

HasQuantity returns a boolean if a field has been set.

func (*CreateSelfServiceReservationRequestItemInner) HasTerm ¶

HasTerm returns a boolean if a field has been set.

func (CreateSelfServiceReservationRequestItemInner) MarshalJSON ¶

func (*CreateSelfServiceReservationRequestItemInner) SetAmount ¶

SetAmount gets a reference to the given float32 and assigns it to the Amount field.

func (*CreateSelfServiceReservationRequestItemInner) SetMetroId ¶

SetMetroId gets a reference to the given string and assigns it to the MetroId field.

func (*CreateSelfServiceReservationRequestItemInner) SetPlanId ¶

SetPlanId gets a reference to the given string and assigns it to the PlanId field.

func (*CreateSelfServiceReservationRequestItemInner) SetQuantity ¶

SetQuantity gets a reference to the given int32 and assigns it to the Quantity field.

func (*CreateSelfServiceReservationRequestItemInner) SetTerm ¶

SetTerm gets a reference to the given string and assigns it to the Term field.

type CreateSpotMarketRequestRequest ¶

type CreateSpotMarketRequestRequest struct {
	DevicesMax         *int32                                            `json:"devices_max,omitempty"`
	DevicesMin         *int32                                            `json:"devices_min,omitempty"`
	EndAt              *time.Time                                        `json:"end_at,omitempty"`
	Facilities         []string                                          `json:"facilities,omitempty"`
	InstanceAttributes *CreateSpotMarketRequestRequestInstanceAttributes `json:"instance_attributes,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"`
}

CreateSpotMarketRequestRequest struct for CreateSpotMarketRequestRequest

func NewCreateSpotMarketRequestRequest ¶

func NewCreateSpotMarketRequestRequest() *CreateSpotMarketRequestRequest

NewCreateSpotMarketRequestRequest instantiates a new CreateSpotMarketRequestRequest 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 NewCreateSpotMarketRequestRequestWithDefaults ¶

func NewCreateSpotMarketRequestRequestWithDefaults() *CreateSpotMarketRequestRequest

NewCreateSpotMarketRequestRequestWithDefaults instantiates a new CreateSpotMarketRequestRequest 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 (*CreateSpotMarketRequestRequest) GetDevicesMax ¶

func (o *CreateSpotMarketRequestRequest) GetDevicesMax() int32

GetDevicesMax returns the DevicesMax field value if set, zero value otherwise.

func (*CreateSpotMarketRequestRequest) GetDevicesMaxOk ¶

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

func (o *CreateSpotMarketRequestRequest) GetDevicesMin() int32

GetDevicesMin returns the DevicesMin field value if set, zero value otherwise.

func (*CreateSpotMarketRequestRequest) GetDevicesMinOk ¶

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

GetEndAt returns the EndAt field value if set, zero value otherwise.

func (*CreateSpotMarketRequestRequest) GetEndAtOk ¶

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

func (o *CreateSpotMarketRequestRequest) GetFacilities() []string

GetFacilities returns the Facilities field value if set, zero value otherwise.

func (*CreateSpotMarketRequestRequest) GetFacilitiesOk ¶

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

func (*CreateSpotMarketRequestRequest) GetInstanceAttributes ¶

GetInstanceAttributes returns the InstanceAttributes field value if set, zero value otherwise.

func (*CreateSpotMarketRequestRequest) GetInstanceAttributesOk ¶

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

func (*CreateSpotMarketRequestRequest) GetMaxBidPrice ¶

func (o *CreateSpotMarketRequestRequest) GetMaxBidPrice() float32

GetMaxBidPrice returns the MaxBidPrice field value if set, zero value otherwise.

func (*CreateSpotMarketRequestRequest) GetMaxBidPriceOk ¶

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

func (o *CreateSpotMarketRequestRequest) GetMetro() string

GetMetro returns the Metro field value if set, zero value otherwise.

func (*CreateSpotMarketRequestRequest) GetMetroOk ¶

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

func (o *CreateSpotMarketRequestRequest) HasDevicesMax() bool

HasDevicesMax returns a boolean if a field has been set.

func (*CreateSpotMarketRequestRequest) HasDevicesMin ¶

func (o *CreateSpotMarketRequestRequest) HasDevicesMin() bool

HasDevicesMin returns a boolean if a field has been set.

func (*CreateSpotMarketRequestRequest) HasEndAt ¶

func (o *CreateSpotMarketRequestRequest) HasEndAt() bool

HasEndAt returns a boolean if a field has been set.

func (*CreateSpotMarketRequestRequest) HasFacilities ¶

func (o *CreateSpotMarketRequestRequest) HasFacilities() bool

HasFacilities returns a boolean if a field has been set.

func (*CreateSpotMarketRequestRequest) HasInstanceAttributes ¶

func (o *CreateSpotMarketRequestRequest) HasInstanceAttributes() bool

HasInstanceAttributes returns a boolean if a field has been set.

func (*CreateSpotMarketRequestRequest) HasMaxBidPrice ¶

func (o *CreateSpotMarketRequestRequest) HasMaxBidPrice() bool

HasMaxBidPrice returns a boolean if a field has been set.

func (*CreateSpotMarketRequestRequest) HasMetro ¶

func (o *CreateSpotMarketRequestRequest) HasMetro() bool

HasMetro returns a boolean if a field has been set.

func (CreateSpotMarketRequestRequest) MarshalJSON ¶

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

func (*CreateSpotMarketRequestRequest) SetDevicesMax ¶

func (o *CreateSpotMarketRequestRequest) SetDevicesMax(v int32)

SetDevicesMax gets a reference to the given int32 and assigns it to the DevicesMax field.

func (*CreateSpotMarketRequestRequest) SetDevicesMin ¶

func (o *CreateSpotMarketRequestRequest) SetDevicesMin(v int32)

SetDevicesMin gets a reference to the given int32 and assigns it to the DevicesMin field.

func (*CreateSpotMarketRequestRequest) SetEndAt ¶

func (o *CreateSpotMarketRequestRequest) SetEndAt(v time.Time)

SetEndAt gets a reference to the given time.Time and assigns it to the EndAt field.

func (*CreateSpotMarketRequestRequest) SetFacilities ¶

func (o *CreateSpotMarketRequestRequest) SetFacilities(v []string)

SetFacilities gets a reference to the given []string and assigns it to the Facilities field.

func (*CreateSpotMarketRequestRequest) SetInstanceAttributes ¶

SetInstanceAttributes gets a reference to the given CreateSpotMarketRequestRequestInstanceAttributes and assigns it to the InstanceAttributes field.

func (*CreateSpotMarketRequestRequest) SetMaxBidPrice ¶

func (o *CreateSpotMarketRequestRequest) SetMaxBidPrice(v float32)

SetMaxBidPrice gets a reference to the given float32 and assigns it to the MaxBidPrice field.

func (*CreateSpotMarketRequestRequest) SetMetro ¶

func (o *CreateSpotMarketRequestRequest) SetMetro(v string)

SetMetro gets a reference to the given string and assigns it to the Metro field.

type CreateSpotMarketRequestRequestInstanceAttributes ¶

type CreateSpotMarketRequestRequestInstanceAttributes 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"`
	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"`
}

CreateSpotMarketRequestRequestInstanceAttributes struct for CreateSpotMarketRequestRequestInstanceAttributes

func NewCreateSpotMarketRequestRequestInstanceAttributes ¶

func NewCreateSpotMarketRequestRequestInstanceAttributes() *CreateSpotMarketRequestRequestInstanceAttributes

NewCreateSpotMarketRequestRequestInstanceAttributes instantiates a new CreateSpotMarketRequestRequestInstanceAttributes 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 NewCreateSpotMarketRequestRequestInstanceAttributesWithDefaults ¶

func NewCreateSpotMarketRequestRequestInstanceAttributesWithDefaults() *CreateSpotMarketRequestRequestInstanceAttributes

NewCreateSpotMarketRequestRequestInstanceAttributesWithDefaults instantiates a new CreateSpotMarketRequestRequestInstanceAttributes 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 (*CreateSpotMarketRequestRequestInstanceAttributes) GetAlwaysPxe ¶

GetAlwaysPxe returns the AlwaysPxe field value if set, zero value otherwise.

func (*CreateSpotMarketRequestRequestInstanceAttributes) GetAlwaysPxeOk ¶

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 (*CreateSpotMarketRequestRequestInstanceAttributes) GetBillingCycle ¶

GetBillingCycle returns the BillingCycle field value if set, zero value otherwise.

func (*CreateSpotMarketRequestRequestInstanceAttributes) GetBillingCycleOk ¶

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 (*CreateSpotMarketRequestRequestInstanceAttributes) GetCustomdata ¶

func (o *CreateSpotMarketRequestRequestInstanceAttributes) GetCustomdata() map[string]interface{}

GetCustomdata returns the Customdata field value if set, zero value otherwise.

func (*CreateSpotMarketRequestRequestInstanceAttributes) GetCustomdataOk ¶

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

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

func (*CreateSpotMarketRequestRequestInstanceAttributes) GetDescriptionOk ¶

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 (*CreateSpotMarketRequestRequestInstanceAttributes) GetFeatures ¶

GetFeatures returns the Features field value if set, zero value otherwise.

func (*CreateSpotMarketRequestRequestInstanceAttributes) GetFeaturesOk ¶

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 (*CreateSpotMarketRequestRequestInstanceAttributes) GetHostname ¶

GetHostname returns the Hostname field value if set, zero value otherwise.

func (*CreateSpotMarketRequestRequestInstanceAttributes) GetHostnameOk ¶

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 (*CreateSpotMarketRequestRequestInstanceAttributes) GetHostnames ¶

GetHostnames returns the Hostnames field value if set, zero value otherwise.

func (*CreateSpotMarketRequestRequestInstanceAttributes) GetHostnamesOk ¶

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 (*CreateSpotMarketRequestRequestInstanceAttributes) GetLocked ¶

GetLocked returns the Locked field value if set, zero value otherwise.

func (*CreateSpotMarketRequestRequestInstanceAttributes) GetLockedOk ¶

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 (*CreateSpotMarketRequestRequestInstanceAttributes) GetNoSshKeys ¶

GetNoSshKeys returns the NoSshKeys field value if set, zero value otherwise.

func (*CreateSpotMarketRequestRequestInstanceAttributes) GetNoSshKeysOk ¶

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 (*CreateSpotMarketRequestRequestInstanceAttributes) GetOperatingSystem ¶

GetOperatingSystem returns the OperatingSystem field value if set, zero value otherwise.

func (*CreateSpotMarketRequestRequestInstanceAttributes) GetOperatingSystemOk ¶

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

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

func (*CreateSpotMarketRequestRequestInstanceAttributes) GetPlanOk ¶

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 (*CreateSpotMarketRequestRequestInstanceAttributes) GetPrivateIpv4SubnetSize ¶

func (o *CreateSpotMarketRequestRequestInstanceAttributes) GetPrivateIpv4SubnetSize() int32

GetPrivateIpv4SubnetSize returns the PrivateIpv4SubnetSize field value if set, zero value otherwise.

func (*CreateSpotMarketRequestRequestInstanceAttributes) GetPrivateIpv4SubnetSizeOk ¶

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

GetProjectSshKeys returns the ProjectSshKeys field value if set, zero value otherwise.

func (*CreateSpotMarketRequestRequestInstanceAttributes) GetProjectSshKeysOk ¶

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

func (o *CreateSpotMarketRequestRequestInstanceAttributes) GetPublicIpv4SubnetSize() int32

GetPublicIpv4SubnetSize returns the PublicIpv4SubnetSize field value if set, zero value otherwise.

func (*CreateSpotMarketRequestRequestInstanceAttributes) GetPublicIpv4SubnetSizeOk ¶

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

GetTags returns the Tags field value if set, zero value otherwise.

func (*CreateSpotMarketRequestRequestInstanceAttributes) GetTagsOk ¶

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 (*CreateSpotMarketRequestRequestInstanceAttributes) GetTerminationTime ¶

GetTerminationTime returns the TerminationTime field value if set, zero value otherwise.

func (*CreateSpotMarketRequestRequestInstanceAttributes) GetTerminationTimeOk ¶

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

GetUserSshKeys returns the UserSshKeys field value if set, zero value otherwise.

func (*CreateSpotMarketRequestRequestInstanceAttributes) GetUserSshKeysOk ¶

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 (*CreateSpotMarketRequestRequestInstanceAttributes) GetUserdata ¶

GetUserdata returns the Userdata field value if set, zero value otherwise.

func (*CreateSpotMarketRequestRequestInstanceAttributes) GetUserdataOk ¶

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 (*CreateSpotMarketRequestRequestInstanceAttributes) HasAlwaysPxe ¶

HasAlwaysPxe returns a boolean if a field has been set.

func (*CreateSpotMarketRequestRequestInstanceAttributes) HasBillingCycle ¶

HasBillingCycle returns a boolean if a field has been set.

func (*CreateSpotMarketRequestRequestInstanceAttributes) HasCustomdata ¶

HasCustomdata returns a boolean if a field has been set.

func (*CreateSpotMarketRequestRequestInstanceAttributes) HasDescription ¶

HasDescription returns a boolean if a field has been set.

func (*CreateSpotMarketRequestRequestInstanceAttributes) HasFeatures ¶

HasFeatures returns a boolean if a field has been set.

func (*CreateSpotMarketRequestRequestInstanceAttributes) HasHostname ¶

HasHostname returns a boolean if a field has been set.

func (*CreateSpotMarketRequestRequestInstanceAttributes) HasHostnames ¶

HasHostnames returns a boolean if a field has been set.

func (*CreateSpotMarketRequestRequestInstanceAttributes) HasLocked ¶

HasLocked returns a boolean if a field has been set.

func (*CreateSpotMarketRequestRequestInstanceAttributes) HasNoSshKeys ¶

HasNoSshKeys returns a boolean if a field has been set.

func (*CreateSpotMarketRequestRequestInstanceAttributes) HasOperatingSystem ¶

HasOperatingSystem returns a boolean if a field has been set.

func (*CreateSpotMarketRequestRequestInstanceAttributes) HasPlan ¶

HasPlan returns a boolean if a field has been set.

func (*CreateSpotMarketRequestRequestInstanceAttributes) HasPrivateIpv4SubnetSize ¶

func (o *CreateSpotMarketRequestRequestInstanceAttributes) HasPrivateIpv4SubnetSize() bool

HasPrivateIpv4SubnetSize returns a boolean if a field has been set.

func (*CreateSpotMarketRequestRequestInstanceAttributes) HasProjectSshKeys ¶

HasProjectSshKeys returns a boolean if a field has been set.

func (*CreateSpotMarketRequestRequestInstanceAttributes) HasPublicIpv4SubnetSize ¶

func (o *CreateSpotMarketRequestRequestInstanceAttributes) HasPublicIpv4SubnetSize() bool

HasPublicIpv4SubnetSize returns a boolean if a field has been set.

func (*CreateSpotMarketRequestRequestInstanceAttributes) HasTags ¶

HasTags returns a boolean if a field has been set.

func (*CreateSpotMarketRequestRequestInstanceAttributes) HasTerminationTime ¶

HasTerminationTime returns a boolean if a field has been set.

func (*CreateSpotMarketRequestRequestInstanceAttributes) HasUserSshKeys ¶

HasUserSshKeys returns a boolean if a field has been set.

func (*CreateSpotMarketRequestRequestInstanceAttributes) HasUserdata ¶

HasUserdata returns a boolean if a field has been set.

func (CreateSpotMarketRequestRequestInstanceAttributes) MarshalJSON ¶

func (*CreateSpotMarketRequestRequestInstanceAttributes) SetAlwaysPxe ¶

SetAlwaysPxe gets a reference to the given bool and assigns it to the AlwaysPxe field.

func (*CreateSpotMarketRequestRequestInstanceAttributes) SetBillingCycle ¶

SetBillingCycle gets a reference to the given string and assigns it to the BillingCycle field.

func (*CreateSpotMarketRequestRequestInstanceAttributes) SetCustomdata ¶

func (o *CreateSpotMarketRequestRequestInstanceAttributes) SetCustomdata(v map[string]interface{})

SetCustomdata gets a reference to the given map[string]interface{} and assigns it to the Customdata field.

func (*CreateSpotMarketRequestRequestInstanceAttributes) SetDescription ¶

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

func (*CreateSpotMarketRequestRequestInstanceAttributes) SetFeatures ¶

SetFeatures gets a reference to the given []string and assigns it to the Features field.

func (*CreateSpotMarketRequestRequestInstanceAttributes) SetHostname ¶

SetHostname gets a reference to the given string and assigns it to the Hostname field.

func (*CreateSpotMarketRequestRequestInstanceAttributes) SetHostnames ¶

SetHostnames gets a reference to the given []string and assigns it to the Hostnames field.

func (*CreateSpotMarketRequestRequestInstanceAttributes) SetLocked ¶

SetLocked gets a reference to the given bool and assigns it to the Locked field.

func (*CreateSpotMarketRequestRequestInstanceAttributes) SetNoSshKeys ¶

SetNoSshKeys gets a reference to the given bool and assigns it to the NoSshKeys field.

func (*CreateSpotMarketRequestRequestInstanceAttributes) SetOperatingSystem ¶

SetOperatingSystem gets a reference to the given string and assigns it to the OperatingSystem field.

func (*CreateSpotMarketRequestRequestInstanceAttributes) SetPlan ¶

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

func (*CreateSpotMarketRequestRequestInstanceAttributes) SetPrivateIpv4SubnetSize ¶

func (o *CreateSpotMarketRequestRequestInstanceAttributes) SetPrivateIpv4SubnetSize(v int32)

SetPrivateIpv4SubnetSize gets a reference to the given int32 and assigns it to the PrivateIpv4SubnetSize field.

func (*CreateSpotMarketRequestRequestInstanceAttributes) SetProjectSshKeys ¶

func (o *CreateSpotMarketRequestRequestInstanceAttributes) SetProjectSshKeys(v []string)

SetProjectSshKeys gets a reference to the given []string and assigns it to the ProjectSshKeys field.

func (*CreateSpotMarketRequestRequestInstanceAttributes) SetPublicIpv4SubnetSize ¶

func (o *CreateSpotMarketRequestRequestInstanceAttributes) SetPublicIpv4SubnetSize(v int32)

SetPublicIpv4SubnetSize gets a reference to the given int32 and assigns it to the PublicIpv4SubnetSize field.

func (*CreateSpotMarketRequestRequestInstanceAttributes) SetTags ¶

SetTags gets a reference to the given []string and assigns it to the Tags field.

func (*CreateSpotMarketRequestRequestInstanceAttributes) SetTerminationTime ¶

SetTerminationTime gets a reference to the given time.Time and assigns it to the TerminationTime field.

func (*CreateSpotMarketRequestRequestInstanceAttributes) SetUserSshKeys ¶

SetUserSshKeys gets a reference to the given []string and assigns it to the UserSshKeys field.

func (*CreateSpotMarketRequestRequestInstanceAttributes) SetUserdata ¶

SetUserdata gets a reference to the given string and assigns it to the Userdata field.

type CreateTransferRequestRequest ¶

type CreateTransferRequestRequest struct {
	TargetOrganizationId *string `json:"target_organization_id,omitempty"`
}

CreateTransferRequestRequest struct for CreateTransferRequestRequest

func NewCreateTransferRequestRequest ¶

func NewCreateTransferRequestRequest() *CreateTransferRequestRequest

NewCreateTransferRequestRequest instantiates a new CreateTransferRequestRequest 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 NewCreateTransferRequestRequestWithDefaults ¶

func NewCreateTransferRequestRequestWithDefaults() *CreateTransferRequestRequest

NewCreateTransferRequestRequestWithDefaults instantiates a new CreateTransferRequestRequest 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 (*CreateTransferRequestRequest) GetTargetOrganizationId ¶

func (o *CreateTransferRequestRequest) GetTargetOrganizationId() string

GetTargetOrganizationId returns the TargetOrganizationId field value if set, zero value otherwise.

func (*CreateTransferRequestRequest) GetTargetOrganizationIdOk ¶

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

func (o *CreateTransferRequestRequest) HasTargetOrganizationId() bool

HasTargetOrganizationId returns a boolean if a field has been set.

func (CreateTransferRequestRequest) MarshalJSON ¶

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

func (*CreateTransferRequestRequest) SetTargetOrganizationId ¶

func (o *CreateTransferRequestRequest) SetTargetOrganizationId(v string)

SetTargetOrganizationId gets a reference to the given string and assigns it to the TargetOrganizationId field.

type CreateUserRequest ¶

type CreateUserRequest 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         []CreateUserRequestEmailsInner `json:"emails"`
	FirstName      string                         `json:"first_name"`
	LastName       string                         `json:"last_name"`
	Level          *string                        `json:"level,omitempty"`
	Locked         *bool                          `json:"locked,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"`
}

CreateUserRequest struct for CreateUserRequest

func NewCreateUserRequest ¶

func NewCreateUserRequest(emails []CreateUserRequestEmailsInner, firstName string, lastName string) *CreateUserRequest

NewCreateUserRequest instantiates a new CreateUserRequest 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 NewCreateUserRequestWithDefaults ¶

func NewCreateUserRequestWithDefaults() *CreateUserRequest

NewCreateUserRequestWithDefaults instantiates a new CreateUserRequest 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 (*CreateUserRequest) GetAvatar ¶

func (o *CreateUserRequest) GetAvatar() *os.File

GetAvatar returns the Avatar field value if set, zero value otherwise.

func (*CreateUserRequest) GetAvatarOk ¶

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

func (o *CreateUserRequest) GetCompanyName() string

GetCompanyName returns the CompanyName field value if set, zero value otherwise.

func (*CreateUserRequest) GetCompanyNameOk ¶

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

func (o *CreateUserRequest) GetCompanyUrl() string

GetCompanyUrl returns the CompanyUrl field value if set, zero value otherwise.

func (*CreateUserRequest) GetCompanyUrlOk ¶

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

func (o *CreateUserRequest) GetCustomdata() map[string]interface{}

GetCustomdata returns the Customdata field value if set, zero value otherwise.

func (*CreateUserRequest) GetCustomdataOk ¶

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

GetEmails returns the Emails field value

func (*CreateUserRequest) GetEmailsOk ¶

func (o *CreateUserRequest) GetEmailsOk() ([]CreateUserRequestEmailsInner, bool)

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

func (*CreateUserRequest) GetFirstName ¶

func (o *CreateUserRequest) GetFirstName() string

GetFirstName returns the FirstName field value

func (*CreateUserRequest) GetFirstNameOk ¶

func (o *CreateUserRequest) GetFirstNameOk() (*string, bool)

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

func (*CreateUserRequest) GetLastName ¶

func (o *CreateUserRequest) GetLastName() string

GetLastName returns the LastName field value

func (*CreateUserRequest) GetLastNameOk ¶

func (o *CreateUserRequest) GetLastNameOk() (*string, bool)

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

func (*CreateUserRequest) GetLevel ¶

func (o *CreateUserRequest) GetLevel() string

GetLevel returns the Level field value if set, zero value otherwise.

func (*CreateUserRequest) GetLevelOk ¶

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

func (o *CreateUserRequest) GetLocked() bool

GetLocked returns the Locked field value if set, zero value otherwise.

func (*CreateUserRequest) GetLockedOk ¶

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

func (o *CreateUserRequest) GetPassword() string

GetPassword returns the Password field value if set, zero value otherwise.

func (*CreateUserRequest) GetPasswordOk ¶

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

func (o *CreateUserRequest) GetPhoneNumber() string

GetPhoneNumber returns the PhoneNumber field value if set, zero value otherwise.

func (*CreateUserRequest) GetPhoneNumberOk ¶

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

func (o *CreateUserRequest) GetSocialAccounts() map[string]interface{}

GetSocialAccounts returns the SocialAccounts field value if set, zero value otherwise.

func (*CreateUserRequest) GetSocialAccountsOk ¶

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

func (o *CreateUserRequest) GetTimezone() string

GetTimezone returns the Timezone field value if set, zero value otherwise.

func (*CreateUserRequest) GetTimezoneOk ¶

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

func (o *CreateUserRequest) GetTitle() string

GetTitle returns the Title field value if set, zero value otherwise.

func (*CreateUserRequest) GetTitleOk ¶

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

func (o *CreateUserRequest) GetTwoFactorAuth() string

GetTwoFactorAuth returns the TwoFactorAuth field value if set, zero value otherwise.

func (*CreateUserRequest) GetTwoFactorAuthOk ¶

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

func (o *CreateUserRequest) GetVerifiedAt() time.Time

GetVerifiedAt returns the VerifiedAt field value if set, zero value otherwise.

func (*CreateUserRequest) GetVerifiedAtOk ¶

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

func (o *CreateUserRequest) HasAvatar() bool

HasAvatar returns a boolean if a field has been set.

func (*CreateUserRequest) HasCompanyName ¶

func (o *CreateUserRequest) HasCompanyName() bool

HasCompanyName returns a boolean if a field has been set.

func (*CreateUserRequest) HasCompanyUrl ¶

func (o *CreateUserRequest) HasCompanyUrl() bool

HasCompanyUrl returns a boolean if a field has been set.

func (*CreateUserRequest) HasCustomdata ¶

func (o *CreateUserRequest) HasCustomdata() bool

HasCustomdata returns a boolean if a field has been set.

func (*CreateUserRequest) HasLevel ¶

func (o *CreateUserRequest) HasLevel() bool

HasLevel returns a boolean if a field has been set.

func (*CreateUserRequest) HasLocked ¶

func (o *CreateUserRequest) HasLocked() bool

HasLocked returns a boolean if a field has been set.

func (*CreateUserRequest) HasPassword ¶

func (o *CreateUserRequest) HasPassword() bool

HasPassword returns a boolean if a field has been set.

func (*CreateUserRequest) HasPhoneNumber ¶

func (o *CreateUserRequest) HasPhoneNumber() bool

HasPhoneNumber returns a boolean if a field has been set.

func (*CreateUserRequest) HasSocialAccounts ¶

func (o *CreateUserRequest) HasSocialAccounts() bool

HasSocialAccounts returns a boolean if a field has been set.

func (*CreateUserRequest) HasTimezone ¶

func (o *CreateUserRequest) HasTimezone() bool

HasTimezone returns a boolean if a field has been set.

func (*CreateUserRequest) HasTitle ¶

func (o *CreateUserRequest) HasTitle() bool

HasTitle returns a boolean if a field has been set.

func (*CreateUserRequest) HasTwoFactorAuth ¶

func (o *CreateUserRequest) HasTwoFactorAuth() bool

HasTwoFactorAuth returns a boolean if a field has been set.

func (*CreateUserRequest) HasVerifiedAt ¶

func (o *CreateUserRequest) HasVerifiedAt() bool

HasVerifiedAt returns a boolean if a field has been set.

func (CreateUserRequest) MarshalJSON ¶

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

func (*CreateUserRequest) SetAvatar ¶

func (o *CreateUserRequest) SetAvatar(v *os.File)

SetAvatar gets a reference to the given *os.File and assigns it to the Avatar field.

func (*CreateUserRequest) SetCompanyName ¶

func (o *CreateUserRequest) SetCompanyName(v string)

SetCompanyName gets a reference to the given string and assigns it to the CompanyName field.

func (*CreateUserRequest) SetCompanyUrl ¶

func (o *CreateUserRequest) SetCompanyUrl(v string)

SetCompanyUrl gets a reference to the given string and assigns it to the CompanyUrl field.

func (*CreateUserRequest) SetCustomdata ¶

func (o *CreateUserRequest) SetCustomdata(v map[string]interface{})

SetCustomdata gets a reference to the given map[string]interface{} and assigns it to the Customdata field.

func (*CreateUserRequest) SetEmails ¶

SetEmails sets field value

func (*CreateUserRequest) SetFirstName ¶

func (o *CreateUserRequest) SetFirstName(v string)

SetFirstName sets field value

func (*CreateUserRequest) SetLastName ¶

func (o *CreateUserRequest) SetLastName(v string)

SetLastName sets field value

func (*CreateUserRequest) SetLevel ¶

func (o *CreateUserRequest) SetLevel(v string)

SetLevel gets a reference to the given string and assigns it to the Level field.

func (*CreateUserRequest) SetLocked ¶

func (o *CreateUserRequest) SetLocked(v bool)

SetLocked gets a reference to the given bool and assigns it to the Locked field.

func (*CreateUserRequest) SetPassword ¶

func (o *CreateUserRequest) SetPassword(v string)

SetPassword gets a reference to the given string and assigns it to the Password field.

func (*CreateUserRequest) SetPhoneNumber ¶

func (o *CreateUserRequest) SetPhoneNumber(v string)

SetPhoneNumber gets a reference to the given string and assigns it to the PhoneNumber field.

func (*CreateUserRequest) SetSocialAccounts ¶

func (o *CreateUserRequest) SetSocialAccounts(v map[string]interface{})

SetSocialAccounts gets a reference to the given map[string]interface{} and assigns it to the SocialAccounts field.

func (*CreateUserRequest) SetTimezone ¶

func (o *CreateUserRequest) SetTimezone(v string)

SetTimezone gets a reference to the given string and assigns it to the Timezone field.

func (*CreateUserRequest) SetTitle ¶

func (o *CreateUserRequest) SetTitle(v string)

SetTitle gets a reference to the given string and assigns it to the Title field.

func (*CreateUserRequest) SetTwoFactorAuth ¶

func (o *CreateUserRequest) SetTwoFactorAuth(v string)

SetTwoFactorAuth gets a reference to the given string and assigns it to the TwoFactorAuth field.

func (*CreateUserRequest) SetVerifiedAt ¶

func (o *CreateUserRequest) SetVerifiedAt(v time.Time)

SetVerifiedAt gets a reference to the given time.Time and assigns it to the VerifiedAt field.

type CreateUserRequestEmailsInner ¶

type CreateUserRequestEmailsInner struct {
	Address string `json:"address"`
	Default *bool  `json:"default,omitempty"`
}

CreateUserRequestEmailsInner struct for CreateUserRequestEmailsInner

func NewCreateUserRequestEmailsInner ¶

func NewCreateUserRequestEmailsInner(address string) *CreateUserRequestEmailsInner

NewCreateUserRequestEmailsInner instantiates a new CreateUserRequestEmailsInner 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 NewCreateUserRequestEmailsInnerWithDefaults ¶

func NewCreateUserRequestEmailsInnerWithDefaults() *CreateUserRequestEmailsInner

NewCreateUserRequestEmailsInnerWithDefaults instantiates a new CreateUserRequestEmailsInner 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 (*CreateUserRequestEmailsInner) GetAddress ¶

func (o *CreateUserRequestEmailsInner) GetAddress() string

GetAddress returns the Address field value

func (*CreateUserRequestEmailsInner) GetAddressOk ¶

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

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

func (*CreateUserRequestEmailsInner) GetDefault ¶

func (o *CreateUserRequestEmailsInner) GetDefault() bool

GetDefault returns the Default field value if set, zero value otherwise.

func (*CreateUserRequestEmailsInner) GetDefaultOk ¶

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

func (o *CreateUserRequestEmailsInner) HasDefault() bool

HasDefault returns a boolean if a field has been set.

func (CreateUserRequestEmailsInner) MarshalJSON ¶

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

func (*CreateUserRequestEmailsInner) SetAddress ¶

func (o *CreateUserRequestEmailsInner) SetAddress(v string)

SetAddress sets field value

func (*CreateUserRequestEmailsInner) SetDefault ¶

func (o *CreateUserRequestEmailsInner) SetDefault(v bool)

SetDefault gets a reference to the given bool and assigns it to the Default field.

type CreateVirtualNetworkRequest ¶

type CreateVirtualNetworkRequest struct {
	Description *string `json:"description,omitempty"`
	// The UUID (or facility code) for the Facility in which to create this Virtual network.
	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"`
	ProjectId string  `json:"project_id"`
	// 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"`
}

CreateVirtualNetworkRequest struct for CreateVirtualNetworkRequest

func NewCreateVirtualNetworkRequest ¶

func NewCreateVirtualNetworkRequest(projectId string) *CreateVirtualNetworkRequest

NewCreateVirtualNetworkRequest instantiates a new CreateVirtualNetworkRequest 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 NewCreateVirtualNetworkRequestWithDefaults ¶

func NewCreateVirtualNetworkRequestWithDefaults() *CreateVirtualNetworkRequest

NewCreateVirtualNetworkRequestWithDefaults instantiates a new CreateVirtualNetworkRequest 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 (*CreateVirtualNetworkRequest) GetDescription ¶

func (o *CreateVirtualNetworkRequest) GetDescription() string

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

func (*CreateVirtualNetworkRequest) GetDescriptionOk ¶

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

func (o *CreateVirtualNetworkRequest) GetFacility() string

GetFacility returns the Facility field value if set, zero value otherwise.

func (*CreateVirtualNetworkRequest) GetFacilityOk ¶

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

func (o *CreateVirtualNetworkRequest) GetMetro() string

GetMetro returns the Metro field value if set, zero value otherwise.

func (*CreateVirtualNetworkRequest) GetMetroOk ¶

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

func (o *CreateVirtualNetworkRequest) GetProjectId() string

GetProjectId returns the ProjectId field value

func (*CreateVirtualNetworkRequest) GetProjectIdOk ¶

func (o *CreateVirtualNetworkRequest) GetProjectIdOk() (*string, bool)

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

func (*CreateVirtualNetworkRequest) GetVxlan ¶

func (o *CreateVirtualNetworkRequest) GetVxlan() int32

GetVxlan returns the Vxlan field value if set, zero value otherwise.

func (*CreateVirtualNetworkRequest) GetVxlanOk ¶

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

func (o *CreateVirtualNetworkRequest) HasDescription() bool

HasDescription returns a boolean if a field has been set.

func (*CreateVirtualNetworkRequest) HasFacility ¶

func (o *CreateVirtualNetworkRequest) HasFacility() bool

HasFacility returns a boolean if a field has been set.

func (*CreateVirtualNetworkRequest) HasMetro ¶

func (o *CreateVirtualNetworkRequest) HasMetro() bool

HasMetro returns a boolean if a field has been set.

func (*CreateVirtualNetworkRequest) HasVxlan ¶

func (o *CreateVirtualNetworkRequest) HasVxlan() bool

HasVxlan returns a boolean if a field has been set.

func (CreateVirtualNetworkRequest) MarshalJSON ¶

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

func (*CreateVirtualNetworkRequest) SetDescription ¶

func (o *CreateVirtualNetworkRequest) SetDescription(v string)

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

func (*CreateVirtualNetworkRequest) SetFacility ¶

func (o *CreateVirtualNetworkRequest) SetFacility(v string)

SetFacility gets a reference to the given string and assigns it to the Facility field.

func (*CreateVirtualNetworkRequest) SetMetro ¶

func (o *CreateVirtualNetworkRequest) SetMetro(v string)

SetMetro gets a reference to the given string and assigns it to the Metro field.

func (*CreateVirtualNetworkRequest) SetProjectId ¶

func (o *CreateVirtualNetworkRequest) SetProjectId(v string)

SetProjectId sets field value

func (*CreateVirtualNetworkRequest) SetVxlan ¶

func (o *CreateVirtualNetworkRequest) SetVxlan(v int32)

SetVxlan gets a reference to the given int32 and assigns it to the Vxlan field.

type CreateVrfRequest ¶

type CreateVrfRequest struct {
	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"`
	ProjectId string `json:"project_id"`
}

CreateVrfRequest struct for CreateVrfRequest

func NewCreateVrfRequest ¶

func NewCreateVrfRequest(metro string, name string, projectId string) *CreateVrfRequest

NewCreateVrfRequest instantiates a new CreateVrfRequest 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 NewCreateVrfRequestWithDefaults ¶

func NewCreateVrfRequestWithDefaults() *CreateVrfRequest

NewCreateVrfRequestWithDefaults instantiates a new CreateVrfRequest 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 (*CreateVrfRequest) GetDescription ¶

func (o *CreateVrfRequest) GetDescription() string

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

func (*CreateVrfRequest) GetDescriptionOk ¶

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

func (o *CreateVrfRequest) GetIpRanges() []string

GetIpRanges returns the IpRanges field value if set, zero value otherwise.

func (*CreateVrfRequest) GetIpRangesOk ¶

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

func (o *CreateVrfRequest) GetLocalAsn() int32

GetLocalAsn returns the LocalAsn field value if set, zero value otherwise.

func (*CreateVrfRequest) GetLocalAsnOk ¶

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

func (o *CreateVrfRequest) GetMetro() string

GetMetro returns the Metro field value

func (*CreateVrfRequest) GetMetroOk ¶

func (o *CreateVrfRequest) GetMetroOk() (*string, bool)

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

func (*CreateVrfRequest) GetName ¶

func (o *CreateVrfRequest) GetName() string

GetName returns the Name field value

func (*CreateVrfRequest) GetNameOk ¶

func (o *CreateVrfRequest) GetNameOk() (*string, bool)

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

func (*CreateVrfRequest) GetProjectId ¶

func (o *CreateVrfRequest) GetProjectId() string

GetProjectId returns the ProjectId field value

func (*CreateVrfRequest) GetProjectIdOk ¶

func (o *CreateVrfRequest) GetProjectIdOk() (*string, bool)

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

func (*CreateVrfRequest) HasDescription ¶

func (o *CreateVrfRequest) HasDescription() bool

HasDescription returns a boolean if a field has been set.

func (*CreateVrfRequest) HasIpRanges ¶

func (o *CreateVrfRequest) HasIpRanges() bool

HasIpRanges returns a boolean if a field has been set.

func (*CreateVrfRequest) HasLocalAsn ¶

func (o *CreateVrfRequest) HasLocalAsn() bool

HasLocalAsn returns a boolean if a field has been set.

func (CreateVrfRequest) MarshalJSON ¶

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

func (*CreateVrfRequest) SetDescription ¶

func (o *CreateVrfRequest) SetDescription(v string)

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

func (*CreateVrfRequest) SetIpRanges ¶

func (o *CreateVrfRequest) SetIpRanges(v []string)

SetIpRanges gets a reference to the given []string and assigns it to the IpRanges field.

func (*CreateVrfRequest) SetLocalAsn ¶

func (o *CreateVrfRequest) SetLocalAsn(v int32)

SetLocalAsn gets a reference to the given int32 and assigns it to the LocalAsn field.

func (*CreateVrfRequest) SetMetro ¶

func (o *CreateVrfRequest) SetMetro(v string)

SetMetro sets field value

func (*CreateVrfRequest) SetName ¶

func (o *CreateVrfRequest) SetName(v string)

SetName sets field value

func (*CreateVrfRequest) SetProjectId ¶

func (o *CreateVrfRequest) SetProjectId(v string)

SetProjectId sets field value

type DeleteAPIKey401Response ¶

type DeleteAPIKey401Response 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"`
}

DeleteAPIKey401Response Error responses are included with 4xx and 5xx HTTP responses from the API service. Either \"error\" or \"errors\" will be set.

func NewDeleteAPIKey401Response ¶

func NewDeleteAPIKey401Response() *DeleteAPIKey401Response

NewDeleteAPIKey401Response instantiates a new DeleteAPIKey401Response 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 NewDeleteAPIKey401ResponseWithDefaults ¶

func NewDeleteAPIKey401ResponseWithDefaults() *DeleteAPIKey401Response

NewDeleteAPIKey401ResponseWithDefaults instantiates a new DeleteAPIKey401Response 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 (*DeleteAPIKey401Response) GetError ¶

func (o *DeleteAPIKey401Response) GetError() string

GetError returns the Error field value if set, zero value otherwise.

func (*DeleteAPIKey401Response) GetErrorOk ¶

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

func (o *DeleteAPIKey401Response) GetErrors() []string

GetErrors returns the Errors field value if set, zero value otherwise.

func (*DeleteAPIKey401Response) GetErrorsOk ¶

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

func (o *DeleteAPIKey401Response) HasError() bool

HasError returns a boolean if a field has been set.

func (*DeleteAPIKey401Response) HasErrors ¶

func (o *DeleteAPIKey401Response) HasErrors() bool

HasErrors returns a boolean if a field has been set.

func (DeleteAPIKey401Response) MarshalJSON ¶

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

func (*DeleteAPIKey401Response) SetError ¶

func (o *DeleteAPIKey401Response) SetError(v string)

SetError gets a reference to the given string and assigns it to the Error field.

func (*DeleteAPIKey401Response) SetErrors ¶

func (o *DeleteAPIKey401Response) SetErrors(v []string)

SetErrors gets a reference to the given []string and assigns it to the Errors field.

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           *FindDeviceById200ResponseCreatedBy         `json:"created_by,omitempty"`
	Customdata          map[string]interface{}                      `json:"customdata,omitempty"`
	Description         *string                                     `json:"description,omitempty"`
	Facility            *FindDeviceById200ResponseFacility          `json:"facility,omitempty"`
	HardwareReservation *FindBatchById200ResponseDevicesInner       `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         []FindDeviceById200ResponseIpAddressesInner `json:"ip_addresses,omitempty"`
	IpxeScriptUrl       *string                                     `json:"ipxe_script_url,omitempty"`
	Iqn                 *string                                     `json:"iqn,omitempty"`
	Locked              *bool                                       `json:"locked,omitempty"`
	Metro               *FindDeviceById200ResponseFacilityMetro     `json:"metro,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    []FindDeviceById200ResponseNetworkPortsInner `json:"network_ports,omitempty"`
	OperatingSystem *FindDeviceById200ResponseOperatingSystem    `json:"operating_system,omitempty"`
	// Actions supported by the device instance.
	Actions            []FindDeviceById200ResponseActionsInner `json:"actions,omitempty"`
	Plan               *FindDeviceById200ResponsePlan          `json:"plan,omitempty"`
	Project            *FindDeviceById200ResponseProject       `json:"project,omitempty"`
	ProjectLite        *FindDeviceById200ResponseProjectLite   `json:"project_lite,omitempty"`
	ProvisioningEvents []FindInterconnectionEvents200Response  `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      []FindBatchById200ResponseDevicesInner `json:"ssh_keys,omitempty"`
	State        *string                                `json:"state,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. 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         []FindBatchById200ResponseDevicesInner `json:"volumes,omitempty"`
}

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 ¶

GetActions returns the Actions field value if set, zero value otherwise.

func (*Device) GetActionsOk ¶

func (o *Device) GetActionsOk() ([]FindDeviceById200ResponseActionsInner, 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() FindDeviceById200ResponseCreatedBy

GetCreatedBy returns the CreatedBy field value if set, zero value otherwise.

func (*Device) GetCreatedByOk ¶

func (o *Device) GetCreatedByOk() (*FindDeviceById200ResponseCreatedBy, 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() FindDeviceById200ResponseFacility

GetFacility returns the Facility field value if set, zero value otherwise.

func (*Device) GetFacilityOk ¶

func (o *Device) GetFacilityOk() (*FindDeviceById200ResponseFacility, 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) GetHardwareReservation ¶

func (o *Device) GetHardwareReservation() FindBatchById200ResponseDevicesInner

GetHardwareReservation returns the HardwareReservation field value if set, zero value otherwise.

func (*Device) GetHardwareReservationOk ¶

func (o *Device) GetHardwareReservationOk() (*FindBatchById200ResponseDevicesInner, 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() []FindDeviceById200ResponseIpAddressesInner

GetIpAddresses returns the IpAddresses field value if set, zero value otherwise.

func (*Device) GetIpAddressesOk ¶

func (o *Device) GetIpAddressesOk() ([]FindDeviceById200ResponseIpAddressesInner, 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 ¶

GetMetro returns the Metro field value if set, zero value otherwise.

func (*Device) GetMetroOk ¶

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

func (o *Device) GetNetworkPorts() []FindDeviceById200ResponseNetworkPortsInner

GetNetworkPorts returns the NetworkPorts field value if set, zero value otherwise.

func (*Device) GetNetworkPortsOk ¶

func (o *Device) GetNetworkPortsOk() ([]FindDeviceById200ResponseNetworkPortsInner, 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() FindDeviceById200ResponseOperatingSystem

GetOperatingSystem returns the OperatingSystem field value if set, zero value otherwise.

func (*Device) GetOperatingSystemOk ¶

func (o *Device) GetOperatingSystemOk() (*FindDeviceById200ResponseOperatingSystem, 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 ¶

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

func (*Device) GetPlanOk ¶

func (o *Device) GetPlanOk() (*FindDeviceById200ResponsePlan, 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() FindDeviceById200ResponseProject

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

func (*Device) GetProjectLite ¶

func (o *Device) GetProjectLite() FindDeviceById200ResponseProjectLite

GetProjectLite returns the ProjectLite field value if set, zero value otherwise.

func (*Device) GetProjectLiteOk ¶

func (o *Device) GetProjectLiteOk() (*FindDeviceById200ResponseProjectLite, 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() (*FindDeviceById200ResponseProject, 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() []FindInterconnectionEvents200Response

GetProvisioningEvents returns the ProvisioningEvents field value if set, zero value otherwise.

func (*Device) GetProvisioningEventsOk ¶

func (o *Device) GetProvisioningEventsOk() ([]FindInterconnectionEvents200Response, 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) 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() []FindBatchById200ResponseDevicesInner

GetSshKeys returns the SshKeys field value if set, zero value otherwise.

func (*Device) GetSshKeysOk ¶

func (o *Device) GetSshKeysOk() ([]FindBatchById200ResponseDevicesInner, 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() string

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

func (*Device) GetStateOk ¶

func (o *Device) 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 (*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() []FindBatchById200ResponseDevicesInner

GetVolumes returns the Volumes field value if set, zero value otherwise.

func (*Device) GetVolumesOk ¶

func (o *Device) GetVolumesOk() ([]FindBatchById200ResponseDevicesInner, 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 ¶

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

func (o *Device) SetActions(v []FindDeviceById200ResponseActionsInner)

SetActions gets a reference to the given []FindDeviceById200ResponseActionsInner 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 FindDeviceById200ResponseCreatedBy)

SetCreatedBy gets a reference to the given FindDeviceById200ResponseCreatedBy 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 FindDeviceById200ResponseFacility)

SetFacility gets a reference to the given FindDeviceById200ResponseFacility and assigns it to the Facility field.

func (*Device) SetHardwareReservation ¶

func (o *Device) SetHardwareReservation(v FindBatchById200ResponseDevicesInner)

SetHardwareReservation gets a reference to the given FindBatchById200ResponseDevicesInner 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 []FindDeviceById200ResponseIpAddressesInner)

SetIpAddresses gets a reference to the given []FindDeviceById200ResponseIpAddressesInner 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 ¶

SetMetro gets a reference to the given FindDeviceById200ResponseFacilityMetro and assigns it to the Metro field.

func (*Device) SetNetworkPorts ¶

func (o *Device) SetNetworkPorts(v []FindDeviceById200ResponseNetworkPortsInner)

SetNetworkPorts gets a reference to the given []FindDeviceById200ResponseNetworkPortsInner and assigns it to the NetworkPorts field.

func (*Device) SetOperatingSystem ¶

func (o *Device) SetOperatingSystem(v FindDeviceById200ResponseOperatingSystem)

SetOperatingSystem gets a reference to the given FindDeviceById200ResponseOperatingSystem and assigns it to the OperatingSystem field.

func (*Device) SetPlan ¶

func (o *Device) SetPlan(v FindDeviceById200ResponsePlan)

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

func (*Device) SetProject ¶

func (o *Device) SetProject(v FindDeviceById200ResponseProject)

SetProject gets a reference to the given FindDeviceById200ResponseProject and assigns it to the Project field.

func (*Device) SetProjectLite ¶

func (o *Device) SetProjectLite(v FindDeviceById200ResponseProjectLite)

SetProjectLite gets a reference to the given FindDeviceById200ResponseProjectLite and assigns it to the ProjectLite field.

func (*Device) SetProvisioningEvents ¶

func (o *Device) SetProvisioningEvents(v []FindInterconnectionEvents200Response)

SetProvisioningEvents gets a reference to the given []FindInterconnectionEvents200Response 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) 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 []FindBatchById200ResponseDevicesInner)

SetSshKeys gets a reference to the given []FindBatchById200ResponseDevicesInner and assigns it to the SshKeys field.

func (*Device) SetState ¶

func (o *Device) SetState(v string)

SetState gets a reference to the given string and assigns it to the State 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 []FindBatchById200ResponseDevicesInner)

SetVolumes gets a reference to the given []FindBatchById200ResponseDevicesInner and assigns it to the Volumes field.

type DeviceCreateInFacilityInput ¶ added in v0.2.6

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.
	Facility NullableAnyOfarraystring `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"`
	// The billing cycle of the device.
	BillingCycle *string `json:"billing_cycle,omitempty"`
	// Customdata is an arbitrary JSON value that can be accessed via the metadata service.
	Customdata 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 []CreateDeviceRequestOneOfAllOf1IpAddressesInner `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"`
	// 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 *float32 `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 *float32 `json:"public_ipv4_subnet_size,omitempty"`
	SpotInstance         *bool    `json:"spot_instance,omitempty"`
	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         []CreateDeviceRequestOneOfAllOf1SshKeysInner `json:"ssh_keys,omitempty"`
	Tags            []string                                     `json:"tags,omitempty"`
	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"`
}

DeviceCreateInFacilityInput struct for DeviceCreateInFacilityInput

func NewDeviceCreateInFacilityInput ¶ added in v0.2.6

func NewDeviceCreateInFacilityInput(facility NullableAnyOfarraystring, 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.2.6

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.2.6

func (o *DeviceCreateInFacilityInput) GetAlwaysPxe() bool

GetAlwaysPxe returns the AlwaysPxe field value if set, zero value otherwise.

func (*DeviceCreateInFacilityInput) GetAlwaysPxeOk ¶ added in v0.2.6

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.2.6

func (o *DeviceCreateInFacilityInput) GetBillingCycle() string

GetBillingCycle returns the BillingCycle field value if set, zero value otherwise.

func (*DeviceCreateInFacilityInput) GetBillingCycleOk ¶ added in v0.2.6

func (o *DeviceCreateInFacilityInput) 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 (*DeviceCreateInFacilityInput) GetCustomdata ¶ added in v0.2.6

func (o *DeviceCreateInFacilityInput) GetCustomdata() interface{}

GetCustomdata returns the Customdata field value if set, zero value otherwise (both if not set or set to explicit null).

func (*DeviceCreateInFacilityInput) GetCustomdataOk ¶ added in v0.2.6

func (o *DeviceCreateInFacilityInput) GetCustomdataOk() (*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. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*DeviceCreateInFacilityInput) GetDescription ¶ added in v0.2.6

func (o *DeviceCreateInFacilityInput) GetDescription() string

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

func (*DeviceCreateInFacilityInput) GetDescriptionOk ¶ added in v0.2.6

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.2.6

GetFacility returns the Facility field value If the value is explicit nil, the zero value for AnyOfarraystring will be returned

func (*DeviceCreateInFacilityInput) GetFacilityOk ¶ added in v0.2.6

func (o *DeviceCreateInFacilityInput) GetFacilityOk() (*AnyOfarraystring, bool)

GetFacilityOk returns a tuple with the Facility field value 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 (*DeviceCreateInFacilityInput) GetFeatures ¶ added in v0.2.6

func (o *DeviceCreateInFacilityInput) GetFeatures() []string

GetFeatures returns the Features field value if set, zero value otherwise.

func (*DeviceCreateInFacilityInput) GetFeaturesOk ¶ added in v0.2.6

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.2.6

func (o *DeviceCreateInFacilityInput) GetHardwareReservationId() string

GetHardwareReservationId returns the HardwareReservationId field value if set, zero value otherwise.

func (*DeviceCreateInFacilityInput) GetHardwareReservationIdOk ¶ added in v0.2.6

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.2.6

func (o *DeviceCreateInFacilityInput) GetHostname() string

GetHostname returns the Hostname field value if set, zero value otherwise.

func (*DeviceCreateInFacilityInput) GetHostnameOk ¶ added in v0.2.6

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.2.6

GetIpAddresses returns the IpAddresses field value if set, zero value otherwise.

func (*DeviceCreateInFacilityInput) GetIpAddressesOk ¶ added in v0.2.6

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.2.6

func (o *DeviceCreateInFacilityInput) GetIpxeScriptUrl() string

GetIpxeScriptUrl returns the IpxeScriptUrl field value if set, zero value otherwise.

func (*DeviceCreateInFacilityInput) GetIpxeScriptUrlOk ¶ added in v0.2.6

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.2.6

func (o *DeviceCreateInFacilityInput) GetLocked() bool

GetLocked returns the Locked field value if set, zero value otherwise.

func (*DeviceCreateInFacilityInput) GetLockedOk ¶ added in v0.2.6

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) GetNoSshKeys ¶ added in v0.2.6

func (o *DeviceCreateInFacilityInput) GetNoSshKeys() bool

GetNoSshKeys returns the NoSshKeys field value if set, zero value otherwise.

func (*DeviceCreateInFacilityInput) GetNoSshKeysOk ¶ added in v0.2.6

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.2.6

func (o *DeviceCreateInFacilityInput) GetOperatingSystem() string

GetOperatingSystem returns the OperatingSystem field value

func (*DeviceCreateInFacilityInput) GetOperatingSystemOk ¶ added in v0.2.6

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.2.6

func (o *DeviceCreateInFacilityInput) GetPlan() string

GetPlan returns the Plan field value

func (*DeviceCreateInFacilityInput) GetPlanOk ¶ added in v0.2.6

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.2.6

func (o *DeviceCreateInFacilityInput) GetPrivateIpv4SubnetSize() float32

GetPrivateIpv4SubnetSize returns the PrivateIpv4SubnetSize field value if set, zero value otherwise.

func (*DeviceCreateInFacilityInput) GetPrivateIpv4SubnetSizeOk ¶ added in v0.2.6

func (o *DeviceCreateInFacilityInput) GetPrivateIpv4SubnetSizeOk() (*float32, 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.2.6

func (o *DeviceCreateInFacilityInput) GetProjectSshKeys() []string

GetProjectSshKeys returns the ProjectSshKeys field value if set, zero value otherwise.

func (*DeviceCreateInFacilityInput) GetProjectSshKeysOk ¶ added in v0.2.6

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.2.6

func (o *DeviceCreateInFacilityInput) GetPublicIpv4SubnetSize() float32

GetPublicIpv4SubnetSize returns the PublicIpv4SubnetSize field value if set, zero value otherwise.

func (*DeviceCreateInFacilityInput) GetPublicIpv4SubnetSizeOk ¶ added in v0.2.6

func (o *DeviceCreateInFacilityInput) GetPublicIpv4SubnetSizeOk() (*float32, 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.2.6

func (o *DeviceCreateInFacilityInput) GetSpotInstance() bool

GetSpotInstance returns the SpotInstance field value if set, zero value otherwise.

func (*DeviceCreateInFacilityInput) GetSpotInstanceOk ¶ added in v0.2.6

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.2.6

func (o *DeviceCreateInFacilityInput) GetSpotPriceMax() float32

GetSpotPriceMax returns the SpotPriceMax field value if set, zero value otherwise.

func (*DeviceCreateInFacilityInput) GetSpotPriceMaxOk ¶ added in v0.2.6

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.2.6

GetSshKeys returns the SshKeys field value if set, zero value otherwise.

func (*DeviceCreateInFacilityInput) GetSshKeysOk ¶ added in v0.2.6

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) GetTags ¶ added in v0.2.6

func (o *DeviceCreateInFacilityInput) GetTags() []string

GetTags returns the Tags field value if set, zero value otherwise.

func (*DeviceCreateInFacilityInput) GetTagsOk ¶ added in v0.2.6

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.2.6

func (o *DeviceCreateInFacilityInput) GetTerminationTime() time.Time

GetTerminationTime returns the TerminationTime field value if set, zero value otherwise.

func (*DeviceCreateInFacilityInput) GetTerminationTimeOk ¶ added in v0.2.6

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.2.6

func (o *DeviceCreateInFacilityInput) GetUserSshKeys() []string

GetUserSshKeys returns the UserSshKeys field value if set, zero value otherwise.

func (*DeviceCreateInFacilityInput) GetUserSshKeysOk ¶ added in v0.2.6

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.2.6

func (o *DeviceCreateInFacilityInput) GetUserdata() string

GetUserdata returns the Userdata field value if set, zero value otherwise.

func (*DeviceCreateInFacilityInput) GetUserdataOk ¶ added in v0.2.6

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.2.6

func (o *DeviceCreateInFacilityInput) HasAlwaysPxe() bool

HasAlwaysPxe returns a boolean if a field has been set.

func (*DeviceCreateInFacilityInput) HasBillingCycle ¶ added in v0.2.6

func (o *DeviceCreateInFacilityInput) HasBillingCycle() bool

HasBillingCycle returns a boolean if a field has been set.

func (*DeviceCreateInFacilityInput) HasCustomdata ¶ added in v0.2.6

func (o *DeviceCreateInFacilityInput) HasCustomdata() bool

HasCustomdata returns a boolean if a field has been set.

func (*DeviceCreateInFacilityInput) HasDescription ¶ added in v0.2.6

func (o *DeviceCreateInFacilityInput) HasDescription() bool

HasDescription returns a boolean if a field has been set.

func (*DeviceCreateInFacilityInput) HasFeatures ¶ added in v0.2.6

func (o *DeviceCreateInFacilityInput) HasFeatures() bool

HasFeatures returns a boolean if a field has been set.

func (*DeviceCreateInFacilityInput) HasHardwareReservationId ¶ added in v0.2.6

func (o *DeviceCreateInFacilityInput) HasHardwareReservationId() bool

HasHardwareReservationId returns a boolean if a field has been set.

func (*DeviceCreateInFacilityInput) HasHostname ¶ added in v0.2.6

func (o *DeviceCreateInFacilityInput) HasHostname() bool

HasHostname returns a boolean if a field has been set.

func (*DeviceCreateInFacilityInput) HasIpAddresses ¶ added in v0.2.6

func (o *DeviceCreateInFacilityInput) HasIpAddresses() bool

HasIpAddresses returns a boolean if a field has been set.

func (*DeviceCreateInFacilityInput) HasIpxeScriptUrl ¶ added in v0.2.6

func (o *DeviceCreateInFacilityInput) HasIpxeScriptUrl() bool

HasIpxeScriptUrl returns a boolean if a field has been set.

func (*DeviceCreateInFacilityInput) HasLocked ¶ added in v0.2.6

func (o *DeviceCreateInFacilityInput) HasLocked() bool

HasLocked returns a boolean if a field has been set.

func (*DeviceCreateInFacilityInput) HasNoSshKeys ¶ added in v0.2.6

func (o *DeviceCreateInFacilityInput) HasNoSshKeys() bool

HasNoSshKeys returns a boolean if a field has been set.

func (*DeviceCreateInFacilityInput) HasPrivateIpv4SubnetSize ¶ added in v0.2.6

func (o *DeviceCreateInFacilityInput) HasPrivateIpv4SubnetSize() bool

HasPrivateIpv4SubnetSize returns a boolean if a field has been set.

func (*DeviceCreateInFacilityInput) HasProjectSshKeys ¶ added in v0.2.6

func (o *DeviceCreateInFacilityInput) HasProjectSshKeys() bool

HasProjectSshKeys returns a boolean if a field has been set.

func (*DeviceCreateInFacilityInput) HasPublicIpv4SubnetSize ¶ added in v0.2.6

func (o *DeviceCreateInFacilityInput) HasPublicIpv4SubnetSize() bool

HasPublicIpv4SubnetSize returns a boolean if a field has been set.

func (*DeviceCreateInFacilityInput) HasSpotInstance ¶ added in v0.2.6

func (o *DeviceCreateInFacilityInput) HasSpotInstance() bool

HasSpotInstance returns a boolean if a field has been set.

func (*DeviceCreateInFacilityInput) HasSpotPriceMax ¶ added in v0.2.6

func (o *DeviceCreateInFacilityInput) HasSpotPriceMax() bool

HasSpotPriceMax returns a boolean if a field has been set.

func (*DeviceCreateInFacilityInput) HasSshKeys ¶ added in v0.2.6

func (o *DeviceCreateInFacilityInput) HasSshKeys() bool

HasSshKeys returns a boolean if a field has been set.

func (*DeviceCreateInFacilityInput) HasTags ¶ added in v0.2.6

func (o *DeviceCreateInFacilityInput) HasTags() bool

HasTags returns a boolean if a field has been set.

func (*DeviceCreateInFacilityInput) HasTerminationTime ¶ added in v0.2.6

func (o *DeviceCreateInFacilityInput) HasTerminationTime() bool

HasTerminationTime returns a boolean if a field has been set.

func (*DeviceCreateInFacilityInput) HasUserSshKeys ¶ added in v0.2.6

func (o *DeviceCreateInFacilityInput) HasUserSshKeys() bool

HasUserSshKeys returns a boolean if a field has been set.

func (*DeviceCreateInFacilityInput) HasUserdata ¶ added in v0.2.6

func (o *DeviceCreateInFacilityInput) HasUserdata() bool

HasUserdata returns a boolean if a field has been set.

func (DeviceCreateInFacilityInput) MarshalJSON ¶ added in v0.2.6

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

func (*DeviceCreateInFacilityInput) SetAlwaysPxe ¶ added in v0.2.6

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.2.6

func (o *DeviceCreateInFacilityInput) SetBillingCycle(v string)

SetBillingCycle gets a reference to the given string and assigns it to the BillingCycle field.

func (*DeviceCreateInFacilityInput) SetCustomdata ¶ added in v0.2.6

func (o *DeviceCreateInFacilityInput) SetCustomdata(v interface{})

SetCustomdata gets a reference to the given interface{} and assigns it to the Customdata field.

func (*DeviceCreateInFacilityInput) SetDescription ¶ added in v0.2.6

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.2.6

SetFacility sets field value

func (*DeviceCreateInFacilityInput) SetFeatures ¶ added in v0.2.6

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.2.6

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.2.6

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.2.6

SetIpAddresses gets a reference to the given []CreateDeviceRequestOneOfAllOf1IpAddressesInner and assigns it to the IpAddresses field.

func (*DeviceCreateInFacilityInput) SetIpxeScriptUrl ¶ added in v0.2.6

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.2.6

func (o *DeviceCreateInFacilityInput) SetLocked(v bool)

SetLocked gets a reference to the given bool and assigns it to the Locked field.

func (*DeviceCreateInFacilityInput) SetNoSshKeys ¶ added in v0.2.6

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.2.6

func (o *DeviceCreateInFacilityInput) SetOperatingSystem(v string)

SetOperatingSystem sets field value

func (*DeviceCreateInFacilityInput) SetPlan ¶ added in v0.2.6

func (o *DeviceCreateInFacilityInput) SetPlan(v string)

SetPlan sets field value

func (*DeviceCreateInFacilityInput) SetPrivateIpv4SubnetSize ¶ added in v0.2.6

func (o *DeviceCreateInFacilityInput) SetPrivateIpv4SubnetSize(v float32)

SetPrivateIpv4SubnetSize gets a reference to the given float32 and assigns it to the PrivateIpv4SubnetSize field.

func (*DeviceCreateInFacilityInput) SetProjectSshKeys ¶ added in v0.2.6

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.2.6

func (o *DeviceCreateInFacilityInput) SetPublicIpv4SubnetSize(v float32)

SetPublicIpv4SubnetSize gets a reference to the given float32 and assigns it to the PublicIpv4SubnetSize field.

func (*DeviceCreateInFacilityInput) SetSpotInstance ¶ added in v0.2.6

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.2.6

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.2.6

SetSshKeys gets a reference to the given []CreateDeviceRequestOneOfAllOf1SshKeysInner and assigns it to the SshKeys field.

func (*DeviceCreateInFacilityInput) SetTags ¶ added in v0.2.6

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.2.6

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.2.6

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.2.6

func (o *DeviceCreateInFacilityInput) SetUserdata(v string)

SetUserdata gets a reference to the given string and assigns it to the Userdata field.

type DeviceCreateInFacilityInputAllOf ¶ added in v0.2.6

type DeviceCreateInFacilityInputAllOf 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.
	Facility NullableAnyOfarraystring `json:"facility"`
}

DeviceCreateInFacilityInputAllOf struct for DeviceCreateInFacilityInputAllOf

func NewDeviceCreateInFacilityInputAllOf ¶ added in v0.2.6

func NewDeviceCreateInFacilityInputAllOf(facility NullableAnyOfarraystring) *DeviceCreateInFacilityInputAllOf

NewDeviceCreateInFacilityInputAllOf instantiates a new DeviceCreateInFacilityInputAllOf 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 NewDeviceCreateInFacilityInputAllOfWithDefaults ¶ added in v0.2.6

func NewDeviceCreateInFacilityInputAllOfWithDefaults() *DeviceCreateInFacilityInputAllOf

NewDeviceCreateInFacilityInputAllOfWithDefaults instantiates a new DeviceCreateInFacilityInputAllOf 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 (*DeviceCreateInFacilityInputAllOf) GetFacility ¶ added in v0.2.6

GetFacility returns the Facility field value If the value is explicit nil, the zero value for AnyOfarraystring will be returned

func (*DeviceCreateInFacilityInputAllOf) GetFacilityOk ¶ added in v0.2.6

GetFacilityOk returns a tuple with the Facility field value 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 (DeviceCreateInFacilityInputAllOf) MarshalJSON ¶ added in v0.2.6

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

func (*DeviceCreateInFacilityInputAllOf) SetFacility ¶ added in v0.2.6

SetFacility sets field value

type DeviceCreateInMetroInput ¶ added in v0.2.6

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"`
	// The billing cycle of the device.
	BillingCycle *string `json:"billing_cycle,omitempty"`
	// Customdata is an arbitrary JSON value that can be accessed via the metadata service.
	Customdata 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 []CreateDeviceRequestOneOfAllOf1IpAddressesInner `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"`
	// 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 *float32 `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 *float32 `json:"public_ipv4_subnet_size,omitempty"`
	SpotInstance         *bool    `json:"spot_instance,omitempty"`
	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         []CreateDeviceRequestOneOfAllOf1SshKeysInner `json:"ssh_keys,omitempty"`
	Tags            []string                                     `json:"tags,omitempty"`
	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"`
}

DeviceCreateInMetroInput struct for DeviceCreateInMetroInput

func NewDeviceCreateInMetroInput ¶ added in v0.2.6

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.2.6

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.2.6

func (o *DeviceCreateInMetroInput) GetAlwaysPxe() bool

GetAlwaysPxe returns the AlwaysPxe field value if set, zero value otherwise.

func (*DeviceCreateInMetroInput) GetAlwaysPxeOk ¶ added in v0.2.6

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.2.6

func (o *DeviceCreateInMetroInput) GetBillingCycle() string

GetBillingCycle returns the BillingCycle field value if set, zero value otherwise.

func (*DeviceCreateInMetroInput) GetBillingCycleOk ¶ added in v0.2.6

func (o *DeviceCreateInMetroInput) 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 (*DeviceCreateInMetroInput) GetCustomdata ¶ added in v0.2.6

func (o *DeviceCreateInMetroInput) GetCustomdata() interface{}

GetCustomdata returns the Customdata field value if set, zero value otherwise (both if not set or set to explicit null).

func (*DeviceCreateInMetroInput) GetCustomdataOk ¶ added in v0.2.6

func (o *DeviceCreateInMetroInput) GetCustomdataOk() (*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. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*DeviceCreateInMetroInput) GetDescription ¶ added in v0.2.6

func (o *DeviceCreateInMetroInput) GetDescription() string

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

func (*DeviceCreateInMetroInput) GetDescriptionOk ¶ added in v0.2.6

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.2.6

func (o *DeviceCreateInMetroInput) GetFeatures() []string

GetFeatures returns the Features field value if set, zero value otherwise.

func (*DeviceCreateInMetroInput) GetFeaturesOk ¶ added in v0.2.6

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.2.6

func (o *DeviceCreateInMetroInput) GetHardwareReservationId() string

GetHardwareReservationId returns the HardwareReservationId field value if set, zero value otherwise.

func (*DeviceCreateInMetroInput) GetHardwareReservationIdOk ¶ added in v0.2.6

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.2.6

func (o *DeviceCreateInMetroInput) GetHostname() string

GetHostname returns the Hostname field value if set, zero value otherwise.

func (*DeviceCreateInMetroInput) GetHostnameOk ¶ added in v0.2.6

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.2.6

GetIpAddresses returns the IpAddresses field value if set, zero value otherwise.

func (*DeviceCreateInMetroInput) GetIpAddressesOk ¶ added in v0.2.6

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.2.6

func (o *DeviceCreateInMetroInput) GetIpxeScriptUrl() string

GetIpxeScriptUrl returns the IpxeScriptUrl field value if set, zero value otherwise.

func (*DeviceCreateInMetroInput) GetIpxeScriptUrlOk ¶ added in v0.2.6

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.2.6

func (o *DeviceCreateInMetroInput) GetLocked() bool

GetLocked returns the Locked field value if set, zero value otherwise.

func (*DeviceCreateInMetroInput) GetLockedOk ¶ added in v0.2.6

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.2.6

func (o *DeviceCreateInMetroInput) GetMetro() string

GetMetro returns the Metro field value

func (*DeviceCreateInMetroInput) GetMetroOk ¶ added in v0.2.6

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) GetNoSshKeys ¶ added in v0.2.6

func (o *DeviceCreateInMetroInput) GetNoSshKeys() bool

GetNoSshKeys returns the NoSshKeys field value if set, zero value otherwise.

func (*DeviceCreateInMetroInput) GetNoSshKeysOk ¶ added in v0.2.6

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.2.6

func (o *DeviceCreateInMetroInput) GetOperatingSystem() string

GetOperatingSystem returns the OperatingSystem field value

func (*DeviceCreateInMetroInput) GetOperatingSystemOk ¶ added in v0.2.6

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.2.6

func (o *DeviceCreateInMetroInput) GetPlan() string

GetPlan returns the Plan field value

func (*DeviceCreateInMetroInput) GetPlanOk ¶ added in v0.2.6

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.2.6

func (o *DeviceCreateInMetroInput) GetPrivateIpv4SubnetSize() float32

GetPrivateIpv4SubnetSize returns the PrivateIpv4SubnetSize field value if set, zero value otherwise.

func (*DeviceCreateInMetroInput) GetPrivateIpv4SubnetSizeOk ¶ added in v0.2.6

func (o *DeviceCreateInMetroInput) GetPrivateIpv4SubnetSizeOk() (*float32, 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.2.6

func (o *DeviceCreateInMetroInput) GetProjectSshKeys() []string

GetProjectSshKeys returns the ProjectSshKeys field value if set, zero value otherwise.

func (*DeviceCreateInMetroInput) GetProjectSshKeysOk ¶ added in v0.2.6

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.2.6

func (o *DeviceCreateInMetroInput) GetPublicIpv4SubnetSize() float32

GetPublicIpv4SubnetSize returns the PublicIpv4SubnetSize field value if set, zero value otherwise.

func (*DeviceCreateInMetroInput) GetPublicIpv4SubnetSizeOk ¶ added in v0.2.6

func (o *DeviceCreateInMetroInput) GetPublicIpv4SubnetSizeOk() (*float32, 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.2.6

func (o *DeviceCreateInMetroInput) GetSpotInstance() bool

GetSpotInstance returns the SpotInstance field value if set, zero value otherwise.

func (*DeviceCreateInMetroInput) GetSpotInstanceOk ¶ added in v0.2.6

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.2.6

func (o *DeviceCreateInMetroInput) GetSpotPriceMax() float32

GetSpotPriceMax returns the SpotPriceMax field value if set, zero value otherwise.

func (*DeviceCreateInMetroInput) GetSpotPriceMaxOk ¶ added in v0.2.6

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.2.6

GetSshKeys returns the SshKeys field value if set, zero value otherwise.

func (*DeviceCreateInMetroInput) GetSshKeysOk ¶ added in v0.2.6

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) GetTags ¶ added in v0.2.6

func (o *DeviceCreateInMetroInput) GetTags() []string

GetTags returns the Tags field value if set, zero value otherwise.

func (*DeviceCreateInMetroInput) GetTagsOk ¶ added in v0.2.6

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.2.6

func (o *DeviceCreateInMetroInput) GetTerminationTime() time.Time

GetTerminationTime returns the TerminationTime field value if set, zero value otherwise.

func (*DeviceCreateInMetroInput) GetTerminationTimeOk ¶ added in v0.2.6

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.2.6

func (o *DeviceCreateInMetroInput) GetUserSshKeys() []string

GetUserSshKeys returns the UserSshKeys field value if set, zero value otherwise.

func (*DeviceCreateInMetroInput) GetUserSshKeysOk ¶ added in v0.2.6

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.2.6

func (o *DeviceCreateInMetroInput) GetUserdata() string

GetUserdata returns the Userdata field value if set, zero value otherwise.

func (*DeviceCreateInMetroInput) GetUserdataOk ¶ added in v0.2.6

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.2.6

func (o *DeviceCreateInMetroInput) HasAlwaysPxe() bool

HasAlwaysPxe returns a boolean if a field has been set.

func (*DeviceCreateInMetroInput) HasBillingCycle ¶ added in v0.2.6

func (o *DeviceCreateInMetroInput) HasBillingCycle() bool

HasBillingCycle returns a boolean if a field has been set.

func (*DeviceCreateInMetroInput) HasCustomdata ¶ added in v0.2.6

func (o *DeviceCreateInMetroInput) HasCustomdata() bool

HasCustomdata returns a boolean if a field has been set.

func (*DeviceCreateInMetroInput) HasDescription ¶ added in v0.2.6

func (o *DeviceCreateInMetroInput) HasDescription() bool

HasDescription returns a boolean if a field has been set.

func (*DeviceCreateInMetroInput) HasFeatures ¶ added in v0.2.6

func (o *DeviceCreateInMetroInput) HasFeatures() bool

HasFeatures returns a boolean if a field has been set.

func (*DeviceCreateInMetroInput) HasHardwareReservationId ¶ added in v0.2.6

func (o *DeviceCreateInMetroInput) HasHardwareReservationId() bool

HasHardwareReservationId returns a boolean if a field has been set.

func (*DeviceCreateInMetroInput) HasHostname ¶ added in v0.2.6

func (o *DeviceCreateInMetroInput) HasHostname() bool

HasHostname returns a boolean if a field has been set.

func (*DeviceCreateInMetroInput) HasIpAddresses ¶ added in v0.2.6

func (o *DeviceCreateInMetroInput) HasIpAddresses() bool

HasIpAddresses returns a boolean if a field has been set.

func (*DeviceCreateInMetroInput) HasIpxeScriptUrl ¶ added in v0.2.6

func (o *DeviceCreateInMetroInput) HasIpxeScriptUrl() bool

HasIpxeScriptUrl returns a boolean if a field has been set.

func (*DeviceCreateInMetroInput) HasLocked ¶ added in v0.2.6

func (o *DeviceCreateInMetroInput) HasLocked() bool

HasLocked returns a boolean if a field has been set.

func (*DeviceCreateInMetroInput) HasNoSshKeys ¶ added in v0.2.6

func (o *DeviceCreateInMetroInput) HasNoSshKeys() bool

HasNoSshKeys returns a boolean if a field has been set.

func (*DeviceCreateInMetroInput) HasPrivateIpv4SubnetSize ¶ added in v0.2.6

func (o *DeviceCreateInMetroInput) HasPrivateIpv4SubnetSize() bool

HasPrivateIpv4SubnetSize returns a boolean if a field has been set.

func (*DeviceCreateInMetroInput) HasProjectSshKeys ¶ added in v0.2.6

func (o *DeviceCreateInMetroInput) HasProjectSshKeys() bool

HasProjectSshKeys returns a boolean if a field has been set.

func (*DeviceCreateInMetroInput) HasPublicIpv4SubnetSize ¶ added in v0.2.6

func (o *DeviceCreateInMetroInput) HasPublicIpv4SubnetSize() bool

HasPublicIpv4SubnetSize returns a boolean if a field has been set.

func (*DeviceCreateInMetroInput) HasSpotInstance ¶ added in v0.2.6

func (o *DeviceCreateInMetroInput) HasSpotInstance() bool

HasSpotInstance returns a boolean if a field has been set.

func (*DeviceCreateInMetroInput) HasSpotPriceMax ¶ added in v0.2.6

func (o *DeviceCreateInMetroInput) HasSpotPriceMax() bool

HasSpotPriceMax returns a boolean if a field has been set.

func (*DeviceCreateInMetroInput) HasSshKeys ¶ added in v0.2.6

func (o *DeviceCreateInMetroInput) HasSshKeys() bool

HasSshKeys returns a boolean if a field has been set.

func (*DeviceCreateInMetroInput) HasTags ¶ added in v0.2.6

func (o *DeviceCreateInMetroInput) HasTags() bool

HasTags returns a boolean if a field has been set.

func (*DeviceCreateInMetroInput) HasTerminationTime ¶ added in v0.2.6

func (o *DeviceCreateInMetroInput) HasTerminationTime() bool

HasTerminationTime returns a boolean if a field has been set.

func (*DeviceCreateInMetroInput) HasUserSshKeys ¶ added in v0.2.6

func (o *DeviceCreateInMetroInput) HasUserSshKeys() bool

HasUserSshKeys returns a boolean if a field has been set.

func (*DeviceCreateInMetroInput) HasUserdata ¶ added in v0.2.6

func (o *DeviceCreateInMetroInput) HasUserdata() bool

HasUserdata returns a boolean if a field has been set.

func (DeviceCreateInMetroInput) MarshalJSON ¶ added in v0.2.6

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

func (*DeviceCreateInMetroInput) SetAlwaysPxe ¶ added in v0.2.6

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.2.6

func (o *DeviceCreateInMetroInput) SetBillingCycle(v string)

SetBillingCycle gets a reference to the given string and assigns it to the BillingCycle field.

func (*DeviceCreateInMetroInput) SetCustomdata ¶ added in v0.2.6

func (o *DeviceCreateInMetroInput) SetCustomdata(v interface{})

SetCustomdata gets a reference to the given interface{} and assigns it to the Customdata field.

func (*DeviceCreateInMetroInput) SetDescription ¶ added in v0.2.6

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.2.6

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.2.6

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.2.6

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.2.6

SetIpAddresses gets a reference to the given []CreateDeviceRequestOneOfAllOf1IpAddressesInner and assigns it to the IpAddresses field.

func (*DeviceCreateInMetroInput) SetIpxeScriptUrl ¶ added in v0.2.6

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.2.6

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.2.6

func (o *DeviceCreateInMetroInput) SetMetro(v string)

SetMetro sets field value

func (*DeviceCreateInMetroInput) SetNoSshKeys ¶ added in v0.2.6

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.2.6

func (o *DeviceCreateInMetroInput) SetOperatingSystem(v string)

SetOperatingSystem sets field value

func (*DeviceCreateInMetroInput) SetPlan ¶ added in v0.2.6

func (o *DeviceCreateInMetroInput) SetPlan(v string)

SetPlan sets field value

func (*DeviceCreateInMetroInput) SetPrivateIpv4SubnetSize ¶ added in v0.2.6

func (o *DeviceCreateInMetroInput) SetPrivateIpv4SubnetSize(v float32)

SetPrivateIpv4SubnetSize gets a reference to the given float32 and assigns it to the PrivateIpv4SubnetSize field.

func (*DeviceCreateInMetroInput) SetProjectSshKeys ¶ added in v0.2.6

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.2.6

func (o *DeviceCreateInMetroInput) SetPublicIpv4SubnetSize(v float32)

SetPublicIpv4SubnetSize gets a reference to the given float32 and assigns it to the PublicIpv4SubnetSize field.

func (*DeviceCreateInMetroInput) SetSpotInstance ¶ added in v0.2.6

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.2.6

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.2.6

SetSshKeys gets a reference to the given []CreateDeviceRequestOneOfAllOf1SshKeysInner and assigns it to the SshKeys field.

func (*DeviceCreateInMetroInput) SetTags ¶ added in v0.2.6

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.2.6

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.2.6

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.2.6

func (o *DeviceCreateInMetroInput) SetUserdata(v string)

SetUserdata gets a reference to the given string and assigns it to the Userdata field.

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"`
	// The billing cycle of the device.
	BillingCycle *string `json:"billing_cycle,omitempty"`
	// Customdata is an arbitrary JSON value that can be accessed via the metadata service.
	Customdata 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 []CreateDeviceRequestOneOfAllOf1IpAddressesInner `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"`
	// 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 *float32 `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 *float32 `json:"public_ipv4_subnet_size,omitempty"`
	SpotInstance         *bool    `json:"spot_instance,omitempty"`
	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         []CreateDeviceRequestOneOfAllOf1SshKeysInner `json:"ssh_keys,omitempty"`
	Tags            []string                                     `json:"tags,omitempty"`
	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"`
}

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() string

GetBillingCycle returns the BillingCycle field value if set, zero value otherwise.

func (*DeviceCreateInput) GetBillingCycleOk ¶

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

func (o *DeviceCreateInput) GetCustomdata() interface{}

GetCustomdata returns the Customdata field value if set, zero value otherwise (both if not set or set to explicit null).

func (*DeviceCreateInput) GetCustomdataOk ¶

func (o *DeviceCreateInput) GetCustomdataOk() (*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. NOTE: If the value is an explicit nil, `nil, true` will be returned

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 ¶

GetIpAddresses returns the IpAddresses field value if set, zero value otherwise.

func (*DeviceCreateInput) GetIpAddressesOk ¶

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) 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() float32

GetPrivateIpv4SubnetSize returns the PrivateIpv4SubnetSize field value if set, zero value otherwise.

func (*DeviceCreateInput) GetPrivateIpv4SubnetSizeOk ¶

func (o *DeviceCreateInput) GetPrivateIpv4SubnetSizeOk() (*float32, 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() float32

GetPublicIpv4SubnetSize returns the PublicIpv4SubnetSize field value if set, zero value otherwise.

func (*DeviceCreateInput) GetPublicIpv4SubnetSizeOk ¶

func (o *DeviceCreateInput) GetPublicIpv4SubnetSizeOk() (*float32, 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 ¶

GetSshKeys returns the SshKeys field value if set, zero value otherwise.

func (*DeviceCreateInput) GetSshKeysOk ¶

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) 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) 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) 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 string)

SetBillingCycle gets a reference to the given string and assigns it to the BillingCycle field.

func (*DeviceCreateInput) SetCustomdata ¶

func (o *DeviceCreateInput) SetCustomdata(v interface{})

SetCustomdata gets a reference to the given 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 ¶

SetIpAddresses gets a reference to the given []CreateDeviceRequestOneOfAllOf1IpAddressesInner 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) 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 float32)

SetPrivateIpv4SubnetSize gets a reference to the given float32 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 float32)

SetPublicIpv4SubnetSize gets a reference to the given float32 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 ¶

SetSshKeys gets a reference to the given []CreateDeviceRequestOneOfAllOf1SshKeysInner and assigns it to the SshKeys 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.

type DeviceList ¶

type DeviceList struct {
	Devices []FindDeviceById200Response      `json:"devices,omitempty"`
	Meta    *FindDeviceEvents200ResponseMeta `json:"meta,omitempty"`
}

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() []FindDeviceById200Response

GetDevices returns the Devices field value if set, zero value otherwise.

func (*DeviceList) GetDevicesOk ¶

func (o *DeviceList) GetDevicesOk() ([]FindDeviceById200Response, 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 ¶

GetMeta returns the Meta field value if set, zero value otherwise.

func (*DeviceList) GetMetaOk ¶

func (o *DeviceList) GetMetaOk() (*FindDeviceEvents200ResponseMeta, 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 []FindDeviceById200Response)

SetDevices gets a reference to the given []FindDeviceById200Response and assigns it to the Devices field.

func (*DeviceList) SetMeta ¶

SetMeta gets a reference to the given FindDeviceEvents200ResponseMeta and assigns it to the Meta field.

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"`
	IpxeScriptUrl *string                `json:"ipxe_script_url,omitempty"`
	Locked        *bool                  `json:"locked,omitempty"`
	// If true, this instance can not be converted to a different network type.
	NetworkFrozen *bool    `json:"network_frozen,omitempty"`
	SpotInstance  *bool    `json:"spot_instance,omitempty"`
	Tags          []string `json:"tags,omitempty"`
	Userdata      *string  `json:"userdata,omitempty"`
}

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) 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) 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) 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.

type DeviceUsage ¶

type DeviceUsage struct {
	Quantity *string `json:"quantity,omitempty"`
	Total    *string `json:"total,omitempty"`
	Unit     *string `json:"unit,omitempty"`
}

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.

type DeviceUsageList ¶

type DeviceUsageList struct {
	Usages []FindDeviceUsages200ResponseUsagesInner `json:"usages,omitempty"`
}

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 ¶

GetUsages returns the Usages field value if set, zero value otherwise.

func (*DeviceUsageList) GetUsagesOk ¶

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 ¶

SetUsages gets a reference to the given []FindDeviceUsages200ResponseUsagesInner and assigns it to the Usages field.

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 ¶

Execute executes the request

@return FindBgpSessionById200Response

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 ¶

Execute executes the request

@return FindDeviceById200Response

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 ¶

Execute executes the request

@return FindDeviceById200ResponseIpAddressesInner

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 ¶

Execute executes the request

@return FindBgpSessions200Response

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 ¶

Execute executes the request

@return FindDeviceById200Response

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 ¶

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 ¶

Execute executes the request

@return FindDeviceMetadataByID200Response

func (*DevicesApiService) FindDeviceUserdataByID ¶

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 ¶

Execute executes the request

@return FindDeviceUserdataByID200Response

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 FindIPAssignments200Response

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 ¶

Execute executes the request

@return FindOrganizationDevices200Response

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 ¶

Execute executes the request

@return FindOrganizationDevices200Response

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 GetBgpNeighborData200Response

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 ¶

Execute executes the request

@return FindDeviceById200Response

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"`
}

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.

type EmailInput ¶

type EmailInput struct {
	Address string `json:"address"`
	Default *bool  `json:"default,omitempty"`
}

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.

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 ¶

Execute executes the request

@return CreateEmail201Response

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 ¶

Execute executes the request

@return CreateEmail201Response

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 ¶

Execute executes the request

@return CreateEmail201Response

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"`
}

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

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"`
}

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.

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 []FindBatchById200ResponseDevicesInner `json:"relationships,omitempty"`
	State         *string                                `json:"state,omitempty"`
	Type          *string                                `json:"type,omitempty"`
}

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

func (o *Event) GetRelationships() []FindBatchById200ResponseDevicesInner

GetRelationships returns the Relationships field value if set, zero value otherwise.

func (*Event) GetRelationshipsOk ¶

func (o *Event) GetRelationshipsOk() ([]FindBatchById200ResponseDevicesInner, 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) 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) SetRelationships ¶

func (o *Event) SetRelationships(v []FindBatchById200ResponseDevicesInner)

SetRelationships gets a reference to the given []FindBatchById200ResponseDevicesInner 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.

type EventList ¶

type EventList struct {
	Events []FindInterconnectionEvents200Response `json:"events,omitempty"`
	Meta   *FindDeviceEvents200ResponseMeta       `json:"meta,omitempty"`
}

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 ¶

GetEvents returns the Events field value if set, zero value otherwise.

func (*EventList) GetEventsOk ¶

func (o *EventList) GetEventsOk() ([]FindInterconnectionEvents200Response, 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 ¶

GetMeta returns the Meta field value if set, zero value otherwise.

func (*EventList) GetMetaOk ¶

func (o *EventList) GetMetaOk() (*FindDeviceEvents200ResponseMeta, 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 ¶

SetEvents gets a reference to the given []FindInterconnectionEvents200Response and assigns it to the Events field.

func (*EventList) SetMeta ¶

SetMeta gets a reference to the given FindDeviceEvents200ResponseMeta and assigns it to the Meta field.

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 ¶

Execute executes the request

@return FindDeviceEvents200Response

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 ¶

Execute executes the request

@return FindInterconnectionEvents200Response

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 ¶

Execute executes the request

@return FindDeviceEvents200Response

func (*EventsApiService) FindInterconnectionEvents ¶

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 ¶

Execute executes the request

@return FindInterconnectionEvents200Response

func (*EventsApiService) FindInterconnectionPortEvents ¶

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 ¶

Execute executes the request

@return FindInterconnectionEvents200Response

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 ¶

Execute executes the request

@return FindDeviceEvents200Response

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 ¶

Execute executes the request

@return FindDeviceEvents200Response

func (*EventsApiService) FindVirtualCircuitEvents ¶

func (a *EventsApiService) FindVirtualCircuitEvents(ctx context.Context, id string) ApiFindVirtualCircuitEventsRequest

FindVirtualCircuitEvents Retrieve interconnection 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 ¶

Execute executes the request

@return FindInterconnectionEvents200Response

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"`
	// Either primary or secondary, depending on which interconnection the service token is associated to.
	Role *string `json:"role,omitempty"`
	// Either 'a_side' or 'z_side', depending on which type of Fabric VC was requested.
	ServiceTokenType *string `json:"service_token_type,omitempty"`
	// 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.
	State *string `json:"state,omitempty"`
}

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 ¶

func (o *FabricServiceToken) GetRole() string

GetRole returns the Role field value if set, zero value otherwise.

func (*FabricServiceToken) GetRoleOk ¶

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

func (o *FabricServiceToken) GetServiceTokenType() string

GetServiceTokenType returns the ServiceTokenType field value if set, zero value otherwise.

func (*FabricServiceToken) GetServiceTokenTypeOk ¶

func (o *FabricServiceToken) GetServiceTokenTypeOk() (*string, 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 ¶

func (o *FabricServiceToken) GetState() string

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

func (*FabricServiceToken) GetStateOk ¶

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

func (o *FabricServiceToken) SetRole(v string)

SetRole gets a reference to the given string and assigns it to the Role field.

func (*FabricServiceToken) SetServiceTokenType ¶

func (o *FabricServiceToken) SetServiceTokenType(v string)

SetServiceTokenType gets a reference to the given string and assigns it to the ServiceTokenType field.

func (*FabricServiceToken) SetState ¶

func (o *FabricServiceToken) SetState(v string)

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

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

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

func (*FacilitiesApiService) FindFacilitiesByOrganizationExecute ¶

Execute executes the request

@return FindFacilities200Response

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

func (*FacilitiesApiService) FindFacilitiesByProjectExecute ¶

Execute executes the request

@return FindFacilities200Response

func (*FacilitiesApiService) FindFacilitiesExecute ¶

Execute executes the request

@return FindFacilities200Response

type Facility ¶

type Facility struct {
	Address  *FindDeviceById200ResponseFacilityAddress `json:"address,omitempty"`
	Code     *string                                   `json:"code,omitempty"`
	Features []string                                  `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    *FindDeviceById200ResponseFacilityMetro `json:"metro,omitempty"`
	Name     *string                                 `json:"name,omitempty"`
}

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 ¶

GetAddress returns the Address field value if set, zero value otherwise.

func (*Facility) GetAddressOk ¶

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() []string

GetFeatures returns the Features field value if set, zero value otherwise.

func (*Facility) GetFeaturesOk ¶

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

GetMetro returns the Metro field value if set, zero value otherwise.

func (*Facility) GetMetroOk ¶

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 ¶

SetAddress gets a reference to the given FindDeviceById200ResponseFacilityAddress 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 []string)

SetFeatures gets a reference to the given []string 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 ¶

SetMetro gets a reference to the given FindDeviceById200ResponseFacilityMetro 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.

type FacilityList ¶

type FacilityList struct {
	Facilities []FindDeviceById200ResponseFacility `json:"facilities,omitempty"`
}

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() []FindDeviceById200ResponseFacility

GetFacilities returns the Facilities field value if set, zero value otherwise.

func (*FacilityList) GetFacilitiesOk ¶

func (o *FacilityList) GetFacilitiesOk() ([]FindDeviceById200ResponseFacility, 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 []FindDeviceById200ResponseFacility)

SetFacilities gets a reference to the given []FindDeviceById200ResponseFacility and assigns it to the Facilities field.

type FindBatchById200Response ¶

type FindBatchById200Response struct {
	CreatedAt     *time.Time                             `json:"created_at,omitempty"`
	Devices       []FindBatchById200ResponseDevicesInner `json:"devices,omitempty"`
	ErrorMessages []string                               `json:"error_messages,omitempty"`
	Id            *string                                `json:"id,omitempty"`
	Project       *FindBatchById200ResponseDevicesInner  `json:"project,omitempty"`
	Quantity      *int32                                 `json:"quantity,omitempty"`
	State         *string                                `json:"state,omitempty"`
	UpdatedAt     *time.Time                             `json:"updated_at,omitempty"`
}

FindBatchById200Response struct for FindBatchById200Response

func NewFindBatchById200Response ¶

func NewFindBatchById200Response() *FindBatchById200Response

NewFindBatchById200Response instantiates a new FindBatchById200Response 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 NewFindBatchById200ResponseWithDefaults ¶

func NewFindBatchById200ResponseWithDefaults() *FindBatchById200Response

NewFindBatchById200ResponseWithDefaults instantiates a new FindBatchById200Response 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 (*FindBatchById200Response) GetCreatedAt ¶

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

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

func (*FindBatchById200Response) GetCreatedAtOk ¶

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

GetDevices returns the Devices field value if set, zero value otherwise.

func (*FindBatchById200Response) GetDevicesOk ¶

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 (*FindBatchById200Response) GetErrorMessages ¶

func (o *FindBatchById200Response) GetErrorMessages() []string

GetErrorMessages returns the ErrorMessages field value if set, zero value otherwise.

func (*FindBatchById200Response) GetErrorMessagesOk ¶

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

func (o *FindBatchById200Response) GetId() string

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

func (*FindBatchById200Response) GetIdOk ¶

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

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

func (*FindBatchById200Response) GetProjectOk ¶

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 (*FindBatchById200Response) GetQuantity ¶

func (o *FindBatchById200Response) GetQuantity() int32

GetQuantity returns the Quantity field value if set, zero value otherwise.

func (*FindBatchById200Response) GetQuantityOk ¶

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

func (o *FindBatchById200Response) GetState() string

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

func (*FindBatchById200Response) GetStateOk ¶

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

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

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

func (*FindBatchById200Response) GetUpdatedAtOk ¶

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

func (o *FindBatchById200Response) HasCreatedAt() bool

HasCreatedAt returns a boolean if a field has been set.

func (*FindBatchById200Response) HasDevices ¶

func (o *FindBatchById200Response) HasDevices() bool

HasDevices returns a boolean if a field has been set.

func (*FindBatchById200Response) HasErrorMessages ¶

func (o *FindBatchById200Response) HasErrorMessages() bool

HasErrorMessages returns a boolean if a field has been set.

func (*FindBatchById200Response) HasId ¶

func (o *FindBatchById200Response) HasId() bool

HasId returns a boolean if a field has been set.

func (*FindBatchById200Response) HasProject ¶

func (o *FindBatchById200Response) HasProject() bool

HasProject returns a boolean if a field has been set.

func (*FindBatchById200Response) HasQuantity ¶

func (o *FindBatchById200Response) HasQuantity() bool

HasQuantity returns a boolean if a field has been set.

func (*FindBatchById200Response) HasState ¶

func (o *FindBatchById200Response) HasState() bool

HasState returns a boolean if a field has been set.

func (*FindBatchById200Response) HasUpdatedAt ¶

func (o *FindBatchById200Response) HasUpdatedAt() bool

HasUpdatedAt returns a boolean if a field has been set.

func (FindBatchById200Response) MarshalJSON ¶

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

func (*FindBatchById200Response) SetCreatedAt ¶

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

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

func (*FindBatchById200Response) SetDevices ¶

SetDevices gets a reference to the given []FindBatchById200ResponseDevicesInner and assigns it to the Devices field.

func (*FindBatchById200Response) SetErrorMessages ¶

func (o *FindBatchById200Response) SetErrorMessages(v []string)

SetErrorMessages gets a reference to the given []string and assigns it to the ErrorMessages field.

func (*FindBatchById200Response) SetId ¶

func (o *FindBatchById200Response) SetId(v string)

SetId gets a reference to the given string and assigns it to the Id field.

func (*FindBatchById200Response) SetProject ¶

SetProject gets a reference to the given FindBatchById200ResponseDevicesInner and assigns it to the Project field.

func (*FindBatchById200Response) SetQuantity ¶

func (o *FindBatchById200Response) SetQuantity(v int32)

SetQuantity gets a reference to the given int32 and assigns it to the Quantity field.

func (*FindBatchById200Response) SetState ¶

func (o *FindBatchById200Response) SetState(v string)

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

func (*FindBatchById200Response) SetUpdatedAt ¶

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

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

type FindBatchById200ResponseDevicesInner ¶

type FindBatchById200ResponseDevicesInner struct {
	Href string `json:"href"`
}

FindBatchById200ResponseDevicesInner struct for FindBatchById200ResponseDevicesInner

func NewFindBatchById200ResponseDevicesInner ¶

func NewFindBatchById200ResponseDevicesInner(href string) *FindBatchById200ResponseDevicesInner

NewFindBatchById200ResponseDevicesInner instantiates a new FindBatchById200ResponseDevicesInner 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 NewFindBatchById200ResponseDevicesInnerWithDefaults ¶

func NewFindBatchById200ResponseDevicesInnerWithDefaults() *FindBatchById200ResponseDevicesInner

NewFindBatchById200ResponseDevicesInnerWithDefaults instantiates a new FindBatchById200ResponseDevicesInner 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 (*FindBatchById200ResponseDevicesInner) GetHref ¶

GetHref returns the Href field value

func (*FindBatchById200ResponseDevicesInner) GetHrefOk ¶

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

func (FindBatchById200ResponseDevicesInner) MarshalJSON ¶

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

func (*FindBatchById200ResponseDevicesInner) SetHref ¶

SetHref sets field value

type FindBatchesByProject200Response ¶

type FindBatchesByProject200Response struct {
	Batches []FindBatchById200Response `json:"batches,omitempty"`
}

FindBatchesByProject200Response struct for FindBatchesByProject200Response

func NewFindBatchesByProject200Response ¶

func NewFindBatchesByProject200Response() *FindBatchesByProject200Response

NewFindBatchesByProject200Response instantiates a new FindBatchesByProject200Response 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 NewFindBatchesByProject200ResponseWithDefaults ¶

func NewFindBatchesByProject200ResponseWithDefaults() *FindBatchesByProject200Response

NewFindBatchesByProject200ResponseWithDefaults instantiates a new FindBatchesByProject200Response 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 (*FindBatchesByProject200Response) GetBatches ¶

GetBatches returns the Batches field value if set, zero value otherwise.

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

func (o *FindBatchesByProject200Response) HasBatches() bool

HasBatches returns a boolean if a field has been set.

func (FindBatchesByProject200Response) MarshalJSON ¶

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

func (*FindBatchesByProject200Response) SetBatches ¶

SetBatches gets a reference to the given []FindBatchById200Response and assigns it to the Batches field.

type FindBgpConfigByProject200Response ¶

type FindBgpConfigByProject200Response 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"`
	// 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.
	DeploymentType *string `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 *FindBatchById200ResponseDevicesInner `json:"project,omitempty"`
	// The IP block ranges associated to the ASN (Populated in Global BGP only)
	Ranges      []FindBgpConfigByProject200ResponseRangesInner `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 []FindBgpSessionById200Response `json:"sessions,omitempty"`
	// Status of the BGP Config. Status \"requested\" is valid only with the \"global\" deployment_type.
	Status *string `json:"status,omitempty"`
}

FindBgpConfigByProject200Response struct for FindBgpConfigByProject200Response

func NewFindBgpConfigByProject200Response ¶

func NewFindBgpConfigByProject200Response() *FindBgpConfigByProject200Response

NewFindBgpConfigByProject200Response instantiates a new FindBgpConfigByProject200Response 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 NewFindBgpConfigByProject200ResponseWithDefaults ¶

func NewFindBgpConfigByProject200ResponseWithDefaults() *FindBgpConfigByProject200Response

NewFindBgpConfigByProject200ResponseWithDefaults instantiates a new FindBgpConfigByProject200Response 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 (*FindBgpConfigByProject200Response) GetAsn ¶

GetAsn returns the Asn field value if set, zero value otherwise.

func (*FindBgpConfigByProject200Response) GetAsnOk ¶

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

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

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

func (*FindBgpConfigByProject200Response) GetCreatedAtOk ¶

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

func (o *FindBgpConfigByProject200Response) GetDeploymentType() string

GetDeploymentType returns the DeploymentType field value if set, zero value otherwise.

func (*FindBgpConfigByProject200Response) GetDeploymentTypeOk ¶

func (o *FindBgpConfigByProject200Response) GetDeploymentTypeOk() (*string, 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 (*FindBgpConfigByProject200Response) GetHref ¶

GetHref returns the Href field value if set, zero value otherwise.

func (*FindBgpConfigByProject200Response) GetHrefOk ¶

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

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

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

func (o *FindBgpConfigByProject200Response) GetMaxPrefix() int32

GetMaxPrefix returns the MaxPrefix field value if set, zero value otherwise.

func (*FindBgpConfigByProject200Response) GetMaxPrefixOk ¶

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

GetMd5 returns the Md5 field value if set, zero value otherwise (both if not set or set to explicit null).

func (*FindBgpConfigByProject200Response) GetMd5Ok ¶

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

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

func (*FindBgpConfigByProject200Response) GetProjectOk ¶

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 (*FindBgpConfigByProject200Response) GetRanges ¶

GetRanges returns the Ranges field value if set, zero value otherwise.

func (*FindBgpConfigByProject200Response) GetRangesOk ¶

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 (*FindBgpConfigByProject200Response) GetRequestedAt ¶

func (o *FindBgpConfigByProject200Response) GetRequestedAt() time.Time

GetRequestedAt returns the RequestedAt field value if set, zero value otherwise.

func (*FindBgpConfigByProject200Response) GetRequestedAtOk ¶

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

func (o *FindBgpConfigByProject200Response) GetRouteObject() string

GetRouteObject returns the RouteObject field value if set, zero value otherwise.

func (*FindBgpConfigByProject200Response) GetRouteObjectOk ¶

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

GetSessions returns the Sessions field value if set, zero value otherwise.

func (*FindBgpConfigByProject200Response) GetSessionsOk ¶

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 (*FindBgpConfigByProject200Response) GetStatus ¶

GetStatus returns the Status field value if set, zero value otherwise.

func (*FindBgpConfigByProject200Response) GetStatusOk ¶

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

HasAsn returns a boolean if a field has been set.

func (*FindBgpConfigByProject200Response) HasCreatedAt ¶

func (o *FindBgpConfigByProject200Response) HasCreatedAt() bool

HasCreatedAt returns a boolean if a field has been set.

func (*FindBgpConfigByProject200Response) HasDeploymentType ¶

func (o *FindBgpConfigByProject200Response) HasDeploymentType() bool

HasDeploymentType returns a boolean if a field has been set.

func (*FindBgpConfigByProject200Response) HasHref ¶

HasHref returns a boolean if a field has been set.

func (*FindBgpConfigByProject200Response) HasId ¶

HasId returns a boolean if a field has been set.

func (*FindBgpConfigByProject200Response) HasMaxPrefix ¶

func (o *FindBgpConfigByProject200Response) HasMaxPrefix() bool

HasMaxPrefix returns a boolean if a field has been set.

func (*FindBgpConfigByProject200Response) HasMd5 ¶

HasMd5 returns a boolean if a field has been set.

func (*FindBgpConfigByProject200Response) HasProject ¶

func (o *FindBgpConfigByProject200Response) HasProject() bool

HasProject returns a boolean if a field has been set.

func (*FindBgpConfigByProject200Response) HasRanges ¶

func (o *FindBgpConfigByProject200Response) HasRanges() bool

HasRanges returns a boolean if a field has been set.

func (*FindBgpConfigByProject200Response) HasRequestedAt ¶

func (o *FindBgpConfigByProject200Response) HasRequestedAt() bool

HasRequestedAt returns a boolean if a field has been set.

func (*FindBgpConfigByProject200Response) HasRouteObject ¶

func (o *FindBgpConfigByProject200Response) HasRouteObject() bool

HasRouteObject returns a boolean if a field has been set.

func (*FindBgpConfigByProject200Response) HasSessions ¶

func (o *FindBgpConfigByProject200Response) HasSessions() bool

HasSessions returns a boolean if a field has been set.

func (*FindBgpConfigByProject200Response) HasStatus ¶

func (o *FindBgpConfigByProject200Response) HasStatus() bool

HasStatus returns a boolean if a field has been set.

func (FindBgpConfigByProject200Response) MarshalJSON ¶

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

func (*FindBgpConfigByProject200Response) SetAsn ¶

SetAsn gets a reference to the given int32 and assigns it to the Asn field.

func (*FindBgpConfigByProject200Response) SetCreatedAt ¶

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

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

func (*FindBgpConfigByProject200Response) SetDeploymentType ¶

func (o *FindBgpConfigByProject200Response) SetDeploymentType(v string)

SetDeploymentType gets a reference to the given string and assigns it to the DeploymentType field.

func (*FindBgpConfigByProject200Response) SetHref ¶

SetHref gets a reference to the given string and assigns it to the Href field.

func (*FindBgpConfigByProject200Response) SetId ¶

SetId gets a reference to the given string and assigns it to the Id field.

func (*FindBgpConfigByProject200Response) SetMaxPrefix ¶

func (o *FindBgpConfigByProject200Response) SetMaxPrefix(v int32)

SetMaxPrefix gets a reference to the given int32 and assigns it to the MaxPrefix field.

func (*FindBgpConfigByProject200Response) SetMd5 ¶

SetMd5 gets a reference to the given NullableString and assigns it to the Md5 field.

func (*FindBgpConfigByProject200Response) SetMd5Nil ¶

func (o *FindBgpConfigByProject200Response) SetMd5Nil()

SetMd5Nil sets the value for Md5 to be an explicit nil

func (*FindBgpConfigByProject200Response) SetProject ¶

SetProject gets a reference to the given FindBatchById200ResponseDevicesInner and assigns it to the Project field.

func (*FindBgpConfigByProject200Response) SetRanges ¶

SetRanges gets a reference to the given []FindBgpConfigByProject200ResponseRangesInner and assigns it to the Ranges field.

func (*FindBgpConfigByProject200Response) SetRequestedAt ¶

func (o *FindBgpConfigByProject200Response) SetRequestedAt(v time.Time)

SetRequestedAt gets a reference to the given time.Time and assigns it to the RequestedAt field.

func (*FindBgpConfigByProject200Response) SetRouteObject ¶

func (o *FindBgpConfigByProject200Response) SetRouteObject(v string)

SetRouteObject gets a reference to the given string and assigns it to the RouteObject field.

func (*FindBgpConfigByProject200Response) SetSessions ¶

SetSessions gets a reference to the given []FindBgpSessionById200Response and assigns it to the Sessions field.

func (*FindBgpConfigByProject200Response) SetStatus ¶

func (o *FindBgpConfigByProject200Response) SetStatus(v string)

SetStatus gets a reference to the given string and assigns it to the Status field.

func (*FindBgpConfigByProject200Response) UnsetMd5 ¶

func (o *FindBgpConfigByProject200Response) UnsetMd5()

UnsetMd5 ensures that no value is present for Md5, not even an explicit nil

type FindBgpConfigByProject200ResponseRangesInner ¶

type FindBgpConfigByProject200ResponseRangesInner struct {
	AddressFamily *int32                                `json:"address_family,omitempty"`
	Href          *string                               `json:"href,omitempty"`
	Id            *string                               `json:"id,omitempty"`
	Project       *FindBatchById200ResponseDevicesInner `json:"project,omitempty"`
	Range         *string                               `json:"range,omitempty"`
}

FindBgpConfigByProject200ResponseRangesInner struct for FindBgpConfigByProject200ResponseRangesInner

func NewFindBgpConfigByProject200ResponseRangesInner ¶

func NewFindBgpConfigByProject200ResponseRangesInner() *FindBgpConfigByProject200ResponseRangesInner

NewFindBgpConfigByProject200ResponseRangesInner instantiates a new FindBgpConfigByProject200ResponseRangesInner 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 NewFindBgpConfigByProject200ResponseRangesInnerWithDefaults ¶

func NewFindBgpConfigByProject200ResponseRangesInnerWithDefaults() *FindBgpConfigByProject200ResponseRangesInner

NewFindBgpConfigByProject200ResponseRangesInnerWithDefaults instantiates a new FindBgpConfigByProject200ResponseRangesInner 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 (*FindBgpConfigByProject200ResponseRangesInner) GetAddressFamily ¶

GetAddressFamily returns the AddressFamily field value if set, zero value otherwise.

func (*FindBgpConfigByProject200ResponseRangesInner) GetAddressFamilyOk ¶

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

GetHref returns the Href field value if set, zero value otherwise.

func (*FindBgpConfigByProject200ResponseRangesInner) GetHrefOk ¶

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 (*FindBgpConfigByProject200ResponseRangesInner) GetId ¶

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

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

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

func (*FindBgpConfigByProject200ResponseRangesInner) GetProjectOk ¶

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 (*FindBgpConfigByProject200ResponseRangesInner) GetRange ¶

GetRange returns the Range field value if set, zero value otherwise.

func (*FindBgpConfigByProject200ResponseRangesInner) GetRangeOk ¶

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 (*FindBgpConfigByProject200ResponseRangesInner) HasAddressFamily ¶

func (o *FindBgpConfigByProject200ResponseRangesInner) HasAddressFamily() bool

HasAddressFamily returns a boolean if a field has been set.

func (*FindBgpConfigByProject200ResponseRangesInner) HasHref ¶

HasHref returns a boolean if a field has been set.

func (*FindBgpConfigByProject200ResponseRangesInner) HasId ¶

HasId returns a boolean if a field has been set.

func (*FindBgpConfigByProject200ResponseRangesInner) HasProject ¶

HasProject returns a boolean if a field has been set.

func (*FindBgpConfigByProject200ResponseRangesInner) HasRange ¶

HasRange returns a boolean if a field has been set.

func (FindBgpConfigByProject200ResponseRangesInner) MarshalJSON ¶

func (*FindBgpConfigByProject200ResponseRangesInner) SetAddressFamily ¶

func (o *FindBgpConfigByProject200ResponseRangesInner) SetAddressFamily(v int32)

SetAddressFamily gets a reference to the given int32 and assigns it to the AddressFamily field.

func (*FindBgpConfigByProject200ResponseRangesInner) SetHref ¶

SetHref gets a reference to the given string and assigns it to the Href field.

func (*FindBgpConfigByProject200ResponseRangesInner) SetId ¶

SetId gets a reference to the given string and assigns it to the Id field.

func (*FindBgpConfigByProject200ResponseRangesInner) SetProject ¶

SetProject gets a reference to the given FindBatchById200ResponseDevicesInner and assigns it to the Project field.

func (*FindBgpConfigByProject200ResponseRangesInner) SetRange ¶

SetRange gets a reference to the given string and assigns it to the Range field.

type FindBgpSessionById200Response ¶

type FindBgpSessionById200Response struct {
	AddressFamily string                                `json:"address_family"`
	CreatedAt     *time.Time                            `json:"created_at,omitempty"`
	DefaultRoute  *bool                                 `json:"default_route,omitempty"`
	Device        *FindBatchById200ResponseDevicesInner `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"`
}

FindBgpSessionById200Response struct for FindBgpSessionById200Response

func NewFindBgpSessionById200Response ¶

func NewFindBgpSessionById200Response(addressFamily string) *FindBgpSessionById200Response

NewFindBgpSessionById200Response instantiates a new FindBgpSessionById200Response 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 NewFindBgpSessionById200ResponseWithDefaults ¶

func NewFindBgpSessionById200ResponseWithDefaults() *FindBgpSessionById200Response

NewFindBgpSessionById200ResponseWithDefaults instantiates a new FindBgpSessionById200Response 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 (*FindBgpSessionById200Response) GetAddressFamily ¶

func (o *FindBgpSessionById200Response) GetAddressFamily() string

GetAddressFamily returns the AddressFamily field value

func (*FindBgpSessionById200Response) GetAddressFamilyOk ¶

func (o *FindBgpSessionById200Response) GetAddressFamilyOk() (*string, bool)

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

func (*FindBgpSessionById200Response) GetCreatedAt ¶

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

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

func (*FindBgpSessionById200Response) GetCreatedAtOk ¶

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

func (o *FindBgpSessionById200Response) GetDefaultRoute() bool

GetDefaultRoute returns the DefaultRoute field value if set, zero value otherwise.

func (*FindBgpSessionById200Response) GetDefaultRouteOk ¶

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

GetDevice returns the Device field value if set, zero value otherwise.

func (*FindBgpSessionById200Response) GetDeviceOk ¶

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 (*FindBgpSessionById200Response) GetHref ¶

GetHref returns the Href field value if set, zero value otherwise.

func (*FindBgpSessionById200Response) GetHrefOk ¶

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

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

func (*FindBgpSessionById200Response) GetIdOk ¶

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

func (o *FindBgpSessionById200Response) GetLearnedRoutes() []string

GetLearnedRoutes returns the LearnedRoutes field value if set, zero value otherwise.

func (*FindBgpSessionById200Response) GetLearnedRoutesOk ¶

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

func (o *FindBgpSessionById200Response) GetStatus() string

GetStatus returns the Status field value if set, zero value otherwise.

func (*FindBgpSessionById200Response) GetStatusOk ¶

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

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

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

func (*FindBgpSessionById200Response) GetUpdatedAtOk ¶

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

func (o *FindBgpSessionById200Response) HasCreatedAt() bool

HasCreatedAt returns a boolean if a field has been set.

func (*FindBgpSessionById200Response) HasDefaultRoute ¶

func (o *FindBgpSessionById200Response) HasDefaultRoute() bool

HasDefaultRoute returns a boolean if a field has been set.

func (*FindBgpSessionById200Response) HasDevice ¶

func (o *FindBgpSessionById200Response) HasDevice() bool

HasDevice returns a boolean if a field has been set.

func (*FindBgpSessionById200Response) HasHref ¶

func (o *FindBgpSessionById200Response) HasHref() bool

HasHref returns a boolean if a field has been set.

func (*FindBgpSessionById200Response) HasId ¶

HasId returns a boolean if a field has been set.

func (*FindBgpSessionById200Response) HasLearnedRoutes ¶

func (o *FindBgpSessionById200Response) HasLearnedRoutes() bool

HasLearnedRoutes returns a boolean if a field has been set.

func (*FindBgpSessionById200Response) HasStatus ¶

func (o *FindBgpSessionById200Response) HasStatus() bool

HasStatus returns a boolean if a field has been set.

func (*FindBgpSessionById200Response) HasUpdatedAt ¶

func (o *FindBgpSessionById200Response) HasUpdatedAt() bool

HasUpdatedAt returns a boolean if a field has been set.

func (FindBgpSessionById200Response) MarshalJSON ¶

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

func (*FindBgpSessionById200Response) SetAddressFamily ¶

func (o *FindBgpSessionById200Response) SetAddressFamily(v string)

SetAddressFamily sets field value

func (*FindBgpSessionById200Response) SetCreatedAt ¶

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

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

func (*FindBgpSessionById200Response) SetDefaultRoute ¶

func (o *FindBgpSessionById200Response) SetDefaultRoute(v bool)

SetDefaultRoute gets a reference to the given bool and assigns it to the DefaultRoute field.

func (*FindBgpSessionById200Response) SetDevice ¶

SetDevice gets a reference to the given FindBatchById200ResponseDevicesInner and assigns it to the Device field.

func (*FindBgpSessionById200Response) SetHref ¶

func (o *FindBgpSessionById200Response) SetHref(v string)

SetHref gets a reference to the given string and assigns it to the Href field.

func (*FindBgpSessionById200Response) SetId ¶

SetId gets a reference to the given string and assigns it to the Id field.

func (*FindBgpSessionById200Response) SetLearnedRoutes ¶

func (o *FindBgpSessionById200Response) SetLearnedRoutes(v []string)

SetLearnedRoutes gets a reference to the given []string and assigns it to the LearnedRoutes field.

func (*FindBgpSessionById200Response) SetStatus ¶

func (o *FindBgpSessionById200Response) SetStatus(v string)

SetStatus gets a reference to the given string and assigns it to the Status field.

func (*FindBgpSessionById200Response) SetUpdatedAt ¶

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

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

type FindBgpSessions200Response ¶

type FindBgpSessions200Response struct {
	BgpSessions []FindBgpSessionById200Response `json:"bgp_sessions,omitempty"`
}

FindBgpSessions200Response struct for FindBgpSessions200Response

func NewFindBgpSessions200Response ¶

func NewFindBgpSessions200Response() *FindBgpSessions200Response

NewFindBgpSessions200Response instantiates a new FindBgpSessions200Response 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 NewFindBgpSessions200ResponseWithDefaults ¶

func NewFindBgpSessions200ResponseWithDefaults() *FindBgpSessions200Response

NewFindBgpSessions200ResponseWithDefaults instantiates a new FindBgpSessions200Response 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 (*FindBgpSessions200Response) GetBgpSessions ¶

GetBgpSessions returns the BgpSessions field value if set, zero value otherwise.

func (*FindBgpSessions200Response) GetBgpSessionsOk ¶

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 (*FindBgpSessions200Response) HasBgpSessions ¶

func (o *FindBgpSessions200Response) HasBgpSessions() bool

HasBgpSessions returns a boolean if a field has been set.

func (FindBgpSessions200Response) MarshalJSON ¶

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

func (*FindBgpSessions200Response) SetBgpSessions ¶

SetBgpSessions gets a reference to the given []FindBgpSessionById200Response and assigns it to the BgpSessions field.

type FindCapacityForFacility200Response ¶

type FindCapacityForFacility200Response struct {
	Capacity *FindCapacityForFacility200ResponseCapacity `json:"capacity,omitempty"`
}

FindCapacityForFacility200Response struct for FindCapacityForFacility200Response

func NewFindCapacityForFacility200Response ¶

func NewFindCapacityForFacility200Response() *FindCapacityForFacility200Response

NewFindCapacityForFacility200Response instantiates a new FindCapacityForFacility200Response 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 NewFindCapacityForFacility200ResponseWithDefaults ¶

func NewFindCapacityForFacility200ResponseWithDefaults() *FindCapacityForFacility200Response

NewFindCapacityForFacility200ResponseWithDefaults instantiates a new FindCapacityForFacility200Response 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 (*FindCapacityForFacility200Response) GetCapacity ¶

GetCapacity returns the Capacity field value if set, zero value otherwise.

func (*FindCapacityForFacility200Response) GetCapacityOk ¶

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 (*FindCapacityForFacility200Response) HasCapacity ¶

func (o *FindCapacityForFacility200Response) HasCapacity() bool

HasCapacity returns a boolean if a field has been set.

func (FindCapacityForFacility200Response) MarshalJSON ¶

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

func (*FindCapacityForFacility200Response) SetCapacity ¶

SetCapacity gets a reference to the given FindCapacityForFacility200ResponseCapacity and assigns it to the Capacity field.

type FindCapacityForFacility200ResponseCapacity ¶

type FindCapacityForFacility200ResponseCapacity struct {
	Ams1 *FindCapacityForFacility200ResponseCapacityAms1 `json:"ams1,omitempty"`
	Atl1 *FindCapacityForFacility200ResponseCapacityAtl1 `json:"atl1,omitempty"`
	Dfw1 *FindCapacityForFacility200ResponseCapacityAtl1 `json:"dfw1,omitempty"`
	Ewr1 *FindCapacityForFacility200ResponseCapacityAms1 `json:"ewr1,omitempty"`
	Fra1 *FindCapacityForFacility200ResponseCapacityAtl1 `json:"fra1,omitempty"`
	Iad1 *FindCapacityForFacility200ResponseCapacityAtl1 `json:"iad1,omitempty"`
	Lax1 *FindCapacityForFacility200ResponseCapacityAtl1 `json:"lax1,omitempty"`
	Nrt1 *FindCapacityForFacility200ResponseCapacityAms1 `json:"nrt1,omitempty"`
	Ord1 *FindCapacityForFacility200ResponseCapacityAtl1 `json:"ord1,omitempty"`
	Sea1 *FindCapacityForFacility200ResponseCapacityAtl1 `json:"sea1,omitempty"`
	Sin1 *FindCapacityForFacility200ResponseCapacityAtl1 `json:"sin1,omitempty"`
	Sjc1 *FindCapacityForFacility200ResponseCapacityAms1 `json:"sjc1,omitempty"`
	Syd1 *FindCapacityForFacility200ResponseCapacityAtl1 `json:"syd1,omitempty"`
	Yyz1 *FindCapacityForFacility200ResponseCapacityAtl1 `json:"yyz1,omitempty"`
}

FindCapacityForFacility200ResponseCapacity struct for FindCapacityForFacility200ResponseCapacity

func NewFindCapacityForFacility200ResponseCapacity ¶

func NewFindCapacityForFacility200ResponseCapacity() *FindCapacityForFacility200ResponseCapacity

NewFindCapacityForFacility200ResponseCapacity instantiates a new FindCapacityForFacility200ResponseCapacity 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 NewFindCapacityForFacility200ResponseCapacityWithDefaults ¶

func NewFindCapacityForFacility200ResponseCapacityWithDefaults() *FindCapacityForFacility200ResponseCapacity

NewFindCapacityForFacility200ResponseCapacityWithDefaults instantiates a new FindCapacityForFacility200ResponseCapacity 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 (*FindCapacityForFacility200ResponseCapacity) GetAms1 ¶

GetAms1 returns the Ams1 field value if set, zero value otherwise.

func (*FindCapacityForFacility200ResponseCapacity) GetAms1Ok ¶

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 (*FindCapacityForFacility200ResponseCapacity) GetAtl1 ¶

GetAtl1 returns the Atl1 field value if set, zero value otherwise.

func (*FindCapacityForFacility200ResponseCapacity) GetAtl1Ok ¶

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 (*FindCapacityForFacility200ResponseCapacity) GetDfw1 ¶

GetDfw1 returns the Dfw1 field value if set, zero value otherwise.

func (*FindCapacityForFacility200ResponseCapacity) GetDfw1Ok ¶

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 (*FindCapacityForFacility200ResponseCapacity) GetEwr1 ¶

GetEwr1 returns the Ewr1 field value if set, zero value otherwise.

func (*FindCapacityForFacility200ResponseCapacity) GetEwr1Ok ¶

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 (*FindCapacityForFacility200ResponseCapacity) GetFra1 ¶

GetFra1 returns the Fra1 field value if set, zero value otherwise.

func (*FindCapacityForFacility200ResponseCapacity) GetFra1Ok ¶

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 (*FindCapacityForFacility200ResponseCapacity) GetIad1 ¶

GetIad1 returns the Iad1 field value if set, zero value otherwise.

func (*FindCapacityForFacility200ResponseCapacity) GetIad1Ok ¶

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 (*FindCapacityForFacility200ResponseCapacity) GetLax1 ¶

GetLax1 returns the Lax1 field value if set, zero value otherwise.

func (*FindCapacityForFacility200ResponseCapacity) GetLax1Ok ¶

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 (*FindCapacityForFacility200ResponseCapacity) GetNrt1 ¶

GetNrt1 returns the Nrt1 field value if set, zero value otherwise.

func (*FindCapacityForFacility200ResponseCapacity) GetNrt1Ok ¶

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 (*FindCapacityForFacility200ResponseCapacity) GetOrd1 ¶

GetOrd1 returns the Ord1 field value if set, zero value otherwise.

func (*FindCapacityForFacility200ResponseCapacity) GetOrd1Ok ¶

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 (*FindCapacityForFacility200ResponseCapacity) GetSea1 ¶

GetSea1 returns the Sea1 field value if set, zero value otherwise.

func (*FindCapacityForFacility200ResponseCapacity) GetSea1Ok ¶

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 (*FindCapacityForFacility200ResponseCapacity) GetSin1 ¶

GetSin1 returns the Sin1 field value if set, zero value otherwise.

func (*FindCapacityForFacility200ResponseCapacity) GetSin1Ok ¶

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 (*FindCapacityForFacility200ResponseCapacity) GetSjc1 ¶

GetSjc1 returns the Sjc1 field value if set, zero value otherwise.

func (*FindCapacityForFacility200ResponseCapacity) GetSjc1Ok ¶

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 (*FindCapacityForFacility200ResponseCapacity) GetSyd1 ¶

GetSyd1 returns the Syd1 field value if set, zero value otherwise.

func (*FindCapacityForFacility200ResponseCapacity) GetSyd1Ok ¶

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 (*FindCapacityForFacility200ResponseCapacity) GetYyz1 ¶

GetYyz1 returns the Yyz1 field value if set, zero value otherwise.

func (*FindCapacityForFacility200ResponseCapacity) GetYyz1Ok ¶

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 (*FindCapacityForFacility200ResponseCapacity) HasAms1 ¶

HasAms1 returns a boolean if a field has been set.

func (*FindCapacityForFacility200ResponseCapacity) HasAtl1 ¶

HasAtl1 returns a boolean if a field has been set.

func (*FindCapacityForFacility200ResponseCapacity) HasDfw1 ¶

HasDfw1 returns a boolean if a field has been set.

func (*FindCapacityForFacility200ResponseCapacity) HasEwr1 ¶

HasEwr1 returns a boolean if a field has been set.

func (*FindCapacityForFacility200ResponseCapacity) HasFra1 ¶

HasFra1 returns a boolean if a field has been set.

func (*FindCapacityForFacility200ResponseCapacity) HasIad1 ¶

HasIad1 returns a boolean if a field has been set.

func (*FindCapacityForFacility200ResponseCapacity) HasLax1 ¶

HasLax1 returns a boolean if a field has been set.

func (*FindCapacityForFacility200ResponseCapacity) HasNrt1 ¶

HasNrt1 returns a boolean if a field has been set.

func (*FindCapacityForFacility200ResponseCapacity) HasOrd1 ¶

HasOrd1 returns a boolean if a field has been set.

func (*FindCapacityForFacility200ResponseCapacity) HasSea1 ¶

HasSea1 returns a boolean if a field has been set.

func (*FindCapacityForFacility200ResponseCapacity) HasSin1 ¶

HasSin1 returns a boolean if a field has been set.

func (*FindCapacityForFacility200ResponseCapacity) HasSjc1 ¶

HasSjc1 returns a boolean if a field has been set.

func (*FindCapacityForFacility200ResponseCapacity) HasSyd1 ¶

HasSyd1 returns a boolean if a field has been set.

func (*FindCapacityForFacility200ResponseCapacity) HasYyz1 ¶

HasYyz1 returns a boolean if a field has been set.

func (FindCapacityForFacility200ResponseCapacity) MarshalJSON ¶

func (*FindCapacityForFacility200ResponseCapacity) SetAms1 ¶

SetAms1 gets a reference to the given FindCapacityForFacility200ResponseCapacityAms1 and assigns it to the Ams1 field.

func (*FindCapacityForFacility200ResponseCapacity) SetAtl1 ¶

SetAtl1 gets a reference to the given FindCapacityForFacility200ResponseCapacityAtl1 and assigns it to the Atl1 field.

func (*FindCapacityForFacility200ResponseCapacity) SetDfw1 ¶

SetDfw1 gets a reference to the given FindCapacityForFacility200ResponseCapacityAtl1 and assigns it to the Dfw1 field.

func (*FindCapacityForFacility200ResponseCapacity) SetEwr1 ¶

SetEwr1 gets a reference to the given FindCapacityForFacility200ResponseCapacityAms1 and assigns it to the Ewr1 field.

func (*FindCapacityForFacility200ResponseCapacity) SetFra1 ¶

SetFra1 gets a reference to the given FindCapacityForFacility200ResponseCapacityAtl1 and assigns it to the Fra1 field.

func (*FindCapacityForFacility200ResponseCapacity) SetIad1 ¶

SetIad1 gets a reference to the given FindCapacityForFacility200ResponseCapacityAtl1 and assigns it to the Iad1 field.

func (*FindCapacityForFacility200ResponseCapacity) SetLax1 ¶

SetLax1 gets a reference to the given FindCapacityForFacility200ResponseCapacityAtl1 and assigns it to the Lax1 field.

func (*FindCapacityForFacility200ResponseCapacity) SetNrt1 ¶

SetNrt1 gets a reference to the given FindCapacityForFacility200ResponseCapacityAms1 and assigns it to the Nrt1 field.

func (*FindCapacityForFacility200ResponseCapacity) SetOrd1 ¶

SetOrd1 gets a reference to the given FindCapacityForFacility200ResponseCapacityAtl1 and assigns it to the Ord1 field.

func (*FindCapacityForFacility200ResponseCapacity) SetSea1 ¶

SetSea1 gets a reference to the given FindCapacityForFacility200ResponseCapacityAtl1 and assigns it to the Sea1 field.

func (*FindCapacityForFacility200ResponseCapacity) SetSin1 ¶

SetSin1 gets a reference to the given FindCapacityForFacility200ResponseCapacityAtl1 and assigns it to the Sin1 field.

func (*FindCapacityForFacility200ResponseCapacity) SetSjc1 ¶

SetSjc1 gets a reference to the given FindCapacityForFacility200ResponseCapacityAms1 and assigns it to the Sjc1 field.

func (*FindCapacityForFacility200ResponseCapacity) SetSyd1 ¶

SetSyd1 gets a reference to the given FindCapacityForFacility200ResponseCapacityAtl1 and assigns it to the Syd1 field.

func (*FindCapacityForFacility200ResponseCapacity) SetYyz1 ¶

SetYyz1 gets a reference to the given FindCapacityForFacility200ResponseCapacityAtl1 and assigns it to the Yyz1 field.

type FindCapacityForFacility200ResponseCapacityAms1 ¶

type FindCapacityForFacility200ResponseCapacityAms1 struct {
	Baremetal0   *FindCapacityForFacility200ResponseCapacityAms1Baremetal0 `json:"baremetal_0,omitempty"`
	Baremetal1   *FindCapacityForFacility200ResponseCapacityAms1Baremetal0 `json:"baremetal_1,omitempty"`
	Baremetal2   *FindCapacityForFacility200ResponseCapacityAms1Baremetal0 `json:"baremetal_2,omitempty"`
	Baremetal2a  *FindCapacityForFacility200ResponseCapacityAms1Baremetal0 `json:"baremetal_2a,omitempty"`
	Baremetal2a2 *FindCapacityForFacility200ResponseCapacityAms1Baremetal0 `json:"baremetal_2a2,omitempty"`
	Baremetal3   *FindCapacityForFacility200ResponseCapacityAms1Baremetal0 `json:"baremetal_3,omitempty"`
	BaremetalS   *FindCapacityForFacility200ResponseCapacityAms1Baremetal0 `json:"baremetal_s,omitempty"`
	C2MediumX86  *FindCapacityForFacility200ResponseCapacityAms1Baremetal0 `json:"c2.medium.x86,omitempty"`
	M2XlargeX86  *FindCapacityForFacility200ResponseCapacityAms1Baremetal0 `json:"m2.xlarge.x86,omitempty"`
}

FindCapacityForFacility200ResponseCapacityAms1 struct for FindCapacityForFacility200ResponseCapacityAms1

func NewFindCapacityForFacility200ResponseCapacityAms1 ¶

func NewFindCapacityForFacility200ResponseCapacityAms1() *FindCapacityForFacility200ResponseCapacityAms1

NewFindCapacityForFacility200ResponseCapacityAms1 instantiates a new FindCapacityForFacility200ResponseCapacityAms1 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 NewFindCapacityForFacility200ResponseCapacityAms1WithDefaults ¶

func NewFindCapacityForFacility200ResponseCapacityAms1WithDefaults() *FindCapacityForFacility200ResponseCapacityAms1

NewFindCapacityForFacility200ResponseCapacityAms1WithDefaults instantiates a new FindCapacityForFacility200ResponseCapacityAms1 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 (*FindCapacityForFacility200ResponseCapacityAms1) GetBaremetal0 ¶

GetBaremetal0 returns the Baremetal0 field value if set, zero value otherwise.

func (*FindCapacityForFacility200ResponseCapacityAms1) GetBaremetal0Ok ¶

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 (*FindCapacityForFacility200ResponseCapacityAms1) GetBaremetal1 ¶

GetBaremetal1 returns the Baremetal1 field value if set, zero value otherwise.

func (*FindCapacityForFacility200ResponseCapacityAms1) GetBaremetal1Ok ¶

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 (*FindCapacityForFacility200ResponseCapacityAms1) GetBaremetal2 ¶

GetBaremetal2 returns the Baremetal2 field value if set, zero value otherwise.

func (*FindCapacityForFacility200ResponseCapacityAms1) GetBaremetal2Ok ¶

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 (*FindCapacityForFacility200ResponseCapacityAms1) GetBaremetal2a ¶

GetBaremetal2a returns the Baremetal2a field value if set, zero value otherwise.

func (*FindCapacityForFacility200ResponseCapacityAms1) GetBaremetal2a2 ¶

GetBaremetal2a2 returns the Baremetal2a2 field value if set, zero value otherwise.

func (*FindCapacityForFacility200ResponseCapacityAms1) GetBaremetal2a2Ok ¶

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 (*FindCapacityForFacility200ResponseCapacityAms1) GetBaremetal2aOk ¶

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 (*FindCapacityForFacility200ResponseCapacityAms1) GetBaremetal3 ¶

GetBaremetal3 returns the Baremetal3 field value if set, zero value otherwise.

func (*FindCapacityForFacility200ResponseCapacityAms1) GetBaremetal3Ok ¶

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 (*FindCapacityForFacility200ResponseCapacityAms1) GetBaremetalS ¶

GetBaremetalS returns the BaremetalS field value if set, zero value otherwise.

func (*FindCapacityForFacility200ResponseCapacityAms1) GetBaremetalSOk ¶

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 (*FindCapacityForFacility200ResponseCapacityAms1) GetC2MediumX86 ¶

GetC2MediumX86 returns the C2MediumX86 field value if set, zero value otherwise.

func (*FindCapacityForFacility200ResponseCapacityAms1) GetC2MediumX86Ok ¶

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 (*FindCapacityForFacility200ResponseCapacityAms1) GetM2XlargeX86 ¶

GetM2XlargeX86 returns the M2XlargeX86 field value if set, zero value otherwise.

func (*FindCapacityForFacility200ResponseCapacityAms1) GetM2XlargeX86Ok ¶

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 (*FindCapacityForFacility200ResponseCapacityAms1) HasBaremetal0 ¶

HasBaremetal0 returns a boolean if a field has been set.

func (*FindCapacityForFacility200ResponseCapacityAms1) HasBaremetal1 ¶

HasBaremetal1 returns a boolean if a field has been set.

func (*FindCapacityForFacility200ResponseCapacityAms1) HasBaremetal2 ¶

HasBaremetal2 returns a boolean if a field has been set.

func (*FindCapacityForFacility200ResponseCapacityAms1) HasBaremetal2a ¶

HasBaremetal2a returns a boolean if a field has been set.

func (*FindCapacityForFacility200ResponseCapacityAms1) HasBaremetal2a2 ¶

HasBaremetal2a2 returns a boolean if a field has been set.

func (*FindCapacityForFacility200ResponseCapacityAms1) HasBaremetal3 ¶

HasBaremetal3 returns a boolean if a field has been set.

func (*FindCapacityForFacility200ResponseCapacityAms1) HasBaremetalS ¶

HasBaremetalS returns a boolean if a field has been set.

func (*FindCapacityForFacility200ResponseCapacityAms1) HasC2MediumX86 ¶

HasC2MediumX86 returns a boolean if a field has been set.

func (*FindCapacityForFacility200ResponseCapacityAms1) HasM2XlargeX86 ¶

HasM2XlargeX86 returns a boolean if a field has been set.

func (FindCapacityForFacility200ResponseCapacityAms1) MarshalJSON ¶

func (*FindCapacityForFacility200ResponseCapacityAms1) SetBaremetal0 ¶

SetBaremetal0 gets a reference to the given FindCapacityForFacility200ResponseCapacityAms1Baremetal0 and assigns it to the Baremetal0 field.

func (*FindCapacityForFacility200ResponseCapacityAms1) SetBaremetal1 ¶

SetBaremetal1 gets a reference to the given FindCapacityForFacility200ResponseCapacityAms1Baremetal0 and assigns it to the Baremetal1 field.

func (*FindCapacityForFacility200ResponseCapacityAms1) SetBaremetal2 ¶

SetBaremetal2 gets a reference to the given FindCapacityForFacility200ResponseCapacityAms1Baremetal0 and assigns it to the Baremetal2 field.

func (*FindCapacityForFacility200ResponseCapacityAms1) SetBaremetal2a ¶

SetBaremetal2a gets a reference to the given FindCapacityForFacility200ResponseCapacityAms1Baremetal0 and assigns it to the Baremetal2a field.

func (*FindCapacityForFacility200ResponseCapacityAms1) SetBaremetal2a2 ¶

SetBaremetal2a2 gets a reference to the given FindCapacityForFacility200ResponseCapacityAms1Baremetal0 and assigns it to the Baremetal2a2 field.

func (*FindCapacityForFacility200ResponseCapacityAms1) SetBaremetal3 ¶

SetBaremetal3 gets a reference to the given FindCapacityForFacility200ResponseCapacityAms1Baremetal0 and assigns it to the Baremetal3 field.

func (*FindCapacityForFacility200ResponseCapacityAms1) SetBaremetalS ¶

SetBaremetalS gets a reference to the given FindCapacityForFacility200ResponseCapacityAms1Baremetal0 and assigns it to the BaremetalS field.

func (*FindCapacityForFacility200ResponseCapacityAms1) SetC2MediumX86 ¶

SetC2MediumX86 gets a reference to the given FindCapacityForFacility200ResponseCapacityAms1Baremetal0 and assigns it to the C2MediumX86 field.

func (*FindCapacityForFacility200ResponseCapacityAms1) SetM2XlargeX86 ¶

SetM2XlargeX86 gets a reference to the given FindCapacityForFacility200ResponseCapacityAms1Baremetal0 and assigns it to the M2XlargeX86 field.

type FindCapacityForFacility200ResponseCapacityAms1Baremetal0 ¶

type FindCapacityForFacility200ResponseCapacityAms1Baremetal0 struct {
	Level *string `json:"level,omitempty"`
}

FindCapacityForFacility200ResponseCapacityAms1Baremetal0 struct for FindCapacityForFacility200ResponseCapacityAms1Baremetal0

func NewFindCapacityForFacility200ResponseCapacityAms1Baremetal0 ¶

func NewFindCapacityForFacility200ResponseCapacityAms1Baremetal0() *FindCapacityForFacility200ResponseCapacityAms1Baremetal0

NewFindCapacityForFacility200ResponseCapacityAms1Baremetal0 instantiates a new FindCapacityForFacility200ResponseCapacityAms1Baremetal0 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 NewFindCapacityForFacility200ResponseCapacityAms1Baremetal0WithDefaults ¶

func NewFindCapacityForFacility200ResponseCapacityAms1Baremetal0WithDefaults() *FindCapacityForFacility200ResponseCapacityAms1Baremetal0

NewFindCapacityForFacility200ResponseCapacityAms1Baremetal0WithDefaults instantiates a new FindCapacityForFacility200ResponseCapacityAms1Baremetal0 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 (*FindCapacityForFacility200ResponseCapacityAms1Baremetal0) GetLevel ¶

GetLevel returns the Level field value if set, zero value otherwise.

func (*FindCapacityForFacility200ResponseCapacityAms1Baremetal0) GetLevelOk ¶

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 (*FindCapacityForFacility200ResponseCapacityAms1Baremetal0) HasLevel ¶

HasLevel returns a boolean if a field has been set.

func (FindCapacityForFacility200ResponseCapacityAms1Baremetal0) MarshalJSON ¶

func (*FindCapacityForFacility200ResponseCapacityAms1Baremetal0) SetLevel ¶

SetLevel gets a reference to the given string and assigns it to the Level field.

type FindCapacityForFacility200ResponseCapacityAtl1 ¶

type FindCapacityForFacility200ResponseCapacityAtl1 struct {
	Baremetal1e *FindCapacityForFacility200ResponseCapacityAms1Baremetal0 `json:"baremetal_1e,omitempty"`
}

FindCapacityForFacility200ResponseCapacityAtl1 struct for FindCapacityForFacility200ResponseCapacityAtl1

func NewFindCapacityForFacility200ResponseCapacityAtl1 ¶

func NewFindCapacityForFacility200ResponseCapacityAtl1() *FindCapacityForFacility200ResponseCapacityAtl1

NewFindCapacityForFacility200ResponseCapacityAtl1 instantiates a new FindCapacityForFacility200ResponseCapacityAtl1 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 NewFindCapacityForFacility200ResponseCapacityAtl1WithDefaults ¶

func NewFindCapacityForFacility200ResponseCapacityAtl1WithDefaults() *FindCapacityForFacility200ResponseCapacityAtl1

NewFindCapacityForFacility200ResponseCapacityAtl1WithDefaults instantiates a new FindCapacityForFacility200ResponseCapacityAtl1 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 (*FindCapacityForFacility200ResponseCapacityAtl1) GetBaremetal1e ¶

GetBaremetal1e returns the Baremetal1e field value if set, zero value otherwise.

func (*FindCapacityForFacility200ResponseCapacityAtl1) GetBaremetal1eOk ¶

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 (*FindCapacityForFacility200ResponseCapacityAtl1) HasBaremetal1e ¶

HasBaremetal1e returns a boolean if a field has been set.

func (FindCapacityForFacility200ResponseCapacityAtl1) MarshalJSON ¶

func (*FindCapacityForFacility200ResponseCapacityAtl1) SetBaremetal1e ¶

SetBaremetal1e gets a reference to the given FindCapacityForFacility200ResponseCapacityAms1Baremetal0 and assigns it to the Baremetal1e field.

type FindCapacityForMetro200Response ¶

type FindCapacityForMetro200Response struct {
	Capacity *FindCapacityForMetro200ResponseCapacity `json:"capacity,omitempty"`
}

FindCapacityForMetro200Response struct for FindCapacityForMetro200Response

func NewFindCapacityForMetro200Response ¶

func NewFindCapacityForMetro200Response() *FindCapacityForMetro200Response

NewFindCapacityForMetro200Response instantiates a new FindCapacityForMetro200Response 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 NewFindCapacityForMetro200ResponseWithDefaults ¶

func NewFindCapacityForMetro200ResponseWithDefaults() *FindCapacityForMetro200Response

NewFindCapacityForMetro200ResponseWithDefaults instantiates a new FindCapacityForMetro200Response 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 (*FindCapacityForMetro200Response) GetCapacity ¶

GetCapacity returns the Capacity field value if set, zero value otherwise.

func (*FindCapacityForMetro200Response) GetCapacityOk ¶

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 (*FindCapacityForMetro200Response) HasCapacity ¶

func (o *FindCapacityForMetro200Response) HasCapacity() bool

HasCapacity returns a boolean if a field has been set.

func (FindCapacityForMetro200Response) MarshalJSON ¶

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

func (*FindCapacityForMetro200Response) SetCapacity ¶

SetCapacity gets a reference to the given FindCapacityForMetro200ResponseCapacity and assigns it to the Capacity field.

type FindCapacityForMetro200ResponseCapacity ¶

type FindCapacityForMetro200ResponseCapacity struct {
	Am *FindCapacityForFacility200ResponseCapacityAms1 `json:"am,omitempty"`
	At *FindCapacityForFacility200ResponseCapacityAms1 `json:"at,omitempty"`
	Ch *FindCapacityForFacility200ResponseCapacityAms1 `json:"ch,omitempty"`
	Da *FindCapacityForFacility200ResponseCapacityAms1 `json:"da,omitempty"`
	Dc *FindCapacityForFacility200ResponseCapacityAms1 `json:"dc,omitempty"`
	Fr *FindCapacityForFacility200ResponseCapacityAms1 `json:"fr,omitempty"`
	Hk *FindCapacityForFacility200ResponseCapacityAms1 `json:"hk,omitempty"`
	La *FindCapacityForFacility200ResponseCapacityAms1 `json:"la,omitempty"`
	Ld *FindCapacityForFacility200ResponseCapacityAms1 `json:"ld,omitempty"`
	Md *FindCapacityForFacility200ResponseCapacityAms1 `json:"md,omitempty"`
	Ny *FindCapacityForFacility200ResponseCapacityAms1 `json:"ny,omitempty"`
	Pa *FindCapacityForFacility200ResponseCapacityAms1 `json:"pa,omitempty"`
	Se *FindCapacityForFacility200ResponseCapacityAms1 `json:"se,omitempty"`
	Sg *FindCapacityForFacility200ResponseCapacityAms1 `json:"sg,omitempty"`
	Sl *FindCapacityForFacility200ResponseCapacityAms1 `json:"sl,omitempty"`
	Sp *FindCapacityForFacility200ResponseCapacityAms1 `json:"sp,omitempty"`
	Sv *FindCapacityForFacility200ResponseCapacityAms1 `json:"sv,omitempty"`
	Sy *FindCapacityForFacility200ResponseCapacityAms1 `json:"sy,omitempty"`
	Tr *FindCapacityForFacility200ResponseCapacityAms1 `json:"tr,omitempty"`
	Ty *FindCapacityForFacility200ResponseCapacityAms1 `json:"ty,omitempty"`
}

FindCapacityForMetro200ResponseCapacity struct for FindCapacityForMetro200ResponseCapacity

func NewFindCapacityForMetro200ResponseCapacity ¶

func NewFindCapacityForMetro200ResponseCapacity() *FindCapacityForMetro200ResponseCapacity

NewFindCapacityForMetro200ResponseCapacity instantiates a new FindCapacityForMetro200ResponseCapacity 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 NewFindCapacityForMetro200ResponseCapacityWithDefaults ¶

func NewFindCapacityForMetro200ResponseCapacityWithDefaults() *FindCapacityForMetro200ResponseCapacity

NewFindCapacityForMetro200ResponseCapacityWithDefaults instantiates a new FindCapacityForMetro200ResponseCapacity 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 (*FindCapacityForMetro200ResponseCapacity) GetAm ¶

GetAm returns the Am field value if set, zero value otherwise.

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

GetAt returns the At field value if set, zero value otherwise.

func (*FindCapacityForMetro200ResponseCapacity) GetAtOk ¶

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

func (*FindCapacityForMetro200ResponseCapacity) GetCh ¶

GetCh returns the Ch field value if set, zero value otherwise.

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

GetDa returns the Da field value if set, zero value otherwise.

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

GetDc returns the Dc field value if set, zero value otherwise.

func (*FindCapacityForMetro200ResponseCapacity) GetDcOk ¶

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

func (*FindCapacityForMetro200ResponseCapacity) GetFr ¶

GetFr returns the Fr field value if set, zero value otherwise.

func (*FindCapacityForMetro200ResponseCapacity) GetFrOk ¶

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

func (*FindCapacityForMetro200ResponseCapacity) GetHk ¶

GetHk returns the Hk field value if set, zero value otherwise.

func (*FindCapacityForMetro200ResponseCapacity) GetHkOk ¶

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

func (*FindCapacityForMetro200ResponseCapacity) GetLa ¶

GetLa returns the La field value if set, zero value otherwise.

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

GetLd returns the Ld field value if set, zero value otherwise.

func (*FindCapacityForMetro200ResponseCapacity) GetLdOk ¶

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

func (*FindCapacityForMetro200ResponseCapacity) GetMd ¶

GetMd returns the Md field value if set, zero value otherwise.

func (*FindCapacityForMetro200ResponseCapacity) GetMdOk ¶

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

func (*FindCapacityForMetro200ResponseCapacity) GetNy ¶

GetNy returns the Ny field value if set, zero value otherwise.

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

GetPa returns the Pa field value if set, zero value otherwise.

func (*FindCapacityForMetro200ResponseCapacity) GetPaOk ¶

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

func (*FindCapacityForMetro200ResponseCapacity) GetSe ¶

GetSe returns the Se field value if set, zero value otherwise.

func (*FindCapacityForMetro200ResponseCapacity) GetSeOk ¶

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

func (*FindCapacityForMetro200ResponseCapacity) GetSg ¶

GetSg returns the Sg field value if set, zero value otherwise.

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

GetSl returns the Sl field value if set, zero value otherwise.

func (*FindCapacityForMetro200ResponseCapacity) GetSlOk ¶

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

func (*FindCapacityForMetro200ResponseCapacity) GetSp ¶

GetSp returns the Sp field value if set, zero value otherwise.

func (*FindCapacityForMetro200ResponseCapacity) GetSpOk ¶

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

func (*FindCapacityForMetro200ResponseCapacity) GetSv ¶

GetSv returns the Sv field value if set, zero value otherwise.

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

GetSy returns the Sy field value if set, zero value otherwise.

func (*FindCapacityForMetro200ResponseCapacity) GetSyOk ¶

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

func (*FindCapacityForMetro200ResponseCapacity) GetTr ¶

GetTr returns the Tr field value if set, zero value otherwise.

func (*FindCapacityForMetro200ResponseCapacity) GetTrOk ¶

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

func (*FindCapacityForMetro200ResponseCapacity) GetTy ¶

GetTy returns the Ty field value if set, zero value otherwise.

func (*FindCapacityForMetro200ResponseCapacity) GetTyOk ¶

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

func (*FindCapacityForMetro200ResponseCapacity) HasAm ¶

HasAm returns a boolean if a field has been set.

func (*FindCapacityForMetro200ResponseCapacity) HasAt ¶

HasAt returns a boolean if a field has been set.

func (*FindCapacityForMetro200ResponseCapacity) HasCh ¶

HasCh returns a boolean if a field has been set.

func (*FindCapacityForMetro200ResponseCapacity) HasDa ¶

HasDa returns a boolean if a field has been set.

func (*FindCapacityForMetro200ResponseCapacity) HasDc ¶

HasDc returns a boolean if a field has been set.

func (*FindCapacityForMetro200ResponseCapacity) HasFr ¶

HasFr returns a boolean if a field has been set.

func (*FindCapacityForMetro200ResponseCapacity) HasHk ¶

HasHk returns a boolean if a field has been set.

func (*FindCapacityForMetro200ResponseCapacity) HasLa ¶

HasLa returns a boolean if a field has been set.

func (*FindCapacityForMetro200ResponseCapacity) HasLd ¶

HasLd returns a boolean if a field has been set.

func (*FindCapacityForMetro200ResponseCapacity) HasMd ¶

HasMd returns a boolean if a field has been set.

func (*FindCapacityForMetro200ResponseCapacity) HasNy ¶

HasNy returns a boolean if a field has been set.

func (*FindCapacityForMetro200ResponseCapacity) HasPa ¶

HasPa returns a boolean if a field has been set.

func (*FindCapacityForMetro200ResponseCapacity) HasSe ¶

HasSe returns a boolean if a field has been set.

func (*FindCapacityForMetro200ResponseCapacity) HasSg ¶

HasSg returns a boolean if a field has been set.

func (*FindCapacityForMetro200ResponseCapacity) HasSl ¶

HasSl returns a boolean if a field has been set.

func (*FindCapacityForMetro200ResponseCapacity) HasSp ¶

HasSp returns a boolean if a field has been set.

func (*FindCapacityForMetro200ResponseCapacity) HasSv ¶

HasSv returns a boolean if a field has been set.

func (*FindCapacityForMetro200ResponseCapacity) HasSy ¶

HasSy returns a boolean if a field has been set.

func (*FindCapacityForMetro200ResponseCapacity) HasTr ¶

HasTr returns a boolean if a field has been set.

func (*FindCapacityForMetro200ResponseCapacity) HasTy ¶

HasTy returns a boolean if a field has been set.

func (FindCapacityForMetro200ResponseCapacity) MarshalJSON ¶

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

func (*FindCapacityForMetro200ResponseCapacity) SetAm ¶

SetAm gets a reference to the given FindCapacityForFacility200ResponseCapacityAms1 and assigns it to the Am field.

func (*FindCapacityForMetro200ResponseCapacity) SetAt ¶

SetAt gets a reference to the given FindCapacityForFacility200ResponseCapacityAms1 and assigns it to the At field.

func (*FindCapacityForMetro200ResponseCapacity) SetCh ¶

SetCh gets a reference to the given FindCapacityForFacility200ResponseCapacityAms1 and assigns it to the Ch field.

func (*FindCapacityForMetro200ResponseCapacity) SetDa ¶

SetDa gets a reference to the given FindCapacityForFacility200ResponseCapacityAms1 and assigns it to the Da field.

func (*FindCapacityForMetro200ResponseCapacity) SetDc ¶

SetDc gets a reference to the given FindCapacityForFacility200ResponseCapacityAms1 and assigns it to the Dc field.

func (*FindCapacityForMetro200ResponseCapacity) SetFr ¶

SetFr gets a reference to the given FindCapacityForFacility200ResponseCapacityAms1 and assigns it to the Fr field.

func (*FindCapacityForMetro200ResponseCapacity) SetHk ¶

SetHk gets a reference to the given FindCapacityForFacility200ResponseCapacityAms1 and assigns it to the Hk field.

func (*FindCapacityForMetro200ResponseCapacity) SetLa ¶

SetLa gets a reference to the given FindCapacityForFacility200ResponseCapacityAms1 and assigns it to the La field.

func (*FindCapacityForMetro200ResponseCapacity) SetLd ¶

SetLd gets a reference to the given FindCapacityForFacility200ResponseCapacityAms1 and assigns it to the Ld field.

func (*FindCapacityForMetro200ResponseCapacity) SetMd ¶

SetMd gets a reference to the given FindCapacityForFacility200ResponseCapacityAms1 and assigns it to the Md field.

func (*FindCapacityForMetro200ResponseCapacity) SetNy ¶

SetNy gets a reference to the given FindCapacityForFacility200ResponseCapacityAms1 and assigns it to the Ny field.

func (*FindCapacityForMetro200ResponseCapacity) SetPa ¶

SetPa gets a reference to the given FindCapacityForFacility200ResponseCapacityAms1 and assigns it to the Pa field.

func (*FindCapacityForMetro200ResponseCapacity) SetSe ¶

SetSe gets a reference to the given FindCapacityForFacility200ResponseCapacityAms1 and assigns it to the Se field.

func (*FindCapacityForMetro200ResponseCapacity) SetSg ¶

SetSg gets a reference to the given FindCapacityForFacility200ResponseCapacityAms1 and assigns it to the Sg field.

func (*FindCapacityForMetro200ResponseCapacity) SetSl ¶

SetSl gets a reference to the given FindCapacityForFacility200ResponseCapacityAms1 and assigns it to the Sl field.

func (*FindCapacityForMetro200ResponseCapacity) SetSp ¶

SetSp gets a reference to the given FindCapacityForFacility200ResponseCapacityAms1 and assigns it to the Sp field.

func (*FindCapacityForMetro200ResponseCapacity) SetSv ¶

SetSv gets a reference to the given FindCapacityForFacility200ResponseCapacityAms1 and assigns it to the Sv field.

func (*FindCapacityForMetro200ResponseCapacity) SetSy ¶

SetSy gets a reference to the given FindCapacityForFacility200ResponseCapacityAms1 and assigns it to the Sy field.

func (*FindCapacityForMetro200ResponseCapacity) SetTr ¶

SetTr gets a reference to the given FindCapacityForFacility200ResponseCapacityAms1 and assigns it to the Tr field.

func (*FindCapacityForMetro200ResponseCapacity) SetTy ¶

SetTy gets a reference to the given FindCapacityForFacility200ResponseCapacityAms1 and assigns it to the Ty field.

type FindDeviceById200Response ¶

type FindDeviceById200Response 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           *FindDeviceById200ResponseCreatedBy         `json:"created_by,omitempty"`
	Customdata          map[string]interface{}                      `json:"customdata,omitempty"`
	Description         *string                                     `json:"description,omitempty"`
	Facility            *FindDeviceById200ResponseFacility          `json:"facility,omitempty"`
	HardwareReservation *FindBatchById200ResponseDevicesInner       `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         []FindDeviceById200ResponseIpAddressesInner `json:"ip_addresses,omitempty"`
	IpxeScriptUrl       *string                                     `json:"ipxe_script_url,omitempty"`
	Iqn                 *string                                     `json:"iqn,omitempty"`
	Locked              *bool                                       `json:"locked,omitempty"`
	Metro               *FindDeviceById200ResponseFacilityMetro     `json:"metro,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    []FindDeviceById200ResponseNetworkPortsInner `json:"network_ports,omitempty"`
	OperatingSystem *FindDeviceById200ResponseOperatingSystem    `json:"operating_system,omitempty"`
	// Actions supported by the device instance.
	Actions            []FindDeviceById200ResponseActionsInner `json:"actions,omitempty"`
	Plan               *FindDeviceById200ResponsePlan          `json:"plan,omitempty"`
	Project            *FindDeviceById200ResponseProject       `json:"project,omitempty"`
	ProjectLite        *FindDeviceById200ResponseProjectLite   `json:"project_lite,omitempty"`
	ProvisioningEvents []FindInterconnectionEvents200Response  `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      []FindBatchById200ResponseDevicesInner `json:"ssh_keys,omitempty"`
	State        *string                                `json:"state,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. 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         []FindBatchById200ResponseDevicesInner `json:"volumes,omitempty"`
}

FindDeviceById200Response struct for FindDeviceById200Response

func NewFindDeviceById200Response ¶

func NewFindDeviceById200Response() *FindDeviceById200Response

NewFindDeviceById200Response instantiates a new FindDeviceById200Response 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 NewFindDeviceById200ResponseWithDefaults ¶

func NewFindDeviceById200ResponseWithDefaults() *FindDeviceById200Response

NewFindDeviceById200ResponseWithDefaults instantiates a new FindDeviceById200Response 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 (*FindDeviceById200Response) GetActions ¶

GetActions returns the Actions field value if set, zero value otherwise.

func (*FindDeviceById200Response) GetActionsOk ¶

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 (*FindDeviceById200Response) GetAlwaysPxe ¶

func (o *FindDeviceById200Response) GetAlwaysPxe() bool

GetAlwaysPxe returns the AlwaysPxe field value if set, zero value otherwise.

func (*FindDeviceById200Response) GetAlwaysPxeOk ¶

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

func (o *FindDeviceById200Response) GetBillingCycle() string

GetBillingCycle returns the BillingCycle field value if set, zero value otherwise.

func (*FindDeviceById200Response) GetBillingCycleOk ¶

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

func (o *FindDeviceById200Response) GetBondingMode() int32

GetBondingMode returns the BondingMode field value if set, zero value otherwise.

func (*FindDeviceById200Response) GetBondingModeOk ¶

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

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

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

func (*FindDeviceById200Response) GetCreatedAtOk ¶

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

GetCreatedBy returns the CreatedBy field value if set, zero value otherwise.

func (*FindDeviceById200Response) GetCreatedByOk ¶

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 (*FindDeviceById200Response) GetCustomdata ¶

func (o *FindDeviceById200Response) GetCustomdata() map[string]interface{}

GetCustomdata returns the Customdata field value if set, zero value otherwise.

func (*FindDeviceById200Response) GetCustomdataOk ¶

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

func (o *FindDeviceById200Response) GetDescription() string

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

func (*FindDeviceById200Response) GetDescriptionOk ¶

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

GetFacility returns the Facility field value if set, zero value otherwise.

func (*FindDeviceById200Response) GetFacilityOk ¶

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 (*FindDeviceById200Response) GetHardwareReservation ¶

GetHardwareReservation returns the HardwareReservation field value if set, zero value otherwise.

func (*FindDeviceById200Response) GetHardwareReservationOk ¶

func (o *FindDeviceById200Response) GetHardwareReservationOk() (*FindBatchById200ResponseDevicesInner, 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 (*FindDeviceById200Response) GetHostname ¶

func (o *FindDeviceById200Response) GetHostname() string

GetHostname returns the Hostname field value if set, zero value otherwise.

func (*FindDeviceById200Response) GetHostnameOk ¶

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

func (o *FindDeviceById200Response) GetHref() string

GetHref returns the Href field value if set, zero value otherwise.

func (*FindDeviceById200Response) GetHrefOk ¶

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

func (o *FindDeviceById200Response) GetId() string

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

func (*FindDeviceById200Response) GetIdOk ¶

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

func (o *FindDeviceById200Response) GetImageUrl() string

GetImageUrl returns the ImageUrl field value if set, zero value otherwise.

func (*FindDeviceById200Response) GetImageUrlOk ¶

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

GetIpAddresses returns the IpAddresses field value if set, zero value otherwise.

func (*FindDeviceById200Response) GetIpAddressesOk ¶

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 (*FindDeviceById200Response) GetIpxeScriptUrl ¶

func (o *FindDeviceById200Response) GetIpxeScriptUrl() string

GetIpxeScriptUrl returns the IpxeScriptUrl field value if set, zero value otherwise.

func (*FindDeviceById200Response) GetIpxeScriptUrlOk ¶

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

func (o *FindDeviceById200Response) GetIqn() string

GetIqn returns the Iqn field value if set, zero value otherwise.

func (*FindDeviceById200Response) GetIqnOk ¶

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

func (o *FindDeviceById200Response) GetLocked() bool

GetLocked returns the Locked field value if set, zero value otherwise.

func (*FindDeviceById200Response) GetLockedOk ¶

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

GetMetro returns the Metro field value if set, zero value otherwise.

func (*FindDeviceById200Response) GetMetroOk ¶

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 (*FindDeviceById200Response) GetNetworkPorts ¶

GetNetworkPorts returns the NetworkPorts field value if set, zero value otherwise.

func (*FindDeviceById200Response) GetNetworkPortsOk ¶

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 (*FindDeviceById200Response) GetOperatingSystem ¶

GetOperatingSystem returns the OperatingSystem field value if set, zero value otherwise.

func (*FindDeviceById200Response) GetOperatingSystemOk ¶

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 (*FindDeviceById200Response) GetPlan ¶

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

func (*FindDeviceById200Response) GetPlanOk ¶

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 (*FindDeviceById200Response) GetProject ¶

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

func (*FindDeviceById200Response) GetProjectLite ¶

GetProjectLite returns the ProjectLite field value if set, zero value otherwise.

func (*FindDeviceById200Response) GetProjectLiteOk ¶

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 (*FindDeviceById200Response) GetProjectOk ¶

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 (*FindDeviceById200Response) GetProvisioningEvents ¶

GetProvisioningEvents returns the ProvisioningEvents field value if set, zero value otherwise.

func (*FindDeviceById200Response) GetProvisioningEventsOk ¶

func (o *FindDeviceById200Response) GetProvisioningEventsOk() ([]FindInterconnectionEvents200Response, 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 (*FindDeviceById200Response) GetProvisioningPercentage ¶

func (o *FindDeviceById200Response) GetProvisioningPercentage() float32

GetProvisioningPercentage returns the ProvisioningPercentage field value if set, zero value otherwise.

func (*FindDeviceById200Response) GetProvisioningPercentageOk ¶

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

func (o *FindDeviceById200Response) GetRootPassword() string

GetRootPassword returns the RootPassword field value if set, zero value otherwise.

func (*FindDeviceById200Response) GetRootPasswordOk ¶

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

func (o *FindDeviceById200Response) GetShortId() string

GetShortId returns the ShortId field value if set, zero value otherwise.

func (*FindDeviceById200Response) GetShortIdOk ¶

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

func (o *FindDeviceById200Response) GetSpotInstance() bool

GetSpotInstance returns the SpotInstance field value if set, zero value otherwise.

func (*FindDeviceById200Response) GetSpotInstanceOk ¶

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

func (o *FindDeviceById200Response) GetSpotPriceMax() float32

GetSpotPriceMax returns the SpotPriceMax field value if set, zero value otherwise.

func (*FindDeviceById200Response) GetSpotPriceMaxOk ¶

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

GetSshKeys returns the SshKeys field value if set, zero value otherwise.

func (*FindDeviceById200Response) GetSshKeysOk ¶

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 (*FindDeviceById200Response) GetState ¶

func (o *FindDeviceById200Response) GetState() string

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

func (*FindDeviceById200Response) GetStateOk ¶

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

func (o *FindDeviceById200Response) GetSwitchUuid() string

GetSwitchUuid returns the SwitchUuid field value if set, zero value otherwise.

func (*FindDeviceById200Response) GetSwitchUuidOk ¶

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

func (o *FindDeviceById200Response) GetTags() []string

GetTags returns the Tags field value if set, zero value otherwise.

func (*FindDeviceById200Response) GetTagsOk ¶

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

func (o *FindDeviceById200Response) GetTerminationTime() time.Time

GetTerminationTime returns the TerminationTime field value if set, zero value otherwise.

func (*FindDeviceById200Response) GetTerminationTimeOk ¶

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

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

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

func (*FindDeviceById200Response) GetUpdatedAtOk ¶

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

func (o *FindDeviceById200Response) GetUser() string

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

func (*FindDeviceById200Response) GetUserOk ¶

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

func (o *FindDeviceById200Response) GetUserdata() string

GetUserdata returns the Userdata field value if set, zero value otherwise.

func (*FindDeviceById200Response) GetUserdataOk ¶

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

GetVolumes returns the Volumes field value if set, zero value otherwise.

func (*FindDeviceById200Response) GetVolumesOk ¶

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 (*FindDeviceById200Response) HasActions ¶

func (o *FindDeviceById200Response) HasActions() bool

HasActions returns a boolean if a field has been set.

func (*FindDeviceById200Response) HasAlwaysPxe ¶

func (o *FindDeviceById200Response) HasAlwaysPxe() bool

HasAlwaysPxe returns a boolean if a field has been set.

func (*FindDeviceById200Response) HasBillingCycle ¶

func (o *FindDeviceById200Response) HasBillingCycle() bool

HasBillingCycle returns a boolean if a field has been set.

func (*FindDeviceById200Response) HasBondingMode ¶

func (o *FindDeviceById200Response) HasBondingMode() bool

HasBondingMode returns a boolean if a field has been set.

func (*FindDeviceById200Response) HasCreatedAt ¶

func (o *FindDeviceById200Response) HasCreatedAt() bool

HasCreatedAt returns a boolean if a field has been set.

func (*FindDeviceById200Response) HasCreatedBy ¶

func (o *FindDeviceById200Response) HasCreatedBy() bool

HasCreatedBy returns a boolean if a field has been set.

func (*FindDeviceById200Response) HasCustomdata ¶

func (o *FindDeviceById200Response) HasCustomdata() bool

HasCustomdata returns a boolean if a field has been set.

func (*FindDeviceById200Response) HasDescription ¶

func (o *FindDeviceById200Response) HasDescription() bool

HasDescription returns a boolean if a field has been set.

func (*FindDeviceById200Response) HasFacility ¶

func (o *FindDeviceById200Response) HasFacility() bool

HasFacility returns a boolean if a field has been set.

func (*FindDeviceById200Response) HasHardwareReservation ¶

func (o *FindDeviceById200Response) HasHardwareReservation() bool

HasHardwareReservation returns a boolean if a field has been set.

func (*FindDeviceById200Response) HasHostname ¶

func (o *FindDeviceById200Response) HasHostname() bool

HasHostname returns a boolean if a field has been set.

func (*FindDeviceById200Response) HasHref ¶

func (o *FindDeviceById200Response) HasHref() bool

HasHref returns a boolean if a field has been set.

func (*FindDeviceById200Response) HasId ¶

func (o *FindDeviceById200Response) HasId() bool

HasId returns a boolean if a field has been set.

func (*FindDeviceById200Response) HasImageUrl ¶

func (o *FindDeviceById200Response) HasImageUrl() bool

HasImageUrl returns a boolean if a field has been set.

func (*FindDeviceById200Response) HasIpAddresses ¶

func (o *FindDeviceById200Response) HasIpAddresses() bool

HasIpAddresses returns a boolean if a field has been set.

func (*FindDeviceById200Response) HasIpxeScriptUrl ¶

func (o *FindDeviceById200Response) HasIpxeScriptUrl() bool

HasIpxeScriptUrl returns a boolean if a field has been set.

func (*FindDeviceById200Response) HasIqn ¶

func (o *FindDeviceById200Response) HasIqn() bool

HasIqn returns a boolean if a field has been set.

func (*FindDeviceById200Response) HasLocked ¶

func (o *FindDeviceById200Response) HasLocked() bool

HasLocked returns a boolean if a field has been set.

func (*FindDeviceById200Response) HasMetro ¶

func (o *FindDeviceById200Response) HasMetro() bool

HasMetro returns a boolean if a field has been set.

func (*FindDeviceById200Response) HasNetworkPorts ¶

func (o *FindDeviceById200Response) HasNetworkPorts() bool

HasNetworkPorts returns a boolean if a field has been set.

func (*FindDeviceById200Response) HasOperatingSystem ¶

func (o *FindDeviceById200Response) HasOperatingSystem() bool

HasOperatingSystem returns a boolean if a field has been set.

func (*FindDeviceById200Response) HasPlan ¶

func (o *FindDeviceById200Response) HasPlan() bool

HasPlan returns a boolean if a field has been set.

func (*FindDeviceById200Response) HasProject ¶

func (o *FindDeviceById200Response) HasProject() bool

HasProject returns a boolean if a field has been set.

func (*FindDeviceById200Response) HasProjectLite ¶

func (o *FindDeviceById200Response) HasProjectLite() bool

HasProjectLite returns a boolean if a field has been set.

func (*FindDeviceById200Response) HasProvisioningEvents ¶

func (o *FindDeviceById200Response) HasProvisioningEvents() bool

HasProvisioningEvents returns a boolean if a field has been set.

func (*FindDeviceById200Response) HasProvisioningPercentage ¶

func (o *FindDeviceById200Response) HasProvisioningPercentage() bool

HasProvisioningPercentage returns a boolean if a field has been set.

func (*FindDeviceById200Response) HasRootPassword ¶

func (o *FindDeviceById200Response) HasRootPassword() bool

HasRootPassword returns a boolean if a field has been set.

func (*FindDeviceById200Response) HasShortId ¶

func (o *FindDeviceById200Response) HasShortId() bool

HasShortId returns a boolean if a field has been set.

func (*FindDeviceById200Response) HasSpotInstance ¶

func (o *FindDeviceById200Response) HasSpotInstance() bool

HasSpotInstance returns a boolean if a field has been set.

func (*FindDeviceById200Response) HasSpotPriceMax ¶

func (o *FindDeviceById200Response) HasSpotPriceMax() bool

HasSpotPriceMax returns a boolean if a field has been set.

func (*FindDeviceById200Response) HasSshKeys ¶

func (o *FindDeviceById200Response) HasSshKeys() bool

HasSshKeys returns a boolean if a field has been set.

func (*FindDeviceById200Response) HasState ¶

func (o *FindDeviceById200Response) HasState() bool

HasState returns a boolean if a field has been set.

func (*FindDeviceById200Response) HasSwitchUuid ¶

func (o *FindDeviceById200Response) HasSwitchUuid() bool

HasSwitchUuid returns a boolean if a field has been set.

func (*FindDeviceById200Response) HasTags ¶

func (o *FindDeviceById200Response) HasTags() bool

HasTags returns a boolean if a field has been set.

func (*FindDeviceById200Response) HasTerminationTime ¶

func (o *FindDeviceById200Response) HasTerminationTime() bool

HasTerminationTime returns a boolean if a field has been set.

func (*FindDeviceById200Response) HasUpdatedAt ¶

func (o *FindDeviceById200Response) HasUpdatedAt() bool

HasUpdatedAt returns a boolean if a field has been set.

func (*FindDeviceById200Response) HasUser ¶

func (o *FindDeviceById200Response) HasUser() bool

HasUser returns a boolean if a field has been set.

func (*FindDeviceById200Response) HasUserdata ¶

func (o *FindDeviceById200Response) HasUserdata() bool

HasUserdata returns a boolean if a field has been set.

func (*FindDeviceById200Response) HasVolumes ¶

func (o *FindDeviceById200Response) HasVolumes() bool

HasVolumes returns a boolean if a field has been set.

func (FindDeviceById200Response) MarshalJSON ¶

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

func (*FindDeviceById200Response) SetActions ¶

SetActions gets a reference to the given []FindDeviceById200ResponseActionsInner and assigns it to the Actions field.

func (*FindDeviceById200Response) SetAlwaysPxe ¶

func (o *FindDeviceById200Response) SetAlwaysPxe(v bool)

SetAlwaysPxe gets a reference to the given bool and assigns it to the AlwaysPxe field.

func (*FindDeviceById200Response) SetBillingCycle ¶

func (o *FindDeviceById200Response) SetBillingCycle(v string)

SetBillingCycle gets a reference to the given string and assigns it to the BillingCycle field.

func (*FindDeviceById200Response) SetBondingMode ¶

func (o *FindDeviceById200Response) SetBondingMode(v int32)

SetBondingMode gets a reference to the given int32 and assigns it to the BondingMode field.

func (*FindDeviceById200Response) SetCreatedAt ¶

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

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

func (*FindDeviceById200Response) SetCreatedBy ¶

SetCreatedBy gets a reference to the given FindDeviceById200ResponseCreatedBy and assigns it to the CreatedBy field.

func (*FindDeviceById200Response) SetCustomdata ¶

func (o *FindDeviceById200Response) SetCustomdata(v map[string]interface{})

SetCustomdata gets a reference to the given map[string]interface{} and assigns it to the Customdata field.

func (*FindDeviceById200Response) SetDescription ¶

func (o *FindDeviceById200Response) SetDescription(v string)

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

func (*FindDeviceById200Response) SetFacility ¶

SetFacility gets a reference to the given FindDeviceById200ResponseFacility and assigns it to the Facility field.

func (*FindDeviceById200Response) SetHardwareReservation ¶

SetHardwareReservation gets a reference to the given FindBatchById200ResponseDevicesInner and assigns it to the HardwareReservation field.

func (*FindDeviceById200Response) SetHostname ¶

func (o *FindDeviceById200Response) SetHostname(v string)

SetHostname gets a reference to the given string and assigns it to the Hostname field.

func (*FindDeviceById200Response) SetHref ¶

func (o *FindDeviceById200Response) SetHref(v string)

SetHref gets a reference to the given string and assigns it to the Href field.

func (*FindDeviceById200Response) SetId ¶

func (o *FindDeviceById200Response) SetId(v string)

SetId gets a reference to the given string and assigns it to the Id field.

func (*FindDeviceById200Response) SetImageUrl ¶

func (o *FindDeviceById200Response) SetImageUrl(v string)

SetImageUrl gets a reference to the given string and assigns it to the ImageUrl field.

func (*FindDeviceById200Response) SetIpAddresses ¶

SetIpAddresses gets a reference to the given []FindDeviceById200ResponseIpAddressesInner and assigns it to the IpAddresses field.

func (*FindDeviceById200Response) SetIpxeScriptUrl ¶

func (o *FindDeviceById200Response) SetIpxeScriptUrl(v string)

SetIpxeScriptUrl gets a reference to the given string and assigns it to the IpxeScriptUrl field.

func (*FindDeviceById200Response) SetIqn ¶

func (o *FindDeviceById200Response) SetIqn(v string)

SetIqn gets a reference to the given string and assigns it to the Iqn field.

func (*FindDeviceById200Response) SetLocked ¶

func (o *FindDeviceById200Response) SetLocked(v bool)

SetLocked gets a reference to the given bool and assigns it to the Locked field.

func (*FindDeviceById200Response) SetMetro ¶

SetMetro gets a reference to the given FindDeviceById200ResponseFacilityMetro and assigns it to the Metro field.

func (*FindDeviceById200Response) SetNetworkPorts ¶

SetNetworkPorts gets a reference to the given []FindDeviceById200ResponseNetworkPortsInner and assigns it to the NetworkPorts field.

func (*FindDeviceById200Response) SetOperatingSystem ¶

SetOperatingSystem gets a reference to the given FindDeviceById200ResponseOperatingSystem and assigns it to the OperatingSystem field.

func (*FindDeviceById200Response) SetPlan ¶

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

func (*FindDeviceById200Response) SetProject ¶

SetProject gets a reference to the given FindDeviceById200ResponseProject and assigns it to the Project field.

func (*FindDeviceById200Response) SetProjectLite ¶

SetProjectLite gets a reference to the given FindDeviceById200ResponseProjectLite and assigns it to the ProjectLite field.

func (*FindDeviceById200Response) SetProvisioningEvents ¶

SetProvisioningEvents gets a reference to the given []FindInterconnectionEvents200Response and assigns it to the ProvisioningEvents field.

func (*FindDeviceById200Response) SetProvisioningPercentage ¶

func (o *FindDeviceById200Response) SetProvisioningPercentage(v float32)

SetProvisioningPercentage gets a reference to the given float32 and assigns it to the ProvisioningPercentage field.

func (*FindDeviceById200Response) SetRootPassword ¶

func (o *FindDeviceById200Response) SetRootPassword(v string)

SetRootPassword gets a reference to the given string and assigns it to the RootPassword field.

func (*FindDeviceById200Response) SetShortId ¶

func (o *FindDeviceById200Response) SetShortId(v string)

SetShortId gets a reference to the given string and assigns it to the ShortId field.

func (*FindDeviceById200Response) SetSpotInstance ¶

func (o *FindDeviceById200Response) SetSpotInstance(v bool)

SetSpotInstance gets a reference to the given bool and assigns it to the SpotInstance field.

func (*FindDeviceById200Response) SetSpotPriceMax ¶

func (o *FindDeviceById200Response) SetSpotPriceMax(v float32)

SetSpotPriceMax gets a reference to the given float32 and assigns it to the SpotPriceMax field.

func (*FindDeviceById200Response) SetSshKeys ¶

SetSshKeys gets a reference to the given []FindBatchById200ResponseDevicesInner and assigns it to the SshKeys field.

func (*FindDeviceById200Response) SetState ¶

func (o *FindDeviceById200Response) SetState(v string)

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

func (*FindDeviceById200Response) SetSwitchUuid ¶

func (o *FindDeviceById200Response) SetSwitchUuid(v string)

SetSwitchUuid gets a reference to the given string and assigns it to the SwitchUuid field.

func (*FindDeviceById200Response) SetTags ¶

func (o *FindDeviceById200Response) SetTags(v []string)

SetTags gets a reference to the given []string and assigns it to the Tags field.

func (*FindDeviceById200Response) SetTerminationTime ¶

func (o *FindDeviceById200Response) SetTerminationTime(v time.Time)

SetTerminationTime gets a reference to the given time.Time and assigns it to the TerminationTime field.

func (*FindDeviceById200Response) SetUpdatedAt ¶

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

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

func (*FindDeviceById200Response) SetUser ¶

func (o *FindDeviceById200Response) SetUser(v string)

SetUser gets a reference to the given string and assigns it to the User field.

func (*FindDeviceById200Response) SetUserdata ¶

func (o *FindDeviceById200Response) SetUserdata(v string)

SetUserdata gets a reference to the given string and assigns it to the Userdata field.

func (*FindDeviceById200Response) SetVolumes ¶

SetVolumes gets a reference to the given []FindBatchById200ResponseDevicesInner and assigns it to the Volumes field.

type FindDeviceById200ResponseActionsInner ¶ added in v0.2.6

type FindDeviceById200ResponseActionsInner struct {
	Type *string `json:"type,omitempty"`
	Name *string `json:"name,omitempty"`
}

FindDeviceById200ResponseActionsInner struct for FindDeviceById200ResponseActionsInner

func NewFindDeviceById200ResponseActionsInner ¶ added in v0.2.6

func NewFindDeviceById200ResponseActionsInner() *FindDeviceById200ResponseActionsInner

NewFindDeviceById200ResponseActionsInner instantiates a new FindDeviceById200ResponseActionsInner 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 NewFindDeviceById200ResponseActionsInnerWithDefaults ¶ added in v0.2.6

func NewFindDeviceById200ResponseActionsInnerWithDefaults() *FindDeviceById200ResponseActionsInner

NewFindDeviceById200ResponseActionsInnerWithDefaults instantiates a new FindDeviceById200ResponseActionsInner 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 (*FindDeviceById200ResponseActionsInner) GetName ¶ added in v0.2.6

GetName returns the Name field value if set, zero value otherwise.

func (*FindDeviceById200ResponseActionsInner) GetNameOk ¶ added in v0.2.6

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 (*FindDeviceById200ResponseActionsInner) GetType ¶ added in v0.2.6

GetType returns the Type field value if set, zero value otherwise.

func (*FindDeviceById200ResponseActionsInner) GetTypeOk ¶ added in v0.2.6

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 (*FindDeviceById200ResponseActionsInner) HasName ¶ added in v0.2.6

HasName returns a boolean if a field has been set.

func (*FindDeviceById200ResponseActionsInner) HasType ¶ added in v0.2.6

HasType returns a boolean if a field has been set.

func (FindDeviceById200ResponseActionsInner) MarshalJSON ¶ added in v0.2.6

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

func (*FindDeviceById200ResponseActionsInner) SetName ¶ added in v0.2.6

SetName gets a reference to the given string and assigns it to the Name field.

func (*FindDeviceById200ResponseActionsInner) SetType ¶ added in v0.2.6

SetType gets a reference to the given string and assigns it to the Type field.

type FindDeviceById200ResponseCreatedBy ¶

type FindDeviceById200ResponseCreatedBy 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"`
}

FindDeviceById200ResponseCreatedBy struct for FindDeviceById200ResponseCreatedBy

func NewFindDeviceById200ResponseCreatedBy ¶

func NewFindDeviceById200ResponseCreatedBy(id string, shortId string) *FindDeviceById200ResponseCreatedBy

NewFindDeviceById200ResponseCreatedBy instantiates a new FindDeviceById200ResponseCreatedBy 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 NewFindDeviceById200ResponseCreatedByWithDefaults ¶

func NewFindDeviceById200ResponseCreatedByWithDefaults() *FindDeviceById200ResponseCreatedBy

NewFindDeviceById200ResponseCreatedByWithDefaults instantiates a new FindDeviceById200ResponseCreatedBy 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 (*FindDeviceById200ResponseCreatedBy) GetAvatarThumbUrl ¶

func (o *FindDeviceById200ResponseCreatedBy) GetAvatarThumbUrl() string

GetAvatarThumbUrl returns the AvatarThumbUrl field value if set, zero value otherwise.

func (*FindDeviceById200ResponseCreatedBy) GetAvatarThumbUrlOk ¶

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

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

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

func (*FindDeviceById200ResponseCreatedBy) GetCreatedAtOk ¶

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

GetEmail returns the Email field value if set, zero value otherwise.

func (*FindDeviceById200ResponseCreatedBy) GetEmailOk ¶

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

func (o *FindDeviceById200ResponseCreatedBy) GetFirstName() string

GetFirstName returns the FirstName field value if set, zero value otherwise.

func (*FindDeviceById200ResponseCreatedBy) GetFirstNameOk ¶

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

func (o *FindDeviceById200ResponseCreatedBy) GetFullName() string

GetFullName returns the FullName field value if set, zero value otherwise.

func (*FindDeviceById200ResponseCreatedBy) GetFullNameOk ¶

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

GetHref returns the Href field value if set, zero value otherwise.

func (*FindDeviceById200ResponseCreatedBy) GetHrefOk ¶

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

GetId returns the Id field value

func (*FindDeviceById200ResponseCreatedBy) GetIdOk ¶

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

func (*FindDeviceById200ResponseCreatedBy) GetLastName ¶

func (o *FindDeviceById200ResponseCreatedBy) GetLastName() string

GetLastName returns the LastName field value if set, zero value otherwise.

func (*FindDeviceById200ResponseCreatedBy) GetLastNameOk ¶

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

GetShortId returns the ShortId field value

func (*FindDeviceById200ResponseCreatedBy) GetShortIdOk ¶

func (o *FindDeviceById200ResponseCreatedBy) GetShortIdOk() (*string, bool)

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

func (*FindDeviceById200ResponseCreatedBy) GetUpdatedAt ¶

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

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

func (*FindDeviceById200ResponseCreatedBy) GetUpdatedAtOk ¶

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

func (o *FindDeviceById200ResponseCreatedBy) HasAvatarThumbUrl() bool

HasAvatarThumbUrl returns a boolean if a field has been set.

func (*FindDeviceById200ResponseCreatedBy) HasCreatedAt ¶

func (o *FindDeviceById200ResponseCreatedBy) HasCreatedAt() bool

HasCreatedAt returns a boolean if a field has been set.

func (*FindDeviceById200ResponseCreatedBy) HasEmail ¶

HasEmail returns a boolean if a field has been set.

func (*FindDeviceById200ResponseCreatedBy) HasFirstName ¶

func (o *FindDeviceById200ResponseCreatedBy) HasFirstName() bool

HasFirstName returns a boolean if a field has been set.

func (*FindDeviceById200ResponseCreatedBy) HasFullName ¶

func (o *FindDeviceById200ResponseCreatedBy) HasFullName() bool

HasFullName returns a boolean if a field has been set.

func (*FindDeviceById200ResponseCreatedBy) HasHref ¶

HasHref returns a boolean if a field has been set.

func (*FindDeviceById200ResponseCreatedBy) HasLastName ¶

func (o *FindDeviceById200ResponseCreatedBy) HasLastName() bool

HasLastName returns a boolean if a field has been set.

func (*FindDeviceById200ResponseCreatedBy) HasUpdatedAt ¶

func (o *FindDeviceById200ResponseCreatedBy) HasUpdatedAt() bool

HasUpdatedAt returns a boolean if a field has been set.

func (FindDeviceById200ResponseCreatedBy) MarshalJSON ¶

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

func (*FindDeviceById200ResponseCreatedBy) SetAvatarThumbUrl ¶

func (o *FindDeviceById200ResponseCreatedBy) SetAvatarThumbUrl(v string)

SetAvatarThumbUrl gets a reference to the given string and assigns it to the AvatarThumbUrl field.

func (*FindDeviceById200ResponseCreatedBy) SetCreatedAt ¶

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

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

func (*FindDeviceById200ResponseCreatedBy) SetEmail ¶

SetEmail gets a reference to the given string and assigns it to the Email field.

func (*FindDeviceById200ResponseCreatedBy) SetFirstName ¶

func (o *FindDeviceById200ResponseCreatedBy) SetFirstName(v string)

SetFirstName gets a reference to the given string and assigns it to the FirstName field.

func (*FindDeviceById200ResponseCreatedBy) SetFullName ¶

func (o *FindDeviceById200ResponseCreatedBy) SetFullName(v string)

SetFullName gets a reference to the given string and assigns it to the FullName field.

func (*FindDeviceById200ResponseCreatedBy) SetHref ¶

SetHref gets a reference to the given string and assigns it to the Href field.

func (*FindDeviceById200ResponseCreatedBy) SetId ¶

SetId sets field value

func (*FindDeviceById200ResponseCreatedBy) SetLastName ¶

func (o *FindDeviceById200ResponseCreatedBy) SetLastName(v string)

SetLastName gets a reference to the given string and assigns it to the LastName field.

func (*FindDeviceById200ResponseCreatedBy) SetShortId ¶

func (o *FindDeviceById200ResponseCreatedBy) SetShortId(v string)

SetShortId sets field value

func (*FindDeviceById200ResponseCreatedBy) SetUpdatedAt ¶

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

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

type FindDeviceById200ResponseCreatedByAllOf ¶

type FindDeviceById200ResponseCreatedByAllOf 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"`
}

FindDeviceById200ResponseCreatedByAllOf struct for FindDeviceById200ResponseCreatedByAllOf

func NewFindDeviceById200ResponseCreatedByAllOf ¶

func NewFindDeviceById200ResponseCreatedByAllOf(id string, shortId string) *FindDeviceById200ResponseCreatedByAllOf

NewFindDeviceById200ResponseCreatedByAllOf instantiates a new FindDeviceById200ResponseCreatedByAllOf 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 NewFindDeviceById200ResponseCreatedByAllOfWithDefaults ¶

func NewFindDeviceById200ResponseCreatedByAllOfWithDefaults() *FindDeviceById200ResponseCreatedByAllOf

NewFindDeviceById200ResponseCreatedByAllOfWithDefaults instantiates a new FindDeviceById200ResponseCreatedByAllOf 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 (*FindDeviceById200ResponseCreatedByAllOf) GetAvatarThumbUrl ¶

func (o *FindDeviceById200ResponseCreatedByAllOf) GetAvatarThumbUrl() string

GetAvatarThumbUrl returns the AvatarThumbUrl field value if set, zero value otherwise.

func (*FindDeviceById200ResponseCreatedByAllOf) GetAvatarThumbUrlOk ¶

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

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

func (*FindDeviceById200ResponseCreatedByAllOf) GetCreatedAtOk ¶

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

GetEmail returns the Email field value if set, zero value otherwise.

func (*FindDeviceById200ResponseCreatedByAllOf) GetEmailOk ¶

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 (*FindDeviceById200ResponseCreatedByAllOf) GetFirstName ¶

GetFirstName returns the FirstName field value if set, zero value otherwise.

func (*FindDeviceById200ResponseCreatedByAllOf) GetFirstNameOk ¶

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

GetFullName returns the FullName field value if set, zero value otherwise.

func (*FindDeviceById200ResponseCreatedByAllOf) GetFullNameOk ¶

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

GetHref returns the Href field value if set, zero value otherwise.

func (*FindDeviceById200ResponseCreatedByAllOf) GetHrefOk ¶

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 (*FindDeviceById200ResponseCreatedByAllOf) GetId ¶

GetId returns the Id field value

func (*FindDeviceById200ResponseCreatedByAllOf) GetIdOk ¶

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

func (*FindDeviceById200ResponseCreatedByAllOf) GetLastName ¶

GetLastName returns the LastName field value if set, zero value otherwise.

func (*FindDeviceById200ResponseCreatedByAllOf) GetLastNameOk ¶

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

GetShortId returns the ShortId field value

func (*FindDeviceById200ResponseCreatedByAllOf) GetShortIdOk ¶

func (o *FindDeviceById200ResponseCreatedByAllOf) GetShortIdOk() (*string, bool)

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

func (*FindDeviceById200ResponseCreatedByAllOf) GetUpdatedAt ¶

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

func (*FindDeviceById200ResponseCreatedByAllOf) GetUpdatedAtOk ¶

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

func (o *FindDeviceById200ResponseCreatedByAllOf) HasAvatarThumbUrl() bool

HasAvatarThumbUrl returns a boolean if a field has been set.

func (*FindDeviceById200ResponseCreatedByAllOf) HasCreatedAt ¶

HasCreatedAt returns a boolean if a field has been set.

func (*FindDeviceById200ResponseCreatedByAllOf) HasEmail ¶

HasEmail returns a boolean if a field has been set.

func (*FindDeviceById200ResponseCreatedByAllOf) HasFirstName ¶

HasFirstName returns a boolean if a field has been set.

func (*FindDeviceById200ResponseCreatedByAllOf) HasFullName ¶

HasFullName returns a boolean if a field has been set.

func (*FindDeviceById200ResponseCreatedByAllOf) HasHref ¶

HasHref returns a boolean if a field has been set.

func (*FindDeviceById200ResponseCreatedByAllOf) HasLastName ¶

HasLastName returns a boolean if a field has been set.

func (*FindDeviceById200ResponseCreatedByAllOf) HasUpdatedAt ¶

HasUpdatedAt returns a boolean if a field has been set.

func (FindDeviceById200ResponseCreatedByAllOf) MarshalJSON ¶

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

func (*FindDeviceById200ResponseCreatedByAllOf) SetAvatarThumbUrl ¶

func (o *FindDeviceById200ResponseCreatedByAllOf) SetAvatarThumbUrl(v string)

SetAvatarThumbUrl gets a reference to the given string and assigns it to the AvatarThumbUrl field.

func (*FindDeviceById200ResponseCreatedByAllOf) SetCreatedAt ¶

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

func (*FindDeviceById200ResponseCreatedByAllOf) SetEmail ¶

SetEmail gets a reference to the given string and assigns it to the Email field.

func (*FindDeviceById200ResponseCreatedByAllOf) SetFirstName ¶

SetFirstName gets a reference to the given string and assigns it to the FirstName field.

func (*FindDeviceById200ResponseCreatedByAllOf) SetFullName ¶

SetFullName gets a reference to the given string and assigns it to the FullName field.

func (*FindDeviceById200ResponseCreatedByAllOf) SetHref ¶

SetHref gets a reference to the given string and assigns it to the Href field.

func (*FindDeviceById200ResponseCreatedByAllOf) SetId ¶

SetId sets field value

func (*FindDeviceById200ResponseCreatedByAllOf) SetLastName ¶

SetLastName gets a reference to the given string and assigns it to the LastName field.

func (*FindDeviceById200ResponseCreatedByAllOf) SetShortId ¶

SetShortId sets field value

func (*FindDeviceById200ResponseCreatedByAllOf) SetUpdatedAt ¶

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

type FindDeviceById200ResponseFacility ¶

type FindDeviceById200ResponseFacility struct {
	Address  *FindDeviceById200ResponseFacilityAddress `json:"address,omitempty"`
	Code     *string                                   `json:"code,omitempty"`
	Features []string                                  `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    *FindDeviceById200ResponseFacilityMetro `json:"metro,omitempty"`
	Name     *string                                 `json:"name,omitempty"`
}

FindDeviceById200ResponseFacility struct for FindDeviceById200ResponseFacility

func NewFindDeviceById200ResponseFacility ¶

func NewFindDeviceById200ResponseFacility() *FindDeviceById200ResponseFacility

NewFindDeviceById200ResponseFacility instantiates a new FindDeviceById200ResponseFacility 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 NewFindDeviceById200ResponseFacilityWithDefaults ¶

func NewFindDeviceById200ResponseFacilityWithDefaults() *FindDeviceById200ResponseFacility

NewFindDeviceById200ResponseFacilityWithDefaults instantiates a new FindDeviceById200ResponseFacility 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 (*FindDeviceById200ResponseFacility) GetAddress ¶

GetAddress returns the Address field value if set, zero value otherwise.

func (*FindDeviceById200ResponseFacility) GetAddressOk ¶

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 (*FindDeviceById200ResponseFacility) GetCode ¶

GetCode returns the Code field value if set, zero value otherwise.

func (*FindDeviceById200ResponseFacility) GetCodeOk ¶

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

func (o *FindDeviceById200ResponseFacility) GetFeatures() []string

GetFeatures returns the Features field value if set, zero value otherwise.

func (*FindDeviceById200ResponseFacility) GetFeaturesOk ¶

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

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

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

func (o *FindDeviceById200ResponseFacility) GetIpRanges() []string

GetIpRanges returns the IpRanges field value if set, zero value otherwise.

func (*FindDeviceById200ResponseFacility) GetIpRangesOk ¶

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

GetMetro returns the Metro field value if set, zero value otherwise.

func (*FindDeviceById200ResponseFacility) GetMetroOk ¶

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 (*FindDeviceById200ResponseFacility) GetName ¶

GetName returns the Name field value if set, zero value otherwise.

func (*FindDeviceById200ResponseFacility) GetNameOk ¶

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

func (o *FindDeviceById200ResponseFacility) HasAddress() bool

HasAddress returns a boolean if a field has been set.

func (*FindDeviceById200ResponseFacility) HasCode ¶

HasCode returns a boolean if a field has been set.

func (*FindDeviceById200ResponseFacility) HasFeatures ¶

func (o *FindDeviceById200ResponseFacility) HasFeatures() bool

HasFeatures returns a boolean if a field has been set.

func (*FindDeviceById200ResponseFacility) HasId ¶

HasId returns a boolean if a field has been set.

func (*FindDeviceById200ResponseFacility) HasIpRanges ¶

func (o *FindDeviceById200ResponseFacility) HasIpRanges() bool

HasIpRanges returns a boolean if a field has been set.

func (*FindDeviceById200ResponseFacility) HasMetro ¶

HasMetro returns a boolean if a field has been set.

func (*FindDeviceById200ResponseFacility) HasName ¶

HasName returns a boolean if a field has been set.

func (FindDeviceById200ResponseFacility) MarshalJSON ¶

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

func (*FindDeviceById200ResponseFacility) SetAddress ¶

SetAddress gets a reference to the given FindDeviceById200ResponseFacilityAddress and assigns it to the Address field.

func (*FindDeviceById200ResponseFacility) SetCode ¶

SetCode gets a reference to the given string and assigns it to the Code field.

func (*FindDeviceById200ResponseFacility) SetFeatures ¶

func (o *FindDeviceById200ResponseFacility) SetFeatures(v []string)

SetFeatures gets a reference to the given []string and assigns it to the Features field.

func (*FindDeviceById200ResponseFacility) SetId ¶

SetId gets a reference to the given string and assigns it to the Id field.

func (*FindDeviceById200ResponseFacility) SetIpRanges ¶

func (o *FindDeviceById200ResponseFacility) SetIpRanges(v []string)

SetIpRanges gets a reference to the given []string and assigns it to the IpRanges field.

func (*FindDeviceById200ResponseFacility) SetMetro ¶

SetMetro gets a reference to the given FindDeviceById200ResponseFacilityMetro and assigns it to the Metro field.

func (*FindDeviceById200ResponseFacility) SetName ¶

SetName gets a reference to the given string and assigns it to the Name field.

type FindDeviceById200ResponseFacilityAddress ¶

type FindDeviceById200ResponseFacilityAddress struct {
	Address     string                                               `json:"address"`
	Address2    *string                                              `json:"address2,omitempty"`
	City        *string                                              `json:"city,omitempty"`
	Coordinates *FindDeviceById200ResponseFacilityAddressCoordinates `json:"coordinates,omitempty"`
	Country     string                                               `json:"country"`
	State       *string                                              `json:"state,omitempty"`
	ZipCode     string                                               `json:"zip_code"`
}

FindDeviceById200ResponseFacilityAddress struct for FindDeviceById200ResponseFacilityAddress

func NewFindDeviceById200ResponseFacilityAddress ¶

func NewFindDeviceById200ResponseFacilityAddress(address string, country string, zipCode string) *FindDeviceById200ResponseFacilityAddress

NewFindDeviceById200ResponseFacilityAddress instantiates a new FindDeviceById200ResponseFacilityAddress 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 NewFindDeviceById200ResponseFacilityAddressWithDefaults ¶

func NewFindDeviceById200ResponseFacilityAddressWithDefaults() *FindDeviceById200ResponseFacilityAddress

NewFindDeviceById200ResponseFacilityAddressWithDefaults instantiates a new FindDeviceById200ResponseFacilityAddress 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 (*FindDeviceById200ResponseFacilityAddress) GetAddress ¶

GetAddress returns the Address field value

func (*FindDeviceById200ResponseFacilityAddress) GetAddress2 ¶

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

func (*FindDeviceById200ResponseFacilityAddress) GetAddress2Ok ¶

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

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

func (*FindDeviceById200ResponseFacilityAddress) GetCity ¶

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

func (*FindDeviceById200ResponseFacilityAddress) GetCityOk ¶

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 (*FindDeviceById200ResponseFacilityAddress) GetCoordinates ¶

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

func (*FindDeviceById200ResponseFacilityAddress) GetCoordinatesOk ¶

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 (*FindDeviceById200ResponseFacilityAddress) GetCountry ¶

GetCountry returns the Country field value

func (*FindDeviceById200ResponseFacilityAddress) GetCountryOk ¶

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

func (*FindDeviceById200ResponseFacilityAddress) GetState ¶

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

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

GetZipCode returns the ZipCode field value

func (*FindDeviceById200ResponseFacilityAddress) GetZipCodeOk ¶

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

func (*FindDeviceById200ResponseFacilityAddress) HasAddress2 ¶

HasAddress2 returns a boolean if a field has been set.

func (*FindDeviceById200ResponseFacilityAddress) HasCity ¶

HasCity returns a boolean if a field has been set.

func (*FindDeviceById200ResponseFacilityAddress) HasCoordinates ¶

func (o *FindDeviceById200ResponseFacilityAddress) HasCoordinates() bool

HasCoordinates returns a boolean if a field has been set.

func (*FindDeviceById200ResponseFacilityAddress) HasState ¶

HasState returns a boolean if a field has been set.

func (FindDeviceById200ResponseFacilityAddress) MarshalJSON ¶

func (*FindDeviceById200ResponseFacilityAddress) SetAddress ¶

SetAddress sets field value

func (*FindDeviceById200ResponseFacilityAddress) SetAddress2 ¶

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

func (*FindDeviceById200ResponseFacilityAddress) SetCity ¶

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

func (*FindDeviceById200ResponseFacilityAddress) SetCoordinates ¶

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

func (*FindDeviceById200ResponseFacilityAddress) SetCountry ¶

SetCountry sets field value

func (*FindDeviceById200ResponseFacilityAddress) SetState ¶

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

func (*FindDeviceById200ResponseFacilityAddress) SetZipCode ¶

SetZipCode sets field value

type FindDeviceById200ResponseFacilityAddressCoordinates ¶

type FindDeviceById200ResponseFacilityAddressCoordinates struct {
	Latitude  *string `json:"latitude,omitempty"`
	Longitude *string `json:"longitude,omitempty"`
}

FindDeviceById200ResponseFacilityAddressCoordinates struct for FindDeviceById200ResponseFacilityAddressCoordinates

func NewFindDeviceById200ResponseFacilityAddressCoordinates ¶

func NewFindDeviceById200ResponseFacilityAddressCoordinates() *FindDeviceById200ResponseFacilityAddressCoordinates

NewFindDeviceById200ResponseFacilityAddressCoordinates instantiates a new FindDeviceById200ResponseFacilityAddressCoordinates 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 NewFindDeviceById200ResponseFacilityAddressCoordinatesWithDefaults ¶

func NewFindDeviceById200ResponseFacilityAddressCoordinatesWithDefaults() *FindDeviceById200ResponseFacilityAddressCoordinates

NewFindDeviceById200ResponseFacilityAddressCoordinatesWithDefaults instantiates a new FindDeviceById200ResponseFacilityAddressCoordinates 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 (*FindDeviceById200ResponseFacilityAddressCoordinates) GetLatitude ¶

GetLatitude returns the Latitude field value if set, zero value otherwise.

func (*FindDeviceById200ResponseFacilityAddressCoordinates) GetLatitudeOk ¶

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 (*FindDeviceById200ResponseFacilityAddressCoordinates) GetLongitude ¶

GetLongitude returns the Longitude field value if set, zero value otherwise.

func (*FindDeviceById200ResponseFacilityAddressCoordinates) GetLongitudeOk ¶

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 (*FindDeviceById200ResponseFacilityAddressCoordinates) HasLatitude ¶

HasLatitude returns a boolean if a field has been set.

func (*FindDeviceById200ResponseFacilityAddressCoordinates) HasLongitude ¶

HasLongitude returns a boolean if a field has been set.

func (FindDeviceById200ResponseFacilityAddressCoordinates) MarshalJSON ¶

func (*FindDeviceById200ResponseFacilityAddressCoordinates) SetLatitude ¶

SetLatitude gets a reference to the given string and assigns it to the Latitude field.

func (*FindDeviceById200ResponseFacilityAddressCoordinates) SetLongitude ¶

SetLongitude gets a reference to the given string and assigns it to the Longitude field.

type FindDeviceById200ResponseFacilityMetro ¶

type FindDeviceById200ResponseFacilityMetro struct {
	Code    *string `json:"code,omitempty"`
	Country *string `json:"country,omitempty"`
	Id      *string `json:"id,omitempty"`
	Name    *string `json:"name,omitempty"`
}

FindDeviceById200ResponseFacilityMetro struct for FindDeviceById200ResponseFacilityMetro

func NewFindDeviceById200ResponseFacilityMetro ¶

func NewFindDeviceById200ResponseFacilityMetro() *FindDeviceById200ResponseFacilityMetro

NewFindDeviceById200ResponseFacilityMetro instantiates a new FindDeviceById200ResponseFacilityMetro 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 NewFindDeviceById200ResponseFacilityMetroWithDefaults ¶

func NewFindDeviceById200ResponseFacilityMetroWithDefaults() *FindDeviceById200ResponseFacilityMetro

NewFindDeviceById200ResponseFacilityMetroWithDefaults instantiates a new FindDeviceById200ResponseFacilityMetro 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 (*FindDeviceById200ResponseFacilityMetro) GetCode ¶

GetCode returns the Code field value if set, zero value otherwise.

func (*FindDeviceById200ResponseFacilityMetro) GetCodeOk ¶

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 (*FindDeviceById200ResponseFacilityMetro) GetCountry ¶

GetCountry returns the Country field value if set, zero value otherwise.

func (*FindDeviceById200ResponseFacilityMetro) GetCountryOk ¶

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

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

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

GetName returns the Name field value if set, zero value otherwise.

func (*FindDeviceById200ResponseFacilityMetro) GetNameOk ¶

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 (*FindDeviceById200ResponseFacilityMetro) HasCode ¶

HasCode returns a boolean if a field has been set.

func (*FindDeviceById200ResponseFacilityMetro) HasCountry ¶

HasCountry returns a boolean if a field has been set.

func (*FindDeviceById200ResponseFacilityMetro) HasId ¶

HasId returns a boolean if a field has been set.

func (*FindDeviceById200ResponseFacilityMetro) HasName ¶

HasName returns a boolean if a field has been set.

func (FindDeviceById200ResponseFacilityMetro) MarshalJSON ¶

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

func (*FindDeviceById200ResponseFacilityMetro) SetCode ¶

SetCode gets a reference to the given string and assigns it to the Code field.

func (*FindDeviceById200ResponseFacilityMetro) SetCountry ¶

SetCountry gets a reference to the given string and assigns it to the Country field.

func (*FindDeviceById200ResponseFacilityMetro) SetId ¶

SetId gets a reference to the given string and assigns it to the Id field.

func (*FindDeviceById200ResponseFacilityMetro) SetName ¶

SetName gets a reference to the given string and assigns it to the Name field.

type FindDeviceById200ResponseIpAddressesInner ¶

type FindDeviceById200ResponseIpAddressesInner struct {
	Address       *string                                               `json:"address,omitempty"`
	AddressFamily *int32                                                `json:"address_family,omitempty"`
	AssignedTo    *FindBatchById200ResponseDevicesInner                 `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         *FindDeviceById200ResponseIpAddressesInnerMetro       `json:"metro,omitempty"`
	Netmask       *string                                               `json:"netmask,omitempty"`
	Network       *string                                               `json:"network,omitempty"`
	ParentBlock   *FindDeviceById200ResponseIpAddressesInnerParentBlock `json:"parent_block,omitempty"`
	Public        *bool                                                 `json:"public,omitempty"`
}

FindDeviceById200ResponseIpAddressesInner struct for FindDeviceById200ResponseIpAddressesInner

func NewFindDeviceById200ResponseIpAddressesInner ¶

func NewFindDeviceById200ResponseIpAddressesInner() *FindDeviceById200ResponseIpAddressesInner

NewFindDeviceById200ResponseIpAddressesInner instantiates a new FindDeviceById200ResponseIpAddressesInner 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 NewFindDeviceById200ResponseIpAddressesInnerWithDefaults ¶

func NewFindDeviceById200ResponseIpAddressesInnerWithDefaults() *FindDeviceById200ResponseIpAddressesInner

NewFindDeviceById200ResponseIpAddressesInnerWithDefaults instantiates a new FindDeviceById200ResponseIpAddressesInner 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 (*FindDeviceById200ResponseIpAddressesInner) GetAddress ¶

GetAddress returns the Address field value if set, zero value otherwise.

func (*FindDeviceById200ResponseIpAddressesInner) GetAddressFamily ¶

func (o *FindDeviceById200ResponseIpAddressesInner) GetAddressFamily() int32

GetAddressFamily returns the AddressFamily field value if set, zero value otherwise.

func (*FindDeviceById200ResponseIpAddressesInner) GetAddressFamilyOk ¶

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

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 (*FindDeviceById200ResponseIpAddressesInner) GetAssignedTo ¶

GetAssignedTo returns the AssignedTo field value if set, zero value otherwise.

func (*FindDeviceById200ResponseIpAddressesInner) GetAssignedToOk ¶

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 (*FindDeviceById200ResponseIpAddressesInner) GetCidr ¶

GetCidr returns the Cidr field value if set, zero value otherwise.

func (*FindDeviceById200ResponseIpAddressesInner) GetCidrOk ¶

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 (*FindDeviceById200ResponseIpAddressesInner) GetCreatedAt ¶

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

func (*FindDeviceById200ResponseIpAddressesInner) GetCreatedAtOk ¶

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

GetEnabled returns the Enabled field value if set, zero value otherwise.

func (*FindDeviceById200ResponseIpAddressesInner) GetEnabledOk ¶

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

GetGateway returns the Gateway field value if set, zero value otherwise.

func (*FindDeviceById200ResponseIpAddressesInner) GetGatewayOk ¶

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 (*FindDeviceById200ResponseIpAddressesInner) GetGlobalIp ¶

GetGlobalIp returns the GlobalIp field value if set, zero value otherwise.

func (*FindDeviceById200ResponseIpAddressesInner) GetGlobalIpOk ¶

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

GetHref returns the Href field value if set, zero value otherwise.

func (*FindDeviceById200ResponseIpAddressesInner) GetHrefOk ¶

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 (*FindDeviceById200ResponseIpAddressesInner) GetId ¶

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

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

GetManageable returns the Manageable field value if set, zero value otherwise.

func (*FindDeviceById200ResponseIpAddressesInner) GetManageableOk ¶

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

GetManagement returns the Management field value if set, zero value otherwise.

func (*FindDeviceById200ResponseIpAddressesInner) GetManagementOk ¶

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

GetMetro returns the Metro field value if set, zero value otherwise.

func (*FindDeviceById200ResponseIpAddressesInner) GetMetroOk ¶

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 (*FindDeviceById200ResponseIpAddressesInner) GetNetmask ¶

GetNetmask returns the Netmask field value if set, zero value otherwise.

func (*FindDeviceById200ResponseIpAddressesInner) GetNetmaskOk ¶

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 (*FindDeviceById200ResponseIpAddressesInner) GetNetwork ¶

GetNetwork returns the Network field value if set, zero value otherwise.

func (*FindDeviceById200ResponseIpAddressesInner) GetNetworkOk ¶

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 (*FindDeviceById200ResponseIpAddressesInner) GetParentBlock ¶

GetParentBlock returns the ParentBlock field value if set, zero value otherwise.

func (*FindDeviceById200ResponseIpAddressesInner) GetParentBlockOk ¶

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 (*FindDeviceById200ResponseIpAddressesInner) GetPublic ¶

GetPublic returns the Public field value if set, zero value otherwise.

func (*FindDeviceById200ResponseIpAddressesInner) GetPublicOk ¶

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 (*FindDeviceById200ResponseIpAddressesInner) HasAddress ¶

HasAddress returns a boolean if a field has been set.

func (*FindDeviceById200ResponseIpAddressesInner) HasAddressFamily ¶

func (o *FindDeviceById200ResponseIpAddressesInner) HasAddressFamily() bool

HasAddressFamily returns a boolean if a field has been set.

func (*FindDeviceById200ResponseIpAddressesInner) HasAssignedTo ¶

HasAssignedTo returns a boolean if a field has been set.

func (*FindDeviceById200ResponseIpAddressesInner) HasCidr ¶

HasCidr returns a boolean if a field has been set.

func (*FindDeviceById200ResponseIpAddressesInner) HasCreatedAt ¶

HasCreatedAt returns a boolean if a field has been set.

func (*FindDeviceById200ResponseIpAddressesInner) HasEnabled ¶

HasEnabled returns a boolean if a field has been set.

func (*FindDeviceById200ResponseIpAddressesInner) HasGateway ¶

HasGateway returns a boolean if a field has been set.

func (*FindDeviceById200ResponseIpAddressesInner) HasGlobalIp ¶

HasGlobalIp returns a boolean if a field has been set.

func (*FindDeviceById200ResponseIpAddressesInner) HasHref ¶

HasHref returns a boolean if a field has been set.

func (*FindDeviceById200ResponseIpAddressesInner) HasId ¶

HasId returns a boolean if a field has been set.

func (*FindDeviceById200ResponseIpAddressesInner) HasManageable ¶

HasManageable returns a boolean if a field has been set.

func (*FindDeviceById200ResponseIpAddressesInner) HasManagement ¶

HasManagement returns a boolean if a field has been set.

func (*FindDeviceById200ResponseIpAddressesInner) HasMetro ¶

HasMetro returns a boolean if a field has been set.

func (*FindDeviceById200ResponseIpAddressesInner) HasNetmask ¶

HasNetmask returns a boolean if a field has been set.

func (*FindDeviceById200ResponseIpAddressesInner) HasNetwork ¶

HasNetwork returns a boolean if a field has been set.

func (*FindDeviceById200ResponseIpAddressesInner) HasParentBlock ¶

func (o *FindDeviceById200ResponseIpAddressesInner) HasParentBlock() bool

HasParentBlock returns a boolean if a field has been set.

func (*FindDeviceById200ResponseIpAddressesInner) HasPublic ¶

HasPublic returns a boolean if a field has been set.

func (FindDeviceById200ResponseIpAddressesInner) MarshalJSON ¶

func (*FindDeviceById200ResponseIpAddressesInner) SetAddress ¶

SetAddress gets a reference to the given string and assigns it to the Address field.

func (*FindDeviceById200ResponseIpAddressesInner) SetAddressFamily ¶

func (o *FindDeviceById200ResponseIpAddressesInner) SetAddressFamily(v int32)

SetAddressFamily gets a reference to the given int32 and assigns it to the AddressFamily field.

func (*FindDeviceById200ResponseIpAddressesInner) SetAssignedTo ¶

SetAssignedTo gets a reference to the given FindBatchById200ResponseDevicesInner and assigns it to the AssignedTo field.

func (*FindDeviceById200ResponseIpAddressesInner) SetCidr ¶

SetCidr gets a reference to the given int32 and assigns it to the Cidr field.

func (*FindDeviceById200ResponseIpAddressesInner) SetCreatedAt ¶

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

func (*FindDeviceById200ResponseIpAddressesInner) SetEnabled ¶

SetEnabled gets a reference to the given bool and assigns it to the Enabled field.

func (*FindDeviceById200ResponseIpAddressesInner) SetGateway ¶

SetGateway gets a reference to the given string and assigns it to the Gateway field.

func (*FindDeviceById200ResponseIpAddressesInner) SetGlobalIp ¶

SetGlobalIp gets a reference to the given bool and assigns it to the GlobalIp field.

func (*FindDeviceById200ResponseIpAddressesInner) SetHref ¶

SetHref gets a reference to the given string and assigns it to the Href field.

func (*FindDeviceById200ResponseIpAddressesInner) SetId ¶

SetId gets a reference to the given string and assigns it to the Id field.

func (*FindDeviceById200ResponseIpAddressesInner) SetManageable ¶

func (o *FindDeviceById200ResponseIpAddressesInner) SetManageable(v bool)

SetManageable gets a reference to the given bool and assigns it to the Manageable field.

func (*FindDeviceById200ResponseIpAddressesInner) SetManagement ¶

func (o *FindDeviceById200ResponseIpAddressesInner) SetManagement(v bool)

SetManagement gets a reference to the given bool and assigns it to the Management field.

func (*FindDeviceById200ResponseIpAddressesInner) SetMetro ¶

SetMetro gets a reference to the given FindDeviceById200ResponseIpAddressesInnerMetro and assigns it to the Metro field.

func (*FindDeviceById200ResponseIpAddressesInner) SetNetmask ¶

SetNetmask gets a reference to the given string and assigns it to the Netmask field.

func (*FindDeviceById200ResponseIpAddressesInner) SetNetwork ¶

SetNetwork gets a reference to the given string and assigns it to the Network field.

func (*FindDeviceById200ResponseIpAddressesInner) SetParentBlock ¶

SetParentBlock gets a reference to the given FindDeviceById200ResponseIpAddressesInnerParentBlock and assigns it to the ParentBlock field.

func (*FindDeviceById200ResponseIpAddressesInner) SetPublic ¶

SetPublic gets a reference to the given bool and assigns it to the Public field.

type FindDeviceById200ResponseIpAddressesInnerMetro ¶

type FindDeviceById200ResponseIpAddressesInnerMetro struct {
	Code    *string `json:"code,omitempty"`
	Country *string `json:"country,omitempty"`
	Id      *string `json:"id,omitempty"`
	Name    *string `json:"name,omitempty"`
}

FindDeviceById200ResponseIpAddressesInnerMetro struct for FindDeviceById200ResponseIpAddressesInnerMetro

func NewFindDeviceById200ResponseIpAddressesInnerMetro ¶

func NewFindDeviceById200ResponseIpAddressesInnerMetro() *FindDeviceById200ResponseIpAddressesInnerMetro

NewFindDeviceById200ResponseIpAddressesInnerMetro instantiates a new FindDeviceById200ResponseIpAddressesInnerMetro 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 NewFindDeviceById200ResponseIpAddressesInnerMetroWithDefaults ¶

func NewFindDeviceById200ResponseIpAddressesInnerMetroWithDefaults() *FindDeviceById200ResponseIpAddressesInnerMetro

NewFindDeviceById200ResponseIpAddressesInnerMetroWithDefaults instantiates a new FindDeviceById200ResponseIpAddressesInnerMetro 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 (*FindDeviceById200ResponseIpAddressesInnerMetro) GetCode ¶

GetCode returns the Code field value if set, zero value otherwise.

func (*FindDeviceById200ResponseIpAddressesInnerMetro) GetCodeOk ¶

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 (*FindDeviceById200ResponseIpAddressesInnerMetro) GetCountry ¶

GetCountry returns the Country field value if set, zero value otherwise.

func (*FindDeviceById200ResponseIpAddressesInnerMetro) GetCountryOk ¶

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 (*FindDeviceById200ResponseIpAddressesInnerMetro) GetId ¶

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

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

GetName returns the Name field value if set, zero value otherwise.

func (*FindDeviceById200ResponseIpAddressesInnerMetro) GetNameOk ¶

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 (*FindDeviceById200ResponseIpAddressesInnerMetro) HasCode ¶

HasCode returns a boolean if a field has been set.

func (*FindDeviceById200ResponseIpAddressesInnerMetro) HasCountry ¶

HasCountry returns a boolean if a field has been set.

func (*FindDeviceById200ResponseIpAddressesInnerMetro) HasId ¶

HasId returns a boolean if a field has been set.

func (*FindDeviceById200ResponseIpAddressesInnerMetro) HasName ¶

HasName returns a boolean if a field has been set.

func (FindDeviceById200ResponseIpAddressesInnerMetro) MarshalJSON ¶

func (*FindDeviceById200ResponseIpAddressesInnerMetro) SetCode ¶

SetCode gets a reference to the given string and assigns it to the Code field.

func (*FindDeviceById200ResponseIpAddressesInnerMetro) SetCountry ¶

SetCountry gets a reference to the given string and assigns it to the Country field.

func (*FindDeviceById200ResponseIpAddressesInnerMetro) SetId ¶

SetId gets a reference to the given string and assigns it to the Id field.

func (*FindDeviceById200ResponseIpAddressesInnerMetro) SetName ¶

SetName gets a reference to the given string and assigns it to the Name field.

type FindDeviceById200ResponseIpAddressesInnerParentBlock ¶

type FindDeviceById200ResponseIpAddressesInnerParentBlock struct {
	Cidr    *int32  `json:"cidr,omitempty"`
	Href    *string `json:"href,omitempty"`
	Netmask *string `json:"netmask,omitempty"`
	Network *string `json:"network,omitempty"`
}

FindDeviceById200ResponseIpAddressesInnerParentBlock struct for FindDeviceById200ResponseIpAddressesInnerParentBlock

func NewFindDeviceById200ResponseIpAddressesInnerParentBlock ¶

func NewFindDeviceById200ResponseIpAddressesInnerParentBlock() *FindDeviceById200ResponseIpAddressesInnerParentBlock

NewFindDeviceById200ResponseIpAddressesInnerParentBlock instantiates a new FindDeviceById200ResponseIpAddressesInnerParentBlock 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 NewFindDeviceById200ResponseIpAddressesInnerParentBlockWithDefaults ¶

func NewFindDeviceById200ResponseIpAddressesInnerParentBlockWithDefaults() *FindDeviceById200ResponseIpAddressesInnerParentBlock

NewFindDeviceById200ResponseIpAddressesInnerParentBlockWithDefaults instantiates a new FindDeviceById200ResponseIpAddressesInnerParentBlock 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 (*FindDeviceById200ResponseIpAddressesInnerParentBlock) GetCidr ¶

GetCidr returns the Cidr field value if set, zero value otherwise.

func (*FindDeviceById200ResponseIpAddressesInnerParentBlock) GetCidrOk ¶

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 (*FindDeviceById200ResponseIpAddressesInnerParentBlock) GetHref ¶

GetHref returns the Href field value if set, zero value otherwise.

func (*FindDeviceById200ResponseIpAddressesInnerParentBlock) GetHrefOk ¶

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 (*FindDeviceById200ResponseIpAddressesInnerParentBlock) GetNetmask ¶

GetNetmask returns the Netmask field value if set, zero value otherwise.

func (*FindDeviceById200ResponseIpAddressesInnerParentBlock) GetNetmaskOk ¶

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 (*FindDeviceById200ResponseIpAddressesInnerParentBlock) GetNetwork ¶

GetNetwork returns the Network field value if set, zero value otherwise.

func (*FindDeviceById200ResponseIpAddressesInnerParentBlock) GetNetworkOk ¶

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 (*FindDeviceById200ResponseIpAddressesInnerParentBlock) HasCidr ¶

HasCidr returns a boolean if a field has been set.

func (*FindDeviceById200ResponseIpAddressesInnerParentBlock) HasHref ¶

HasHref returns a boolean if a field has been set.

func (*FindDeviceById200ResponseIpAddressesInnerParentBlock) HasNetmask ¶

HasNetmask returns a boolean if a field has been set.

func (*FindDeviceById200ResponseIpAddressesInnerParentBlock) HasNetwork ¶

HasNetwork returns a boolean if a field has been set.

func (FindDeviceById200ResponseIpAddressesInnerParentBlock) MarshalJSON ¶

func (*FindDeviceById200ResponseIpAddressesInnerParentBlock) SetCidr ¶

SetCidr gets a reference to the given int32 and assigns it to the Cidr field.

func (*FindDeviceById200ResponseIpAddressesInnerParentBlock) SetHref ¶

SetHref gets a reference to the given string and assigns it to the Href field.

func (*FindDeviceById200ResponseIpAddressesInnerParentBlock) SetNetmask ¶

SetNetmask gets a reference to the given string and assigns it to the Netmask field.

func (*FindDeviceById200ResponseIpAddressesInnerParentBlock) SetNetwork ¶

SetNetwork gets a reference to the given string and assigns it to the Network field.

type FindDeviceById200ResponseNetworkPortsInner ¶ added in v0.2.6

type FindDeviceById200ResponseNetworkPortsInner struct {
	Bond *FindDeviceById200ResponseNetworkPortsInnerBond `json:"bond,omitempty"`
	Data *FindDeviceById200ResponseNetworkPortsInnerData `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 is either \"NetworkBondPort\" for bond ports or \"NetworkPort\" for bondable ethernet ports
	Type *string `json:"type,omitempty"`
	// Composite network type of the bond
	NetworkType          *string                                                         `json:"network_type,omitempty"`
	NativeVirtualNetwork *FindDeviceById200ResponseNetworkPortsInnerNativeVirtualNetwork `json:"native_virtual_network,omitempty"`
	VirtualNetworks      []FindBatchById200ResponseDevicesInner                          `json:"virtual_networks,omitempty"`
}

FindDeviceById200ResponseNetworkPortsInner Port is a hardware port associated with a reserved or instantiated hardware device.

func NewFindDeviceById200ResponseNetworkPortsInner ¶ added in v0.2.6

func NewFindDeviceById200ResponseNetworkPortsInner() *FindDeviceById200ResponseNetworkPortsInner

NewFindDeviceById200ResponseNetworkPortsInner instantiates a new FindDeviceById200ResponseNetworkPortsInner 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 NewFindDeviceById200ResponseNetworkPortsInnerWithDefaults ¶ added in v0.2.6

func NewFindDeviceById200ResponseNetworkPortsInnerWithDefaults() *FindDeviceById200ResponseNetworkPortsInner

NewFindDeviceById200ResponseNetworkPortsInnerWithDefaults instantiates a new FindDeviceById200ResponseNetworkPortsInner 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 (*FindDeviceById200ResponseNetworkPortsInner) GetBond ¶ added in v0.2.6

GetBond returns the Bond field value if set, zero value otherwise.

func (*FindDeviceById200ResponseNetworkPortsInner) GetBondOk ¶ added in v0.2.6

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 (*FindDeviceById200ResponseNetworkPortsInner) GetData ¶ added in v0.2.6

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

func (*FindDeviceById200ResponseNetworkPortsInner) GetDataOk ¶ added in v0.2.6

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 (*FindDeviceById200ResponseNetworkPortsInner) GetDisbondOperationSupported ¶ added in v0.2.6

func (o *FindDeviceById200ResponseNetworkPortsInner) GetDisbondOperationSupported() bool

GetDisbondOperationSupported returns the DisbondOperationSupported field value if set, zero value otherwise.

func (*FindDeviceById200ResponseNetworkPortsInner) GetDisbondOperationSupportedOk ¶ added in v0.2.6

func (o *FindDeviceById200ResponseNetworkPortsInner) 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 (*FindDeviceById200ResponseNetworkPortsInner) GetHref ¶ added in v0.2.6

GetHref returns the Href field value if set, zero value otherwise.

func (*FindDeviceById200ResponseNetworkPortsInner) GetHrefOk ¶ added in v0.2.6

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 (*FindDeviceById200ResponseNetworkPortsInner) GetId ¶ added in v0.2.6

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

func (*FindDeviceById200ResponseNetworkPortsInner) GetIdOk ¶ added in v0.2.6

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 (*FindDeviceById200ResponseNetworkPortsInner) GetName ¶ added in v0.2.6

GetName returns the Name field value if set, zero value otherwise.

func (*FindDeviceById200ResponseNetworkPortsInner) GetNameOk ¶ added in v0.2.6

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 (*FindDeviceById200ResponseNetworkPortsInner) GetNativeVirtualNetwork ¶ added in v0.2.6

GetNativeVirtualNetwork returns the NativeVirtualNetwork field value if set, zero value otherwise.

func (*FindDeviceById200ResponseNetworkPortsInner) GetNativeVirtualNetworkOk ¶ added in v0.2.6

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 (*FindDeviceById200ResponseNetworkPortsInner) GetNetworkType ¶ added in v0.2.6

GetNetworkType returns the NetworkType field value if set, zero value otherwise.

func (*FindDeviceById200ResponseNetworkPortsInner) GetNetworkTypeOk ¶ added in v0.2.6

func (o *FindDeviceById200ResponseNetworkPortsInner) GetNetworkTypeOk() (*string, 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 (*FindDeviceById200ResponseNetworkPortsInner) GetType ¶ added in v0.2.6

GetType returns the Type field value if set, zero value otherwise.

func (*FindDeviceById200ResponseNetworkPortsInner) GetTypeOk ¶ added in v0.2.6

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 (*FindDeviceById200ResponseNetworkPortsInner) GetVirtualNetworks ¶ added in v0.2.6

GetVirtualNetworks returns the VirtualNetworks field value if set, zero value otherwise.

func (*FindDeviceById200ResponseNetworkPortsInner) GetVirtualNetworksOk ¶ added in v0.2.6

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 (*FindDeviceById200ResponseNetworkPortsInner) HasBond ¶ added in v0.2.6

HasBond returns a boolean if a field has been set.

func (*FindDeviceById200ResponseNetworkPortsInner) HasData ¶ added in v0.2.6

HasData returns a boolean if a field has been set.

func (*FindDeviceById200ResponseNetworkPortsInner) HasDisbondOperationSupported ¶ added in v0.2.6

func (o *FindDeviceById200ResponseNetworkPortsInner) HasDisbondOperationSupported() bool

HasDisbondOperationSupported returns a boolean if a field has been set.

func (*FindDeviceById200ResponseNetworkPortsInner) HasHref ¶ added in v0.2.6

HasHref returns a boolean if a field has been set.

func (*FindDeviceById200ResponseNetworkPortsInner) HasId ¶ added in v0.2.6

HasId returns a boolean if a field has been set.

func (*FindDeviceById200ResponseNetworkPortsInner) HasName ¶ added in v0.2.6

HasName returns a boolean if a field has been set.

func (*FindDeviceById200ResponseNetworkPortsInner) HasNativeVirtualNetwork ¶ added in v0.2.6

func (o *FindDeviceById200ResponseNetworkPortsInner) HasNativeVirtualNetwork() bool

HasNativeVirtualNetwork returns a boolean if a field has been set.

func (*FindDeviceById200ResponseNetworkPortsInner) HasNetworkType ¶ added in v0.2.6

HasNetworkType returns a boolean if a field has been set.

func (*FindDeviceById200ResponseNetworkPortsInner) HasType ¶ added in v0.2.6

HasType returns a boolean if a field has been set.

func (*FindDeviceById200ResponseNetworkPortsInner) HasVirtualNetworks ¶ added in v0.2.6

func (o *FindDeviceById200ResponseNetworkPortsInner) HasVirtualNetworks() bool

HasVirtualNetworks returns a boolean if a field has been set.

func (FindDeviceById200ResponseNetworkPortsInner) MarshalJSON ¶ added in v0.2.6

func (*FindDeviceById200ResponseNetworkPortsInner) SetBond ¶ added in v0.2.6

SetBond gets a reference to the given FindDeviceById200ResponseNetworkPortsInnerBond and assigns it to the Bond field.

func (*FindDeviceById200ResponseNetworkPortsInner) SetData ¶ added in v0.2.6

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

func (*FindDeviceById200ResponseNetworkPortsInner) SetDisbondOperationSupported ¶ added in v0.2.6

func (o *FindDeviceById200ResponseNetworkPortsInner) SetDisbondOperationSupported(v bool)

SetDisbondOperationSupported gets a reference to the given bool and assigns it to the DisbondOperationSupported field.

func (*FindDeviceById200ResponseNetworkPortsInner) SetHref ¶ added in v0.2.6

SetHref gets a reference to the given string and assigns it to the Href field.

func (*FindDeviceById200ResponseNetworkPortsInner) SetId ¶ added in v0.2.6

SetId gets a reference to the given string and assigns it to the Id field.

func (*FindDeviceById200ResponseNetworkPortsInner) SetName ¶ added in v0.2.6

SetName gets a reference to the given string and assigns it to the Name field.

func (*FindDeviceById200ResponseNetworkPortsInner) SetNativeVirtualNetwork ¶ added in v0.2.6

SetNativeVirtualNetwork gets a reference to the given FindDeviceById200ResponseNetworkPortsInnerNativeVirtualNetwork and assigns it to the NativeVirtualNetwork field.

func (*FindDeviceById200ResponseNetworkPortsInner) SetNetworkType ¶ added in v0.2.6

SetNetworkType gets a reference to the given string and assigns it to the NetworkType field.

func (*FindDeviceById200ResponseNetworkPortsInner) SetType ¶ added in v0.2.6

SetType gets a reference to the given string and assigns it to the Type field.

func (*FindDeviceById200ResponseNetworkPortsInner) SetVirtualNetworks ¶ added in v0.2.6

SetVirtualNetworks gets a reference to the given []FindBatchById200ResponseDevicesInner and assigns it to the VirtualNetworks field.

type FindDeviceById200ResponseNetworkPortsInnerBond ¶ added in v0.2.6

type FindDeviceById200ResponseNetworkPortsInnerBond 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"`
}

FindDeviceById200ResponseNetworkPortsInnerBond struct for FindDeviceById200ResponseNetworkPortsInnerBond

func NewFindDeviceById200ResponseNetworkPortsInnerBond ¶ added in v0.2.6

func NewFindDeviceById200ResponseNetworkPortsInnerBond() *FindDeviceById200ResponseNetworkPortsInnerBond

NewFindDeviceById200ResponseNetworkPortsInnerBond instantiates a new FindDeviceById200ResponseNetworkPortsInnerBond 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 NewFindDeviceById200ResponseNetworkPortsInnerBondWithDefaults ¶ added in v0.2.6

func NewFindDeviceById200ResponseNetworkPortsInnerBondWithDefaults() *FindDeviceById200ResponseNetworkPortsInnerBond

NewFindDeviceById200ResponseNetworkPortsInnerBondWithDefaults instantiates a new FindDeviceById200ResponseNetworkPortsInnerBond 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 (*FindDeviceById200ResponseNetworkPortsInnerBond) GetId ¶ added in v0.2.6

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

func (*FindDeviceById200ResponseNetworkPortsInnerBond) GetIdOk ¶ added in v0.2.6

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 (*FindDeviceById200ResponseNetworkPortsInnerBond) GetName ¶ added in v0.2.6

GetName returns the Name field value if set, zero value otherwise.

func (*FindDeviceById200ResponseNetworkPortsInnerBond) GetNameOk ¶ added in v0.2.6

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 (*FindDeviceById200ResponseNetworkPortsInnerBond) HasId ¶ added in v0.2.6

HasId returns a boolean if a field has been set.

func (*FindDeviceById200ResponseNetworkPortsInnerBond) HasName ¶ added in v0.2.6

HasName returns a boolean if a field has been set.

func (FindDeviceById200ResponseNetworkPortsInnerBond) MarshalJSON ¶ added in v0.2.6

func (*FindDeviceById200ResponseNetworkPortsInnerBond) SetId ¶ added in v0.2.6

SetId gets a reference to the given string and assigns it to the Id field.

func (*FindDeviceById200ResponseNetworkPortsInnerBond) SetName ¶ added in v0.2.6

SetName gets a reference to the given string and assigns it to the Name field.

type FindDeviceById200ResponseNetworkPortsInnerData ¶ added in v0.2.6

type FindDeviceById200ResponseNetworkPortsInnerData 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"`
}

FindDeviceById200ResponseNetworkPortsInnerData struct for FindDeviceById200ResponseNetworkPortsInnerData

func NewFindDeviceById200ResponseNetworkPortsInnerData ¶ added in v0.2.6

func NewFindDeviceById200ResponseNetworkPortsInnerData() *FindDeviceById200ResponseNetworkPortsInnerData

NewFindDeviceById200ResponseNetworkPortsInnerData instantiates a new FindDeviceById200ResponseNetworkPortsInnerData 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 NewFindDeviceById200ResponseNetworkPortsInnerDataWithDefaults ¶ added in v0.2.6

func NewFindDeviceById200ResponseNetworkPortsInnerDataWithDefaults() *FindDeviceById200ResponseNetworkPortsInnerData

NewFindDeviceById200ResponseNetworkPortsInnerDataWithDefaults instantiates a new FindDeviceById200ResponseNetworkPortsInnerData 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 (*FindDeviceById200ResponseNetworkPortsInnerData) GetBonded ¶ added in v0.2.6

GetBonded returns the Bonded field value if set, zero value otherwise.

func (*FindDeviceById200ResponseNetworkPortsInnerData) GetBondedOk ¶ added in v0.2.6

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 (*FindDeviceById200ResponseNetworkPortsInnerData) GetMac ¶ added in v0.2.6

GetMac returns the Mac field value if set, zero value otherwise.

func (*FindDeviceById200ResponseNetworkPortsInnerData) GetMacOk ¶ added in v0.2.6

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 (*FindDeviceById200ResponseNetworkPortsInnerData) HasBonded ¶ added in v0.2.6

HasBonded returns a boolean if a field has been set.

func (*FindDeviceById200ResponseNetworkPortsInnerData) HasMac ¶ added in v0.2.6

HasMac returns a boolean if a field has been set.

func (FindDeviceById200ResponseNetworkPortsInnerData) MarshalJSON ¶ added in v0.2.6

func (*FindDeviceById200ResponseNetworkPortsInnerData) SetBonded ¶ added in v0.2.6

SetBonded gets a reference to the given bool and assigns it to the Bonded field.

func (*FindDeviceById200ResponseNetworkPortsInnerData) SetMac ¶ added in v0.2.6

SetMac gets a reference to the given string and assigns it to the Mac field.

type FindDeviceById200ResponseNetworkPortsInnerNativeVirtualNetwork ¶ added in v0.2.6

type FindDeviceById200ResponseNetworkPortsInnerNativeVirtualNetwork struct {
	AssignedTo *FindBatchById200ResponseDevicesInner `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                 *FindBatchById200ResponseDevicesInner `json:"facility,omitempty"`
	Href                     *string                               `json:"href,omitempty"`
	Id                       *string                               `json:"id,omitempty"`
	// A list of instances with ports currently associated to this Virtual Network.
	Instances []FindBatchById200ResponseDevicesInner `json:"instances,omitempty"`
	// A list of metal gateways currently associated to this Virtual Network.
	MetalGateways []FindDeviceById200ResponseNetworkPortsInnerNativeVirtualNetworkMetalGatewaysInner `json:"metal_gateways,omitempty"`
	Metro         *FindBatchById200ResponseDevicesInner                                              `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"`
}

FindDeviceById200ResponseNetworkPortsInnerNativeVirtualNetwork struct for FindDeviceById200ResponseNetworkPortsInnerNativeVirtualNetwork

func NewFindDeviceById200ResponseNetworkPortsInnerNativeVirtualNetwork ¶ added in v0.2.6

func NewFindDeviceById200ResponseNetworkPortsInnerNativeVirtualNetwork() *FindDeviceById200ResponseNetworkPortsInnerNativeVirtualNetwork

NewFindDeviceById200ResponseNetworkPortsInnerNativeVirtualNetwork instantiates a new FindDeviceById200ResponseNetworkPortsInnerNativeVirtualNetwork 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 NewFindDeviceById200ResponseNetworkPortsInnerNativeVirtualNetworkWithDefaults ¶ added in v0.2.6

func NewFindDeviceById200ResponseNetworkPortsInnerNativeVirtualNetworkWithDefaults() *FindDeviceById200ResponseNetworkPortsInnerNativeVirtualNetwork

NewFindDeviceById200ResponseNetworkPortsInnerNativeVirtualNetworkWithDefaults instantiates a new FindDeviceById200ResponseNetworkPortsInnerNativeVirtualNetwork 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 (*FindDeviceById200ResponseNetworkPortsInnerNativeVirtualNetwork) GetAssignedTo ¶ added in v0.2.6

GetAssignedTo returns the AssignedTo field value if set, zero value otherwise.

func (*FindDeviceById200ResponseNetworkPortsInnerNativeVirtualNetwork) GetAssignedToOk ¶ added in v0.2.6

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 (*FindDeviceById200ResponseNetworkPortsInnerNativeVirtualNetwork) GetAssignedToVirtualCircuit ¶ added in v0.2.6

GetAssignedToVirtualCircuit returns the AssignedToVirtualCircuit field value if set, zero value otherwise.

func (*FindDeviceById200ResponseNetworkPortsInnerNativeVirtualNetwork) GetAssignedToVirtualCircuitOk ¶ added in v0.2.6

func (o *FindDeviceById200ResponseNetworkPortsInnerNativeVirtualNetwork) 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 (*FindDeviceById200ResponseNetworkPortsInnerNativeVirtualNetwork) GetDescription ¶ added in v0.2.6

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

func (*FindDeviceById200ResponseNetworkPortsInnerNativeVirtualNetwork) GetDescriptionOk ¶ added in v0.2.6

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 (*FindDeviceById200ResponseNetworkPortsInnerNativeVirtualNetwork) GetFacility ¶ added in v0.2.6

GetFacility returns the Facility field value if set, zero value otherwise.

func (*FindDeviceById200ResponseNetworkPortsInnerNativeVirtualNetwork) GetFacilityOk ¶ added in v0.2.6

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 (*FindDeviceById200ResponseNetworkPortsInnerNativeVirtualNetwork) GetHref ¶ added in v0.2.6

GetHref returns the Href field value if set, zero value otherwise.

func (*FindDeviceById200ResponseNetworkPortsInnerNativeVirtualNetwork) GetHrefOk ¶ added in v0.2.6

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 (*FindDeviceById200ResponseNetworkPortsInnerNativeVirtualNetwork) GetId ¶ added in v0.2.6

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

func (*FindDeviceById200ResponseNetworkPortsInnerNativeVirtualNetwork) GetIdOk ¶ added in v0.2.6

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 (*FindDeviceById200ResponseNetworkPortsInnerNativeVirtualNetwork) GetInstances ¶ added in v0.2.6

GetInstances returns the Instances field value if set, zero value otherwise.

func (*FindDeviceById200ResponseNetworkPortsInnerNativeVirtualNetwork) GetInstancesOk ¶ added in v0.2.6

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 (*FindDeviceById200ResponseNetworkPortsInnerNativeVirtualNetwork) GetMetalGateways ¶ added in v0.2.6

GetMetalGateways returns the MetalGateways field value if set, zero value otherwise.

func (*FindDeviceById200ResponseNetworkPortsInnerNativeVirtualNetwork) GetMetalGatewaysOk ¶ added in v0.2.6

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 (*FindDeviceById200ResponseNetworkPortsInnerNativeVirtualNetwork) GetMetro ¶ added in v0.2.6

GetMetro returns the Metro field value if set, zero value otherwise.

func (*FindDeviceById200ResponseNetworkPortsInnerNativeVirtualNetwork) GetMetroCode ¶ added in v0.2.6

GetMetroCode returns the MetroCode field value if set, zero value otherwise.

func (*FindDeviceById200ResponseNetworkPortsInnerNativeVirtualNetwork) GetMetroCodeOk ¶ added in v0.2.6

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 (*FindDeviceById200ResponseNetworkPortsInnerNativeVirtualNetwork) GetMetroOk ¶ added in v0.2.6

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 (*FindDeviceById200ResponseNetworkPortsInnerNativeVirtualNetwork) GetVxlan ¶ added in v0.2.6

GetVxlan returns the Vxlan field value if set, zero value otherwise.

func (*FindDeviceById200ResponseNetworkPortsInnerNativeVirtualNetwork) GetVxlanOk ¶ added in v0.2.6

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 (*FindDeviceById200ResponseNetworkPortsInnerNativeVirtualNetwork) HasAssignedTo ¶ added in v0.2.6

HasAssignedTo returns a boolean if a field has been set.

func (*FindDeviceById200ResponseNetworkPortsInnerNativeVirtualNetwork) HasAssignedToVirtualCircuit ¶ added in v0.2.6

HasAssignedToVirtualCircuit returns a boolean if a field has been set.

func (*FindDeviceById200ResponseNetworkPortsInnerNativeVirtualNetwork) HasDescription ¶ added in v0.2.6

HasDescription returns a boolean if a field has been set.

func (*FindDeviceById200ResponseNetworkPortsInnerNativeVirtualNetwork) HasFacility ¶ added in v0.2.6

HasFacility returns a boolean if a field has been set.

func (*FindDeviceById200ResponseNetworkPortsInnerNativeVirtualNetwork) HasHref ¶ added in v0.2.6

HasHref returns a boolean if a field has been set.

func (*FindDeviceById200ResponseNetworkPortsInnerNativeVirtualNetwork) HasId ¶ added in v0.2.6

HasId returns a boolean if a field has been set.

func (*FindDeviceById200ResponseNetworkPortsInnerNativeVirtualNetwork) HasInstances ¶ added in v0.2.6

HasInstances returns a boolean if a field has been set.

func (*FindDeviceById200ResponseNetworkPortsInnerNativeVirtualNetwork) HasMetalGateways ¶ added in v0.2.6

HasMetalGateways returns a boolean if a field has been set.

func (*FindDeviceById200ResponseNetworkPortsInnerNativeVirtualNetwork) HasMetro ¶ added in v0.2.6

HasMetro returns a boolean if a field has been set.

func (*FindDeviceById200ResponseNetworkPortsInnerNativeVirtualNetwork) HasMetroCode ¶ added in v0.2.6

HasMetroCode returns a boolean if a field has been set.

func (*FindDeviceById200ResponseNetworkPortsInnerNativeVirtualNetwork) HasVxlan ¶ added in v0.2.6

HasVxlan returns a boolean if a field has been set.

func (FindDeviceById200ResponseNetworkPortsInnerNativeVirtualNetwork) MarshalJSON ¶ added in v0.2.6

func (*FindDeviceById200ResponseNetworkPortsInnerNativeVirtualNetwork) SetAssignedTo ¶ added in v0.2.6

SetAssignedTo gets a reference to the given FindBatchById200ResponseDevicesInner and assigns it to the AssignedTo field.

func (*FindDeviceById200ResponseNetworkPortsInnerNativeVirtualNetwork) SetAssignedToVirtualCircuit ¶ added in v0.2.6

func (o *FindDeviceById200ResponseNetworkPortsInnerNativeVirtualNetwork) SetAssignedToVirtualCircuit(v bool)

SetAssignedToVirtualCircuit gets a reference to the given bool and assigns it to the AssignedToVirtualCircuit field.

func (*FindDeviceById200ResponseNetworkPortsInnerNativeVirtualNetwork) SetDescription ¶ added in v0.2.6

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

func (*FindDeviceById200ResponseNetworkPortsInnerNativeVirtualNetwork) SetFacility ¶ added in v0.2.6

SetFacility gets a reference to the given FindBatchById200ResponseDevicesInner and assigns it to the Facility field.

func (*FindDeviceById200ResponseNetworkPortsInnerNativeVirtualNetwork) SetHref ¶ added in v0.2.6

SetHref gets a reference to the given string and assigns it to the Href field.

func (*FindDeviceById200ResponseNetworkPortsInnerNativeVirtualNetwork) SetId ¶ added in v0.2.6

SetId gets a reference to the given string and assigns it to the Id field.

func (*FindDeviceById200ResponseNetworkPortsInnerNativeVirtualNetwork) SetInstances ¶ added in v0.2.6

SetInstances gets a reference to the given []FindBatchById200ResponseDevicesInner and assigns it to the Instances field.

func (*FindDeviceById200ResponseNetworkPortsInnerNativeVirtualNetwork) SetMetalGateways ¶ added in v0.2.6

SetMetalGateways gets a reference to the given []FindDeviceById200ResponseNetworkPortsInnerNativeVirtualNetworkMetalGatewaysInner and assigns it to the MetalGateways field.

func (*FindDeviceById200ResponseNetworkPortsInnerNativeVirtualNetwork) SetMetro ¶ added in v0.2.6

SetMetro gets a reference to the given FindBatchById200ResponseDevicesInner and assigns it to the Metro field.

func (*FindDeviceById200ResponseNetworkPortsInnerNativeVirtualNetwork) SetMetroCode ¶ added in v0.2.6

SetMetroCode gets a reference to the given string and assigns it to the MetroCode field.

func (*FindDeviceById200ResponseNetworkPortsInnerNativeVirtualNetwork) SetVxlan ¶ added in v0.2.6

SetVxlan gets a reference to the given int32 and assigns it to the Vxlan field.

type FindDeviceById200ResponseNetworkPortsInnerNativeVirtualNetworkMetalGatewaysInner ¶ added in v0.2.6

type FindDeviceById200ResponseNetworkPortsInnerNativeVirtualNetworkMetalGatewaysInner 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"`
	// 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.
	State     *string    `json:"state,omitempty"`
	UpdatedAt *time.Time `json:"updated_at,omitempty"`
	// The VLAN id of the Virtual Network record associated to this Metal Gateway. Example: 1001.
	Vlan *float32 `json:"vlan,omitempty"`
}

FindDeviceById200ResponseNetworkPortsInnerNativeVirtualNetworkMetalGatewaysInner struct for FindDeviceById200ResponseNetworkPortsInnerNativeVirtualNetworkMetalGatewaysInner

func NewFindDeviceById200ResponseNetworkPortsInnerNativeVirtualNetworkMetalGatewaysInner ¶ added in v0.2.6

func NewFindDeviceById200ResponseNetworkPortsInnerNativeVirtualNetworkMetalGatewaysInner() *FindDeviceById200ResponseNetworkPortsInnerNativeVirtualNetworkMetalGatewaysInner

NewFindDeviceById200ResponseNetworkPortsInnerNativeVirtualNetworkMetalGatewaysInner instantiates a new FindDeviceById200ResponseNetworkPortsInnerNativeVirtualNetworkMetalGatewaysInner 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 NewFindDeviceById200ResponseNetworkPortsInnerNativeVirtualNetworkMetalGatewaysInnerWithDefaults ¶ added in v0.2.6

func NewFindDeviceById200ResponseNetworkPortsInnerNativeVirtualNetworkMetalGatewaysInnerWithDefaults() *FindDeviceById200ResponseNetworkPortsInnerNativeVirtualNetworkMetalGatewaysInner

NewFindDeviceById200ResponseNetworkPortsInnerNativeVirtualNetworkMetalGatewaysInnerWithDefaults instantiates a new FindDeviceById200ResponseNetworkPortsInnerNativeVirtualNetworkMetalGatewaysInner 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 (*FindDeviceById200ResponseNetworkPortsInnerNativeVirtualNetworkMetalGatewaysInner) GetCreatedAt ¶ added in v0.2.6

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

func (*FindDeviceById200ResponseNetworkPortsInnerNativeVirtualNetworkMetalGatewaysInner) GetCreatedAtOk ¶ added in v0.2.6

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 (*FindDeviceById200ResponseNetworkPortsInnerNativeVirtualNetworkMetalGatewaysInner) GetGatewayAddress ¶ added in v0.2.6

GetGatewayAddress returns the GatewayAddress field value if set, zero value otherwise.

func (*FindDeviceById200ResponseNetworkPortsInnerNativeVirtualNetworkMetalGatewaysInner) GetGatewayAddressOk ¶ added in v0.2.6

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 (*FindDeviceById200ResponseNetworkPortsInnerNativeVirtualNetworkMetalGatewaysInner) GetHref ¶ added in v0.2.6

GetHref returns the Href field value if set, zero value otherwise.

func (*FindDeviceById200ResponseNetworkPortsInnerNativeVirtualNetworkMetalGatewaysInner) GetHrefOk ¶ added in v0.2.6

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 (*FindDeviceById200ResponseNetworkPortsInnerNativeVirtualNetworkMetalGatewaysInner) GetId ¶ added in v0.2.6

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

func (*FindDeviceById200ResponseNetworkPortsInnerNativeVirtualNetworkMetalGatewaysInner) GetIdOk ¶ added in v0.2.6

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 (*FindDeviceById200ResponseNetworkPortsInnerNativeVirtualNetworkMetalGatewaysInner) GetState ¶ added in v0.2.6

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

func (*FindDeviceById200ResponseNetworkPortsInnerNativeVirtualNetworkMetalGatewaysInner) GetStateOk ¶ added in v0.2.6

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 (*FindDeviceById200ResponseNetworkPortsInnerNativeVirtualNetworkMetalGatewaysInner) GetUpdatedAt ¶ added in v0.2.6

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

func (*FindDeviceById200ResponseNetworkPortsInnerNativeVirtualNetworkMetalGatewaysInner) GetUpdatedAtOk ¶ added in v0.2.6

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 (*FindDeviceById200ResponseNetworkPortsInnerNativeVirtualNetworkMetalGatewaysInner) GetVlan ¶ added in v0.2.6

GetVlan returns the Vlan field value if set, zero value otherwise.

func (*FindDeviceById200ResponseNetworkPortsInnerNativeVirtualNetworkMetalGatewaysInner) GetVlanOk ¶ added in v0.2.6

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 (*FindDeviceById200ResponseNetworkPortsInnerNativeVirtualNetworkMetalGatewaysInner) HasCreatedAt ¶ added in v0.2.6

HasCreatedAt returns a boolean if a field has been set.

func (*FindDeviceById200ResponseNetworkPortsInnerNativeVirtualNetworkMetalGatewaysInner) HasGatewayAddress ¶ added in v0.2.6

HasGatewayAddress returns a boolean if a field has been set.

func (*FindDeviceById200ResponseNetworkPortsInnerNativeVirtualNetworkMetalGatewaysInner) HasHref ¶ added in v0.2.6

HasHref returns a boolean if a field has been set.

func (*FindDeviceById200ResponseNetworkPortsInnerNativeVirtualNetworkMetalGatewaysInner) HasId ¶ added in v0.2.6

HasId returns a boolean if a field has been set.

func (*FindDeviceById200ResponseNetworkPortsInnerNativeVirtualNetworkMetalGatewaysInner) HasState ¶ added in v0.2.6

HasState returns a boolean if a field has been set.

func (*FindDeviceById200ResponseNetworkPortsInnerNativeVirtualNetworkMetalGatewaysInner) HasUpdatedAt ¶ added in v0.2.6

HasUpdatedAt returns a boolean if a field has been set.

func (*FindDeviceById200ResponseNetworkPortsInnerNativeVirtualNetworkMetalGatewaysInner) HasVlan ¶ added in v0.2.6

HasVlan returns a boolean if a field has been set.

func (FindDeviceById200ResponseNetworkPortsInnerNativeVirtualNetworkMetalGatewaysInner) MarshalJSON ¶ added in v0.2.6

func (*FindDeviceById200ResponseNetworkPortsInnerNativeVirtualNetworkMetalGatewaysInner) SetCreatedAt ¶ added in v0.2.6

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

func (*FindDeviceById200ResponseNetworkPortsInnerNativeVirtualNetworkMetalGatewaysInner) SetGatewayAddress ¶ added in v0.2.6

SetGatewayAddress gets a reference to the given string and assigns it to the GatewayAddress field.

func (*FindDeviceById200ResponseNetworkPortsInnerNativeVirtualNetworkMetalGatewaysInner) SetHref ¶ added in v0.2.6

SetHref gets a reference to the given string and assigns it to the Href field.

func (*FindDeviceById200ResponseNetworkPortsInnerNativeVirtualNetworkMetalGatewaysInner) SetId ¶ added in v0.2.6

SetId gets a reference to the given string and assigns it to the Id field.

func (*FindDeviceById200ResponseNetworkPortsInnerNativeVirtualNetworkMetalGatewaysInner) SetState ¶ added in v0.2.6

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

func (*FindDeviceById200ResponseNetworkPortsInnerNativeVirtualNetworkMetalGatewaysInner) SetUpdatedAt ¶ added in v0.2.6

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

func (*FindDeviceById200ResponseNetworkPortsInnerNativeVirtualNetworkMetalGatewaysInner) SetVlan ¶ added in v0.2.6

SetVlan gets a reference to the given float32 and assigns it to the Vlan field.

type FindDeviceById200ResponseOperatingSystem ¶

type FindDeviceById200ResponseOperatingSystem struct {
	Distro *string `json:"distro,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"`
}

FindDeviceById200ResponseOperatingSystem struct for FindDeviceById200ResponseOperatingSystem

func NewFindDeviceById200ResponseOperatingSystem ¶

func NewFindDeviceById200ResponseOperatingSystem() *FindDeviceById200ResponseOperatingSystem

NewFindDeviceById200ResponseOperatingSystem instantiates a new FindDeviceById200ResponseOperatingSystem 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 NewFindDeviceById200ResponseOperatingSystemWithDefaults ¶

func NewFindDeviceById200ResponseOperatingSystemWithDefaults() *FindDeviceById200ResponseOperatingSystem

NewFindDeviceById200ResponseOperatingSystemWithDefaults instantiates a new FindDeviceById200ResponseOperatingSystem 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 (*FindDeviceById200ResponseOperatingSystem) GetDistro ¶

GetDistro returns the Distro field value if set, zero value otherwise.

func (*FindDeviceById200ResponseOperatingSystem) GetDistroOk ¶

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 (*FindDeviceById200ResponseOperatingSystem) GetId ¶

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

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

GetLicensed returns the Licensed field value if set, zero value otherwise.

func (*FindDeviceById200ResponseOperatingSystem) GetLicensedOk ¶

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

GetName returns the Name field value if set, zero value otherwise.

func (*FindDeviceById200ResponseOperatingSystem) GetNameOk ¶

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 (*FindDeviceById200ResponseOperatingSystem) GetPreinstallable ¶

func (o *FindDeviceById200ResponseOperatingSystem) GetPreinstallable() bool

GetPreinstallable returns the Preinstallable field value if set, zero value otherwise.

func (*FindDeviceById200ResponseOperatingSystem) GetPreinstallableOk ¶

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

func (o *FindDeviceById200ResponseOperatingSystem) GetPricing() map[string]interface{}

GetPricing returns the Pricing field value if set, zero value otherwise.

func (*FindDeviceById200ResponseOperatingSystem) GetPricingOk ¶

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

func (o *FindDeviceById200ResponseOperatingSystem) GetProvisionableOn() []string

GetProvisionableOn returns the ProvisionableOn field value if set, zero value otherwise.

func (*FindDeviceById200ResponseOperatingSystem) GetProvisionableOnOk ¶

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

GetSlug returns the Slug field value if set, zero value otherwise.

func (*FindDeviceById200ResponseOperatingSystem) GetSlugOk ¶

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 (*FindDeviceById200ResponseOperatingSystem) GetVersion ¶

GetVersion returns the Version field value if set, zero value otherwise.

func (*FindDeviceById200ResponseOperatingSystem) GetVersionOk ¶

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 (*FindDeviceById200ResponseOperatingSystem) HasDistro ¶

HasDistro returns a boolean if a field has been set.

func (*FindDeviceById200ResponseOperatingSystem) HasId ¶

HasId returns a boolean if a field has been set.

func (*FindDeviceById200ResponseOperatingSystem) HasLicensed ¶

HasLicensed returns a boolean if a field has been set.

func (*FindDeviceById200ResponseOperatingSystem) HasName ¶

HasName returns a boolean if a field has been set.

func (*FindDeviceById200ResponseOperatingSystem) HasPreinstallable ¶

func (o *FindDeviceById200ResponseOperatingSystem) HasPreinstallable() bool

HasPreinstallable returns a boolean if a field has been set.

func (*FindDeviceById200ResponseOperatingSystem) HasPricing ¶

HasPricing returns a boolean if a field has been set.

func (*FindDeviceById200ResponseOperatingSystem) HasProvisionableOn ¶

func (o *FindDeviceById200ResponseOperatingSystem) HasProvisionableOn() bool

HasProvisionableOn returns a boolean if a field has been set.

func (*FindDeviceById200ResponseOperatingSystem) HasSlug ¶

HasSlug returns a boolean if a field has been set.

func (*FindDeviceById200ResponseOperatingSystem) HasVersion ¶

HasVersion returns a boolean if a field has been set.

func (FindDeviceById200ResponseOperatingSystem) MarshalJSON ¶

func (*FindDeviceById200ResponseOperatingSystem) SetDistro ¶

SetDistro gets a reference to the given string and assigns it to the Distro field.

func (*FindDeviceById200ResponseOperatingSystem) SetId ¶

SetId gets a reference to the given string and assigns it to the Id field.

func (*FindDeviceById200ResponseOperatingSystem) SetLicensed ¶

SetLicensed gets a reference to the given bool and assigns it to the Licensed field.

func (*FindDeviceById200ResponseOperatingSystem) SetName ¶

SetName gets a reference to the given string and assigns it to the Name field.

func (*FindDeviceById200ResponseOperatingSystem) SetPreinstallable ¶

func (o *FindDeviceById200ResponseOperatingSystem) SetPreinstallable(v bool)

SetPreinstallable gets a reference to the given bool and assigns it to the Preinstallable field.

func (*FindDeviceById200ResponseOperatingSystem) SetPricing ¶

func (o *FindDeviceById200ResponseOperatingSystem) SetPricing(v map[string]interface{})

SetPricing gets a reference to the given map[string]interface{} and assigns it to the Pricing field.

func (*FindDeviceById200ResponseOperatingSystem) SetProvisionableOn ¶

func (o *FindDeviceById200ResponseOperatingSystem) SetProvisionableOn(v []string)

SetProvisionableOn gets a reference to the given []string and assigns it to the ProvisionableOn field.

func (*FindDeviceById200ResponseOperatingSystem) SetSlug ¶

SetSlug gets a reference to the given string and assigns it to the Slug field.

func (*FindDeviceById200ResponseOperatingSystem) SetVersion ¶

SetVersion gets a reference to the given string and assigns it to the Version field.

type FindDeviceById200ResponsePlan ¶

type FindDeviceById200ResponsePlan struct {
	// Shows which facilities the plan is available in, and the facility-based price if it is different from the default price.
	AvailableIn []FindDeviceById200ResponsePlanAvailableInInner `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 []FindDeviceById200ResponsePlanAvailableInMetrosInner `json:"available_in_metros,omitempty"`
	Class             *string                                               `json:"class,omitempty"`
	Description       *string                                               `json:"description,omitempty"`
	DeploymentTypes   []string                                              `json:"deployment_types,omitempty"`
	Id                *string                                               `json:"id,omitempty"`
	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             *FindDeviceById200ResponsePlanSpecs                   `json:"specs,omitempty"`
	// The plan type
	Type *string `json:"type,omitempty"`
}

FindDeviceById200ResponsePlan struct for FindDeviceById200ResponsePlan

func NewFindDeviceById200ResponsePlan ¶

func NewFindDeviceById200ResponsePlan() *FindDeviceById200ResponsePlan

NewFindDeviceById200ResponsePlan instantiates a new FindDeviceById200ResponsePlan 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 NewFindDeviceById200ResponsePlanWithDefaults ¶

func NewFindDeviceById200ResponsePlanWithDefaults() *FindDeviceById200ResponsePlan

NewFindDeviceById200ResponsePlanWithDefaults instantiates a new FindDeviceById200ResponsePlan 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 (*FindDeviceById200ResponsePlan) GetAvailableIn ¶

GetAvailableIn returns the AvailableIn field value if set, zero value otherwise.

func (*FindDeviceById200ResponsePlan) GetAvailableInMetros ¶

GetAvailableInMetros returns the AvailableInMetros field value if set, zero value otherwise.

func (*FindDeviceById200ResponsePlan) GetAvailableInMetrosOk ¶

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 (*FindDeviceById200ResponsePlan) GetAvailableInOk ¶

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 (*FindDeviceById200ResponsePlan) GetClass ¶

func (o *FindDeviceById200ResponsePlan) GetClass() string

GetClass returns the Class field value if set, zero value otherwise.

func (*FindDeviceById200ResponsePlan) GetClassOk ¶

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

func (o *FindDeviceById200ResponsePlan) GetDeploymentTypes() []string

GetDeploymentTypes returns the DeploymentTypes field value if set, zero value otherwise.

func (*FindDeviceById200ResponsePlan) GetDeploymentTypesOk ¶

func (o *FindDeviceById200ResponsePlan) GetDeploymentTypesOk() ([]string, 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 (*FindDeviceById200ResponsePlan) GetDescription ¶

func (o *FindDeviceById200ResponsePlan) GetDescription() string

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

func (*FindDeviceById200ResponsePlan) GetDescriptionOk ¶

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

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

func (*FindDeviceById200ResponsePlan) GetIdOk ¶

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

func (o *FindDeviceById200ResponsePlan) GetLegacy() bool

GetLegacy returns the Legacy field value if set, zero value otherwise.

func (*FindDeviceById200ResponsePlan) GetLegacyOk ¶

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

GetLine returns the Line field value if set, zero value otherwise.

func (*FindDeviceById200ResponsePlan) GetLineOk ¶

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

GetName returns the Name field value if set, zero value otherwise.

func (*FindDeviceById200ResponsePlan) GetNameOk ¶

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

func (o *FindDeviceById200ResponsePlan) GetPricing() map[string]interface{}

GetPricing returns the Pricing field value if set, zero value otherwise.

func (*FindDeviceById200ResponsePlan) GetPricingOk ¶

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

GetSlug returns the Slug field value if set, zero value otherwise.

func (*FindDeviceById200ResponsePlan) GetSlugOk ¶

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

GetSpecs returns the Specs field value if set, zero value otherwise.

func (*FindDeviceById200ResponsePlan) GetSpecsOk ¶

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 (*FindDeviceById200ResponsePlan) GetType ¶

GetType returns the Type field value if set, zero value otherwise.

func (*FindDeviceById200ResponsePlan) GetTypeOk ¶

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

func (o *FindDeviceById200ResponsePlan) HasAvailableIn() bool

HasAvailableIn returns a boolean if a field has been set.

func (*FindDeviceById200ResponsePlan) HasAvailableInMetros ¶

func (o *FindDeviceById200ResponsePlan) HasAvailableInMetros() bool

HasAvailableInMetros returns a boolean if a field has been set.

func (*FindDeviceById200ResponsePlan) HasClass ¶

func (o *FindDeviceById200ResponsePlan) HasClass() bool

HasClass returns a boolean if a field has been set.

func (*FindDeviceById200ResponsePlan) HasDeploymentTypes ¶

func (o *FindDeviceById200ResponsePlan) HasDeploymentTypes() bool

HasDeploymentTypes returns a boolean if a field has been set.

func (*FindDeviceById200ResponsePlan) HasDescription ¶

func (o *FindDeviceById200ResponsePlan) HasDescription() bool

HasDescription returns a boolean if a field has been set.

func (*FindDeviceById200ResponsePlan) HasId ¶

HasId returns a boolean if a field has been set.

func (*FindDeviceById200ResponsePlan) HasLegacy ¶

func (o *FindDeviceById200ResponsePlan) HasLegacy() bool

HasLegacy returns a boolean if a field has been set.

func (*FindDeviceById200ResponsePlan) HasLine ¶

func (o *FindDeviceById200ResponsePlan) HasLine() bool

HasLine returns a boolean if a field has been set.

func (*FindDeviceById200ResponsePlan) HasName ¶

func (o *FindDeviceById200ResponsePlan) HasName() bool

HasName returns a boolean if a field has been set.

func (*FindDeviceById200ResponsePlan) HasPricing ¶

func (o *FindDeviceById200ResponsePlan) HasPricing() bool

HasPricing returns a boolean if a field has been set.

func (*FindDeviceById200ResponsePlan) HasSlug ¶

func (o *FindDeviceById200ResponsePlan) HasSlug() bool

HasSlug returns a boolean if a field has been set.

func (*FindDeviceById200ResponsePlan) HasSpecs ¶

func (o *FindDeviceById200ResponsePlan) HasSpecs() bool

HasSpecs returns a boolean if a field has been set.

func (*FindDeviceById200ResponsePlan) HasType ¶

func (o *FindDeviceById200ResponsePlan) HasType() bool

HasType returns a boolean if a field has been set.

func (FindDeviceById200ResponsePlan) MarshalJSON ¶

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

func (*FindDeviceById200ResponsePlan) SetAvailableIn ¶

SetAvailableIn gets a reference to the given []FindDeviceById200ResponsePlanAvailableInInner and assigns it to the AvailableIn field.

func (*FindDeviceById200ResponsePlan) SetAvailableInMetros ¶

SetAvailableInMetros gets a reference to the given []FindDeviceById200ResponsePlanAvailableInMetrosInner and assigns it to the AvailableInMetros field.

func (*FindDeviceById200ResponsePlan) SetClass ¶

func (o *FindDeviceById200ResponsePlan) SetClass(v string)

SetClass gets a reference to the given string and assigns it to the Class field.

func (*FindDeviceById200ResponsePlan) SetDeploymentTypes ¶

func (o *FindDeviceById200ResponsePlan) SetDeploymentTypes(v []string)

SetDeploymentTypes gets a reference to the given []string and assigns it to the DeploymentTypes field.

func (*FindDeviceById200ResponsePlan) SetDescription ¶

func (o *FindDeviceById200ResponsePlan) SetDescription(v string)

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

func (*FindDeviceById200ResponsePlan) SetId ¶

SetId gets a reference to the given string and assigns it to the Id field.

func (*FindDeviceById200ResponsePlan) SetLegacy ¶

func (o *FindDeviceById200ResponsePlan) SetLegacy(v bool)

SetLegacy gets a reference to the given bool and assigns it to the Legacy field.

func (*FindDeviceById200ResponsePlan) SetLine ¶

func (o *FindDeviceById200ResponsePlan) SetLine(v string)

SetLine gets a reference to the given string and assigns it to the Line field.

func (*FindDeviceById200ResponsePlan) SetName ¶

func (o *FindDeviceById200ResponsePlan) SetName(v string)

SetName gets a reference to the given string and assigns it to the Name field.

func (*FindDeviceById200ResponsePlan) SetPricing ¶

func (o *FindDeviceById200ResponsePlan) SetPricing(v map[string]interface{})

SetPricing gets a reference to the given map[string]interface{} and assigns it to the Pricing field.

func (*FindDeviceById200ResponsePlan) SetSlug ¶

func (o *FindDeviceById200ResponsePlan) SetSlug(v string)

SetSlug gets a reference to the given string and assigns it to the Slug field.

func (*FindDeviceById200ResponsePlan) SetSpecs ¶

SetSpecs gets a reference to the given FindDeviceById200ResponsePlanSpecs and assigns it to the Specs field.

func (*FindDeviceById200ResponsePlan) SetType ¶

func (o *FindDeviceById200ResponsePlan) SetType(v string)

SetType gets a reference to the given string and assigns it to the Type field.

type FindDeviceById200ResponsePlanAvailableInInner ¶ added in v0.2.6

type FindDeviceById200ResponsePlanAvailableInInner struct {
	// href to the Facility
	Href  *string                                             `json:"href,omitempty"`
	Price *FindDeviceById200ResponsePlanAvailableInInnerPrice `json:"price,omitempty"`
}

FindDeviceById200ResponsePlanAvailableInInner struct for FindDeviceById200ResponsePlanAvailableInInner

func NewFindDeviceById200ResponsePlanAvailableInInner ¶ added in v0.2.6

func NewFindDeviceById200ResponsePlanAvailableInInner() *FindDeviceById200ResponsePlanAvailableInInner

NewFindDeviceById200ResponsePlanAvailableInInner instantiates a new FindDeviceById200ResponsePlanAvailableInInner 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 NewFindDeviceById200ResponsePlanAvailableInInnerWithDefaults ¶ added in v0.2.6

func NewFindDeviceById200ResponsePlanAvailableInInnerWithDefaults() *FindDeviceById200ResponsePlanAvailableInInner

NewFindDeviceById200ResponsePlanAvailableInInnerWithDefaults instantiates a new FindDeviceById200ResponsePlanAvailableInInner 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 (*FindDeviceById200ResponsePlanAvailableInInner) GetHref ¶ added in v0.2.6

GetHref returns the Href field value if set, zero value otherwise.

func (*FindDeviceById200ResponsePlanAvailableInInner) GetHrefOk ¶ added in v0.2.6

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 (*FindDeviceById200ResponsePlanAvailableInInner) GetPrice ¶ added in v0.2.6

GetPrice returns the Price field value if set, zero value otherwise.

func (*FindDeviceById200ResponsePlanAvailableInInner) GetPriceOk ¶ added in v0.2.6

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 (*FindDeviceById200ResponsePlanAvailableInInner) HasHref ¶ added in v0.2.6

HasHref returns a boolean if a field has been set.

func (*FindDeviceById200ResponsePlanAvailableInInner) HasPrice ¶ added in v0.2.6

HasPrice returns a boolean if a field has been set.

func (FindDeviceById200ResponsePlanAvailableInInner) MarshalJSON ¶ added in v0.2.6

func (*FindDeviceById200ResponsePlanAvailableInInner) SetHref ¶ added in v0.2.6

SetHref gets a reference to the given string and assigns it to the Href field.

func (*FindDeviceById200ResponsePlanAvailableInInner) SetPrice ¶ added in v0.2.6

SetPrice gets a reference to the given FindDeviceById200ResponsePlanAvailableInInnerPrice and assigns it to the Price field.

type FindDeviceById200ResponsePlanAvailableInInnerPrice ¶ added in v0.2.6

type FindDeviceById200ResponsePlanAvailableInInnerPrice struct {
	Hour *float32 `json:"hour,omitempty"`
}

FindDeviceById200ResponsePlanAvailableInInnerPrice struct for FindDeviceById200ResponsePlanAvailableInInnerPrice

func NewFindDeviceById200ResponsePlanAvailableInInnerPrice ¶ added in v0.2.6

func NewFindDeviceById200ResponsePlanAvailableInInnerPrice() *FindDeviceById200ResponsePlanAvailableInInnerPrice

NewFindDeviceById200ResponsePlanAvailableInInnerPrice instantiates a new FindDeviceById200ResponsePlanAvailableInInnerPrice 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 NewFindDeviceById200ResponsePlanAvailableInInnerPriceWithDefaults ¶ added in v0.2.6

func NewFindDeviceById200ResponsePlanAvailableInInnerPriceWithDefaults() *FindDeviceById200ResponsePlanAvailableInInnerPrice

NewFindDeviceById200ResponsePlanAvailableInInnerPriceWithDefaults instantiates a new FindDeviceById200ResponsePlanAvailableInInnerPrice 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 (*FindDeviceById200ResponsePlanAvailableInInnerPrice) GetHour ¶ added in v0.2.6

GetHour returns the Hour field value if set, zero value otherwise.

func (*FindDeviceById200ResponsePlanAvailableInInnerPrice) GetHourOk ¶ added in v0.2.6

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 (*FindDeviceById200ResponsePlanAvailableInInnerPrice) HasHour ¶ added in v0.2.6

HasHour returns a boolean if a field has been set.

func (FindDeviceById200ResponsePlanAvailableInInnerPrice) MarshalJSON ¶ added in v0.2.6

func (*FindDeviceById200ResponsePlanAvailableInInnerPrice) SetHour ¶ added in v0.2.6

SetHour gets a reference to the given float32 and assigns it to the Hour field.

type FindDeviceById200ResponsePlanAvailableInMetrosInner ¶ added in v0.2.6

type FindDeviceById200ResponsePlanAvailableInMetrosInner struct {
	// href to the Metro
	Href  *string                                             `json:"href,omitempty"`
	Price *FindDeviceById200ResponsePlanAvailableInInnerPrice `json:"price,omitempty"`
}

FindDeviceById200ResponsePlanAvailableInMetrosInner struct for FindDeviceById200ResponsePlanAvailableInMetrosInner

func NewFindDeviceById200ResponsePlanAvailableInMetrosInner ¶ added in v0.2.6

func NewFindDeviceById200ResponsePlanAvailableInMetrosInner() *FindDeviceById200ResponsePlanAvailableInMetrosInner

NewFindDeviceById200ResponsePlanAvailableInMetrosInner instantiates a new FindDeviceById200ResponsePlanAvailableInMetrosInner 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 NewFindDeviceById200ResponsePlanAvailableInMetrosInnerWithDefaults ¶ added in v0.2.6

func NewFindDeviceById200ResponsePlanAvailableInMetrosInnerWithDefaults() *FindDeviceById200ResponsePlanAvailableInMetrosInner

NewFindDeviceById200ResponsePlanAvailableInMetrosInnerWithDefaults instantiates a new FindDeviceById200ResponsePlanAvailableInMetrosInner 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 (*FindDeviceById200ResponsePlanAvailableInMetrosInner) GetHref ¶ added in v0.2.6

GetHref returns the Href field value if set, zero value otherwise.

func (*FindDeviceById200ResponsePlanAvailableInMetrosInner) GetHrefOk ¶ added in v0.2.6

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 (*FindDeviceById200ResponsePlanAvailableInMetrosInner) GetPrice ¶ added in v0.2.6

GetPrice returns the Price field value if set, zero value otherwise.

func (*FindDeviceById200ResponsePlanAvailableInMetrosInner) GetPriceOk ¶ added in v0.2.6

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 (*FindDeviceById200ResponsePlanAvailableInMetrosInner) HasHref ¶ added in v0.2.6

HasHref returns a boolean if a field has been set.

func (*FindDeviceById200ResponsePlanAvailableInMetrosInner) HasPrice ¶ added in v0.2.6

HasPrice returns a boolean if a field has been set.

func (FindDeviceById200ResponsePlanAvailableInMetrosInner) MarshalJSON ¶ added in v0.2.6

func (*FindDeviceById200ResponsePlanAvailableInMetrosInner) SetHref ¶ added in v0.2.6

SetHref gets a reference to the given string and assigns it to the Href field.

func (*FindDeviceById200ResponsePlanAvailableInMetrosInner) SetPrice ¶ added in v0.2.6

SetPrice gets a reference to the given FindDeviceById200ResponsePlanAvailableInInnerPrice and assigns it to the Price field.

type FindDeviceById200ResponsePlanSpecs ¶ added in v0.2.6

type FindDeviceById200ResponsePlanSpecs struct {
	Cpus     []FindDeviceById200ResponsePlanSpecsCpusInner   `json:"cpus,omitempty"`
	Drives   []FindDeviceById200ResponsePlanSpecsDrivesInner `json:"drives,omitempty"`
	Nics     []FindDeviceById200ResponsePlanSpecsNicsInner   `json:"nics,omitempty"`
	Features *FindDeviceById200ResponsePlanSpecsFeatures     `json:"features,omitempty"`
}

FindDeviceById200ResponsePlanSpecs struct for FindDeviceById200ResponsePlanSpecs

func NewFindDeviceById200ResponsePlanSpecs ¶ added in v0.2.6

func NewFindDeviceById200ResponsePlanSpecs() *FindDeviceById200ResponsePlanSpecs

NewFindDeviceById200ResponsePlanSpecs instantiates a new FindDeviceById200ResponsePlanSpecs 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 NewFindDeviceById200ResponsePlanSpecsWithDefaults ¶ added in v0.2.6

func NewFindDeviceById200ResponsePlanSpecsWithDefaults() *FindDeviceById200ResponsePlanSpecs

NewFindDeviceById200ResponsePlanSpecsWithDefaults instantiates a new FindDeviceById200ResponsePlanSpecs 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 (*FindDeviceById200ResponsePlanSpecs) GetCpus ¶ added in v0.2.6

GetCpus returns the Cpus field value if set, zero value otherwise.

func (*FindDeviceById200ResponsePlanSpecs) GetCpusOk ¶ added in v0.2.6

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 (*FindDeviceById200ResponsePlanSpecs) GetDrives ¶ added in v0.2.6

GetDrives returns the Drives field value if set, zero value otherwise.

func (*FindDeviceById200ResponsePlanSpecs) GetDrivesOk ¶ added in v0.2.6

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 (*FindDeviceById200ResponsePlanSpecs) GetFeatures ¶ added in v0.2.6

GetFeatures returns the Features field value if set, zero value otherwise.

func (*FindDeviceById200ResponsePlanSpecs) GetFeaturesOk ¶ added in v0.2.6

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 (*FindDeviceById200ResponsePlanSpecs) GetNics ¶ added in v0.2.6

GetNics returns the Nics field value if set, zero value otherwise.

func (*FindDeviceById200ResponsePlanSpecs) GetNicsOk ¶ added in v0.2.6

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 (*FindDeviceById200ResponsePlanSpecs) HasCpus ¶ added in v0.2.6

HasCpus returns a boolean if a field has been set.

func (*FindDeviceById200ResponsePlanSpecs) HasDrives ¶ added in v0.2.6

HasDrives returns a boolean if a field has been set.

func (*FindDeviceById200ResponsePlanSpecs) HasFeatures ¶ added in v0.2.6

func (o *FindDeviceById200ResponsePlanSpecs) HasFeatures() bool

HasFeatures returns a boolean if a field has been set.

func (*FindDeviceById200ResponsePlanSpecs) HasNics ¶ added in v0.2.6

HasNics returns a boolean if a field has been set.

func (FindDeviceById200ResponsePlanSpecs) MarshalJSON ¶ added in v0.2.6

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

func (*FindDeviceById200ResponsePlanSpecs) SetCpus ¶ added in v0.2.6

SetCpus gets a reference to the given []FindDeviceById200ResponsePlanSpecsCpusInner and assigns it to the Cpus field.

func (*FindDeviceById200ResponsePlanSpecs) SetDrives ¶ added in v0.2.6

SetDrives gets a reference to the given []FindDeviceById200ResponsePlanSpecsDrivesInner and assigns it to the Drives field.

func (*FindDeviceById200ResponsePlanSpecs) SetFeatures ¶ added in v0.2.6

SetFeatures gets a reference to the given FindDeviceById200ResponsePlanSpecsFeatures and assigns it to the Features field.

func (*FindDeviceById200ResponsePlanSpecs) SetNics ¶ added in v0.2.6

SetNics gets a reference to the given []FindDeviceById200ResponsePlanSpecsNicsInner and assigns it to the Nics field.

type FindDeviceById200ResponsePlanSpecsCpusInner ¶ added in v0.2.6

type FindDeviceById200ResponsePlanSpecsCpusInner struct {
	Count *int32  `json:"count,omitempty"`
	Type  *string `json:"type,omitempty"`
}

FindDeviceById200ResponsePlanSpecsCpusInner struct for FindDeviceById200ResponsePlanSpecsCpusInner

func NewFindDeviceById200ResponsePlanSpecsCpusInner ¶ added in v0.2.6

func NewFindDeviceById200ResponsePlanSpecsCpusInner() *FindDeviceById200ResponsePlanSpecsCpusInner

NewFindDeviceById200ResponsePlanSpecsCpusInner instantiates a new FindDeviceById200ResponsePlanSpecsCpusInner 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 NewFindDeviceById200ResponsePlanSpecsCpusInnerWithDefaults ¶ added in v0.2.6

func NewFindDeviceById200ResponsePlanSpecsCpusInnerWithDefaults() *FindDeviceById200ResponsePlanSpecsCpusInner

NewFindDeviceById200ResponsePlanSpecsCpusInnerWithDefaults instantiates a new FindDeviceById200ResponsePlanSpecsCpusInner 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 (*FindDeviceById200ResponsePlanSpecsCpusInner) GetCount ¶ added in v0.2.6

GetCount returns the Count field value if set, zero value otherwise.

func (*FindDeviceById200ResponsePlanSpecsCpusInner) GetCountOk ¶ added in v0.2.6

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 (*FindDeviceById200ResponsePlanSpecsCpusInner) GetType ¶ added in v0.2.6

GetType returns the Type field value if set, zero value otherwise.

func (*FindDeviceById200ResponsePlanSpecsCpusInner) GetTypeOk ¶ added in v0.2.6

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 (*FindDeviceById200ResponsePlanSpecsCpusInner) HasCount ¶ added in v0.2.6

HasCount returns a boolean if a field has been set.

func (*FindDeviceById200ResponsePlanSpecsCpusInner) HasType ¶ added in v0.2.6

HasType returns a boolean if a field has been set.

func (FindDeviceById200ResponsePlanSpecsCpusInner) MarshalJSON ¶ added in v0.2.6

func (*FindDeviceById200ResponsePlanSpecsCpusInner) SetCount ¶ added in v0.2.6

SetCount gets a reference to the given int32 and assigns it to the Count field.

func (*FindDeviceById200ResponsePlanSpecsCpusInner) SetType ¶ added in v0.2.6

SetType gets a reference to the given string and assigns it to the Type field.

type FindDeviceById200ResponsePlanSpecsDrivesInner ¶ added in v0.2.6

type FindDeviceById200ResponsePlanSpecsDrivesInner struct {
	Count *int32  `json:"count,omitempty"`
	Type  *string `json:"type,omitempty"`
	Size  *string `json:"size,omitempty"`
}

FindDeviceById200ResponsePlanSpecsDrivesInner struct for FindDeviceById200ResponsePlanSpecsDrivesInner

func NewFindDeviceById200ResponsePlanSpecsDrivesInner ¶ added in v0.2.6

func NewFindDeviceById200ResponsePlanSpecsDrivesInner() *FindDeviceById200ResponsePlanSpecsDrivesInner

NewFindDeviceById200ResponsePlanSpecsDrivesInner instantiates a new FindDeviceById200ResponsePlanSpecsDrivesInner 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 NewFindDeviceById200ResponsePlanSpecsDrivesInnerWithDefaults ¶ added in v0.2.6

func NewFindDeviceById200ResponsePlanSpecsDrivesInnerWithDefaults() *FindDeviceById200ResponsePlanSpecsDrivesInner

NewFindDeviceById200ResponsePlanSpecsDrivesInnerWithDefaults instantiates a new FindDeviceById200ResponsePlanSpecsDrivesInner 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 (*FindDeviceById200ResponsePlanSpecsDrivesInner) GetCount ¶ added in v0.2.6

GetCount returns the Count field value if set, zero value otherwise.

func (*FindDeviceById200ResponsePlanSpecsDrivesInner) GetCountOk ¶ added in v0.2.6

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 (*FindDeviceById200ResponsePlanSpecsDrivesInner) GetSize ¶ added in v0.2.6

GetSize returns the Size field value if set, zero value otherwise.

func (*FindDeviceById200ResponsePlanSpecsDrivesInner) GetSizeOk ¶ added in v0.2.6

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 (*FindDeviceById200ResponsePlanSpecsDrivesInner) GetType ¶ added in v0.2.6

GetType returns the Type field value if set, zero value otherwise.

func (*FindDeviceById200ResponsePlanSpecsDrivesInner) GetTypeOk ¶ added in v0.2.6

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 (*FindDeviceById200ResponsePlanSpecsDrivesInner) HasCount ¶ added in v0.2.6

HasCount returns a boolean if a field has been set.

func (*FindDeviceById200ResponsePlanSpecsDrivesInner) HasSize ¶ added in v0.2.6

HasSize returns a boolean if a field has been set.

func (*FindDeviceById200ResponsePlanSpecsDrivesInner) HasType ¶ added in v0.2.6

HasType returns a boolean if a field has been set.

func (FindDeviceById200ResponsePlanSpecsDrivesInner) MarshalJSON ¶ added in v0.2.6

func (*FindDeviceById200ResponsePlanSpecsDrivesInner) SetCount ¶ added in v0.2.6

SetCount gets a reference to the given int32 and assigns it to the Count field.

func (*FindDeviceById200ResponsePlanSpecsDrivesInner) SetSize ¶ added in v0.2.6

SetSize gets a reference to the given string and assigns it to the Size field.

func (*FindDeviceById200ResponsePlanSpecsDrivesInner) SetType ¶ added in v0.2.6

SetType gets a reference to the given string and assigns it to the Type field.

type FindDeviceById200ResponsePlanSpecsFeatures ¶ added in v0.2.6

type FindDeviceById200ResponsePlanSpecsFeatures struct {
	Raid *bool `json:"raid,omitempty"`
	Txt  *bool `json:"txt,omitempty"`
}

FindDeviceById200ResponsePlanSpecsFeatures struct for FindDeviceById200ResponsePlanSpecsFeatures

func NewFindDeviceById200ResponsePlanSpecsFeatures ¶ added in v0.2.6

func NewFindDeviceById200ResponsePlanSpecsFeatures() *FindDeviceById200ResponsePlanSpecsFeatures

NewFindDeviceById200ResponsePlanSpecsFeatures instantiates a new FindDeviceById200ResponsePlanSpecsFeatures 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 NewFindDeviceById200ResponsePlanSpecsFeaturesWithDefaults ¶ added in v0.2.6

func NewFindDeviceById200ResponsePlanSpecsFeaturesWithDefaults() *FindDeviceById200ResponsePlanSpecsFeatures

NewFindDeviceById200ResponsePlanSpecsFeaturesWithDefaults instantiates a new FindDeviceById200ResponsePlanSpecsFeatures 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 (*FindDeviceById200ResponsePlanSpecsFeatures) GetRaid ¶ added in v0.2.6

GetRaid returns the Raid field value if set, zero value otherwise.

func (*FindDeviceById200ResponsePlanSpecsFeatures) GetRaidOk ¶ added in v0.2.6

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 (*FindDeviceById200ResponsePlanSpecsFeatures) GetTxt ¶ added in v0.2.6

GetTxt returns the Txt field value if set, zero value otherwise.

func (*FindDeviceById200ResponsePlanSpecsFeatures) GetTxtOk ¶ added in v0.2.6

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 (*FindDeviceById200ResponsePlanSpecsFeatures) HasRaid ¶ added in v0.2.6

HasRaid returns a boolean if a field has been set.

func (*FindDeviceById200ResponsePlanSpecsFeatures) HasTxt ¶ added in v0.2.6

HasTxt returns a boolean if a field has been set.

func (FindDeviceById200ResponsePlanSpecsFeatures) MarshalJSON ¶ added in v0.2.6

func (*FindDeviceById200ResponsePlanSpecsFeatures) SetRaid ¶ added in v0.2.6

SetRaid gets a reference to the given bool and assigns it to the Raid field.

func (*FindDeviceById200ResponsePlanSpecsFeatures) SetTxt ¶ added in v0.2.6

SetTxt gets a reference to the given bool and assigns it to the Txt field.

type FindDeviceById200ResponsePlanSpecsNicsInner ¶ added in v0.2.6

type FindDeviceById200ResponsePlanSpecsNicsInner struct {
	Count *int32  `json:"count,omitempty"`
	Type  *string `json:"type,omitempty"`
}

FindDeviceById200ResponsePlanSpecsNicsInner struct for FindDeviceById200ResponsePlanSpecsNicsInner

func NewFindDeviceById200ResponsePlanSpecsNicsInner ¶ added in v0.2.6

func NewFindDeviceById200ResponsePlanSpecsNicsInner() *FindDeviceById200ResponsePlanSpecsNicsInner

NewFindDeviceById200ResponsePlanSpecsNicsInner instantiates a new FindDeviceById200ResponsePlanSpecsNicsInner 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 NewFindDeviceById200ResponsePlanSpecsNicsInnerWithDefaults ¶ added in v0.2.6

func NewFindDeviceById200ResponsePlanSpecsNicsInnerWithDefaults() *FindDeviceById200ResponsePlanSpecsNicsInner

NewFindDeviceById200ResponsePlanSpecsNicsInnerWithDefaults instantiates a new FindDeviceById200ResponsePlanSpecsNicsInner 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 (*FindDeviceById200ResponsePlanSpecsNicsInner) GetCount ¶ added in v0.2.6

GetCount returns the Count field value if set, zero value otherwise.

func (*FindDeviceById200ResponsePlanSpecsNicsInner) GetCountOk ¶ added in v0.2.6

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 (*FindDeviceById200ResponsePlanSpecsNicsInner) GetType ¶ added in v0.2.6

GetType returns the Type field value if set, zero value otherwise.

func (*FindDeviceById200ResponsePlanSpecsNicsInner) GetTypeOk ¶ added in v0.2.6

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 (*FindDeviceById200ResponsePlanSpecsNicsInner) HasCount ¶ added in v0.2.6

HasCount returns a boolean if a field has been set.

func (*FindDeviceById200ResponsePlanSpecsNicsInner) HasType ¶ added in v0.2.6

HasType returns a boolean if a field has been set.

func (FindDeviceById200ResponsePlanSpecsNicsInner) MarshalJSON ¶ added in v0.2.6

func (*FindDeviceById200ResponsePlanSpecsNicsInner) SetCount ¶ added in v0.2.6

SetCount gets a reference to the given int32 and assigns it to the Count field.

func (*FindDeviceById200ResponsePlanSpecsNicsInner) SetType ¶ added in v0.2.6

SetType gets a reference to the given string and assigns it to the Type field.

type FindDeviceById200ResponseProject ¶

type FindDeviceById200ResponseProject struct {
	Href string `json:"href"`
}

FindDeviceById200ResponseProject struct for FindDeviceById200ResponseProject

func NewFindDeviceById200ResponseProject ¶

func NewFindDeviceById200ResponseProject(href string) *FindDeviceById200ResponseProject

NewFindDeviceById200ResponseProject instantiates a new FindDeviceById200ResponseProject 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 NewFindDeviceById200ResponseProjectWithDefaults ¶

func NewFindDeviceById200ResponseProjectWithDefaults() *FindDeviceById200ResponseProject

NewFindDeviceById200ResponseProjectWithDefaults instantiates a new FindDeviceById200ResponseProject 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 (*FindDeviceById200ResponseProject) GetHref ¶

GetHref returns the Href field value

func (*FindDeviceById200ResponseProject) GetHrefOk ¶

func (o *FindDeviceById200ResponseProject) GetHrefOk() (*string, bool)

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

func (FindDeviceById200ResponseProject) MarshalJSON ¶

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

func (*FindDeviceById200ResponseProject) SetHref ¶

SetHref sets field value

type FindDeviceById200ResponseProjectLite ¶

type FindDeviceById200ResponseProjectLite struct {
	Href string `json:"href"`
}

FindDeviceById200ResponseProjectLite struct for FindDeviceById200ResponseProjectLite

func NewFindDeviceById200ResponseProjectLite ¶

func NewFindDeviceById200ResponseProjectLite(href string) *FindDeviceById200ResponseProjectLite

NewFindDeviceById200ResponseProjectLite instantiates a new FindDeviceById200ResponseProjectLite 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 NewFindDeviceById200ResponseProjectLiteWithDefaults ¶

func NewFindDeviceById200ResponseProjectLiteWithDefaults() *FindDeviceById200ResponseProjectLite

NewFindDeviceById200ResponseProjectLiteWithDefaults instantiates a new FindDeviceById200ResponseProjectLite 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 (*FindDeviceById200ResponseProjectLite) GetHref ¶

GetHref returns the Href field value

func (*FindDeviceById200ResponseProjectLite) GetHrefOk ¶

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

func (FindDeviceById200ResponseProjectLite) MarshalJSON ¶

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

func (*FindDeviceById200ResponseProjectLite) SetHref ¶

SetHref sets field value

type FindDeviceEvents200Response ¶

type FindDeviceEvents200Response struct {
	Events []FindInterconnectionEvents200Response `json:"events,omitempty"`
	Meta   *FindDeviceEvents200ResponseMeta       `json:"meta,omitempty"`
}

FindDeviceEvents200Response struct for FindDeviceEvents200Response

func NewFindDeviceEvents200Response ¶

func NewFindDeviceEvents200Response() *FindDeviceEvents200Response

NewFindDeviceEvents200Response instantiates a new FindDeviceEvents200Response 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 NewFindDeviceEvents200ResponseWithDefaults ¶

func NewFindDeviceEvents200ResponseWithDefaults() *FindDeviceEvents200Response

NewFindDeviceEvents200ResponseWithDefaults instantiates a new FindDeviceEvents200Response 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 (*FindDeviceEvents200Response) GetEvents ¶

GetEvents returns the Events field value if set, zero value otherwise.

func (*FindDeviceEvents200Response) GetEventsOk ¶

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 (*FindDeviceEvents200Response) GetMeta ¶

GetMeta returns the Meta field value if set, zero value otherwise.

func (*FindDeviceEvents200Response) GetMetaOk ¶

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 (*FindDeviceEvents200Response) HasEvents ¶

func (o *FindDeviceEvents200Response) HasEvents() bool

HasEvents returns a boolean if a field has been set.

func (*FindDeviceEvents200Response) HasMeta ¶

func (o *FindDeviceEvents200Response) HasMeta() bool

HasMeta returns a boolean if a field has been set.

func (FindDeviceEvents200Response) MarshalJSON ¶

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

func (*FindDeviceEvents200Response) SetEvents ¶

SetEvents gets a reference to the given []FindInterconnectionEvents200Response and assigns it to the Events field.

func (*FindDeviceEvents200Response) SetMeta ¶

SetMeta gets a reference to the given FindDeviceEvents200ResponseMeta and assigns it to the Meta field.

type FindDeviceEvents200ResponseMeta ¶

type FindDeviceEvents200ResponseMeta struct {
	First    *FindBatchById200ResponseDevicesInner `json:"first,omitempty"`
	Last     *FindBatchById200ResponseDevicesInner `json:"last,omitempty"`
	Next     *FindBatchById200ResponseDevicesInner `json:"next,omitempty"`
	Previous *FindBatchById200ResponseDevicesInner `json:"previous,omitempty"`
	Self     *FindBatchById200ResponseDevicesInner `json:"self,omitempty"`
	Total    *int32                                `json:"total,omitempty"`
}

FindDeviceEvents200ResponseMeta struct for FindDeviceEvents200ResponseMeta

func NewFindDeviceEvents200ResponseMeta ¶

func NewFindDeviceEvents200ResponseMeta() *FindDeviceEvents200ResponseMeta

NewFindDeviceEvents200ResponseMeta instantiates a new FindDeviceEvents200ResponseMeta 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 NewFindDeviceEvents200ResponseMetaWithDefaults ¶

func NewFindDeviceEvents200ResponseMetaWithDefaults() *FindDeviceEvents200ResponseMeta

NewFindDeviceEvents200ResponseMetaWithDefaults instantiates a new FindDeviceEvents200ResponseMeta 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 (*FindDeviceEvents200ResponseMeta) GetFirst ¶

GetFirst returns the First field value if set, zero value otherwise.

func (*FindDeviceEvents200ResponseMeta) GetFirstOk ¶

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 (*FindDeviceEvents200ResponseMeta) GetLast ¶

GetLast returns the Last field value if set, zero value otherwise.

func (*FindDeviceEvents200ResponseMeta) GetLastOk ¶

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 (*FindDeviceEvents200ResponseMeta) GetNext ¶

GetNext returns the Next field value if set, zero value otherwise.

func (*FindDeviceEvents200ResponseMeta) GetNextOk ¶

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 (*FindDeviceEvents200ResponseMeta) GetPrevious ¶

GetPrevious returns the Previous field value if set, zero value otherwise.

func (*FindDeviceEvents200ResponseMeta) GetPreviousOk ¶

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 (*FindDeviceEvents200ResponseMeta) GetSelf ¶

GetSelf returns the Self field value if set, zero value otherwise.

func (*FindDeviceEvents200ResponseMeta) GetSelfOk ¶

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 (*FindDeviceEvents200ResponseMeta) GetTotal ¶

func (o *FindDeviceEvents200ResponseMeta) GetTotal() int32

GetTotal returns the Total field value if set, zero value otherwise.

func (*FindDeviceEvents200ResponseMeta) GetTotalOk ¶

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

func (o *FindDeviceEvents200ResponseMeta) HasFirst() bool

HasFirst returns a boolean if a field has been set.

func (*FindDeviceEvents200ResponseMeta) HasLast ¶

HasLast returns a boolean if a field has been set.

func (*FindDeviceEvents200ResponseMeta) HasNext ¶

HasNext returns a boolean if a field has been set.

func (*FindDeviceEvents200ResponseMeta) HasPrevious ¶

func (o *FindDeviceEvents200ResponseMeta) HasPrevious() bool

HasPrevious returns a boolean if a field has been set.

func (*FindDeviceEvents200ResponseMeta) HasSelf ¶

HasSelf returns a boolean if a field has been set.

func (*FindDeviceEvents200ResponseMeta) HasTotal ¶

func (o *FindDeviceEvents200ResponseMeta) HasTotal() bool

HasTotal returns a boolean if a field has been set.

func (FindDeviceEvents200ResponseMeta) MarshalJSON ¶

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

func (*FindDeviceEvents200ResponseMeta) SetFirst ¶

SetFirst gets a reference to the given FindBatchById200ResponseDevicesInner and assigns it to the First field.

func (*FindDeviceEvents200ResponseMeta) SetLast ¶

SetLast gets a reference to the given FindBatchById200ResponseDevicesInner and assigns it to the Last field.

func (*FindDeviceEvents200ResponseMeta) SetNext ¶

SetNext gets a reference to the given FindBatchById200ResponseDevicesInner and assigns it to the Next field.

func (*FindDeviceEvents200ResponseMeta) SetPrevious ¶

SetPrevious gets a reference to the given FindBatchById200ResponseDevicesInner and assigns it to the Previous field.

func (*FindDeviceEvents200ResponseMeta) SetSelf ¶

SetSelf gets a reference to the given FindBatchById200ResponseDevicesInner and assigns it to the Self field.

func (*FindDeviceEvents200ResponseMeta) SetTotal ¶

func (o *FindDeviceEvents200ResponseMeta) SetTotal(v int32)

SetTotal gets a reference to the given int32 and assigns it to the Total field.

type FindDeviceMetadataByID200Response ¶ added in v0.2.6

type FindDeviceMetadataByID200Response 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         *FindDeviceMetadataByID200ResponseNetwork `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"`
	Tags          []string               `json:"tags,omitempty"`
	Volumes       []string               `json:"volumes,omitempty"`
}

FindDeviceMetadataByID200Response struct for FindDeviceMetadataByID200Response

func NewFindDeviceMetadataByID200Response ¶ added in v0.2.6

func NewFindDeviceMetadataByID200Response() *FindDeviceMetadataByID200Response

NewFindDeviceMetadataByID200Response instantiates a new FindDeviceMetadataByID200Response 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 NewFindDeviceMetadataByID200ResponseWithDefaults ¶ added in v0.2.6

func NewFindDeviceMetadataByID200ResponseWithDefaults() *FindDeviceMetadataByID200Response

NewFindDeviceMetadataByID200ResponseWithDefaults instantiates a new FindDeviceMetadataByID200Response 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 (*FindDeviceMetadataByID200Response) GetClass ¶ added in v0.2.6

GetClass returns the Class field value if set, zero value otherwise.

func (*FindDeviceMetadataByID200Response) GetClassOk ¶ added in v0.2.6

func (o *FindDeviceMetadataByID200Response) 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 (*FindDeviceMetadataByID200Response) GetCustomdata ¶ added in v0.2.6

func (o *FindDeviceMetadataByID200Response) GetCustomdata() map[string]interface{}

GetCustomdata returns the Customdata field value if set, zero value otherwise.

func (*FindDeviceMetadataByID200Response) GetCustomdataOk ¶ added in v0.2.6

func (o *FindDeviceMetadataByID200Response) 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 (*FindDeviceMetadataByID200Response) GetFacility ¶ added in v0.2.6

func (o *FindDeviceMetadataByID200Response) GetFacility() string

GetFacility returns the Facility field value if set, zero value otherwise.

func (*FindDeviceMetadataByID200Response) GetFacilityOk ¶ added in v0.2.6

func (o *FindDeviceMetadataByID200Response) 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 (*FindDeviceMetadataByID200Response) GetHostname ¶ added in v0.2.6

func (o *FindDeviceMetadataByID200Response) GetHostname() string

GetHostname returns the Hostname field value if set, zero value otherwise.

func (*FindDeviceMetadataByID200Response) GetHostnameOk ¶ added in v0.2.6

func (o *FindDeviceMetadataByID200Response) 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 (*FindDeviceMetadataByID200Response) GetId ¶ added in v0.2.6

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

func (*FindDeviceMetadataByID200Response) GetIdOk ¶ added in v0.2.6

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 (*FindDeviceMetadataByID200Response) GetIqn ¶ added in v0.2.6

GetIqn returns the Iqn field value if set, zero value otherwise.

func (*FindDeviceMetadataByID200Response) GetIqnOk ¶ added in v0.2.6

func (o *FindDeviceMetadataByID200Response) 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 (*FindDeviceMetadataByID200Response) GetMetro ¶ added in v0.2.6

GetMetro returns the Metro field value if set, zero value otherwise.

func (*FindDeviceMetadataByID200Response) GetMetroOk ¶ added in v0.2.6

func (o *FindDeviceMetadataByID200Response) 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 (*FindDeviceMetadataByID200Response) GetNetwork ¶ added in v0.2.6

GetNetwork returns the Network field value if set, zero value otherwise.

func (*FindDeviceMetadataByID200Response) GetNetworkOk ¶ added in v0.2.6

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 (*FindDeviceMetadataByID200Response) GetOperatingSystem ¶ added in v0.2.6

func (o *FindDeviceMetadataByID200Response) GetOperatingSystem() map[string]interface{}

GetOperatingSystem returns the OperatingSystem field value if set, zero value otherwise.

func (*FindDeviceMetadataByID200Response) GetOperatingSystemOk ¶ added in v0.2.6

func (o *FindDeviceMetadataByID200Response) 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 (*FindDeviceMetadataByID200Response) GetPlan ¶ added in v0.2.6

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

func (*FindDeviceMetadataByID200Response) GetPlanOk ¶ added in v0.2.6

func (o *FindDeviceMetadataByID200Response) 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 (*FindDeviceMetadataByID200Response) GetPrivateSubnets ¶ added in v0.2.6

func (o *FindDeviceMetadataByID200Response) GetPrivateSubnets() []string

GetPrivateSubnets returns the PrivateSubnets field value if set, zero value otherwise.

func (*FindDeviceMetadataByID200Response) GetPrivateSubnetsOk ¶ added in v0.2.6

func (o *FindDeviceMetadataByID200Response) 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 (*FindDeviceMetadataByID200Response) GetReserved ¶ added in v0.2.6

func (o *FindDeviceMetadataByID200Response) GetReserved() bool

GetReserved returns the Reserved field value if set, zero value otherwise.

func (*FindDeviceMetadataByID200Response) GetReservedOk ¶ added in v0.2.6

func (o *FindDeviceMetadataByID200Response) 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 (*FindDeviceMetadataByID200Response) GetSpecs ¶ added in v0.2.6

func (o *FindDeviceMetadataByID200Response) GetSpecs() map[string]interface{}

GetSpecs returns the Specs field value if set, zero value otherwise.

func (*FindDeviceMetadataByID200Response) GetSpecsOk ¶ added in v0.2.6

func (o *FindDeviceMetadataByID200Response) 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 (*FindDeviceMetadataByID200Response) GetSshKeys ¶ added in v0.2.6

func (o *FindDeviceMetadataByID200Response) GetSshKeys() []string

GetSshKeys returns the SshKeys field value if set, zero value otherwise.

func (*FindDeviceMetadataByID200Response) GetSshKeysOk ¶ added in v0.2.6

func (o *FindDeviceMetadataByID200Response) 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 (*FindDeviceMetadataByID200Response) GetSwitchShortId ¶ added in v0.2.6

func (o *FindDeviceMetadataByID200Response) GetSwitchShortId() string

GetSwitchShortId returns the SwitchShortId field value if set, zero value otherwise.

func (*FindDeviceMetadataByID200Response) GetSwitchShortIdOk ¶ added in v0.2.6

func (o *FindDeviceMetadataByID200Response) 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 (*FindDeviceMetadataByID200Response) GetTags ¶ added in v0.2.6

GetTags returns the Tags field value if set, zero value otherwise.

func (*FindDeviceMetadataByID200Response) GetTagsOk ¶ added in v0.2.6

func (o *FindDeviceMetadataByID200Response) 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 (*FindDeviceMetadataByID200Response) GetVolumes ¶ added in v0.2.6

func (o *FindDeviceMetadataByID200Response) GetVolumes() []string

GetVolumes returns the Volumes field value if set, zero value otherwise.

func (*FindDeviceMetadataByID200Response) GetVolumesOk ¶ added in v0.2.6

func (o *FindDeviceMetadataByID200Response) 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 (*FindDeviceMetadataByID200Response) HasClass ¶ added in v0.2.6

HasClass returns a boolean if a field has been set.

func (*FindDeviceMetadataByID200Response) HasCustomdata ¶ added in v0.2.6

func (o *FindDeviceMetadataByID200Response) HasCustomdata() bool

HasCustomdata returns a boolean if a field has been set.

func (*FindDeviceMetadataByID200Response) HasFacility ¶ added in v0.2.6

func (o *FindDeviceMetadataByID200Response) HasFacility() bool

HasFacility returns a boolean if a field has been set.

func (*FindDeviceMetadataByID200Response) HasHostname ¶ added in v0.2.6

func (o *FindDeviceMetadataByID200Response) HasHostname() bool

HasHostname returns a boolean if a field has been set.

func (*FindDeviceMetadataByID200Response) HasId ¶ added in v0.2.6

HasId returns a boolean if a field has been set.

func (*FindDeviceMetadataByID200Response) HasIqn ¶ added in v0.2.6

HasIqn returns a boolean if a field has been set.

func (*FindDeviceMetadataByID200Response) HasMetro ¶ added in v0.2.6

HasMetro returns a boolean if a field has been set.

func (*FindDeviceMetadataByID200Response) HasNetwork ¶ added in v0.2.6

func (o *FindDeviceMetadataByID200Response) HasNetwork() bool

HasNetwork returns a boolean if a field has been set.

func (*FindDeviceMetadataByID200Response) HasOperatingSystem ¶ added in v0.2.6

func (o *FindDeviceMetadataByID200Response) HasOperatingSystem() bool

HasOperatingSystem returns a boolean if a field has been set.

func (*FindDeviceMetadataByID200Response) HasPlan ¶ added in v0.2.6

HasPlan returns a boolean if a field has been set.

func (*FindDeviceMetadataByID200Response) HasPrivateSubnets ¶ added in v0.2.6

func (o *FindDeviceMetadataByID200Response) HasPrivateSubnets() bool

HasPrivateSubnets returns a boolean if a field has been set.

func (*FindDeviceMetadataByID200Response) HasReserved ¶ added in v0.2.6

func (o *FindDeviceMetadataByID200Response) HasReserved() bool

HasReserved returns a boolean if a field has been set.

func (*FindDeviceMetadataByID200Response) HasSpecs ¶ added in v0.2.6

HasSpecs returns a boolean if a field has been set.

func (*FindDeviceMetadataByID200Response) HasSshKeys ¶ added in v0.2.6

func (o *FindDeviceMetadataByID200Response) HasSshKeys() bool

HasSshKeys returns a boolean if a field has been set.

func (*FindDeviceMetadataByID200Response) HasSwitchShortId ¶ added in v0.2.6

func (o *FindDeviceMetadataByID200Response) HasSwitchShortId() bool

HasSwitchShortId returns a boolean if a field has been set.

func (*FindDeviceMetadataByID200Response) HasTags ¶ added in v0.2.6

HasTags returns a boolean if a field has been set.

func (*FindDeviceMetadataByID200Response) HasVolumes ¶ added in v0.2.6

func (o *FindDeviceMetadataByID200Response) HasVolumes() bool

HasVolumes returns a boolean if a field has been set.

func (FindDeviceMetadataByID200Response) MarshalJSON ¶ added in v0.2.6

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

func (*FindDeviceMetadataByID200Response) SetClass ¶ added in v0.2.6

SetClass gets a reference to the given string and assigns it to the Class field.

func (*FindDeviceMetadataByID200Response) SetCustomdata ¶ added in v0.2.6

func (o *FindDeviceMetadataByID200Response) SetCustomdata(v map[string]interface{})

SetCustomdata gets a reference to the given map[string]interface{} and assigns it to the Customdata field.

func (*FindDeviceMetadataByID200Response) SetFacility ¶ added in v0.2.6

func (o *FindDeviceMetadataByID200Response) SetFacility(v string)

SetFacility gets a reference to the given string and assigns it to the Facility field.

func (*FindDeviceMetadataByID200Response) SetHostname ¶ added in v0.2.6

func (o *FindDeviceMetadataByID200Response) SetHostname(v string)

SetHostname gets a reference to the given string and assigns it to the Hostname field.

func (*FindDeviceMetadataByID200Response) SetId ¶ added in v0.2.6

SetId gets a reference to the given string and assigns it to the Id field.

func (*FindDeviceMetadataByID200Response) SetIqn ¶ added in v0.2.6

SetIqn gets a reference to the given string and assigns it to the Iqn field.

func (*FindDeviceMetadataByID200Response) SetMetro ¶ added in v0.2.6

SetMetro gets a reference to the given string and assigns it to the Metro field.

func (*FindDeviceMetadataByID200Response) SetNetwork ¶ added in v0.2.6

SetNetwork gets a reference to the given FindDeviceMetadataByID200ResponseNetwork and assigns it to the Network field.

func (*FindDeviceMetadataByID200Response) SetOperatingSystem ¶ added in v0.2.6

func (o *FindDeviceMetadataByID200Response) SetOperatingSystem(v map[string]interface{})

SetOperatingSystem gets a reference to the given map[string]interface{} and assigns it to the OperatingSystem field.

func (*FindDeviceMetadataByID200Response) SetPlan ¶ added in v0.2.6

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

func (*FindDeviceMetadataByID200Response) SetPrivateSubnets ¶ added in v0.2.6

func (o *FindDeviceMetadataByID200Response) SetPrivateSubnets(v []string)

SetPrivateSubnets gets a reference to the given []string and assigns it to the PrivateSubnets field.

func (*FindDeviceMetadataByID200Response) SetReserved ¶ added in v0.2.6

func (o *FindDeviceMetadataByID200Response) SetReserved(v bool)

SetReserved gets a reference to the given bool and assigns it to the Reserved field.

func (*FindDeviceMetadataByID200Response) SetSpecs ¶ added in v0.2.6

func (o *FindDeviceMetadataByID200Response) SetSpecs(v map[string]interface{})

SetSpecs gets a reference to the given map[string]interface{} and assigns it to the Specs field.

func (*FindDeviceMetadataByID200Response) SetSshKeys ¶ added in v0.2.6

func (o *FindDeviceMetadataByID200Response) SetSshKeys(v []string)

SetSshKeys gets a reference to the given []string and assigns it to the SshKeys field.

func (*FindDeviceMetadataByID200Response) SetSwitchShortId ¶ added in v0.2.6

func (o *FindDeviceMetadataByID200Response) SetSwitchShortId(v string)

SetSwitchShortId gets a reference to the given string and assigns it to the SwitchShortId field.

func (*FindDeviceMetadataByID200Response) SetTags ¶ added in v0.2.6

func (o *FindDeviceMetadataByID200Response) SetTags(v []string)

SetTags gets a reference to the given []string and assigns it to the Tags field.

func (*FindDeviceMetadataByID200Response) SetVolumes ¶ added in v0.2.6

func (o *FindDeviceMetadataByID200Response) SetVolumes(v []string)

SetVolumes gets a reference to the given []string and assigns it to the Volumes field.

type FindDeviceMetadataByID200ResponseNetwork ¶ added in v0.2.6

type FindDeviceMetadataByID200ResponseNetwork struct {
	Addresses  []string                                         `json:"addresses,omitempty"`
	Interfaces []map[string]interface{}                         `json:"interfaces,omitempty"`
	Network    *FindDeviceMetadataByID200ResponseNetworkNetwork `json:"network,omitempty"`
}

FindDeviceMetadataByID200ResponseNetwork struct for FindDeviceMetadataByID200ResponseNetwork

func NewFindDeviceMetadataByID200ResponseNetwork ¶ added in v0.2.6

func NewFindDeviceMetadataByID200ResponseNetwork() *FindDeviceMetadataByID200ResponseNetwork

NewFindDeviceMetadataByID200ResponseNetwork instantiates a new FindDeviceMetadataByID200ResponseNetwork 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 NewFindDeviceMetadataByID200ResponseNetworkWithDefaults ¶ added in v0.2.6

func NewFindDeviceMetadataByID200ResponseNetworkWithDefaults() *FindDeviceMetadataByID200ResponseNetwork

NewFindDeviceMetadataByID200ResponseNetworkWithDefaults instantiates a new FindDeviceMetadataByID200ResponseNetwork 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 (*FindDeviceMetadataByID200ResponseNetwork) GetAddresses ¶ added in v0.2.6

GetAddresses returns the Addresses field value if set, zero value otherwise.

func (*FindDeviceMetadataByID200ResponseNetwork) GetAddressesOk ¶ added in v0.2.6

func (o *FindDeviceMetadataByID200ResponseNetwork) 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 (*FindDeviceMetadataByID200ResponseNetwork) GetInterfaces ¶ added in v0.2.6

func (o *FindDeviceMetadataByID200ResponseNetwork) GetInterfaces() []map[string]interface{}

GetInterfaces returns the Interfaces field value if set, zero value otherwise.

func (*FindDeviceMetadataByID200ResponseNetwork) GetInterfacesOk ¶ added in v0.2.6

func (o *FindDeviceMetadataByID200ResponseNetwork) 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 (*FindDeviceMetadataByID200ResponseNetwork) GetNetwork ¶ added in v0.2.6

GetNetwork returns the Network field value if set, zero value otherwise.

func (*FindDeviceMetadataByID200ResponseNetwork) GetNetworkOk ¶ added in v0.2.6

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 (*FindDeviceMetadataByID200ResponseNetwork) HasAddresses ¶ added in v0.2.6

HasAddresses returns a boolean if a field has been set.

func (*FindDeviceMetadataByID200ResponseNetwork) HasInterfaces ¶ added in v0.2.6

HasInterfaces returns a boolean if a field has been set.

func (*FindDeviceMetadataByID200ResponseNetwork) HasNetwork ¶ added in v0.2.6

HasNetwork returns a boolean if a field has been set.

func (FindDeviceMetadataByID200ResponseNetwork) MarshalJSON ¶ added in v0.2.6

func (*FindDeviceMetadataByID200ResponseNetwork) SetAddresses ¶ added in v0.2.6

func (o *FindDeviceMetadataByID200ResponseNetwork) SetAddresses(v []string)

SetAddresses gets a reference to the given []string and assigns it to the Addresses field.

func (*FindDeviceMetadataByID200ResponseNetwork) SetInterfaces ¶ added in v0.2.6

func (o *FindDeviceMetadataByID200ResponseNetwork) SetInterfaces(v []map[string]interface{})

SetInterfaces gets a reference to the given []map[string]interface{} and assigns it to the Interfaces field.

func (*FindDeviceMetadataByID200ResponseNetwork) SetNetwork ¶ added in v0.2.6

SetNetwork gets a reference to the given FindDeviceMetadataByID200ResponseNetworkNetwork and assigns it to the Network field.

type FindDeviceMetadataByID200ResponseNetworkNetwork ¶ added in v0.2.6

type FindDeviceMetadataByID200ResponseNetworkNetwork struct {
	Bonding *FindDeviceMetadataByID200ResponseNetworkNetworkBonding `json:"bonding,omitempty"`
}

FindDeviceMetadataByID200ResponseNetworkNetwork struct for FindDeviceMetadataByID200ResponseNetworkNetwork

func NewFindDeviceMetadataByID200ResponseNetworkNetwork ¶ added in v0.2.6

func NewFindDeviceMetadataByID200ResponseNetworkNetwork() *FindDeviceMetadataByID200ResponseNetworkNetwork

NewFindDeviceMetadataByID200ResponseNetworkNetwork instantiates a new FindDeviceMetadataByID200ResponseNetworkNetwork 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 NewFindDeviceMetadataByID200ResponseNetworkNetworkWithDefaults ¶ added in v0.2.6

func NewFindDeviceMetadataByID200ResponseNetworkNetworkWithDefaults() *FindDeviceMetadataByID200ResponseNetworkNetwork

NewFindDeviceMetadataByID200ResponseNetworkNetworkWithDefaults instantiates a new FindDeviceMetadataByID200ResponseNetworkNetwork 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 (*FindDeviceMetadataByID200ResponseNetworkNetwork) GetBonding ¶ added in v0.2.6

GetBonding returns the Bonding field value if set, zero value otherwise.

func (*FindDeviceMetadataByID200ResponseNetworkNetwork) GetBondingOk ¶ added in v0.2.6

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 (*FindDeviceMetadataByID200ResponseNetworkNetwork) HasBonding ¶ added in v0.2.6

HasBonding returns a boolean if a field has been set.

func (FindDeviceMetadataByID200ResponseNetworkNetwork) MarshalJSON ¶ added in v0.2.6

func (*FindDeviceMetadataByID200ResponseNetworkNetwork) SetBonding ¶ added in v0.2.6

SetBonding gets a reference to the given FindDeviceMetadataByID200ResponseNetworkNetworkBonding and assigns it to the Bonding field.

type FindDeviceMetadataByID200ResponseNetworkNetworkBonding ¶ added in v0.2.6

type FindDeviceMetadataByID200ResponseNetworkNetworkBonding struct {
	LinkAggregation *string `json:"link_aggregation,omitempty"`
	Mac             *string `json:"mac,omitempty"`
	Mode            *int32  `json:"mode,omitempty"`
}

FindDeviceMetadataByID200ResponseNetworkNetworkBonding struct for FindDeviceMetadataByID200ResponseNetworkNetworkBonding

func NewFindDeviceMetadataByID200ResponseNetworkNetworkBonding ¶ added in v0.2.6

func NewFindDeviceMetadataByID200ResponseNetworkNetworkBonding() *FindDeviceMetadataByID200ResponseNetworkNetworkBonding

NewFindDeviceMetadataByID200ResponseNetworkNetworkBonding instantiates a new FindDeviceMetadataByID200ResponseNetworkNetworkBonding 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 NewFindDeviceMetadataByID200ResponseNetworkNetworkBondingWithDefaults ¶ added in v0.2.6

func NewFindDeviceMetadataByID200ResponseNetworkNetworkBondingWithDefaults() *FindDeviceMetadataByID200ResponseNetworkNetworkBonding

NewFindDeviceMetadataByID200ResponseNetworkNetworkBondingWithDefaults instantiates a new FindDeviceMetadataByID200ResponseNetworkNetworkBonding 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 (*FindDeviceMetadataByID200ResponseNetworkNetworkBonding) GetLinkAggregation ¶ added in v0.2.6

GetLinkAggregation returns the LinkAggregation field value if set, zero value otherwise.

func (*FindDeviceMetadataByID200ResponseNetworkNetworkBonding) GetLinkAggregationOk ¶ added in v0.2.6

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 (*FindDeviceMetadataByID200ResponseNetworkNetworkBonding) GetMac ¶ added in v0.2.6

GetMac returns the Mac field value if set, zero value otherwise.

func (*FindDeviceMetadataByID200ResponseNetworkNetworkBonding) GetMacOk ¶ added in v0.2.6

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 (*FindDeviceMetadataByID200ResponseNetworkNetworkBonding) GetMode ¶ added in v0.2.6

GetMode returns the Mode field value if set, zero value otherwise.

func (*FindDeviceMetadataByID200ResponseNetworkNetworkBonding) GetModeOk ¶ added in v0.2.6

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 (*FindDeviceMetadataByID200ResponseNetworkNetworkBonding) HasLinkAggregation ¶ added in v0.2.6

HasLinkAggregation returns a boolean if a field has been set.

func (*FindDeviceMetadataByID200ResponseNetworkNetworkBonding) HasMac ¶ added in v0.2.6

HasMac returns a boolean if a field has been set.

func (*FindDeviceMetadataByID200ResponseNetworkNetworkBonding) HasMode ¶ added in v0.2.6

HasMode returns a boolean if a field has been set.

func (FindDeviceMetadataByID200ResponseNetworkNetworkBonding) MarshalJSON ¶ added in v0.2.6

func (*FindDeviceMetadataByID200ResponseNetworkNetworkBonding) SetLinkAggregation ¶ added in v0.2.6

SetLinkAggregation gets a reference to the given string and assigns it to the LinkAggregation field.

func (*FindDeviceMetadataByID200ResponseNetworkNetworkBonding) SetMac ¶ added in v0.2.6

SetMac gets a reference to the given string and assigns it to the Mac field.

func (*FindDeviceMetadataByID200ResponseNetworkNetworkBonding) SetMode ¶ added in v0.2.6

SetMode gets a reference to the given int32 and assigns it to the Mode field.

type FindDeviceSSHKeys200Response ¶

type FindDeviceSSHKeys200Response struct {
	SshKeys []FindDeviceSSHKeys200ResponseSshKeysInner `json:"ssh_keys,omitempty"`
}

FindDeviceSSHKeys200Response struct for FindDeviceSSHKeys200Response

func NewFindDeviceSSHKeys200Response ¶

func NewFindDeviceSSHKeys200Response() *FindDeviceSSHKeys200Response

NewFindDeviceSSHKeys200Response instantiates a new FindDeviceSSHKeys200Response 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 NewFindDeviceSSHKeys200ResponseWithDefaults ¶

func NewFindDeviceSSHKeys200ResponseWithDefaults() *FindDeviceSSHKeys200Response

NewFindDeviceSSHKeys200ResponseWithDefaults instantiates a new FindDeviceSSHKeys200Response 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 (*FindDeviceSSHKeys200Response) GetSshKeys ¶

GetSshKeys returns the SshKeys field value if set, zero value otherwise.

func (*FindDeviceSSHKeys200Response) GetSshKeysOk ¶

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 (*FindDeviceSSHKeys200Response) HasSshKeys ¶

func (o *FindDeviceSSHKeys200Response) HasSshKeys() bool

HasSshKeys returns a boolean if a field has been set.

func (FindDeviceSSHKeys200Response) MarshalJSON ¶

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

func (*FindDeviceSSHKeys200Response) SetSshKeys ¶

SetSshKeys gets a reference to the given []FindDeviceSSHKeys200ResponseSshKeysInner and assigns it to the SshKeys field.

type FindDeviceSSHKeys200ResponseSshKeysInner ¶

type FindDeviceSSHKeys200ResponseSshKeysInner struct {
	CreatedAt   *time.Time                            `json:"created_at,omitempty"`
	Entity      *FindBatchById200ResponseDevicesInner `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"`
}

FindDeviceSSHKeys200ResponseSshKeysInner struct for FindDeviceSSHKeys200ResponseSshKeysInner

func NewFindDeviceSSHKeys200ResponseSshKeysInner ¶

func NewFindDeviceSSHKeys200ResponseSshKeysInner() *FindDeviceSSHKeys200ResponseSshKeysInner

NewFindDeviceSSHKeys200ResponseSshKeysInner instantiates a new FindDeviceSSHKeys200ResponseSshKeysInner 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 NewFindDeviceSSHKeys200ResponseSshKeysInnerWithDefaults ¶

func NewFindDeviceSSHKeys200ResponseSshKeysInnerWithDefaults() *FindDeviceSSHKeys200ResponseSshKeysInner

NewFindDeviceSSHKeys200ResponseSshKeysInnerWithDefaults instantiates a new FindDeviceSSHKeys200ResponseSshKeysInner 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 (*FindDeviceSSHKeys200ResponseSshKeysInner) GetCreatedAt ¶

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

func (*FindDeviceSSHKeys200ResponseSshKeysInner) GetCreatedAtOk ¶

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

GetEntity returns the Entity field value if set, zero value otherwise.

func (*FindDeviceSSHKeys200ResponseSshKeysInner) GetEntityOk ¶

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 (*FindDeviceSSHKeys200ResponseSshKeysInner) GetFingerprint ¶

GetFingerprint returns the Fingerprint field value if set, zero value otherwise.

func (*FindDeviceSSHKeys200ResponseSshKeysInner) GetFingerprintOk ¶

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

GetHref returns the Href field value if set, zero value otherwise.

func (*FindDeviceSSHKeys200ResponseSshKeysInner) GetHrefOk ¶

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 (*FindDeviceSSHKeys200ResponseSshKeysInner) GetId ¶

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

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

GetKey returns the Key field value if set, zero value otherwise.

func (*FindDeviceSSHKeys200ResponseSshKeysInner) GetKeyOk ¶

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 (*FindDeviceSSHKeys200ResponseSshKeysInner) GetLabel ¶

GetLabel returns the Label field value if set, zero value otherwise.

func (*FindDeviceSSHKeys200ResponseSshKeysInner) GetLabelOk ¶

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 (*FindDeviceSSHKeys200ResponseSshKeysInner) GetUpdatedAt ¶

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

func (*FindDeviceSSHKeys200ResponseSshKeysInner) GetUpdatedAtOk ¶

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

HasCreatedAt returns a boolean if a field has been set.

func (*FindDeviceSSHKeys200ResponseSshKeysInner) HasEntity ¶

HasEntity returns a boolean if a field has been set.

func (*FindDeviceSSHKeys200ResponseSshKeysInner) HasFingerprint ¶

func (o *FindDeviceSSHKeys200ResponseSshKeysInner) HasFingerprint() bool

HasFingerprint returns a boolean if a field has been set.

func (*FindDeviceSSHKeys200ResponseSshKeysInner) HasHref ¶

HasHref returns a boolean if a field has been set.

func (*FindDeviceSSHKeys200ResponseSshKeysInner) HasId ¶

HasId returns a boolean if a field has been set.

func (*FindDeviceSSHKeys200ResponseSshKeysInner) HasKey ¶

HasKey returns a boolean if a field has been set.

func (*FindDeviceSSHKeys200ResponseSshKeysInner) HasLabel ¶

HasLabel returns a boolean if a field has been set.

func (*FindDeviceSSHKeys200ResponseSshKeysInner) HasUpdatedAt ¶

HasUpdatedAt returns a boolean if a field has been set.

func (FindDeviceSSHKeys200ResponseSshKeysInner) MarshalJSON ¶

func (*FindDeviceSSHKeys200ResponseSshKeysInner) SetCreatedAt ¶

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

func (*FindDeviceSSHKeys200ResponseSshKeysInner) SetEntity ¶

SetEntity gets a reference to the given FindBatchById200ResponseDevicesInner and assigns it to the Entity field.

func (*FindDeviceSSHKeys200ResponseSshKeysInner) SetFingerprint ¶

func (o *FindDeviceSSHKeys200ResponseSshKeysInner) SetFingerprint(v string)

SetFingerprint gets a reference to the given string and assigns it to the Fingerprint field.

func (*FindDeviceSSHKeys200ResponseSshKeysInner) SetHref ¶

SetHref gets a reference to the given string and assigns it to the Href field.

func (*FindDeviceSSHKeys200ResponseSshKeysInner) SetId ¶

SetId gets a reference to the given string and assigns it to the Id field.

func (*FindDeviceSSHKeys200ResponseSshKeysInner) SetKey ¶

SetKey gets a reference to the given string and assigns it to the Key field.

func (*FindDeviceSSHKeys200ResponseSshKeysInner) SetLabel ¶

SetLabel gets a reference to the given string and assigns it to the Label field.

func (*FindDeviceSSHKeys200ResponseSshKeysInner) SetUpdatedAt ¶

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

type FindDeviceUsages200Response ¶

type FindDeviceUsages200Response struct {
	Usages []FindDeviceUsages200ResponseUsagesInner `json:"usages,omitempty"`
}

FindDeviceUsages200Response struct for FindDeviceUsages200Response

func NewFindDeviceUsages200Response ¶

func NewFindDeviceUsages200Response() *FindDeviceUsages200Response

NewFindDeviceUsages200Response instantiates a new FindDeviceUsages200Response 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 NewFindDeviceUsages200ResponseWithDefaults ¶

func NewFindDeviceUsages200ResponseWithDefaults() *FindDeviceUsages200Response

NewFindDeviceUsages200ResponseWithDefaults instantiates a new FindDeviceUsages200Response 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 (*FindDeviceUsages200Response) GetUsages ¶

GetUsages returns the Usages field value if set, zero value otherwise.

func (*FindDeviceUsages200Response) GetUsagesOk ¶

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 (*FindDeviceUsages200Response) HasUsages ¶

func (o *FindDeviceUsages200Response) HasUsages() bool

HasUsages returns a boolean if a field has been set.

func (FindDeviceUsages200Response) MarshalJSON ¶

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

func (*FindDeviceUsages200Response) SetUsages ¶

SetUsages gets a reference to the given []FindDeviceUsages200ResponseUsagesInner and assigns it to the Usages field.

type FindDeviceUsages200ResponseUsagesInner ¶

type FindDeviceUsages200ResponseUsagesInner struct {
	Quantity *string `json:"quantity,omitempty"`
	Total    *string `json:"total,omitempty"`
	Unit     *string `json:"unit,omitempty"`
}

FindDeviceUsages200ResponseUsagesInner struct for FindDeviceUsages200ResponseUsagesInner

func NewFindDeviceUsages200ResponseUsagesInner ¶

func NewFindDeviceUsages200ResponseUsagesInner() *FindDeviceUsages200ResponseUsagesInner

NewFindDeviceUsages200ResponseUsagesInner instantiates a new FindDeviceUsages200ResponseUsagesInner 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 NewFindDeviceUsages200ResponseUsagesInnerWithDefaults ¶

func NewFindDeviceUsages200ResponseUsagesInnerWithDefaults() *FindDeviceUsages200ResponseUsagesInner

NewFindDeviceUsages200ResponseUsagesInnerWithDefaults instantiates a new FindDeviceUsages200ResponseUsagesInner 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 (*FindDeviceUsages200ResponseUsagesInner) GetQuantity ¶

GetQuantity returns the Quantity field value if set, zero value otherwise.

func (*FindDeviceUsages200ResponseUsagesInner) GetQuantityOk ¶

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

GetTotal returns the Total field value if set, zero value otherwise.

func (*FindDeviceUsages200ResponseUsagesInner) GetTotalOk ¶

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 (*FindDeviceUsages200ResponseUsagesInner) GetUnit ¶

GetUnit returns the Unit field value if set, zero value otherwise.

func (*FindDeviceUsages200ResponseUsagesInner) GetUnitOk ¶

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 (*FindDeviceUsages200ResponseUsagesInner) HasQuantity ¶

HasQuantity returns a boolean if a field has been set.

func (*FindDeviceUsages200ResponseUsagesInner) HasTotal ¶

HasTotal returns a boolean if a field has been set.

func (*FindDeviceUsages200ResponseUsagesInner) HasUnit ¶

HasUnit returns a boolean if a field has been set.

func (FindDeviceUsages200ResponseUsagesInner) MarshalJSON ¶

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

func (*FindDeviceUsages200ResponseUsagesInner) SetQuantity ¶

SetQuantity gets a reference to the given string and assigns it to the Quantity field.

func (*FindDeviceUsages200ResponseUsagesInner) SetTotal ¶

SetTotal gets a reference to the given string and assigns it to the Total field.

func (*FindDeviceUsages200ResponseUsagesInner) SetUnit ¶

SetUnit gets a reference to the given string and assigns it to the Unit field.

type FindDeviceUserdataByID200Response ¶ added in v0.2.6

type FindDeviceUserdataByID200Response struct {
	Userdata *string `json:"userdata,omitempty"`
}

FindDeviceUserdataByID200Response struct for FindDeviceUserdataByID200Response

func NewFindDeviceUserdataByID200Response ¶ added in v0.2.6

func NewFindDeviceUserdataByID200Response() *FindDeviceUserdataByID200Response

NewFindDeviceUserdataByID200Response instantiates a new FindDeviceUserdataByID200Response 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 NewFindDeviceUserdataByID200ResponseWithDefaults ¶ added in v0.2.6

func NewFindDeviceUserdataByID200ResponseWithDefaults() *FindDeviceUserdataByID200Response

NewFindDeviceUserdataByID200ResponseWithDefaults instantiates a new FindDeviceUserdataByID200Response 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 (*FindDeviceUserdataByID200Response) GetUserdata ¶ added in v0.2.6

func (o *FindDeviceUserdataByID200Response) GetUserdata() string

GetUserdata returns the Userdata field value if set, zero value otherwise.

func (*FindDeviceUserdataByID200Response) GetUserdataOk ¶ added in v0.2.6

func (o *FindDeviceUserdataByID200Response) 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 (*FindDeviceUserdataByID200Response) HasUserdata ¶ added in v0.2.6

func (o *FindDeviceUserdataByID200Response) HasUserdata() bool

HasUserdata returns a boolean if a field has been set.

func (FindDeviceUserdataByID200Response) MarshalJSON ¶ added in v0.2.6

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

func (*FindDeviceUserdataByID200Response) SetUserdata ¶ added in v0.2.6

func (o *FindDeviceUserdataByID200Response) SetUserdata(v string)

SetUserdata gets a reference to the given string and assigns it to the Userdata field.

type FindFacilities200Response ¶

type FindFacilities200Response struct {
	Facilities []FindDeviceById200ResponseFacility `json:"facilities,omitempty"`
}

FindFacilities200Response struct for FindFacilities200Response

func NewFindFacilities200Response ¶

func NewFindFacilities200Response() *FindFacilities200Response

NewFindFacilities200Response instantiates a new FindFacilities200Response 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 NewFindFacilities200ResponseWithDefaults ¶

func NewFindFacilities200ResponseWithDefaults() *FindFacilities200Response

NewFindFacilities200ResponseWithDefaults instantiates a new FindFacilities200Response 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 (*FindFacilities200Response) GetFacilities ¶

GetFacilities returns the Facilities field value if set, zero value otherwise.

func (*FindFacilities200Response) GetFacilitiesOk ¶

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 (*FindFacilities200Response) HasFacilities ¶

func (o *FindFacilities200Response) HasFacilities() bool

HasFacilities returns a boolean if a field has been set.

func (FindFacilities200Response) MarshalJSON ¶

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

func (*FindFacilities200Response) SetFacilities ¶

SetFacilities gets a reference to the given []FindDeviceById200ResponseFacility and assigns it to the Facilities field.

type FindGlobalBgpRanges200Response ¶

type FindGlobalBgpRanges200Response struct {
	GlobalBgpRanges []FindBgpConfigByProject200ResponseRangesInner `json:"global_bgp_ranges,omitempty"`
}

FindGlobalBgpRanges200Response struct for FindGlobalBgpRanges200Response

func NewFindGlobalBgpRanges200Response ¶

func NewFindGlobalBgpRanges200Response() *FindGlobalBgpRanges200Response

NewFindGlobalBgpRanges200Response instantiates a new FindGlobalBgpRanges200Response 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 NewFindGlobalBgpRanges200ResponseWithDefaults ¶

func NewFindGlobalBgpRanges200ResponseWithDefaults() *FindGlobalBgpRanges200Response

NewFindGlobalBgpRanges200ResponseWithDefaults instantiates a new FindGlobalBgpRanges200Response 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 (*FindGlobalBgpRanges200Response) GetGlobalBgpRanges ¶

GetGlobalBgpRanges returns the GlobalBgpRanges field value if set, zero value otherwise.

func (*FindGlobalBgpRanges200Response) GetGlobalBgpRangesOk ¶

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 (*FindGlobalBgpRanges200Response) HasGlobalBgpRanges ¶

func (o *FindGlobalBgpRanges200Response) HasGlobalBgpRanges() bool

HasGlobalBgpRanges returns a boolean if a field has been set.

func (FindGlobalBgpRanges200Response) MarshalJSON ¶

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

func (*FindGlobalBgpRanges200Response) SetGlobalBgpRanges ¶

SetGlobalBgpRanges gets a reference to the given []FindBgpConfigByProject200ResponseRangesInner and assigns it to the GlobalBgpRanges field.

type FindIPAddressById200Response ¶ added in v0.2.6

type FindIPAddressById200Response struct {
	FindDeviceById200ResponseIpAddressesInner *FindDeviceById200ResponseIpAddressesInner
	FindIPAddressById200ResponseOneOf         *FindIPAddressById200ResponseOneOf
	FindIPAddressById200ResponseOneOf1        *FindIPAddressById200ResponseOneOf1
}

FindIPAddressById200Response - struct for FindIPAddressById200Response

func FindDeviceById200ResponseIpAddressesInnerAsFindIPAddressById200Response ¶ added in v0.2.6

func FindDeviceById200ResponseIpAddressesInnerAsFindIPAddressById200Response(v *FindDeviceById200ResponseIpAddressesInner) FindIPAddressById200Response

FindDeviceById200ResponseIpAddressesInnerAsFindIPAddressById200Response is a convenience function that returns FindDeviceById200ResponseIpAddressesInner wrapped in FindIPAddressById200Response

func FindIPAddressById200ResponseOneOf1AsFindIPAddressById200Response ¶ added in v0.2.6

func FindIPAddressById200ResponseOneOf1AsFindIPAddressById200Response(v *FindIPAddressById200ResponseOneOf1) FindIPAddressById200Response

FindIPAddressById200ResponseOneOf1AsFindIPAddressById200Response is a convenience function that returns FindIPAddressById200ResponseOneOf1 wrapped in FindIPAddressById200Response

func FindIPAddressById200ResponseOneOfAsFindIPAddressById200Response ¶ added in v0.2.6

func FindIPAddressById200ResponseOneOfAsFindIPAddressById200Response(v *FindIPAddressById200ResponseOneOf) FindIPAddressById200Response

FindIPAddressById200ResponseOneOfAsFindIPAddressById200Response is a convenience function that returns FindIPAddressById200ResponseOneOf wrapped in FindIPAddressById200Response

func (*FindIPAddressById200Response) GetActualInstance ¶ added in v0.2.6

func (obj *FindIPAddressById200Response) GetActualInstance() interface{}

Get the actual instance

func (FindIPAddressById200Response) MarshalJSON ¶ added in v0.2.6

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.2.6

func (dst *FindIPAddressById200Response) UnmarshalJSON(data []byte) error

Unmarshal JSON data into one of the pointers in the struct

type FindIPAddressById200ResponseOneOf ¶ added in v0.2.6

type FindIPAddressById200ResponseOneOf struct {
	Addon         *bool                                                                             `json:"addon,omitempty"`
	AddressFamily *int32                                                                            `json:"address_family,omitempty"`
	Assignments   []FindDeviceById200ResponseIpAddressesInner                                       `json:"assignments,omitempty"`
	Bill          *bool                                                                             `json:"bill,omitempty"`
	Cidr          *int32                                                                            `json:"cidr,omitempty"`
	CreatedAt     *time.Time                                                                        `json:"created_at,omitempty"`
	Enabled       *bool                                                                             `json:"enabled,omitempty"`
	Facility      *FindIPAddressById200ResponseOneOfFacility                                        `json:"facility,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  *FindDeviceById200ResponseNetworkPortsInnerNativeVirtualNetworkMetalGatewaysInner `json:"metal_gateway,omitempty"`
	Metro         *FindIPAddressById200ResponseOneOfMetro                                           `json:"metro,omitempty"`
	Netmask       *string                                                                           `json:"netmask,omitempty"`
	Network       *string                                                                           `json:"network,omitempty"`
	Public        *bool                                                                             `json:"public,omitempty"`
	State         *string                                                                           `json:"state,omitempty"`
	Tags          []string                                                                          `json:"tags,omitempty"`
}

FindIPAddressById200ResponseOneOf struct for FindIPAddressById200ResponseOneOf

func NewFindIPAddressById200ResponseOneOf ¶ added in v0.2.6

func NewFindIPAddressById200ResponseOneOf() *FindIPAddressById200ResponseOneOf

NewFindIPAddressById200ResponseOneOf instantiates a new FindIPAddressById200ResponseOneOf 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 NewFindIPAddressById200ResponseOneOfWithDefaults ¶ added in v0.2.6

func NewFindIPAddressById200ResponseOneOfWithDefaults() *FindIPAddressById200ResponseOneOf

NewFindIPAddressById200ResponseOneOfWithDefaults instantiates a new FindIPAddressById200ResponseOneOf 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 (*FindIPAddressById200ResponseOneOf) GetAddon ¶ added in v0.2.6

GetAddon returns the Addon field value if set, zero value otherwise.

func (*FindIPAddressById200ResponseOneOf) GetAddonOk ¶ added in v0.2.6

func (o *FindIPAddressById200ResponseOneOf) 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 (*FindIPAddressById200ResponseOneOf) GetAddressFamily ¶ added in v0.2.6

func (o *FindIPAddressById200ResponseOneOf) GetAddressFamily() int32

GetAddressFamily returns the AddressFamily field value if set, zero value otherwise.

func (*FindIPAddressById200ResponseOneOf) GetAddressFamilyOk ¶ added in v0.2.6

func (o *FindIPAddressById200ResponseOneOf) 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 (*FindIPAddressById200ResponseOneOf) GetAssignments ¶ added in v0.2.6

GetAssignments returns the Assignments field value if set, zero value otherwise.

func (*FindIPAddressById200ResponseOneOf) GetAssignmentsOk ¶ added in v0.2.6

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 (*FindIPAddressById200ResponseOneOf) GetBill ¶ added in v0.2.6

GetBill returns the Bill field value if set, zero value otherwise.

func (*FindIPAddressById200ResponseOneOf) GetBillOk ¶ added in v0.2.6

func (o *FindIPAddressById200ResponseOneOf) 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 (*FindIPAddressById200ResponseOneOf) GetCidr ¶ added in v0.2.6

GetCidr returns the Cidr field value if set, zero value otherwise.

func (*FindIPAddressById200ResponseOneOf) GetCidrOk ¶ added in v0.2.6

func (o *FindIPAddressById200ResponseOneOf) 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 (*FindIPAddressById200ResponseOneOf) GetCreatedAt ¶ added in v0.2.6

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

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

func (*FindIPAddressById200ResponseOneOf) GetCreatedAtOk ¶ added in v0.2.6

func (o *FindIPAddressById200ResponseOneOf) 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 (*FindIPAddressById200ResponseOneOf) GetEnabled ¶ added in v0.2.6

func (o *FindIPAddressById200ResponseOneOf) GetEnabled() bool

GetEnabled returns the Enabled field value if set, zero value otherwise.

func (*FindIPAddressById200ResponseOneOf) GetEnabledOk ¶ added in v0.2.6

func (o *FindIPAddressById200ResponseOneOf) 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 (*FindIPAddressById200ResponseOneOf) GetFacility ¶ added in v0.2.6

GetFacility returns the Facility field value if set, zero value otherwise.

func (*FindIPAddressById200ResponseOneOf) GetFacilityOk ¶ added in v0.2.6

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 (*FindIPAddressById200ResponseOneOf) GetGlobalIp ¶ added in v0.2.6

func (o *FindIPAddressById200ResponseOneOf) GetGlobalIp() bool

GetGlobalIp returns the GlobalIp field value if set, zero value otherwise.

func (*FindIPAddressById200ResponseOneOf) GetGlobalIpOk ¶ added in v0.2.6

func (o *FindIPAddressById200ResponseOneOf) 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 (*FindIPAddressById200ResponseOneOf) GetHref ¶ added in v0.2.6

GetHref returns the Href field value if set, zero value otherwise.

func (*FindIPAddressById200ResponseOneOf) GetHrefOk ¶ added in v0.2.6

func (o *FindIPAddressById200ResponseOneOf) 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 (*FindIPAddressById200ResponseOneOf) GetId ¶ added in v0.2.6

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

func (*FindIPAddressById200ResponseOneOf) GetIdOk ¶ added in v0.2.6

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 (*FindIPAddressById200ResponseOneOf) GetManageable ¶ added in v0.2.6

func (o *FindIPAddressById200ResponseOneOf) GetManageable() bool

GetManageable returns the Manageable field value if set, zero value otherwise.

func (*FindIPAddressById200ResponseOneOf) GetManageableOk ¶ added in v0.2.6

func (o *FindIPAddressById200ResponseOneOf) 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 (*FindIPAddressById200ResponseOneOf) GetManagement ¶ added in v0.2.6

func (o *FindIPAddressById200ResponseOneOf) GetManagement() bool

GetManagement returns the Management field value if set, zero value otherwise.

func (*FindIPAddressById200ResponseOneOf) GetManagementOk ¶ added in v0.2.6

func (o *FindIPAddressById200ResponseOneOf) 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 (*FindIPAddressById200ResponseOneOf) GetMetalGateway ¶ added in v0.2.6

GetMetalGateway returns the MetalGateway field value if set, zero value otherwise.

func (*FindIPAddressById200ResponseOneOf) GetMetalGatewayOk ¶ added in v0.2.6

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 (*FindIPAddressById200ResponseOneOf) GetMetro ¶ added in v0.2.6

GetMetro returns the Metro field value if set, zero value otherwise.

func (*FindIPAddressById200ResponseOneOf) GetMetroOk ¶ added in v0.2.6

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 (*FindIPAddressById200ResponseOneOf) GetNetmask ¶ added in v0.2.6

func (o *FindIPAddressById200ResponseOneOf) GetNetmask() string

GetNetmask returns the Netmask field value if set, zero value otherwise.

func (*FindIPAddressById200ResponseOneOf) GetNetmaskOk ¶ added in v0.2.6

func (o *FindIPAddressById200ResponseOneOf) 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 (*FindIPAddressById200ResponseOneOf) GetNetwork ¶ added in v0.2.6

func (o *FindIPAddressById200ResponseOneOf) GetNetwork() string

GetNetwork returns the Network field value if set, zero value otherwise.

func (*FindIPAddressById200ResponseOneOf) GetNetworkOk ¶ added in v0.2.6

func (o *FindIPAddressById200ResponseOneOf) 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 (*FindIPAddressById200ResponseOneOf) GetPublic ¶ added in v0.2.6

func (o *FindIPAddressById200ResponseOneOf) GetPublic() bool

GetPublic returns the Public field value if set, zero value otherwise.

func (*FindIPAddressById200ResponseOneOf) GetPublicOk ¶ added in v0.2.6

func (o *FindIPAddressById200ResponseOneOf) 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 (*FindIPAddressById200ResponseOneOf) GetState ¶ added in v0.2.6

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

func (*FindIPAddressById200ResponseOneOf) GetStateOk ¶ added in v0.2.6

func (o *FindIPAddressById200ResponseOneOf) 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 (*FindIPAddressById200ResponseOneOf) GetTags ¶ added in v0.2.6

GetTags returns the Tags field value if set, zero value otherwise.

func (*FindIPAddressById200ResponseOneOf) GetTagsOk ¶ added in v0.2.6

func (o *FindIPAddressById200ResponseOneOf) 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 (*FindIPAddressById200ResponseOneOf) HasAddon ¶ added in v0.2.6

HasAddon returns a boolean if a field has been set.

func (*FindIPAddressById200ResponseOneOf) HasAddressFamily ¶ added in v0.2.6

func (o *FindIPAddressById200ResponseOneOf) HasAddressFamily() bool

HasAddressFamily returns a boolean if a field has been set.

func (*FindIPAddressById200ResponseOneOf) HasAssignments ¶ added in v0.2.6

func (o *FindIPAddressById200ResponseOneOf) HasAssignments() bool

HasAssignments returns a boolean if a field has been set.

func (*FindIPAddressById200ResponseOneOf) HasBill ¶ added in v0.2.6

HasBill returns a boolean if a field has been set.

func (*FindIPAddressById200ResponseOneOf) HasCidr ¶ added in v0.2.6

HasCidr returns a boolean if a field has been set.

func (*FindIPAddressById200ResponseOneOf) HasCreatedAt ¶ added in v0.2.6

func (o *FindIPAddressById200ResponseOneOf) HasCreatedAt() bool

HasCreatedAt returns a boolean if a field has been set.

func (*FindIPAddressById200ResponseOneOf) HasEnabled ¶ added in v0.2.6

func (o *FindIPAddressById200ResponseOneOf) HasEnabled() bool

HasEnabled returns a boolean if a field has been set.

func (*FindIPAddressById200ResponseOneOf) HasFacility ¶ added in v0.2.6

func (o *FindIPAddressById200ResponseOneOf) HasFacility() bool

HasFacility returns a boolean if a field has been set.

func (*FindIPAddressById200ResponseOneOf) HasGlobalIp ¶ added in v0.2.6

func (o *FindIPAddressById200ResponseOneOf) HasGlobalIp() bool

HasGlobalIp returns a boolean if a field has been set.

func (*FindIPAddressById200ResponseOneOf) HasHref ¶ added in v0.2.6

HasHref returns a boolean if a field has been set.

func (*FindIPAddressById200ResponseOneOf) HasId ¶ added in v0.2.6

HasId returns a boolean if a field has been set.

func (*FindIPAddressById200ResponseOneOf) HasManageable ¶ added in v0.2.6

func (o *FindIPAddressById200ResponseOneOf) HasManageable() bool

HasManageable returns a boolean if a field has been set.

func (*FindIPAddressById200ResponseOneOf) HasManagement ¶ added in v0.2.6

func (o *FindIPAddressById200ResponseOneOf) HasManagement() bool

HasManagement returns a boolean if a field has been set.

func (*FindIPAddressById200ResponseOneOf) HasMetalGateway ¶ added in v0.2.6

func (o *FindIPAddressById200ResponseOneOf) HasMetalGateway() bool

HasMetalGateway returns a boolean if a field has been set.

func (*FindIPAddressById200ResponseOneOf) HasMetro ¶ added in v0.2.6

HasMetro returns a boolean if a field has been set.

func (*FindIPAddressById200ResponseOneOf) HasNetmask ¶ added in v0.2.6

func (o *FindIPAddressById200ResponseOneOf) HasNetmask() bool

HasNetmask returns a boolean if a field has been set.

func (*FindIPAddressById200ResponseOneOf) HasNetwork ¶ added in v0.2.6

func (o *FindIPAddressById200ResponseOneOf) HasNetwork() bool

HasNetwork returns a boolean if a field has been set.

func (*FindIPAddressById200ResponseOneOf) HasPublic ¶ added in v0.2.6

func (o *FindIPAddressById200ResponseOneOf) HasPublic() bool

HasPublic returns a boolean if a field has been set.

func (*FindIPAddressById200ResponseOneOf) HasState ¶ added in v0.2.6

HasState returns a boolean if a field has been set.

func (*FindIPAddressById200ResponseOneOf) HasTags ¶ added in v0.2.6

HasTags returns a boolean if a field has been set.

func (FindIPAddressById200ResponseOneOf) MarshalJSON ¶ added in v0.2.6

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

func (*FindIPAddressById200ResponseOneOf) SetAddon ¶ added in v0.2.6

func (o *FindIPAddressById200ResponseOneOf) SetAddon(v bool)

SetAddon gets a reference to the given bool and assigns it to the Addon field.

func (*FindIPAddressById200ResponseOneOf) SetAddressFamily ¶ added in v0.2.6

func (o *FindIPAddressById200ResponseOneOf) SetAddressFamily(v int32)

SetAddressFamily gets a reference to the given int32 and assigns it to the AddressFamily field.

func (*FindIPAddressById200ResponseOneOf) SetAssignments ¶ added in v0.2.6

SetAssignments gets a reference to the given []FindDeviceById200ResponseIpAddressesInner and assigns it to the Assignments field.

func (*FindIPAddressById200ResponseOneOf) SetBill ¶ added in v0.2.6

SetBill gets a reference to the given bool and assigns it to the Bill field.

func (*FindIPAddressById200ResponseOneOf) SetCidr ¶ added in v0.2.6

SetCidr gets a reference to the given int32 and assigns it to the Cidr field.

func (*FindIPAddressById200ResponseOneOf) SetCreatedAt ¶ added in v0.2.6

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

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

func (*FindIPAddressById200ResponseOneOf) SetEnabled ¶ added in v0.2.6

func (o *FindIPAddressById200ResponseOneOf) SetEnabled(v bool)

SetEnabled gets a reference to the given bool and assigns it to the Enabled field.

func (*FindIPAddressById200ResponseOneOf) SetFacility ¶ added in v0.2.6

SetFacility gets a reference to the given FindIPAddressById200ResponseOneOfFacility and assigns it to the Facility field.

func (*FindIPAddressById200ResponseOneOf) SetGlobalIp ¶ added in v0.2.6

func (o *FindIPAddressById200ResponseOneOf) SetGlobalIp(v bool)

SetGlobalIp gets a reference to the given bool and assigns it to the GlobalIp field.

func (*FindIPAddressById200ResponseOneOf) SetHref ¶ added in v0.2.6

SetHref gets a reference to the given string and assigns it to the Href field.

func (*FindIPAddressById200ResponseOneOf) SetId ¶ added in v0.2.6

SetId gets a reference to the given string and assigns it to the Id field.

func (*FindIPAddressById200ResponseOneOf) SetManageable ¶ added in v0.2.6

func (o *FindIPAddressById200ResponseOneOf) SetManageable(v bool)

SetManageable gets a reference to the given bool and assigns it to the Manageable field.

func (*FindIPAddressById200ResponseOneOf) SetManagement ¶ added in v0.2.6

func (o *FindIPAddressById200ResponseOneOf) SetManagement(v bool)

SetManagement gets a reference to the given bool and assigns it to the Management field.

func (*FindIPAddressById200ResponseOneOf) SetMetalGateway ¶ added in v0.2.6

SetMetalGateway gets a reference to the given FindDeviceById200ResponseNetworkPortsInnerNativeVirtualNetworkMetalGatewaysInner and assigns it to the MetalGateway field.

func (*FindIPAddressById200ResponseOneOf) SetMetro ¶ added in v0.2.6

SetMetro gets a reference to the given FindIPAddressById200ResponseOneOfMetro and assigns it to the Metro field.

func (*FindIPAddressById200ResponseOneOf) SetNetmask ¶ added in v0.2.6

func (o *FindIPAddressById200ResponseOneOf) SetNetmask(v string)

SetNetmask gets a reference to the given string and assigns it to the Netmask field.

func (*FindIPAddressById200ResponseOneOf) SetNetwork ¶ added in v0.2.6

func (o *FindIPAddressById200ResponseOneOf) SetNetwork(v string)

SetNetwork gets a reference to the given string and assigns it to the Network field.

func (*FindIPAddressById200ResponseOneOf) SetPublic ¶ added in v0.2.6

func (o *FindIPAddressById200ResponseOneOf) SetPublic(v bool)

SetPublic gets a reference to the given bool and assigns it to the Public field.

func (*FindIPAddressById200ResponseOneOf) SetState ¶ added in v0.2.6

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

func (*FindIPAddressById200ResponseOneOf) SetTags ¶ added in v0.2.6

func (o *FindIPAddressById200ResponseOneOf) SetTags(v []string)

SetTags gets a reference to the given []string and assigns it to the Tags field.

type FindIPAddressById200ResponseOneOf1 ¶ added in v0.2.6

type FindIPAddressById200ResponseOneOf1 struct {
	AddressFamily *int32                                                                                      `json:"address_family,omitempty"`
	Cidr          *int32                                                                                      `json:"cidr,omitempty"`
	CreatedAt     *time.Time                                                                                  `json:"created_at,omitempty"`
	CreatedBy     *FindBatchById200ResponseDevicesInner                                                       `json:"created_by,omitempty"`
	Details       *string                                                                                     `json:"details,omitempty"`
	Href          *string                                                                                     `json:"href,omitempty"`
	Id            *string                                                                                     `json:"id,omitempty"`
	MetalGateway  *FindDeviceById200ResponseNetworkPortsInnerNativeVirtualNetworkMetalGatewaysInner           `json:"metal_gateway,omitempty"`
	Netmask       *string                                                                                     `json:"netmask,omitempty"`
	Network       *string                                                                                     `json:"network,omitempty"`
	Project       *GetInterconnection200ResponsePortsInnerVirtualCircuitsVirtualCircuitsInnerAnyOf1VrfProject `json:"project,omitempty"`
	State         *string                                                                                     `json:"state,omitempty"`
	Tags          []string                                                                                    `json:"tags,omitempty"`
	Type          *string                                                                                     `json:"type,omitempty"`
	Vrf           GetInterconnection200ResponsePortsInnerVirtualCircuitsVirtualCircuitsInnerAnyOf1Vrf         `json:"vrf"`
}

FindIPAddressById200ResponseOneOf1 struct for FindIPAddressById200ResponseOneOf1

func NewFindIPAddressById200ResponseOneOf1 ¶ added in v0.2.6

NewFindIPAddressById200ResponseOneOf1 instantiates a new FindIPAddressById200ResponseOneOf1 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 NewFindIPAddressById200ResponseOneOf1WithDefaults ¶ added in v0.2.6

func NewFindIPAddressById200ResponseOneOf1WithDefaults() *FindIPAddressById200ResponseOneOf1

NewFindIPAddressById200ResponseOneOf1WithDefaults instantiates a new FindIPAddressById200ResponseOneOf1 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 (*FindIPAddressById200ResponseOneOf1) GetAddressFamily ¶ added in v0.2.6

func (o *FindIPAddressById200ResponseOneOf1) GetAddressFamily() int32

GetAddressFamily returns the AddressFamily field value if set, zero value otherwise.

func (*FindIPAddressById200ResponseOneOf1) GetAddressFamilyOk ¶ added in v0.2.6

func (o *FindIPAddressById200ResponseOneOf1) 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 (*FindIPAddressById200ResponseOneOf1) GetCidr ¶ added in v0.2.6

GetCidr returns the Cidr field value if set, zero value otherwise.

func (*FindIPAddressById200ResponseOneOf1) GetCidrOk ¶ added in v0.2.6

func (o *FindIPAddressById200ResponseOneOf1) 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 (*FindIPAddressById200ResponseOneOf1) GetCreatedAt ¶ added in v0.2.6

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

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

func (*FindIPAddressById200ResponseOneOf1) GetCreatedAtOk ¶ added in v0.2.6

func (o *FindIPAddressById200ResponseOneOf1) 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 (*FindIPAddressById200ResponseOneOf1) GetCreatedBy ¶ added in v0.2.6

GetCreatedBy returns the CreatedBy field value if set, zero value otherwise.

func (*FindIPAddressById200ResponseOneOf1) GetCreatedByOk ¶ added in v0.2.6

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 (*FindIPAddressById200ResponseOneOf1) GetDetails ¶ added in v0.2.6

GetDetails returns the Details field value if set, zero value otherwise.

func (*FindIPAddressById200ResponseOneOf1) GetDetailsOk ¶ added in v0.2.6

func (o *FindIPAddressById200ResponseOneOf1) 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 (*FindIPAddressById200ResponseOneOf1) GetHref ¶ added in v0.2.6

GetHref returns the Href field value if set, zero value otherwise.

func (*FindIPAddressById200ResponseOneOf1) GetHrefOk ¶ added in v0.2.6

func (o *FindIPAddressById200ResponseOneOf1) 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 (*FindIPAddressById200ResponseOneOf1) GetId ¶ added in v0.2.6

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

func (*FindIPAddressById200ResponseOneOf1) GetIdOk ¶ added in v0.2.6

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 (*FindIPAddressById200ResponseOneOf1) GetMetalGateway ¶ added in v0.2.6

GetMetalGateway returns the MetalGateway field value if set, zero value otherwise.

func (*FindIPAddressById200ResponseOneOf1) GetMetalGatewayOk ¶ added in v0.2.6

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 (*FindIPAddressById200ResponseOneOf1) GetNetmask ¶ added in v0.2.6

GetNetmask returns the Netmask field value if set, zero value otherwise.

func (*FindIPAddressById200ResponseOneOf1) GetNetmaskOk ¶ added in v0.2.6

func (o *FindIPAddressById200ResponseOneOf1) 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 (*FindIPAddressById200ResponseOneOf1) GetNetwork ¶ added in v0.2.6

GetNetwork returns the Network field value if set, zero value otherwise.

func (*FindIPAddressById200ResponseOneOf1) GetNetworkOk ¶ added in v0.2.6

func (o *FindIPAddressById200ResponseOneOf1) 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 (*FindIPAddressById200ResponseOneOf1) GetProject ¶ added in v0.2.6

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

func (*FindIPAddressById200ResponseOneOf1) GetProjectOk ¶ added in v0.2.6

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 (*FindIPAddressById200ResponseOneOf1) GetState ¶ added in v0.2.6

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

func (*FindIPAddressById200ResponseOneOf1) GetStateOk ¶ added in v0.2.6

func (o *FindIPAddressById200ResponseOneOf1) 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 (*FindIPAddressById200ResponseOneOf1) GetTags ¶ added in v0.2.6

GetTags returns the Tags field value if set, zero value otherwise.

func (*FindIPAddressById200ResponseOneOf1) GetTagsOk ¶ added in v0.2.6

func (o *FindIPAddressById200ResponseOneOf1) 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 (*FindIPAddressById200ResponseOneOf1) GetType ¶ added in v0.2.6

GetType returns the Type field value if set, zero value otherwise.

func (*FindIPAddressById200ResponseOneOf1) GetTypeOk ¶ added in v0.2.6

func (o *FindIPAddressById200ResponseOneOf1) 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 (*FindIPAddressById200ResponseOneOf1) GetVrf ¶ added in v0.2.6

GetVrf returns the Vrf field value

func (*FindIPAddressById200ResponseOneOf1) GetVrfOk ¶ added in v0.2.6

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

func (*FindIPAddressById200ResponseOneOf1) HasAddressFamily ¶ added in v0.2.6

func (o *FindIPAddressById200ResponseOneOf1) HasAddressFamily() bool

HasAddressFamily returns a boolean if a field has been set.

func (*FindIPAddressById200ResponseOneOf1) HasCidr ¶ added in v0.2.6

HasCidr returns a boolean if a field has been set.

func (*FindIPAddressById200ResponseOneOf1) HasCreatedAt ¶ added in v0.2.6

func (o *FindIPAddressById200ResponseOneOf1) HasCreatedAt() bool

HasCreatedAt returns a boolean if a field has been set.

func (*FindIPAddressById200ResponseOneOf1) HasCreatedBy ¶ added in v0.2.6

func (o *FindIPAddressById200ResponseOneOf1) HasCreatedBy() bool

HasCreatedBy returns a boolean if a field has been set.

func (*FindIPAddressById200ResponseOneOf1) HasDetails ¶ added in v0.2.6

func (o *FindIPAddressById200ResponseOneOf1) HasDetails() bool

HasDetails returns a boolean if a field has been set.

func (*FindIPAddressById200ResponseOneOf1) HasHref ¶ added in v0.2.6

HasHref returns a boolean if a field has been set.

func (*FindIPAddressById200ResponseOneOf1) HasId ¶ added in v0.2.6

HasId returns a boolean if a field has been set.

func (*FindIPAddressById200ResponseOneOf1) HasMetalGateway ¶ added in v0.2.6

func (o *FindIPAddressById200ResponseOneOf1) HasMetalGateway() bool

HasMetalGateway returns a boolean if a field has been set.

func (*FindIPAddressById200ResponseOneOf1) HasNetmask ¶ added in v0.2.6

func (o *FindIPAddressById200ResponseOneOf1) HasNetmask() bool

HasNetmask returns a boolean if a field has been set.

func (*FindIPAddressById200ResponseOneOf1) HasNetwork ¶ added in v0.2.6

func (o *FindIPAddressById200ResponseOneOf1) HasNetwork() bool

HasNetwork returns a boolean if a field has been set.

func (*FindIPAddressById200ResponseOneOf1) HasProject ¶ added in v0.2.6

func (o *FindIPAddressById200ResponseOneOf1) HasProject() bool

HasProject returns a boolean if a field has been set.

func (*FindIPAddressById200ResponseOneOf1) HasState ¶ added in v0.2.6

HasState returns a boolean if a field has been set.

func (*FindIPAddressById200ResponseOneOf1) HasTags ¶ added in v0.2.6

HasTags returns a boolean if a field has been set.

func (*FindIPAddressById200ResponseOneOf1) HasType ¶ added in v0.2.6

HasType returns a boolean if a field has been set.

func (FindIPAddressById200ResponseOneOf1) MarshalJSON ¶ added in v0.2.6

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

func (*FindIPAddressById200ResponseOneOf1) SetAddressFamily ¶ added in v0.2.6

func (o *FindIPAddressById200ResponseOneOf1) SetAddressFamily(v int32)

SetAddressFamily gets a reference to the given int32 and assigns it to the AddressFamily field.

func (*FindIPAddressById200ResponseOneOf1) SetCidr ¶ added in v0.2.6

SetCidr gets a reference to the given int32 and assigns it to the Cidr field.

func (*FindIPAddressById200ResponseOneOf1) SetCreatedAt ¶ added in v0.2.6

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

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

func (*FindIPAddressById200ResponseOneOf1) SetCreatedBy ¶ added in v0.2.6

SetCreatedBy gets a reference to the given FindBatchById200ResponseDevicesInner and assigns it to the CreatedBy field.

func (*FindIPAddressById200ResponseOneOf1) SetDetails ¶ added in v0.2.6

func (o *FindIPAddressById200ResponseOneOf1) SetDetails(v string)

SetDetails gets a reference to the given string and assigns it to the Details field.

func (*FindIPAddressById200ResponseOneOf1) SetHref ¶ added in v0.2.6

SetHref gets a reference to the given string and assigns it to the Href field.

func (*FindIPAddressById200ResponseOneOf1) SetId ¶ added in v0.2.6

SetId gets a reference to the given string and assigns it to the Id field.

func (*FindIPAddressById200ResponseOneOf1) SetMetalGateway ¶ added in v0.2.6

SetMetalGateway gets a reference to the given FindDeviceById200ResponseNetworkPortsInnerNativeVirtualNetworkMetalGatewaysInner and assigns it to the MetalGateway field.

func (*FindIPAddressById200ResponseOneOf1) SetNetmask ¶ added in v0.2.6

func (o *FindIPAddressById200ResponseOneOf1) SetNetmask(v string)

SetNetmask gets a reference to the given string and assigns it to the Netmask field.

func (*FindIPAddressById200ResponseOneOf1) SetNetwork ¶ added in v0.2.6

func (o *FindIPAddressById200ResponseOneOf1) SetNetwork(v string)

SetNetwork gets a reference to the given string and assigns it to the Network field.

func (*FindIPAddressById200ResponseOneOf1) SetProject ¶ added in v0.2.6

SetProject gets a reference to the given GetInterconnection200ResponsePortsInnerVirtualCircuitsVirtualCircuitsInnerAnyOf1VrfProject and assigns it to the Project field.

func (*FindIPAddressById200ResponseOneOf1) SetState ¶ added in v0.2.6

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

func (*FindIPAddressById200ResponseOneOf1) SetTags ¶ added in v0.2.6

SetTags gets a reference to the given []string and assigns it to the Tags field.

func (*FindIPAddressById200ResponseOneOf1) SetType ¶ added in v0.2.6

SetType gets a reference to the given string and assigns it to the Type field.

func (*FindIPAddressById200ResponseOneOf1) SetVrf ¶ added in v0.2.6

SetVrf sets field value

type FindIPAddressById200ResponseOneOfFacility ¶ added in v0.2.6

type FindIPAddressById200ResponseOneOfFacility struct {
	Address  *FindDeviceById200ResponseFacilityAddress `json:"address,omitempty"`
	Code     *string                                   `json:"code,omitempty"`
	Features []string                                  `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    *FindDeviceById200ResponseFacilityMetro `json:"metro,omitempty"`
	Name     *string                                 `json:"name,omitempty"`
}

FindIPAddressById200ResponseOneOfFacility struct for FindIPAddressById200ResponseOneOfFacility

func NewFindIPAddressById200ResponseOneOfFacility ¶ added in v0.2.6

func NewFindIPAddressById200ResponseOneOfFacility() *FindIPAddressById200ResponseOneOfFacility

NewFindIPAddressById200ResponseOneOfFacility instantiates a new FindIPAddressById200ResponseOneOfFacility 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 NewFindIPAddressById200ResponseOneOfFacilityWithDefaults ¶ added in v0.2.6

func NewFindIPAddressById200ResponseOneOfFacilityWithDefaults() *FindIPAddressById200ResponseOneOfFacility

NewFindIPAddressById200ResponseOneOfFacilityWithDefaults instantiates a new FindIPAddressById200ResponseOneOfFacility 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 (*FindIPAddressById200ResponseOneOfFacility) GetAddress ¶ added in v0.2.6

GetAddress returns the Address field value if set, zero value otherwise.

func (*FindIPAddressById200ResponseOneOfFacility) GetAddressOk ¶ added in v0.2.6

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 (*FindIPAddressById200ResponseOneOfFacility) GetCode ¶ added in v0.2.6

GetCode returns the Code field value if set, zero value otherwise.

func (*FindIPAddressById200ResponseOneOfFacility) GetCodeOk ¶ added in v0.2.6

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 (*FindIPAddressById200ResponseOneOfFacility) GetFeatures ¶ added in v0.2.6

GetFeatures returns the Features field value if set, zero value otherwise.

func (*FindIPAddressById200ResponseOneOfFacility) GetFeaturesOk ¶ added in v0.2.6

func (o *FindIPAddressById200ResponseOneOfFacility) 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 (*FindIPAddressById200ResponseOneOfFacility) GetId ¶ added in v0.2.6

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

func (*FindIPAddressById200ResponseOneOfFacility) GetIdOk ¶ added in v0.2.6

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 (*FindIPAddressById200ResponseOneOfFacility) GetIpRanges ¶ added in v0.2.6

GetIpRanges returns the IpRanges field value if set, zero value otherwise.

func (*FindIPAddressById200ResponseOneOfFacility) GetIpRangesOk ¶ added in v0.2.6

func (o *FindIPAddressById200ResponseOneOfFacility) 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 (*FindIPAddressById200ResponseOneOfFacility) GetMetro ¶ added in v0.2.6

GetMetro returns the Metro field value if set, zero value otherwise.

func (*FindIPAddressById200ResponseOneOfFacility) GetMetroOk ¶ added in v0.2.6

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 (*FindIPAddressById200ResponseOneOfFacility) GetName ¶ added in v0.2.6

GetName returns the Name field value if set, zero value otherwise.

func (*FindIPAddressById200ResponseOneOfFacility) GetNameOk ¶ added in v0.2.6

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 (*FindIPAddressById200ResponseOneOfFacility) HasAddress ¶ added in v0.2.6

HasAddress returns a boolean if a field has been set.

func (*FindIPAddressById200ResponseOneOfFacility) HasCode ¶ added in v0.2.6

HasCode returns a boolean if a field has been set.

func (*FindIPAddressById200ResponseOneOfFacility) HasFeatures ¶ added in v0.2.6

HasFeatures returns a boolean if a field has been set.

func (*FindIPAddressById200ResponseOneOfFacility) HasId ¶ added in v0.2.6

HasId returns a boolean if a field has been set.

func (*FindIPAddressById200ResponseOneOfFacility) HasIpRanges ¶ added in v0.2.6

HasIpRanges returns a boolean if a field has been set.

func (*FindIPAddressById200ResponseOneOfFacility) HasMetro ¶ added in v0.2.6

HasMetro returns a boolean if a field has been set.

func (*FindIPAddressById200ResponseOneOfFacility) HasName ¶ added in v0.2.6

HasName returns a boolean if a field has been set.

func (FindIPAddressById200ResponseOneOfFacility) MarshalJSON ¶ added in v0.2.6

func (*FindIPAddressById200ResponseOneOfFacility) SetAddress ¶ added in v0.2.6

SetAddress gets a reference to the given FindDeviceById200ResponseFacilityAddress and assigns it to the Address field.

func (*FindIPAddressById200ResponseOneOfFacility) SetCode ¶ added in v0.2.6

SetCode gets a reference to the given string and assigns it to the Code field.

func (*FindIPAddressById200ResponseOneOfFacility) SetFeatures ¶ added in v0.2.6

SetFeatures gets a reference to the given []string and assigns it to the Features field.

func (*FindIPAddressById200ResponseOneOfFacility) SetId ¶ added in v0.2.6

SetId gets a reference to the given string and assigns it to the Id field.

func (*FindIPAddressById200ResponseOneOfFacility) SetIpRanges ¶ added in v0.2.6

SetIpRanges gets a reference to the given []string and assigns it to the IpRanges field.

func (*FindIPAddressById200ResponseOneOfFacility) SetMetro ¶ added in v0.2.6

SetMetro gets a reference to the given FindDeviceById200ResponseFacilityMetro and assigns it to the Metro field.

func (*FindIPAddressById200ResponseOneOfFacility) SetName ¶ added in v0.2.6

SetName gets a reference to the given string and assigns it to the Name field.

type FindIPAddressById200ResponseOneOfMetro ¶ added in v0.2.6

type FindIPAddressById200ResponseOneOfMetro struct {
	Code    *string `json:"code,omitempty"`
	Country *string `json:"country,omitempty"`
	Id      *string `json:"id,omitempty"`
	Name    *string `json:"name,omitempty"`
}

FindIPAddressById200ResponseOneOfMetro struct for FindIPAddressById200ResponseOneOfMetro

func NewFindIPAddressById200ResponseOneOfMetro ¶ added in v0.2.6

func NewFindIPAddressById200ResponseOneOfMetro() *FindIPAddressById200ResponseOneOfMetro

NewFindIPAddressById200ResponseOneOfMetro instantiates a new FindIPAddressById200ResponseOneOfMetro 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 NewFindIPAddressById200ResponseOneOfMetroWithDefaults ¶ added in v0.2.6

func NewFindIPAddressById200ResponseOneOfMetroWithDefaults() *FindIPAddressById200ResponseOneOfMetro

NewFindIPAddressById200ResponseOneOfMetroWithDefaults instantiates a new FindIPAddressById200ResponseOneOfMetro 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 (*FindIPAddressById200ResponseOneOfMetro) GetCode ¶ added in v0.2.6

GetCode returns the Code field value if set, zero value otherwise.

func (*FindIPAddressById200ResponseOneOfMetro) GetCodeOk ¶ added in v0.2.6

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 (*FindIPAddressById200ResponseOneOfMetro) GetCountry ¶ added in v0.2.6

GetCountry returns the Country field value if set, zero value otherwise.

func (*FindIPAddressById200ResponseOneOfMetro) GetCountryOk ¶ added in v0.2.6

func (o *FindIPAddressById200ResponseOneOfMetro) 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 (*FindIPAddressById200ResponseOneOfMetro) GetId ¶ added in v0.2.6

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

func (*FindIPAddressById200ResponseOneOfMetro) GetIdOk ¶ added in v0.2.6

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 (*FindIPAddressById200ResponseOneOfMetro) GetName ¶ added in v0.2.6

GetName returns the Name field value if set, zero value otherwise.

func (*FindIPAddressById200ResponseOneOfMetro) GetNameOk ¶ added in v0.2.6

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 (*FindIPAddressById200ResponseOneOfMetro) HasCode ¶ added in v0.2.6

HasCode returns a boolean if a field has been set.

func (*FindIPAddressById200ResponseOneOfMetro) HasCountry ¶ added in v0.2.6

HasCountry returns a boolean if a field has been set.

func (*FindIPAddressById200ResponseOneOfMetro) HasId ¶ added in v0.2.6

HasId returns a boolean if a field has been set.

func (*FindIPAddressById200ResponseOneOfMetro) HasName ¶ added in v0.2.6

HasName returns a boolean if a field has been set.

func (FindIPAddressById200ResponseOneOfMetro) MarshalJSON ¶ added in v0.2.6

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

func (*FindIPAddressById200ResponseOneOfMetro) SetCode ¶ added in v0.2.6

SetCode gets a reference to the given string and assigns it to the Code field.

func (*FindIPAddressById200ResponseOneOfMetro) SetCountry ¶ added in v0.2.6

SetCountry gets a reference to the given string and assigns it to the Country field.

func (*FindIPAddressById200ResponseOneOfMetro) SetId ¶ added in v0.2.6

SetId gets a reference to the given string and assigns it to the Id field.

func (*FindIPAddressById200ResponseOneOfMetro) SetName ¶ added in v0.2.6

SetName gets a reference to the given string and assigns it to the Name field.

type FindIPAssignments200Response ¶

type FindIPAssignments200Response struct {
	IpAddresses []FindDeviceById200ResponseIpAddressesInner `json:"ip_addresses,omitempty"`
}

FindIPAssignments200Response struct for FindIPAssignments200Response

func NewFindIPAssignments200Response ¶

func NewFindIPAssignments200Response() *FindIPAssignments200Response

NewFindIPAssignments200Response instantiates a new FindIPAssignments200Response 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 NewFindIPAssignments200ResponseWithDefaults ¶

func NewFindIPAssignments200ResponseWithDefaults() *FindIPAssignments200Response

NewFindIPAssignments200ResponseWithDefaults instantiates a new FindIPAssignments200Response 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 (*FindIPAssignments200Response) GetIpAddresses ¶

GetIpAddresses returns the IpAddresses field value if set, zero value otherwise.

func (*FindIPAssignments200Response) GetIpAddressesOk ¶

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 (*FindIPAssignments200Response) HasIpAddresses ¶

func (o *FindIPAssignments200Response) HasIpAddresses() bool

HasIpAddresses returns a boolean if a field has been set.

func (FindIPAssignments200Response) MarshalJSON ¶

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

func (*FindIPAssignments200Response) SetIpAddresses ¶

SetIpAddresses gets a reference to the given []FindDeviceById200ResponseIpAddressesInner and assigns it to the IpAddresses field.

type FindIPAvailabilities200Response ¶

type FindIPAvailabilities200Response struct {
	Available []string `json:"available,omitempty"`
}

FindIPAvailabilities200Response struct for FindIPAvailabilities200Response

func NewFindIPAvailabilities200Response ¶

func NewFindIPAvailabilities200Response() *FindIPAvailabilities200Response

NewFindIPAvailabilities200Response instantiates a new FindIPAvailabilities200Response 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 NewFindIPAvailabilities200ResponseWithDefaults ¶

func NewFindIPAvailabilities200ResponseWithDefaults() *FindIPAvailabilities200Response

NewFindIPAvailabilities200ResponseWithDefaults instantiates a new FindIPAvailabilities200Response 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 (*FindIPAvailabilities200Response) GetAvailable ¶

func (o *FindIPAvailabilities200Response) GetAvailable() []string

GetAvailable returns the Available field value if set, zero value otherwise.

func (*FindIPAvailabilities200Response) GetAvailableOk ¶

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

func (o *FindIPAvailabilities200Response) HasAvailable() bool

HasAvailable returns a boolean if a field has been set.

func (FindIPAvailabilities200Response) MarshalJSON ¶

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

func (*FindIPAvailabilities200Response) SetAvailable ¶

func (o *FindIPAvailabilities200Response) SetAvailable(v []string)

SetAvailable gets a reference to the given []string and assigns it to the Available field.

type FindIPReservations200Response ¶

type FindIPReservations200Response struct {
	IpAddresses []FindIPReservations200ResponseIpAddressesInner `json:"ip_addresses,omitempty"`
}

FindIPReservations200Response struct for FindIPReservations200Response

func NewFindIPReservations200Response ¶

func NewFindIPReservations200Response() *FindIPReservations200Response

NewFindIPReservations200Response instantiates a new FindIPReservations200Response 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 NewFindIPReservations200ResponseWithDefaults ¶

func NewFindIPReservations200ResponseWithDefaults() *FindIPReservations200Response

NewFindIPReservations200ResponseWithDefaults instantiates a new FindIPReservations200Response 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 (*FindIPReservations200Response) GetIpAddresses ¶

GetIpAddresses returns the IpAddresses field value if set, zero value otherwise.

func (*FindIPReservations200Response) GetIpAddressesOk ¶

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 (*FindIPReservations200Response) HasIpAddresses ¶

func (o *FindIPReservations200Response) HasIpAddresses() bool

HasIpAddresses returns a boolean if a field has been set.

func (FindIPReservations200Response) MarshalJSON ¶

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

func (*FindIPReservations200Response) SetIpAddresses ¶

SetIpAddresses gets a reference to the given []FindIPReservations200ResponseIpAddressesInner and assigns it to the IpAddresses field.

type FindIPReservations200ResponseIpAddressesInner ¶ added in v0.2.6

type FindIPReservations200ResponseIpAddressesInner struct {
	FindIPAddressById200ResponseOneOf  *FindIPAddressById200ResponseOneOf
	FindIPAddressById200ResponseOneOf1 *FindIPAddressById200ResponseOneOf1
}

FindIPReservations200ResponseIpAddressesInner struct for FindIPReservations200ResponseIpAddressesInner

func (*FindIPReservations200ResponseIpAddressesInner) MarshalJSON ¶ added in v0.2.6

Marshal data from the first non-nil pointers in the struct to JSON

func (*FindIPReservations200ResponseIpAddressesInner) UnmarshalJSON ¶ added in v0.2.6

func (dst *FindIPReservations200ResponseIpAddressesInner) UnmarshalJSON(data []byte) error

Unmarshal JSON data into any of the pointers in the struct

type FindInterconnectionEvents200Response ¶ added in v0.2.6

type FindInterconnectionEvents200Response 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 []FindBatchById200ResponseDevicesInner `json:"relationships,omitempty"`
	State         *string                                `json:"state,omitempty"`
	Type          *string                                `json:"type,omitempty"`
}

FindInterconnectionEvents200Response struct for FindInterconnectionEvents200Response

func NewFindInterconnectionEvents200Response ¶ added in v0.2.6

func NewFindInterconnectionEvents200Response() *FindInterconnectionEvents200Response

NewFindInterconnectionEvents200Response instantiates a new FindInterconnectionEvents200Response 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 NewFindInterconnectionEvents200ResponseWithDefaults ¶ added in v0.2.6

func NewFindInterconnectionEvents200ResponseWithDefaults() *FindInterconnectionEvents200Response

NewFindInterconnectionEvents200ResponseWithDefaults instantiates a new FindInterconnectionEvents200Response 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 (*FindInterconnectionEvents200Response) GetBody ¶ added in v0.2.6

GetBody returns the Body field value if set, zero value otherwise.

func (*FindInterconnectionEvents200Response) GetBodyOk ¶ added in v0.2.6

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 (*FindInterconnectionEvents200Response) GetCreatedAt ¶ added in v0.2.6

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

func (*FindInterconnectionEvents200Response) GetCreatedAtOk ¶ added in v0.2.6

func (o *FindInterconnectionEvents200Response) 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 (*FindInterconnectionEvents200Response) GetHref ¶ added in v0.2.6

GetHref returns the Href field value if set, zero value otherwise.

func (*FindInterconnectionEvents200Response) GetHrefOk ¶ added in v0.2.6

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 (*FindInterconnectionEvents200Response) GetId ¶ added in v0.2.6

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

func (*FindInterconnectionEvents200Response) GetIdOk ¶ added in v0.2.6

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 (*FindInterconnectionEvents200Response) GetInterpolated ¶ added in v0.2.6

func (o *FindInterconnectionEvents200Response) GetInterpolated() string

GetInterpolated returns the Interpolated field value if set, zero value otherwise.

func (*FindInterconnectionEvents200Response) GetInterpolatedOk ¶ added in v0.2.6

func (o *FindInterconnectionEvents200Response) 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 (*FindInterconnectionEvents200Response) GetRelationships ¶ added in v0.2.6

GetRelationships returns the Relationships field value if set, zero value otherwise.

func (*FindInterconnectionEvents200Response) GetRelationshipsOk ¶ added in v0.2.6

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 (*FindInterconnectionEvents200Response) GetState ¶ added in v0.2.6

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

func (*FindInterconnectionEvents200Response) GetStateOk ¶ added in v0.2.6

func (o *FindInterconnectionEvents200Response) 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 (*FindInterconnectionEvents200Response) GetType ¶ added in v0.2.6

GetType returns the Type field value if set, zero value otherwise.

func (*FindInterconnectionEvents200Response) GetTypeOk ¶ added in v0.2.6

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 (*FindInterconnectionEvents200Response) HasBody ¶ added in v0.2.6

HasBody returns a boolean if a field has been set.

func (*FindInterconnectionEvents200Response) HasCreatedAt ¶ added in v0.2.6

func (o *FindInterconnectionEvents200Response) HasCreatedAt() bool

HasCreatedAt returns a boolean if a field has been set.

func (*FindInterconnectionEvents200Response) HasHref ¶ added in v0.2.6

HasHref returns a boolean if a field has been set.

func (*FindInterconnectionEvents200Response) HasId ¶ added in v0.2.6

HasId returns a boolean if a field has been set.

func (*FindInterconnectionEvents200Response) HasInterpolated ¶ added in v0.2.6

func (o *FindInterconnectionEvents200Response) HasInterpolated() bool

HasInterpolated returns a boolean if a field has been set.

func (*FindInterconnectionEvents200Response) HasRelationships ¶ added in v0.2.6

func (o *FindInterconnectionEvents200Response) HasRelationships() bool

HasRelationships returns a boolean if a field has been set.

func (*FindInterconnectionEvents200Response) HasState ¶ added in v0.2.6

HasState returns a boolean if a field has been set.

func (*FindInterconnectionEvents200Response) HasType ¶ added in v0.2.6

HasType returns a boolean if a field has been set.

func (FindInterconnectionEvents200Response) MarshalJSON ¶ added in v0.2.6

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

func (*FindInterconnectionEvents200Response) SetBody ¶ added in v0.2.6

SetBody gets a reference to the given string and assigns it to the Body field.

func (*FindInterconnectionEvents200Response) SetCreatedAt ¶ added in v0.2.6

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

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

func (*FindInterconnectionEvents200Response) SetHref ¶ added in v0.2.6

SetHref gets a reference to the given string and assigns it to the Href field.

func (*FindInterconnectionEvents200Response) SetId ¶ added in v0.2.6

SetId gets a reference to the given string and assigns it to the Id field.

func (*FindInterconnectionEvents200Response) SetInterpolated ¶ added in v0.2.6

func (o *FindInterconnectionEvents200Response) SetInterpolated(v string)

SetInterpolated gets a reference to the given string and assigns it to the Interpolated field.

func (*FindInterconnectionEvents200Response) SetRelationships ¶ added in v0.2.6

SetRelationships gets a reference to the given []FindBatchById200ResponseDevicesInner and assigns it to the Relationships field.

func (*FindInterconnectionEvents200Response) SetState ¶ added in v0.2.6

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

func (*FindInterconnectionEvents200Response) SetType ¶ added in v0.2.6

SetType gets a reference to the given string and assigns it to the Type field.

type FindInvitationById200Response ¶

type FindInvitationById200Response struct {
	CreatedAt    *time.Time                             `json:"created_at,omitempty"`
	Href         *string                                `json:"href,omitempty"`
	Id           *string                                `json:"id,omitempty"`
	Invitation   *FindBatchById200ResponseDevicesInner  `json:"invitation,omitempty"`
	InvitedBy    *FindBatchById200ResponseDevicesInner  `json:"invited_by,omitempty"`
	Invitee      *string                                `json:"invitee,omitempty"`
	Nonce        *string                                `json:"nonce,omitempty"`
	Organization *FindBatchById200ResponseDevicesInner  `json:"organization,omitempty"`
	Projects     []FindBatchById200ResponseDevicesInner `json:"projects,omitempty"`
	Roles        []string                               `json:"roles,omitempty"`
	UpdatedAt    *time.Time                             `json:"updated_at,omitempty"`
}

FindInvitationById200Response struct for FindInvitationById200Response

func NewFindInvitationById200Response ¶

func NewFindInvitationById200Response() *FindInvitationById200Response

NewFindInvitationById200Response instantiates a new FindInvitationById200Response 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 NewFindInvitationById200ResponseWithDefaults ¶

func NewFindInvitationById200ResponseWithDefaults() *FindInvitationById200Response

NewFindInvitationById200ResponseWithDefaults instantiates a new FindInvitationById200Response 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 (*FindInvitationById200Response) GetCreatedAt ¶

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

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

func (*FindInvitationById200Response) GetCreatedAtOk ¶

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

GetHref returns the Href field value if set, zero value otherwise.

func (*FindInvitationById200Response) GetHrefOk ¶

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

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

func (*FindInvitationById200Response) GetIdOk ¶

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

GetInvitation returns the Invitation field value if set, zero value otherwise.

func (*FindInvitationById200Response) GetInvitationOk ¶

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 (*FindInvitationById200Response) GetInvitedBy ¶

GetInvitedBy returns the InvitedBy field value if set, zero value otherwise.

func (*FindInvitationById200Response) GetInvitedByOk ¶

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 (*FindInvitationById200Response) GetInvitee ¶

func (o *FindInvitationById200Response) GetInvitee() string

GetInvitee returns the Invitee field value if set, zero value otherwise.

func (*FindInvitationById200Response) GetInviteeOk ¶

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

func (o *FindInvitationById200Response) GetNonce() string

GetNonce returns the Nonce field value if set, zero value otherwise.

func (*FindInvitationById200Response) GetNonceOk ¶

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

GetOrganization returns the Organization field value if set, zero value otherwise.

func (*FindInvitationById200Response) GetOrganizationOk ¶

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 (*FindInvitationById200Response) GetProjects ¶

GetProjects returns the Projects field value if set, zero value otherwise.

func (*FindInvitationById200Response) GetProjectsOk ¶

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 (*FindInvitationById200Response) GetRoles ¶

func (o *FindInvitationById200Response) GetRoles() []string

GetRoles returns the Roles field value if set, zero value otherwise.

func (*FindInvitationById200Response) GetRolesOk ¶

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

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

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

func (*FindInvitationById200Response) GetUpdatedAtOk ¶

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

func (o *FindInvitationById200Response) HasCreatedAt() bool

HasCreatedAt returns a boolean if a field has been set.

func (*FindInvitationById200Response) HasHref ¶

func (o *FindInvitationById200Response) HasHref() bool

HasHref returns a boolean if a field has been set.

func (*FindInvitationById200Response) HasId ¶

HasId returns a boolean if a field has been set.

func (*FindInvitationById200Response) HasInvitation ¶

func (o *FindInvitationById200Response) HasInvitation() bool

HasInvitation returns a boolean if a field has been set.

func (*FindInvitationById200Response) HasInvitedBy ¶

func (o *FindInvitationById200Response) HasInvitedBy() bool

HasInvitedBy returns a boolean if a field has been set.

func (*FindInvitationById200Response) HasInvitee ¶

func (o *FindInvitationById200Response) HasInvitee() bool

HasInvitee returns a boolean if a field has been set.

func (*FindInvitationById200Response) HasNonce ¶

func (o *FindInvitationById200Response) HasNonce() bool

HasNonce returns a boolean if a field has been set.

func (*FindInvitationById200Response) HasOrganization ¶

func (o *FindInvitationById200Response) HasOrganization() bool

HasOrganization returns a boolean if a field has been set.

func (*FindInvitationById200Response) HasProjects ¶

func (o *FindInvitationById200Response) HasProjects() bool

HasProjects returns a boolean if a field has been set.

func (*FindInvitationById200Response) HasRoles ¶

func (o *FindInvitationById200Response) HasRoles() bool

HasRoles returns a boolean if a field has been set.

func (*FindInvitationById200Response) HasUpdatedAt ¶

func (o *FindInvitationById200Response) HasUpdatedAt() bool

HasUpdatedAt returns a boolean if a field has been set.

func (FindInvitationById200Response) MarshalJSON ¶

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

func (*FindInvitationById200Response) SetCreatedAt ¶

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

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

func (*FindInvitationById200Response) SetHref ¶

func (o *FindInvitationById200Response) SetHref(v string)

SetHref gets a reference to the given string and assigns it to the Href field.

func (*FindInvitationById200Response) SetId ¶

SetId gets a reference to the given string and assigns it to the Id field.

func (*FindInvitationById200Response) SetInvitation ¶

SetInvitation gets a reference to the given FindBatchById200ResponseDevicesInner and assigns it to the Invitation field.

func (*FindInvitationById200Response) SetInvitedBy ¶

SetInvitedBy gets a reference to the given FindBatchById200ResponseDevicesInner and assigns it to the InvitedBy field.

func (*FindInvitationById200Response) SetInvitee ¶

func (o *FindInvitationById200Response) SetInvitee(v string)

SetInvitee gets a reference to the given string and assigns it to the Invitee field.

func (*FindInvitationById200Response) SetNonce ¶

func (o *FindInvitationById200Response) SetNonce(v string)

SetNonce gets a reference to the given string and assigns it to the Nonce field.

func (*FindInvitationById200Response) SetOrganization ¶

SetOrganization gets a reference to the given FindBatchById200ResponseDevicesInner and assigns it to the Organization field.

func (*FindInvitationById200Response) SetProjects ¶

SetProjects gets a reference to the given []FindBatchById200ResponseDevicesInner and assigns it to the Projects field.

func (*FindInvitationById200Response) SetRoles ¶

func (o *FindInvitationById200Response) SetRoles(v []string)

SetRoles gets a reference to the given []string and assigns it to the Roles field.

func (*FindInvitationById200Response) SetUpdatedAt ¶

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

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

type FindInvitations200Response ¶

type FindInvitations200Response struct {
	Invitations []FindInvitations200ResponseInvitationsInner `json:"invitations,omitempty"`
}

FindInvitations200Response struct for FindInvitations200Response

func NewFindInvitations200Response ¶

func NewFindInvitations200Response() *FindInvitations200Response

NewFindInvitations200Response instantiates a new FindInvitations200Response 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 NewFindInvitations200ResponseWithDefaults ¶

func NewFindInvitations200ResponseWithDefaults() *FindInvitations200Response

NewFindInvitations200ResponseWithDefaults instantiates a new FindInvitations200Response 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 (*FindInvitations200Response) GetInvitations ¶

GetInvitations returns the Invitations field value if set, zero value otherwise.

func (*FindInvitations200Response) GetInvitationsOk ¶

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 (*FindInvitations200Response) HasInvitations ¶

func (o *FindInvitations200Response) HasInvitations() bool

HasInvitations returns a boolean if a field has been set.

func (FindInvitations200Response) MarshalJSON ¶

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

func (*FindInvitations200Response) SetInvitations ¶

SetInvitations gets a reference to the given []FindInvitations200ResponseInvitationsInner and assigns it to the Invitations field.

type FindInvitations200ResponseInvitationsInner ¶

type FindInvitations200ResponseInvitationsInner struct {
	CreatedAt *time.Time                            `json:"created_at,omitempty"`
	Href      *string                               `json:"href,omitempty"`
	Id        *string                               `json:"id,omitempty"`
	Project   *FindBatchById200ResponseDevicesInner `json:"project,omitempty"`
	Roles     []string                              `json:"roles,omitempty"`
	UpdatedAt *time.Time                            `json:"updated_at,omitempty"`
	User      *FindBatchById200ResponseDevicesInner `json:"user,omitempty"`
}

FindInvitations200ResponseInvitationsInner struct for FindInvitations200ResponseInvitationsInner

func NewFindInvitations200ResponseInvitationsInner ¶

func NewFindInvitations200ResponseInvitationsInner() *FindInvitations200ResponseInvitationsInner

NewFindInvitations200ResponseInvitationsInner instantiates a new FindInvitations200ResponseInvitationsInner 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 NewFindInvitations200ResponseInvitationsInnerWithDefaults ¶

func NewFindInvitations200ResponseInvitationsInnerWithDefaults() *FindInvitations200ResponseInvitationsInner

NewFindInvitations200ResponseInvitationsInnerWithDefaults instantiates a new FindInvitations200ResponseInvitationsInner 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 (*FindInvitations200ResponseInvitationsInner) GetCreatedAt ¶

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

func (*FindInvitations200ResponseInvitationsInner) GetCreatedAtOk ¶

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

GetHref returns the Href field value if set, zero value otherwise.

func (*FindInvitations200ResponseInvitationsInner) GetHrefOk ¶

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 (*FindInvitations200ResponseInvitationsInner) GetId ¶

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

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

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

func (*FindInvitations200ResponseInvitationsInner) GetProjectOk ¶

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 (*FindInvitations200ResponseInvitationsInner) GetRoles ¶

GetRoles returns the Roles field value if set, zero value otherwise.

func (*FindInvitations200ResponseInvitationsInner) GetRolesOk ¶

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 (*FindInvitations200ResponseInvitationsInner) GetUpdatedAt ¶

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

func (*FindInvitations200ResponseInvitationsInner) GetUpdatedAtOk ¶

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

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

func (*FindInvitations200ResponseInvitationsInner) GetUserOk ¶

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 (*FindInvitations200ResponseInvitationsInner) HasCreatedAt ¶

HasCreatedAt returns a boolean if a field has been set.

func (*FindInvitations200ResponseInvitationsInner) HasHref ¶

HasHref returns a boolean if a field has been set.

func (*FindInvitations200ResponseInvitationsInner) HasId ¶

HasId returns a boolean if a field has been set.

func (*FindInvitations200ResponseInvitationsInner) HasProject ¶

HasProject returns a boolean if a field has been set.

func (*FindInvitations200ResponseInvitationsInner) HasRoles ¶

HasRoles returns a boolean if a field has been set.

func (*FindInvitations200ResponseInvitationsInner) HasUpdatedAt ¶

HasUpdatedAt returns a boolean if a field has been set.

func (*FindInvitations200ResponseInvitationsInner) HasUser ¶

HasUser returns a boolean if a field has been set.

func (FindInvitations200ResponseInvitationsInner) MarshalJSON ¶

func (*FindInvitations200ResponseInvitationsInner) SetCreatedAt ¶

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

func (*FindInvitations200ResponseInvitationsInner) SetHref ¶

SetHref gets a reference to the given string and assigns it to the Href field.

func (*FindInvitations200ResponseInvitationsInner) SetId ¶

SetId gets a reference to the given string and assigns it to the Id field.

func (*FindInvitations200ResponseInvitationsInner) SetProject ¶

SetProject gets a reference to the given FindBatchById200ResponseDevicesInner and assigns it to the Project field.

func (*FindInvitations200ResponseInvitationsInner) SetRoles ¶

SetRoles gets a reference to the given []string and assigns it to the Roles field.

func (*FindInvitations200ResponseInvitationsInner) SetUpdatedAt ¶

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

func (*FindInvitations200ResponseInvitationsInner) SetUser ¶

SetUser gets a reference to the given FindBatchById200ResponseDevicesInner and assigns it to the User field.

type FindLicenseById200Response ¶

type FindLicenseById200Response struct {
	Description     *string                               `json:"description,omitempty"`
	Id              *string                               `json:"id,omitempty"`
	LicenseKey      *string                               `json:"license_key,omitempty"`
	LicenseeProduct *FindBatchById200ResponseDevicesInner `json:"licensee_product,omitempty"`
	Project         *FindBatchById200ResponseDevicesInner `json:"project,omitempty"`
	Size            *float32                              `json:"size,omitempty"`
}

FindLicenseById200Response struct for FindLicenseById200Response

func NewFindLicenseById200Response ¶

func NewFindLicenseById200Response() *FindLicenseById200Response

NewFindLicenseById200Response instantiates a new FindLicenseById200Response 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 NewFindLicenseById200ResponseWithDefaults ¶

func NewFindLicenseById200ResponseWithDefaults() *FindLicenseById200Response

NewFindLicenseById200ResponseWithDefaults instantiates a new FindLicenseById200Response 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 (*FindLicenseById200Response) GetDescription ¶

func (o *FindLicenseById200Response) GetDescription() string

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

func (*FindLicenseById200Response) GetDescriptionOk ¶

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

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

func (*FindLicenseById200Response) GetIdOk ¶

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

func (o *FindLicenseById200Response) GetLicenseKey() string

GetLicenseKey returns the LicenseKey field value if set, zero value otherwise.

func (*FindLicenseById200Response) GetLicenseKeyOk ¶

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

GetLicenseeProduct returns the LicenseeProduct field value if set, zero value otherwise.

func (*FindLicenseById200Response) GetLicenseeProductOk ¶

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 (*FindLicenseById200Response) GetProject ¶

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

func (*FindLicenseById200Response) GetProjectOk ¶

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 (*FindLicenseById200Response) GetSize ¶

func (o *FindLicenseById200Response) GetSize() float32

GetSize returns the Size field value if set, zero value otherwise.

func (*FindLicenseById200Response) GetSizeOk ¶

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

func (o *FindLicenseById200Response) HasDescription() bool

HasDescription returns a boolean if a field has been set.

func (*FindLicenseById200Response) HasId ¶

func (o *FindLicenseById200Response) HasId() bool

HasId returns a boolean if a field has been set.

func (*FindLicenseById200Response) HasLicenseKey ¶

func (o *FindLicenseById200Response) HasLicenseKey() bool

HasLicenseKey returns a boolean if a field has been set.

func (*FindLicenseById200Response) HasLicenseeProduct ¶

func (o *FindLicenseById200Response) HasLicenseeProduct() bool

HasLicenseeProduct returns a boolean if a field has been set.

func (*FindLicenseById200Response) HasProject ¶

func (o *FindLicenseById200Response) HasProject() bool

HasProject returns a boolean if a field has been set.

func (*FindLicenseById200Response) HasSize ¶

func (o *FindLicenseById200Response) HasSize() bool

HasSize returns a boolean if a field has been set.

func (FindLicenseById200Response) MarshalJSON ¶

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

func (*FindLicenseById200Response) SetDescription ¶

func (o *FindLicenseById200Response) SetDescription(v string)

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

func (*FindLicenseById200Response) SetId ¶

func (o *FindLicenseById200Response) SetId(v string)

SetId gets a reference to the given string and assigns it to the Id field.

func (*FindLicenseById200Response) SetLicenseKey ¶

func (o *FindLicenseById200Response) SetLicenseKey(v string)

SetLicenseKey gets a reference to the given string and assigns it to the LicenseKey field.

func (*FindLicenseById200Response) SetLicenseeProduct ¶

SetLicenseeProduct gets a reference to the given FindBatchById200ResponseDevicesInner and assigns it to the LicenseeProduct field.

func (*FindLicenseById200Response) SetProject ¶

SetProject gets a reference to the given FindBatchById200ResponseDevicesInner and assigns it to the Project field.

func (*FindLicenseById200Response) SetSize ¶

func (o *FindLicenseById200Response) SetSize(v float32)

SetSize gets a reference to the given float32 and assigns it to the Size field.

type FindMetalGatewayById200Response ¶ added in v0.2.6

type FindMetalGatewayById200Response struct {
	FindMetalGatewayById200ResponseOneOf  *FindMetalGatewayById200ResponseOneOf
	FindMetalGatewayById200ResponseOneOf1 *FindMetalGatewayById200ResponseOneOf1
}

FindMetalGatewayById200Response - struct for FindMetalGatewayById200Response

func FindMetalGatewayById200ResponseOneOf1AsFindMetalGatewayById200Response ¶ added in v0.2.6

func FindMetalGatewayById200ResponseOneOf1AsFindMetalGatewayById200Response(v *FindMetalGatewayById200ResponseOneOf1) FindMetalGatewayById200Response

FindMetalGatewayById200ResponseOneOf1AsFindMetalGatewayById200Response is a convenience function that returns FindMetalGatewayById200ResponseOneOf1 wrapped in FindMetalGatewayById200Response

func FindMetalGatewayById200ResponseOneOfAsFindMetalGatewayById200Response ¶ added in v0.2.6

func FindMetalGatewayById200ResponseOneOfAsFindMetalGatewayById200Response(v *FindMetalGatewayById200ResponseOneOf) FindMetalGatewayById200Response

FindMetalGatewayById200ResponseOneOfAsFindMetalGatewayById200Response is a convenience function that returns FindMetalGatewayById200ResponseOneOf wrapped in FindMetalGatewayById200Response

func (*FindMetalGatewayById200Response) GetActualInstance ¶ added in v0.2.6

func (obj *FindMetalGatewayById200Response) GetActualInstance() interface{}

Get the actual instance

func (FindMetalGatewayById200Response) MarshalJSON ¶ added in v0.2.6

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.2.6

func (dst *FindMetalGatewayById200Response) UnmarshalJSON(data []byte) error

Unmarshal JSON data into one of the pointers in the struct

type FindMetalGatewayById200ResponseOneOf ¶ added in v0.2.6

type FindMetalGatewayById200ResponseOneOf struct {
	CreatedAt     *time.Time                                                                                  `json:"created_at,omitempty"`
	CreatedBy     *FindBatchById200ResponseDevicesInner                                                       `json:"created_by,omitempty"`
	Href          *string                                                                                     `json:"href,omitempty"`
	Id            *string                                                                                     `json:"id,omitempty"`
	IpReservation *FindIPAddressById200ResponseOneOf                                                          `json:"ip_reservation,omitempty"`
	Project       *GetInterconnection200ResponsePortsInnerVirtualCircuitsVirtualCircuitsInnerAnyOf1VrfProject `json:"project,omitempty"`
	// 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.
	State          *string                                                         `json:"state,omitempty"`
	UpdatedAt      *time.Time                                                      `json:"updated_at,omitempty"`
	VirtualNetwork *FindDeviceById200ResponseNetworkPortsInnerNativeVirtualNetwork `json:"virtual_network,omitempty"`
}

FindMetalGatewayById200ResponseOneOf struct for FindMetalGatewayById200ResponseOneOf

func NewFindMetalGatewayById200ResponseOneOf ¶ added in v0.2.6

func NewFindMetalGatewayById200ResponseOneOf() *FindMetalGatewayById200ResponseOneOf

NewFindMetalGatewayById200ResponseOneOf instantiates a new FindMetalGatewayById200ResponseOneOf 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 NewFindMetalGatewayById200ResponseOneOfWithDefaults ¶ added in v0.2.6

func NewFindMetalGatewayById200ResponseOneOfWithDefaults() *FindMetalGatewayById200ResponseOneOf

NewFindMetalGatewayById200ResponseOneOfWithDefaults instantiates a new FindMetalGatewayById200ResponseOneOf 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 (*FindMetalGatewayById200ResponseOneOf) GetCreatedAt ¶ added in v0.2.6

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

func (*FindMetalGatewayById200ResponseOneOf) GetCreatedAtOk ¶ added in v0.2.6

func (o *FindMetalGatewayById200ResponseOneOf) 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 (*FindMetalGatewayById200ResponseOneOf) GetCreatedBy ¶ added in v0.2.6

GetCreatedBy returns the CreatedBy field value if set, zero value otherwise.

func (*FindMetalGatewayById200ResponseOneOf) GetCreatedByOk ¶ added in v0.2.6

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 (*FindMetalGatewayById200ResponseOneOf) GetHref ¶ added in v0.2.6

GetHref returns the Href field value if set, zero value otherwise.

func (*FindMetalGatewayById200ResponseOneOf) GetHrefOk ¶ added in v0.2.6

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 (*FindMetalGatewayById200ResponseOneOf) GetId ¶ added in v0.2.6

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

func (*FindMetalGatewayById200ResponseOneOf) GetIdOk ¶ added in v0.2.6

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 (*FindMetalGatewayById200ResponseOneOf) GetIpReservation ¶ added in v0.2.6

GetIpReservation returns the IpReservation field value if set, zero value otherwise.

func (*FindMetalGatewayById200ResponseOneOf) GetIpReservationOk ¶ added in v0.2.6

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 (*FindMetalGatewayById200ResponseOneOf) GetProject ¶ added in v0.2.6

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

func (*FindMetalGatewayById200ResponseOneOf) GetProjectOk ¶ added in v0.2.6

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 (*FindMetalGatewayById200ResponseOneOf) GetState ¶ added in v0.2.6

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

func (*FindMetalGatewayById200ResponseOneOf) GetStateOk ¶ added in v0.2.6

func (o *FindMetalGatewayById200ResponseOneOf) 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 (*FindMetalGatewayById200ResponseOneOf) GetUpdatedAt ¶ added in v0.2.6

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

func (*FindMetalGatewayById200ResponseOneOf) GetUpdatedAtOk ¶ added in v0.2.6

func (o *FindMetalGatewayById200ResponseOneOf) 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 (*FindMetalGatewayById200ResponseOneOf) GetVirtualNetwork ¶ added in v0.2.6

GetVirtualNetwork returns the VirtualNetwork field value if set, zero value otherwise.

func (*FindMetalGatewayById200ResponseOneOf) GetVirtualNetworkOk ¶ added in v0.2.6

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 (*FindMetalGatewayById200ResponseOneOf) HasCreatedAt ¶ added in v0.2.6

func (o *FindMetalGatewayById200ResponseOneOf) HasCreatedAt() bool

HasCreatedAt returns a boolean if a field has been set.

func (*FindMetalGatewayById200ResponseOneOf) HasCreatedBy ¶ added in v0.2.6

func (o *FindMetalGatewayById200ResponseOneOf) HasCreatedBy() bool

HasCreatedBy returns a boolean if a field has been set.

func (*FindMetalGatewayById200ResponseOneOf) HasHref ¶ added in v0.2.6

HasHref returns a boolean if a field has been set.

func (*FindMetalGatewayById200ResponseOneOf) HasId ¶ added in v0.2.6

HasId returns a boolean if a field has been set.

func (*FindMetalGatewayById200ResponseOneOf) HasIpReservation ¶ added in v0.2.6

func (o *FindMetalGatewayById200ResponseOneOf) HasIpReservation() bool

HasIpReservation returns a boolean if a field has been set.

func (*FindMetalGatewayById200ResponseOneOf) HasProject ¶ added in v0.2.6

HasProject returns a boolean if a field has been set.

func (*FindMetalGatewayById200ResponseOneOf) HasState ¶ added in v0.2.6

HasState returns a boolean if a field has been set.

func (*FindMetalGatewayById200ResponseOneOf) HasUpdatedAt ¶ added in v0.2.6

func (o *FindMetalGatewayById200ResponseOneOf) HasUpdatedAt() bool

HasUpdatedAt returns a boolean if a field has been set.

func (*FindMetalGatewayById200ResponseOneOf) HasVirtualNetwork ¶ added in v0.2.6

func (o *FindMetalGatewayById200ResponseOneOf) HasVirtualNetwork() bool

HasVirtualNetwork returns a boolean if a field has been set.

func (FindMetalGatewayById200ResponseOneOf) MarshalJSON ¶ added in v0.2.6

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

func (*FindMetalGatewayById200ResponseOneOf) SetCreatedAt ¶ added in v0.2.6

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

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

func (*FindMetalGatewayById200ResponseOneOf) SetCreatedBy ¶ added in v0.2.6

SetCreatedBy gets a reference to the given FindBatchById200ResponseDevicesInner and assigns it to the CreatedBy field.

func (*FindMetalGatewayById200ResponseOneOf) SetHref ¶ added in v0.2.6

SetHref gets a reference to the given string and assigns it to the Href field.

func (*FindMetalGatewayById200ResponseOneOf) SetId ¶ added in v0.2.6

SetId gets a reference to the given string and assigns it to the Id field.

func (*FindMetalGatewayById200ResponseOneOf) SetIpReservation ¶ added in v0.2.6

SetIpReservation gets a reference to the given FindIPAddressById200ResponseOneOf and assigns it to the IpReservation field.

func (*FindMetalGatewayById200ResponseOneOf) SetProject ¶ added in v0.2.6

SetProject gets a reference to the given GetInterconnection200ResponsePortsInnerVirtualCircuitsVirtualCircuitsInnerAnyOf1VrfProject and assigns it to the Project field.

func (*FindMetalGatewayById200ResponseOneOf) SetState ¶ added in v0.2.6

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

func (*FindMetalGatewayById200ResponseOneOf) SetUpdatedAt ¶ added in v0.2.6

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

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

func (*FindMetalGatewayById200ResponseOneOf) SetVirtualNetwork ¶ added in v0.2.6

SetVirtualNetwork gets a reference to the given FindDeviceById200ResponseNetworkPortsInnerNativeVirtualNetwork and assigns it to the VirtualNetwork field.

type FindMetalGatewayById200ResponseOneOf1 ¶ added in v0.2.6

type FindMetalGatewayById200ResponseOneOf1 struct {
	CreatedAt     *time.Time                                                                                  `json:"created_at,omitempty"`
	CreatedBy     *FindBatchById200ResponseDevicesInner                                                       `json:"created_by,omitempty"`
	Href          *string                                                                                     `json:"href,omitempty"`
	Id            *string                                                                                     `json:"id,omitempty"`
	IpReservation *FindIPAddressById200ResponseOneOf1                                                         `json:"ip_reservation,omitempty"`
	Project       *GetInterconnection200ResponsePortsInnerVirtualCircuitsVirtualCircuitsInnerAnyOf1VrfProject `json:"project,omitempty"`
	// 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.
	State          *string                                                                              `json:"state,omitempty"`
	UpdatedAt      *time.Time                                                                           `json:"updated_at,omitempty"`
	VirtualNetwork *FindDeviceById200ResponseNetworkPortsInnerNativeVirtualNetwork                      `json:"virtual_network,omitempty"`
	Vrf            *GetInterconnection200ResponsePortsInnerVirtualCircuitsVirtualCircuitsInnerAnyOf1Vrf `json:"vrf,omitempty"`
}

FindMetalGatewayById200ResponseOneOf1 struct for FindMetalGatewayById200ResponseOneOf1

func NewFindMetalGatewayById200ResponseOneOf1 ¶ added in v0.2.6

func NewFindMetalGatewayById200ResponseOneOf1() *FindMetalGatewayById200ResponseOneOf1

NewFindMetalGatewayById200ResponseOneOf1 instantiates a new FindMetalGatewayById200ResponseOneOf1 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 NewFindMetalGatewayById200ResponseOneOf1WithDefaults ¶ added in v0.2.6

func NewFindMetalGatewayById200ResponseOneOf1WithDefaults() *FindMetalGatewayById200ResponseOneOf1

NewFindMetalGatewayById200ResponseOneOf1WithDefaults instantiates a new FindMetalGatewayById200ResponseOneOf1 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 (*FindMetalGatewayById200ResponseOneOf1) GetCreatedAt ¶ added in v0.2.6

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

func (*FindMetalGatewayById200ResponseOneOf1) GetCreatedAtOk ¶ added in v0.2.6

func (o *FindMetalGatewayById200ResponseOneOf1) 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 (*FindMetalGatewayById200ResponseOneOf1) GetCreatedBy ¶ added in v0.2.6

GetCreatedBy returns the CreatedBy field value if set, zero value otherwise.

func (*FindMetalGatewayById200ResponseOneOf1) GetCreatedByOk ¶ added in v0.2.6

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 (*FindMetalGatewayById200ResponseOneOf1) GetHref ¶ added in v0.2.6

GetHref returns the Href field value if set, zero value otherwise.

func (*FindMetalGatewayById200ResponseOneOf1) GetHrefOk ¶ added in v0.2.6

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 (*FindMetalGatewayById200ResponseOneOf1) GetId ¶ added in v0.2.6

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

func (*FindMetalGatewayById200ResponseOneOf1) GetIdOk ¶ added in v0.2.6

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 (*FindMetalGatewayById200ResponseOneOf1) GetIpReservation ¶ added in v0.2.6

GetIpReservation returns the IpReservation field value if set, zero value otherwise.

func (*FindMetalGatewayById200ResponseOneOf1) GetIpReservationOk ¶ added in v0.2.6

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 (*FindMetalGatewayById200ResponseOneOf1) GetProject ¶ added in v0.2.6

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

func (*FindMetalGatewayById200ResponseOneOf1) GetProjectOk ¶ added in v0.2.6

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 (*FindMetalGatewayById200ResponseOneOf1) GetState ¶ added in v0.2.6

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

func (*FindMetalGatewayById200ResponseOneOf1) GetStateOk ¶ added in v0.2.6

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 (*FindMetalGatewayById200ResponseOneOf1) GetUpdatedAt ¶ added in v0.2.6

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

func (*FindMetalGatewayById200ResponseOneOf1) GetUpdatedAtOk ¶ added in v0.2.6

func (o *FindMetalGatewayById200ResponseOneOf1) 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 (*FindMetalGatewayById200ResponseOneOf1) GetVirtualNetwork ¶ added in v0.2.6

GetVirtualNetwork returns the VirtualNetwork field value if set, zero value otherwise.

func (*FindMetalGatewayById200ResponseOneOf1) GetVirtualNetworkOk ¶ added in v0.2.6

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 (*FindMetalGatewayById200ResponseOneOf1) GetVrf ¶ added in v0.2.6

GetVrf returns the Vrf field value if set, zero value otherwise.

func (*FindMetalGatewayById200ResponseOneOf1) GetVrfOk ¶ added in v0.2.6

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 (*FindMetalGatewayById200ResponseOneOf1) HasCreatedAt ¶ added in v0.2.6

func (o *FindMetalGatewayById200ResponseOneOf1) HasCreatedAt() bool

HasCreatedAt returns a boolean if a field has been set.

func (*FindMetalGatewayById200ResponseOneOf1) HasCreatedBy ¶ added in v0.2.6

func (o *FindMetalGatewayById200ResponseOneOf1) HasCreatedBy() bool

HasCreatedBy returns a boolean if a field has been set.

func (*FindMetalGatewayById200ResponseOneOf1) HasHref ¶ added in v0.2.6

HasHref returns a boolean if a field has been set.

func (*FindMetalGatewayById200ResponseOneOf1) HasId ¶ added in v0.2.6

HasId returns a boolean if a field has been set.

func (*FindMetalGatewayById200ResponseOneOf1) HasIpReservation ¶ added in v0.2.6

func (o *FindMetalGatewayById200ResponseOneOf1) HasIpReservation() bool

HasIpReservation returns a boolean if a field has been set.

func (*FindMetalGatewayById200ResponseOneOf1) HasProject ¶ added in v0.2.6

HasProject returns a boolean if a field has been set.

func (*FindMetalGatewayById200ResponseOneOf1) HasState ¶ added in v0.2.6

HasState returns a boolean if a field has been set.

func (*FindMetalGatewayById200ResponseOneOf1) HasUpdatedAt ¶ added in v0.2.6

func (o *FindMetalGatewayById200ResponseOneOf1) HasUpdatedAt() bool

HasUpdatedAt returns a boolean if a field has been set.

func (*FindMetalGatewayById200ResponseOneOf1) HasVirtualNetwork ¶ added in v0.2.6

func (o *FindMetalGatewayById200ResponseOneOf1) HasVirtualNetwork() bool

HasVirtualNetwork returns a boolean if a field has been set.

func (*FindMetalGatewayById200ResponseOneOf1) HasVrf ¶ added in v0.2.6

HasVrf returns a boolean if a field has been set.

func (FindMetalGatewayById200ResponseOneOf1) MarshalJSON ¶ added in v0.2.6

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

func (*FindMetalGatewayById200ResponseOneOf1) SetCreatedAt ¶ added in v0.2.6

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

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

func (*FindMetalGatewayById200ResponseOneOf1) SetCreatedBy ¶ added in v0.2.6

SetCreatedBy gets a reference to the given FindBatchById200ResponseDevicesInner and assigns it to the CreatedBy field.

func (*FindMetalGatewayById200ResponseOneOf1) SetHref ¶ added in v0.2.6

SetHref gets a reference to the given string and assigns it to the Href field.

func (*FindMetalGatewayById200ResponseOneOf1) SetId ¶ added in v0.2.6

SetId gets a reference to the given string and assigns it to the Id field.

func (*FindMetalGatewayById200ResponseOneOf1) SetIpReservation ¶ added in v0.2.6

SetIpReservation gets a reference to the given FindIPAddressById200ResponseOneOf1 and assigns it to the IpReservation field.

func (*FindMetalGatewayById200ResponseOneOf1) SetProject ¶ added in v0.2.6

SetProject gets a reference to the given GetInterconnection200ResponsePortsInnerVirtualCircuitsVirtualCircuitsInnerAnyOf1VrfProject and assigns it to the Project field.

func (*FindMetalGatewayById200ResponseOneOf1) SetState ¶ added in v0.2.6

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

func (*FindMetalGatewayById200ResponseOneOf1) SetUpdatedAt ¶ added in v0.2.6

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

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

func (*FindMetalGatewayById200ResponseOneOf1) SetVirtualNetwork ¶ added in v0.2.6

SetVirtualNetwork gets a reference to the given FindDeviceById200ResponseNetworkPortsInnerNativeVirtualNetwork and assigns it to the VirtualNetwork field.

func (*FindMetalGatewayById200ResponseOneOf1) SetVrf ¶ added in v0.2.6

SetVrf gets a reference to the given GetInterconnection200ResponsePortsInnerVirtualCircuitsVirtualCircuitsInnerAnyOf1Vrf and assigns it to the Vrf field.

type FindMetalGatewaysByProject200Response ¶

type FindMetalGatewaysByProject200Response struct {
	MetalGateways []FindMetalGatewaysByProject200ResponseMetalGatewaysInner `json:"MetalGateways,omitempty"`
}

FindMetalGatewaysByProject200Response struct for FindMetalGatewaysByProject200Response

func NewFindMetalGatewaysByProject200Response ¶

func NewFindMetalGatewaysByProject200Response() *FindMetalGatewaysByProject200Response

NewFindMetalGatewaysByProject200Response instantiates a new FindMetalGatewaysByProject200Response 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 NewFindMetalGatewaysByProject200ResponseWithDefaults ¶

func NewFindMetalGatewaysByProject200ResponseWithDefaults() *FindMetalGatewaysByProject200Response

NewFindMetalGatewaysByProject200ResponseWithDefaults instantiates a new FindMetalGatewaysByProject200Response 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 (*FindMetalGatewaysByProject200Response) GetMetalGateways ¶

GetMetalGateways returns the MetalGateways field value if set, zero value otherwise.

func (*FindMetalGatewaysByProject200Response) GetMetalGatewaysOk ¶

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 (*FindMetalGatewaysByProject200Response) HasMetalGateways ¶

func (o *FindMetalGatewaysByProject200Response) HasMetalGateways() bool

HasMetalGateways returns a boolean if a field has been set.

func (FindMetalGatewaysByProject200Response) MarshalJSON ¶

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

func (*FindMetalGatewaysByProject200Response) SetMetalGateways ¶

SetMetalGateways gets a reference to the given []FindMetalGatewaysByProject200ResponseMetalGatewaysInner and assigns it to the MetalGateways field.

type FindMetalGatewaysByProject200ResponseMetalGatewaysInner ¶ added in v0.2.6

type FindMetalGatewaysByProject200ResponseMetalGatewaysInner struct {
	FindMetalGatewayById200ResponseOneOf  *FindMetalGatewayById200ResponseOneOf
	FindMetalGatewayById200ResponseOneOf1 *FindMetalGatewayById200ResponseOneOf1
}

FindMetalGatewaysByProject200ResponseMetalGatewaysInner struct for FindMetalGatewaysByProject200ResponseMetalGatewaysInner

func (*FindMetalGatewaysByProject200ResponseMetalGatewaysInner) MarshalJSON ¶ added in v0.2.6

Marshal data from the first non-nil pointers in the struct to JSON

func (*FindMetalGatewaysByProject200ResponseMetalGatewaysInner) UnmarshalJSON ¶ added in v0.2.6

Unmarshal JSON data into any of the pointers in the struct

type FindMetroSpotMarketPrices200Response ¶

type FindMetroSpotMarketPrices200Response struct {
	SpotMarketPrices *FindMetroSpotMarketPrices200ResponseSpotMarketPrices `json:"spot_market_prices,omitempty"`
}

FindMetroSpotMarketPrices200Response struct for FindMetroSpotMarketPrices200Response

func NewFindMetroSpotMarketPrices200Response ¶

func NewFindMetroSpotMarketPrices200Response() *FindMetroSpotMarketPrices200Response

NewFindMetroSpotMarketPrices200Response instantiates a new FindMetroSpotMarketPrices200Response 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 NewFindMetroSpotMarketPrices200ResponseWithDefaults ¶

func NewFindMetroSpotMarketPrices200ResponseWithDefaults() *FindMetroSpotMarketPrices200Response

NewFindMetroSpotMarketPrices200ResponseWithDefaults instantiates a new FindMetroSpotMarketPrices200Response 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 (*FindMetroSpotMarketPrices200Response) GetSpotMarketPrices ¶

GetSpotMarketPrices returns the SpotMarketPrices field value if set, zero value otherwise.

func (*FindMetroSpotMarketPrices200Response) GetSpotMarketPricesOk ¶

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 (*FindMetroSpotMarketPrices200Response) HasSpotMarketPrices ¶

func (o *FindMetroSpotMarketPrices200Response) HasSpotMarketPrices() bool

HasSpotMarketPrices returns a boolean if a field has been set.

func (FindMetroSpotMarketPrices200Response) MarshalJSON ¶

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

func (*FindMetroSpotMarketPrices200Response) SetSpotMarketPrices ¶

SetSpotMarketPrices gets a reference to the given FindMetroSpotMarketPrices200ResponseSpotMarketPrices and assigns it to the SpotMarketPrices field.

type FindMetroSpotMarketPrices200ResponseSpotMarketPrices ¶

type FindMetroSpotMarketPrices200ResponseSpotMarketPrices struct {
	Am *FindSpotMarketPrices200ResponseSpotMarketPricesAms1 `json:"am,omitempty"`
	Ch *FindSpotMarketPrices200ResponseSpotMarketPricesAms1 `json:"ch,omitempty"`
	Da *FindSpotMarketPrices200ResponseSpotMarketPricesAms1 `json:"da,omitempty"`
	La *FindSpotMarketPrices200ResponseSpotMarketPricesAms1 `json:"la,omitempty"`
	Ny *FindSpotMarketPrices200ResponseSpotMarketPricesAms1 `json:"ny,omitempty"`
	Sg *FindSpotMarketPrices200ResponseSpotMarketPricesAms1 `json:"sg,omitempty"`
	Sv *FindSpotMarketPrices200ResponseSpotMarketPricesAms1 `json:"sv,omitempty"`
}

FindMetroSpotMarketPrices200ResponseSpotMarketPrices struct for FindMetroSpotMarketPrices200ResponseSpotMarketPrices

func NewFindMetroSpotMarketPrices200ResponseSpotMarketPrices ¶

func NewFindMetroSpotMarketPrices200ResponseSpotMarketPrices() *FindMetroSpotMarketPrices200ResponseSpotMarketPrices

NewFindMetroSpotMarketPrices200ResponseSpotMarketPrices instantiates a new FindMetroSpotMarketPrices200ResponseSpotMarketPrices 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 NewFindMetroSpotMarketPrices200ResponseSpotMarketPricesWithDefaults ¶

func NewFindMetroSpotMarketPrices200ResponseSpotMarketPricesWithDefaults() *FindMetroSpotMarketPrices200ResponseSpotMarketPrices

NewFindMetroSpotMarketPrices200ResponseSpotMarketPricesWithDefaults instantiates a new FindMetroSpotMarketPrices200ResponseSpotMarketPrices 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 (*FindMetroSpotMarketPrices200ResponseSpotMarketPrices) GetAm ¶

GetAm returns the Am field value if set, zero value otherwise.

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

GetCh returns the Ch field value if set, zero value otherwise.

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

GetDa returns the Da field value if set, zero value otherwise.

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

GetLa returns the La field value if set, zero value otherwise.

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

GetNy returns the Ny field value if set, zero value otherwise.

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

GetSg returns the Sg field value if set, zero value otherwise.

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

GetSv returns the Sv field value if set, zero value otherwise.

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

HasAm returns a boolean if a field has been set.

func (*FindMetroSpotMarketPrices200ResponseSpotMarketPrices) HasCh ¶

HasCh returns a boolean if a field has been set.

func (*FindMetroSpotMarketPrices200ResponseSpotMarketPrices) HasDa ¶

HasDa returns a boolean if a field has been set.

func (*FindMetroSpotMarketPrices200ResponseSpotMarketPrices) HasLa ¶

HasLa returns a boolean if a field has been set.

func (*FindMetroSpotMarketPrices200ResponseSpotMarketPrices) HasNy ¶

HasNy returns a boolean if a field has been set.

func (*FindMetroSpotMarketPrices200ResponseSpotMarketPrices) HasSg ¶

HasSg returns a boolean if a field has been set.

func (*FindMetroSpotMarketPrices200ResponseSpotMarketPrices) HasSv ¶

HasSv returns a boolean if a field has been set.

func (FindMetroSpotMarketPrices200ResponseSpotMarketPrices) MarshalJSON ¶

func (*FindMetroSpotMarketPrices200ResponseSpotMarketPrices) SetAm ¶

SetAm gets a reference to the given FindSpotMarketPrices200ResponseSpotMarketPricesAms1 and assigns it to the Am field.

func (*FindMetroSpotMarketPrices200ResponseSpotMarketPrices) SetCh ¶

SetCh gets a reference to the given FindSpotMarketPrices200ResponseSpotMarketPricesAms1 and assigns it to the Ch field.

func (*FindMetroSpotMarketPrices200ResponseSpotMarketPrices) SetDa ¶

SetDa gets a reference to the given FindSpotMarketPrices200ResponseSpotMarketPricesAms1 and assigns it to the Da field.

func (*FindMetroSpotMarketPrices200ResponseSpotMarketPrices) SetLa ¶

SetLa gets a reference to the given FindSpotMarketPrices200ResponseSpotMarketPricesAms1 and assigns it to the La field.

func (*FindMetroSpotMarketPrices200ResponseSpotMarketPrices) SetNy ¶

SetNy gets a reference to the given FindSpotMarketPrices200ResponseSpotMarketPricesAms1 and assigns it to the Ny field.

func (*FindMetroSpotMarketPrices200ResponseSpotMarketPrices) SetSg ¶

SetSg gets a reference to the given FindSpotMarketPrices200ResponseSpotMarketPricesAms1 and assigns it to the Sg field.

func (*FindMetroSpotMarketPrices200ResponseSpotMarketPrices) SetSv ¶

SetSv gets a reference to the given FindSpotMarketPrices200ResponseSpotMarketPricesAms1 and assigns it to the Sv field.

type FindMetros200Response ¶

type FindMetros200Response struct {
	Metros []GetInterconnection200ResponseMetroAllOf `json:"metros,omitempty"`
}

FindMetros200Response struct for FindMetros200Response

func NewFindMetros200Response ¶

func NewFindMetros200Response() *FindMetros200Response

NewFindMetros200Response instantiates a new FindMetros200Response 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 NewFindMetros200ResponseWithDefaults ¶

func NewFindMetros200ResponseWithDefaults() *FindMetros200Response

NewFindMetros200ResponseWithDefaults instantiates a new FindMetros200Response 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 (*FindMetros200Response) GetMetros ¶

GetMetros returns the Metros field value if set, zero value otherwise.

func (*FindMetros200Response) GetMetrosOk ¶

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 (*FindMetros200Response) HasMetros ¶

func (o *FindMetros200Response) HasMetros() bool

HasMetros returns a boolean if a field has been set.

func (FindMetros200Response) MarshalJSON ¶

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

func (*FindMetros200Response) SetMetros ¶

SetMetros gets a reference to the given []GetInterconnection200ResponseMetroAllOf and assigns it to the Metros field.

type FindOperatingSystemVersion200Response ¶

type FindOperatingSystemVersion200Response struct {
	OperatingSystems []FindDeviceById200ResponseOperatingSystem `json:"operating_systems,omitempty"`
}

FindOperatingSystemVersion200Response struct for FindOperatingSystemVersion200Response

func NewFindOperatingSystemVersion200Response ¶

func NewFindOperatingSystemVersion200Response() *FindOperatingSystemVersion200Response

NewFindOperatingSystemVersion200Response instantiates a new FindOperatingSystemVersion200Response 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 NewFindOperatingSystemVersion200ResponseWithDefaults ¶

func NewFindOperatingSystemVersion200ResponseWithDefaults() *FindOperatingSystemVersion200Response

NewFindOperatingSystemVersion200ResponseWithDefaults instantiates a new FindOperatingSystemVersion200Response 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 (*FindOperatingSystemVersion200Response) GetOperatingSystems ¶

GetOperatingSystems returns the OperatingSystems field value if set, zero value otherwise.

func (*FindOperatingSystemVersion200Response) GetOperatingSystemsOk ¶

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 (*FindOperatingSystemVersion200Response) HasOperatingSystems ¶

func (o *FindOperatingSystemVersion200Response) HasOperatingSystems() bool

HasOperatingSystems returns a boolean if a field has been set.

func (FindOperatingSystemVersion200Response) MarshalJSON ¶

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

func (*FindOperatingSystemVersion200Response) SetOperatingSystems ¶

SetOperatingSystems gets a reference to the given []FindDeviceById200ResponseOperatingSystem and assigns it to the OperatingSystems field.

type FindOrganizationDevices200Response ¶

type FindOrganizationDevices200Response struct {
	Devices []FindDeviceById200Response      `json:"devices,omitempty"`
	Meta    *FindDeviceEvents200ResponseMeta `json:"meta,omitempty"`
}

FindOrganizationDevices200Response struct for FindOrganizationDevices200Response

func NewFindOrganizationDevices200Response ¶

func NewFindOrganizationDevices200Response() *FindOrganizationDevices200Response

NewFindOrganizationDevices200Response instantiates a new FindOrganizationDevices200Response 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 NewFindOrganizationDevices200ResponseWithDefaults ¶

func NewFindOrganizationDevices200ResponseWithDefaults() *FindOrganizationDevices200Response

NewFindOrganizationDevices200ResponseWithDefaults instantiates a new FindOrganizationDevices200Response 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 (*FindOrganizationDevices200Response) GetDevices ¶

GetDevices returns the Devices field value if set, zero value otherwise.

func (*FindOrganizationDevices200Response) GetDevicesOk ¶

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 (*FindOrganizationDevices200Response) GetMeta ¶

GetMeta returns the Meta field value if set, zero value otherwise.

func (*FindOrganizationDevices200Response) GetMetaOk ¶

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 (*FindOrganizationDevices200Response) HasDevices ¶

func (o *FindOrganizationDevices200Response) HasDevices() bool

HasDevices returns a boolean if a field has been set.

func (*FindOrganizationDevices200Response) HasMeta ¶

HasMeta returns a boolean if a field has been set.

func (FindOrganizationDevices200Response) MarshalJSON ¶

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

func (*FindOrganizationDevices200Response) SetDevices ¶

SetDevices gets a reference to the given []FindDeviceById200Response and assigns it to the Devices field.

func (*FindOrganizationDevices200Response) SetMeta ¶

SetMeta gets a reference to the given FindDeviceEvents200ResponseMeta and assigns it to the Meta field.

type FindOrganizationPaymentMethods200Response ¶

type FindOrganizationPaymentMethods200Response struct {
	PaymentMethods []FindOrganizationPaymentMethods200ResponsePaymentMethodsInner `json:"payment_methods,omitempty"`
}

FindOrganizationPaymentMethods200Response struct for FindOrganizationPaymentMethods200Response

func NewFindOrganizationPaymentMethods200Response ¶

func NewFindOrganizationPaymentMethods200Response() *FindOrganizationPaymentMethods200Response

NewFindOrganizationPaymentMethods200Response instantiates a new FindOrganizationPaymentMethods200Response 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 NewFindOrganizationPaymentMethods200ResponseWithDefaults ¶

func NewFindOrganizationPaymentMethods200ResponseWithDefaults() *FindOrganizationPaymentMethods200Response

NewFindOrganizationPaymentMethods200ResponseWithDefaults instantiates a new FindOrganizationPaymentMethods200Response 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 (*FindOrganizationPaymentMethods200Response) GetPaymentMethods ¶

GetPaymentMethods returns the PaymentMethods field value if set, zero value otherwise.

func (*FindOrganizationPaymentMethods200Response) GetPaymentMethodsOk ¶

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 (*FindOrganizationPaymentMethods200Response) HasPaymentMethods ¶

func (o *FindOrganizationPaymentMethods200Response) HasPaymentMethods() bool

HasPaymentMethods returns a boolean if a field has been set.

func (FindOrganizationPaymentMethods200Response) MarshalJSON ¶

func (*FindOrganizationPaymentMethods200Response) SetPaymentMethods ¶

SetPaymentMethods gets a reference to the given []FindOrganizationPaymentMethods200ResponsePaymentMethodsInner and assigns it to the PaymentMethods field.

type FindOrganizationPaymentMethods200ResponsePaymentMethodsInner ¶

type FindOrganizationPaymentMethods200ResponsePaymentMethodsInner struct {
	BillingAddress  *FindOrganizationPaymentMethods200ResponsePaymentMethodsInnerBillingAddress `json:"billing_address,omitempty"`
	CardType        *string                                                                     `json:"card_type,omitempty"`
	CardholderName  *string                                                                     `json:"cardholder_name,omitempty"`
	CreatedAt       *time.Time                                                                  `json:"created_at,omitempty"`
	CreatedByUser   *FindBatchById200ResponseDevicesInner                                       `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    *FindBatchById200ResponseDevicesInner                                       `json:"organization,omitempty"`
	Projects        []FindBatchById200ResponseDevicesInner                                      `json:"projects,omitempty"`
	Type            *string                                                                     `json:"type,omitempty"`
	UpdatedAt       *time.Time                                                                  `json:"updated_at,omitempty"`
}

FindOrganizationPaymentMethods200ResponsePaymentMethodsInner struct for FindOrganizationPaymentMethods200ResponsePaymentMethodsInner

func NewFindOrganizationPaymentMethods200ResponsePaymentMethodsInner ¶

func NewFindOrganizationPaymentMethods200ResponsePaymentMethodsInner() *FindOrganizationPaymentMethods200ResponsePaymentMethodsInner

NewFindOrganizationPaymentMethods200ResponsePaymentMethodsInner instantiates a new FindOrganizationPaymentMethods200ResponsePaymentMethodsInner 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 NewFindOrganizationPaymentMethods200ResponsePaymentMethodsInnerWithDefaults ¶

func NewFindOrganizationPaymentMethods200ResponsePaymentMethodsInnerWithDefaults() *FindOrganizationPaymentMethods200ResponsePaymentMethodsInner

NewFindOrganizationPaymentMethods200ResponsePaymentMethodsInnerWithDefaults instantiates a new FindOrganizationPaymentMethods200ResponsePaymentMethodsInner 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 (*FindOrganizationPaymentMethods200ResponsePaymentMethodsInner) GetBillingAddress ¶

GetBillingAddress returns the BillingAddress field value if set, zero value otherwise.

func (*FindOrganizationPaymentMethods200ResponsePaymentMethodsInner) GetBillingAddressOk ¶

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 (*FindOrganizationPaymentMethods200ResponsePaymentMethodsInner) GetCardType ¶

GetCardType returns the CardType field value if set, zero value otherwise.

func (*FindOrganizationPaymentMethods200ResponsePaymentMethodsInner) GetCardTypeOk ¶

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 (*FindOrganizationPaymentMethods200ResponsePaymentMethodsInner) GetCardholderName ¶

GetCardholderName returns the CardholderName field value if set, zero value otherwise.

func (*FindOrganizationPaymentMethods200ResponsePaymentMethodsInner) GetCardholderNameOk ¶

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 (*FindOrganizationPaymentMethods200ResponsePaymentMethodsInner) GetCreatedAt ¶

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

func (*FindOrganizationPaymentMethods200ResponsePaymentMethodsInner) GetCreatedAtOk ¶

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 (*FindOrganizationPaymentMethods200ResponsePaymentMethodsInner) GetCreatedByUser ¶

GetCreatedByUser returns the CreatedByUser field value if set, zero value otherwise.

func (*FindOrganizationPaymentMethods200ResponsePaymentMethodsInner) GetCreatedByUserOk ¶

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 (*FindOrganizationPaymentMethods200ResponsePaymentMethodsInner) GetDefault ¶

GetDefault returns the Default field value if set, zero value otherwise.

func (*FindOrganizationPaymentMethods200ResponsePaymentMethodsInner) GetDefaultOk ¶

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 (*FindOrganizationPaymentMethods200ResponsePaymentMethodsInner) GetEmail ¶

GetEmail returns the Email field value if set, zero value otherwise.

func (*FindOrganizationPaymentMethods200ResponsePaymentMethodsInner) GetEmailOk ¶

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 (*FindOrganizationPaymentMethods200ResponsePaymentMethodsInner) GetExpirationMonth ¶

GetExpirationMonth returns the ExpirationMonth field value if set, zero value otherwise.

func (*FindOrganizationPaymentMethods200ResponsePaymentMethodsInner) GetExpirationMonthOk ¶

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 (*FindOrganizationPaymentMethods200ResponsePaymentMethodsInner) GetExpirationYear ¶

GetExpirationYear returns the ExpirationYear field value if set, zero value otherwise.

func (*FindOrganizationPaymentMethods200ResponsePaymentMethodsInner) GetExpirationYearOk ¶

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 (*FindOrganizationPaymentMethods200ResponsePaymentMethodsInner) GetId ¶

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

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

GetName returns the Name field value if set, zero value otherwise.

func (*FindOrganizationPaymentMethods200ResponsePaymentMethodsInner) GetNameOk ¶

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 (*FindOrganizationPaymentMethods200ResponsePaymentMethodsInner) GetOrganization ¶

GetOrganization returns the Organization field value if set, zero value otherwise.

func (*FindOrganizationPaymentMethods200ResponsePaymentMethodsInner) GetOrganizationOk ¶

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 (*FindOrganizationPaymentMethods200ResponsePaymentMethodsInner) GetProjects ¶

GetProjects returns the Projects field value if set, zero value otherwise.

func (*FindOrganizationPaymentMethods200ResponsePaymentMethodsInner) GetProjectsOk ¶

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 (*FindOrganizationPaymentMethods200ResponsePaymentMethodsInner) GetType ¶

GetType returns the Type field value if set, zero value otherwise.

func (*FindOrganizationPaymentMethods200ResponsePaymentMethodsInner) GetTypeOk ¶

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 (*FindOrganizationPaymentMethods200ResponsePaymentMethodsInner) GetUpdatedAt ¶

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

func (*FindOrganizationPaymentMethods200ResponsePaymentMethodsInner) GetUpdatedAtOk ¶

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 (*FindOrganizationPaymentMethods200ResponsePaymentMethodsInner) HasBillingAddress ¶

HasBillingAddress returns a boolean if a field has been set.

func (*FindOrganizationPaymentMethods200ResponsePaymentMethodsInner) HasCardType ¶

HasCardType returns a boolean if a field has been set.

func (*FindOrganizationPaymentMethods200ResponsePaymentMethodsInner) HasCardholderName ¶

HasCardholderName returns a boolean if a field has been set.

func (*FindOrganizationPaymentMethods200ResponsePaymentMethodsInner) HasCreatedAt ¶

HasCreatedAt returns a boolean if a field has been set.

func (*FindOrganizationPaymentMethods200ResponsePaymentMethodsInner) HasCreatedByUser ¶

HasCreatedByUser returns a boolean if a field has been set.

func (*FindOrganizationPaymentMethods200ResponsePaymentMethodsInner) HasDefault ¶

HasDefault returns a boolean if a field has been set.

func (*FindOrganizationPaymentMethods200ResponsePaymentMethodsInner) HasEmail ¶

HasEmail returns a boolean if a field has been set.

func (*FindOrganizationPaymentMethods200ResponsePaymentMethodsInner) HasExpirationMonth ¶

HasExpirationMonth returns a boolean if a field has been set.

func (*FindOrganizationPaymentMethods200ResponsePaymentMethodsInner) HasExpirationYear ¶

HasExpirationYear returns a boolean if a field has been set.

func (*FindOrganizationPaymentMethods200ResponsePaymentMethodsInner) HasId ¶

HasId returns a boolean if a field has been set.

func (*FindOrganizationPaymentMethods200ResponsePaymentMethodsInner) HasName ¶

HasName returns a boolean if a field has been set.

func (*FindOrganizationPaymentMethods200ResponsePaymentMethodsInner) HasOrganization ¶

HasOrganization returns a boolean if a field has been set.

func (*FindOrganizationPaymentMethods200ResponsePaymentMethodsInner) HasProjects ¶

HasProjects returns a boolean if a field has been set.

func (*FindOrganizationPaymentMethods200ResponsePaymentMethodsInner) HasType ¶

HasType returns a boolean if a field has been set.

func (*FindOrganizationPaymentMethods200ResponsePaymentMethodsInner) HasUpdatedAt ¶

HasUpdatedAt returns a boolean if a field has been set.

func (FindOrganizationPaymentMethods200ResponsePaymentMethodsInner) MarshalJSON ¶

func (*FindOrganizationPaymentMethods200ResponsePaymentMethodsInner) SetBillingAddress ¶

SetBillingAddress gets a reference to the given FindOrganizationPaymentMethods200ResponsePaymentMethodsInnerBillingAddress and assigns it to the BillingAddress field.

func (*FindOrganizationPaymentMethods200ResponsePaymentMethodsInner) SetCardType ¶

SetCardType gets a reference to the given string and assigns it to the CardType field.

func (*FindOrganizationPaymentMethods200ResponsePaymentMethodsInner) SetCardholderName ¶

SetCardholderName gets a reference to the given string and assigns it to the CardholderName field.

func (*FindOrganizationPaymentMethods200ResponsePaymentMethodsInner) SetCreatedAt ¶

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

func (*FindOrganizationPaymentMethods200ResponsePaymentMethodsInner) SetCreatedByUser ¶

SetCreatedByUser gets a reference to the given FindBatchById200ResponseDevicesInner and assigns it to the CreatedByUser field.

func (*FindOrganizationPaymentMethods200ResponsePaymentMethodsInner) SetDefault ¶

SetDefault gets a reference to the given bool and assigns it to the Default field.

func (*FindOrganizationPaymentMethods200ResponsePaymentMethodsInner) SetEmail ¶

SetEmail gets a reference to the given string and assigns it to the Email field.

func (*FindOrganizationPaymentMethods200ResponsePaymentMethodsInner) SetExpirationMonth ¶

SetExpirationMonth gets a reference to the given string and assigns it to the ExpirationMonth field.

func (*FindOrganizationPaymentMethods200ResponsePaymentMethodsInner) SetExpirationYear ¶

SetExpirationYear gets a reference to the given string and assigns it to the ExpirationYear field.

func (*FindOrganizationPaymentMethods200ResponsePaymentMethodsInner) SetId ¶

SetId gets a reference to the given string and assigns it to the Id field.

func (*FindOrganizationPaymentMethods200ResponsePaymentMethodsInner) SetName ¶

SetName gets a reference to the given string and assigns it to the Name field.

func (*FindOrganizationPaymentMethods200ResponsePaymentMethodsInner) SetOrganization ¶

SetOrganization gets a reference to the given FindBatchById200ResponseDevicesInner and assigns it to the Organization field.

func (*FindOrganizationPaymentMethods200ResponsePaymentMethodsInner) SetProjects ¶

SetProjects gets a reference to the given []FindBatchById200ResponseDevicesInner and assigns it to the Projects field.

func (*FindOrganizationPaymentMethods200ResponsePaymentMethodsInner) SetType ¶

SetType gets a reference to the given string and assigns it to the Type field.

func (*FindOrganizationPaymentMethods200ResponsePaymentMethodsInner) SetUpdatedAt ¶

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

type FindOrganizationPaymentMethods200ResponsePaymentMethodsInnerBillingAddress ¶

type FindOrganizationPaymentMethods200ResponsePaymentMethodsInnerBillingAddress struct {
	CountryCodeAlpha2 *string `json:"country_code_alpha2,omitempty"`
	PostalCode        *string `json:"postal_code,omitempty"`
	StreetAddress     *string `json:"street_address,omitempty"`
}

FindOrganizationPaymentMethods200ResponsePaymentMethodsInnerBillingAddress struct for FindOrganizationPaymentMethods200ResponsePaymentMethodsInnerBillingAddress

func NewFindOrganizationPaymentMethods200ResponsePaymentMethodsInnerBillingAddress ¶

func NewFindOrganizationPaymentMethods200ResponsePaymentMethodsInnerBillingAddress() *FindOrganizationPaymentMethods200ResponsePaymentMethodsInnerBillingAddress

NewFindOrganizationPaymentMethods200ResponsePaymentMethodsInnerBillingAddress instantiates a new FindOrganizationPaymentMethods200ResponsePaymentMethodsInnerBillingAddress 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 NewFindOrganizationPaymentMethods200ResponsePaymentMethodsInnerBillingAddressWithDefaults ¶

func NewFindOrganizationPaymentMethods200ResponsePaymentMethodsInnerBillingAddressWithDefaults() *FindOrganizationPaymentMethods200ResponsePaymentMethodsInnerBillingAddress

NewFindOrganizationPaymentMethods200ResponsePaymentMethodsInnerBillingAddressWithDefaults instantiates a new FindOrganizationPaymentMethods200ResponsePaymentMethodsInnerBillingAddress 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 (*FindOrganizationPaymentMethods200ResponsePaymentMethodsInnerBillingAddress) GetCountryCodeAlpha2 ¶

GetCountryCodeAlpha2 returns the CountryCodeAlpha2 field value if set, zero value otherwise.

func (*FindOrganizationPaymentMethods200ResponsePaymentMethodsInnerBillingAddress) GetCountryCodeAlpha2Ok ¶

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 (*FindOrganizationPaymentMethods200ResponsePaymentMethodsInnerBillingAddress) GetPostalCode ¶

GetPostalCode returns the PostalCode field value if set, zero value otherwise.

func (*FindOrganizationPaymentMethods200ResponsePaymentMethodsInnerBillingAddress) GetPostalCodeOk ¶

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 (*FindOrganizationPaymentMethods200ResponsePaymentMethodsInnerBillingAddress) GetStreetAddress ¶

GetStreetAddress returns the StreetAddress field value if set, zero value otherwise.

func (*FindOrganizationPaymentMethods200ResponsePaymentMethodsInnerBillingAddress) GetStreetAddressOk ¶

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 (*FindOrganizationPaymentMethods200ResponsePaymentMethodsInnerBillingAddress) HasCountryCodeAlpha2 ¶

HasCountryCodeAlpha2 returns a boolean if a field has been set.

func (*FindOrganizationPaymentMethods200ResponsePaymentMethodsInnerBillingAddress) HasPostalCode ¶

HasPostalCode returns a boolean if a field has been set.

func (*FindOrganizationPaymentMethods200ResponsePaymentMethodsInnerBillingAddress) HasStreetAddress ¶

HasStreetAddress returns a boolean if a field has been set.

func (FindOrganizationPaymentMethods200ResponsePaymentMethodsInnerBillingAddress) MarshalJSON ¶

func (*FindOrganizationPaymentMethods200ResponsePaymentMethodsInnerBillingAddress) SetCountryCodeAlpha2 ¶

SetCountryCodeAlpha2 gets a reference to the given string and assigns it to the CountryCodeAlpha2 field.

func (*FindOrganizationPaymentMethods200ResponsePaymentMethodsInnerBillingAddress) SetPostalCode ¶

SetPostalCode gets a reference to the given string and assigns it to the PostalCode field.

func (*FindOrganizationPaymentMethods200ResponsePaymentMethodsInnerBillingAddress) SetStreetAddress ¶

SetStreetAddress gets a reference to the given string and assigns it to the StreetAddress field.

type FindOrganizationProjects200Response ¶

type FindOrganizationProjects200Response struct {
	Meta     *FindDeviceEvents200ResponseMeta                                                             `json:"meta,omitempty"`
	Projects []GetInterconnection200ResponsePortsInnerVirtualCircuitsVirtualCircuitsInnerAnyOf1VrfProject `json:"projects,omitempty"`
}

FindOrganizationProjects200Response struct for FindOrganizationProjects200Response

func NewFindOrganizationProjects200Response ¶

func NewFindOrganizationProjects200Response() *FindOrganizationProjects200Response

NewFindOrganizationProjects200Response instantiates a new FindOrganizationProjects200Response 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 NewFindOrganizationProjects200ResponseWithDefaults ¶

func NewFindOrganizationProjects200ResponseWithDefaults() *FindOrganizationProjects200Response

NewFindOrganizationProjects200ResponseWithDefaults instantiates a new FindOrganizationProjects200Response 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 (*FindOrganizationProjects200Response) GetMeta ¶

GetMeta returns the Meta field value if set, zero value otherwise.

func (*FindOrganizationProjects200Response) GetMetaOk ¶

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 (*FindOrganizationProjects200Response) GetProjects ¶

GetProjects returns the Projects field value if set, zero value otherwise.

func (*FindOrganizationProjects200Response) GetProjectsOk ¶

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 (*FindOrganizationProjects200Response) HasMeta ¶

HasMeta returns a boolean if a field has been set.

func (*FindOrganizationProjects200Response) HasProjects ¶

func (o *FindOrganizationProjects200Response) HasProjects() bool

HasProjects returns a boolean if a field has been set.

func (FindOrganizationProjects200Response) MarshalJSON ¶

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

func (*FindOrganizationProjects200Response) SetMeta ¶

SetMeta gets a reference to the given FindDeviceEvents200ResponseMeta and assigns it to the Meta field.

func (*FindOrganizationProjects200Response) SetProjects ¶

SetProjects gets a reference to the given []GetInterconnection200ResponsePortsInnerVirtualCircuitsVirtualCircuitsInnerAnyOf1VrfProject and assigns it to the Projects field.

type FindOrganizationTransfers200Response ¶

type FindOrganizationTransfers200Response struct {
	Transfers []FindOrganizationTransfers200ResponseTransfersInner `json:"transfers,omitempty"`
}

FindOrganizationTransfers200Response struct for FindOrganizationTransfers200Response

func NewFindOrganizationTransfers200Response ¶

func NewFindOrganizationTransfers200Response() *FindOrganizationTransfers200Response

NewFindOrganizationTransfers200Response instantiates a new FindOrganizationTransfers200Response 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 NewFindOrganizationTransfers200ResponseWithDefaults ¶

func NewFindOrganizationTransfers200ResponseWithDefaults() *FindOrganizationTransfers200Response

NewFindOrganizationTransfers200ResponseWithDefaults instantiates a new FindOrganizationTransfers200Response 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 (*FindOrganizationTransfers200Response) GetTransfers ¶

GetTransfers returns the Transfers field value if set, zero value otherwise.

func (*FindOrganizationTransfers200Response) GetTransfersOk ¶

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 (*FindOrganizationTransfers200Response) HasTransfers ¶

func (o *FindOrganizationTransfers200Response) HasTransfers() bool

HasTransfers returns a boolean if a field has been set.

func (FindOrganizationTransfers200Response) MarshalJSON ¶

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

func (*FindOrganizationTransfers200Response) SetTransfers ¶

SetTransfers gets a reference to the given []FindOrganizationTransfers200ResponseTransfersInner and assigns it to the Transfers field.

type FindOrganizationTransfers200ResponseTransfersInner ¶

type FindOrganizationTransfers200ResponseTransfersInner struct {
	CreatedAt          *time.Time                            `json:"created_at,omitempty"`
	Href               *string                               `json:"href,omitempty"`
	Id                 *string                               `json:"id,omitempty"`
	Project            *FindBatchById200ResponseDevicesInner `json:"project,omitempty"`
	TargetOrganization *FindBatchById200ResponseDevicesInner `json:"target_organization,omitempty"`
	UpdatedAt          *time.Time                            `json:"updated_at,omitempty"`
}

FindOrganizationTransfers200ResponseTransfersInner struct for FindOrganizationTransfers200ResponseTransfersInner

func NewFindOrganizationTransfers200ResponseTransfersInner ¶

func NewFindOrganizationTransfers200ResponseTransfersInner() *FindOrganizationTransfers200ResponseTransfersInner

NewFindOrganizationTransfers200ResponseTransfersInner instantiates a new FindOrganizationTransfers200ResponseTransfersInner 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 NewFindOrganizationTransfers200ResponseTransfersInnerWithDefaults ¶

func NewFindOrganizationTransfers200ResponseTransfersInnerWithDefaults() *FindOrganizationTransfers200ResponseTransfersInner

NewFindOrganizationTransfers200ResponseTransfersInnerWithDefaults instantiates a new FindOrganizationTransfers200ResponseTransfersInner 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 (*FindOrganizationTransfers200ResponseTransfersInner) GetCreatedAt ¶

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

func (*FindOrganizationTransfers200ResponseTransfersInner) GetCreatedAtOk ¶

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 (*FindOrganizationTransfers200ResponseTransfersInner) GetHref ¶

GetHref returns the Href field value if set, zero value otherwise.

func (*FindOrganizationTransfers200ResponseTransfersInner) GetHrefOk ¶

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 (*FindOrganizationTransfers200ResponseTransfersInner) GetId ¶

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

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

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

func (*FindOrganizationTransfers200ResponseTransfersInner) GetProjectOk ¶

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 (*FindOrganizationTransfers200ResponseTransfersInner) GetTargetOrganization ¶

GetTargetOrganization returns the TargetOrganization field value if set, zero value otherwise.

func (*FindOrganizationTransfers200ResponseTransfersInner) GetTargetOrganizationOk ¶

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 (*FindOrganizationTransfers200ResponseTransfersInner) GetUpdatedAt ¶

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

func (*FindOrganizationTransfers200ResponseTransfersInner) GetUpdatedAtOk ¶

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 (*FindOrganizationTransfers200ResponseTransfersInner) HasCreatedAt ¶

HasCreatedAt returns a boolean if a field has been set.

func (*FindOrganizationTransfers200ResponseTransfersInner) HasHref ¶

HasHref returns a boolean if a field has been set.

func (*FindOrganizationTransfers200ResponseTransfersInner) HasId ¶

HasId returns a boolean if a field has been set.

func (*FindOrganizationTransfers200ResponseTransfersInner) HasProject ¶

HasProject returns a boolean if a field has been set.

func (*FindOrganizationTransfers200ResponseTransfersInner) HasTargetOrganization ¶

func (o *FindOrganizationTransfers200ResponseTransfersInner) HasTargetOrganization() bool

HasTargetOrganization returns a boolean if a field has been set.

func (*FindOrganizationTransfers200ResponseTransfersInner) HasUpdatedAt ¶

HasUpdatedAt returns a boolean if a field has been set.

func (FindOrganizationTransfers200ResponseTransfersInner) MarshalJSON ¶

func (*FindOrganizationTransfers200ResponseTransfersInner) SetCreatedAt ¶

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

func (*FindOrganizationTransfers200ResponseTransfersInner) SetHref ¶

SetHref gets a reference to the given string and assigns it to the Href field.

func (*FindOrganizationTransfers200ResponseTransfersInner) SetId ¶

SetId gets a reference to the given string and assigns it to the Id field.

func (*FindOrganizationTransfers200ResponseTransfersInner) SetProject ¶

SetProject gets a reference to the given FindBatchById200ResponseDevicesInner and assigns it to the Project field.

func (*FindOrganizationTransfers200ResponseTransfersInner) SetTargetOrganization ¶

SetTargetOrganization gets a reference to the given FindBatchById200ResponseDevicesInner and assigns it to the TargetOrganization field.

func (*FindOrganizationTransfers200ResponseTransfersInner) SetUpdatedAt ¶

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

type FindOrganizations200Response ¶

type FindOrganizations200Response struct {
	Meta          *FindDeviceEvents200ResponseMeta                 `json:"meta,omitempty"`
	Organizations []FindOrganizations200ResponseOrganizationsInner `json:"organizations,omitempty"`
}

FindOrganizations200Response struct for FindOrganizations200Response

func NewFindOrganizations200Response ¶

func NewFindOrganizations200Response() *FindOrganizations200Response

NewFindOrganizations200Response instantiates a new FindOrganizations200Response 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 NewFindOrganizations200ResponseWithDefaults ¶

func NewFindOrganizations200ResponseWithDefaults() *FindOrganizations200Response

NewFindOrganizations200ResponseWithDefaults instantiates a new FindOrganizations200Response 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 (*FindOrganizations200Response) GetMeta ¶

GetMeta returns the Meta field value if set, zero value otherwise.

func (*FindOrganizations200Response) GetMetaOk ¶

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 (*FindOrganizations200Response) GetOrganizations ¶

GetOrganizations returns the Organizations field value if set, zero value otherwise.

func (*FindOrganizations200Response) GetOrganizationsOk ¶

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 (*FindOrganizations200Response) HasMeta ¶

func (o *FindOrganizations200Response) HasMeta() bool

HasMeta returns a boolean if a field has been set.

func (*FindOrganizations200Response) HasOrganizations ¶

func (o *FindOrganizations200Response) HasOrganizations() bool

HasOrganizations returns a boolean if a field has been set.

func (FindOrganizations200Response) MarshalJSON ¶

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

func (*FindOrganizations200Response) SetMeta ¶

SetMeta gets a reference to the given FindDeviceEvents200ResponseMeta and assigns it to the Meta field.

func (*FindOrganizations200Response) SetOrganizations ¶

SetOrganizations gets a reference to the given []FindOrganizations200ResponseOrganizationsInner and assigns it to the Organizations field.

type FindOrganizations200ResponseOrganizationsInner ¶

type FindOrganizations200ResponseOrganizationsInner struct {
	Address        *FindDeviceById200ResponseFacilityAddress `json:"address,omitempty"`
	BillingAddress *FindDeviceById200ResponseFacilityAddress `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      []FindBatchById200ResponseDevicesInner `json:"members,omitempty"`
	Memberships  []FindBatchById200ResponseDevicesInner `json:"memberships,omitempty"`
	Name         *string                                `json:"name,omitempty"`
	Projects     []FindBatchById200ResponseDevicesInner `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"`
}

FindOrganizations200ResponseOrganizationsInner struct for FindOrganizations200ResponseOrganizationsInner

func NewFindOrganizations200ResponseOrganizationsInner ¶

func NewFindOrganizations200ResponseOrganizationsInner() *FindOrganizations200ResponseOrganizationsInner

NewFindOrganizations200ResponseOrganizationsInner instantiates a new FindOrganizations200ResponseOrganizationsInner 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 NewFindOrganizations200ResponseOrganizationsInnerWithDefaults ¶

func NewFindOrganizations200ResponseOrganizationsInnerWithDefaults() *FindOrganizations200ResponseOrganizationsInner

NewFindOrganizations200ResponseOrganizationsInnerWithDefaults instantiates a new FindOrganizations200ResponseOrganizationsInner 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 (*FindOrganizations200ResponseOrganizationsInner) GetAddress ¶

GetAddress returns the Address field value if set, zero value otherwise.

func (*FindOrganizations200ResponseOrganizationsInner) GetAddressOk ¶

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 (*FindOrganizations200ResponseOrganizationsInner) GetBillingAddress ¶

GetBillingAddress returns the BillingAddress field value if set, zero value otherwise.

func (*FindOrganizations200ResponseOrganizationsInner) GetBillingAddressOk ¶

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 (*FindOrganizations200ResponseOrganizationsInner) GetCreatedAt ¶

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

func (*FindOrganizations200ResponseOrganizationsInner) GetCreatedAtOk ¶

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 (*FindOrganizations200ResponseOrganizationsInner) GetCreditAmount ¶

GetCreditAmount returns the CreditAmount field value if set, zero value otherwise.

func (*FindOrganizations200ResponseOrganizationsInner) GetCreditAmountOk ¶

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

func (o *FindOrganizations200ResponseOrganizationsInner) GetCustomdata() map[string]interface{}

GetCustomdata returns the Customdata field value if set, zero value otherwise.

func (*FindOrganizations200ResponseOrganizationsInner) GetCustomdataOk ¶

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

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

func (*FindOrganizations200ResponseOrganizationsInner) GetDescriptionOk ¶

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 (*FindOrganizations200ResponseOrganizationsInner) GetEnforce2faAt ¶

GetEnforce2faAt returns the Enforce2faAt field value if set, zero value otherwise.

func (*FindOrganizations200ResponseOrganizationsInner) GetEnforce2faAtOk ¶

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

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

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

GetLogo returns the Logo field value if set, zero value otherwise.

func (*FindOrganizations200ResponseOrganizationsInner) GetLogoOk ¶

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 (*FindOrganizations200ResponseOrganizationsInner) GetMembers ¶

GetMembers returns the Members field value if set, zero value otherwise.

func (*FindOrganizations200ResponseOrganizationsInner) GetMembersOk ¶

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 (*FindOrganizations200ResponseOrganizationsInner) GetMemberships ¶

GetMemberships returns the Memberships field value if set, zero value otherwise.

func (*FindOrganizations200ResponseOrganizationsInner) GetMembershipsOk ¶

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 (*FindOrganizations200ResponseOrganizationsInner) GetName ¶

GetName returns the Name field value if set, zero value otherwise.

func (*FindOrganizations200ResponseOrganizationsInner) GetNameOk ¶

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 (*FindOrganizations200ResponseOrganizationsInner) GetProjects ¶

GetProjects returns the Projects field value if set, zero value otherwise.

func (*FindOrganizations200ResponseOrganizationsInner) GetProjectsOk ¶

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 (*FindOrganizations200ResponseOrganizationsInner) GetTerms ¶

GetTerms returns the Terms field value if set, zero value otherwise.

func (*FindOrganizations200ResponseOrganizationsInner) GetTermsOk ¶

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 (*FindOrganizations200ResponseOrganizationsInner) GetTwitter ¶

GetTwitter returns the Twitter field value if set, zero value otherwise.

func (*FindOrganizations200ResponseOrganizationsInner) GetTwitterOk ¶

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 (*FindOrganizations200ResponseOrganizationsInner) GetUpdatedAt ¶

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

func (*FindOrganizations200ResponseOrganizationsInner) GetUpdatedAtOk ¶

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 (*FindOrganizations200ResponseOrganizationsInner) GetWebsite ¶

GetWebsite returns the Website field value if set, zero value otherwise.

func (*FindOrganizations200ResponseOrganizationsInner) GetWebsiteOk ¶

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 (*FindOrganizations200ResponseOrganizationsInner) HasAddress ¶

HasAddress returns a boolean if a field has been set.

func (*FindOrganizations200ResponseOrganizationsInner) HasBillingAddress ¶

HasBillingAddress returns a boolean if a field has been set.

func (*FindOrganizations200ResponseOrganizationsInner) HasCreatedAt ¶

HasCreatedAt returns a boolean if a field has been set.

func (*FindOrganizations200ResponseOrganizationsInner) HasCreditAmount ¶

HasCreditAmount returns a boolean if a field has been set.

func (*FindOrganizations200ResponseOrganizationsInner) HasCustomdata ¶

HasCustomdata returns a boolean if a field has been set.

func (*FindOrganizations200ResponseOrganizationsInner) HasDescription ¶

HasDescription returns a boolean if a field has been set.

func (*FindOrganizations200ResponseOrganizationsInner) HasEnforce2faAt ¶

HasEnforce2faAt returns a boolean if a field has been set.

func (*FindOrganizations200ResponseOrganizationsInner) HasId ¶

HasId returns a boolean if a field has been set.

HasLogo returns a boolean if a field has been set.

func (*FindOrganizations200ResponseOrganizationsInner) HasMembers ¶

HasMembers returns a boolean if a field has been set.

func (*FindOrganizations200ResponseOrganizationsInner) HasMemberships ¶

HasMemberships returns a boolean if a field has been set.

func (*FindOrganizations200ResponseOrganizationsInner) HasName ¶

HasName returns a boolean if a field has been set.

func (*FindOrganizations200ResponseOrganizationsInner) HasProjects ¶

HasProjects returns a boolean if a field has been set.

func (*FindOrganizations200ResponseOrganizationsInner) HasTerms ¶

HasTerms returns a boolean if a field has been set.

func (*FindOrganizations200ResponseOrganizationsInner) HasTwitter ¶

HasTwitter returns a boolean if a field has been set.

func (*FindOrganizations200ResponseOrganizationsInner) HasUpdatedAt ¶

HasUpdatedAt returns a boolean if a field has been set.

func (*FindOrganizations200ResponseOrganizationsInner) HasWebsite ¶

HasWebsite returns a boolean if a field has been set.

func (FindOrganizations200ResponseOrganizationsInner) MarshalJSON ¶

func (*FindOrganizations200ResponseOrganizationsInner) SetAddress ¶

SetAddress gets a reference to the given FindDeviceById200ResponseFacilityAddress and assigns it to the Address field.

func (*FindOrganizations200ResponseOrganizationsInner) SetBillingAddress ¶

SetBillingAddress gets a reference to the given FindDeviceById200ResponseFacilityAddress and assigns it to the BillingAddress field.

func (*FindOrganizations200ResponseOrganizationsInner) SetCreatedAt ¶

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

func (*FindOrganizations200ResponseOrganizationsInner) SetCreditAmount ¶

SetCreditAmount gets a reference to the given float32 and assigns it to the CreditAmount field.

func (*FindOrganizations200ResponseOrganizationsInner) SetCustomdata ¶

func (o *FindOrganizations200ResponseOrganizationsInner) SetCustomdata(v map[string]interface{})

SetCustomdata gets a reference to the given map[string]interface{} and assigns it to the Customdata field.

func (*FindOrganizations200ResponseOrganizationsInner) SetDescription ¶

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

func (*FindOrganizations200ResponseOrganizationsInner) SetEnforce2faAt ¶

SetEnforce2faAt gets a reference to the given time.Time and assigns it to the Enforce2faAt field.

func (*FindOrganizations200ResponseOrganizationsInner) SetId ¶

SetId gets a reference to the given string and assigns it to the Id field.

SetLogo gets a reference to the given *os.File and assigns it to the Logo field.

func (*FindOrganizations200ResponseOrganizationsInner) SetMembers ¶

SetMembers gets a reference to the given []FindBatchById200ResponseDevicesInner and assigns it to the Members field.

func (*FindOrganizations200ResponseOrganizationsInner) SetMemberships ¶

SetMemberships gets a reference to the given []FindBatchById200ResponseDevicesInner and assigns it to the Memberships field.

func (*FindOrganizations200ResponseOrganizationsInner) SetName ¶

SetName gets a reference to the given string and assigns it to the Name field.

func (*FindOrganizations200ResponseOrganizationsInner) SetProjects ¶

SetProjects gets a reference to the given []FindBatchById200ResponseDevicesInner and assigns it to the Projects field.

func (*FindOrganizations200ResponseOrganizationsInner) SetTerms ¶

SetTerms gets a reference to the given int32 and assigns it to the Terms field.

func (*FindOrganizations200ResponseOrganizationsInner) SetTwitter ¶

SetTwitter gets a reference to the given string and assigns it to the Twitter field.

func (*FindOrganizations200ResponseOrganizationsInner) SetUpdatedAt ¶

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

func (*FindOrganizations200ResponseOrganizationsInner) SetWebsite ¶

SetWebsite gets a reference to the given string and assigns it to the Website field.

type FindPlansByOrganization200Response ¶

type FindPlansByOrganization200Response struct {
	Plans []FindDeviceById200ResponsePlan `json:"plans,omitempty"`
}

FindPlansByOrganization200Response struct for FindPlansByOrganization200Response

func NewFindPlansByOrganization200Response ¶

func NewFindPlansByOrganization200Response() *FindPlansByOrganization200Response

NewFindPlansByOrganization200Response instantiates a new FindPlansByOrganization200Response 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 NewFindPlansByOrganization200ResponseWithDefaults ¶

func NewFindPlansByOrganization200ResponseWithDefaults() *FindPlansByOrganization200Response

NewFindPlansByOrganization200ResponseWithDefaults instantiates a new FindPlansByOrganization200Response 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 (*FindPlansByOrganization200Response) GetPlans ¶

GetPlans returns the Plans field value if set, zero value otherwise.

func (*FindPlansByOrganization200Response) GetPlansOk ¶

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 (*FindPlansByOrganization200Response) HasPlans ¶

HasPlans returns a boolean if a field has been set.

func (FindPlansByOrganization200Response) MarshalJSON ¶

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

func (*FindPlansByOrganization200Response) SetPlans ¶

SetPlans gets a reference to the given []FindDeviceById200ResponsePlan and assigns it to the Plans field.

type FindPortVlanAssignmentBatches200Response ¶

type FindPortVlanAssignmentBatches200Response struct {
	Batches []FindPortVlanAssignmentBatches200ResponseBatchesInner `json:"batches,omitempty"`
}

FindPortVlanAssignmentBatches200Response struct for FindPortVlanAssignmentBatches200Response

func NewFindPortVlanAssignmentBatches200Response ¶

func NewFindPortVlanAssignmentBatches200Response() *FindPortVlanAssignmentBatches200Response

NewFindPortVlanAssignmentBatches200Response instantiates a new FindPortVlanAssignmentBatches200Response 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 NewFindPortVlanAssignmentBatches200ResponseWithDefaults ¶

func NewFindPortVlanAssignmentBatches200ResponseWithDefaults() *FindPortVlanAssignmentBatches200Response

NewFindPortVlanAssignmentBatches200ResponseWithDefaults instantiates a new FindPortVlanAssignmentBatches200Response 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 (*FindPortVlanAssignmentBatches200Response) GetBatches ¶

GetBatches returns the Batches field value if set, zero value otherwise.

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

HasBatches returns a boolean if a field has been set.

func (FindPortVlanAssignmentBatches200Response) MarshalJSON ¶

func (*FindPortVlanAssignmentBatches200Response) SetBatches ¶

SetBatches gets a reference to the given []FindPortVlanAssignmentBatches200ResponseBatchesInner and assigns it to the Batches field.

type FindPortVlanAssignmentBatches200ResponseBatchesInner ¶

type FindPortVlanAssignmentBatches200ResponseBatchesInner struct {
	CreatedAt       *time.Time                                                                 `json:"created_at,omitempty"`
	ErrorMessages   []string                                                                   `json:"error_messages,omitempty"`
	Id              *string                                                                    `json:"id,omitempty"`
	Port            *FindDeviceById200ResponseNetworkPortsInner                                `json:"port,omitempty"`
	Quantity        *int32                                                                     `json:"quantity,omitempty"`
	State           *string                                                                    `json:"state,omitempty"`
	UpdatedAt       *time.Time                                                                 `json:"updated_at,omitempty"`
	VlanAssignments []FindPortVlanAssignmentBatches200ResponseBatchesInnerVlanAssignmentsInner `json:"vlan_assignments,omitempty"`
}

FindPortVlanAssignmentBatches200ResponseBatchesInner struct for FindPortVlanAssignmentBatches200ResponseBatchesInner

func NewFindPortVlanAssignmentBatches200ResponseBatchesInner ¶

func NewFindPortVlanAssignmentBatches200ResponseBatchesInner() *FindPortVlanAssignmentBatches200ResponseBatchesInner

NewFindPortVlanAssignmentBatches200ResponseBatchesInner instantiates a new FindPortVlanAssignmentBatches200ResponseBatchesInner 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 NewFindPortVlanAssignmentBatches200ResponseBatchesInnerWithDefaults ¶

func NewFindPortVlanAssignmentBatches200ResponseBatchesInnerWithDefaults() *FindPortVlanAssignmentBatches200ResponseBatchesInner

NewFindPortVlanAssignmentBatches200ResponseBatchesInnerWithDefaults instantiates a new FindPortVlanAssignmentBatches200ResponseBatchesInner 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 (*FindPortVlanAssignmentBatches200ResponseBatchesInner) GetCreatedAt ¶

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

func (*FindPortVlanAssignmentBatches200ResponseBatchesInner) GetCreatedAtOk ¶

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 (*FindPortVlanAssignmentBatches200ResponseBatchesInner) GetErrorMessages ¶

GetErrorMessages returns the ErrorMessages field value if set, zero value otherwise.

func (*FindPortVlanAssignmentBatches200ResponseBatchesInner) GetErrorMessagesOk ¶

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 (*FindPortVlanAssignmentBatches200ResponseBatchesInner) GetId ¶

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

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

GetPort returns the Port field value if set, zero value otherwise.

func (*FindPortVlanAssignmentBatches200ResponseBatchesInner) GetPortOk ¶

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 (*FindPortVlanAssignmentBatches200ResponseBatchesInner) GetQuantity ¶

GetQuantity returns the Quantity field value if set, zero value otherwise.

func (*FindPortVlanAssignmentBatches200ResponseBatchesInner) GetQuantityOk ¶

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 (*FindPortVlanAssignmentBatches200ResponseBatchesInner) GetState ¶

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

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

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

func (*FindPortVlanAssignmentBatches200ResponseBatchesInner) GetUpdatedAtOk ¶

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 (*FindPortVlanAssignmentBatches200ResponseBatchesInner) GetVlanAssignments ¶

GetVlanAssignments returns the VlanAssignments field value if set, zero value otherwise.

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

HasCreatedAt returns a boolean if a field has been set.

func (*FindPortVlanAssignmentBatches200ResponseBatchesInner) HasErrorMessages ¶

HasErrorMessages returns a boolean if a field has been set.

func (*FindPortVlanAssignmentBatches200ResponseBatchesInner) HasId ¶

HasId returns a boolean if a field has been set.

func (*FindPortVlanAssignmentBatches200ResponseBatchesInner) HasPort ¶

HasPort returns a boolean if a field has been set.

func (*FindPortVlanAssignmentBatches200ResponseBatchesInner) HasQuantity ¶

HasQuantity returns a boolean if a field has been set.

func (*FindPortVlanAssignmentBatches200ResponseBatchesInner) HasState ¶

HasState returns a boolean if a field has been set.

func (*FindPortVlanAssignmentBatches200ResponseBatchesInner) HasUpdatedAt ¶

HasUpdatedAt returns a boolean if a field has been set.

func (*FindPortVlanAssignmentBatches200ResponseBatchesInner) HasVlanAssignments ¶

HasVlanAssignments returns a boolean if a field has been set.

func (FindPortVlanAssignmentBatches200ResponseBatchesInner) MarshalJSON ¶

func (*FindPortVlanAssignmentBatches200ResponseBatchesInner) SetCreatedAt ¶

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

func (*FindPortVlanAssignmentBatches200ResponseBatchesInner) SetErrorMessages ¶

SetErrorMessages gets a reference to the given []string and assigns it to the ErrorMessages field.

func (*FindPortVlanAssignmentBatches200ResponseBatchesInner) SetId ¶

SetId gets a reference to the given string and assigns it to the Id field.

func (*FindPortVlanAssignmentBatches200ResponseBatchesInner) SetPort ¶

SetPort gets a reference to the given FindDeviceById200ResponseNetworkPortsInner and assigns it to the Port field.

func (*FindPortVlanAssignmentBatches200ResponseBatchesInner) SetQuantity ¶

SetQuantity gets a reference to the given int32 and assigns it to the Quantity field.

func (*FindPortVlanAssignmentBatches200ResponseBatchesInner) SetState ¶

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

func (*FindPortVlanAssignmentBatches200ResponseBatchesInner) SetUpdatedAt ¶

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

func (*FindPortVlanAssignmentBatches200ResponseBatchesInner) SetVlanAssignments ¶

SetVlanAssignments gets a reference to the given []FindPortVlanAssignmentBatches200ResponseBatchesInnerVlanAssignmentsInner and assigns it to the VlanAssignments field.

type FindPortVlanAssignmentBatches200ResponseBatchesInnerVlanAssignmentsInner ¶

type FindPortVlanAssignmentBatches200ResponseBatchesInnerVlanAssignmentsInner struct {
	Id     *string `json:"id,omitempty"`
	Native *bool   `json:"native,omitempty"`
	State  *string `json:"state,omitempty"`
	Vlan   *int32  `json:"vlan,omitempty"`
}

FindPortVlanAssignmentBatches200ResponseBatchesInnerVlanAssignmentsInner struct for FindPortVlanAssignmentBatches200ResponseBatchesInnerVlanAssignmentsInner

func NewFindPortVlanAssignmentBatches200ResponseBatchesInnerVlanAssignmentsInner ¶

func NewFindPortVlanAssignmentBatches200ResponseBatchesInnerVlanAssignmentsInner() *FindPortVlanAssignmentBatches200ResponseBatchesInnerVlanAssignmentsInner

NewFindPortVlanAssignmentBatches200ResponseBatchesInnerVlanAssignmentsInner instantiates a new FindPortVlanAssignmentBatches200ResponseBatchesInnerVlanAssignmentsInner 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 NewFindPortVlanAssignmentBatches200ResponseBatchesInnerVlanAssignmentsInnerWithDefaults ¶

func NewFindPortVlanAssignmentBatches200ResponseBatchesInnerVlanAssignmentsInnerWithDefaults() *FindPortVlanAssignmentBatches200ResponseBatchesInnerVlanAssignmentsInner

NewFindPortVlanAssignmentBatches200ResponseBatchesInnerVlanAssignmentsInnerWithDefaults instantiates a new FindPortVlanAssignmentBatches200ResponseBatchesInnerVlanAssignmentsInner 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 (*FindPortVlanAssignmentBatches200ResponseBatchesInnerVlanAssignmentsInner) GetId ¶

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

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

GetNative returns the Native field value if set, zero value otherwise.

func (*FindPortVlanAssignmentBatches200ResponseBatchesInnerVlanAssignmentsInner) GetNativeOk ¶

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 (*FindPortVlanAssignmentBatches200ResponseBatchesInnerVlanAssignmentsInner) GetState ¶

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

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

GetVlan returns the Vlan field value if set, zero value otherwise.

func (*FindPortVlanAssignmentBatches200ResponseBatchesInnerVlanAssignmentsInner) GetVlanOk ¶

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 (*FindPortVlanAssignmentBatches200ResponseBatchesInnerVlanAssignmentsInner) HasId ¶

HasId returns a boolean if a field has been set.

func (*FindPortVlanAssignmentBatches200ResponseBatchesInnerVlanAssignmentsInner) HasNative ¶

HasNative returns a boolean if a field has been set.

func (*FindPortVlanAssignmentBatches200ResponseBatchesInnerVlanAssignmentsInner) HasState ¶

HasState returns a boolean if a field has been set.

func (*FindPortVlanAssignmentBatches200ResponseBatchesInnerVlanAssignmentsInner) HasVlan ¶

HasVlan returns a boolean if a field has been set.

func (FindPortVlanAssignmentBatches200ResponseBatchesInnerVlanAssignmentsInner) MarshalJSON ¶

func (*FindPortVlanAssignmentBatches200ResponseBatchesInnerVlanAssignmentsInner) SetId ¶

SetId gets a reference to the given string and assigns it to the Id field.

func (*FindPortVlanAssignmentBatches200ResponseBatchesInnerVlanAssignmentsInner) SetNative ¶

SetNative gets a reference to the given bool and assigns it to the Native field.

func (*FindPortVlanAssignmentBatches200ResponseBatchesInnerVlanAssignmentsInner) SetState ¶

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

func (*FindPortVlanAssignmentBatches200ResponseBatchesInnerVlanAssignmentsInner) SetVlan ¶

SetVlan gets a reference to the given int32 and assigns it to the Vlan field.

type FindPortVlanAssignments200Response ¶

type FindPortVlanAssignments200Response struct {
	VlanAssignments []FindPortVlanAssignments200ResponseVlanAssignmentsInner `json:"vlan_assignments,omitempty"`
}

FindPortVlanAssignments200Response struct for FindPortVlanAssignments200Response

func NewFindPortVlanAssignments200Response ¶

func NewFindPortVlanAssignments200Response() *FindPortVlanAssignments200Response

NewFindPortVlanAssignments200Response instantiates a new FindPortVlanAssignments200Response 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 NewFindPortVlanAssignments200ResponseWithDefaults ¶

func NewFindPortVlanAssignments200ResponseWithDefaults() *FindPortVlanAssignments200Response

NewFindPortVlanAssignments200ResponseWithDefaults instantiates a new FindPortVlanAssignments200Response 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 (*FindPortVlanAssignments200Response) GetVlanAssignments ¶

GetVlanAssignments returns the VlanAssignments field value if set, zero value otherwise.

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

func (o *FindPortVlanAssignments200Response) HasVlanAssignments() bool

HasVlanAssignments returns a boolean if a field has been set.

func (FindPortVlanAssignments200Response) MarshalJSON ¶

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

func (*FindPortVlanAssignments200Response) SetVlanAssignments ¶

SetVlanAssignments gets a reference to the given []FindPortVlanAssignments200ResponseVlanAssignmentsInner and assigns it to the VlanAssignments field.

type FindPortVlanAssignments200ResponseVlanAssignmentsInner ¶

type FindPortVlanAssignments200ResponseVlanAssignmentsInner struct {
	CreatedAt      *time.Time                            `json:"created_at,omitempty"`
	Id             *string                               `json:"id,omitempty"`
	Native         *bool                                 `json:"native,omitempty"`
	Port           *FindBatchById200ResponseDevicesInner `json:"port,omitempty"`
	State          *string                               `json:"state,omitempty"`
	UpdatedAt      *time.Time                            `json:"updated_at,omitempty"`
	VirtualNetwork *FindBatchById200ResponseDevicesInner `json:"virtual_network,omitempty"`
	Vlan           *int32                                `json:"vlan,omitempty"`
}

FindPortVlanAssignments200ResponseVlanAssignmentsInner struct for FindPortVlanAssignments200ResponseVlanAssignmentsInner

func NewFindPortVlanAssignments200ResponseVlanAssignmentsInner ¶

func NewFindPortVlanAssignments200ResponseVlanAssignmentsInner() *FindPortVlanAssignments200ResponseVlanAssignmentsInner

NewFindPortVlanAssignments200ResponseVlanAssignmentsInner instantiates a new FindPortVlanAssignments200ResponseVlanAssignmentsInner 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 NewFindPortVlanAssignments200ResponseVlanAssignmentsInnerWithDefaults ¶

func NewFindPortVlanAssignments200ResponseVlanAssignmentsInnerWithDefaults() *FindPortVlanAssignments200ResponseVlanAssignmentsInner

NewFindPortVlanAssignments200ResponseVlanAssignmentsInnerWithDefaults instantiates a new FindPortVlanAssignments200ResponseVlanAssignmentsInner 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 (*FindPortVlanAssignments200ResponseVlanAssignmentsInner) GetCreatedAt ¶

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

func (*FindPortVlanAssignments200ResponseVlanAssignmentsInner) GetCreatedAtOk ¶

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 (*FindPortVlanAssignments200ResponseVlanAssignmentsInner) GetId ¶

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

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

GetNative returns the Native field value if set, zero value otherwise.

func (*FindPortVlanAssignments200ResponseVlanAssignmentsInner) GetNativeOk ¶

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 (*FindPortVlanAssignments200ResponseVlanAssignmentsInner) GetPort ¶

GetPort returns the Port field value if set, zero value otherwise.

func (*FindPortVlanAssignments200ResponseVlanAssignmentsInner) GetPortOk ¶

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 (*FindPortVlanAssignments200ResponseVlanAssignmentsInner) GetState ¶

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

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

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

func (*FindPortVlanAssignments200ResponseVlanAssignmentsInner) GetUpdatedAtOk ¶

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 (*FindPortVlanAssignments200ResponseVlanAssignmentsInner) GetVirtualNetwork ¶

GetVirtualNetwork returns the VirtualNetwork field value if set, zero value otherwise.

func (*FindPortVlanAssignments200ResponseVlanAssignmentsInner) GetVirtualNetworkOk ¶

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 (*FindPortVlanAssignments200ResponseVlanAssignmentsInner) GetVlan ¶

GetVlan returns the Vlan field value if set, zero value otherwise.

func (*FindPortVlanAssignments200ResponseVlanAssignmentsInner) GetVlanOk ¶

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 (*FindPortVlanAssignments200ResponseVlanAssignmentsInner) HasCreatedAt ¶

HasCreatedAt returns a boolean if a field has been set.

func (*FindPortVlanAssignments200ResponseVlanAssignmentsInner) HasId ¶

HasId returns a boolean if a field has been set.

func (*FindPortVlanAssignments200ResponseVlanAssignmentsInner) HasNative ¶

HasNative returns a boolean if a field has been set.

func (*FindPortVlanAssignments200ResponseVlanAssignmentsInner) HasPort ¶

HasPort returns a boolean if a field has been set.

func (*FindPortVlanAssignments200ResponseVlanAssignmentsInner) HasState ¶

HasState returns a boolean if a field has been set.

func (*FindPortVlanAssignments200ResponseVlanAssignmentsInner) HasUpdatedAt ¶

HasUpdatedAt returns a boolean if a field has been set.

func (*FindPortVlanAssignments200ResponseVlanAssignmentsInner) HasVirtualNetwork ¶

HasVirtualNetwork returns a boolean if a field has been set.

func (*FindPortVlanAssignments200ResponseVlanAssignmentsInner) HasVlan ¶

HasVlan returns a boolean if a field has been set.

func (FindPortVlanAssignments200ResponseVlanAssignmentsInner) MarshalJSON ¶

func (*FindPortVlanAssignments200ResponseVlanAssignmentsInner) SetCreatedAt ¶

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

func (*FindPortVlanAssignments200ResponseVlanAssignmentsInner) SetId ¶

SetId gets a reference to the given string and assigns it to the Id field.

func (*FindPortVlanAssignments200ResponseVlanAssignmentsInner) SetNative ¶

SetNative gets a reference to the given bool and assigns it to the Native field.

func (*FindPortVlanAssignments200ResponseVlanAssignmentsInner) SetPort ¶

SetPort gets a reference to the given FindBatchById200ResponseDevicesInner and assigns it to the Port field.

func (*FindPortVlanAssignments200ResponseVlanAssignmentsInner) SetState ¶

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

func (*FindPortVlanAssignments200ResponseVlanAssignmentsInner) SetUpdatedAt ¶

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

func (*FindPortVlanAssignments200ResponseVlanAssignmentsInner) SetVirtualNetwork ¶

SetVirtualNetwork gets a reference to the given FindBatchById200ResponseDevicesInner and assigns it to the VirtualNetwork field.

func (*FindPortVlanAssignments200ResponseVlanAssignmentsInner) SetVlan ¶

SetVlan gets a reference to the given int32 and assigns it to the Vlan field.

type FindProjectAPIKeys200Response ¶

type FindProjectAPIKeys200Response struct {
	ApiKeys []FindProjectAPIKeys200ResponseApiKeysInner `json:"api_keys,omitempty"`
}

FindProjectAPIKeys200Response struct for FindProjectAPIKeys200Response

func NewFindProjectAPIKeys200Response ¶

func NewFindProjectAPIKeys200Response() *FindProjectAPIKeys200Response

NewFindProjectAPIKeys200Response instantiates a new FindProjectAPIKeys200Response 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 NewFindProjectAPIKeys200ResponseWithDefaults ¶

func NewFindProjectAPIKeys200ResponseWithDefaults() *FindProjectAPIKeys200Response

NewFindProjectAPIKeys200ResponseWithDefaults instantiates a new FindProjectAPIKeys200Response 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 (*FindProjectAPIKeys200Response) GetApiKeys ¶

GetApiKeys returns the ApiKeys field value if set, zero value otherwise.

func (*FindProjectAPIKeys200Response) GetApiKeysOk ¶

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 (*FindProjectAPIKeys200Response) HasApiKeys ¶

func (o *FindProjectAPIKeys200Response) HasApiKeys() bool

HasApiKeys returns a boolean if a field has been set.

func (FindProjectAPIKeys200Response) MarshalJSON ¶

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

func (*FindProjectAPIKeys200Response) SetApiKeys ¶

SetApiKeys gets a reference to the given []FindProjectAPIKeys200ResponseApiKeysInner and assigns it to the ApiKeys field.

type FindProjectAPIKeys200ResponseApiKeysInner ¶

type FindProjectAPIKeys200ResponseApiKeysInner struct {
	CreatedAt *time.Time `json:"created_at,omitempty"`
	// Available only for API keys
	Description *string                                           `json:"description,omitempty"`
	Id          *string                                           `json:"id,omitempty"`
	Project     *FindProjectAPIKeys200ResponseApiKeysInnerProject `json:"project,omitempty"`
	ReadOnly    *bool                                             `json:"read_only,omitempty"`
	Token       *string                                           `json:"token,omitempty"`
	UpdatedAt   *time.Time                                        `json:"updated_at,omitempty"`
	User        *FindProjectAPIKeys200ResponseApiKeysInnerUser    `json:"user,omitempty"`
}

FindProjectAPIKeys200ResponseApiKeysInner struct for FindProjectAPIKeys200ResponseApiKeysInner

func NewFindProjectAPIKeys200ResponseApiKeysInner ¶

func NewFindProjectAPIKeys200ResponseApiKeysInner() *FindProjectAPIKeys200ResponseApiKeysInner

NewFindProjectAPIKeys200ResponseApiKeysInner instantiates a new FindProjectAPIKeys200ResponseApiKeysInner 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 NewFindProjectAPIKeys200ResponseApiKeysInnerWithDefaults ¶

func NewFindProjectAPIKeys200ResponseApiKeysInnerWithDefaults() *FindProjectAPIKeys200ResponseApiKeysInner

NewFindProjectAPIKeys200ResponseApiKeysInnerWithDefaults instantiates a new FindProjectAPIKeys200ResponseApiKeysInner 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 (*FindProjectAPIKeys200ResponseApiKeysInner) GetCreatedAt ¶

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

func (*FindProjectAPIKeys200ResponseApiKeysInner) GetCreatedAtOk ¶

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

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

func (*FindProjectAPIKeys200ResponseApiKeysInner) GetDescriptionOk ¶

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

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

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

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

func (*FindProjectAPIKeys200ResponseApiKeysInner) GetProjectOk ¶

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 (*FindProjectAPIKeys200ResponseApiKeysInner) GetReadOnly ¶

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

func (*FindProjectAPIKeys200ResponseApiKeysInner) GetReadOnlyOk ¶

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

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

func (*FindProjectAPIKeys200ResponseApiKeysInner) GetTokenOk ¶

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 (*FindProjectAPIKeys200ResponseApiKeysInner) GetUpdatedAt ¶

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

func (*FindProjectAPIKeys200ResponseApiKeysInner) GetUpdatedAtOk ¶

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

GetUser returns the User field value if set, zero value otherwise.

func (*FindProjectAPIKeys200ResponseApiKeysInner) GetUserOk ¶

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 (*FindProjectAPIKeys200ResponseApiKeysInner) HasCreatedAt ¶

HasCreatedAt returns a boolean if a field has been set.

func (*FindProjectAPIKeys200ResponseApiKeysInner) HasDescription ¶

func (o *FindProjectAPIKeys200ResponseApiKeysInner) HasDescription() bool

HasDescription returns a boolean if a field has been set.

func (*FindProjectAPIKeys200ResponseApiKeysInner) HasId ¶

HasId returns a boolean if a field has been set.

func (*FindProjectAPIKeys200ResponseApiKeysInner) HasProject ¶

HasProject returns a boolean if a field has been set.

func (*FindProjectAPIKeys200ResponseApiKeysInner) HasReadOnly ¶

HasReadOnly returns a boolean if a field has been set.

func (*FindProjectAPIKeys200ResponseApiKeysInner) HasToken ¶

HasToken returns a boolean if a field has been set.

func (*FindProjectAPIKeys200ResponseApiKeysInner) HasUpdatedAt ¶

HasUpdatedAt returns a boolean if a field has been set.

func (*FindProjectAPIKeys200ResponseApiKeysInner) HasUser ¶

HasUser returns a boolean if a field has been set.

func (FindProjectAPIKeys200ResponseApiKeysInner) MarshalJSON ¶

func (*FindProjectAPIKeys200ResponseApiKeysInner) SetCreatedAt ¶

SetCreatedAt gets a reference to the given time.Time and assigns it to the CreatedAt field.

func (*FindProjectAPIKeys200ResponseApiKeysInner) SetDescription ¶

SetDescription gets a reference to the given string and assigns it to the Description field.

func (*FindProjectAPIKeys200ResponseApiKeysInner) SetId ¶

SetId gets a reference to the given string and assigns it to the Id field.

func (*FindProjectAPIKeys200ResponseApiKeysInner) SetProject ¶

SetProject gets a reference to the given FindProjectAPIKeys200ResponseApiKeysInnerProject and assigns it to the Project field.

func (*FindProjectAPIKeys200ResponseApiKeysInner) SetReadOnly ¶

SetReadOnly gets a reference to the given bool and assigns it to the ReadOnly field.

func (*FindProjectAPIKeys200ResponseApiKeysInner) SetToken ¶

SetToken gets a reference to the given string and assigns it to the Token field.

func (*FindProjectAPIKeys200ResponseApiKeysInner) SetUpdatedAt ¶

SetUpdatedAt gets a reference to the given time.Time and assigns it to the UpdatedAt field.

func (*FindProjectAPIKeys200ResponseApiKeysInner) SetUser ¶

SetUser gets a reference to the given FindProjectAPIKeys200ResponseApiKeysInnerUser and assigns it to the User field.

type FindProjectAPIKeys200ResponseApiKeysInnerProject ¶

type FindProjectAPIKeys200ResponseApiKeysInnerProject struct {
	BgpConfig     *FindBatchById200ResponseDevicesInner  `json:"bgp_config,omitempty"`
	CreatedAt     *time.Time                             `json:"created_at,omitempty"`
	Customdata    map[string]interface{}                 `json:"customdata,omitempty"`
	Devices       []FindBatchById200ResponseDevicesInner `json:"devices,omitempty"`
	Id            *string                                `json:"id,omitempty"`
	Invitations   []FindBatchById200ResponseDevicesInner `json:"invitations,omitempty"`
	MaxDevices    map[string]interface{}                 `json:"max_devices,omitempty"`
	Members       []FindBatchById200ResponseDevicesInner `json:"members,omitempty"`
	Memberships   []FindBatchById200ResponseDevicesInner `json:"memberships,omitempty"`
	Name          *string                                `json:"name,omitempty"`
	NetworkStatus map[string]interface{}                 `json:"network_status,omitempty"`
	PaymentMethod *FindBatchById200ResponseDevicesInner  `json:"payment_method,omitempty"`
	SshKeys       []FindBatchById200ResponseDevicesInner `json:"ssh_keys,omitempty"`
	UpdatedAt     *time.Time                             `json:"updated_at,omitempty"`
	Volumes       []FindBatchById200ResponseDevicesInner `json:"volumes,omitempty"`
}

FindProjectAPIKeys200ResponseApiKeysInnerProject struct for FindProjectAPIKeys200ResponseApiKeysInnerProject

func NewFindProjectAPIKeys200ResponseApiKeysInnerProject ¶

func NewFindProjectAPIKeys200ResponseApiKeysInnerProject() *FindProjectAPIKeys200ResponseApiKeysInnerProject

NewFindProjectAPIKeys200ResponseApiKeysInnerProject instantiates a new FindProjectAPIKeys200ResponseApiKeysInnerProject 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 NewFindProjectAPIKeys200ResponseApiKeysInnerProjectWithDefaults ¶

func NewFindProjectAPIKeys200ResponseApiKeysInnerProjectWithDefaults() *FindProjectAPIKeys200ResponseApiKeysInnerProject

NewFindProjectAPIKeys200ResponseApiKeysInnerProjectWithDefaults instantiates a new FindProjectAPIKeys200ResponseApiKeysInnerProject 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 (*FindProjectAPIKeys200ResponseApiKeysInnerProject) GetBgpConfig ¶

GetBgpConfig returns the BgpConfig field value if set, zero value otherwise.

func (*FindProjectAPIKeys200ResponseApiKeysInnerProject) GetBgpConfigOk ¶

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 (*FindProjectAPIKeys200ResponseApiKeysInnerProject) GetCreatedAt ¶

GetCreatedAt returns the CreatedAt field value if set, zero value otherwise.

func (*FindProjectAPIKeys200ResponseApiKeysInnerProject) GetCreatedAtOk ¶

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 (*FindProjectAPIKeys200ResponseApiKeysInnerProject) GetCustomdata ¶

func (o *FindProjectAPIKeys200ResponseApiKeysInnerProject) GetCustomdata() map[string]interface{}

GetCustomdata returns the Customdata field value if set, zero value otherwise.

func (*FindProjectAPIKeys200ResponseApiKeysInnerProject) GetCustomdataOk ¶

func (o *FindProjectAPIKeys200ResponseApiKeysInnerProject) 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 (*FindProjectAPIKeys200ResponseApiKeysInnerProject) GetDevices ¶

GetDevices returns the Devices field value if set, zero value otherwise.

func (*FindProjectAPIKeys200ResponseApiKeysInnerProject) GetDevicesOk ¶

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 (*FindProjectAPIKeys200ResponseApiKeysInnerProject) GetId ¶

GetId returns the Id field value if set, zero value otherwise.

func (*FindProjectAPIKeys200ResponseApiKeysInnerProject) 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 (*FindProjectAPIKeys200ResponseApiKeysInnerProject) GetInvitations ¶

GetInvitations returns the Invitations field value if set, zero value otherwise.

func (*FindProjectAPIKeys200ResponseApiKeysInnerProject) GetInvitationsOk ¶

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 (*FindProjectAPIKeys200ResponseApiKeysInnerProject) GetMaxDevices ¶

func (o *FindProjectAPIKeys200ResponseApiKeysInnerProject) GetMaxDevices() map[string]interface{}

GetMaxDevices returns the MaxDevices field value if set, zero value otherwise.

func (*FindProjectAPIKeys200ResponseApiKeysInnerProject) GetMaxDevicesOk ¶

func (o *FindProjectAPIKeys200ResponseApiKeysInnerProject) 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 (*FindProjectAPIKeys200ResponseApiKeysInnerProject) GetMembers ¶

GetMembers returns the Members field value if set, zero value otherwise.

func (*FindProjectAPIKeys200ResponseApiKeysInnerProject) GetMembersOk ¶

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 (*FindProjectAPIKeys200ResponseApiKeysInnerProject) GetMemberships ¶

GetMemberships returns the Memberships field value if set, zero value otherwise.

func (*FindProjectAPIKeys200ResponseApiKeysInnerProject) GetMembershipsOk ¶

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 (*FindProjectAPIKeys200ResponseApiKeysInnerProject) GetName ¶

GetName returns the Name field value if set, zero value otherwise.

func (*FindProjectAPIKeys200ResponseApiKeysInnerProject) GetNameOk ¶

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 (*FindProjectAPIKeys200ResponseApiKeysInnerProject) GetNetworkStatus ¶

func (o *FindProjectAPIKeys200ResponseApiKeysInnerProject) GetNetworkStatus() map[string]interface{}

GetNetworkStatus returns the NetworkStatus field value if set, zero value otherwise.

func (*FindProjectAPIKeys200ResponseApiKeysInnerProject) GetNetworkStatusOk ¶

func (o *FindProjectAPIKeys200ResponseApiKeysInnerProject) 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 (*FindProjectAPIKeys200ResponseApiKeysInnerProject) GetPaymentMethod ¶

GetPaymentMethod returns the PaymentMethod field value if set, zero value otherwise.

func (*FindProjectAPIKeys200ResponseApiKeysInnerProject) GetPaymentMethodOk ¶

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 (*FindProjectAPIKeys200ResponseApiKeysInnerProject) GetSshKeys ¶

GetSshKeys returns the SshKeys field value if set, zero value otherwise.

func (*FindProjectAPIKeys200ResponseApiKeysInnerProject) GetSshKeysOk ¶

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 (*FindProjectAPIKeys200ResponseApiKeysInnerProject) GetUpdatedAt ¶

GetUpdatedAt returns the UpdatedAt field value if set, zero value otherwise.

func (*FindProjectAPIKeys200ResponseApiKeysInnerProject) GetUpdatedAtOk ¶

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 (*FindProjectAPIKeys200ResponseApiKeysInnerProject) GetVolumes ¶

GetVolumes returns the Volumes field value if set, zero value otherwise.

func (*FindProjectAPIKeys200ResponseApiKeysInnerProject) GetVolumesOk ¶

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 (*FindProjectAPIKeys200ResponseApiKeysInnerProject) HasBgpConfig ¶

HasBgpConfig returns a boolean if a field has been set.

func (*FindProjectAPIKeys200ResponseApiKeysInnerProject) HasCreatedAt ¶

HasCreatedAt returns a boolean if a field has been set.

func (*FindProjectAPIKeys200ResponseApiKeysInnerProject) HasCustomdata ¶

HasCustomdata returns a boolean if a field has been set.

func (*FindProjectAPIKeys200ResponseApiKeysInnerProject) HasDevices ¶

HasDevices returns a boolean if a field has been set.

func (*FindProjectAPIKeys200ResponseApiKeysInnerProject) HasId ¶

HasId returns a boolean if a field has been set.

func (*FindProjectAPIKeys200ResponseApiKeysInnerProject) HasInvitations ¶

HasInvitations returns a boolean if a field has been set.

func (*FindProjectAPIKeys200ResponseApiKeysInnerProject) HasMaxDevices ¶

HasMaxDevices returns a boolean if a field has been set.

func (*FindProjectAPIKeys200ResponseApiKeysInnerProject) HasMembers ¶

HasMembers returns a boolean if a field has been set.

func (*FindProjectAPIKeys200ResponseApiKeysInnerProject) HasMemberships ¶

HasMemberships returns a boolean if a field has been set.

func (*FindProjectAPIKeys200ResponseApiKeysInnerProject) HasName ¶

HasName returns a boolean if a field has been set.

func (*FindProjectAPIKeys200ResponseApiKeysInnerProject) HasNetworkStatus ¶

HasNetworkStatus returns a boolean if a field has been set.

func (*FindProjectAPIKeys200ResponseApiKeysInnerProject) HasPaymentMethod ¶

HasPaymentMethod returns a boolean if a field has been set.

func (*FindProjectAPIKeys200ResponseApiKeysInnerProject) HasSshKeys ¶

HasSshKeys returns a boolean if a field has been set.

func (*FindProjectAPIKeys200ResponseApiKeysInnerProject) HasUpdatedAt ¶

HasUpdatedAt returns a boolean if a field has been set.

func (*FindProjectAPIKeys200ResponseApiKeysInnerProject) HasVolumes ¶

HasVolumes returns a boolean if a field has been set.

func (FindProjectAPIKeys200ResponseApiKeysInnerProject) MarshalJSON ¶

func (*FindProjectAPIKeys200ResponseApiKeysInnerProject) SetBgpConfig ¶

SetBgpConfig gets a reference to the given FindBatchById200ResponseDevicesInner and assigns it to the BgpConfig field.

func (*FindProjectAPIKeys200ResponseApiKeysInnerProject) SetCreatedAt ¶

SetCreatedAt gets a reference to the given time.Time and assigns it to the CreatedAt field.

func (*FindProjectAPIKeys200ResponseApiKeysInnerProject) SetCustomdata ¶

func (o *FindProjectAPIKeys200ResponseApiKeysInnerProject) SetCustomdata(v map[string]interface{})

SetCustomdata gets a reference to the given map[string]interface{} and assigns it to the Customdata field.

func (*FindProjectAPIKeys200ResponseApiKeysInnerProject) SetDevices ¶

SetDevices gets a reference to the given []FindBatchById200ResponseDevicesInner and assigns it to the Devices field.

func (*FindProjectAPIKeys200ResponseApiKeysInnerProject) SetId ¶

SetId gets a reference to the given string and assigns it to the Id field.

func (*FindProjectAPIKeys200ResponseApiKeysInnerProject) SetInvitations ¶

SetInvitations gets a reference to the given []FindBatchById200ResponseDevicesInner and assigns it to the Invitations field.

func (*FindProjectAPIKeys200ResponseApiKeysInnerProject) SetMaxDevices ¶

func (o *FindProjectAPIKeys200ResponseApiKeysInnerProject) SetMaxDevices(v map[string]interface{})

SetMaxDevices gets a reference to the given map[string]interface{} and assigns it to the MaxDevices field.

func (*FindProjectAPIKeys200ResponseApiKeysInnerProject) SetMembers ¶

SetMembers gets a reference to the given []FindBatchById200ResponseDevicesInner and assigns it to the Members field.

func (*FindProjectAPIKeys200ResponseApiKeysInnerProject) SetMemberships ¶

SetMemberships gets a reference to the given []FindBatchById200ResponseDevicesInner and assigns it to the Memberships field.

func (*FindProjectAPIKeys200ResponseApiKeysInnerProject) SetName ¶

SetName gets a reference to the given string and assigns it to the Name field.

func (*FindProjectAPIKeys200ResponseApiKeysInnerProject) SetNetworkStatus ¶

func (o *FindProjectAPIKeys200ResponseApiKeysInnerProject) SetNetworkStatus(v map[string]interface{})

SetNetworkStatus gets a reference to the given map[string]interface{} and assigns it to the NetworkStatus field.

func (*FindProjectAPIKeys200ResponseApiKeysInnerProject) SetPaymentMethod ¶

SetPaymentMethod gets a reference to the given FindBatchById200ResponseDevicesInner and assigns it to the PaymentMethod field.

func (*FindProjectAPIKeys200ResponseApiKeysInnerProject) SetSshKeys ¶

SetSshKeys gets a reference to the given []FindBatchById200ResponseDevicesInner and assigns it to the SshKeys field.

func (*FindProjectAPIKeys200ResponseApiKeysInnerProject) SetUpdatedAt ¶

SetUpdatedAt gets a reference to the given time.Time and assigns it to the UpdatedAt field.

func (*FindProjectAPIKeys200ResponseApiKeysInnerProject) SetVolumes ¶

SetVolumes gets a reference to the given []FindBatchById200ResponseDevicesInner and assigns it to the Volumes field.

type FindProjectAPIKeys200ResponseApiKeysInnerUser ¶

type FindProjectAPIKeys200ResponseApiKeysInnerUser 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"`
	Email            *string                                `json:"email,omitempty"`
	Emails           []FindBatchById200ResponseDevicesInner `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"`
}

FindProjectAPIKeys200ResponseApiKeysInnerUser struct for FindProjectAPIKeys200ResponseApiKeysInnerUser

func NewFindProjectAPIKeys200ResponseApiKeysInnerUser ¶

func NewFindProjectAPIKeys200ResponseApiKeysInnerUser() *FindProjectAPIKeys200ResponseApiKeysInnerUser

NewFindProjectAPIKeys200ResponseApiKeysInnerUser instantiates a new FindProjectAPIKeys200ResponseApiKeysInnerUser 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 NewFindProjectAPIKeys200ResponseApiKeysInnerUserWithDefaults ¶

func NewFindProjectAPIKeys200ResponseApiKeysInnerUserWithDefaults() *FindProjectAPIKeys200ResponseApiKeysInnerUser

NewFindProjectAPIKeys200ResponseApiKeysInnerUserWithDefaults instantiates a new FindProjectAPIKeys200ResponseApiKeysInnerUser 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 (*FindProjectAPIKeys200ResponseApiKeysInnerUser) GetAvatarThumbUrl ¶

GetAvatarThumbUrl returns the AvatarThumbUrl field value if set, zero value otherwise.

func (*FindProjectAPIKeys200ResponseApiKeysInnerUser) GetAvatarThumbUrlOk ¶

func (o *FindProjectAPIKeys200ResponseApiKeysInnerUser) 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 (*FindProjectAPIKeys200ResponseApiKeysInnerUser) GetAvatarUrl ¶

GetAvatarUrl returns the AvatarUrl field value if set, zero value otherwise.

func (*FindProjectAPIKeys200ResponseApiKeysInnerUser) GetAvatarUrlOk ¶

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 (*FindProjectAPIKeys200ResponseApiKeysInnerUser) GetCreatedAt ¶

GetCreatedAt returns the CreatedAt field value if set, zero value otherwise.

func (*FindProjectAPIKeys200ResponseApiKeysInnerUser) GetCreatedAtOk ¶

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 (*FindProjectAPIKeys200ResponseApiKeysInnerUser) GetCustomdata ¶

func (o *FindProjectAPIKeys200ResponseApiKeysInnerUser) GetCustomdata() map[string]interface{}

GetCustomdata returns the Customdata field value if set, zero value otherwise.

func (*FindProjectAPIKeys200ResponseApiKeysInnerUser) GetCustomdataOk ¶

func (o *FindProjectAPIKeys200ResponseApiKeysInnerUser) 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 (*FindProjectAPIKeys200ResponseApiKeysInnerUser) GetEmail ¶

GetEmail returns the Email field value if set, zero value otherwise.

func (*FindProjectAPIKeys200ResponseApiKeysInnerUser) GetEmailOk ¶

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 (*FindProjectAPIKeys200ResponseApiKeysInnerUser) GetEmails ¶

GetEmails returns the Emails field value if set, zero value otherwise.

func (*FindProjectAPIKeys200ResponseApiKeysInnerUser) GetEmailsOk ¶

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 (*FindProjectAPIKeys200ResponseApiKeysInnerUser) GetFirstName ¶

GetFirstName returns the FirstName field value if set, zero value otherwise.

func (*FindProjectAPIKeys200ResponseApiKeysInnerUser) GetFirstNameOk ¶

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 (*FindProjectAPIKeys200ResponseApiKeysInnerUser) GetFraudScore ¶

GetFraudScore returns the FraudScore field value if set, zero value otherwise.

func (*FindProjectAPIKeys200ResponseApiKeysInnerUser) GetFraudScoreOk ¶

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 (*FindProjectAPIKeys200ResponseApiKeysInnerUser) GetFullName ¶

GetFullName returns the FullName field value if set, zero value otherwise.

func (*FindProjectAPIKeys200ResponseApiKeysInnerUser) GetFullNameOk ¶

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 (*FindProjectAPIKeys200ResponseApiKeysInnerUser) GetHref ¶

GetHref returns the Href field value if set, zero value otherwise.

func (*FindProjectAPIKeys200ResponseApiKeysInnerUser) GetHrefOk ¶

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 (*FindProjectAPIKeys200ResponseApiKeysInnerUser) GetId ¶

GetId returns the Id field value if set, zero value otherwise.

func (*FindProjectAPIKeys200ResponseApiKeysInnerUser) 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 (*FindProjectAPIKeys200ResponseApiKeysInnerUser) GetLastLoginAt ¶

GetLastLoginAt returns the LastLoginAt field value if set, zero value otherwise.

func (*FindProjectAPIKeys200ResponseApiKeysInnerUser) GetLastLoginAtOk ¶

func (o *FindProjectAPIKeys200ResponseApiKeysInnerUser) 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 (*FindProjectAPIKeys200ResponseApiKeysInnerUser) GetLastName ¶

GetLastName returns the LastName field value if set, zero value otherwise.

func (*FindProjectAPIKeys200ResponseApiKeysInnerUser) GetLastNameOk ¶

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 (*FindProjectAPIKeys200ResponseApiKeysInnerUser) GetMaxOrganizations ¶

func (o *FindProjectAPIKeys200ResponseApiKeysInnerUser) GetMaxOrganizations() int32

GetMaxOrganizations returns the MaxOrganizations field value if set, zero value otherwise.

func (*FindProjectAPIKeys200ResponseApiKeysInnerUser) GetMaxOrganizationsOk ¶

func (o *FindProjectAPIKeys200ResponseApiKeysInnerUser) 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 (*FindProjectAPIKeys200ResponseApiKeysInnerUser) GetMaxProjects ¶

GetMaxProjects returns the MaxProjects field value if set, zero value otherwise.

func (*FindProjectAPIKeys200ResponseApiKeysInnerUser) GetMaxProjectsOk ¶

func (o *FindProjectAPIKeys200ResponseApiKeysInnerUser) 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 (*FindProjectAPIKeys200ResponseApiKeysInnerUser) GetPhoneNumber ¶

GetPhoneNumber returns the PhoneNumber field value if set, zero value otherwise.

func (*FindProjectAPIKeys200ResponseApiKeysInnerUser) GetPhoneNumberOk ¶

func (o *FindProjectAPIKeys200ResponseApiKeysInnerUser) 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 (*FindProjectAPIKeys200ResponseApiKeysInnerUser) GetShortId ¶

GetShortId returns the ShortId field value if set, zero value otherwise.

func (*FindProjectAPIKeys200ResponseApiKeysInnerUser) GetShortIdOk ¶

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 (*FindProjectAPIKeys200ResponseApiKeysInnerUser) GetTimezone ¶

GetTimezone returns the Timezone field value if set, zero value otherwise.

func (*FindProjectAPIKeys200ResponseApiKeysInnerUser) GetTimezoneOk ¶

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 (*FindProjectAPIKeys200ResponseApiKeysInnerUser) GetTwoFactorAuth ¶

GetTwoFactorAuth returns the TwoFactorAuth field value if set, zero value otherwise.

func (*FindProjectAPIKeys200ResponseApiKeysInnerUser) GetTwoFactorAuthOk ¶

func (o *FindProjectAPIKeys200ResponseApiKeysInnerUser) 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 (*FindProjectAPIKeys200ResponseApiKeysInnerUser) GetUpdatedAt ¶

GetUpdatedAt returns the UpdatedAt field value if set, zero value otherwise.

func (*FindProjectAPIKeys200ResponseApiKeysInnerUser) GetUpdatedAtOk ¶

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 (*FindProjectAPIKeys200ResponseApiKeysInnerUser) HasAvatarThumbUrl ¶

func (o *FindProjectAPIKeys200ResponseApiKeysInnerUser) HasAvatarThumbUrl() bool

HasAvatarThumbUrl returns a boolean if a field has been set.

func (*FindProjectAPIKeys200ResponseApiKeysInnerUser) HasAvatarUrl ¶

HasAvatarUrl returns a boolean if a field has been set.

func (*FindProjectAPIKeys200ResponseApiKeysInnerUser) HasCreatedAt ¶

HasCreatedAt returns a boolean if a field has been set.

func (*FindProjectAPIKeys200ResponseApiKeysInnerUser) HasCustomdata ¶

HasCustomdata returns a boolean if a field has been set.

func (*FindProjectAPIKeys200ResponseApiKeysInnerUser) HasEmail ¶

HasEmail returns a boolean if a field has been set.

func (*FindProjectAPIKeys200ResponseApiKeysInnerUser) HasEmails ¶

HasEmails returns a boolean if a field has been set.

func (*FindProjectAPIKeys200ResponseApiKeysInnerUser) HasFirstName ¶

HasFirstName returns a boolean if a field has been set.

func (*FindProjectAPIKeys200ResponseApiKeysInnerUser) HasFraudScore ¶

HasFraudScore returns a boolean if a field has been set.

func (*FindProjectAPIKeys200ResponseApiKeysInnerUser) HasFullName ¶

HasFullName returns a boolean if a field has been set.

func (*FindProjectAPIKeys200ResponseApiKeysInnerUser) HasHref ¶

HasHref returns a boolean if a field has been set.

func (*FindProjectAPIKeys200ResponseApiKeysInnerUser) HasId ¶

HasId returns a boolean if a field has been set.

func (*FindProjectAPIKeys200ResponseApiKeysInnerUser) HasLastLoginAt ¶

HasLastLoginAt returns a boolean if a field has been set.

func (*FindProjectAPIKeys200ResponseApiKeysInnerUser) HasLastName ¶

HasLastName returns a boolean if a field has been set.

func (*FindProjectAPIKeys200ResponseApiKeysInnerUser) HasMaxOrganizations ¶

func (o *FindProjectAPIKeys200ResponseApiKeysInnerUser) HasMaxOrganizations() bool

HasMaxOrganizations returns a boolean if a field has been set.

func (*FindProjectAPIKeys200ResponseApiKeysInnerUser) HasMaxProjects ¶

HasMaxProjects returns a boolean if a field has been set.

func (*FindProjectAPIKeys200ResponseApiKeysInnerUser) HasPhoneNumber ¶

HasPhoneNumber returns a boolean if a field has been set.

func (*FindProjectAPIKeys200ResponseApiKeysInnerUser) HasShortId ¶

HasShortId returns a boolean if a field has been set.

func (*FindProjectAPIKeys200ResponseApiKeysInnerUser) HasTimezone ¶

HasTimezone returns a boolean if a field has been set.

func (*FindProjectAPIKeys200ResponseApiKeysInnerUser) HasTwoFactorAuth ¶

HasTwoFactorAuth returns a boolean if a field has been set.

func (*FindProjectAPIKeys200ResponseApiKeysInnerUser) HasUpdatedAt ¶

HasUpdatedAt returns a boolean if a field has been set.

func (FindProjectAPIKeys200ResponseApiKeysInnerUser) MarshalJSON ¶

func (*FindProjectAPIKeys200ResponseApiKeysInnerUser) SetAvatarThumbUrl ¶

func (o *FindProjectAPIKeys200ResponseApiKeysInnerUser) SetAvatarThumbUrl(v string)

SetAvatarThumbUrl gets a reference to the given string and assigns it to the AvatarThumbUrl field.

func (*FindProjectAPIKeys200ResponseApiKeysInnerUser) SetAvatarUrl ¶

SetAvatarUrl gets a reference to the given string and assigns it to the AvatarUrl field.

func (*FindProjectAPIKeys200ResponseApiKeysInnerUser) SetCreatedAt ¶

SetCreatedAt gets a reference to the given time.Time and assigns it to the CreatedAt field.

func (*FindProjectAPIKeys200ResponseApiKeysInnerUser) SetCustomdata ¶

func (o *FindProjectAPIKeys200ResponseApiKeysInnerUser) SetCustomdata(v map[string]interface{})

SetCustomdata gets a reference to the given map[string]interface{} and assigns it to the Customdata field.

func (*FindProjectAPIKeys200ResponseApiKeysInnerUser) SetEmail ¶

SetEmail gets a reference to the given string and assigns it to the Email field.

func (*FindProjectAPIKeys200ResponseApiKeysInnerUser) SetEmails ¶

SetEmails gets a reference to the given []FindBatchById200ResponseDevicesInner and assigns it to the Emails field.

func (*FindProjectAPIKeys200ResponseApiKeysInnerUser) SetFirstName ¶

SetFirstName gets a reference to the given string and assigns it to the FirstName field.

func (*FindProjectAPIKeys200ResponseApiKeysInnerUser) SetFraudScore ¶

SetFraudScore gets a reference to the given string and assigns it to the FraudScore field.

func (*FindProjectAPIKeys200ResponseApiKeysInnerUser) SetFullName ¶

SetFullName gets a reference to the given string and assigns it to the FullName field.

func (*FindProjectAPIKeys200ResponseApiKeysInnerUser) SetHref ¶

SetHref gets a reference to the given string and assigns it to the Href field.

func (*FindProjectAPIKeys200ResponseApiKeysInnerUser) SetId ¶

SetId gets a reference to the given string and assigns it to the Id field.

func (*FindProjectAPIKeys200ResponseApiKeysInnerUser) SetLastLoginAt ¶

SetLastLoginAt gets a reference to the given time.Time and assigns it to the LastLoginAt field.

func (*FindProjectAPIKeys200ResponseApiKeysInnerUser) SetLastName ¶

SetLastName gets a reference to the given string and assigns it to the LastName field.

func (*FindProjectAPIKeys200ResponseApiKeysInnerUser) SetMaxOrganizations ¶

func (o *FindProjectAPIKeys200ResponseApiKeysInnerUser) SetMaxOrganizations(v int32)

SetMaxOrganizations gets a reference to the given int32 and assigns it to the MaxOrganizations field.

func (*FindProjectAPIKeys200ResponseApiKeysInnerUser) SetMaxProjects ¶

SetMaxProjects gets a reference to the given int32 and assigns it to the MaxProjects field.

func (*FindProjectAPIKeys200ResponseApiKeysInnerUser) SetPhoneNumber ¶

SetPhoneNumber gets a reference to the given string and assigns it to the PhoneNumber field.

func (*FindProjectAPIKeys200ResponseApiKeysInnerUser) SetShortId ¶

SetShortId gets a reference to the given string and assigns it to the ShortId field.

func (*FindProjectAPIKeys200ResponseApiKeysInnerUser) SetTimezone ¶

SetTimezone gets a reference to the given string and assigns it to the Timezone field.

func (*FindProjectAPIKeys200ResponseApiKeysInnerUser) SetTwoFactorAuth ¶

SetTwoFactorAuth gets a reference to the given string and assigns it to the TwoFactorAuth field.

func (*FindProjectAPIKeys200ResponseApiKeysInnerUser) SetUpdatedAt ¶

SetUpdatedAt gets a reference to the given time.Time and assigns it to the UpdatedAt field.

type FindProjectHardwareReservations200Response ¶

type FindProjectHardwareReservations200Response struct {
	HardwareReservations []MoveHardwareReservation201Response `json:"hardware_reservations,omitempty"`
	Meta                 *FindDeviceEvents200ResponseMeta     `json:"meta,omitempty"`
}

FindProjectHardwareReservations200Response struct for FindProjectHardwareReservations200Response

func NewFindProjectHardwareReservations200Response ¶

func NewFindProjectHardwareReservations200Response() *FindProjectHardwareReservations200Response

NewFindProjectHardwareReservations200Response instantiates a new FindProjectHardwareReservations200Response 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 NewFindProjectHardwareReservations200ResponseWithDefaults ¶

func NewFindProjectHardwareReservations200ResponseWithDefaults() *FindProjectHardwareReservations200Response

NewFindProjectHardwareReservations200ResponseWithDefaults instantiates a new FindProjectHardwareReservations200Response 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 (*FindProjectHardwareReservations200Response) GetHardwareReservations ¶

GetHardwareReservations returns the HardwareReservations field value if set, zero value otherwise.

func (*FindProjectHardwareReservations200Response) GetHardwareReservationsOk ¶

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 (*FindProjectHardwareReservations200Response) GetMeta ¶

GetMeta returns the Meta field value if set, zero value otherwise.

func (*FindProjectHardwareReservations200Response) GetMetaOk ¶

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 (*FindProjectHardwareReservations200Response) HasHardwareReservations ¶

func (o *FindProjectHardwareReservations200Response) HasHardwareReservations() bool

HasHardwareReservations returns a boolean if a field has been set.

func (*FindProjectHardwareReservations200Response) HasMeta ¶

HasMeta returns a boolean if a field has been set.

func (FindProjectHardwareReservations200Response) MarshalJSON ¶

func (*FindProjectHardwareReservations200Response) SetHardwareReservations ¶

SetHardwareReservations gets a reference to the given []MoveHardwareReservation201Response and assigns it to the HardwareReservations field.

func (*FindProjectHardwareReservations200Response) SetMeta ¶

SetMeta gets a reference to the given FindDeviceEvents200ResponseMeta and assigns it to the Meta field.

type FindProjectLicenses200Response ¶

type FindProjectLicenses200Response struct {
	Licenses []FindLicenseById200Response `json:"licenses,omitempty"`
}

FindProjectLicenses200Response struct for FindProjectLicenses200Response

func NewFindProjectLicenses200Response ¶

func NewFindProjectLicenses200Response() *FindProjectLicenses200Response

NewFindProjectLicenses200Response instantiates a new FindProjectLicenses200Response 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 NewFindProjectLicenses200ResponseWithDefaults ¶

func NewFindProjectLicenses200ResponseWithDefaults() *FindProjectLicenses200Response

NewFindProjectLicenses200ResponseWithDefaults instantiates a new FindProjectLicenses200Response 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 (*FindProjectLicenses200Response) GetLicenses ¶

GetLicenses returns the Licenses field value if set, zero value otherwise.

func (*FindProjectLicenses200Response) GetLicensesOk ¶

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 (*FindProjectLicenses200Response) HasLicenses ¶

func (o *FindProjectLicenses200Response) HasLicenses() bool

HasLicenses returns a boolean if a field has been set.

func (FindProjectLicenses200Response) MarshalJSON ¶

func (o FindProjectLicenses200Response) MarshalJSON() ([]byte, error)

func (*FindProjectLicenses200Response) SetLicenses ¶

SetLicenses gets a reference to the given []FindLicenseById200Response and assigns it to the Licenses field.

type FindProjectMemberships200Response ¶

type FindProjectMemberships200Response struct {
	Memberships []FindInvitations200ResponseInvitationsInner `json:"memberships,omitempty"`
}

FindProjectMemberships200Response struct for FindProjectMemberships200Response

func NewFindProjectMemberships200Response ¶

func NewFindProjectMemberships200Response() *FindProjectMemberships200Response

NewFindProjectMemberships200Response instantiates a new FindProjectMemberships200Response 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 NewFindProjectMemberships200ResponseWithDefaults ¶

func NewFindProjectMemberships200ResponseWithDefaults() *FindProjectMemberships200Response

NewFindProjectMemberships200ResponseWithDefaults instantiates a new FindProjectMemberships200Response 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 (*FindProjectMemberships200Response) GetMemberships ¶

GetMemberships returns the Memberships field value if set, zero value otherwise.

func (*FindProjectMemberships200Response) GetMembershipsOk ¶

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 (*FindProjectMemberships200Response) HasMemberships ¶

func (o *FindProjectMemberships200Response) HasMemberships() bool

HasMemberships returns a boolean if a field has been set.

func (FindProjectMemberships200Response) MarshalJSON ¶

func (o FindProjectMemberships200Response) MarshalJSON() ([]byte, error)

func (*FindProjectMemberships200Response) SetMemberships ¶

SetMemberships gets a reference to the given []FindInvitations200ResponseInvitationsInner and assigns it to the Memberships field.

type FindProjectUsage200Response ¶

type FindProjectUsage200Response struct {
	Usages []FindProjectUsage200ResponseUsagesInner `json:"usages,omitempty"`
}

FindProjectUsage200Response struct for FindProjectUsage200Response

func NewFindProjectUsage200Response ¶

func NewFindProjectUsage200Response() *FindProjectUsage200Response

NewFindProjectUsage200Response instantiates a new FindProjectUsage200Response 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 NewFindProjectUsage200ResponseWithDefaults ¶

func NewFindProjectUsage200ResponseWithDefaults() *FindProjectUsage200Response

NewFindProjectUsage200ResponseWithDefaults instantiates a new FindProjectUsage200Response 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 (*FindProjectUsage200Response) GetUsages ¶

GetUsages returns the Usages field value if set, zero value otherwise.

func (*FindProjectUsage200Response) GetUsagesOk ¶

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 (*FindProjectUsage200Response) HasUsages ¶

func (o *FindProjectUsage200Response) HasUsages() bool

HasUsages returns a boolean if a field has been set.

func (FindProjectUsage200Response) MarshalJSON ¶

func (o FindProjectUsage200Response) MarshalJSON() ([]byte, error)

func (*FindProjectUsage200Response) SetUsages ¶

SetUsages gets a reference to the given []FindProjectUsage200ResponseUsagesInner and assigns it to the Usages field.

type FindProjectUsage200ResponseUsagesInner ¶

type FindProjectUsage200ResponseUsagesInner 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"`
}

FindProjectUsage200ResponseUsagesInner struct for FindProjectUsage200ResponseUsagesInner

func NewFindProjectUsage200ResponseUsagesInner ¶

func NewFindProjectUsage200ResponseUsagesInner() *FindProjectUsage200ResponseUsagesInner

NewFindProjectUsage200ResponseUsagesInner instantiates a new FindProjectUsage200ResponseUsagesInner 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 NewFindProjectUsage200ResponseUsagesInnerWithDefaults ¶

func NewFindProjectUsage200ResponseUsagesInnerWithDefaults() *FindProjectUsage200ResponseUsagesInner

NewFindProjectUsage200ResponseUsagesInnerWithDefaults instantiates a new FindProjectUsage200ResponseUsagesInner 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 (*FindProjectUsage200ResponseUsagesInner) GetFacility ¶

GetFacility returns the Facility field value if set, zero value otherwise.

func (*FindProjectUsage200ResponseUsagesInner) GetFacilityOk ¶

func (o *FindProjectUsage200ResponseUsagesInner) 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 (*FindProjectUsage200ResponseUsagesInner) GetName ¶

GetName returns the Name field value if set, zero value otherwise.

func (*FindProjectUsage200ResponseUsagesInner) GetNameOk ¶

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 (*FindProjectUsage200ResponseUsagesInner) GetPlan ¶

GetPlan returns the Plan field value if set, zero value otherwise.

func (*FindProjectUsage200ResponseUsagesInner) GetPlanOk ¶

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 (*FindProjectUsage200ResponseUsagesInner) GetPlanVersion ¶

func (o *FindProjectUsage200ResponseUsagesInner) GetPlanVersion() string

GetPlanVersion returns the PlanVersion field value if set, zero value otherwise.

func (*FindProjectUsage200ResponseUsagesInner) GetPlanVersionOk ¶

func (o *FindProjectUsage200ResponseUsagesInner) 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 (*FindProjectUsage200ResponseUsagesInner) GetPrice ¶

GetPrice returns the Price field value if set, zero value otherwise.

func (*FindProjectUsage200ResponseUsagesInner) GetPriceOk ¶

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 (*FindProjectUsage200ResponseUsagesInner) GetQuantity ¶

GetQuantity returns the Quantity field value if set, zero value otherwise.

func (*FindProjectUsage200ResponseUsagesInner) GetQuantityOk ¶

func (o *FindProjectUsage200ResponseUsagesInner) 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 (*FindProjectUsage200ResponseUsagesInner) GetTotal ¶

GetTotal returns the Total field value if set, zero value otherwise.

func (*FindProjectUsage200ResponseUsagesInner) GetTotalOk ¶

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 (*FindProjectUsage200ResponseUsagesInner) GetType ¶

GetType returns the Type field value if set, zero value otherwise.

func (*FindProjectUsage200ResponseUsagesInner) GetTypeOk ¶

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 (*FindProjectUsage200ResponseUsagesInner) GetUnit ¶

GetUnit returns the Unit field value if set, zero value otherwise.

func (*FindProjectUsage200ResponseUsagesInner) GetUnitOk ¶

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 (*FindProjectUsage200ResponseUsagesInner) HasFacility ¶

HasFacility returns a boolean if a field has been set.

func (*FindProjectUsage200ResponseUsagesInner) HasName ¶

HasName returns a boolean if a field has been set.

func (*FindProjectUsage200ResponseUsagesInner) HasPlan ¶

HasPlan returns a boolean if a field has been set.

func (*FindProjectUsage200ResponseUsagesInner) HasPlanVersion ¶

func (o *FindProjectUsage200ResponseUsagesInner) HasPlanVersion() bool

HasPlanVersion returns a boolean if a field has been set.

func (*FindProjectUsage200ResponseUsagesInner) HasPrice ¶

HasPrice returns a boolean if a field has been set.

func (*FindProjectUsage200ResponseUsagesInner) HasQuantity ¶

HasQuantity returns a boolean if a field has been set.

func (*FindProjectUsage200ResponseUsagesInner) HasTotal ¶

HasTotal returns a boolean if a field has been set.

func (*FindProjectUsage200ResponseUsagesInner) HasType ¶

HasType returns a boolean if a field has been set.

func (*FindProjectUsage200ResponseUsagesInner) HasUnit ¶

HasUnit returns a boolean if a field has been set.

func (FindProjectUsage200ResponseUsagesInner) MarshalJSON ¶

func (o FindProjectUsage200ResponseUsagesInner) MarshalJSON() ([]byte, error)

func (*FindProjectUsage200ResponseUsagesInner) SetFacility ¶

SetFacility gets a reference to the given string and assigns it to the Facility field.

func (*FindProjectUsage200ResponseUsagesInner) SetName ¶

SetName gets a reference to the given string and assigns it to the Name field.

func (*FindProjectUsage200ResponseUsagesInner) SetPlan ¶

SetPlan gets a reference to the given string and assigns it to the Plan field.

func (*FindProjectUsage200ResponseUsagesInner) SetPlanVersion ¶

func (o *FindProjectUsage200ResponseUsagesInner) SetPlanVersion(v string)

SetPlanVersion gets a reference to the given string and assigns it to the PlanVersion field.

func (*FindProjectUsage200ResponseUsagesInner) SetPrice ¶

SetPrice gets a reference to the given string and assigns it to the Price field.

func (*FindProjectUsage200ResponseUsagesInner) SetQuantity ¶

SetQuantity gets a reference to the given string and assigns it to the Quantity field.

func (*FindProjectUsage200ResponseUsagesInner) SetTotal ¶

SetTotal gets a reference to the given string and assigns it to the Total field.

func (*FindProjectUsage200ResponseUsagesInner) SetType ¶

SetType gets a reference to the given string and assigns it to the Type field.

func (*FindProjectUsage200ResponseUsagesInner) SetUnit ¶

SetUnit gets a reference to the given string and assigns it to the Unit field.

type FindRecoveryCodes200Response ¶

type FindRecoveryCodes200Response struct {
	RecoveryCodes []string `json:"recovery_codes,omitempty"`
}

FindRecoveryCodes200Response struct for FindRecoveryCodes200Response

func NewFindRecoveryCodes200Response ¶

func NewFindRecoveryCodes200Response() *FindRecoveryCodes200Response

NewFindRecoveryCodes200Response instantiates a new FindRecoveryCodes200Response 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 NewFindRecoveryCodes200ResponseWithDefaults ¶

func NewFindRecoveryCodes200ResponseWithDefaults() *FindRecoveryCodes200Response

NewFindRecoveryCodes200ResponseWithDefaults instantiates a new FindRecoveryCodes200Response 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 (*FindRecoveryCodes200Response) GetRecoveryCodes ¶

func (o *FindRecoveryCodes200Response) GetRecoveryCodes() []string

GetRecoveryCodes returns the RecoveryCodes field value if set, zero value otherwise.

func (*FindRecoveryCodes200Response) GetRecoveryCodesOk ¶

func (o *FindRecoveryCodes200Response) 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 (*FindRecoveryCodes200Response) HasRecoveryCodes ¶

func (o *FindRecoveryCodes200Response) HasRecoveryCodes() bool

HasRecoveryCodes returns a boolean if a field has been set.

func (FindRecoveryCodes200Response) MarshalJSON ¶

func (o FindRecoveryCodes200Response) MarshalJSON() ([]byte, error)

func (*FindRecoveryCodes200Response) SetRecoveryCodes ¶

func (o *FindRecoveryCodes200Response) SetRecoveryCodes(v []string)

SetRecoveryCodes gets a reference to the given []string and assigns it to the RecoveryCodes field.

type FindSelfServiceReservations200Response ¶

type FindSelfServiceReservations200Response struct {
	Reservations []FindSelfServiceReservations200ResponseReservationsInner `json:"reservations,omitempty"`
}

FindSelfServiceReservations200Response struct for FindSelfServiceReservations200Response

func NewFindSelfServiceReservations200Response ¶

func NewFindSelfServiceReservations200Response() *FindSelfServiceReservations200Response

NewFindSelfServiceReservations200Response instantiates a new FindSelfServiceReservations200Response 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 NewFindSelfServiceReservations200ResponseWithDefaults ¶

func NewFindSelfServiceReservations200ResponseWithDefaults() *FindSelfServiceReservations200Response

NewFindSelfServiceReservations200ResponseWithDefaults instantiates a new FindSelfServiceReservations200Response 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 (*FindSelfServiceReservations200Response) GetReservations ¶

GetReservations returns the Reservations field value if set, zero value otherwise.

func (*FindSelfServiceReservations200Response) 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 (*FindSelfServiceReservations200Response) HasReservations ¶

func (o *FindSelfServiceReservations200Response) HasReservations() bool

HasReservations returns a boolean if a field has been set.

func (FindSelfServiceReservations200Response) MarshalJSON ¶

func (o FindSelfServiceReservations200Response) MarshalJSON() ([]byte, error)

func (*FindSelfServiceReservations200Response) SetReservations ¶

SetReservations gets a reference to the given []FindSelfServiceReservations200ResponseReservationsInner and assigns it to the Reservations field.

type FindSelfServiceReservations200ResponseReservationsInner ¶

type FindSelfServiceReservations200ResponseReservationsInner struct {
	CreatedAt      *time.Time                                                         `json:"created_at,omitempty"`
	Item           []FindSelfServiceReservations200ResponseReservationsInnerItemInner `json:"item,omitempty"`
	Notes          *string                                                            `json:"notes,omitempty"`
	Organization   *string                                                            `json:"organization,omitempty"`
	OrganizationId *string                                                            `json:"organization_id,omitempty"`
	Period         *FindSelfServiceReservations200ResponseReservationsInnerPeriod     `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"`
}

FindSelfServiceReservations200ResponseReservationsInner struct for FindSelfServiceReservations200ResponseReservationsInner

func NewFindSelfServiceReservations200ResponseReservationsInner ¶

func NewFindSelfServiceReservations200ResponseReservationsInner() *FindSelfServiceReservations200ResponseReservationsInner

NewFindSelfServiceReservations200ResponseReservationsInner instantiates a new FindSelfServiceReservations200ResponseReservationsInner 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 NewFindSelfServiceReservations200ResponseReservationsInnerWithDefaults ¶

func NewFindSelfServiceReservations200ResponseReservationsInnerWithDefaults() *FindSelfServiceReservations200ResponseReservationsInner

NewFindSelfServiceReservations200ResponseReservationsInnerWithDefaults instantiates a new FindSelfServiceReservations200ResponseReservationsInner 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 (*FindSelfServiceReservations200ResponseReservationsInner) GetCreatedAt ¶

GetCreatedAt returns the CreatedAt field value if set, zero value otherwise.

func (*FindSelfServiceReservations200ResponseReservationsInner) GetCreatedAtOk ¶

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 (*FindSelfServiceReservations200ResponseReservationsInner) GetItem ¶

GetItem returns the Item field value if set, zero value otherwise.

func (*FindSelfServiceReservations200ResponseReservationsInner) 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 (*FindSelfServiceReservations200ResponseReservationsInner) GetNotes ¶

GetNotes returns the Notes field value if set, zero value otherwise.

func (*FindSelfServiceReservations200ResponseReservationsInner) GetNotesOk ¶

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 (*FindSelfServiceReservations200ResponseReservationsInner) GetOrganization ¶

GetOrganization returns the Organization field value if set, zero value otherwise.

func (*FindSelfServiceReservations200ResponseReservationsInner) GetOrganizationId ¶

GetOrganizationId returns the OrganizationId field value if set, zero value otherwise.

func (*FindSelfServiceReservations200ResponseReservationsInner) GetOrganizationIdOk ¶

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 (*FindSelfServiceReservations200ResponseReservationsInner) GetOrganizationOk ¶

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 (*FindSelfServiceReservations200ResponseReservationsInner) GetPeriod ¶

GetPeriod returns the Period field value if set, zero value otherwise.

func (*FindSelfServiceReservations200ResponseReservationsInner) 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 (*FindSelfServiceReservations200ResponseReservationsInner) GetProject ¶

GetProject returns the Project field value if set, zero value otherwise.

func (*FindSelfServiceReservations200ResponseReservationsInner) GetProjectId ¶

GetProjectId returns the ProjectId field value if set, zero value otherwise.

func (*FindSelfServiceReservations200ResponseReservationsInner) GetProjectIdOk ¶

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 (*FindSelfServiceReservations200ResponseReservationsInner) GetProjectOk ¶

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 (*FindSelfServiceReservations200ResponseReservationsInner) GetStartDate ¶

GetStartDate returns the StartDate field value if set, zero value otherwise.

func (*FindSelfServiceReservations200ResponseReservationsInner) GetStartDateOk ¶

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 (*FindSelfServiceReservations200ResponseReservationsInner) GetStatus ¶

GetStatus returns the Status field value if set, zero value otherwise.

func (*FindSelfServiceReservations200ResponseReservationsInner) GetStatusOk ¶

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 (*FindSelfServiceReservations200ResponseReservationsInner) GetTotalCost ¶

GetTotalCost returns the TotalCost field value if set, zero value otherwise.

func (*FindSelfServiceReservations200ResponseReservationsInner) GetTotalCostOk ¶

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 (*FindSelfServiceReservations200ResponseReservationsInner) HasCreatedAt ¶

HasCreatedAt returns a boolean if a field has been set.

func (*FindSelfServiceReservations200ResponseReservationsInner) HasItem ¶

HasItem returns a boolean if a field has been set.

func (*FindSelfServiceReservations200ResponseReservationsInner) HasNotes ¶

HasNotes returns a boolean if a field has been set.

func (*FindSelfServiceReservations200ResponseReservationsInner) HasOrganization ¶

HasOrganization returns a boolean if a field has been set.

func (*FindSelfServiceReservations200ResponseReservationsInner) HasOrganizationId ¶

HasOrganizationId returns a boolean if a field has been set.

func (*FindSelfServiceReservations200ResponseReservationsInner) HasPeriod ¶

HasPeriod returns a boolean if a field has been set.

func (*FindSelfServiceReservations200ResponseReservationsInner) HasProject ¶

HasProject returns a boolean if a field has been set.

func (*FindSelfServiceReservations200ResponseReservationsInner) HasProjectId ¶

HasProjectId returns a boolean if a field has been set.

func (*FindSelfServiceReservations200ResponseReservationsInner) HasStartDate ¶

HasStartDate returns a boolean if a field has been set.

func (*FindSelfServiceReservations200ResponseReservationsInner) HasStatus ¶

HasStatus returns a boolean if a field has been set.

func (*FindSelfServiceReservations200ResponseReservationsInner) HasTotalCost ¶

HasTotalCost returns a boolean if a field has been set.

func (FindSelfServiceReservations200ResponseReservationsInner) MarshalJSON ¶

func (*FindSelfServiceReservations200ResponseReservationsInner) SetCreatedAt ¶

SetCreatedAt gets a reference to the given time.Time and assigns it to the CreatedAt field.

func (*FindSelfServiceReservations200ResponseReservationsInner) SetItem ¶

SetItem gets a reference to the given []FindSelfServiceReservations200ResponseReservationsInnerItemInner and assigns it to the Item field.

func (*FindSelfServiceReservations200ResponseReservationsInner) SetNotes ¶

SetNotes gets a reference to the given string and assigns it to the Notes field.

func (*FindSelfServiceReservations200ResponseReservationsInner) SetOrganization ¶

SetOrganization gets a reference to the given string and assigns it to the Organization field.

func (*FindSelfServiceReservations200ResponseReservationsInner) SetOrganizationId ¶

SetOrganizationId gets a reference to the given string and assigns it to the OrganizationId field.

func (*FindSelfServiceReservations200ResponseReservationsInner) SetPeriod ¶

SetPeriod gets a reference to the given FindSelfServiceReservations200ResponseReservationsInnerPeriod and assigns it to the Period field.

func (*FindSelfServiceReservations200ResponseReservationsInner) SetProject ¶

SetProject gets a reference to the given string and assigns it to the Project field.

func (*FindSelfServiceReservations200ResponseReservationsInner) SetProjectId ¶

SetProjectId gets a reference to the given string and assigns it to the ProjectId field.

func (*FindSelfServiceReservations200ResponseReservationsInner) SetStartDate ¶

SetStartDate gets a reference to the given time.Time and assigns it to the StartDate field.

func (*FindSelfServiceReservations200ResponseReservationsInner) SetStatus ¶

SetStatus gets a reference to the given string and assigns it to the Status field.

func (*FindSelfServiceReservations200ResponseReservationsInner) SetTotalCost ¶

SetTotalCost gets a reference to the given int32 and assigns it to the TotalCost field.

type FindSelfServiceReservations200ResponseReservationsInnerItemInner ¶

type FindSelfServiceReservations200ResponseReservationsInnerItemInner 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"`
	Quantity  *int32   `json:"quantity,omitempty"`
	Term      *string  `json:"term,omitempty"`
}

FindSelfServiceReservations200ResponseReservationsInnerItemInner struct for FindSelfServiceReservations200ResponseReservationsInnerItemInner

func NewFindSelfServiceReservations200ResponseReservationsInnerItemInner ¶

func NewFindSelfServiceReservations200ResponseReservationsInnerItemInner() *FindSelfServiceReservations200ResponseReservationsInnerItemInner

NewFindSelfServiceReservations200ResponseReservationsInnerItemInner instantiates a new FindSelfServiceReservations200ResponseReservationsInnerItemInner 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 NewFindSelfServiceReservations200ResponseReservationsInnerItemInnerWithDefaults ¶

func NewFindSelfServiceReservations200ResponseReservationsInnerItemInnerWithDefaults() *FindSelfServiceReservations200ResponseReservationsInnerItemInner

NewFindSelfServiceReservations200ResponseReservationsInnerItemInnerWithDefaults instantiates a new FindSelfServiceReservations200ResponseReservationsInnerItemInner 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 (*FindSelfServiceReservations200ResponseReservationsInnerItemInner) GetAmount ¶

GetAmount returns the Amount field value if set, zero value otherwise.

func (*FindSelfServiceReservations200ResponseReservationsInnerItemInner) GetAmountOk ¶

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 (*FindSelfServiceReservations200ResponseReservationsInnerItemInner) GetId ¶

GetId returns the Id field value if set, zero value otherwise.

func (*FindSelfServiceReservations200ResponseReservationsInnerItemInner) 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 (*FindSelfServiceReservations200ResponseReservationsInnerItemInner) GetMetroCode ¶

GetMetroCode returns the MetroCode field value if set, zero value otherwise.

func (*FindSelfServiceReservations200ResponseReservationsInnerItemInner) GetMetroCodeOk ¶

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 (*FindSelfServiceReservations200ResponseReservationsInnerItemInner) GetMetroId ¶

GetMetroId returns the MetroId field value if set, zero value otherwise.

func (*FindSelfServiceReservations200ResponseReservationsInnerItemInner) GetMetroIdOk ¶

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 (*FindSelfServiceReservations200ResponseReservationsInnerItemInner) GetMetroName ¶

GetMetroName returns the MetroName field value if set, zero value otherwise.

func (*FindSelfServiceReservations200ResponseReservationsInnerItemInner) GetMetroNameOk ¶

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 (*FindSelfServiceReservations200ResponseReservationsInnerItemInner) GetPlanId ¶

GetPlanId returns the PlanId field value if set, zero value otherwise.

func (*FindSelfServiceReservations200ResponseReservationsInnerItemInner) GetPlanIdOk ¶

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 (*FindSelfServiceReservations200ResponseReservationsInnerItemInner) GetPlanName ¶

GetPlanName returns the PlanName field value if set, zero value otherwise.

func (*FindSelfServiceReservations200ResponseReservationsInnerItemInner) GetPlanNameOk ¶

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 (*FindSelfServiceReservations200ResponseReservationsInnerItemInner) GetPlanSlug ¶

GetPlanSlug returns the PlanSlug field value if set, zero value otherwise.

func (*FindSelfServiceReservations200ResponseReservationsInnerItemInner) GetPlanSlugOk ¶

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 (*FindSelfServiceReservations200ResponseReservationsInnerItemInner) GetQuantity ¶

GetQuantity returns the Quantity field value if set, zero value otherwise.

func (*FindSelfServiceReservations200ResponseReservationsInnerItemInner) GetQuantityOk ¶

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 (*FindSelfServiceReservations200ResponseReservationsInnerItemInner) GetTerm ¶

GetTerm returns the Term field value if set, zero value otherwise.

func (*FindSelfServiceReservations200ResponseReservationsInnerItemInner) GetTermOk ¶

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 (*FindSelfServiceReservations200ResponseReservationsInnerItemInner) HasAmount ¶

HasAmount returns a boolean if a field has been set.

func (*FindSelfServiceReservations200ResponseReservationsInnerItemInner) HasId ¶

HasId returns a boolean if a field has been set.

func (*FindSelfServiceReservations200ResponseReservationsInnerItemInner) HasMetroCode ¶

HasMetroCode returns a boolean if a field has been set.

func (*FindSelfServiceReservations200ResponseReservationsInnerItemInner) HasMetroId ¶

HasMetroId returns a boolean if a field has been set.

func (*FindSelfServiceReservations200ResponseReservationsInnerItemInner) HasMetroName ¶

HasMetroName returns a boolean if a field has been set.

func (*FindSelfServiceReservations200ResponseReservationsInnerItemInner) HasPlanId ¶

HasPlanId returns a boolean if a field has been set.

func (*FindSelfServiceReservations200ResponseReservationsInnerItemInner) HasPlanName ¶

HasPlanName returns a boolean if a field has been set.

func (*FindSelfServiceReservations200ResponseReservationsInnerItemInner) HasPlanSlug ¶

HasPlanSlug returns a boolean if a field has been set.

func (*FindSelfServiceReservations200ResponseReservationsInnerItemInner) HasQuantity ¶

HasQuantity returns a boolean if a field has been set.

func (*FindSelfServiceReservations200ResponseReservationsInnerItemInner) HasTerm ¶

HasTerm returns a boolean if a field has been set.

func (FindSelfServiceReservations200ResponseReservationsInnerItemInner) MarshalJSON ¶

func (*FindSelfServiceReservations200ResponseReservationsInnerItemInner) SetAmount ¶

SetAmount gets a reference to the given float32 and assigns it to the Amount field.

func (*FindSelfServiceReservations200ResponseReservationsInnerItemInner) SetId ¶

SetId gets a reference to the given string and assigns it to the Id field.

func (*FindSelfServiceReservations200ResponseReservationsInnerItemInner) SetMetroCode ¶

SetMetroCode gets a reference to the given string and assigns it to the MetroCode field.

func (*FindSelfServiceReservations200ResponseReservationsInnerItemInner) SetMetroId ¶

SetMetroId gets a reference to the given string and assigns it to the MetroId field.

func (*FindSelfServiceReservations200ResponseReservationsInnerItemInner) SetMetroName ¶

SetMetroName gets a reference to the given string and assigns it to the MetroName field.

func (*FindSelfServiceReservations200ResponseReservationsInnerItemInner) SetPlanId ¶

SetPlanId gets a reference to the given string and assigns it to the PlanId field.

func (*FindSelfServiceReservations200ResponseReservationsInnerItemInner) SetPlanName ¶

SetPlanName gets a reference to the given string and assigns it to the PlanName field.

func (*FindSelfServiceReservations200ResponseReservationsInnerItemInner) SetPlanSlug ¶

SetPlanSlug gets a reference to the given string and assigns it to the PlanSlug field.

func (*FindSelfServiceReservations200ResponseReservationsInnerItemInner) SetQuantity ¶

SetQuantity gets a reference to the given int32 and assigns it to the Quantity field.

func (*FindSelfServiceReservations200ResponseReservationsInnerItemInner) SetTerm ¶

SetTerm gets a reference to the given string and assigns it to the Term field.

type FindSelfServiceReservations200ResponseReservationsInnerPeriod ¶

type FindSelfServiceReservations200ResponseReservationsInnerPeriod struct {
	Count *float32 `json:"count,omitempty"`
	Unit  *string  `json:"unit,omitempty"`
}

FindSelfServiceReservations200ResponseReservationsInnerPeriod struct for FindSelfServiceReservations200ResponseReservationsInnerPeriod

func NewFindSelfServiceReservations200ResponseReservationsInnerPeriod ¶

func NewFindSelfServiceReservations200ResponseReservationsInnerPeriod() *FindSelfServiceReservations200ResponseReservationsInnerPeriod

NewFindSelfServiceReservations200ResponseReservationsInnerPeriod instantiates a new FindSelfServiceReservations200ResponseReservationsInnerPeriod 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 NewFindSelfServiceReservations200ResponseReservationsInnerPeriodWithDefaults ¶

func NewFindSelfServiceReservations200ResponseReservationsInnerPeriodWithDefaults() *FindSelfServiceReservations200ResponseReservationsInnerPeriod

NewFindSelfServiceReservations200ResponseReservationsInnerPeriodWithDefaults instantiates a new FindSelfServiceReservations200ResponseReservationsInnerPeriod 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 (*FindSelfServiceReservations200ResponseReservationsInnerPeriod) GetCount ¶

GetCount returns the Count field value if set, zero value otherwise.

func (*FindSelfServiceReservations200ResponseReservationsInnerPeriod) GetCountOk ¶

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 (*FindSelfServiceReservations200ResponseReservationsInnerPeriod) GetUnit ¶

GetUnit returns the Unit field value if set, zero value otherwise.

func (*FindSelfServiceReservations200ResponseReservationsInnerPeriod) GetUnitOk ¶

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 (*FindSelfServiceReservations200ResponseReservationsInnerPeriod) HasCount ¶

HasCount returns a boolean if a field has been set.

func (*FindSelfServiceReservations200ResponseReservationsInnerPeriod) HasUnit ¶

HasUnit returns a boolean if a field has been set.

func (FindSelfServiceReservations200ResponseReservationsInnerPeriod) MarshalJSON ¶

func (*FindSelfServiceReservations200ResponseReservationsInnerPeriod) SetCount ¶

SetCount gets a reference to the given float32 and assigns it to the Count field.

func (*FindSelfServiceReservations200ResponseReservationsInnerPeriod) SetUnit ¶

SetUnit gets a reference to the given string and assigns it to the Unit field.

type FindSpotMarketPrices200Response ¶

type FindSpotMarketPrices200Response struct {
	SpotMarketPrices *FindSpotMarketPrices200ResponseSpotMarketPrices `json:"spot_market_prices,omitempty"`
}

FindSpotMarketPrices200Response struct for FindSpotMarketPrices200Response

func NewFindSpotMarketPrices200Response ¶

func NewFindSpotMarketPrices200Response() *FindSpotMarketPrices200Response

NewFindSpotMarketPrices200Response instantiates a new FindSpotMarketPrices200Response 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 NewFindSpotMarketPrices200ResponseWithDefaults ¶

func NewFindSpotMarketPrices200ResponseWithDefaults() *FindSpotMarketPrices200Response

NewFindSpotMarketPrices200ResponseWithDefaults instantiates a new FindSpotMarketPrices200Response 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 (*FindSpotMarketPrices200Response) GetSpotMarketPrices ¶

GetSpotMarketPrices returns the SpotMarketPrices field value if set, zero value otherwise.

func (*FindSpotMarketPrices200Response) GetSpotMarketPricesOk ¶

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 (*FindSpotMarketPrices200Response) HasSpotMarketPrices ¶

func (o *FindSpotMarketPrices200Response) HasSpotMarketPrices() bool

HasSpotMarketPrices returns a boolean if a field has been set.

func (FindSpotMarketPrices200Response) MarshalJSON ¶

func (o FindSpotMarketPrices200Response) MarshalJSON() ([]byte, error)

func (*FindSpotMarketPrices200Response) SetSpotMarketPrices ¶

SetSpotMarketPrices gets a reference to the given FindSpotMarketPrices200ResponseSpotMarketPrices and assigns it to the SpotMarketPrices field.

type FindSpotMarketPrices200ResponseSpotMarketPrices ¶

type FindSpotMarketPrices200ResponseSpotMarketPrices struct {
	Ams1 *FindSpotMarketPrices200ResponseSpotMarketPricesAms1 `json:"ams1,omitempty"`
	Atl1 *FindSpotMarketPrices200ResponseSpotMarketPricesAtl1 `json:"atl1,omitempty"`
	Dfw1 *FindSpotMarketPrices200ResponseSpotMarketPricesAtl1 `json:"dfw1,omitempty"`
	Ewr1 *FindSpotMarketPrices200ResponseSpotMarketPricesAms1 `json:"ewr1,omitempty"`
	Fra1 *FindSpotMarketPrices200ResponseSpotMarketPricesAtl1 `json:"fra1,omitempty"`
	Iad1 *FindSpotMarketPrices200ResponseSpotMarketPricesAtl1 `json:"iad1,omitempty"`
	Lax1 *FindSpotMarketPrices200ResponseSpotMarketPricesAtl1 `json:"lax1,omitempty"`
	Nrt1 *FindSpotMarketPrices200ResponseSpotMarketPricesAms1 `json:"nrt1,omitempty"`
	Ord1 *FindSpotMarketPrices200ResponseSpotMarketPricesAtl1 `json:"ord1,omitempty"`
	Sea1 *FindSpotMarketPrices200ResponseSpotMarketPricesAtl1 `json:"sea1,omitempty"`
	Sin1 *FindSpotMarketPrices200ResponseSpotMarketPricesAtl1 `json:"sin1,omitempty"`
	Sjc1 *FindSpotMarketPrices200ResponseSpotMarketPricesAms1 `json:"sjc1,omitempty"`
	Syd1 *FindSpotMarketPrices200ResponseSpotMarketPricesAtl1 `json:"syd1,omitempty"`
	Yyz1 *FindSpotMarketPrices200ResponseSpotMarketPricesAtl1 `json:"yyz1,omitempty"`
}

FindSpotMarketPrices200ResponseSpotMarketPrices struct for FindSpotMarketPrices200ResponseSpotMarketPrices

func NewFindSpotMarketPrices200ResponseSpotMarketPrices ¶

func NewFindSpotMarketPrices200ResponseSpotMarketPrices() *FindSpotMarketPrices200ResponseSpotMarketPrices

NewFindSpotMarketPrices200ResponseSpotMarketPrices instantiates a new FindSpotMarketPrices200ResponseSpotMarketPrices 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 NewFindSpotMarketPrices200ResponseSpotMarketPricesWithDefaults ¶

func NewFindSpotMarketPrices200ResponseSpotMarketPricesWithDefaults() *FindSpotMarketPrices200ResponseSpotMarketPrices

NewFindSpotMarketPrices200ResponseSpotMarketPricesWithDefaults instantiates a new FindSpotMarketPrices200ResponseSpotMarketPrices 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 (*FindSpotMarketPrices200ResponseSpotMarketPrices) GetAms1 ¶

GetAms1 returns the Ams1 field value if set, zero value otherwise.

func (*FindSpotMarketPrices200ResponseSpotMarketPrices) GetAms1Ok ¶

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 (*FindSpotMarketPrices200ResponseSpotMarketPrices) GetAtl1 ¶

GetAtl1 returns the Atl1 field value if set, zero value otherwise.

func (*FindSpotMarketPrices200ResponseSpotMarketPrices) GetAtl1Ok ¶

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 (*FindSpotMarketPrices200ResponseSpotMarketPrices) GetDfw1 ¶

GetDfw1 returns the Dfw1 field value if set, zero value otherwise.

func (*FindSpotMarketPrices200ResponseSpotMarketPrices) GetDfw1Ok ¶

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 (*FindSpotMarketPrices200ResponseSpotMarketPrices) GetEwr1 ¶

GetEwr1 returns the Ewr1 field value if set, zero value otherwise.

func (*FindSpotMarketPrices200ResponseSpotMarketPrices) GetEwr1Ok ¶

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 (*FindSpotMarketPrices200ResponseSpotMarketPrices) GetFra1 ¶

GetFra1 returns the Fra1 field value if set, zero value otherwise.

func (*FindSpotMarketPrices200ResponseSpotMarketPrices) GetFra1Ok ¶

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 (*FindSpotMarketPrices200ResponseSpotMarketPrices) GetIad1 ¶

GetIad1 returns the Iad1 field value if set, zero value otherwise.

func (*FindSpotMarketPrices200ResponseSpotMarketPrices) GetIad1Ok ¶

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 (*FindSpotMarketPrices200ResponseSpotMarketPrices) GetLax1 ¶

GetLax1 returns the Lax1 field value if set, zero value otherwise.

func (*FindSpotMarketPrices200ResponseSpotMarketPrices) GetLax1Ok ¶

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 (*FindSpotMarketPrices200ResponseSpotMarketPrices) GetNrt1 ¶

GetNrt1 returns the Nrt1 field value if set, zero value otherwise.

func (*FindSpotMarketPrices200ResponseSpotMarketPrices) GetNrt1Ok ¶

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 (*FindSpotMarketPrices200ResponseSpotMarketPrices) GetOrd1 ¶

GetOrd1 returns the Ord1 field value if set, zero value otherwise.

func (*FindSpotMarketPrices200ResponseSpotMarketPrices) GetOrd1Ok ¶

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 (*FindSpotMarketPrices200ResponseSpotMarketPrices) GetSea1 ¶

GetSea1 returns the Sea1 field value if set, zero value otherwise.

func (*FindSpotMarketPrices200ResponseSpotMarketPrices) GetSea1Ok ¶

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 (*FindSpotMarketPrices200ResponseSpotMarketPrices) GetSin1 ¶

GetSin1 returns the Sin1 field value if set, zero value otherwise.

func (*FindSpotMarketPrices200ResponseSpotMarketPrices) GetSin1Ok ¶

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 (*FindSpotMarketPrices200ResponseSpotMarketPrices) GetSjc1 ¶

GetSjc1 returns the Sjc1 field value if set, zero value otherwise.

func (*FindSpotMarketPrices200ResponseSpotMarketPrices) GetSjc1Ok ¶

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 (*FindSpotMarketPrices200ResponseSpotMarketPrices) GetSyd1 ¶

GetSyd1 returns the Syd1 field value if set, zero value otherwise.

func (*FindSpotMarketPrices200ResponseSpotMarketPrices) GetSyd1Ok ¶

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 (*FindSpotMarketPrices200ResponseSpotMarketPrices) GetYyz1 ¶

GetYyz1 returns the Yyz1 field value if set, zero value otherwise.

func (*FindSpotMarketPrices200ResponseSpotMarketPrices) GetYyz1Ok ¶

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 (*FindSpotMarketPrices200ResponseSpotMarketPrices) HasAms1 ¶

HasAms1 returns a boolean if a field has been set.

func (*FindSpotMarketPrices200ResponseSpotMarketPrices) HasAtl1 ¶

HasAtl1 returns a boolean if a field has been set.

func (*FindSpotMarketPrices200ResponseSpotMarketPrices) HasDfw1 ¶

HasDfw1 returns a boolean if a field has been set.

func (*FindSpotMarketPrices200ResponseSpotMarketPrices) HasEwr1 ¶

HasEwr1 returns a boolean if a field has been set.

func (*FindSpotMarketPrices200ResponseSpotMarketPrices) HasFra1 ¶

HasFra1 returns a boolean if a field has been set.

func (*FindSpotMarketPrices200ResponseSpotMarketPrices) HasIad1 ¶

HasIad1 returns a boolean if a field has been set.

func (*FindSpotMarketPrices200ResponseSpotMarketPrices) HasLax1 ¶

HasLax1 returns a boolean if a field has been set.

func (*FindSpotMarketPrices200ResponseSpotMarketPrices) HasNrt1 ¶

HasNrt1 returns a boolean if a field has been set.

func (*FindSpotMarketPrices200ResponseSpotMarketPrices) HasOrd1 ¶

HasOrd1 returns a boolean if a field has been set.

func (*FindSpotMarketPrices200ResponseSpotMarketPrices) HasSea1 ¶

HasSea1 returns a boolean if a field has been set.

func (*FindSpotMarketPrices200ResponseSpotMarketPrices) HasSin1 ¶

HasSin1 returns a boolean if a field has been set.

func (*FindSpotMarketPrices200ResponseSpotMarketPrices) HasSjc1 ¶

HasSjc1 returns a boolean if a field has been set.

func (*FindSpotMarketPrices200ResponseSpotMarketPrices) HasSyd1 ¶

HasSyd1 returns a boolean if a field has been set.

func (*FindSpotMarketPrices200ResponseSpotMarketPrices) HasYyz1 ¶

HasYyz1 returns a boolean if a field has been set.

func (FindSpotMarketPrices200ResponseSpotMarketPrices) MarshalJSON ¶

func (*FindSpotMarketPrices200ResponseSpotMarketPrices) SetAms1 ¶

SetAms1 gets a reference to the given FindSpotMarketPrices200ResponseSpotMarketPricesAms1 and assigns it to the Ams1 field.

func (*FindSpotMarketPrices200ResponseSpotMarketPrices) SetAtl1 ¶

SetAtl1 gets a reference to the given FindSpotMarketPrices200ResponseSpotMarketPricesAtl1 and assigns it to the Atl1 field.

func (*FindSpotMarketPrices200ResponseSpotMarketPrices) SetDfw1 ¶

SetDfw1 gets a reference to the given FindSpotMarketPrices200ResponseSpotMarketPricesAtl1 and assigns it to the Dfw1 field.

func (*FindSpotMarketPrices200ResponseSpotMarketPrices) SetEwr1 ¶

SetEwr1 gets a reference to the given FindSpotMarketPrices200ResponseSpotMarketPricesAms1 and assigns it to the Ewr1 field.

func (*FindSpotMarketPrices200ResponseSpotMarketPrices) SetFra1 ¶

SetFra1 gets a reference to the given FindSpotMarketPrices200ResponseSpotMarketPricesAtl1 and assigns it to the Fra1 field.

func (*FindSpotMarketPrices200ResponseSpotMarketPrices) SetIad1 ¶

SetIad1 gets a reference to the given FindSpotMarketPrices200ResponseSpotMarketPricesAtl1 and assigns it to the Iad1 field.

func (*FindSpotMarketPrices200ResponseSpotMarketPrices) SetLax1 ¶

SetLax1 gets a reference to the given FindSpotMarketPrices200ResponseSpotMarketPricesAtl1 and assigns it to the Lax1 field.

func (*FindSpotMarketPrices200ResponseSpotMarketPrices) SetNrt1 ¶

SetNrt1 gets a reference to the given FindSpotMarketPrices200ResponseSpotMarketPricesAms1 and assigns it to the Nrt1 field.

func (*FindSpotMarketPrices200ResponseSpotMarketPrices) SetOrd1 ¶

SetOrd1 gets a reference to the given FindSpotMarketPrices200ResponseSpotMarketPricesAtl1 and assigns it to the Ord1 field.

func (*FindSpotMarketPrices200ResponseSpotMarketPrices) SetSea1 ¶

SetSea1 gets a reference to the given FindSpotMarketPrices200ResponseSpotMarketPricesAtl1 and assigns it to the Sea1 field.

func (*FindSpotMarketPrices200ResponseSpotMarketPrices) SetSin1 ¶

SetSin1 gets a reference to the given FindSpotMarketPrices200ResponseSpotMarketPricesAtl1 and assigns it to the Sin1 field.

func (*FindSpotMarketPrices200ResponseSpotMarketPrices) SetSjc1 ¶

SetSjc1 gets a reference to the given FindSpotMarketPrices200ResponseSpotMarketPricesAms1 and assigns it to the Sjc1 field.

func (*FindSpotMarketPrices200ResponseSpotMarketPrices) SetSyd1 ¶

SetSyd1 gets a reference to the given FindSpotMarketPrices200ResponseSpotMarketPricesAtl1 and assigns it to the Syd1 field.

func (*FindSpotMarketPrices200ResponseSpotMarketPrices) SetYyz1 ¶

SetYyz1 gets a reference to the given FindSpotMarketPrices200ResponseSpotMarketPricesAtl1 and assigns it to the Yyz1 field.

type FindSpotMarketPrices200ResponseSpotMarketPricesAms1 ¶

type FindSpotMarketPrices200ResponseSpotMarketPricesAms1 struct {
	Baremetal0   *FindSpotMarketPrices200ResponseSpotMarketPricesAms1Baremetal0 `json:"baremetal_0,omitempty"`
	Baremetal1   *FindSpotMarketPrices200ResponseSpotMarketPricesAms1Baremetal0 `json:"baremetal_1,omitempty"`
	Baremetal2   *FindSpotMarketPrices200ResponseSpotMarketPricesAms1Baremetal0 `json:"baremetal_2,omitempty"`
	Baremetal2a  *FindSpotMarketPrices200ResponseSpotMarketPricesAms1Baremetal0 `json:"baremetal_2a,omitempty"`
	Baremetal2a2 *FindSpotMarketPrices200ResponseSpotMarketPricesAms1Baremetal0 `json:"baremetal_2a2,omitempty"`
	Baremetal3   *FindSpotMarketPrices200ResponseSpotMarketPricesAms1Baremetal0 `json:"baremetal_3,omitempty"`
	BaremetalS   *FindSpotMarketPrices200ResponseSpotMarketPricesAms1Baremetal0 `json:"baremetal_s,omitempty"`
	C2MediumX86  *FindSpotMarketPrices200ResponseSpotMarketPricesAms1Baremetal0 `json:"c2.medium.x86,omitempty"`
	M2XlargeX86  *FindSpotMarketPrices200ResponseSpotMarketPricesAms1Baremetal0 `json:"m2.xlarge.x86,omitempty"`
}

FindSpotMarketPrices200ResponseSpotMarketPricesAms1 struct for FindSpotMarketPrices200ResponseSpotMarketPricesAms1

func NewFindSpotMarketPrices200ResponseSpotMarketPricesAms1 ¶

func NewFindSpotMarketPrices200ResponseSpotMarketPricesAms1() *FindSpotMarketPrices200ResponseSpotMarketPricesAms1

NewFindSpotMarketPrices200ResponseSpotMarketPricesAms1 instantiates a new FindSpotMarketPrices200ResponseSpotMarketPricesAms1 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 NewFindSpotMarketPrices200ResponseSpotMarketPricesAms1WithDefaults ¶

func NewFindSpotMarketPrices200ResponseSpotMarketPricesAms1WithDefaults() *FindSpotMarketPrices200ResponseSpotMarketPricesAms1

NewFindSpotMarketPrices200ResponseSpotMarketPricesAms1WithDefaults instantiates a new FindSpotMarketPrices200ResponseSpotMarketPricesAms1 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 (*FindSpotMarketPrices200ResponseSpotMarketPricesAms1) GetBaremetal0 ¶

GetBaremetal0 returns the Baremetal0 field value if set, zero value otherwise.

func (*FindSpotMarketPrices200ResponseSpotMarketPricesAms1) GetBaremetal0Ok ¶

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 (*FindSpotMarketPrices200ResponseSpotMarketPricesAms1) GetBaremetal1 ¶

GetBaremetal1 returns the Baremetal1 field value if set, zero value otherwise.

func (*FindSpotMarketPrices200ResponseSpotMarketPricesAms1) GetBaremetal1Ok ¶

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 (*FindSpotMarketPrices200ResponseSpotMarketPricesAms1) GetBaremetal2 ¶

GetBaremetal2 returns the Baremetal2 field value if set, zero value otherwise.

func (*FindSpotMarketPrices200ResponseSpotMarketPricesAms1) GetBaremetal2Ok ¶

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 (*FindSpotMarketPrices200ResponseSpotMarketPricesAms1) GetBaremetal2a ¶

GetBaremetal2a returns the Baremetal2a field value if set, zero value otherwise.

func (*FindSpotMarketPrices200ResponseSpotMarketPricesAms1) GetBaremetal2a2 ¶

GetBaremetal2a2 returns the Baremetal2a2 field value if set, zero value otherwise.

func (*FindSpotMarketPrices200ResponseSpotMarketPricesAms1) GetBaremetal2a2Ok ¶

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 (*FindSpotMarketPrices200ResponseSpotMarketPricesAms1) GetBaremetal2aOk ¶

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 (*FindSpotMarketPrices200ResponseSpotMarketPricesAms1) GetBaremetal3 ¶

GetBaremetal3 returns the Baremetal3 field value if set, zero value otherwise.

func (*FindSpotMarketPrices200ResponseSpotMarketPricesAms1) GetBaremetal3Ok ¶

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 (*FindSpotMarketPrices200ResponseSpotMarketPricesAms1) GetBaremetalS ¶

GetBaremetalS returns the BaremetalS field value if set, zero value otherwise.

func (*FindSpotMarketPrices200ResponseSpotMarketPricesAms1) GetBaremetalSOk ¶

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 (*FindSpotMarketPrices200ResponseSpotMarketPricesAms1) GetC2MediumX86 ¶

GetC2MediumX86 returns the C2MediumX86 field value if set, zero value otherwise.

func (*FindSpotMarketPrices200ResponseSpotMarketPricesAms1) GetC2MediumX86Ok ¶

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 (*FindSpotMarketPrices200ResponseSpotMarketPricesAms1) GetM2XlargeX86 ¶

GetM2XlargeX86 returns the M2XlargeX86 field value if set, zero value otherwise.

func (*FindSpotMarketPrices200ResponseSpotMarketPricesAms1) GetM2XlargeX86Ok ¶

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 (*FindSpotMarketPrices200ResponseSpotMarketPricesAms1) HasBaremetal0 ¶

HasBaremetal0 returns a boolean if a field has been set.

func (*FindSpotMarketPrices200ResponseSpotMarketPricesAms1) HasBaremetal1 ¶

HasBaremetal1 returns a boolean if a field has been set.

func (*FindSpotMarketPrices200ResponseSpotMarketPricesAms1) HasBaremetal2 ¶

HasBaremetal2 returns a boolean if a field has been set.

func (*FindSpotMarketPrices200ResponseSpotMarketPricesAms1) HasBaremetal2a ¶

HasBaremetal2a returns a boolean if a field has been set.

func (*FindSpotMarketPrices200ResponseSpotMarketPricesAms1) HasBaremetal2a2 ¶

HasBaremetal2a2 returns a boolean if a field has been set.

func (*FindSpotMarketPrices200ResponseSpotMarketPricesAms1) HasBaremetal3 ¶

HasBaremetal3 returns a boolean if a field has been set.

func (*FindSpotMarketPrices200ResponseSpotMarketPricesAms1) HasBaremetalS ¶

HasBaremetalS returns a boolean if a field has been set.

func (*FindSpotMarketPrices200ResponseSpotMarketPricesAms1) HasC2MediumX86 ¶

HasC2MediumX86 returns a boolean if a field has been set.

func (*FindSpotMarketPrices200ResponseSpotMarketPricesAms1) HasM2XlargeX86 ¶

HasM2XlargeX86 returns a boolean if a field has been set.

func (FindSpotMarketPrices200ResponseSpotMarketPricesAms1) MarshalJSON ¶

func (*FindSpotMarketPrices200ResponseSpotMarketPricesAms1) SetBaremetal0 ¶

SetBaremetal0 gets a reference to the given FindSpotMarketPrices200ResponseSpotMarketPricesAms1Baremetal0 and assigns it to the Baremetal0 field.

func (*FindSpotMarketPrices200ResponseSpotMarketPricesAms1) SetBaremetal1 ¶

SetBaremetal1 gets a reference to the given FindSpotMarketPrices200ResponseSpotMarketPricesAms1Baremetal0 and assigns it to the Baremetal1 field.

func (*FindSpotMarketPrices200ResponseSpotMarketPricesAms1) SetBaremetal2 ¶

SetBaremetal2 gets a reference to the given FindSpotMarketPrices200ResponseSpotMarketPricesAms1Baremetal0 and assigns it to the Baremetal2 field.

func (*FindSpotMarketPrices200ResponseSpotMarketPricesAms1) SetBaremetal2a ¶

SetBaremetal2a gets a reference to the given FindSpotMarketPrices200ResponseSpotMarketPricesAms1Baremetal0 and assigns it to the Baremetal2a field.

func (*FindSpotMarketPrices200ResponseSpotMarketPricesAms1) SetBaremetal2a2 ¶

SetBaremetal2a2 gets a reference to the given FindSpotMarketPrices200ResponseSpotMarketPricesAms1Baremetal0 and assigns it to the Baremetal2a2 field.

func (*FindSpotMarketPrices200ResponseSpotMarketPricesAms1) SetBaremetal3 ¶

SetBaremetal3 gets a reference to the given FindSpotMarketPrices200ResponseSpotMarketPricesAms1Baremetal0 and assigns it to the Baremetal3 field.

func (*FindSpotMarketPrices200ResponseSpotMarketPricesAms1) SetBaremetalS ¶

SetBaremetalS gets a reference to the given FindSpotMarketPrices200ResponseSpotMarketPricesAms1Baremetal0 and assigns it to the BaremetalS field.

func (*FindSpotMarketPrices200ResponseSpotMarketPricesAms1) SetC2MediumX86 ¶

SetC2MediumX86 gets a reference to the given FindSpotMarketPrices200ResponseSpotMarketPricesAms1Baremetal0 and assigns it to the C2MediumX86 field.

func (*FindSpotMarketPrices200ResponseSpotMarketPricesAms1) SetM2XlargeX86 ¶

SetM2XlargeX86 gets a reference to the given FindSpotMarketPrices200ResponseSpotMarketPricesAms1Baremetal0 and assigns it to the M2XlargeX86 field.

type FindSpotMarketPrices200ResponseSpotMarketPricesAms1Baremetal0 ¶

type FindSpotMarketPrices200ResponseSpotMarketPricesAms1Baremetal0 struct {
	Price *float32 `json:"price,omitempty"`
}

FindSpotMarketPrices200ResponseSpotMarketPricesAms1Baremetal0 struct for FindSpotMarketPrices200ResponseSpotMarketPricesAms1Baremetal0

func NewFindSpotMarketPrices200ResponseSpotMarketPricesAms1Baremetal0 ¶

func NewFindSpotMarketPrices200ResponseSpotMarketPricesAms1Baremetal0() *FindSpotMarketPrices200ResponseSpotMarketPricesAms1Baremetal0

NewFindSpotMarketPrices200ResponseSpotMarketPricesAms1Baremetal0 instantiates a new FindSpotMarketPrices200ResponseSpotMarketPricesAms1Baremetal0 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 NewFindSpotMarketPrices200ResponseSpotMarketPricesAms1Baremetal0WithDefaults ¶

func NewFindSpotMarketPrices200ResponseSpotMarketPricesAms1Baremetal0WithDefaults() *FindSpotMarketPrices200ResponseSpotMarketPricesAms1Baremetal0

NewFindSpotMarketPrices200ResponseSpotMarketPricesAms1Baremetal0WithDefaults instantiates a new FindSpotMarketPrices200ResponseSpotMarketPricesAms1Baremetal0 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 (*FindSpotMarketPrices200ResponseSpotMarketPricesAms1Baremetal0) GetPrice ¶

GetPrice returns the Price field value if set, zero value otherwise.

func (*FindSpotMarketPrices200ResponseSpotMarketPricesAms1Baremetal0) GetPriceOk ¶

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 (*FindSpotMarketPrices200ResponseSpotMarketPricesAms1Baremetal0) HasPrice ¶

HasPrice returns a boolean if a field has been set.

func (FindSpotMarketPrices200ResponseSpotMarketPricesAms1Baremetal0) MarshalJSON ¶

func (*FindSpotMarketPrices200ResponseSpotMarketPricesAms1Baremetal0) SetPrice ¶

SetPrice gets a reference to the given float32 and assigns it to the Price field.

type FindSpotMarketPrices200ResponseSpotMarketPricesAtl1 ¶

type FindSpotMarketPrices200ResponseSpotMarketPricesAtl1 struct {
	Baremetal1e *FindSpotMarketPrices200ResponseSpotMarketPricesAms1Baremetal0 `json:"baremetal_1e,omitempty"`
}

FindSpotMarketPrices200ResponseSpotMarketPricesAtl1 struct for FindSpotMarketPrices200ResponseSpotMarketPricesAtl1

func NewFindSpotMarketPrices200ResponseSpotMarketPricesAtl1 ¶

func NewFindSpotMarketPrices200ResponseSpotMarketPricesAtl1() *FindSpotMarketPrices200ResponseSpotMarketPricesAtl1

NewFindSpotMarketPrices200ResponseSpotMarketPricesAtl1 instantiates a new FindSpotMarketPrices200ResponseSpotMarketPricesAtl1 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 NewFindSpotMarketPrices200ResponseSpotMarketPricesAtl1WithDefaults ¶

func NewFindSpotMarketPrices200ResponseSpotMarketPricesAtl1WithDefaults() *FindSpotMarketPrices200ResponseSpotMarketPricesAtl1

NewFindSpotMarketPrices200ResponseSpotMarketPricesAtl1WithDefaults instantiates a new FindSpotMarketPrices200ResponseSpotMarketPricesAtl1 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 (*FindSpotMarketPrices200ResponseSpotMarketPricesAtl1) GetBaremetal1e ¶

GetBaremetal1e returns the Baremetal1e field value if set, zero value otherwise.

func (*FindSpotMarketPrices200ResponseSpotMarketPricesAtl1) GetBaremetal1eOk ¶

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 (*FindSpotMarketPrices200ResponseSpotMarketPricesAtl1) HasBaremetal1e ¶

HasBaremetal1e returns a boolean if a field has been set.

func (FindSpotMarketPrices200ResponseSpotMarketPricesAtl1) MarshalJSON ¶

func (*FindSpotMarketPrices200ResponseSpotMarketPricesAtl1) SetBaremetal1e ¶

SetBaremetal1e gets a reference to the given FindSpotMarketPrices200ResponseSpotMarketPricesAms1Baremetal0 and assigns it to the Baremetal1e field.

type FindSpotMarketPricesHistory200Response ¶

type FindSpotMarketPricesHistory200Response struct {
	PricesHistory *FindSpotMarketPricesHistory200ResponsePricesHistory `json:"prices_history,omitempty"`
}

FindSpotMarketPricesHistory200Response struct for FindSpotMarketPricesHistory200Response

func NewFindSpotMarketPricesHistory200Response ¶

func NewFindSpotMarketPricesHistory200Response() *FindSpotMarketPricesHistory200Response

NewFindSpotMarketPricesHistory200Response instantiates a new FindSpotMarketPricesHistory200Response 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 NewFindSpotMarketPricesHistory200ResponseWithDefaults ¶

func NewFindSpotMarketPricesHistory200ResponseWithDefaults() *FindSpotMarketPricesHistory200Response

NewFindSpotMarketPricesHistory200ResponseWithDefaults instantiates a new FindSpotMarketPricesHistory200Response 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 (*FindSpotMarketPricesHistory200Response) GetPricesHistory ¶

GetPricesHistory returns the PricesHistory field value if set, zero value otherwise.

func (*FindSpotMarketPricesHistory200Response) GetPricesHistoryOk ¶

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 (*FindSpotMarketPricesHistory200Response) HasPricesHistory ¶

func (o *FindSpotMarketPricesHistory200Response) HasPricesHistory() bool

HasPricesHistory returns a boolean if a field has been set.

func (FindSpotMarketPricesHistory200Response) MarshalJSON ¶

func (o FindSpotMarketPricesHistory200Response) MarshalJSON() ([]byte, error)

func (*FindSpotMarketPricesHistory200Response) SetPricesHistory ¶

SetPricesHistory gets a reference to the given FindSpotMarketPricesHistory200ResponsePricesHistory and assigns it to the PricesHistory field.

type FindSpotMarketPricesHistory200ResponsePricesHistory ¶

type FindSpotMarketPricesHistory200ResponsePricesHistory struct {
	Datapoints [][]float32 `json:"datapoints,omitempty"`
}

FindSpotMarketPricesHistory200ResponsePricesHistory struct for FindSpotMarketPricesHistory200ResponsePricesHistory

func NewFindSpotMarketPricesHistory200ResponsePricesHistory ¶

func NewFindSpotMarketPricesHistory200ResponsePricesHistory() *FindSpotMarketPricesHistory200ResponsePricesHistory

NewFindSpotMarketPricesHistory200ResponsePricesHistory instantiates a new FindSpotMarketPricesHistory200ResponsePricesHistory 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 NewFindSpotMarketPricesHistory200ResponsePricesHistoryWithDefaults ¶

func NewFindSpotMarketPricesHistory200ResponsePricesHistoryWithDefaults() *FindSpotMarketPricesHistory200ResponsePricesHistory

NewFindSpotMarketPricesHistory200ResponsePricesHistoryWithDefaults instantiates a new FindSpotMarketPricesHistory200ResponsePricesHistory 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 (*FindSpotMarketPricesHistory200ResponsePricesHistory) GetDatapoints ¶

GetDatapoints returns the Datapoints field value if set, zero value otherwise.

func (*FindSpotMarketPricesHistory200ResponsePricesHistory) GetDatapointsOk ¶

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 (*FindSpotMarketPricesHistory200ResponsePricesHistory) HasDatapoints ¶

HasDatapoints returns a boolean if a field has been set.

func (FindSpotMarketPricesHistory200ResponsePricesHistory) MarshalJSON ¶

func (*FindSpotMarketPricesHistory200ResponsePricesHistory) SetDatapoints ¶

SetDatapoints gets a reference to the given [][]float32 and assigns it to the Datapoints field.

type FindTrafficTimeframeParameter ¶ added in v0.2.6

type FindTrafficTimeframeParameter struct {
	EndedAt   time.Time `json:"ended_at"`
	StartedAt time.Time `json:"started_at"`
}

FindTrafficTimeframeParameter struct for FindTrafficTimeframeParameter

func NewFindTrafficTimeframeParameter ¶ added in v0.2.6

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.2.6

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.2.6

func (o *FindTrafficTimeframeParameter) GetEndedAt() time.Time

GetEndedAt returns the EndedAt field value

func (*FindTrafficTimeframeParameter) GetEndedAtOk ¶ added in v0.2.6

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.2.6

func (o *FindTrafficTimeframeParameter) GetStartedAt() time.Time

GetStartedAt returns the StartedAt field value

func (*FindTrafficTimeframeParameter) GetStartedAtOk ¶ added in v0.2.6

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.2.6

func (o FindTrafficTimeframeParameter) MarshalJSON() ([]byte, error)

func (*FindTrafficTimeframeParameter) SetEndedAt ¶ added in v0.2.6

func (o *FindTrafficTimeframeParameter) SetEndedAt(v time.Time)

SetEndedAt sets field value

func (*FindTrafficTimeframeParameter) SetStartedAt ¶ added in v0.2.6

func (o *FindTrafficTimeframeParameter) SetStartedAt(v time.Time)

SetStartedAt sets field value

type FindUsers200Response ¶

type FindUsers200Response struct {
	Meta  *FindDeviceEvents200ResponseMeta                                                               `json:"meta,omitempty"`
	Users []GetInterconnection200ResponsePortsInnerVirtualCircuitsVirtualCircuitsInnerAnyOf1VrfCreatedBy `json:"users,omitempty"`
}

FindUsers200Response struct for FindUsers200Response

func NewFindUsers200Response ¶

func NewFindUsers200Response() *FindUsers200Response

NewFindUsers200Response instantiates a new FindUsers200Response 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 NewFindUsers200ResponseWithDefaults ¶

func NewFindUsers200ResponseWithDefaults() *FindUsers200Response

NewFindUsers200ResponseWithDefaults instantiates a new FindUsers200Response 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 (*FindUsers200Response) GetMeta ¶

GetMeta returns the Meta field value if set, zero value otherwise.

func (*FindUsers200Response) GetMetaOk ¶

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 (*FindUsers200Response) GetUsers ¶

GetUsers returns the Users field value if set, zero value otherwise.

func (*FindUsers200Response) GetUsersOk ¶

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 (*FindUsers200Response) HasMeta ¶

func (o *FindUsers200Response) HasMeta() bool

HasMeta returns a boolean if a field has been set.

func (*FindUsers200Response) HasUsers ¶

func (o *FindUsers200Response) HasUsers() bool

HasUsers returns a boolean if a field has been set.

func (FindUsers200Response) MarshalJSON ¶

func (o FindUsers200Response) MarshalJSON() ([]byte, error)

func (*FindUsers200Response) SetMeta ¶

SetMeta gets a reference to the given FindDeviceEvents200ResponseMeta and assigns it to the Meta field.

func (*FindUsers200Response) SetUsers ¶

SetUsers gets a reference to the given []GetInterconnection200ResponsePortsInnerVirtualCircuitsVirtualCircuitsInnerAnyOf1VrfCreatedBy and assigns it to the Users field.

type FindVirtualNetworks200Response ¶

type FindVirtualNetworks200Response struct {
	VirtualNetworks []FindDeviceById200ResponseNetworkPortsInnerNativeVirtualNetwork `json:"virtual_networks,omitempty"`
}

FindVirtualNetworks200Response struct for FindVirtualNetworks200Response

func NewFindVirtualNetworks200Response ¶

func NewFindVirtualNetworks200Response() *FindVirtualNetworks200Response

NewFindVirtualNetworks200Response instantiates a new FindVirtualNetworks200Response 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 NewFindVirtualNetworks200ResponseWithDefaults ¶

func NewFindVirtualNetworks200ResponseWithDefaults() *FindVirtualNetworks200Response

NewFindVirtualNetworks200ResponseWithDefaults instantiates a new FindVirtualNetworks200Response 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 (*FindVirtualNetworks200Response) GetVirtualNetworks ¶

GetVirtualNetworks returns the VirtualNetworks field value if set, zero value otherwise.

func (*FindVirtualNetworks200Response) GetVirtualNetworksOk ¶

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 (*FindVirtualNetworks200Response) HasVirtualNetworks ¶

func (o *FindVirtualNetworks200Response) HasVirtualNetworks() bool

HasVirtualNetworks returns a boolean if a field has been set.

func (FindVirtualNetworks200Response) MarshalJSON ¶

func (o FindVirtualNetworks200Response) MarshalJSON() ([]byte, error)

func (*FindVirtualNetworks200Response) SetVirtualNetworks ¶

SetVirtualNetworks gets a reference to the given []FindDeviceById200ResponseNetworkPortsInnerNativeVirtualNetwork and assigns it to the VirtualNetworks field.

type FindVrfIpReservations200Response ¶

type FindVrfIpReservations200Response struct {
	IpAddresses []FindIPAddressById200ResponseOneOf1 `json:"ip_addresses,omitempty"`
}

FindVrfIpReservations200Response struct for FindVrfIpReservations200Response

func NewFindVrfIpReservations200Response ¶

func NewFindVrfIpReservations200Response() *FindVrfIpReservations200Response

NewFindVrfIpReservations200Response instantiates a new FindVrfIpReservations200Response 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 NewFindVrfIpReservations200ResponseWithDefaults ¶

func NewFindVrfIpReservations200ResponseWithDefaults() *FindVrfIpReservations200Response

NewFindVrfIpReservations200ResponseWithDefaults instantiates a new FindVrfIpReservations200Response 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 (*FindVrfIpReservations200Response) GetIpAddresses ¶

GetIpAddresses returns the IpAddresses field value if set, zero value otherwise.

func (*FindVrfIpReservations200Response) GetIpAddressesOk ¶

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 (*FindVrfIpReservations200Response) HasIpAddresses ¶

func (o *FindVrfIpReservations200Response) HasIpAddresses() bool

HasIpAddresses returns a boolean if a field has been set.

func (FindVrfIpReservations200Response) MarshalJSON ¶

func (o FindVrfIpReservations200Response) MarshalJSON() ([]byte, error)

func (*FindVrfIpReservations200Response) SetIpAddresses ¶

SetIpAddresses gets a reference to the given []FindIPAddressById200ResponseOneOf1 and assigns it to the IpAddresses field.

type FindVrfs200Response ¶

type FindVrfs200Response struct {
	Vrfs []GetInterconnection200ResponsePortsInnerVirtualCircuitsVirtualCircuitsInnerAnyOf1Vrf `json:"vrfs,omitempty"`
}

FindVrfs200Response struct for FindVrfs200Response

func NewFindVrfs200Response ¶

func NewFindVrfs200Response() *FindVrfs200Response

NewFindVrfs200Response instantiates a new FindVrfs200Response 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 NewFindVrfs200ResponseWithDefaults ¶

func NewFindVrfs200ResponseWithDefaults() *FindVrfs200Response

NewFindVrfs200ResponseWithDefaults instantiates a new FindVrfs200Response 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 (*FindVrfs200Response) GetVrfs ¶

GetVrfs returns the Vrfs field value if set, zero value otherwise.

func (*FindVrfs200Response) GetVrfsOk ¶

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 (*FindVrfs200Response) HasVrfs ¶

func (o *FindVrfs200Response) HasVrfs() bool

HasVrfs returns a boolean if a field has been set.

func (FindVrfs200Response) MarshalJSON ¶

func (o FindVrfs200Response) MarshalJSON() ([]byte, error)

func (*FindVrfs200Response) SetVrfs ¶

SetVrfs gets a reference to the given []GetInterconnection200ResponsePortsInnerVirtualCircuitsVirtualCircuitsInnerAnyOf1Vrf and assigns it to the Vrfs field.

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 GetBgpNeighborData200Response ¶

type GetBgpNeighborData200Response struct {
	// A list of BGP session neighbor data
	BgpNeighbors []GetBgpNeighborData200ResponseBgpNeighborsInner `json:"bgp_neighbors,omitempty"`
}

GetBgpNeighborData200Response struct for GetBgpNeighborData200Response

func NewGetBgpNeighborData200Response ¶

func NewGetBgpNeighborData200Response() *GetBgpNeighborData200Response

NewGetBgpNeighborData200Response instantiates a new GetBgpNeighborData200Response 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 NewGetBgpNeighborData200ResponseWithDefaults ¶

func NewGetBgpNeighborData200ResponseWithDefaults() *GetBgpNeighborData200Response

NewGetBgpNeighborData200ResponseWithDefaults instantiates a new GetBgpNeighborData200Response 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 (*GetBgpNeighborData200Response) GetBgpNeighbors ¶

GetBgpNeighbors returns the BgpNeighbors field value if set, zero value otherwise.

func (*GetBgpNeighborData200Response) GetBgpNeighborsOk ¶

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 (*GetBgpNeighborData200Response) HasBgpNeighbors ¶

func (o *GetBgpNeighborData200Response) HasBgpNeighbors() bool

HasBgpNeighbors returns a boolean if a field has been set.

func (GetBgpNeighborData200Response) MarshalJSON ¶

func (o GetBgpNeighborData200Response) MarshalJSON() ([]byte, error)

func (*GetBgpNeighborData200Response) SetBgpNeighbors ¶

SetBgpNeighbors gets a reference to the given []GetBgpNeighborData200ResponseBgpNeighborsInner and assigns it to the BgpNeighbors field.

type GetBgpNeighborData200ResponseBgpNeighborsInner ¶

type GetBgpNeighborData200ResponseBgpNeighborsInner struct {
	// Address Family for IP Address. Accepted values are 4 or 6
	AddressFamily *float32 `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 *float32 `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 *float32 `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 []GetBgpNeighborData200ResponseBgpNeighborsInnerRoutesInInner `json:"routes_in,omitempty"`
	// A list of outgoing routes. Only populated if the BGP session has default route enabled.
	RoutesOut []GetBgpNeighborData200ResponseBgpNeighborsInnerRoutesOutInner `json:"routes_out,omitempty"`
}

GetBgpNeighborData200ResponseBgpNeighborsInner struct for GetBgpNeighborData200ResponseBgpNeighborsInner

func NewGetBgpNeighborData200ResponseBgpNeighborsInner ¶

func NewGetBgpNeighborData200ResponseBgpNeighborsInner() *GetBgpNeighborData200ResponseBgpNeighborsInner

NewGetBgpNeighborData200ResponseBgpNeighborsInner instantiates a new GetBgpNeighborData200ResponseBgpNeighborsInner 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 NewGetBgpNeighborData200ResponseBgpNeighborsInnerWithDefaults ¶

func NewGetBgpNeighborData200ResponseBgpNeighborsInnerWithDefaults() *GetBgpNeighborData200ResponseBgpNeighborsInner

NewGetBgpNeighborData200ResponseBgpNeighborsInnerWithDefaults instantiates a new GetBgpNeighborData200ResponseBgpNeighborsInner 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 (*GetBgpNeighborData200ResponseBgpNeighborsInner) GetAddressFamily ¶

GetAddressFamily returns the AddressFamily field value if set, zero value otherwise.

func (*GetBgpNeighborData200ResponseBgpNeighborsInner) GetAddressFamilyOk ¶

func (o *GetBgpNeighborData200ResponseBgpNeighborsInner) GetAddressFamilyOk() (*float32, 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 (*GetBgpNeighborData200ResponseBgpNeighborsInner) GetCustomerAs ¶

GetCustomerAs returns the CustomerAs field value if set, zero value otherwise.

func (*GetBgpNeighborData200ResponseBgpNeighborsInner) GetCustomerAsOk ¶

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 (*GetBgpNeighborData200ResponseBgpNeighborsInner) GetCustomerIp ¶

GetCustomerIp returns the CustomerIp field value if set, zero value otherwise.

func (*GetBgpNeighborData200ResponseBgpNeighborsInner) GetCustomerIpOk ¶

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 (*GetBgpNeighborData200ResponseBgpNeighborsInner) GetMd5Enabled ¶

GetMd5Enabled returns the Md5Enabled field value if set, zero value otherwise.

func (*GetBgpNeighborData200ResponseBgpNeighborsInner) GetMd5EnabledOk ¶

func (o *GetBgpNeighborData200ResponseBgpNeighborsInner) 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 (*GetBgpNeighborData200ResponseBgpNeighborsInner) GetMd5Password ¶

GetMd5Password returns the Md5Password field value if set, zero value otherwise.

func (*GetBgpNeighborData200ResponseBgpNeighborsInner) GetMd5PasswordOk ¶

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 (*GetBgpNeighborData200ResponseBgpNeighborsInner) GetMultihop ¶

GetMultihop returns the Multihop field value if set, zero value otherwise.

func (*GetBgpNeighborData200ResponseBgpNeighborsInner) GetMultihopOk ¶

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 (*GetBgpNeighborData200ResponseBgpNeighborsInner) GetPeerAs ¶

GetPeerAs returns the PeerAs field value if set, zero value otherwise.

func (*GetBgpNeighborData200ResponseBgpNeighborsInner) GetPeerAsOk ¶

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 (*GetBgpNeighborData200ResponseBgpNeighborsInner) GetPeerIps ¶

GetPeerIps returns the PeerIps field value if set, zero value otherwise.

func (*GetBgpNeighborData200ResponseBgpNeighborsInner) GetPeerIpsOk ¶

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 (*GetBgpNeighborData200ResponseBgpNeighborsInner) GetRoutesIn ¶

GetRoutesIn returns the RoutesIn field value if set, zero value otherwise.

func (*GetBgpNeighborData200ResponseBgpNeighborsInner) GetRoutesInOk ¶

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 (*GetBgpNeighborData200ResponseBgpNeighborsInner) GetRoutesOut ¶

GetRoutesOut returns the RoutesOut field value if set, zero value otherwise.

func (*GetBgpNeighborData200ResponseBgpNeighborsInner) GetRoutesOutOk ¶

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 (*GetBgpNeighborData200ResponseBgpNeighborsInner) HasAddressFamily ¶

HasAddressFamily returns a boolean if a field has been set.

func (*GetBgpNeighborData200ResponseBgpNeighborsInner) HasCustomerAs ¶

HasCustomerAs returns a boolean if a field has been set.

func (*GetBgpNeighborData200ResponseBgpNeighborsInner) HasCustomerIp ¶

HasCustomerIp returns a boolean if a field has been set.

func (*GetBgpNeighborData200ResponseBgpNeighborsInner) HasMd5Enabled ¶

HasMd5Enabled returns a boolean if a field has been set.

func (*GetBgpNeighborData200ResponseBgpNeighborsInner) HasMd5Password ¶

HasMd5Password returns a boolean if a field has been set.

func (*GetBgpNeighborData200ResponseBgpNeighborsInner) HasMultihop ¶

HasMultihop returns a boolean if a field has been set.

func (*GetBgpNeighborData200ResponseBgpNeighborsInner) HasPeerAs ¶

HasPeerAs returns a boolean if a field has been set.

func (*GetBgpNeighborData200ResponseBgpNeighborsInner) HasPeerIps ¶

HasPeerIps returns a boolean if a field has been set.

func (*GetBgpNeighborData200ResponseBgpNeighborsInner) HasRoutesIn ¶

HasRoutesIn returns a boolean if a field has been set.

func (*GetBgpNeighborData200ResponseBgpNeighborsInner) HasRoutesOut ¶

HasRoutesOut returns a boolean if a field has been set.

func (GetBgpNeighborData200ResponseBgpNeighborsInner) MarshalJSON ¶

func (*GetBgpNeighborData200ResponseBgpNeighborsInner) SetAddressFamily ¶

SetAddressFamily gets a reference to the given float32 and assigns it to the AddressFamily field.

func (*GetBgpNeighborData200ResponseBgpNeighborsInner) SetCustomerAs ¶

SetCustomerAs gets a reference to the given float32 and assigns it to the CustomerAs field.

func (*GetBgpNeighborData200ResponseBgpNeighborsInner) SetCustomerIp ¶

SetCustomerIp gets a reference to the given string and assigns it to the CustomerIp field.

func (*GetBgpNeighborData200ResponseBgpNeighborsInner) SetMd5Enabled ¶

SetMd5Enabled gets a reference to the given bool and assigns it to the Md5Enabled field.

func (*GetBgpNeighborData200ResponseBgpNeighborsInner) SetMd5Password ¶

SetMd5Password gets a reference to the given string and assigns it to the Md5Password field.

func (*GetBgpNeighborData200ResponseBgpNeighborsInner) SetMultihop ¶

SetMultihop gets a reference to the given bool and assigns it to the Multihop field.

func (*GetBgpNeighborData200ResponseBgpNeighborsInner) SetPeerAs ¶

SetPeerAs gets a reference to the given float32 and assigns it to the PeerAs field.

func (*GetBgpNeighborData200ResponseBgpNeighborsInner) SetPeerIps ¶

SetPeerIps gets a reference to the given []string and assigns it to the PeerIps field.

func (*GetBgpNeighborData200ResponseBgpNeighborsInner) SetRoutesIn ¶

SetRoutesIn gets a reference to the given []GetBgpNeighborData200ResponseBgpNeighborsInnerRoutesInInner and assigns it to the RoutesIn field.

func (*GetBgpNeighborData200ResponseBgpNeighborsInner) SetRoutesOut ¶

SetRoutesOut gets a reference to the given []GetBgpNeighborData200ResponseBgpNeighborsInnerRoutesOutInner and assigns it to the RoutesOut field.

type GetBgpNeighborData200ResponseBgpNeighborsInnerRoutesInInner ¶

type GetBgpNeighborData200ResponseBgpNeighborsInnerRoutesInInner struct {
	Exact *bool `json:"exact,omitempty"`
	// A project network
	Route *string `json:"route,omitempty"`
}

GetBgpNeighborData200ResponseBgpNeighborsInnerRoutesInInner struct for GetBgpNeighborData200ResponseBgpNeighborsInnerRoutesInInner

func NewGetBgpNeighborData200ResponseBgpNeighborsInnerRoutesInInner ¶

func NewGetBgpNeighborData200ResponseBgpNeighborsInnerRoutesInInner() *GetBgpNeighborData200ResponseBgpNeighborsInnerRoutesInInner

NewGetBgpNeighborData200ResponseBgpNeighborsInnerRoutesInInner instantiates a new GetBgpNeighborData200ResponseBgpNeighborsInnerRoutesInInner 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 NewGetBgpNeighborData200ResponseBgpNeighborsInnerRoutesInInnerWithDefaults ¶

func NewGetBgpNeighborData200ResponseBgpNeighborsInnerRoutesInInnerWithDefaults() *GetBgpNeighborData200ResponseBgpNeighborsInnerRoutesInInner

NewGetBgpNeighborData200ResponseBgpNeighborsInnerRoutesInInnerWithDefaults instantiates a new GetBgpNeighborData200ResponseBgpNeighborsInnerRoutesInInner 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 (*GetBgpNeighborData200ResponseBgpNeighborsInnerRoutesInInner) GetExact ¶

GetExact returns the Exact field value if set, zero value otherwise.

func (*GetBgpNeighborData200ResponseBgpNeighborsInnerRoutesInInner) GetExactOk ¶

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 (*GetBgpNeighborData200ResponseBgpNeighborsInnerRoutesInInner) GetRoute ¶

GetRoute returns the Route field value if set, zero value otherwise.

func (*GetBgpNeighborData200ResponseBgpNeighborsInnerRoutesInInner) GetRouteOk ¶

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 (*GetBgpNeighborData200ResponseBgpNeighborsInnerRoutesInInner) HasExact ¶

HasExact returns a boolean if a field has been set.

func (*GetBgpNeighborData200ResponseBgpNeighborsInnerRoutesInInner) HasRoute ¶

HasRoute returns a boolean if a field has been set.

func (GetBgpNeighborData200ResponseBgpNeighborsInnerRoutesInInner) MarshalJSON ¶

func (*GetBgpNeighborData200ResponseBgpNeighborsInnerRoutesInInner) SetExact ¶

SetExact gets a reference to the given bool and assigns it to the Exact field.

func (*GetBgpNeighborData200ResponseBgpNeighborsInnerRoutesInInner) SetRoute ¶

SetRoute gets a reference to the given string and assigns it to the Route field.

type GetBgpNeighborData200ResponseBgpNeighborsInnerRoutesOutInner ¶

type GetBgpNeighborData200ResponseBgpNeighborsInnerRoutesOutInner struct {
	Exact *bool   `json:"exact,omitempty"`
	Route *string `json:"route,omitempty"`
}

GetBgpNeighborData200ResponseBgpNeighborsInnerRoutesOutInner struct for GetBgpNeighborData200ResponseBgpNeighborsInnerRoutesOutInner

func NewGetBgpNeighborData200ResponseBgpNeighborsInnerRoutesOutInner ¶

func NewGetBgpNeighborData200ResponseBgpNeighborsInnerRoutesOutInner() *GetBgpNeighborData200ResponseBgpNeighborsInnerRoutesOutInner

NewGetBgpNeighborData200ResponseBgpNeighborsInnerRoutesOutInner instantiates a new GetBgpNeighborData200ResponseBgpNeighborsInnerRoutesOutInner 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 NewGetBgpNeighborData200ResponseBgpNeighborsInnerRoutesOutInnerWithDefaults ¶

func NewGetBgpNeighborData200ResponseBgpNeighborsInnerRoutesOutInnerWithDefaults() *GetBgpNeighborData200ResponseBgpNeighborsInnerRoutesOutInner

NewGetBgpNeighborData200ResponseBgpNeighborsInnerRoutesOutInnerWithDefaults instantiates a new GetBgpNeighborData200ResponseBgpNeighborsInnerRoutesOutInner 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 (*GetBgpNeighborData200ResponseBgpNeighborsInnerRoutesOutInner) GetExact ¶

GetExact returns the Exact field value if set, zero value otherwise.

func (*GetBgpNeighborData200ResponseBgpNeighborsInnerRoutesOutInner) GetExactOk ¶

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 (*GetBgpNeighborData200ResponseBgpNeighborsInnerRoutesOutInner) GetRoute ¶

GetRoute returns the Route field value if set, zero value otherwise.

func (*GetBgpNeighborData200ResponseBgpNeighborsInnerRoutesOutInner) GetRouteOk ¶

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 (*GetBgpNeighborData200ResponseBgpNeighborsInnerRoutesOutInner) HasExact ¶

HasExact returns a boolean if a field has been set.

func (*GetBgpNeighborData200ResponseBgpNeighborsInnerRoutesOutInner) HasRoute ¶

HasRoute returns a boolean if a field has been set.

func (GetBgpNeighborData200ResponseBgpNeighborsInnerRoutesOutInner) MarshalJSON ¶

func (*GetBgpNeighborData200ResponseBgpNeighborsInnerRoutesOutInner) SetExact ¶

SetExact gets a reference to the given bool and assigns it to the Exact field.

func (*GetBgpNeighborData200ResponseBgpNeighborsInnerRoutesOutInner) SetRoute ¶

SetRoute gets a reference to the given string and assigns it to the Route field.

type GetInterconnection200Response ¶

type GetInterconnection200Response struct {
	ContactEmail *string                               `json:"contact_email,omitempty"`
	Description  *string                               `json:"description,omitempty"`
	Facility     *FindBatchById200ResponseDevicesInner `json:"facility,omitempty"`
	Id           *string                               `json:"id,omitempty"`
	Metro        *GetInterconnection200ResponseMetro   `json:"metro,omitempty"`
	// 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.
	Mode         *string                               `json:"mode,omitempty"`
	Name         *string                               `json:"name,omitempty"`
	Organization *FindBatchById200ResponseDevicesInner `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 []GetInterconnection200ResponsePortsInner `json:"ports,omitempty"`
	// Either 'primary', meaning a single interconnection, or 'redundant', meaning a redundant interconnection.
	Redundancy *string `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. For access to Fabric VCs, which are not generally available, please contact our Support Team for more details.
	ServiceTokens []GetInterconnection200ResponseServiceTokensInner `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). For access to Fabric VCs, which are not generally available, please contact our Support Team for more details.
	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 will be deprecated when we release Fabric VCs. With the release of Fabric VCs that use A-Side and Z-Side service tokens, we will no longer issue these tokens for any shared interconnections created after the release of Fabric VCs. This token will also never be issued for dedicated interconnections. For access to Fabric VCs, which are not generally available, please contact our Support Team for more details.
	Token *string `json:"token,omitempty"`
	// 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. For access to Fabric VCs, which are not generally available, please contact our Support Team for more details.
	Type *string `json:"type,omitempty"`
}

GetInterconnection200Response struct for GetInterconnection200Response

func NewGetInterconnection200Response ¶

func NewGetInterconnection200Response() *GetInterconnection200Response

NewGetInterconnection200Response instantiates a new GetInterconnection200Response 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 NewGetInterconnection200ResponseWithDefaults ¶

func NewGetInterconnection200ResponseWithDefaults() *GetInterconnection200Response

NewGetInterconnection200ResponseWithDefaults instantiates a new GetInterconnection200Response 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 (*GetInterconnection200Response) GetContactEmail ¶

func (o *GetInterconnection200Response) GetContactEmail() string

GetContactEmail returns the ContactEmail field value if set, zero value otherwise.

func (*GetInterconnection200Response) GetContactEmailOk ¶

func (o *GetInterconnection200Response) 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 (*GetInterconnection200Response) GetDescription ¶

func (o *GetInterconnection200Response) GetDescription() string

GetDescription returns the Description field value if set, zero value otherwise.

func (*GetInterconnection200Response) GetDescriptionOk ¶

func (o *GetInterconnection200Response) 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 (*GetInterconnection200Response) GetFacility ¶

GetFacility returns the Facility field value if set, zero value otherwise.

func (*GetInterconnection200Response) GetFacilityOk ¶

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 (*GetInterconnection200Response) GetId ¶

GetId returns the Id field value if set, zero value otherwise.

func (*GetInterconnection200Response) GetIdOk ¶

func (o *GetInterconnection200Response) 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 (*GetInterconnection200Response) GetMetro ¶

GetMetro returns the Metro field value if set, zero value otherwise.

func (*GetInterconnection200Response) GetMetroOk ¶

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 (*GetInterconnection200Response) GetMode ¶

GetMode returns the Mode field value if set, zero value otherwise.

func (*GetInterconnection200Response) GetModeOk ¶

func (o *GetInterconnection200Response) GetModeOk() (*string, 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 (*GetInterconnection200Response) GetName ¶

GetName returns the Name field value if set, zero value otherwise.

func (*GetInterconnection200Response) GetNameOk ¶

func (o *GetInterconnection200Response) 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 (*GetInterconnection200Response) GetOrganization ¶

GetOrganization returns the Organization field value if set, zero value otherwise.

func (*GetInterconnection200Response) GetOrganizationOk ¶

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 (*GetInterconnection200Response) GetPorts ¶

GetPorts returns the Ports field value if set, zero value otherwise.

func (*GetInterconnection200Response) GetPortsOk ¶

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 (*GetInterconnection200Response) GetRedundancy ¶

func (o *GetInterconnection200Response) GetRedundancy() string

GetRedundancy returns the Redundancy field value if set, zero value otherwise.

func (*GetInterconnection200Response) GetRedundancyOk ¶

func (o *GetInterconnection200Response) 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 (*GetInterconnection200Response) GetServiceTokens ¶

GetServiceTokens returns the ServiceTokens field value if set, zero value otherwise.

func (*GetInterconnection200Response) GetServiceTokensOk ¶

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 (*GetInterconnection200Response) GetSpeed ¶

func (o *GetInterconnection200Response) GetSpeed() int32

GetSpeed returns the Speed field value if set, zero value otherwise.

func (*GetInterconnection200Response) GetSpeedOk ¶

func (o *GetInterconnection200Response) 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 (*GetInterconnection200Response) GetStatus ¶

func (o *GetInterconnection200Response) GetStatus() string

GetStatus returns the Status field value if set, zero value otherwise.

func (*GetInterconnection200Response) GetStatusOk ¶

func (o *GetInterconnection200Response) 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 (*GetInterconnection200Response) GetTags ¶

func (o *GetInterconnection200Response) GetTags() []string

GetTags returns the Tags field value if set, zero value otherwise.

func (*GetInterconnection200Response) GetTagsOk ¶

func (o *GetInterconnection200Response) 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 (*GetInterconnection200Response) GetToken ¶

func (o *GetInterconnection200Response) GetToken() string

GetToken returns the Token field value if set, zero value otherwise.

func (*GetInterconnection200Response) GetTokenOk ¶

func (o *GetInterconnection200Response) 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 (*GetInterconnection200Response) GetType ¶

GetType returns the Type field value if set, zero value otherwise.

func (*GetInterconnection200Response) GetTypeOk ¶

func (o *GetInterconnection200Response) 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 (*GetInterconnection200Response) HasContactEmail ¶

func (o *GetInterconnection200Response) HasContactEmail() bool

HasContactEmail returns a boolean if a field has been set.

func (*GetInterconnection200Response) HasDescription ¶

func (o *GetInterconnection200Response) HasDescription() bool

HasDescription returns a boolean if a field has been set.

func (*GetInterconnection200Response) HasFacility ¶

func (o *GetInterconnection200Response) HasFacility() bool

HasFacility returns a boolean if a field has been set.

func (*GetInterconnection200Response) HasId ¶

HasId returns a boolean if a field has been set.

func (*GetInterconnection200Response) HasMetro ¶

func (o *GetInterconnection200Response) HasMetro() bool

HasMetro returns a boolean if a field has been set.

func (*GetInterconnection200Response) HasMode ¶

func (o *GetInterconnection200Response) HasMode() bool

HasMode returns a boolean if a field has been set.

func (*GetInterconnection200Response) HasName ¶

func (o *GetInterconnection200Response) HasName() bool

HasName returns a boolean if a field has been set.

func (*GetInterconnection200Response) HasOrganization ¶

func (o *GetInterconnection200Response) HasOrganization() bool

HasOrganization returns a boolean if a field has been set.

func (*GetInterconnection200Response) HasPorts ¶

func (o *GetInterconnection200Response) HasPorts() bool

HasPorts returns a boolean if a field has been set.

func (*GetInterconnection200Response) HasRedundancy ¶

func (o *GetInterconnection200Response) HasRedundancy() bool

HasRedundancy returns a boolean if a field has been set.

func (*GetInterconnection200Response) HasServiceTokens ¶

func (o *GetInterconnection200Response) HasServiceTokens() bool

HasServiceTokens returns a boolean if a field has been set.

func (*GetInterconnection200Response) HasSpeed ¶

func (o *GetInterconnection200Response) HasSpeed() bool

HasSpeed returns a boolean if a field has been set.

func (*GetInterconnection200Response) HasStatus ¶

func (o *GetInterconnection200Response) HasStatus() bool

HasStatus returns a boolean if a field has been set.

func (*GetInterconnection200Response) HasTags ¶

func (o *GetInterconnection200Response) HasTags() bool

HasTags returns a boolean if a field has been set.

func (*GetInterconnection200Response) HasToken ¶

func (o *GetInterconnection200Response) HasToken() bool

HasToken returns a boolean if a field has been set.

func (*GetInterconnection200Response) HasType ¶

func (o *GetInterconnection200Response) HasType() bool

HasType returns a boolean if a field has been set.

func (GetInterconnection200Response) MarshalJSON ¶

func (o GetInterconnection200Response) MarshalJSON() ([]byte, error)

func (*GetInterconnection200Response) SetContactEmail ¶

func (o *GetInterconnection200Response) SetContactEmail(v string)

SetContactEmail gets a reference to the given string and assigns it to the ContactEmail field.

func (*GetInterconnection200Response) SetDescription ¶

func (o *GetInterconnection200Response) SetDescription(v string)

SetDescription gets a reference to the given string and assigns it to the Description field.

func (*GetInterconnection200Response) SetFacility ¶

SetFacility gets a reference to the given FindBatchById200ResponseDevicesInner and assigns it to the Facility field.

func (*GetInterconnection200Response) SetId ¶

SetId gets a reference to the given string and assigns it to the Id field.

func (*GetInterconnection200Response) SetMetro ¶

SetMetro gets a reference to the given GetInterconnection200ResponseMetro and assigns it to the Metro field.

func (*GetInterconnection200Response) SetMode ¶

func (o *GetInterconnection200Response) SetMode(v string)

SetMode gets a reference to the given string and assigns it to the Mode field.

func (*GetInterconnection200Response) SetName ¶

func (o *GetInterconnection200Response) SetName(v string)

SetName gets a reference to the given string and assigns it to the Name field.

func (*GetInterconnection200Response) SetOrganization ¶

SetOrganization gets a reference to the given FindBatchById200ResponseDevicesInner and assigns it to the Organization field.

func (*GetInterconnection200Response) SetPorts ¶

SetPorts gets a reference to the given []GetInterconnection200ResponsePortsInner and assigns it to the Ports field.

func (*GetInterconnection200Response) SetRedundancy ¶

func (o *GetInterconnection200Response) SetRedundancy(v string)

SetRedundancy gets a reference to the given string and assigns it to the Redundancy field.

func (*GetInterconnection200Response) SetServiceTokens ¶

SetServiceTokens gets a reference to the given []GetInterconnection200ResponseServiceTokensInner and assigns it to the ServiceTokens field.

func (*GetInterconnection200Response) SetSpeed ¶

func (o *GetInterconnection200Response) SetSpeed(v int32)

SetSpeed gets a reference to the given int32 and assigns it to the Speed field.

func (*GetInterconnection200Response) SetStatus ¶

func (o *GetInterconnection200Response) SetStatus(v string)

SetStatus gets a reference to the given string and assigns it to the Status field.

func (*GetInterconnection200Response) SetTags ¶

func (o *GetInterconnection200Response) SetTags(v []string)

SetTags gets a reference to the given []string and assigns it to the Tags field.

func (*GetInterconnection200Response) SetToken ¶

func (o *GetInterconnection200Response) SetToken(v string)

SetToken gets a reference to the given string and assigns it to the Token field.

func (*GetInterconnection200Response) SetType ¶

func (o *GetInterconnection200Response) SetType(v string)

SetType gets a reference to the given string and assigns it to the Type field.

type GetInterconnection200ResponseMetro ¶

type GetInterconnection200ResponseMetro struct {
	Code    *string `json:"code,omitempty"`
	Country *string `json:"country,omitempty"`
	Id      *string `json:"id,omitempty"`
	Name    *string `json:"name,omitempty"`
}

GetInterconnection200ResponseMetro The location of where the shared or Dedicated Port is located. For interconnections with Dedicated Ports, this will be the location of the Dedicated Ports. For 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), 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. For access to Fabric VCs, which are not generally available please contact our Support Team for more details.

func NewGetInterconnection200ResponseMetro ¶

func NewGetInterconnection200ResponseMetro() *GetInterconnection200ResponseMetro

NewGetInterconnection200ResponseMetro instantiates a new GetInterconnection200ResponseMetro 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 NewGetInterconnection200ResponseMetroWithDefaults ¶

func NewGetInterconnection200ResponseMetroWithDefaults() *GetInterconnection200ResponseMetro

NewGetInterconnection200ResponseMetroWithDefaults instantiates a new GetInterconnection200ResponseMetro 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 (*GetInterconnection200ResponseMetro) GetCode ¶

GetCode returns the Code field value if set, zero value otherwise.

func (*GetInterconnection200ResponseMetro) GetCodeOk ¶

func (o *GetInterconnection200ResponseMetro) 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 (*GetInterconnection200ResponseMetro) GetCountry ¶

GetCountry returns the Country field value if set, zero value otherwise.

func (*GetInterconnection200ResponseMetro) GetCountryOk ¶

func (o *GetInterconnection200ResponseMetro) 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 (*GetInterconnection200ResponseMetro) GetId ¶

GetId returns the Id field value if set, zero value otherwise.

func (*GetInterconnection200ResponseMetro) 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 (*GetInterconnection200ResponseMetro) GetName ¶

GetName returns the Name field value if set, zero value otherwise.

func (*GetInterconnection200ResponseMetro) GetNameOk ¶

func (o *GetInterconnection200ResponseMetro) 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 (*GetInterconnection200ResponseMetro) HasCode ¶

HasCode returns a boolean if a field has been set.

func (*GetInterconnection200ResponseMetro) HasCountry ¶

func (o *GetInterconnection200ResponseMetro) HasCountry() bool

HasCountry returns a boolean if a field has been set.

func (*GetInterconnection200ResponseMetro) HasId ¶

HasId returns a boolean if a field has been set.

func (*GetInterconnection200ResponseMetro) HasName ¶

HasName returns a boolean if a field has been set.

func (GetInterconnection200ResponseMetro) MarshalJSON ¶

func (o GetInterconnection200ResponseMetro) MarshalJSON() ([]byte, error)

func (*GetInterconnection200ResponseMetro) SetCode ¶

SetCode gets a reference to the given string and assigns it to the Code field.

func (*GetInterconnection200ResponseMetro) SetCountry ¶

func (o *GetInterconnection200ResponseMetro) SetCountry(v string)

SetCountry gets a reference to the given string and assigns it to the Country field.

func (*GetInterconnection200ResponseMetro) SetId ¶

SetId gets a reference to the given string and assigns it to the Id field.

func (*GetInterconnection200ResponseMetro) SetName ¶

SetName gets a reference to the given string and assigns it to the Name field.

type GetInterconnection200ResponseMetroAllOf ¶

type GetInterconnection200ResponseMetroAllOf struct {
	Code    *string `json:"code,omitempty"`
	Country *string `json:"country,omitempty"`
	Id      *string `json:"id,omitempty"`
	Name    *string `json:"name,omitempty"`
}

GetInterconnection200ResponseMetroAllOf struct for GetInterconnection200ResponseMetroAllOf

func NewGetInterconnection200ResponseMetroAllOf ¶

func NewGetInterconnection200ResponseMetroAllOf() *GetInterconnection200ResponseMetroAllOf

NewGetInterconnection200ResponseMetroAllOf instantiates a new GetInterconnection200ResponseMetroAllOf 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 NewGetInterconnection200ResponseMetroAllOfWithDefaults ¶

func NewGetInterconnection200ResponseMetroAllOfWithDefaults() *GetInterconnection200ResponseMetroAllOf

NewGetInterconnection200ResponseMetroAllOfWithDefaults instantiates a new GetInterconnection200ResponseMetroAllOf 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 (*GetInterconnection200ResponseMetroAllOf) GetCode ¶

GetCode returns the Code field value if set, zero value otherwise.

func (*GetInterconnection200ResponseMetroAllOf) GetCodeOk ¶

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 (*GetInterconnection200ResponseMetroAllOf) GetCountry ¶

GetCountry returns the Country field value if set, zero value otherwise.

func (*GetInterconnection200ResponseMetroAllOf) GetCountryOk ¶

func (o *GetInterconnection200ResponseMetroAllOf) 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 (*GetInterconnection200ResponseMetroAllOf) GetId ¶

GetId returns the Id field value if set, zero value otherwise.

func (*GetInterconnection200ResponseMetroAllOf) 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 (*GetInterconnection200ResponseMetroAllOf) GetName ¶

GetName returns the Name field value if set, zero value otherwise.

func (*GetInterconnection200ResponseMetroAllOf) GetNameOk ¶

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 (*GetInterconnection200ResponseMetroAllOf) HasCode ¶

HasCode returns a boolean if a field has been set.

func (*GetInterconnection200ResponseMetroAllOf) HasCountry ¶

HasCountry returns a boolean if a field has been set.

func (*GetInterconnection200ResponseMetroAllOf) HasId ¶

HasId returns a boolean if a field has been set.

func (*GetInterconnection200ResponseMetroAllOf) HasName ¶

HasName returns a boolean if a field has been set.

func (GetInterconnection200ResponseMetroAllOf) MarshalJSON ¶

func (o GetInterconnection200ResponseMetroAllOf) MarshalJSON() ([]byte, error)

func (*GetInterconnection200ResponseMetroAllOf) SetCode ¶

SetCode gets a reference to the given string and assigns it to the Code field.

func (*GetInterconnection200ResponseMetroAllOf) SetCountry ¶

SetCountry gets a reference to the given string and assigns it to the Country field.

func (*GetInterconnection200ResponseMetroAllOf) SetId ¶

SetId gets a reference to the given string and assigns it to the Id field.

func (*GetInterconnection200ResponseMetroAllOf) SetName ¶

SetName gets a reference to the given string and assigns it to the Name field.

type GetInterconnection200ResponsePortsInner ¶

type GetInterconnection200ResponsePortsInner struct {
	Id           *string                               `json:"id,omitempty"`
	Organization *FindBatchById200ResponseDevicesInner `json:"organization,omitempty"`
	// Either 'primary' or 'secondary'.
	Role *string `json:"role,omitempty"`
	// 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.
	Status *string `json:"status,omitempty"`
	// A switch 'short ID'
	SwitchId        *string                                                 `json:"switch_id,omitempty"`
	VirtualCircuits *GetInterconnection200ResponsePortsInnerVirtualCircuits `json:"virtual_circuits,omitempty"`
}

GetInterconnection200ResponsePortsInner struct for GetInterconnection200ResponsePortsInner

func NewGetInterconnection200ResponsePortsInner ¶

func NewGetInterconnection200ResponsePortsInner() *GetInterconnection200ResponsePortsInner

NewGetInterconnection200ResponsePortsInner instantiates a new GetInterconnection200ResponsePortsInner 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 NewGetInterconnection200ResponsePortsInnerWithDefaults ¶

func NewGetInterconnection200ResponsePortsInnerWithDefaults() *GetInterconnection200ResponsePortsInner

NewGetInterconnection200ResponsePortsInnerWithDefaults instantiates a new GetInterconnection200ResponsePortsInner 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 (*GetInterconnection200ResponsePortsInner) GetId ¶

GetId returns the Id field value if set, zero value otherwise.

func (*GetInterconnection200ResponsePortsInner) 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 (*GetInterconnection200ResponsePortsInner) GetOrganization ¶

GetOrganization returns the Organization field value if set, zero value otherwise.

func (*GetInterconnection200ResponsePortsInner) GetOrganizationOk ¶

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 (*GetInterconnection200ResponsePortsInner) GetRole ¶

GetRole returns the Role field value if set, zero value otherwise.

func (*GetInterconnection200ResponsePortsInner) 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 (*GetInterconnection200ResponsePortsInner) GetStatus ¶

GetStatus returns the Status field value if set, zero value otherwise.

func (*GetInterconnection200ResponsePortsInner) GetStatusOk ¶

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 (*GetInterconnection200ResponsePortsInner) GetSwitchId ¶

GetSwitchId returns the SwitchId field value if set, zero value otherwise.

func (*GetInterconnection200ResponsePortsInner) GetSwitchIdOk ¶

func (o *GetInterconnection200ResponsePortsInner) 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 (*GetInterconnection200ResponsePortsInner) GetVirtualCircuits ¶

GetVirtualCircuits returns the VirtualCircuits field value if set, zero value otherwise.

func (*GetInterconnection200ResponsePortsInner) GetVirtualCircuitsOk ¶

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 (*GetInterconnection200ResponsePortsInner) HasId ¶

HasId returns a boolean if a field has been set.

func (*GetInterconnection200ResponsePortsInner) HasOrganization ¶

func (o *GetInterconnection200ResponsePortsInner) HasOrganization() bool

HasOrganization returns a boolean if a field has been set.

func (*GetInterconnection200ResponsePortsInner) HasRole ¶

HasRole returns a boolean if a field has been set.

func (*GetInterconnection200ResponsePortsInner) HasStatus ¶

HasStatus returns a boolean if a field has been set.

func (*GetInterconnection200ResponsePortsInner) HasSwitchId ¶

HasSwitchId returns a boolean if a field has been set.

func (*GetInterconnection200ResponsePortsInner) HasVirtualCircuits ¶

func (o *GetInterconnection200ResponsePortsInner) HasVirtualCircuits() bool

HasVirtualCircuits returns a boolean if a field has been set.

func (GetInterconnection200ResponsePortsInner) MarshalJSON ¶

func (o GetInterconnection200ResponsePortsInner) MarshalJSON() ([]byte, error)

func (*GetInterconnection200ResponsePortsInner) SetId ¶

SetId gets a reference to the given string and assigns it to the Id field.

func (*GetInterconnection200ResponsePortsInner) SetOrganization ¶

SetOrganization gets a reference to the given FindBatchById200ResponseDevicesInner and assigns it to the Organization field.

func (*GetInterconnection200ResponsePortsInner) SetRole ¶

SetRole gets a reference to the given string and assigns it to the Role field.

func (*GetInterconnection200ResponsePortsInner) SetStatus ¶

SetStatus gets a reference to the given string and assigns it to the Status field.

func (*GetInterconnection200ResponsePortsInner) SetSwitchId ¶

SetSwitchId gets a reference to the given string and assigns it to the SwitchId field.

func (*GetInterconnection200ResponsePortsInner) SetVirtualCircuits ¶

SetVirtualCircuits gets a reference to the given GetInterconnection200ResponsePortsInnerVirtualCircuits and assigns it to the VirtualCircuits field.

type GetInterconnection200ResponsePortsInnerVirtualCircuits ¶

type GetInterconnection200ResponsePortsInnerVirtualCircuits struct {
	VirtualCircuits []GetInterconnection200ResponsePortsInnerVirtualCircuitsVirtualCircuitsInner `json:"virtual_circuits,omitempty"`
}

GetInterconnection200ResponsePortsInnerVirtualCircuits struct for GetInterconnection200ResponsePortsInnerVirtualCircuits

func NewGetInterconnection200ResponsePortsInnerVirtualCircuits ¶

func NewGetInterconnection200ResponsePortsInnerVirtualCircuits() *GetInterconnection200ResponsePortsInnerVirtualCircuits

NewGetInterconnection200ResponsePortsInnerVirtualCircuits instantiates a new GetInterconnection200ResponsePortsInnerVirtualCircuits 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 NewGetInterconnection200ResponsePortsInnerVirtualCircuitsWithDefaults ¶

func NewGetInterconnection200ResponsePortsInnerVirtualCircuitsWithDefaults() *GetInterconnection200ResponsePortsInnerVirtualCircuits

NewGetInterconnection200ResponsePortsInnerVirtualCircuitsWithDefaults instantiates a new GetInterconnection200ResponsePortsInnerVirtualCircuits 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 (*GetInterconnection200ResponsePortsInnerVirtualCircuits) GetVirtualCircuits ¶

GetVirtualCircuits returns the VirtualCircuits field value if set, zero value otherwise.

func (*GetInterconnection200ResponsePortsInnerVirtualCircuits) GetVirtualCircuitsOk ¶

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 (*GetInterconnection200ResponsePortsInnerVirtualCircuits) HasVirtualCircuits ¶

HasVirtualCircuits returns a boolean if a field has been set.

func (GetInterconnection200ResponsePortsInnerVirtualCircuits) MarshalJSON ¶

func (*GetInterconnection200ResponsePortsInnerVirtualCircuits) SetVirtualCircuits ¶

SetVirtualCircuits gets a reference to the given []GetInterconnection200ResponsePortsInnerVirtualCircuitsVirtualCircuitsInner and assigns it to the VirtualCircuits field.

type GetInterconnection200ResponsePortsInnerVirtualCircuitsVirtualCircuitsInner ¶ added in v0.2.6

type GetInterconnection200ResponsePortsInnerVirtualCircuitsVirtualCircuitsInner struct {
	GetInterconnection200ResponsePortsInnerVirtualCircuitsVirtualCircuitsInnerAnyOf  *GetInterconnection200ResponsePortsInnerVirtualCircuitsVirtualCircuitsInnerAnyOf
	GetInterconnection200ResponsePortsInnerVirtualCircuitsVirtualCircuitsInnerAnyOf1 *GetInterconnection200ResponsePortsInnerVirtualCircuitsVirtualCircuitsInnerAnyOf1
}

GetInterconnection200ResponsePortsInnerVirtualCircuitsVirtualCircuitsInner struct for GetInterconnection200ResponsePortsInnerVirtualCircuitsVirtualCircuitsInner

func (*GetInterconnection200ResponsePortsInnerVirtualCircuitsVirtualCircuitsInner) MarshalJSON ¶ added in v0.2.6

Marshal data from the first non-nil pointers in the struct to JSON

func (*GetInterconnection200ResponsePortsInnerVirtualCircuitsVirtualCircuitsInner) UnmarshalJSON ¶ added in v0.2.6

Unmarshal JSON data into any of the pointers in the struct

type GetInterconnection200ResponsePortsInnerVirtualCircuitsVirtualCircuitsInnerAnyOf ¶ added in v0.2.6

type GetInterconnection200ResponsePortsInnerVirtualCircuitsVirtualCircuitsInnerAnyOf 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"`
	Description string                               `json:"description"`
	Id          string                               `json:"id"`
	Name        string                               `json:"name"`
	NniVlan     int32                                `json:"nni_vlan"`
	Port        FindBatchById200ResponseDevicesInner `json:"port"`
	Project     FindBatchById200ResponseDevicesInner `json:"project"`
	// 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"`
	// The status of a Virtual Circuit is always 'Pending' on creation. The status can turn to 'Waiting on Customer VLAN' if the 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, which are not generally available, it will only change to 'Waiting on Customer VLAN' once the corresponding Fabric connection has been found on the Fabric side. Once a VLAN is set on the Virtual Circuit (which for Fabric VCs, can be set on creation) 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 until it is fully deleted. If the Virtual Circuit is on a Fabric VC, it can also change into an 'Expired' status if the associated service token has expired. To get access to Fabric VCs, please contact our Support Team for more details.
	Status         string                               `json:"status"`
	Tags           []string                             `json:"tags"`
	VirtualNetwork FindBatchById200ResponseDevicesInner `json:"virtual_network"`
	Vnid           int32                                `json:"vnid"`
}

GetInterconnection200ResponsePortsInnerVirtualCircuitsVirtualCircuitsInnerAnyOf struct for GetInterconnection200ResponsePortsInnerVirtualCircuitsVirtualCircuitsInnerAnyOf

func NewGetInterconnection200ResponsePortsInnerVirtualCircuitsVirtualCircuitsInnerAnyOf ¶ added in v0.2.6

func NewGetInterconnection200ResponsePortsInnerVirtualCircuitsVirtualCircuitsInnerAnyOf(bill bool, description string, id string, name string, nniVlan int32, port FindBatchById200ResponseDevicesInner, project FindBatchById200ResponseDevicesInner, status string, tags []string, virtualNetwork FindBatchById200ResponseDevicesInner, vnid int32) *GetInterconnection200ResponsePortsInnerVirtualCircuitsVirtualCircuitsInnerAnyOf

NewGetInterconnection200ResponsePortsInnerVirtualCircuitsVirtualCircuitsInnerAnyOf instantiates a new GetInterconnection200ResponsePortsInnerVirtualCircuitsVirtualCircuitsInnerAnyOf 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 NewGetInterconnection200ResponsePortsInnerVirtualCircuitsVirtualCircuitsInnerAnyOfWithDefaults ¶ added in v0.2.6

func NewGetInterconnection200ResponsePortsInnerVirtualCircuitsVirtualCircuitsInnerAnyOfWithDefaults() *GetInterconnection200ResponsePortsInnerVirtualCircuitsVirtualCircuitsInnerAnyOf

NewGetInterconnection200ResponsePortsInnerVirtualCircuitsVirtualCircuitsInnerAnyOfWithDefaults instantiates a new GetInterconnection200ResponsePortsInnerVirtualCircuitsVirtualCircuitsInnerAnyOf 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 (*GetInterconnection200ResponsePortsInnerVirtualCircuitsVirtualCircuitsInnerAnyOf) GetBill ¶ added in v0.2.6

GetBill returns the Bill field value

func (*GetInterconnection200ResponsePortsInnerVirtualCircuitsVirtualCircuitsInnerAnyOf) GetBillOk ¶ added in v0.2.6

GetBillOk returns a tuple with the Bill field value and a boolean to check if the value has been set.

func (*GetInterconnection200ResponsePortsInnerVirtualCircuitsVirtualCircuitsInnerAnyOf) GetDescription ¶ added in v0.2.6

GetDescription returns the Description field value

func (*GetInterconnection200ResponsePortsInnerVirtualCircuitsVirtualCircuitsInnerAnyOf) GetDescriptionOk ¶ added in v0.2.6

GetDescriptionOk returns a tuple with the Description field value and a boolean to check if the value has been set.

func (*GetInterconnection200ResponsePortsInnerVirtualCircuitsVirtualCircuitsInnerAnyOf) GetId ¶ added in v0.2.6

GetId returns the Id field value

func (*GetInterconnection200ResponsePortsInnerVirtualCircuitsVirtualCircuitsInnerAnyOf) GetIdOk ¶ added in v0.2.6

GetIdOk returns a tuple with the Id field value and a boolean to check if the value has been set.

func (*GetInterconnection200ResponsePortsInnerVirtualCircuitsVirtualCircuitsInnerAnyOf) GetName ¶ added in v0.2.6

GetName returns the Name field value

func (*GetInterconnection200ResponsePortsInnerVirtualCircuitsVirtualCircuitsInnerAnyOf) GetNameOk ¶ added in v0.2.6

GetNameOk returns a tuple with the Name field value and a boolean to check if the value has been set.

func (*GetInterconnection200ResponsePortsInnerVirtualCircuitsVirtualCircuitsInnerAnyOf) GetNniVlan ¶ added in v0.2.6

GetNniVlan returns the NniVlan field value

func (*GetInterconnection200ResponsePortsInnerVirtualCircuitsVirtualCircuitsInnerAnyOf) GetNniVlanOk ¶ added in v0.2.6

GetNniVlanOk returns a tuple with the NniVlan field value and a boolean to check if the value has been set.

func (*GetInterconnection200ResponsePortsInnerVirtualCircuitsVirtualCircuitsInnerAnyOf) GetPort ¶ added in v0.2.6

GetPort returns the Port field value

func (*GetInterconnection200ResponsePortsInnerVirtualCircuitsVirtualCircuitsInnerAnyOf) GetPortOk ¶ added in v0.2.6

GetPortOk returns a tuple with the Port field value and a boolean to check if the value has been set.

func (*GetInterconnection200ResponsePortsInnerVirtualCircuitsVirtualCircuitsInnerAnyOf) GetProject ¶ added in v0.2.6

GetProject returns the Project field value

func (*GetInterconnection200ResponsePortsInnerVirtualCircuitsVirtualCircuitsInnerAnyOf) GetProjectOk ¶ added in v0.2.6

GetProjectOk returns a tuple with the Project field value and a boolean to check if the value has been set.

func (*GetInterconnection200ResponsePortsInnerVirtualCircuitsVirtualCircuitsInnerAnyOf) GetSpeed ¶ added in v0.2.6

GetSpeed returns the Speed field value if set, zero value otherwise.

func (*GetInterconnection200ResponsePortsInnerVirtualCircuitsVirtualCircuitsInnerAnyOf) GetSpeedOk ¶ added in v0.2.6

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 (*GetInterconnection200ResponsePortsInnerVirtualCircuitsVirtualCircuitsInnerAnyOf) GetStatus ¶ added in v0.2.6

GetStatus returns the Status field value

func (*GetInterconnection200ResponsePortsInnerVirtualCircuitsVirtualCircuitsInnerAnyOf) GetStatusOk ¶ added in v0.2.6

GetStatusOk returns a tuple with the Status field value and a boolean to check if the value has been set.

func (*GetInterconnection200ResponsePortsInnerVirtualCircuitsVirtualCircuitsInnerAnyOf) GetTags ¶ added in v0.2.6

GetTags returns the Tags field value

func (*GetInterconnection200ResponsePortsInnerVirtualCircuitsVirtualCircuitsInnerAnyOf) GetTagsOk ¶ added in v0.2.6

GetTagsOk returns a tuple with the Tags field value and a boolean to check if the value has been set.

func (*GetInterconnection200ResponsePortsInnerVirtualCircuitsVirtualCircuitsInnerAnyOf) GetVirtualNetwork ¶ added in v0.2.6

GetVirtualNetwork returns the VirtualNetwork field value

func (*GetInterconnection200ResponsePortsInnerVirtualCircuitsVirtualCircuitsInnerAnyOf) GetVirtualNetworkOk ¶ added in v0.2.6

GetVirtualNetworkOk returns a tuple with the VirtualNetwork field value and a boolean to check if the value has been set.

func (*GetInterconnection200ResponsePortsInnerVirtualCircuitsVirtualCircuitsInnerAnyOf) GetVnid ¶ added in v0.2.6

GetVnid returns the Vnid field value

func (*GetInterconnection200ResponsePortsInnerVirtualCircuitsVirtualCircuitsInnerAnyOf) GetVnidOk ¶ added in v0.2.6

GetVnidOk returns a tuple with the Vnid field value and a boolean to check if the value has been set.

func (*GetInterconnection200ResponsePortsInnerVirtualCircuitsVirtualCircuitsInnerAnyOf) HasSpeed ¶ added in v0.2.6

HasSpeed returns a boolean if a field has been set.

func (GetInterconnection200ResponsePortsInnerVirtualCircuitsVirtualCircuitsInnerAnyOf) MarshalJSON ¶ added in v0.2.6

func (*GetInterconnection200ResponsePortsInnerVirtualCircuitsVirtualCircuitsInnerAnyOf) SetBill ¶ added in v0.2.6

SetBill sets field value

func (*GetInterconnection200ResponsePortsInnerVirtualCircuitsVirtualCircuitsInnerAnyOf) SetDescription ¶ added in v0.2.6

SetDescription sets field value

func (*GetInterconnection200ResponsePortsInnerVirtualCircuitsVirtualCircuitsInnerAnyOf) SetId ¶ added in v0.2.6

SetId sets field value

func (*GetInterconnection200ResponsePortsInnerVirtualCircuitsVirtualCircuitsInnerAnyOf) SetName ¶ added in v0.2.6

SetName sets field value

func (*GetInterconnection200ResponsePortsInnerVirtualCircuitsVirtualCircuitsInnerAnyOf) SetNniVlan ¶ added in v0.2.6

SetNniVlan sets field value

func (*GetInterconnection200ResponsePortsInnerVirtualCircuitsVirtualCircuitsInnerAnyOf) SetPort ¶ added in v0.2.6

SetPort sets field value

func (*GetInterconnection200ResponsePortsInnerVirtualCircuitsVirtualCircuitsInnerAnyOf) SetProject ¶ added in v0.2.6

SetProject sets field value

func (*GetInterconnection200ResponsePortsInnerVirtualCircuitsVirtualCircuitsInnerAnyOf) SetSpeed ¶ added in v0.2.6

SetSpeed gets a reference to the given int32 and assigns it to the Speed field.

func (*GetInterconnection200ResponsePortsInnerVirtualCircuitsVirtualCircuitsInnerAnyOf) SetStatus ¶ added in v0.2.6

SetStatus sets field value

func (*GetInterconnection200ResponsePortsInnerVirtualCircuitsVirtualCircuitsInnerAnyOf) SetTags ¶ added in v0.2.6

SetTags sets field value

func (*GetInterconnection200ResponsePortsInnerVirtualCircuitsVirtualCircuitsInnerAnyOf) SetVirtualNetwork ¶ added in v0.2.6

SetVirtualNetwork sets field value

func (*GetInterconnection200ResponsePortsInnerVirtualCircuitsVirtualCircuitsInnerAnyOf) SetVnid ¶ added in v0.2.6

SetVnid sets field value

type GetInterconnection200ResponsePortsInnerVirtualCircuitsVirtualCircuitsInnerAnyOf1 ¶ added in v0.2.6

type GetInterconnection200ResponsePortsInnerVirtualCircuitsVirtualCircuitsInnerAnyOf1 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    *FindBatchById200ResponseDevicesInner `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 *FindBatchById200ResponseDevicesInner `json:"project,omitempty"`
	// integer representing bps speed
	Speed  *int32  `json:"speed,omitempty"`
	Status *string `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"`
	Vrf    *GetInterconnection200ResponsePortsInnerVirtualCircuitsVirtualCircuitsInnerAnyOf1Vrf `json:"vrf,omitempty"`
}

GetInterconnection200ResponsePortsInnerVirtualCircuitsVirtualCircuitsInnerAnyOf1 struct for GetInterconnection200ResponsePortsInnerVirtualCircuitsVirtualCircuitsInnerAnyOf1

func NewGetInterconnection200ResponsePortsInnerVirtualCircuitsVirtualCircuitsInnerAnyOf1 ¶ added in v0.2.6

func NewGetInterconnection200ResponsePortsInnerVirtualCircuitsVirtualCircuitsInnerAnyOf1() *GetInterconnection200ResponsePortsInnerVirtualCircuitsVirtualCircuitsInnerAnyOf1

NewGetInterconnection200ResponsePortsInnerVirtualCircuitsVirtualCircuitsInnerAnyOf1 instantiates a new GetInterconnection200ResponsePortsInnerVirtualCircuitsVirtualCircuitsInnerAnyOf1 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 NewGetInterconnection200ResponsePortsInnerVirtualCircuitsVirtualCircuitsInnerAnyOf1WithDefaults ¶ added in v0.2.6

func NewGetInterconnection200ResponsePortsInnerVirtualCircuitsVirtualCircuitsInnerAnyOf1WithDefaults() *GetInterconnection200ResponsePortsInnerVirtualCircuitsVirtualCircuitsInnerAnyOf1

NewGetInterconnection200ResponsePortsInnerVirtualCircuitsVirtualCircuitsInnerAnyOf1WithDefaults instantiates a new GetInterconnection200ResponsePortsInnerVirtualCircuitsVirtualCircuitsInnerAnyOf1 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 (*GetInterconnection200ResponsePortsInnerVirtualCircuitsVirtualCircuitsInnerAnyOf1) GetCustomerIp ¶ added in v0.2.6

GetCustomerIp returns the CustomerIp field value if set, zero value otherwise.

func (*GetInterconnection200ResponsePortsInnerVirtualCircuitsVirtualCircuitsInnerAnyOf1) GetCustomerIpOk ¶ added in v0.2.6

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 (*GetInterconnection200ResponsePortsInnerVirtualCircuitsVirtualCircuitsInnerAnyOf1) GetDescription ¶ added in v0.2.6

GetDescription returns the Description field value if set, zero value otherwise.

func (*GetInterconnection200ResponsePortsInnerVirtualCircuitsVirtualCircuitsInnerAnyOf1) GetDescriptionOk ¶ added in v0.2.6

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 (*GetInterconnection200ResponsePortsInnerVirtualCircuitsVirtualCircuitsInnerAnyOf1) GetId ¶ added in v0.2.6

GetId returns the Id field value if set, zero value otherwise.

func (*GetInterconnection200ResponsePortsInnerVirtualCircuitsVirtualCircuitsInnerAnyOf1) GetIdOk ¶ added in v0.2.6

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 (*GetInterconnection200ResponsePortsInnerVirtualCircuitsVirtualCircuitsInnerAnyOf1) GetMd5 ¶ added in v0.2.6

GetMd5 returns the Md5 field value if set, zero value otherwise.

func (*GetInterconnection200ResponsePortsInnerVirtualCircuitsVirtualCircuitsInnerAnyOf1) GetMd5Ok ¶ added in v0.2.6

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 (*GetInterconnection200ResponsePortsInnerVirtualCircuitsVirtualCircuitsInnerAnyOf1) GetMetalIp ¶ added in v0.2.6

GetMetalIp returns the MetalIp field value if set, zero value otherwise.

func (*GetInterconnection200ResponsePortsInnerVirtualCircuitsVirtualCircuitsInnerAnyOf1) GetMetalIpOk ¶ added in v0.2.6

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 (*GetInterconnection200ResponsePortsInnerVirtualCircuitsVirtualCircuitsInnerAnyOf1) GetName ¶ added in v0.2.6

GetName returns the Name field value if set, zero value otherwise.

func (*GetInterconnection200ResponsePortsInnerVirtualCircuitsVirtualCircuitsInnerAnyOf1) GetNameOk ¶ added in v0.2.6

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 (*GetInterconnection200ResponsePortsInnerVirtualCircuitsVirtualCircuitsInnerAnyOf1) GetNniVlan ¶ added in v0.2.6

GetNniVlan returns the NniVlan field value if set, zero value otherwise.

func (*GetInterconnection200ResponsePortsInnerVirtualCircuitsVirtualCircuitsInnerAnyOf1) GetNniVlanOk ¶ added in v0.2.6

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 (*GetInterconnection200ResponsePortsInnerVirtualCircuitsVirtualCircuitsInnerAnyOf1) GetPeerAsn ¶ added in v0.2.6

GetPeerAsn returns the PeerAsn field value if set, zero value otherwise.

func (*GetInterconnection200ResponsePortsInnerVirtualCircuitsVirtualCircuitsInnerAnyOf1) GetPeerAsnOk ¶ added in v0.2.6

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 (*GetInterconnection200ResponsePortsInnerVirtualCircuitsVirtualCircuitsInnerAnyOf1) GetPort ¶ added in v0.2.6

GetPort returns the Port field value if set, zero value otherwise.

func (*GetInterconnection200ResponsePortsInnerVirtualCircuitsVirtualCircuitsInnerAnyOf1) GetPortOk ¶ added in v0.2.6

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 (*GetInterconnection200ResponsePortsInnerVirtualCircuitsVirtualCircuitsInnerAnyOf1) GetProject ¶ added in v0.2.6

GetProject returns the Project field value if set, zero value otherwise.

func (*GetInterconnection200ResponsePortsInnerVirtualCircuitsVirtualCircuitsInnerAnyOf1) GetProjectOk ¶ added in v0.2.6

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 (*GetInterconnection200ResponsePortsInnerVirtualCircuitsVirtualCircuitsInnerAnyOf1) GetSpeed ¶ added in v0.2.6

GetSpeed returns the Speed field value if set, zero value otherwise.

func (*GetInterconnection200ResponsePortsInnerVirtualCircuitsVirtualCircuitsInnerAnyOf1) GetSpeedOk ¶ added in v0.2.6

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 (*GetInterconnection200ResponsePortsInnerVirtualCircuitsVirtualCircuitsInnerAnyOf1) GetStatus ¶ added in v0.2.6

GetStatus returns the Status field value if set, zero value otherwise.

func (*GetInterconnection200ResponsePortsInnerVirtualCircuitsVirtualCircuitsInnerAnyOf1) GetStatusOk ¶ added in v0.2.6

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 (*GetInterconnection200ResponsePortsInnerVirtualCircuitsVirtualCircuitsInnerAnyOf1) GetSubnet ¶ added in v0.2.6

GetSubnet returns the Subnet field value if set, zero value otherwise.

func (*GetInterconnection200ResponsePortsInnerVirtualCircuitsVirtualCircuitsInnerAnyOf1) GetSubnetOk ¶ added in v0.2.6

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 (*GetInterconnection200ResponsePortsInnerVirtualCircuitsVirtualCircuitsInnerAnyOf1) GetTags ¶ added in v0.2.6

GetTags returns the Tags field value if set, zero value otherwise.

func (*GetInterconnection200ResponsePortsInnerVirtualCircuitsVirtualCircuitsInnerAnyOf1) GetTagsOk ¶ added in v0.2.6

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 (*GetInterconnection200ResponsePortsInnerVirtualCircuitsVirtualCircuitsInnerAnyOf1) GetVrf ¶ added in v0.2.6

GetVrf returns the Vrf field value if set, zero value otherwise.

func (*GetInterconnection200ResponsePortsInnerVirtualCircuitsVirtualCircuitsInnerAnyOf1) GetVrfOk ¶ added in v0.2.6

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 (*GetInterconnection200ResponsePortsInnerVirtualCircuitsVirtualCircuitsInnerAnyOf1) HasCustomerIp ¶ added in v0.2.6

HasCustomerIp returns a boolean if a field has been set.

func (*GetInterconnection200ResponsePortsInnerVirtualCircuitsVirtualCircuitsInnerAnyOf1) HasDescription ¶ added in v0.2.6

HasDescription returns a boolean if a field has been set.

func (*GetInterconnection200ResponsePortsInnerVirtualCircuitsVirtualCircuitsInnerAnyOf1) HasId ¶ added in v0.2.6

HasId returns a boolean if a field has been set.

func (*GetInterconnection200ResponsePortsInnerVirtualCircuitsVirtualCircuitsInnerAnyOf1) HasMd5 ¶ added in v0.2.6

HasMd5 returns a boolean if a field has been set.

func (*GetInterconnection200ResponsePortsInnerVirtualCircuitsVirtualCircuitsInnerAnyOf1) HasMetalIp ¶ added in v0.2.6

HasMetalIp returns a boolean if a field has been set.

func (*GetInterconnection200ResponsePortsInnerVirtualCircuitsVirtualCircuitsInnerAnyOf1) HasName ¶ added in v0.2.6

HasName returns a boolean if a field has been set.

func (*GetInterconnection200ResponsePortsInnerVirtualCircuitsVirtualCircuitsInnerAnyOf1) HasNniVlan ¶ added in v0.2.6

HasNniVlan returns a boolean if a field has been set.

func (*GetInterconnection200ResponsePortsInnerVirtualCircuitsVirtualCircuitsInnerAnyOf1) HasPeerAsn ¶ added in v0.2.6

HasPeerAsn returns a boolean if a field has been set.

func (*GetInterconnection200ResponsePortsInnerVirtualCircuitsVirtualCircuitsInnerAnyOf1) HasPort ¶ added in v0.2.6

HasPort returns a boolean if a field has been set.

func (*GetInterconnection200ResponsePortsInnerVirtualCircuitsVirtualCircuitsInnerAnyOf1) HasProject ¶ added in v0.2.6

HasProject returns a boolean if a field has been set.

func (*GetInterconnection200ResponsePortsInnerVirtualCircuitsVirtualCircuitsInnerAnyOf1) HasSpeed ¶ added in v0.2.6

HasSpeed returns a boolean if a field has been set.

func (*GetInterconnection200ResponsePortsInnerVirtualCircuitsVirtualCircuitsInnerAnyOf1) HasStatus ¶ added in v0.2.6

HasStatus returns a boolean if a field has been set.

func (*GetInterconnection200ResponsePortsInnerVirtualCircuitsVirtualCircuitsInnerAnyOf1) HasSubnet ¶ added in v0.2.6

HasSubnet returns a boolean if a field has been set.

func (*GetInterconnection200ResponsePortsInnerVirtualCircuitsVirtualCircuitsInnerAnyOf1) HasTags ¶ added in v0.2.6

HasTags returns a boolean if a field has been set.

func (*GetInterconnection200ResponsePortsInnerVirtualCircuitsVirtualCircuitsInnerAnyOf1) HasVrf ¶ added in v0.2.6

HasVrf returns a boolean if a field has been set.

func (GetInterconnection200ResponsePortsInnerVirtualCircuitsVirtualCircuitsInnerAnyOf1) MarshalJSON ¶ added in v0.2.6

func (*GetInterconnection200ResponsePortsInnerVirtualCircuitsVirtualCircuitsInnerAnyOf1) SetCustomerIp ¶ added in v0.2.6

SetCustomerIp gets a reference to the given string and assigns it to the CustomerIp field.

func (*GetInterconnection200ResponsePortsInnerVirtualCircuitsVirtualCircuitsInnerAnyOf1) SetDescription ¶ added in v0.2.6

SetDescription gets a reference to the given string and assigns it to the Description field.

func (*GetInterconnection200ResponsePortsInnerVirtualCircuitsVirtualCircuitsInnerAnyOf1) SetId ¶ added in v0.2.6

SetId gets a reference to the given string and assigns it to the Id field.

func (*GetInterconnection200ResponsePortsInnerVirtualCircuitsVirtualCircuitsInnerAnyOf1) SetMd5 ¶ added in v0.2.6

SetMd5 gets a reference to the given string and assigns it to the Md5 field.

func (*GetInterconnection200ResponsePortsInnerVirtualCircuitsVirtualCircuitsInnerAnyOf1) SetMetalIp ¶ added in v0.2.6

SetMetalIp gets a reference to the given string and assigns it to the MetalIp field.

func (*GetInterconnection200ResponsePortsInnerVirtualCircuitsVirtualCircuitsInnerAnyOf1) SetName ¶ added in v0.2.6

SetName gets a reference to the given string and assigns it to the Name field.

func (*GetInterconnection200ResponsePortsInnerVirtualCircuitsVirtualCircuitsInnerAnyOf1) SetNniVlan ¶ added in v0.2.6

SetNniVlan gets a reference to the given int32 and assigns it to the NniVlan field.

func (*GetInterconnection200ResponsePortsInnerVirtualCircuitsVirtualCircuitsInnerAnyOf1) SetPeerAsn ¶ added in v0.2.6

SetPeerAsn gets a reference to the given int32 and assigns it to the PeerAsn field.

func (*GetInterconnection200ResponsePortsInnerVirtualCircuitsVirtualCircuitsInnerAnyOf1) SetPort ¶ added in v0.2.6

SetPort gets a reference to the given FindBatchById200ResponseDevicesInner and assigns it to the Port field.

func (*GetInterconnection200ResponsePortsInnerVirtualCircuitsVirtualCircuitsInnerAnyOf1) SetProject ¶ added in v0.2.6

SetProject gets a reference to the given FindBatchById200ResponseDevicesInner and assigns it to the Project field.

func (*GetInterconnection200ResponsePortsInnerVirtualCircuitsVirtualCircuitsInnerAnyOf1) SetSpeed ¶ added in v0.2.6

SetSpeed gets a reference to the given int32 and assigns it to the Speed field.

func (*GetInterconnection200ResponsePortsInnerVirtualCircuitsVirtualCircuitsInnerAnyOf1) SetStatus ¶ added in v0.2.6

SetStatus gets a reference to the given string and assigns it to the Status field.

func (*GetInterconnection200ResponsePortsInnerVirtualCircuitsVirtualCircuitsInnerAnyOf1) SetSubnet ¶ added in v0.2.6

SetSubnet gets a reference to the given string and assigns it to the Subnet field.

func (*GetInterconnection200ResponsePortsInnerVirtualCircuitsVirtualCircuitsInnerAnyOf1) SetTags ¶ added in v0.2.6

SetTags gets a reference to the given []string and assigns it to the Tags field.

func (*GetInterconnection200ResponsePortsInnerVirtualCircuitsVirtualCircuitsInnerAnyOf1) SetVrf ¶ added in v0.2.6

SetVrf gets a reference to the given GetInterconnection200ResponsePortsInnerVirtualCircuitsVirtualCircuitsInnerAnyOf1Vrf and assigns it to the Vrf field.

type GetInterconnection200ResponsePortsInnerVirtualCircuitsVirtualCircuitsInnerAnyOf1Vrf ¶ added in v0.2.6

type GetInterconnection200ResponsePortsInnerVirtualCircuitsVirtualCircuitsInnerAnyOf1Vrf 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"`
	// A 4-byte ASN associated with the VRF.
	LocalAsn *int32 `json:"local_asn,omitempty"`
	// A list of CIDR network addresses. Like [\"10.0.0.0/16\", \"2001:d78::/56\"].
	IpRanges  []string                                                                                      `json:"ip_ranges,omitempty"`
	Project   *GetInterconnection200ResponsePortsInnerVirtualCircuitsVirtualCircuitsInnerAnyOf1VrfProject   `json:"project,omitempty"`
	Metro     *GetInterconnection200ResponseMetroAllOf                                                      `json:"metro,omitempty"`
	CreatedBy *GetInterconnection200ResponsePortsInnerVirtualCircuitsVirtualCircuitsInnerAnyOf1VrfCreatedBy `json:"created_by,omitempty"`
	Href      *string                                                                                       `json:"href,omitempty"`
}

GetInterconnection200ResponsePortsInnerVirtualCircuitsVirtualCircuitsInnerAnyOf1Vrf struct for GetInterconnection200ResponsePortsInnerVirtualCircuitsVirtualCircuitsInnerAnyOf1Vrf

func NewGetInterconnection200ResponsePortsInnerVirtualCircuitsVirtualCircuitsInnerAnyOf1Vrf ¶ added in v0.2.6

func NewGetInterconnection200ResponsePortsInnerVirtualCircuitsVirtualCircuitsInnerAnyOf1Vrf() *GetInterconnection200ResponsePortsInnerVirtualCircuitsVirtualCircuitsInnerAnyOf1Vrf

NewGetInterconnection200ResponsePortsInnerVirtualCircuitsVirtualCircuitsInnerAnyOf1Vrf instantiates a new GetInterconnection200ResponsePortsInnerVirtualCircuitsVirtualCircuitsInnerAnyOf1Vrf 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 NewGetInterconnection200ResponsePortsInnerVirtualCircuitsVirtualCircuitsInnerAnyOf1VrfWithDefaults ¶ added in v0.2.6

func NewGetInterconnection200ResponsePortsInnerVirtualCircuitsVirtualCircuitsInnerAnyOf1VrfWithDefaults() *GetInterconnection200ResponsePortsInnerVirtualCircuitsVirtualCircuitsInnerAnyOf1Vrf

NewGetInterconnection200ResponsePortsInnerVirtualCircuitsVirtualCircuitsInnerAnyOf1VrfWithDefaults instantiates a new GetInterconnection200ResponsePortsInnerVirtualCircuitsVirtualCircuitsInnerAnyOf1Vrf 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 (*GetInterconnection200ResponsePortsInnerVirtualCircuitsVirtualCircuitsInnerAnyOf1Vrf) GetCreatedBy ¶ added in v0.2.6

GetCreatedBy returns the CreatedBy field value if set, zero value otherwise.

func (*GetInterconnection200ResponsePortsInnerVirtualCircuitsVirtualCircuitsInnerAnyOf1Vrf) GetCreatedByOk ¶ added in v0.2.6

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 (*GetInterconnection200ResponsePortsInnerVirtualCircuitsVirtualCircuitsInnerAnyOf1Vrf) GetDescription ¶ added in v0.2.6

GetDescription returns the Description field value if set, zero value otherwise.

func (*GetInterconnection200ResponsePortsInnerVirtualCircuitsVirtualCircuitsInnerAnyOf1Vrf) GetDescriptionOk ¶ added in v0.2.6

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 (*GetInterconnection200ResponsePortsInnerVirtualCircuitsVirtualCircuitsInnerAnyOf1Vrf) GetHref ¶ added in v0.2.6

GetHref returns the Href field value if set, zero value otherwise.

func (*GetInterconnection200ResponsePortsInnerVirtualCircuitsVirtualCircuitsInnerAnyOf1Vrf) GetHrefOk ¶ added in v0.2.6

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 (*GetInterconnection200ResponsePortsInnerVirtualCircuitsVirtualCircuitsInnerAnyOf1Vrf) GetId ¶ added in v0.2.6

GetId returns the Id field value if set, zero value otherwise.

func (*GetInterconnection200ResponsePortsInnerVirtualCircuitsVirtualCircuitsInnerAnyOf1Vrf) GetIdOk ¶ added in v0.2.6

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 (*GetInterconnection200ResponsePortsInnerVirtualCircuitsVirtualCircuitsInnerAnyOf1Vrf) GetIpRanges ¶ added in v0.2.6

GetIpRanges returns the IpRanges field value if set, zero value otherwise.

func (*GetInterconnection200ResponsePortsInnerVirtualCircuitsVirtualCircuitsInnerAnyOf1Vrf) GetIpRangesOk ¶ added in v0.2.6

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 (*GetInterconnection200ResponsePortsInnerVirtualCircuitsVirtualCircuitsInnerAnyOf1Vrf) GetLocalAsn ¶ added in v0.2.6

GetLocalAsn returns the LocalAsn field value if set, zero value otherwise.

func (*GetInterconnection200ResponsePortsInnerVirtualCircuitsVirtualCircuitsInnerAnyOf1Vrf) GetLocalAsnOk ¶ added in v0.2.6

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 (*GetInterconnection200ResponsePortsInnerVirtualCircuitsVirtualCircuitsInnerAnyOf1Vrf) GetMetro ¶ added in v0.2.6

GetMetro returns the Metro field value if set, zero value otherwise.

func (*GetInterconnection200ResponsePortsInnerVirtualCircuitsVirtualCircuitsInnerAnyOf1Vrf) GetMetroOk ¶ added in v0.2.6

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 (*GetInterconnection200ResponsePortsInnerVirtualCircuitsVirtualCircuitsInnerAnyOf1Vrf) GetName ¶ added in v0.2.6

GetName returns the Name field value if set, zero value otherwise.

func (*GetInterconnection200ResponsePortsInnerVirtualCircuitsVirtualCircuitsInnerAnyOf1Vrf) GetNameOk ¶ added in v0.2.6

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 (*GetInterconnection200ResponsePortsInnerVirtualCircuitsVirtualCircuitsInnerAnyOf1Vrf) GetProject ¶ added in v0.2.6

GetProject returns the Project field value if set, zero value otherwise.

func (*GetInterconnection200ResponsePortsInnerVirtualCircuitsVirtualCircuitsInnerAnyOf1Vrf) GetProjectOk ¶ added in v0.2.6

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 (*GetInterconnection200ResponsePortsInnerVirtualCircuitsVirtualCircuitsInnerAnyOf1Vrf) HasCreatedBy ¶ added in v0.2.6

HasCreatedBy returns a boolean if a field has been set.

func (*GetInterconnection200ResponsePortsInnerVirtualCircuitsVirtualCircuitsInnerAnyOf1Vrf) HasDescription ¶ added in v0.2.6

HasDescription returns a boolean if a field has been set.

func (*GetInterconnection200ResponsePortsInnerVirtualCircuitsVirtualCircuitsInnerAnyOf1Vrf) HasHref ¶ added in v0.2.6

HasHref returns a boolean if a field has been set.

func (*GetInterconnection200ResponsePortsInnerVirtualCircuitsVirtualCircuitsInnerAnyOf1Vrf) HasId ¶ added in v0.2.6

HasId returns a boolean if a field has been set.

func (*GetInterconnection200ResponsePortsInnerVirtualCircuitsVirtualCircuitsInnerAnyOf1Vrf) HasIpRanges ¶ added in v0.2.6

HasIpRanges returns a boolean if a field has been set.

func (*GetInterconnection200ResponsePortsInnerVirtualCircuitsVirtualCircuitsInnerAnyOf1Vrf) HasLocalAsn ¶ added in v0.2.6

HasLocalAsn returns a boolean if a field has been set.

func (*GetInterconnection200ResponsePortsInnerVirtualCircuitsVirtualCircuitsInnerAnyOf1Vrf) HasMetro ¶ added in v0.2.6

HasMetro returns a boolean if a field has been set.

func (*GetInterconnection200ResponsePortsInnerVirtualCircuitsVirtualCircuitsInnerAnyOf1Vrf) HasName ¶ added in v0.2.6

HasName returns a boolean if a field has been set.

func (*GetInterconnection200ResponsePortsInnerVirtualCircuitsVirtualCircuitsInnerAnyOf1Vrf) HasProject ¶ added in v0.2.6

HasProject returns a boolean if a field has been set.

func (GetInterconnection200ResponsePortsInnerVirtualCircuitsVirtualCircuitsInnerAnyOf1Vrf) MarshalJSON ¶ added in v0.2.6

func (*GetInterconnection200ResponsePortsInnerVirtualCircuitsVirtualCircuitsInnerAnyOf1Vrf) SetCreatedBy ¶ added in v0.2.6

SetCreatedBy gets a reference to the given GetInterconnection200ResponsePortsInnerVirtualCircuitsVirtualCircuitsInnerAnyOf1VrfCreatedBy and assigns it to the CreatedBy field.

func (*GetInterconnection200ResponsePortsInnerVirtualCircuitsVirtualCircuitsInnerAnyOf1Vrf) SetDescription ¶ added in v0.2.6

SetDescription gets a reference to the given string and assigns it to the Description field.

func (*GetInterconnection200ResponsePortsInnerVirtualCircuitsVirtualCircuitsInnerAnyOf1Vrf) SetHref ¶ added in v0.2.6

SetHref gets a reference to the given string and assigns it to the Href field.

func (*GetInterconnection200ResponsePortsInnerVirtualCircuitsVirtualCircuitsInnerAnyOf1Vrf) SetId ¶ added in v0.2.6

SetId gets a reference to the given string and assigns it to the Id field.

func (*GetInterconnection200ResponsePortsInnerVirtualCircuitsVirtualCircuitsInnerAnyOf1Vrf) SetIpRanges ¶ added in v0.2.6

SetIpRanges gets a reference to the given []string and assigns it to the IpRanges field.

func (*GetInterconnection200ResponsePortsInnerVirtualCircuitsVirtualCircuitsInnerAnyOf1Vrf) SetLocalAsn ¶ added in v0.2.6

SetLocalAsn gets a reference to the given int32 and assigns it to the LocalAsn field.

func (*GetInterconnection200ResponsePortsInnerVirtualCircuitsVirtualCircuitsInnerAnyOf1Vrf) SetMetro ¶ added in v0.2.6

SetMetro gets a reference to the given GetInterconnection200ResponseMetroAllOf and assigns it to the Metro field.

func (*GetInterconnection200ResponsePortsInnerVirtualCircuitsVirtualCircuitsInnerAnyOf1Vrf) SetName ¶ added in v0.2.6

SetName gets a reference to the given string and assigns it to the Name field.

func (*GetInterconnection200ResponsePortsInnerVirtualCircuitsVirtualCircuitsInnerAnyOf1Vrf) SetProject ¶ added in v0.2.6

SetProject gets a reference to the given GetInterconnection200ResponsePortsInnerVirtualCircuitsVirtualCircuitsInnerAnyOf1VrfProject and assigns it to the Project field.

type GetInterconnection200ResponsePortsInnerVirtualCircuitsVirtualCircuitsInnerAnyOf1VrfCreatedBy ¶ added in v0.2.6

type GetInterconnection200ResponsePortsInnerVirtualCircuitsVirtualCircuitsInnerAnyOf1VrfCreatedBy 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"`
	Email            *string                                `json:"email,omitempty"`
	Emails           []FindBatchById200ResponseDevicesInner `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"`
}

GetInterconnection200ResponsePortsInnerVirtualCircuitsVirtualCircuitsInnerAnyOf1VrfCreatedBy struct for GetInterconnection200ResponsePortsInnerVirtualCircuitsVirtualCircuitsInnerAnyOf1VrfCreatedBy

func NewGetInterconnection200ResponsePortsInnerVirtualCircuitsVirtualCircuitsInnerAnyOf1VrfCreatedBy ¶ added in v0.2.6

func NewGetInterconnection200ResponsePortsInnerVirtualCircuitsVirtualCircuitsInnerAnyOf1VrfCreatedBy() *GetInterconnection200ResponsePortsInnerVirtualCircuitsVirtualCircuitsInnerAnyOf1VrfCreatedBy

NewGetInterconnection200ResponsePortsInnerVirtualCircuitsVirtualCircuitsInnerAnyOf1VrfCreatedBy instantiates a new GetInterconnection200ResponsePortsInnerVirtualCircuitsVirtualCircuitsInnerAnyOf1VrfCreatedBy 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 NewGetInterconnection200ResponsePortsInnerVirtualCircuitsVirtualCircuitsInnerAnyOf1VrfCreatedByWithDefaults ¶ added in v0.2.6

func NewGetInterconnection200ResponsePortsInnerVirtualCircuitsVirtualCircuitsInnerAnyOf1VrfCreatedByWithDefaults() *GetInterconnection200ResponsePortsInnerVirtualCircuitsVirtualCircuitsInnerAnyOf1VrfCreatedBy

NewGetInterconnection200ResponsePortsInnerVirtualCircuitsVirtualCircuitsInnerAnyOf1VrfCreatedByWithDefaults instantiates a new GetInterconnection200ResponsePortsInnerVirtualCircuitsVirtualCircuitsInnerAnyOf1VrfCreatedBy 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 (*GetInterconnection200ResponsePortsInnerVirtualCircuitsVirtualCircuitsInnerAnyOf1VrfCreatedBy) GetAvatarThumbUrl ¶ added in v0.2.6

GetAvatarThumbUrl returns the AvatarThumbUrl field value if set, zero value otherwise.

func (*GetInterconnection200ResponsePortsInnerVirtualCircuitsVirtualCircuitsInnerAnyOf1VrfCreatedBy) GetAvatarThumbUrlOk ¶ added in v0.2.6

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 (*GetInterconnection200ResponsePortsInnerVirtualCircuitsVirtualCircuitsInnerAnyOf1VrfCreatedBy) GetAvatarUrl ¶ added in v0.2.6

GetAvatarUrl returns the AvatarUrl field value if set, zero value otherwise.

func (*GetInterconnection200ResponsePortsInnerVirtualCircuitsVirtualCircuitsInnerAnyOf1VrfCreatedBy) GetAvatarUrlOk ¶ added in v0.2.6

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 (*GetInterconnection200ResponsePortsInnerVirtualCircuitsVirtualCircuitsInnerAnyOf1VrfCreatedBy) GetCreatedAt ¶ added in v0.2.6

GetCreatedAt returns the CreatedAt field value if set, zero value otherwise.

func (*GetInterconnection200ResponsePortsInnerVirtualCircuitsVirtualCircuitsInnerAnyOf1VrfCreatedBy) GetCreatedAtOk ¶ added in v0.2.6

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 (*GetInterconnection200ResponsePortsInnerVirtualCircuitsVirtualCircuitsInnerAnyOf1VrfCreatedBy) GetCustomdata ¶ added in v0.2.6

GetCustomdata returns the Customdata field value if set, zero value otherwise.

func (*GetInterconnection200ResponsePortsInnerVirtualCircuitsVirtualCircuitsInnerAnyOf1VrfCreatedBy) GetCustomdataOk ¶ added in v0.2.6

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 (*GetInterconnection200ResponsePortsInnerVirtualCircuitsVirtualCircuitsInnerAnyOf1VrfCreatedBy) GetEmail ¶ added in v0.2.6

GetEmail returns the Email field value if set, zero value otherwise.

func (*GetInterconnection200ResponsePortsInnerVirtualCircuitsVirtualCircuitsInnerAnyOf1VrfCreatedBy) GetEmailOk ¶ added in v0.2.6

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 (*GetInterconnection200ResponsePortsInnerVirtualCircuitsVirtualCircuitsInnerAnyOf1VrfCreatedBy) GetEmails ¶ added in v0.2.6

GetEmails returns the Emails field value if set, zero value otherwise.

func (*GetInterconnection200ResponsePortsInnerVirtualCircuitsVirtualCircuitsInnerAnyOf1VrfCreatedBy) GetEmailsOk ¶ added in v0.2.6

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 (*GetInterconnection200ResponsePortsInnerVirtualCircuitsVirtualCircuitsInnerAnyOf1VrfCreatedBy) GetFirstName ¶ added in v0.2.6

GetFirstName returns the FirstName field value if set, zero value otherwise.

func (*GetInterconnection200ResponsePortsInnerVirtualCircuitsVirtualCircuitsInnerAnyOf1VrfCreatedBy) GetFirstNameOk ¶ added in v0.2.6

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 (*GetInterconnection200ResponsePortsInnerVirtualCircuitsVirtualCircuitsInnerAnyOf1VrfCreatedBy) GetFraudScore ¶ added in v0.2.6

GetFraudScore returns the FraudScore field value if set, zero value otherwise.

func (*GetInterconnection200ResponsePortsInnerVirtualCircuitsVirtualCircuitsInnerAnyOf1VrfCreatedBy) GetFraudScoreOk ¶ added in v0.2.6

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 (*GetInterconnection200ResponsePortsInnerVirtualCircuitsVirtualCircuitsInnerAnyOf1VrfCreatedBy) GetFullName ¶ added in v0.2.6

GetFullName returns the FullName field value if set, zero value otherwise.

func (*GetInterconnection200ResponsePortsInnerVirtualCircuitsVirtualCircuitsInnerAnyOf1VrfCreatedBy) GetFullNameOk ¶ added in v0.2.6

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 (*GetInterconnection200ResponsePortsInnerVirtualCircuitsVirtualCircuitsInnerAnyOf1VrfCreatedBy) GetHref ¶ added in v0.2.6

GetHref returns the Href field value if set, zero value otherwise.

func (*GetInterconnection200ResponsePortsInnerVirtualCircuitsVirtualCircuitsInnerAnyOf1VrfCreatedBy) GetHrefOk ¶ added in v0.2.6

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 (*GetInterconnection200ResponsePortsInnerVirtualCircuitsVirtualCircuitsInnerAnyOf1VrfCreatedBy) GetId ¶ added in v0.2.6

GetId returns the Id field value if set, zero value otherwise.

func (*GetInterconnection200ResponsePortsInnerVirtualCircuitsVirtualCircuitsInnerAnyOf1VrfCreatedBy) GetIdOk ¶ added in v0.2.6

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 (*GetInterconnection200ResponsePortsInnerVirtualCircuitsVirtualCircuitsInnerAnyOf1VrfCreatedBy) GetLastLoginAt ¶ added in v0.2.6

GetLastLoginAt returns the LastLoginAt field value if set, zero value otherwise.

func (*GetInterconnection200ResponsePortsInnerVirtualCircuitsVirtualCircuitsInnerAnyOf1VrfCreatedBy) GetLastLoginAtOk ¶ added in v0.2.6

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 (*GetInterconnection200ResponsePortsInnerVirtualCircuitsVirtualCircuitsInnerAnyOf1VrfCreatedBy) GetLastName ¶ added in v0.2.6

GetLastName returns the LastName field value if set, zero value otherwise.

func (*GetInterconnection200ResponsePortsInnerVirtualCircuitsVirtualCircuitsInnerAnyOf1VrfCreatedBy) GetLastNameOk ¶ added in v0.2.6

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 (*GetInterconnection200ResponsePortsInnerVirtualCircuitsVirtualCircuitsInnerAnyOf1VrfCreatedBy) GetMaxOrganizations ¶ added in v0.2.6

GetMaxOrganizations returns the MaxOrganizations field value if set, zero value otherwise.

func (*GetInterconnection200ResponsePortsInnerVirtualCircuitsVirtualCircuitsInnerAnyOf1VrfCreatedBy) GetMaxOrganizationsOk ¶ added in v0.2.6

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 (*GetInterconnection200ResponsePortsInnerVirtualCircuitsVirtualCircuitsInnerAnyOf1VrfCreatedBy) GetMaxProjects ¶ added in v0.2.6

GetMaxProjects returns the MaxProjects field value if set, zero value otherwise.

func (*GetInterconnection200ResponsePortsInnerVirtualCircuitsVirtualCircuitsInnerAnyOf1VrfCreatedBy) GetMaxProjectsOk ¶ added in v0.2.6

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 (*GetInterconnection200ResponsePortsInnerVirtualCircuitsVirtualCircuitsInnerAnyOf1VrfCreatedBy) GetPhoneNumber ¶ added in v0.2.6

GetPhoneNumber returns the PhoneNumber field value if set, zero value otherwise.

func (*GetInterconnection200ResponsePortsInnerVirtualCircuitsVirtualCircuitsInnerAnyOf1VrfCreatedBy) GetPhoneNumberOk ¶ added in v0.2.6

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 (*GetInterconnection200ResponsePortsInnerVirtualCircuitsVirtualCircuitsInnerAnyOf1VrfCreatedBy) GetShortId ¶ added in v0.2.6

GetShortId returns the ShortId field value if set, zero value otherwise.

func (*GetInterconnection200ResponsePortsInnerVirtualCircuitsVirtualCircuitsInnerAnyOf1VrfCreatedBy) GetShortIdOk ¶ added in v0.2.6

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 (*GetInterconnection200ResponsePortsInnerVirtualCircuitsVirtualCircuitsInnerAnyOf1VrfCreatedBy) GetTimezone ¶ added in v0.2.6

GetTimezone returns the Timezone field value if set, zero value otherwise.

func (*GetInterconnection200ResponsePortsInnerVirtualCircuitsVirtualCircuitsInnerAnyOf1VrfCreatedBy) GetTimezoneOk ¶ added in v0.2.6

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 (*GetInterconnection200ResponsePortsInnerVirtualCircuitsVirtualCircuitsInnerAnyOf1VrfCreatedBy) GetTwoFactorAuth ¶ added in v0.2.6

GetTwoFactorAuth returns the TwoFactorAuth field value if set, zero value otherwise.

func (*GetInterconnection200ResponsePortsInnerVirtualCircuitsVirtualCircuitsInnerAnyOf1VrfCreatedBy) GetTwoFactorAuthOk ¶ added in v0.2.6

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 (*GetInterconnection200ResponsePortsInnerVirtualCircuitsVirtualCircuitsInnerAnyOf1VrfCreatedBy) GetUpdatedAt ¶ added in v0.2.6

GetUpdatedAt returns the UpdatedAt field value if set, zero value otherwise.

func (*GetInterconnection200ResponsePortsInnerVirtualCircuitsVirtualCircuitsInnerAnyOf1VrfCreatedBy) GetUpdatedAtOk ¶ added in v0.2.6

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 (*GetInterconnection200ResponsePortsInnerVirtualCircuitsVirtualCircuitsInnerAnyOf1VrfCreatedBy) HasAvatarThumbUrl ¶ added in v0.2.6

HasAvatarThumbUrl returns a boolean if a field has been set.

func (*GetInterconnection200ResponsePortsInnerVirtualCircuitsVirtualCircuitsInnerAnyOf1VrfCreatedBy) HasAvatarUrl ¶ added in v0.2.6

HasAvatarUrl returns a boolean if a field has been set.

func (*GetInterconnection200ResponsePortsInnerVirtualCircuitsVirtualCircuitsInnerAnyOf1VrfCreatedBy) HasCreatedAt ¶ added in v0.2.6

HasCreatedAt returns a boolean if a field has been set.

func (*GetInterconnection200ResponsePortsInnerVirtualCircuitsVirtualCircuitsInnerAnyOf1VrfCreatedBy) HasCustomdata ¶ added in v0.2.6

HasCustomdata returns a boolean if a field has been set.

func (*GetInterconnection200ResponsePortsInnerVirtualCircuitsVirtualCircuitsInnerAnyOf1VrfCreatedBy) HasEmail ¶ added in v0.2.6

HasEmail returns a boolean if a field has been set.

func (*GetInterconnection200ResponsePortsInnerVirtualCircuitsVirtualCircuitsInnerAnyOf1VrfCreatedBy) HasEmails ¶ added in v0.2.6

HasEmails returns a boolean if a field has been set.

func (*GetInterconnection200ResponsePortsInnerVirtualCircuitsVirtualCircuitsInnerAnyOf1VrfCreatedBy) HasFirstName ¶ added in v0.2.6

HasFirstName returns a boolean if a field has been set.

func (*GetInterconnection200ResponsePortsInnerVirtualCircuitsVirtualCircuitsInnerAnyOf1VrfCreatedBy) HasFraudScore ¶ added in v0.2.6

HasFraudScore returns a boolean if a field has been set.

func (*GetInterconnection200ResponsePortsInnerVirtualCircuitsVirtualCircuitsInnerAnyOf1VrfCreatedBy) HasFullName ¶ added in v0.2.6

HasFullName returns a boolean if a field has been set.

func (*GetInterconnection200ResponsePortsInnerVirtualCircuitsVirtualCircuitsInnerAnyOf1VrfCreatedBy) HasHref ¶ added in v0.2.6

HasHref returns a boolean if a field has been set.

func (*GetInterconnection200ResponsePortsInnerVirtualCircuitsVirtualCircuitsInnerAnyOf1VrfCreatedBy) HasId ¶ added in v0.2.6

HasId returns a boolean if a field has been set.

func (*GetInterconnection200ResponsePortsInnerVirtualCircuitsVirtualCircuitsInnerAnyOf1VrfCreatedBy) HasLastLoginAt ¶ added in v0.2.6

HasLastLoginAt returns a boolean if a field has been set.

func (*GetInterconnection200ResponsePortsInnerVirtualCircuitsVirtualCircuitsInnerAnyOf1VrfCreatedBy) HasLastName ¶ added in v0.2.6

HasLastName returns a boolean if a field has been set.

func (*GetInterconnection200ResponsePortsInnerVirtualCircuitsVirtualCircuitsInnerAnyOf1VrfCreatedBy) HasMaxOrganizations ¶ added in v0.2.6

HasMaxOrganizations returns a boolean if a field has been set.

func (*GetInterconnection200ResponsePortsInnerVirtualCircuitsVirtualCircuitsInnerAnyOf1VrfCreatedBy) HasMaxProjects ¶ added in v0.2.6

HasMaxProjects returns a boolean if a field has been set.

func (*GetInterconnection200ResponsePortsInnerVirtualCircuitsVirtualCircuitsInnerAnyOf1VrfCreatedBy) HasPhoneNumber ¶ added in v0.2.6

HasPhoneNumber returns a boolean if a field has been set.

func (*GetInterconnection200ResponsePortsInnerVirtualCircuitsVirtualCircuitsInnerAnyOf1VrfCreatedBy) HasShortId ¶ added in v0.2.6

HasShortId returns a boolean if a field has been set.

func (*GetInterconnection200ResponsePortsInnerVirtualCircuitsVirtualCircuitsInnerAnyOf1VrfCreatedBy) HasTimezone ¶ added in v0.2.6

HasTimezone returns a boolean if a field has been set.

func (*GetInterconnection200ResponsePortsInnerVirtualCircuitsVirtualCircuitsInnerAnyOf1VrfCreatedBy) HasTwoFactorAuth ¶ added in v0.2.6

HasTwoFactorAuth returns a boolean if a field has been set.

func (*GetInterconnection200ResponsePortsInnerVirtualCircuitsVirtualCircuitsInnerAnyOf1VrfCreatedBy) HasUpdatedAt ¶ added in v0.2.6

HasUpdatedAt returns a boolean if a field has been set.

func (GetInterconnection200ResponsePortsInnerVirtualCircuitsVirtualCircuitsInnerAnyOf1VrfCreatedBy) MarshalJSON ¶ added in v0.2.6

func (*GetInterconnection200ResponsePortsInnerVirtualCircuitsVirtualCircuitsInnerAnyOf1VrfCreatedBy) SetAvatarThumbUrl ¶ added in v0.2.6

SetAvatarThumbUrl gets a reference to the given string and assigns it to the AvatarThumbUrl field.

func (*GetInterconnection200ResponsePortsInnerVirtualCircuitsVirtualCircuitsInnerAnyOf1VrfCreatedBy) SetAvatarUrl ¶ added in v0.2.6

SetAvatarUrl gets a reference to the given string and assigns it to the AvatarUrl field.

func (*GetInterconnection200ResponsePortsInnerVirtualCircuitsVirtualCircuitsInnerAnyOf1VrfCreatedBy) SetCreatedAt ¶ added in v0.2.6

SetCreatedAt gets a reference to the given time.Time and assigns it to the CreatedAt field.

func (*GetInterconnection200ResponsePortsInnerVirtualCircuitsVirtualCircuitsInnerAnyOf1VrfCreatedBy) SetCustomdata ¶ added in v0.2.6

SetCustomdata gets a reference to the given map[string]interface{} and assigns it to the Customdata field.

func (*GetInterconnection200ResponsePortsInnerVirtualCircuitsVirtualCircuitsInnerAnyOf1VrfCreatedBy) SetEmail ¶ added in v0.2.6

SetEmail gets a reference to the given string and assigns it to the Email field.

func (*GetInterconnection200ResponsePortsInnerVirtualCircuitsVirtualCircuitsInnerAnyOf1VrfCreatedBy) SetEmails ¶ added in v0.2.6

SetEmails gets a reference to the given []FindBatchById200ResponseDevicesInner and assigns it to the Emails field.

func (*GetInterconnection200ResponsePortsInnerVirtualCircuitsVirtualCircuitsInnerAnyOf1VrfCreatedBy) SetFirstName ¶ added in v0.2.6

SetFirstName gets a reference to the given string and assigns it to the FirstName field.

func (*GetInterconnection200ResponsePortsInnerVirtualCircuitsVirtualCircuitsInnerAnyOf1VrfCreatedBy) SetFraudScore ¶ added in v0.2.6

SetFraudScore gets a reference to the given string and assigns it to the FraudScore field.

func (*GetInterconnection200ResponsePortsInnerVirtualCircuitsVirtualCircuitsInnerAnyOf1VrfCreatedBy) SetFullName ¶ added in v0.2.6

SetFullName gets a reference to the given string and assigns it to the FullName field.

func (*GetInterconnection200ResponsePortsInnerVirtualCircuitsVirtualCircuitsInnerAnyOf1VrfCreatedBy) SetHref ¶ added in v0.2.6

SetHref gets a reference to the given string and assigns it to the Href field.

func (*GetInterconnection200ResponsePortsInnerVirtualCircuitsVirtualCircuitsInnerAnyOf1VrfCreatedBy) SetId ¶ added in v0.2.6

SetId gets a reference to the given string and assigns it to the Id field.

func (*GetInterconnection200ResponsePortsInnerVirtualCircuitsVirtualCircuitsInnerAnyOf1VrfCreatedBy) SetLastLoginAt ¶ added in v0.2.6

SetLastLoginAt gets a reference to the given time.Time and assigns it to the LastLoginAt field.

func (*GetInterconnection200ResponsePortsInnerVirtualCircuitsVirtualCircuitsInnerAnyOf1VrfCreatedBy) SetLastName ¶ added in v0.2.6

SetLastName gets a reference to the given string and assigns it to the LastName field.

func (*GetInterconnection200ResponsePortsInnerVirtualCircuitsVirtualCircuitsInnerAnyOf1VrfCreatedBy) SetMaxOrganizations ¶ added in v0.2.6

SetMaxOrganizations gets a reference to the given int32 and assigns it to the MaxOrganizations field.

func (*GetInterconnection200ResponsePortsInnerVirtualCircuitsVirtualCircuitsInnerAnyOf1VrfCreatedBy) SetMaxProjects ¶ added in v0.2.6

SetMaxProjects gets a reference to the given int32 and assigns it to the MaxProjects field.

func (*GetInterconnection200ResponsePortsInnerVirtualCircuitsVirtualCircuitsInnerAnyOf1VrfCreatedBy) SetPhoneNumber ¶ added in v0.2.6

SetPhoneNumber gets a reference to the given string and assigns it to the PhoneNumber field.

func (*GetInterconnection200ResponsePortsInnerVirtualCircuitsVirtualCircuitsInnerAnyOf1VrfCreatedBy) SetShortId ¶ added in v0.2.6

SetShortId gets a reference to the given string and assigns it to the ShortId field.

func (*GetInterconnection200ResponsePortsInnerVirtualCircuitsVirtualCircuitsInnerAnyOf1VrfCreatedBy) SetTimezone ¶ added in v0.2.6

SetTimezone gets a reference to the given string and assigns it to the Timezone field.

func (*GetInterconnection200ResponsePortsInnerVirtualCircuitsVirtualCircuitsInnerAnyOf1VrfCreatedBy) SetTwoFactorAuth ¶ added in v0.2.6

SetTwoFactorAuth gets a reference to the given string and assigns it to the TwoFactorAuth field.

func (*GetInterconnection200ResponsePortsInnerVirtualCircuitsVirtualCircuitsInnerAnyOf1VrfCreatedBy) SetUpdatedAt ¶ added in v0.2.6

SetUpdatedAt gets a reference to the given time.Time and assigns it to the UpdatedAt field.

type GetInterconnection200ResponsePortsInnerVirtualCircuitsVirtualCircuitsInnerAnyOf1VrfProject ¶ added in v0.2.6

type GetInterconnection200ResponsePortsInnerVirtualCircuitsVirtualCircuitsInnerAnyOf1VrfProject struct {
	BgpConfig     *FindBatchById200ResponseDevicesInner  `json:"bgp_config,omitempty"`
	CreatedAt     *time.Time                             `json:"created_at,omitempty"`
	Customdata    map[string]interface{}                 `json:"customdata,omitempty"`
	Devices       []FindBatchById200ResponseDevicesInner `json:"devices,omitempty"`
	Id            *string                                `json:"id,omitempty"`
	Invitations   []FindBatchById200ResponseDevicesInner `json:"invitations,omitempty"`
	MaxDevices    map[string]interface{}                 `json:"max_devices,omitempty"`
	Members       []FindBatchById200ResponseDevicesInner `json:"members,omitempty"`
	Memberships   []FindBatchById200ResponseDevicesInner `json:"memberships,omitempty"`
	Name          *string                                `json:"name,omitempty"`
	NetworkStatus map[string]interface{}                 `json:"network_status,omitempty"`
	PaymentMethod *FindBatchById200ResponseDevicesInner  `json:"payment_method,omitempty"`
	SshKeys       []FindBatchById200ResponseDevicesInner `json:"ssh_keys,omitempty"`
	UpdatedAt     *time.Time                             `json:"updated_at,omitempty"`
	Volumes       []FindBatchById200ResponseDevicesInner `json:"volumes,omitempty"`
}

GetInterconnection200ResponsePortsInnerVirtualCircuitsVirtualCircuitsInnerAnyOf1VrfProject struct for GetInterconnection200ResponsePortsInnerVirtualCircuitsVirtualCircuitsInnerAnyOf1VrfProject

func NewGetInterconnection200ResponsePortsInnerVirtualCircuitsVirtualCircuitsInnerAnyOf1VrfProject ¶ added in v0.2.6

func NewGetInterconnection200ResponsePortsInnerVirtualCircuitsVirtualCircuitsInnerAnyOf1VrfProject() *GetInterconnection200ResponsePortsInnerVirtualCircuitsVirtualCircuitsInnerAnyOf1VrfProject

NewGetInterconnection200ResponsePortsInnerVirtualCircuitsVirtualCircuitsInnerAnyOf1VrfProject instantiates a new GetInterconnection200ResponsePortsInnerVirtualCircuitsVirtualCircuitsInnerAnyOf1VrfProject 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 NewGetInterconnection200ResponsePortsInnerVirtualCircuitsVirtualCircuitsInnerAnyOf1VrfProjectWithDefaults ¶ added in v0.2.6

func NewGetInterconnection200ResponsePortsInnerVirtualCircuitsVirtualCircuitsInnerAnyOf1VrfProjectWithDefaults() *GetInterconnection200ResponsePortsInnerVirtualCircuitsVirtualCircuitsInnerAnyOf1VrfProject

NewGetInterconnection200ResponsePortsInnerVirtualCircuitsVirtualCircuitsInnerAnyOf1VrfProjectWithDefaults instantiates a new GetInterconnection200ResponsePortsInnerVirtualCircuitsVirtualCircuitsInnerAnyOf1VrfProject 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 (*GetInterconnection200ResponsePortsInnerVirtualCircuitsVirtualCircuitsInnerAnyOf1VrfProject) GetBgpConfig ¶ added in v0.2.6

GetBgpConfig returns the BgpConfig field value if set, zero value otherwise.

func (*GetInterconnection200ResponsePortsInnerVirtualCircuitsVirtualCircuitsInnerAnyOf1VrfProject) GetBgpConfigOk ¶ added in v0.2.6

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 (*GetInterconnection200ResponsePortsInnerVirtualCircuitsVirtualCircuitsInnerAnyOf1VrfProject) GetCreatedAt ¶ added in v0.2.6

GetCreatedAt returns the CreatedAt field value if set, zero value otherwise.

func (*GetInterconnection200ResponsePortsInnerVirtualCircuitsVirtualCircuitsInnerAnyOf1VrfProject) GetCreatedAtOk ¶ added in v0.2.6

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 (*GetInterconnection200ResponsePortsInnerVirtualCircuitsVirtualCircuitsInnerAnyOf1VrfProject) GetCustomdata ¶ added in v0.2.6

GetCustomdata returns the Customdata field value if set, zero value otherwise.

func (*GetInterconnection200ResponsePortsInnerVirtualCircuitsVirtualCircuitsInnerAnyOf1VrfProject) GetCustomdataOk ¶ added in v0.2.6

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 (*GetInterconnection200ResponsePortsInnerVirtualCircuitsVirtualCircuitsInnerAnyOf1VrfProject) GetDevices ¶ added in v0.2.6

GetDevices returns the Devices field value if set, zero value otherwise.

func (*GetInterconnection200ResponsePortsInnerVirtualCircuitsVirtualCircuitsInnerAnyOf1VrfProject) GetDevicesOk ¶ added in v0.2.6

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 (*GetInterconnection200ResponsePortsInnerVirtualCircuitsVirtualCircuitsInnerAnyOf1VrfProject) GetId ¶ added in v0.2.6

GetId returns the Id field value if set, zero value otherwise.

func (*GetInterconnection200ResponsePortsInnerVirtualCircuitsVirtualCircuitsInnerAnyOf1VrfProject) GetIdOk ¶ added in v0.2.6

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 (*GetInterconnection200ResponsePortsInnerVirtualCircuitsVirtualCircuitsInnerAnyOf1VrfProject) GetInvitations ¶ added in v0.2.6

GetInvitations returns the Invitations field value if set, zero value otherwise.

func (*GetInterconnection200ResponsePortsInnerVirtualCircuitsVirtualCircuitsInnerAnyOf1VrfProject) GetInvitationsOk ¶ added in v0.2.6

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 (*GetInterconnection200ResponsePortsInnerVirtualCircuitsVirtualCircuitsInnerAnyOf1VrfProject) GetMaxDevices ¶ added in v0.2.6

GetMaxDevices returns the MaxDevices field value if set, zero value otherwise.

func (*GetInterconnection200ResponsePortsInnerVirtualCircuitsVirtualCircuitsInnerAnyOf1VrfProject) GetMaxDevicesOk ¶ added in v0.2.6

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 (*GetInterconnection200ResponsePortsInnerVirtualCircuitsVirtualCircuitsInnerAnyOf1VrfProject) GetMembers ¶ added in v0.2.6

GetMembers returns the Members field value if set, zero value otherwise.

func (*GetInterconnection200ResponsePortsInnerVirtualCircuitsVirtualCircuitsInnerAnyOf1VrfProject) GetMembersOk ¶ added in v0.2.6

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 (*GetInterconnection200ResponsePortsInnerVirtualCircuitsVirtualCircuitsInnerAnyOf1VrfProject) GetMemberships ¶ added in v0.2.6

GetMemberships returns the Memberships field value if set, zero value otherwise.

func (*GetInterconnection200ResponsePortsInnerVirtualCircuitsVirtualCircuitsInnerAnyOf1VrfProject) GetMembershipsOk ¶ added in v0.2.6

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 (*GetInterconnection200ResponsePortsInnerVirtualCircuitsVirtualCircuitsInnerAnyOf1VrfProject) GetName ¶ added in v0.2.6

GetName returns the Name field value if set, zero value otherwise.

func (*GetInterconnection200ResponsePortsInnerVirtualCircuitsVirtualCircuitsInnerAnyOf1VrfProject) GetNameOk ¶ added in v0.2.6

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 (*GetInterconnection200ResponsePortsInnerVirtualCircuitsVirtualCircuitsInnerAnyOf1VrfProject) GetNetworkStatus ¶ added in v0.2.6

GetNetworkStatus returns the NetworkStatus field value if set, zero value otherwise.

func (*GetInterconnection200ResponsePortsInnerVirtualCircuitsVirtualCircuitsInnerAnyOf1VrfProject) GetNetworkStatusOk ¶ added in v0.2.6

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 (*GetInterconnection200ResponsePortsInnerVirtualCircuitsVirtualCircuitsInnerAnyOf1VrfProject) GetPaymentMethod ¶ added in v0.2.6

GetPaymentMethod returns the PaymentMethod field value if set, zero value otherwise.

func (*GetInterconnection200ResponsePortsInnerVirtualCircuitsVirtualCircuitsInnerAnyOf1VrfProject) GetPaymentMethodOk ¶ added in v0.2.6

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 (*GetInterconnection200ResponsePortsInnerVirtualCircuitsVirtualCircuitsInnerAnyOf1VrfProject) GetSshKeys ¶ added in v0.2.6

GetSshKeys returns the SshKeys field value if set, zero value otherwise.

func (*GetInterconnection200ResponsePortsInnerVirtualCircuitsVirtualCircuitsInnerAnyOf1VrfProject) GetSshKeysOk ¶ added in v0.2.6

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 (*GetInterconnection200ResponsePortsInnerVirtualCircuitsVirtualCircuitsInnerAnyOf1VrfProject) GetUpdatedAt ¶ added in v0.2.6

GetUpdatedAt returns the UpdatedAt field value if set, zero value otherwise.

func (*GetInterconnection200ResponsePortsInnerVirtualCircuitsVirtualCircuitsInnerAnyOf1VrfProject) GetUpdatedAtOk ¶ added in v0.2.6

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 (*GetInterconnection200ResponsePortsInnerVirtualCircuitsVirtualCircuitsInnerAnyOf1VrfProject) GetVolumes ¶ added in v0.2.6

GetVolumes returns the Volumes field value if set, zero value otherwise.

func (*GetInterconnection200ResponsePortsInnerVirtualCircuitsVirtualCircuitsInnerAnyOf1VrfProject) GetVolumesOk ¶ added in v0.2.6

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 (*GetInterconnection200ResponsePortsInnerVirtualCircuitsVirtualCircuitsInnerAnyOf1VrfProject) HasBgpConfig ¶ added in v0.2.6

HasBgpConfig returns a boolean if a field has been set.

func (*GetInterconnection200ResponsePortsInnerVirtualCircuitsVirtualCircuitsInnerAnyOf1VrfProject) HasCreatedAt ¶ added in v0.2.6

HasCreatedAt returns a boolean if a field has been set.

func (*GetInterconnection200ResponsePortsInnerVirtualCircuitsVirtualCircuitsInnerAnyOf1VrfProject) HasCustomdata ¶ added in v0.2.6

HasCustomdata returns a boolean if a field has been set.

func (*GetInterconnection200ResponsePortsInnerVirtualCircuitsVirtualCircuitsInnerAnyOf1VrfProject) HasDevices ¶ added in v0.2.6

HasDevices returns a boolean if a field has been set.

func (*GetInterconnection200ResponsePortsInnerVirtualCircuitsVirtualCircuitsInnerAnyOf1VrfProject) HasId ¶ added in v0.2.6

HasId returns a boolean if a field has been set.

func (*GetInterconnection200ResponsePortsInnerVirtualCircuitsVirtualCircuitsInnerAnyOf1VrfProject) HasInvitations ¶ added in v0.2.6

HasInvitations returns a boolean if a field has been set.

func (*GetInterconnection200ResponsePortsInnerVirtualCircuitsVirtualCircuitsInnerAnyOf1VrfProject) HasMaxDevices ¶ added in v0.2.6

HasMaxDevices returns a boolean if a field has been set.

func (*GetInterconnection200ResponsePortsInnerVirtualCircuitsVirtualCircuitsInnerAnyOf1VrfProject) HasMembers ¶ added in v0.2.6

HasMembers returns a boolean if a field has been set.

func (*GetInterconnection200ResponsePortsInnerVirtualCircuitsVirtualCircuitsInnerAnyOf1VrfProject) HasMemberships ¶ added in v0.2.6

HasMemberships returns a boolean if a field has been set.

func (*GetInterconnection200ResponsePortsInnerVirtualCircuitsVirtualCircuitsInnerAnyOf1VrfProject) HasName ¶ added in v0.2.6

HasName returns a boolean if a field has been set.

func (*GetInterconnection200ResponsePortsInnerVirtualCircuitsVirtualCircuitsInnerAnyOf1VrfProject) HasNetworkStatus ¶ added in v0.2.6

HasNetworkStatus returns a boolean if a field has been set.

func (*GetInterconnection200ResponsePortsInnerVirtualCircuitsVirtualCircuitsInnerAnyOf1VrfProject) HasPaymentMethod ¶ added in v0.2.6

HasPaymentMethod returns a boolean if a field has been set.

func (*GetInterconnection200ResponsePortsInnerVirtualCircuitsVirtualCircuitsInnerAnyOf1VrfProject) HasSshKeys ¶ added in v0.2.6

HasSshKeys returns a boolean if a field has been set.

func (*GetInterconnection200ResponsePortsInnerVirtualCircuitsVirtualCircuitsInnerAnyOf1VrfProject) HasUpdatedAt ¶ added in v0.2.6

HasUpdatedAt returns a boolean if a field has been set.

func (*GetInterconnection200ResponsePortsInnerVirtualCircuitsVirtualCircuitsInnerAnyOf1VrfProject) HasVolumes ¶ added in v0.2.6

HasVolumes returns a boolean if a field has been set.

func (GetInterconnection200ResponsePortsInnerVirtualCircuitsVirtualCircuitsInnerAnyOf1VrfProject) MarshalJSON ¶ added in v0.2.6

func (*GetInterconnection200ResponsePortsInnerVirtualCircuitsVirtualCircuitsInnerAnyOf1VrfProject) SetBgpConfig ¶ added in v0.2.6

SetBgpConfig gets a reference to the given FindBatchById200ResponseDevicesInner and assigns it to the BgpConfig field.

func (*GetInterconnection200ResponsePortsInnerVirtualCircuitsVirtualCircuitsInnerAnyOf1VrfProject) SetCreatedAt ¶ added in v0.2.6

SetCreatedAt gets a reference to the given time.Time and assigns it to the CreatedAt field.

func (*GetInterconnection200ResponsePortsInnerVirtualCircuitsVirtualCircuitsInnerAnyOf1VrfProject) SetCustomdata ¶ added in v0.2.6

SetCustomdata gets a reference to the given map[string]interface{} and assigns it to the Customdata field.

func (*GetInterconnection200ResponsePortsInnerVirtualCircuitsVirtualCircuitsInnerAnyOf1VrfProject) SetDevices ¶ added in v0.2.6

SetDevices gets a reference to the given []FindBatchById200ResponseDevicesInner and assigns it to the Devices field.

func (*GetInterconnection200ResponsePortsInnerVirtualCircuitsVirtualCircuitsInnerAnyOf1VrfProject) SetId ¶ added in v0.2.6

SetId gets a reference to the given string and assigns it to the Id field.

func (*GetInterconnection200ResponsePortsInnerVirtualCircuitsVirtualCircuitsInnerAnyOf1VrfProject) SetInvitations ¶ added in v0.2.6

SetInvitations gets a reference to the given []FindBatchById200ResponseDevicesInner and assigns it to the Invitations field.

func (*GetInterconnection200ResponsePortsInnerVirtualCircuitsVirtualCircuitsInnerAnyOf1VrfProject) SetMaxDevices ¶ added in v0.2.6

SetMaxDevices gets a reference to the given map[string]interface{} and assigns it to the MaxDevices field.

func (*GetInterconnection200ResponsePortsInnerVirtualCircuitsVirtualCircuitsInnerAnyOf1VrfProject) SetMembers ¶ added in v0.2.6

SetMembers gets a reference to the given []FindBatchById200ResponseDevicesInner and assigns it to the Members field.

func (*GetInterconnection200ResponsePortsInnerVirtualCircuitsVirtualCircuitsInnerAnyOf1VrfProject) SetMemberships ¶ added in v0.2.6

SetMemberships gets a reference to the given []FindBatchById200ResponseDevicesInner and assigns it to the Memberships field.

func (*GetInterconnection200ResponsePortsInnerVirtualCircuitsVirtualCircuitsInnerAnyOf1VrfProject) SetName ¶ added in v0.2.6

SetName gets a reference to the given string and assigns it to the Name field.

func (*GetInterconnection200ResponsePortsInnerVirtualCircuitsVirtualCircuitsInnerAnyOf1VrfProject) SetNetworkStatus ¶ added in v0.2.6

SetNetworkStatus gets a reference to the given map[string]interface{} and assigns it to the NetworkStatus field.

func (*GetInterconnection200ResponsePortsInnerVirtualCircuitsVirtualCircuitsInnerAnyOf1VrfProject) SetPaymentMethod ¶ added in v0.2.6

SetPaymentMethod gets a reference to the given FindBatchById200ResponseDevicesInner and assigns it to the PaymentMethod field.

func (*GetInterconnection200ResponsePortsInnerVirtualCircuitsVirtualCircuitsInnerAnyOf1VrfProject) SetSshKeys ¶ added in v0.2.6

SetSshKeys gets a reference to the given []FindBatchById200ResponseDevicesInner and assigns it to the SshKeys field.

func (*GetInterconnection200ResponsePortsInnerVirtualCircuitsVirtualCircuitsInnerAnyOf1VrfProject) SetUpdatedAt ¶ added in v0.2.6

SetUpdatedAt gets a reference to the given time.Time and assigns it to the UpdatedAt field.

func (*GetInterconnection200ResponsePortsInnerVirtualCircuitsVirtualCircuitsInnerAnyOf1VrfProject) SetVolumes ¶ added in v0.2.6

SetVolumes gets a reference to the given []FindBatchById200ResponseDevicesInner and assigns it to the Volumes field.

type GetInterconnection200ResponseServiceTokensInner ¶

type GetInterconnection200ResponseServiceTokensInner 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"`
	// Either primary or secondary, depending on which interconnection the service token is associated to.
	Role *string `json:"role,omitempty"`
	// Either 'a_side' or 'z_side', depending on which type of Fabric VC was requested.
	ServiceTokenType *string `json:"service_token_type,omitempty"`
	// 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.
	State *string `json:"state,omitempty"`
}

GetInterconnection200ResponseServiceTokensInner struct for GetInterconnection200ResponseServiceTokensInner

func NewGetInterconnection200ResponseServiceTokensInner ¶

func NewGetInterconnection200ResponseServiceTokensInner() *GetInterconnection200ResponseServiceTokensInner

NewGetInterconnection200ResponseServiceTokensInner instantiates a new GetInterconnection200ResponseServiceTokensInner 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 NewGetInterconnection200ResponseServiceTokensInnerWithDefaults ¶

func NewGetInterconnection200ResponseServiceTokensInnerWithDefaults() *GetInterconnection200ResponseServiceTokensInner

NewGetInterconnection200ResponseServiceTokensInnerWithDefaults instantiates a new GetInterconnection200ResponseServiceTokensInner 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 (*GetInterconnection200ResponseServiceTokensInner) GetExpiresAt ¶

GetExpiresAt returns the ExpiresAt field value if set, zero value otherwise.

func (*GetInterconnection200ResponseServiceTokensInner) GetExpiresAtOk ¶

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 (*GetInterconnection200ResponseServiceTokensInner) GetId ¶

GetId returns the Id field value if set, zero value otherwise.

func (*GetInterconnection200ResponseServiceTokensInner) 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 (*GetInterconnection200ResponseServiceTokensInner) GetMaxAllowedSpeed ¶

GetMaxAllowedSpeed returns the MaxAllowedSpeed field value if set, zero value otherwise.

func (*GetInterconnection200ResponseServiceTokensInner) GetMaxAllowedSpeedOk ¶

func (o *GetInterconnection200ResponseServiceTokensInner) 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 (*GetInterconnection200ResponseServiceTokensInner) GetRole ¶

GetRole returns the Role field value if set, zero value otherwise.

func (*GetInterconnection200ResponseServiceTokensInner) 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 (*GetInterconnection200ResponseServiceTokensInner) GetServiceTokenType ¶

GetServiceTokenType returns the ServiceTokenType field value if set, zero value otherwise.

func (*GetInterconnection200ResponseServiceTokensInner) GetServiceTokenTypeOk ¶

func (o *GetInterconnection200ResponseServiceTokensInner) GetServiceTokenTypeOk() (*string, 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 (*GetInterconnection200ResponseServiceTokensInner) GetState ¶

GetState returns the State field value if set, zero value otherwise.

func (*GetInterconnection200ResponseServiceTokensInner) 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 (*GetInterconnection200ResponseServiceTokensInner) HasExpiresAt ¶

HasExpiresAt returns a boolean if a field has been set.

func (*GetInterconnection200ResponseServiceTokensInner) HasId ¶

HasId returns a boolean if a field has been set.

func (*GetInterconnection200ResponseServiceTokensInner) HasMaxAllowedSpeed ¶

func (o *GetInterconnection200ResponseServiceTokensInner) HasMaxAllowedSpeed() bool

HasMaxAllowedSpeed returns a boolean if a field has been set.

func (*GetInterconnection200ResponseServiceTokensInner) HasRole ¶

HasRole returns a boolean if a field has been set.

func (*GetInterconnection200ResponseServiceTokensInner) HasServiceTokenType ¶

func (o *GetInterconnection200ResponseServiceTokensInner) HasServiceTokenType() bool

HasServiceTokenType returns a boolean if a field has been set.

func (*GetInterconnection200ResponseServiceTokensInner) HasState ¶

HasState returns a boolean if a field has been set.

func (GetInterconnection200ResponseServiceTokensInner) MarshalJSON ¶

func (*GetInterconnection200ResponseServiceTokensInner) SetExpiresAt ¶

SetExpiresAt gets a reference to the given time.Time and assigns it to the ExpiresAt field.

func (*GetInterconnection200ResponseServiceTokensInner) SetId ¶

SetId gets a reference to the given string and assigns it to the Id field.

func (*GetInterconnection200ResponseServiceTokensInner) SetMaxAllowedSpeed ¶

func (o *GetInterconnection200ResponseServiceTokensInner) SetMaxAllowedSpeed(v int32)

SetMaxAllowedSpeed gets a reference to the given int32 and assigns it to the MaxAllowedSpeed field.

func (*GetInterconnection200ResponseServiceTokensInner) SetRole ¶

SetRole gets a reference to the given string and assigns it to the Role field.

func (*GetInterconnection200ResponseServiceTokensInner) SetServiceTokenType ¶

func (o *GetInterconnection200ResponseServiceTokensInner) SetServiceTokenType(v string)

SetServiceTokenType gets a reference to the given string and assigns it to the ServiceTokenType field.

func (*GetInterconnection200ResponseServiceTokensInner) SetState ¶

SetState gets a reference to the given string and assigns it to the State field.

type GlobalBgpRange ¶

type GlobalBgpRange struct {
	AddressFamily *int32                                `json:"address_family,omitempty"`
	Href          *string                               `json:"href,omitempty"`
	Id            *string                               `json:"id,omitempty"`
	Project       *FindBatchById200ResponseDevicesInner `json:"project,omitempty"`
	Range         *string                               `json:"range,omitempty"`
}

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 ¶

GetProject returns the Project field value if set, zero value otherwise.

func (*GlobalBgpRange) GetProjectOk ¶

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 ¶

SetProject gets a reference to the given FindBatchById200ResponseDevicesInner 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.

type GlobalBgpRangeList ¶

type GlobalBgpRangeList struct {
	GlobalBgpRanges []FindBgpConfigByProject200ResponseRangesInner `json:"global_bgp_ranges,omitempty"`
}

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 ¶

GetGlobalBgpRanges returns the GlobalBgpRanges field value if set, zero value otherwise.

func (*GlobalBgpRangeList) GetGlobalBgpRangesOk ¶

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 ¶

SetGlobalBgpRanges gets a reference to the given []FindBgpConfigByProject200ResponseRangesInner and assigns it to the GlobalBgpRanges field.

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     *FindDeviceById200Response         `json:"device,omitempty"`
	Facility   *FindDeviceById200ResponseFacility `json:"facility,omitempty"`
	Href       *string                            `json:"href,omitempty"`
	Id         *string                            `json:"id,omitempty"`
	// Whether this Device requires assistance from Metal Equinix.
	NeedOfService *bool                                                                                       `json:"need_of_service,omitempty"`
	Plan          *FindDeviceById200ResponsePlan                                                              `json:"plan,omitempty"`
	Project       *GetInterconnection200ResponsePortsInnerVirtualCircuitsVirtualCircuitsInnerAnyOf1VrfProject `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 Metal Equinix
	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"`
}

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 ¶

GetDevice returns the Device field value if set, zero value otherwise.

func (*HardwareReservation) GetDeviceOk ¶

func (o *HardwareReservation) GetDeviceOk() (*FindDeviceById200Response, 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 ¶

GetFacility returns the Facility field value if set, zero value otherwise.

func (*HardwareReservation) GetFacilityOk ¶

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 ¶

GetPlan returns the Plan field value if set, zero value otherwise.

func (*HardwareReservation) GetPlanOk ¶

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 ¶

GetProject returns the Project field value if set, zero value otherwise.

func (*HardwareReservation) GetProjectOk ¶

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) 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) 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 ¶

SetDevice gets a reference to the given FindDeviceById200Response and assigns it to the Device field.

func (*HardwareReservation) SetFacility ¶

SetFacility gets a reference to the given FindDeviceById200ResponseFacility 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 ¶

SetPlan gets a reference to the given FindDeviceById200ResponsePlan and assigns it to the Plan field.

func (*HardwareReservation) SetProject ¶

SetProject gets a reference to the given GetInterconnection200ResponsePortsInnerVirtualCircuitsVirtualCircuitsInnerAnyOf1VrfProject 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.

type HardwareReservationList ¶

type HardwareReservationList struct {
	HardwareReservations []MoveHardwareReservation201Response `json:"hardware_reservations,omitempty"`
	Meta                 *FindDeviceEvents200ResponseMeta     `json:"meta,omitempty"`
}

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() []MoveHardwareReservation201Response

GetHardwareReservations returns the HardwareReservations field value if set, zero value otherwise.

func (*HardwareReservationList) GetHardwareReservationsOk ¶

func (o *HardwareReservationList) GetHardwareReservationsOk() ([]MoveHardwareReservation201Response, 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 ¶

GetMeta returns the Meta field value if set, zero value otherwise.

func (*HardwareReservationList) GetMetaOk ¶

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 []MoveHardwareReservation201Response)

SetHardwareReservations gets a reference to the given []MoveHardwareReservation201Response and assigns it to the HardwareReservations field.

func (*HardwareReservationList) SetMeta ¶

SetMeta gets a reference to the given FindDeviceEvents200ResponseMeta and assigns it to the Meta field.

type HardwareReservationsApiService ¶

type HardwareReservationsApiService service

HardwareReservationsApiService HardwareReservationsApi service

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 FindDeviceById200Response

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 FindProjectHardwareReservations200Response

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 MoveHardwareReservation201Response

type Href ¶

type Href struct {
	Href string `json:"href"`
}

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

type IPAddressesApiService ¶

type IPAddressesApiService service

IPAddressesApiService IPAddressesApi service

func (*IPAddressesApiService) DeleteIPAddress ¶

DeleteIPAddress Unassign an ip address

Note! 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 and will make the IP address available to be assigned to another device. Delete and 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 FindIPAvailabilities200Response

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 FindIPReservations200Response

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    *FindBatchById200ResponseDevicesInner                 `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         *FindDeviceById200ResponseIpAddressesInnerMetro       `json:"metro,omitempty"`
	Netmask       *string                                               `json:"netmask,omitempty"`
	Network       *string                                               `json:"network,omitempty"`
	ParentBlock   *FindDeviceById200ResponseIpAddressesInnerParentBlock `json:"parent_block,omitempty"`
	Public        *bool                                                 `json:"public,omitempty"`
}

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 ¶

GetAssignedTo returns the AssignedTo field value if set, zero value otherwise.

func (*IPAssignment) GetAssignedToOk ¶

func (o *IPAssignment) GetAssignedToOk() (*FindBatchById200ResponseDevicesInner, 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 ¶

GetMetro returns the Metro field value if set, zero value otherwise.

func (*IPAssignment) GetMetroOk ¶

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) GetParentBlock ¶

GetParentBlock returns the ParentBlock field value if set, zero value otherwise.

func (*IPAssignment) GetParentBlockOk ¶

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) 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) 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) 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 ¶

SetAssignedTo gets a reference to the given FindBatchById200ResponseDevicesInner 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 ¶

SetMetro gets a reference to the given FindDeviceById200ResponseIpAddressesInnerMetro 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) SetParentBlock ¶

SetParentBlock gets a reference to the given FindDeviceById200ResponseIpAddressesInnerParentBlock 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.

type IPAssignmentInput ¶

type IPAssignmentInput struct {
	Address    string                 `json:"address"`
	Customdata map[string]interface{} `json:"customdata,omitempty"`
	Manageable *bool                  `json:"manageable,omitempty"`
}

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) GetManageable ¶

func (o *IPAssignmentInput) GetManageable() bool

GetManageable returns the Manageable field value if set, zero value otherwise.

func (*IPAssignmentInput) GetManageableOk ¶

func (o *IPAssignmentInput) 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 (*IPAssignmentInput) HasCustomdata ¶

func (o *IPAssignmentInput) HasCustomdata() bool

HasCustomdata returns a boolean if a field has been set.

func (*IPAssignmentInput) HasManageable ¶

func (o *IPAssignmentInput) HasManageable() bool

HasManageable 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) SetManageable ¶

func (o *IPAssignmentInput) SetManageable(v bool)

SetManageable gets a reference to the given bool and assigns it to the Manageable field.

type IPAssignmentList ¶

type IPAssignmentList struct {
	IpAddresses []FindDeviceById200ResponseIpAddressesInner `json:"ip_addresses,omitempty"`
}

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 ¶

GetIpAddresses returns the IpAddresses field value if set, zero value otherwise.

func (*IPAssignmentList) GetIpAddressesOk ¶

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 ¶

SetIpAddresses gets a reference to the given []FindDeviceById200ResponseIpAddressesInner and assigns it to the IpAddresses field.

type IPAvailabilitiesList ¶

type IPAvailabilitiesList struct {
	Available []string `json:"available,omitempty"`
}

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.

type IPReservation ¶

type IPReservation struct {
	Addon         *bool                                                                             `json:"addon,omitempty"`
	AddressFamily *int32                                                                            `json:"address_family,omitempty"`
	Assignments   []FindDeviceById200ResponseIpAddressesInner                                       `json:"assignments,omitempty"`
	Bill          *bool                                                                             `json:"bill,omitempty"`
	Cidr          *int32                                                                            `json:"cidr,omitempty"`
	CreatedAt     *time.Time                                                                        `json:"created_at,omitempty"`
	Enabled       *bool                                                                             `json:"enabled,omitempty"`
	Facility      *FindIPAddressById200ResponseOneOfFacility                                        `json:"facility,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  *FindDeviceById200ResponseNetworkPortsInnerNativeVirtualNetworkMetalGatewaysInner `json:"metal_gateway,omitempty"`
	Metro         *FindIPAddressById200ResponseOneOfMetro                                           `json:"metro,omitempty"`
	Netmask       *string                                                                           `json:"netmask,omitempty"`
	Network       *string                                                                           `json:"network,omitempty"`
	Public        *bool                                                                             `json:"public,omitempty"`
	State         *string                                                                           `json:"state,omitempty"`
	Tags          []string                                                                          `json:"tags,omitempty"`
}

IPReservation struct for IPReservation

func NewIPReservation ¶

func NewIPReservation() *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) 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) GetAssignments ¶

GetAssignments returns the Assignments field value if set, zero value otherwise.

func (*IPReservation) GetAssignmentsOk ¶

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) 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) 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 ¶

GetFacility returns the Facility field value if set, zero value otherwise.

func (*IPReservation) GetFacilityOk ¶

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) 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 ¶

GetMetalGateway returns the MetalGateway field value if set, zero value otherwise.

func (*IPReservation) GetMetalGatewayOk ¶

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 ¶

GetMetro returns the Metro field value if set, zero value otherwise.

func (*IPReservation) GetMetroOk ¶

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) 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) 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) HasAddon ¶

func (o *IPReservation) HasAddon() bool

HasAddon 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) 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) 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) 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) HasPublic ¶

func (o *IPReservation) HasPublic() bool

HasPublic 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) 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 ¶

SetAssignments gets a reference to the given []FindDeviceById200ResponseIpAddressesInner and assigns it to the Assignments 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) 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 ¶

SetFacility gets a reference to the given FindIPAddressById200ResponseOneOfFacility and assigns it to the Facility 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 ¶

SetMetalGateway gets a reference to the given FindDeviceById200ResponseNetworkPortsInnerNativeVirtualNetworkMetalGatewaysInner and assigns it to the MetalGateway field.

func (*IPReservation) SetMetro ¶

SetMetro gets a reference to the given FindIPAddressById200ResponseOneOfMetro 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) SetPublic ¶

func (o *IPReservation) SetPublic(v bool)

SetPublic gets a reference to the given bool and assigns it to the Public 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.

type IPReservationList ¶

type IPReservationList struct {
	IpAddresses []FindIPReservations200ResponseIpAddressesInner `json:"ip_addresses,omitempty"`
}

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 ¶

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) HasIpAddresses ¶

func (o *IPReservationList) HasIpAddresses() bool

HasIpAddresses 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 []FindIPReservations200ResponseIpAddressesInner and assigns it to the IpAddresses field.

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"`
}

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

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 []CreateDeviceBatchRequestBatchesInner `json:"batches,omitempty"`
}

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 []CreateDeviceBatchRequestBatchesInner and assigns it to the Batches field.

type Interconnection ¶

type Interconnection struct {
	ContactEmail *string                               `json:"contact_email,omitempty"`
	Description  *string                               `json:"description,omitempty"`
	Facility     *FindBatchById200ResponseDevicesInner `json:"facility,omitempty"`
	Id           *string                               `json:"id,omitempty"`
	Metro        *GetInterconnection200ResponseMetro   `json:"metro,omitempty"`
	// 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.
	Mode         *string                               `json:"mode,omitempty"`
	Name         *string                               `json:"name,omitempty"`
	Organization *FindBatchById200ResponseDevicesInner `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 []GetInterconnection200ResponsePortsInner `json:"ports,omitempty"`
	// Either 'primary', meaning a single interconnection, or 'redundant', meaning a redundant interconnection.
	Redundancy *string `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. For access to Fabric VCs, which are not generally available, please contact our Support Team for more details.
	ServiceTokens []GetInterconnection200ResponseServiceTokensInner `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). For access to Fabric VCs, which are not generally available, please contact our Support Team for more details.
	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 will be deprecated when we release Fabric VCs. With the release of Fabric VCs that use A-Side and Z-Side service tokens, we will no longer issue these tokens for any shared interconnections created after the release of Fabric VCs. This token will also never be issued for dedicated interconnections. For access to Fabric VCs, which are not generally available, please contact our Support Team for more details.
	Token *string `json:"token,omitempty"`
	// 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. For access to Fabric VCs, which are not generally available, please contact our Support Team for more details.
	Type *string `json:"type,omitempty"`
}

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) 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 ¶

GetFacility returns the Facility field value if set, zero value otherwise.

func (*Interconnection) GetFacilityOk ¶

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 ¶

GetMetro returns the Metro field value if set, zero value otherwise.

func (*Interconnection) GetMetroOk ¶

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() string

GetMode returns the Mode field value if set, zero value otherwise.

func (*Interconnection) GetModeOk ¶

func (o *Interconnection) GetModeOk() (*string, 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 ¶

GetOrganization returns the Organization field value if set, zero value otherwise.

func (*Interconnection) GetOrganizationOk ¶

func (o *Interconnection) GetOrganizationOk() (*FindBatchById200ResponseDevicesInner, 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 ¶

GetPorts returns the Ports field value if set, zero value otherwise.

func (*Interconnection) GetPortsOk ¶

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() string

GetRedundancy returns the Redundancy field value if set, zero value otherwise.

func (*Interconnection) GetRedundancyOk ¶

func (o *Interconnection) 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 (*Interconnection) GetServiceTokens ¶

GetServiceTokens returns the ServiceTokens field value if set, zero value otherwise.

func (*Interconnection) GetServiceTokensOk ¶

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 ¶

func (o *Interconnection) GetToken() string

GetToken returns the Token field value if set, zero value otherwise.

func (*Interconnection) GetTokenOk ¶

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() string

GetType returns the Type field value if set, zero value otherwise.

func (*Interconnection) GetTypeOk ¶

func (o *Interconnection) 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 (*Interconnection) HasContactEmail ¶

func (o *Interconnection) HasContactEmail() bool

HasContactEmail 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) 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 ¶

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) 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) 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 ¶

SetFacility gets a reference to the given FindBatchById200ResponseDevicesInner 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 ¶

SetMetro gets a reference to the given GetInterconnection200ResponseMetro and assigns it to the Metro field.

func (*Interconnection) SetMode ¶

func (o *Interconnection) SetMode(v string)

SetMode gets a reference to the given string 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 ¶

SetOrganization gets a reference to the given FindBatchById200ResponseDevicesInner and assigns it to the Organization field.

func (*Interconnection) SetPorts ¶

SetPorts gets a reference to the given []GetInterconnection200ResponsePortsInner and assigns it to the Ports field.

func (*Interconnection) SetRedundancy ¶

func (o *Interconnection) SetRedundancy(v string)

SetRedundancy gets a reference to the given string and assigns it to the Redundancy field.

func (*Interconnection) SetServiceTokens ¶

SetServiceTokens gets a reference to the given []GetInterconnection200ResponseServiceTokensInner 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 ¶

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 string)

SetType gets a reference to the given string and assigns it to the Type field.

type InterconnectionCreateInput ¶

type InterconnectionCreateInput struct {
	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. 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. For access to Fabric VCs, which are not generally available, please contact our Support Team for more details.
	Metro string `json:"metro"`
	// 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.
	Mode    *string `json:"mode,omitempty"`
	Name    string  `json:"name"`
	Project *string `json:"project,omitempty"`
	// Either 'primary' or 'redundant'.
	Redundancy string `json:"redundancy"`
	// 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.
	ServiceTokenType *string `json:"service_token_type,omitempty"`
	// A interconnection speed, in bps, mbps, or gbps. For Dedicated Ports, this can be 10Gbps or 100Gbps. 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"`
	// Either 'shared' or 'dedicated'. The 'shared' type represents shared interconnections, or also known as Fabric VCs. The 'dedicated' type represents dedicated interconnections, or also known as Dedicated Ports.
	Type string `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 interconnection. This parameter is included in the specification as a developer preview and is generally unavailable. Please contact our Support team for more details.
	Vlans []int32 `json:"vlans,omitempty"`
}

InterconnectionCreateInput struct for InterconnectionCreateInput

func NewInterconnectionCreateInput ¶

func NewInterconnectionCreateInput(metro string, name string, redundancy string, type_ string) *InterconnectionCreateInput

NewInterconnectionCreateInput instantiates a new InterconnectionCreateInput 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 NewInterconnectionCreateInputWithDefaults ¶

func NewInterconnectionCreateInputWithDefaults() *InterconnectionCreateInput

NewInterconnectionCreateInputWithDefaults instantiates a new InterconnectionCreateInput 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 (*InterconnectionCreateInput) GetContactEmail ¶

func (o *InterconnectionCreateInput) GetContactEmail() string

GetContactEmail returns the ContactEmail field value if set, zero value otherwise.

func (*InterconnectionCreateInput) GetContactEmailOk ¶

func (o *InterconnectionCreateInput) 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 (*InterconnectionCreateInput) GetDescription ¶

func (o *InterconnectionCreateInput) GetDescription() string

GetDescription returns the Description field value if set, zero value otherwise.

func (*InterconnectionCreateInput) GetDescriptionOk ¶

func (o *InterconnectionCreateInput) 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 (*InterconnectionCreateInput) GetMetro ¶

func (o *InterconnectionCreateInput) GetMetro() string

GetMetro returns the Metro field value

func (*InterconnectionCreateInput) GetMetroOk ¶

func (o *InterconnectionCreateInput) GetMetroOk() (*string, bool)

GetMetroOk returns a tuple with the Metro field value and a boolean to check if the value has been set.

func (*InterconnectionCreateInput) GetMode ¶

func (o *InterconnectionCreateInput) GetMode() string

GetMode returns the Mode field value if set, zero value otherwise.

func (*InterconnectionCreateInput) GetModeOk ¶

func (o *InterconnectionCreateInput) GetModeOk() (*string, 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 (*InterconnectionCreateInput) GetName ¶

func (o *InterconnectionCreateInput) GetName() string

GetName returns the Name field value

func (*InterconnectionCreateInput) GetNameOk ¶

func (o *InterconnectionCreateInput) GetNameOk() (*string, bool)

GetNameOk returns a tuple with the Name field value and a boolean to check if the value has been set.

func (*InterconnectionCreateInput) GetProject ¶

func (o *InterconnectionCreateInput) GetProject() string

GetProject returns the Project field value if set, zero value otherwise.

func (*InterconnectionCreateInput) GetProjectOk ¶

func (o *InterconnectionCreateInput) 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 (*InterconnectionCreateInput) GetRedundancy ¶

func (o *InterconnectionCreateInput) GetRedundancy() string

GetRedundancy returns the Redundancy field value

func (*InterconnectionCreateInput) GetRedundancyOk ¶

func (o *InterconnectionCreateInput) GetRedundancyOk() (*string, bool)

GetRedundancyOk returns a tuple with the Redundancy field value and a boolean to check if the value has been set.

func (*InterconnectionCreateInput) GetServiceTokenType ¶

func (o *InterconnectionCreateInput) GetServiceTokenType() string

GetServiceTokenType returns the ServiceTokenType field value if set, zero value otherwise.

func (*InterconnectionCreateInput) GetServiceTokenTypeOk ¶

func (o *InterconnectionCreateInput) GetServiceTokenTypeOk() (*string, 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 (*InterconnectionCreateInput) GetSpeed ¶

func (o *InterconnectionCreateInput) GetSpeed() int32

GetSpeed returns the Speed field value if set, zero value otherwise.

func (*InterconnectionCreateInput) GetSpeedOk ¶

func (o *InterconnectionCreateInput) 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 (*InterconnectionCreateInput) GetTags ¶

func (o *InterconnectionCreateInput) GetTags() []string

GetTags returns the Tags field value if set, zero value otherwise.

func (*InterconnectionCreateInput) GetTagsOk ¶

func (o *InterconnectionCreateInput) 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 (*InterconnectionCreateInput) GetType ¶

func (o *InterconnectionCreateInput) GetType() string

GetType returns the Type field value

func (*InterconnectionCreateInput) GetTypeOk ¶

func (o *InterconnectionCreateInput) GetTypeOk() (*string, bool)

GetTypeOk returns a tuple with the Type field value and a boolean to check if the value has been set.

func (*InterconnectionCreateInput) GetVlans ¶

func (o *InterconnectionCreateInput) GetVlans() []int32

GetVlans returns the Vlans field value if set, zero value otherwise.

func (*InterconnectionCreateInput) GetVlansOk ¶

func (o *InterconnectionCreateInput) 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 (*InterconnectionCreateInput) HasContactEmail ¶

func (o *InterconnectionCreateInput) HasContactEmail() bool

HasContactEmail returns a boolean if a field has been set.

func (*InterconnectionCreateInput) HasDescription ¶

func (o *InterconnectionCreateInput) HasDescription() bool

HasDescription returns a boolean if a field has been set.

func (*InterconnectionCreateInput) HasMode ¶

func (o *InterconnectionCreateInput) HasMode() bool

HasMode returns a boolean if a field has been set.

func (*InterconnectionCreateInput) HasProject ¶

func (o *InterconnectionCreateInput) HasProject() bool

HasProject returns a boolean if a field has been set.

func (*InterconnectionCreateInput) HasServiceTokenType ¶

func (o *InterconnectionCreateInput) HasServiceTokenType() bool

HasServiceTokenType returns a boolean if a field has been set.

func (*InterconnectionCreateInput) HasSpeed ¶

func (o *InterconnectionCreateInput) HasSpeed() bool

HasSpeed returns a boolean if a field has been set.

func (*InterconnectionCreateInput) HasTags ¶

func (o *InterconnectionCreateInput) HasTags() bool

HasTags returns a boolean if a field has been set.

func (*InterconnectionCreateInput) HasVlans ¶

func (o *InterconnectionCreateInput) HasVlans() bool

HasVlans returns a boolean if a field has been set.

func (InterconnectionCreateInput) MarshalJSON ¶

func (o InterconnectionCreateInput) MarshalJSON() ([]byte, error)

func (*InterconnectionCreateInput) SetContactEmail ¶

func (o *InterconnectionCreateInput) SetContactEmail(v string)

SetContactEmail gets a reference to the given string and assigns it to the ContactEmail field.

func (*InterconnectionCreateInput) SetDescription ¶

func (o *InterconnectionCreateInput) SetDescription(v string)

SetDescription gets a reference to the given string and assigns it to the Description field.

func (*InterconnectionCreateInput) SetMetro ¶

func (o *InterconnectionCreateInput) SetMetro(v string)

SetMetro sets field value

func (*InterconnectionCreateInput) SetMode ¶

func (o *InterconnectionCreateInput) SetMode(v string)

SetMode gets a reference to the given string and assigns it to the Mode field.

func (*InterconnectionCreateInput) SetName ¶

func (o *InterconnectionCreateInput) SetName(v string)

SetName sets field value

func (*InterconnectionCreateInput) SetProject ¶

func (o *InterconnectionCreateInput) SetProject(v string)

SetProject gets a reference to the given string and assigns it to the Project field.

func (*InterconnectionCreateInput) SetRedundancy ¶

func (o *InterconnectionCreateInput) SetRedundancy(v string)

SetRedundancy sets field value

func (*InterconnectionCreateInput) SetServiceTokenType ¶

func (o *InterconnectionCreateInput) SetServiceTokenType(v string)

SetServiceTokenType gets a reference to the given string and assigns it to the ServiceTokenType field.

func (*InterconnectionCreateInput) SetSpeed ¶

func (o *InterconnectionCreateInput) SetSpeed(v int32)

SetSpeed gets a reference to the given int32 and assigns it to the Speed field.

func (*InterconnectionCreateInput) SetTags ¶

func (o *InterconnectionCreateInput) SetTags(v []string)

SetTags gets a reference to the given []string and assigns it to the Tags field.

func (*InterconnectionCreateInput) SetType ¶

func (o *InterconnectionCreateInput) SetType(v string)

SetType sets field value

func (*InterconnectionCreateInput) SetVlans ¶

func (o *InterconnectionCreateInput) SetVlans(v []int32)

SetVlans gets a reference to the given []int32 and assigns it to the Vlans field.

type InterconnectionList ¶

type InterconnectionList struct {
	Interconnections []GetInterconnection200Response `json:"interconnections,omitempty"`
}

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() []GetInterconnection200Response

GetInterconnections returns the Interconnections field value if set, zero value otherwise.

func (*InterconnectionList) GetInterconnectionsOk ¶

func (o *InterconnectionList) GetInterconnectionsOk() ([]GetInterconnection200Response, 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) HasInterconnections ¶

func (o *InterconnectionList) HasInterconnections() bool

HasInterconnections 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 []GetInterconnection200Response)

SetInterconnections gets a reference to the given []GetInterconnection200Response and assigns it to the Interconnections field.

type InterconnectionPort ¶

type InterconnectionPort struct {
	Id           *string                               `json:"id,omitempty"`
	Organization *FindBatchById200ResponseDevicesInner `json:"organization,omitempty"`
	// Either 'primary' or 'secondary'.
	Role *string `json:"role,omitempty"`
	// 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.
	Status *string `json:"status,omitempty"`
	// A switch 'short ID'
	SwitchId        *string                                                 `json:"switch_id,omitempty"`
	VirtualCircuits *GetInterconnection200ResponsePortsInnerVirtualCircuits `json:"virtual_circuits,omitempty"`
}

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) 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) GetOrganization ¶

GetOrganization returns the Organization field value if set, zero value otherwise.

func (*InterconnectionPort) GetOrganizationOk ¶

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 ¶

func (o *InterconnectionPort) GetRole() string

GetRole returns the Role field value if set, zero value otherwise.

func (*InterconnectionPort) GetRoleOk ¶

func (o *InterconnectionPort) 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 (*InterconnectionPort) GetStatus ¶

func (o *InterconnectionPort) GetStatus() string

GetStatus returns the Status field value if set, zero value otherwise.

func (*InterconnectionPort) GetStatusOk ¶

func (o *InterconnectionPort) 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 (*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 ¶

GetVirtualCircuits returns the VirtualCircuits field value if set, zero value otherwise.

func (*InterconnectionPort) GetVirtualCircuitsOk ¶

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) HasId ¶

func (o *InterconnectionPort) HasId() bool

HasId 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) 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) SetId ¶

func (o *InterconnectionPort) SetId(v string)

SetId gets a reference to the given string and assigns it to the Id field.

func (*InterconnectionPort) SetOrganization ¶

SetOrganization gets a reference to the given FindBatchById200ResponseDevicesInner and assigns it to the Organization field.

func (*InterconnectionPort) SetRole ¶

func (o *InterconnectionPort) SetRole(v string)

SetRole gets a reference to the given string and assigns it to the Role field.

func (*InterconnectionPort) SetStatus ¶

func (o *InterconnectionPort) SetStatus(v string)

SetStatus gets a reference to the given string 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 ¶

SetVirtualCircuits gets a reference to the given GetInterconnection200ResponsePortsInnerVirtualCircuits and assigns it to the VirtualCircuits field.

type InterconnectionPortList ¶

type InterconnectionPortList struct {
	Ports []GetInterconnection200ResponsePortsInner `json:"ports,omitempty"`
}

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 ¶

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 []GetInterconnection200ResponsePortsInner and assigns it to the Ports field.

type InterconnectionUpdateInput ¶

type InterconnectionUpdateInput struct {
	ContactEmail *string `json:"contact_email,omitempty"`
	Description  *string `json:"description,omitempty"`
	// 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.
	Mode *string `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"`
}

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 ¶

func (o *InterconnectionUpdateInput) GetMode() string

GetMode returns the Mode field value if set, zero value otherwise.

func (*InterconnectionUpdateInput) GetModeOk ¶

func (o *InterconnectionUpdateInput) GetModeOk() (*string, 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 (*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 ¶

func (o *InterconnectionUpdateInput) SetMode(v string)

SetMode gets a reference to the given string 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.

type InterconnectionsApiService ¶ added in v0.2.6

type InterconnectionsApiService service

InterconnectionsApiService InterconnectionsApi service

func (*InterconnectionsApiService) CreateInterconnectionPortVirtualCircuit ¶ added in v0.2.6

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.2.6

Execute executes the request

@return CreateInterconnectionPortVirtualCircuit201Response

func (*InterconnectionsApiService) CreateOrganizationInterconnection ¶ added in v0.2.6

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.2.6

Execute executes the request

@return GetInterconnection200Response

func (*InterconnectionsApiService) CreateProjectInterconnection ¶ added in v0.2.6

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.2.6

Execute executes the request

@return GetInterconnection200Response

func (*InterconnectionsApiService) DeleteInterconnection ¶ added in v0.2.6

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.2.6

Execute executes the request

@return GetInterconnection200Response

func (*InterconnectionsApiService) DeleteVirtualCircuit ¶ added in v0.2.6

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.2.6

Execute executes the request

@return CreateInterconnectionPortVirtualCircuit201Response

func (*InterconnectionsApiService) GetInterconnection ¶ added in v0.2.6

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.2.6

Execute executes the request

@return GetInterconnection200Response

func (*InterconnectionsApiService) GetInterconnectionPort ¶ added in v0.2.6

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.2.6

Execute executes the request

@return GetInterconnection200ResponsePortsInner

func (*InterconnectionsApiService) GetVirtualCircuit ¶ added in v0.2.6

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.2.6

Execute executes the request

@return CreateInterconnectionPortVirtualCircuit201Response

func (*InterconnectionsApiService) ListInterconnectionPortVirtualCircuits ¶ added in v0.2.6

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.2.6

Execute executes the request

@return GetInterconnection200ResponsePortsInnerVirtualCircuits

func (*InterconnectionsApiService) ListInterconnectionPorts ¶ added in v0.2.6

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.2.6

Execute executes the request

@return ListInterconnectionPorts200Response

func (*InterconnectionsApiService) OrganizationListInterconnections ¶ added in v0.2.6

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.2.6

Execute executes the request

@return OrganizationListInterconnections200Response

func (*InterconnectionsApiService) ProjectListInterconnections ¶ added in v0.2.6

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.2.6

Execute executes the request

@return OrganizationListInterconnections200Response

func (*InterconnectionsApiService) UpdateInterconnection ¶ added in v0.2.6

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.2.6

Execute executes the request

@return GetInterconnection200Response

func (*InterconnectionsApiService) UpdateVirtualCircuit ¶ added in v0.2.6

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.2.6

Execute executes the request

@return CreateInterconnectionPortVirtualCircuit201Response

type Invitation ¶

type Invitation struct {
	CreatedAt    *time.Time                             `json:"created_at,omitempty"`
	Href         *string                                `json:"href,omitempty"`
	Id           *string                                `json:"id,omitempty"`
	Invitation   *FindBatchById200ResponseDevicesInner  `json:"invitation,omitempty"`
	InvitedBy    *FindBatchById200ResponseDevicesInner  `json:"invited_by,omitempty"`
	Invitee      *string                                `json:"invitee,omitempty"`
	Nonce        *string                                `json:"nonce,omitempty"`
	Organization *FindBatchById200ResponseDevicesInner  `json:"organization,omitempty"`
	Projects     []FindBatchById200ResponseDevicesInner `json:"projects,omitempty"`
	Roles        []string                               `json:"roles,omitempty"`
	UpdatedAt    *time.Time                             `json:"updated_at,omitempty"`
}

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 ¶

GetInvitation returns the Invitation field value if set, zero value otherwise.

func (*Invitation) GetInvitationOk ¶

func (o *Invitation) GetInvitationOk() (*FindBatchById200ResponseDevicesInner, 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 ¶

GetInvitedBy returns the InvitedBy field value if set, zero value otherwise.

func (*Invitation) GetInvitedByOk ¶

func (o *Invitation) GetInvitedByOk() (*FindBatchById200ResponseDevicesInner, 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 ¶

func (o *Invitation) GetNonce() string

GetNonce returns the Nonce field value if set, zero value otherwise.

func (*Invitation) GetNonceOk ¶

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() FindBatchById200ResponseDevicesInner

GetOrganization returns the Organization field value if set, zero value otherwise.

func (*Invitation) GetOrganizationOk ¶

func (o *Invitation) GetOrganizationOk() (*FindBatchById200ResponseDevicesInner, 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 ¶

GetProjects returns the Projects field value if set, zero value otherwise.

func (*Invitation) GetProjectsOk ¶

func (o *Invitation) GetProjectsOk() ([]FindBatchById200ResponseDevicesInner, 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() []string

GetRoles returns the Roles field value if set, zero value otherwise.

func (*Invitation) GetRolesOk ¶

func (o *Invitation) 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 (*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 ¶

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 ¶

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 ¶

SetInvitation gets a reference to the given FindBatchById200ResponseDevicesInner and assigns it to the Invitation field.

func (*Invitation) SetInvitedBy ¶

SetInvitedBy gets a reference to the given FindBatchById200ResponseDevicesInner 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 ¶

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 FindBatchById200ResponseDevicesInner)

SetOrganization gets a reference to the given FindBatchById200ResponseDevicesInner and assigns it to the Organization field.

func (*Invitation) SetProjects ¶

SetProjects gets a reference to the given []FindBatchById200ResponseDevicesInner and assigns it to the Projects field.

func (*Invitation) SetRoles ¶

func (o *Invitation) SetRoles(v []string)

SetRoles gets a reference to the given []string 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.

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          []string `json:"roles,omitempty"`
}

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 ¶

func (o *InvitationInput) GetOrganizationId() string

GetOrganizationId returns the OrganizationId field value if set, zero value otherwise.

func (*InvitationInput) GetOrganizationIdOk ¶

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() []string

GetRoles returns the Roles field value if set, zero value otherwise.

func (*InvitationInput) GetRolesOk ¶

func (o *InvitationInput) 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 (*InvitationInput) HasMessage ¶

func (o *InvitationInput) HasMessage() bool

HasMessage returns a boolean if a field has been set.

func (*InvitationInput) HasOrganizationId ¶

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 ¶

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 []string)

SetRoles gets a reference to the given []string and assigns it to the Roles field.

type InvitationList ¶

type InvitationList struct {
	Invitations []FindInvitations200ResponseInvitationsInner `json:"invitations,omitempty"`
}

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 ¶

GetInvitations returns the Invitations field value if set, zero value otherwise.

func (*InvitationList) GetInvitationsOk ¶

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 ¶

SetInvitations gets a reference to the given []FindInvitations200ResponseInvitationsInner and assigns it to the Invitations field.

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 ¶

Execute executes the request

@return FindInvitations200ResponseInvitationsInner

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 ¶

Execute executes the request

@return FindInvitationById200Response

type License ¶

type License struct {
	Description     *string                               `json:"description,omitempty"`
	Id              *string                               `json:"id,omitempty"`
	LicenseKey      *string                               `json:"license_key,omitempty"`
	LicenseeProduct *FindBatchById200ResponseDevicesInner `json:"licensee_product,omitempty"`
	Project         *FindBatchById200ResponseDevicesInner `json:"project,omitempty"`
	Size            *float32                              `json:"size,omitempty"`
}

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() FindBatchById200ResponseDevicesInner

GetLicenseeProduct returns the LicenseeProduct field value if set, zero value otherwise.

func (*License) GetLicenseeProductOk ¶

func (o *License) GetLicenseeProductOk() (*FindBatchById200ResponseDevicesInner, 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 ¶

GetProject returns the Project field value if set, zero value otherwise.

func (*License) GetProjectOk ¶

func (o *License) GetProjectOk() (*FindBatchById200ResponseDevicesInner, 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 FindBatchById200ResponseDevicesInner)

SetLicenseeProduct gets a reference to the given FindBatchById200ResponseDevicesInner and assigns it to the LicenseeProduct field.

func (*License) SetProject ¶

SetProject gets a reference to the given FindBatchById200ResponseDevicesInner 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.

type LicenseCreateInput ¶

type LicenseCreateInput struct {
	Description       *string  `json:"description,omitempty"`
	LicenseeProductId *string  `json:"licensee_product_id,omitempty"`
	Size              *float32 `json:"size,omitempty"`
}

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.

type LicenseList ¶

type LicenseList struct {
	Licenses []FindLicenseById200Response `json:"licenses,omitempty"`
}

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() []FindLicenseById200Response

GetLicenses returns the Licenses field value if set, zero value otherwise.

func (*LicenseList) GetLicensesOk ¶

func (o *LicenseList) GetLicensesOk() ([]FindLicenseById200Response, 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 []FindLicenseById200Response)

SetLicenses gets a reference to the given []FindLicenseById200Response and assigns it to the Licenses field.

type LicenseUpdateInput ¶

type LicenseUpdateInput struct {
	Description *string  `json:"description,omitempty"`
	Size        *float32 `json:"size,omitempty"`
}

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.

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 ¶

Execute executes the request

@return FindLicenseById200Response

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 ¶

Execute executes the request

@return FindLicenseById200Response

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 ¶

Execute executes the request

@return FindProjectLicenses200Response

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 ¶

Execute executes the request

@return FindLicenseById200Response

type ListInterconnectionPorts200Response ¶ added in v0.2.6

type ListInterconnectionPorts200Response struct {
	Ports []GetInterconnection200ResponsePortsInner `json:"ports,omitempty"`
}

ListInterconnectionPorts200Response struct for ListInterconnectionPorts200Response

func NewListInterconnectionPorts200Response ¶ added in v0.2.6

func NewListInterconnectionPorts200Response() *ListInterconnectionPorts200Response

NewListInterconnectionPorts200Response instantiates a new ListInterconnectionPorts200Response 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 NewListInterconnectionPorts200ResponseWithDefaults ¶ added in v0.2.6

func NewListInterconnectionPorts200ResponseWithDefaults() *ListInterconnectionPorts200Response

NewListInterconnectionPorts200ResponseWithDefaults instantiates a new ListInterconnectionPorts200Response 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 (*ListInterconnectionPorts200Response) GetPorts ¶ added in v0.2.6

GetPorts returns the Ports field value if set, zero value otherwise.

func (*ListInterconnectionPorts200Response) GetPortsOk ¶ added in v0.2.6

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 (*ListInterconnectionPorts200Response) HasPorts ¶ added in v0.2.6

HasPorts returns a boolean if a field has been set.

func (ListInterconnectionPorts200Response) MarshalJSON ¶ added in v0.2.6

func (o ListInterconnectionPorts200Response) MarshalJSON() ([]byte, error)

func (*ListInterconnectionPorts200Response) SetPorts ¶ added in v0.2.6

SetPorts gets a reference to the given []GetInterconnection200ResponsePortsInner and assigns it to the Ports field.

type ListSpotMarketRequests200Response ¶

type ListSpotMarketRequests200Response struct {
	SpotMarketRequests []ListSpotMarketRequests200ResponseSpotMarketRequestsInner `json:"spot_market_requests,omitempty"`
}

ListSpotMarketRequests200Response struct for ListSpotMarketRequests200Response

func NewListSpotMarketRequests200Response ¶

func NewListSpotMarketRequests200Response() *ListSpotMarketRequests200Response

NewListSpotMarketRequests200Response instantiates a new ListSpotMarketRequests200Response 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 NewListSpotMarketRequests200ResponseWithDefaults ¶

func NewListSpotMarketRequests200ResponseWithDefaults() *ListSpotMarketRequests200Response

NewListSpotMarketRequests200ResponseWithDefaults instantiates a new ListSpotMarketRequests200Response 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 (*ListSpotMarketRequests200Response) GetSpotMarketRequests ¶

GetSpotMarketRequests returns the SpotMarketRequests field value if set, zero value otherwise.

func (*ListSpotMarketRequests200Response) GetSpotMarketRequestsOk ¶

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 (*ListSpotMarketRequests200Response) HasSpotMarketRequests ¶

func (o *ListSpotMarketRequests200Response) HasSpotMarketRequests() bool

HasSpotMarketRequests returns a boolean if a field has been set.

func (ListSpotMarketRequests200Response) MarshalJSON ¶

func (o ListSpotMarketRequests200Response) MarshalJSON() ([]byte, error)

func (*ListSpotMarketRequests200Response) SetSpotMarketRequests ¶

SetSpotMarketRequests gets a reference to the given []ListSpotMarketRequests200ResponseSpotMarketRequestsInner and assigns it to the SpotMarketRequests field.

type ListSpotMarketRequests200ResponseSpotMarketRequestsInner ¶

type ListSpotMarketRequests200ResponseSpotMarketRequestsInner 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  *FindBatchById200ResponseDevicesInner                          `json:"facilities,omitempty"`
	Href        *string                                                        `json:"href,omitempty"`
	Id          *string                                                        `json:"id,omitempty"`
	Instances   *FindBatchById200ResponseDevicesInner                          `json:"instances,omitempty"`
	MaxBidPrice *float32                                                       `json:"max_bid_price,omitempty"`
	Metro       *ListSpotMarketRequests200ResponseSpotMarketRequestsInnerMetro `json:"metro,omitempty"`
	Project     *FindBatchById200ResponseDevicesInner                          `json:"project,omitempty"`
}

ListSpotMarketRequests200ResponseSpotMarketRequestsInner struct for ListSpotMarketRequests200ResponseSpotMarketRequestsInner

func NewListSpotMarketRequests200ResponseSpotMarketRequestsInner ¶

func NewListSpotMarketRequests200ResponseSpotMarketRequestsInner() *ListSpotMarketRequests200ResponseSpotMarketRequestsInner

NewListSpotMarketRequests200ResponseSpotMarketRequestsInner instantiates a new ListSpotMarketRequests200ResponseSpotMarketRequestsInner 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 NewListSpotMarketRequests200ResponseSpotMarketRequestsInnerWithDefaults ¶

func NewListSpotMarketRequests200ResponseSpotMarketRequestsInnerWithDefaults() *ListSpotMarketRequests200ResponseSpotMarketRequestsInner

NewListSpotMarketRequests200ResponseSpotMarketRequestsInnerWithDefaults instantiates a new ListSpotMarketRequests200ResponseSpotMarketRequestsInner 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 (*ListSpotMarketRequests200ResponseSpotMarketRequestsInner) GetCreatedAt ¶

GetCreatedAt returns the CreatedAt field value if set, zero value otherwise.

func (*ListSpotMarketRequests200ResponseSpotMarketRequestsInner) GetCreatedAtOk ¶

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 (*ListSpotMarketRequests200ResponseSpotMarketRequestsInner) GetDevicesMax ¶

GetDevicesMax returns the DevicesMax field value if set, zero value otherwise.

func (*ListSpotMarketRequests200ResponseSpotMarketRequestsInner) GetDevicesMaxOk ¶

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 (*ListSpotMarketRequests200ResponseSpotMarketRequestsInner) GetDevicesMin ¶

GetDevicesMin returns the DevicesMin field value if set, zero value otherwise.

func (*ListSpotMarketRequests200ResponseSpotMarketRequestsInner) GetDevicesMinOk ¶

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 (*ListSpotMarketRequests200ResponseSpotMarketRequestsInner) GetEndAt ¶

GetEndAt returns the EndAt field value if set, zero value otherwise.

func (*ListSpotMarketRequests200ResponseSpotMarketRequestsInner) GetEndAtOk ¶

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 (*ListSpotMarketRequests200ResponseSpotMarketRequestsInner) GetFacilities ¶

GetFacilities returns the Facilities field value if set, zero value otherwise.

func (*ListSpotMarketRequests200ResponseSpotMarketRequestsInner) GetFacilitiesOk ¶

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 (*ListSpotMarketRequests200ResponseSpotMarketRequestsInner) GetHref ¶

GetHref returns the Href field value if set, zero value otherwise.

func (*ListSpotMarketRequests200ResponseSpotMarketRequestsInner) GetHrefOk ¶

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 (*ListSpotMarketRequests200ResponseSpotMarketRequestsInner) GetId ¶

GetId returns the Id field value if set, zero value otherwise.

func (*ListSpotMarketRequests200ResponseSpotMarketRequestsInner) 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 (*ListSpotMarketRequests200ResponseSpotMarketRequestsInner) GetInstances ¶

GetInstances returns the Instances field value if set, zero value otherwise.

func (*ListSpotMarketRequests200ResponseSpotMarketRequestsInner) GetInstancesOk ¶

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 (*ListSpotMarketRequests200ResponseSpotMarketRequestsInner) GetMaxBidPrice ¶

GetMaxBidPrice returns the MaxBidPrice field value if set, zero value otherwise.

func (*ListSpotMarketRequests200ResponseSpotMarketRequestsInner) GetMaxBidPriceOk ¶

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 (*ListSpotMarketRequests200ResponseSpotMarketRequestsInner) GetMetro ¶

GetMetro returns the Metro field value if set, zero value otherwise.

func (*ListSpotMarketRequests200ResponseSpotMarketRequestsInner) GetMetroOk ¶

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 (*ListSpotMarketRequests200ResponseSpotMarketRequestsInner) GetProject ¶

GetProject returns the Project field value if set, zero value otherwise.

func (*ListSpotMarketRequests200ResponseSpotMarketRequestsInner) GetProjectOk ¶

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 (*ListSpotMarketRequests200ResponseSpotMarketRequestsInner) HasCreatedAt ¶

HasCreatedAt returns a boolean if a field has been set.

func (*ListSpotMarketRequests200ResponseSpotMarketRequestsInner) HasDevicesMax ¶

HasDevicesMax returns a boolean if a field has been set.

func (*ListSpotMarketRequests200ResponseSpotMarketRequestsInner) HasDevicesMin ¶

HasDevicesMin returns a boolean if a field has been set.

func (*ListSpotMarketRequests200ResponseSpotMarketRequestsInner) HasEndAt ¶

HasEndAt returns a boolean if a field has been set.

func (*ListSpotMarketRequests200ResponseSpotMarketRequestsInner) HasFacilities ¶

HasFacilities returns a boolean if a field has been set.

func (*ListSpotMarketRequests200ResponseSpotMarketRequestsInner) HasHref ¶

HasHref returns a boolean if a field has been set.

func (*ListSpotMarketRequests200ResponseSpotMarketRequestsInner) HasId ¶

HasId returns a boolean if a field has been set.

func (*ListSpotMarketRequests200ResponseSpotMarketRequestsInner) HasInstances ¶

HasInstances returns a boolean if a field has been set.

func (*ListSpotMarketRequests200ResponseSpotMarketRequestsInner) HasMaxBidPrice ¶

HasMaxBidPrice returns a boolean if a field has been set.

func (*ListSpotMarketRequests200ResponseSpotMarketRequestsInner) HasMetro ¶

HasMetro returns a boolean if a field has been set.

func (*ListSpotMarketRequests200ResponseSpotMarketRequestsInner) HasProject ¶

HasProject returns a boolean if a field has been set.

func (ListSpotMarketRequests200ResponseSpotMarketRequestsInner) MarshalJSON ¶

func (*ListSpotMarketRequests200ResponseSpotMarketRequestsInner) SetCreatedAt ¶

SetCreatedAt gets a reference to the given time.Time and assigns it to the CreatedAt field.

func (*ListSpotMarketRequests200ResponseSpotMarketRequestsInner) SetDevicesMax ¶

SetDevicesMax gets a reference to the given int32 and assigns it to the DevicesMax field.

func (*ListSpotMarketRequests200ResponseSpotMarketRequestsInner) SetDevicesMin ¶

SetDevicesMin gets a reference to the given int32 and assigns it to the DevicesMin field.

func (*ListSpotMarketRequests200ResponseSpotMarketRequestsInner) SetEndAt ¶

SetEndAt gets a reference to the given time.Time and assigns it to the EndAt field.

func (*ListSpotMarketRequests200ResponseSpotMarketRequestsInner) SetFacilities ¶

SetFacilities gets a reference to the given FindBatchById200ResponseDevicesInner and assigns it to the Facilities field.

func (*ListSpotMarketRequests200ResponseSpotMarketRequestsInner) SetHref ¶

SetHref gets a reference to the given string and assigns it to the Href field.

func (*ListSpotMarketRequests200ResponseSpotMarketRequestsInner) SetId ¶

SetId gets a reference to the given string and assigns it to the Id field.

func (*ListSpotMarketRequests200ResponseSpotMarketRequestsInner) SetInstances ¶

SetInstances gets a reference to the given FindBatchById200ResponseDevicesInner and assigns it to the Instances field.

func (*ListSpotMarketRequests200ResponseSpotMarketRequestsInner) SetMaxBidPrice ¶

SetMaxBidPrice gets a reference to the given float32 and assigns it to the MaxBidPrice field.

func (*ListSpotMarketRequests200ResponseSpotMarketRequestsInner) SetMetro ¶

SetMetro gets a reference to the given ListSpotMarketRequests200ResponseSpotMarketRequestsInnerMetro and assigns it to the Metro field.

func (*ListSpotMarketRequests200ResponseSpotMarketRequestsInner) SetProject ¶

SetProject gets a reference to the given FindBatchById200ResponseDevicesInner and assigns it to the Project field.

type ListSpotMarketRequests200ResponseSpotMarketRequestsInnerMetro ¶

type ListSpotMarketRequests200ResponseSpotMarketRequestsInnerMetro struct {
	Code    *string `json:"code,omitempty"`
	Country *string `json:"country,omitempty"`
	Id      *string `json:"id,omitempty"`
	Name    *string `json:"name,omitempty"`
}

ListSpotMarketRequests200ResponseSpotMarketRequestsInnerMetro struct for ListSpotMarketRequests200ResponseSpotMarketRequestsInnerMetro

func NewListSpotMarketRequests200ResponseSpotMarketRequestsInnerMetro ¶

func NewListSpotMarketRequests200ResponseSpotMarketRequestsInnerMetro() *ListSpotMarketRequests200ResponseSpotMarketRequestsInnerMetro

NewListSpotMarketRequests200ResponseSpotMarketRequestsInnerMetro instantiates a new ListSpotMarketRequests200ResponseSpotMarketRequestsInnerMetro 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 NewListSpotMarketRequests200ResponseSpotMarketRequestsInnerMetroWithDefaults ¶

func NewListSpotMarketRequests200ResponseSpotMarketRequestsInnerMetroWithDefaults() *ListSpotMarketRequests200ResponseSpotMarketRequestsInnerMetro

NewListSpotMarketRequests200ResponseSpotMarketRequestsInnerMetroWithDefaults instantiates a new ListSpotMarketRequests200ResponseSpotMarketRequestsInnerMetro 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 (*ListSpotMarketRequests200ResponseSpotMarketRequestsInnerMetro) GetCode ¶

GetCode returns the Code field value if set, zero value otherwise.

func (*ListSpotMarketRequests200ResponseSpotMarketRequestsInnerMetro) GetCodeOk ¶

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 (*ListSpotMarketRequests200ResponseSpotMarketRequestsInnerMetro) GetCountry ¶

GetCountry returns the Country field value if set, zero value otherwise.

func (*ListSpotMarketRequests200ResponseSpotMarketRequestsInnerMetro) GetCountryOk ¶

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 (*ListSpotMarketRequests200ResponseSpotMarketRequestsInnerMetro) GetId ¶

GetId returns the Id field value if set, zero value otherwise.

func (*ListSpotMarketRequests200ResponseSpotMarketRequestsInnerMetro) 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 (*ListSpotMarketRequests200ResponseSpotMarketRequestsInnerMetro) GetName ¶

GetName returns the Name field value if set, zero value otherwise.

func (*ListSpotMarketRequests200ResponseSpotMarketRequestsInnerMetro) GetNameOk ¶

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 (*ListSpotMarketRequests200ResponseSpotMarketRequestsInnerMetro) HasCode ¶

HasCode returns a boolean if a field has been set.

func (*ListSpotMarketRequests200ResponseSpotMarketRequestsInnerMetro) HasCountry ¶

HasCountry returns a boolean if a field has been set.

func (*ListSpotMarketRequests200ResponseSpotMarketRequestsInnerMetro) HasId ¶

HasId returns a boolean if a field has been set.

func (*ListSpotMarketRequests200ResponseSpotMarketRequestsInnerMetro) HasName ¶

HasName returns a boolean if a field has been set.

func (ListSpotMarketRequests200ResponseSpotMarketRequestsInnerMetro) MarshalJSON ¶

func (*ListSpotMarketRequests200ResponseSpotMarketRequestsInnerMetro) SetCode ¶

SetCode gets a reference to the given string and assigns it to the Code field.

func (*ListSpotMarketRequests200ResponseSpotMarketRequestsInnerMetro) SetCountry ¶

SetCountry gets a reference to the given string and assigns it to the Country field.

func (*ListSpotMarketRequests200ResponseSpotMarketRequestsInnerMetro) SetId ¶

SetId gets a reference to the given string and assigns it to the Id field.

func (*ListSpotMarketRequests200ResponseSpotMarketRequestsInnerMetro) SetName ¶

SetName gets a reference to the given string and assigns it to the Name field.

type Membership ¶

type Membership struct {
	CreatedAt *time.Time                            `json:"created_at,omitempty"`
	Href      *string                               `json:"href,omitempty"`
	Id        *string                               `json:"id,omitempty"`
	Project   *FindBatchById200ResponseDevicesInner `json:"project,omitempty"`
	Roles     []string                              `json:"roles,omitempty"`
	UpdatedAt *time.Time                            `json:"updated_at,omitempty"`
	User      *FindBatchById200ResponseDevicesInner `json:"user,omitempty"`
}

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 ¶

GetProject returns the Project field value if set, zero value otherwise.

func (*Membership) GetProjectOk ¶

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 ¶

GetUser returns the User field value if set, zero value otherwise.

func (*Membership) GetUserOk ¶

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 ¶

SetProject gets a reference to the given FindBatchById200ResponseDevicesInner 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 ¶

SetUser gets a reference to the given FindBatchById200ResponseDevicesInner and assigns it to the User field.

type MembershipInput ¶

type MembershipInput struct {
	Role []string `json:"role,omitempty"`
}

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.

type MembershipList ¶

type MembershipList struct {
	Memberships []FindInvitations200ResponseInvitationsInner `json:"memberships,omitempty"`
}

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 ¶

GetMemberships returns the Memberships field value if set, zero value otherwise.

func (*MembershipList) GetMembershipsOk ¶

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 ¶

SetMemberships gets a reference to the given []FindInvitations200ResponseInvitationsInner and assigns it to the Memberships field.

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 ¶

Execute executes the request

@return FindInvitations200ResponseInvitationsInner

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 ¶

Execute executes the request

@return FindInvitations200ResponseInvitationsInner

type Meta ¶

type Meta struct {
	First    *FindBatchById200ResponseDevicesInner `json:"first,omitempty"`
	Last     *FindBatchById200ResponseDevicesInner `json:"last,omitempty"`
	Next     *FindBatchById200ResponseDevicesInner `json:"next,omitempty"`
	Previous *FindBatchById200ResponseDevicesInner `json:"previous,omitempty"`
	Self     *FindBatchById200ResponseDevicesInner `json:"self,omitempty"`
	Total    *int32                                `json:"total,omitempty"`
}

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) GetFirst ¶

GetFirst returns the First field value if set, zero value otherwise.

func (*Meta) GetFirstOk ¶

func (o *Meta) GetFirstOk() (*FindBatchById200ResponseDevicesInner, 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 ¶

GetLast returns the Last field value if set, zero value otherwise.

func (*Meta) GetLastOk ¶

func (o *Meta) GetLastOk() (*FindBatchById200ResponseDevicesInner, 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) GetNext ¶

GetNext returns the Next field value if set, zero value otherwise.

func (*Meta) GetNextOk ¶

func (o *Meta) GetNextOk() (*FindBatchById200ResponseDevicesInner, 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() FindBatchById200ResponseDevicesInner

GetPrevious returns the Previous field value if set, zero value otherwise.

func (*Meta) GetPreviousOk ¶

func (o *Meta) GetPreviousOk() (*FindBatchById200ResponseDevicesInner, 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 ¶

GetSelf returns the Self field value if set, zero value otherwise.

func (*Meta) GetSelfOk ¶

func (o *Meta) GetSelfOk() (*FindBatchById200ResponseDevicesInner, 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) 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) 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) SetFirst ¶

SetFirst gets a reference to the given FindBatchById200ResponseDevicesInner and assigns it to the First field.

func (*Meta) SetLast ¶

SetLast gets a reference to the given FindBatchById200ResponseDevicesInner and assigns it to the Last field.

func (*Meta) SetNext ¶

SetNext gets a reference to the given FindBatchById200ResponseDevicesInner and assigns it to the Next field.

func (*Meta) SetPrevious ¶

func (o *Meta) SetPrevious(v FindBatchById200ResponseDevicesInner)

SetPrevious gets a reference to the given FindBatchById200ResponseDevicesInner and assigns it to the Previous field.

func (*Meta) SetSelf ¶

SetSelf gets a reference to the given FindBatchById200ResponseDevicesInner 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.

type Metadata ¶ added in v0.2.6

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         *FindDeviceMetadataByID200ResponseNetwork `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"`
	Tags          []string               `json:"tags,omitempty"`
	Volumes       []string               `json:"volumes,omitempty"`
}

Metadata struct for Metadata

func NewMetadata ¶ added in v0.2.6

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.2.6

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.2.6

func (o *Metadata) GetClass() string

GetClass returns the Class field value if set, zero value otherwise.

func (*Metadata) GetClassOk ¶ added in v0.2.6

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.2.6

func (o *Metadata) GetCustomdata() map[string]interface{}

GetCustomdata returns the Customdata field value if set, zero value otherwise.

func (*Metadata) GetCustomdataOk ¶ added in v0.2.6

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.2.6

func (o *Metadata) GetFacility() string

GetFacility returns the Facility field value if set, zero value otherwise.

func (*Metadata) GetFacilityOk ¶ added in v0.2.6

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.2.6

func (o *Metadata) GetHostname() string

GetHostname returns the Hostname field value if set, zero value otherwise.

func (*Metadata) GetHostnameOk ¶ added in v0.2.6

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.2.6

func (o *Metadata) GetId() string

GetId returns the Id field value if set, zero value otherwise.

func (*Metadata) GetIdOk ¶ added in v0.2.6

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.2.6

func (o *Metadata) GetIqn() string

GetIqn returns the Iqn field value if set, zero value otherwise.

func (*Metadata) GetIqnOk ¶ added in v0.2.6

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.2.6

func (o *Metadata) GetMetro() string

GetMetro returns the Metro field value if set, zero value otherwise.

func (*Metadata) GetMetroOk ¶ added in v0.2.6

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.2.6

GetNetwork returns the Network field value if set, zero value otherwise.

func (*Metadata) GetNetworkOk ¶ added in v0.2.6

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.2.6

func (o *Metadata) GetOperatingSystem() map[string]interface{}

GetOperatingSystem returns the OperatingSystem field value if set, zero value otherwise.

func (*Metadata) GetOperatingSystemOk ¶ added in v0.2.6

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.2.6

func (o *Metadata) GetPlan() string

GetPlan returns the Plan field value if set, zero value otherwise.

func (*Metadata) GetPlanOk ¶ added in v0.2.6

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.2.6

func (o *Metadata) GetPrivateSubnets() []string

GetPrivateSubnets returns the PrivateSubnets field value if set, zero value otherwise.

func (*Metadata) GetPrivateSubnetsOk ¶ added in v0.2.6

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.2.6

func (o *Metadata) GetReserved() bool

GetReserved returns the Reserved field value if set, zero value otherwise.

func (*Metadata) GetReservedOk ¶ added in v0.2.6

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.2.6

func (o *Metadata) GetSpecs() map[string]interface{}

GetSpecs returns the Specs field value if set, zero value otherwise.

func (*Metadata) GetSpecsOk ¶ added in v0.2.6

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.2.6

func (o *Metadata) GetSshKeys() []string

GetSshKeys returns the SshKeys field value if set, zero value otherwise.

func (*Metadata) GetSshKeysOk ¶ added in v0.2.6

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) GetSwitchShortId ¶ added in v0.2.6

func (o *Metadata) GetSwitchShortId() string

GetSwitchShortId returns the SwitchShortId field value if set, zero value otherwise.

func (*Metadata) GetSwitchShortIdOk ¶ added in v0.2.6

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.2.6

func (o *Metadata) GetTags() []string

GetTags returns the Tags field value if set, zero value otherwise.

func (*Metadata) GetTagsOk ¶ added in v0.2.6

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.2.6

func (o *Metadata) GetVolumes() []string

GetVolumes returns the Volumes field value if set, zero value otherwise.

func (*Metadata) GetVolumesOk ¶ added in v0.2.6

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.2.6

func (o *Metadata) HasClass() bool

HasClass returns a boolean if a field has been set.

func (*Metadata) HasCustomdata ¶ added in v0.2.6

func (o *Metadata) HasCustomdata() bool

HasCustomdata returns a boolean if a field has been set.

func (*Metadata) HasFacility ¶ added in v0.2.6

func (o *Metadata) HasFacility() bool

HasFacility returns a boolean if a field has been set.

func (*Metadata) HasHostname ¶ added in v0.2.6

func (o *Metadata) HasHostname() bool

HasHostname returns a boolean if a field has been set.

func (*Metadata) HasId ¶ added in v0.2.6

func (o *Metadata) HasId() bool

HasId returns a boolean if a field has been set.

func (*Metadata) HasIqn ¶ added in v0.2.6

func (o *Metadata) HasIqn() bool

HasIqn returns a boolean if a field has been set.

func (*Metadata) HasMetro ¶ added in v0.2.6

func (o *Metadata) HasMetro() bool

HasMetro returns a boolean if a field has been set.

func (*Metadata) HasNetwork ¶ added in v0.2.6

func (o *Metadata) HasNetwork() bool

HasNetwork returns a boolean if a field has been set.

func (*Metadata) HasOperatingSystem ¶ added in v0.2.6

func (o *Metadata) HasOperatingSystem() bool

HasOperatingSystem returns a boolean if a field has been set.

func (*Metadata) HasPlan ¶ added in v0.2.6

func (o *Metadata) HasPlan() bool

HasPlan returns a boolean if a field has been set.

func (*Metadata) HasPrivateSubnets ¶ added in v0.2.6

func (o *Metadata) HasPrivateSubnets() bool

HasPrivateSubnets returns a boolean if a field has been set.

func (*Metadata) HasReserved ¶ added in v0.2.6

func (o *Metadata) HasReserved() bool

HasReserved returns a boolean if a field has been set.

func (*Metadata) HasSpecs ¶ added in v0.2.6

func (o *Metadata) HasSpecs() bool

HasSpecs returns a boolean if a field has been set.

func (*Metadata) HasSshKeys ¶ added in v0.2.6

func (o *Metadata) HasSshKeys() bool

HasSshKeys returns a boolean if a field has been set.

func (*Metadata) HasSwitchShortId ¶ added in v0.2.6

func (o *Metadata) HasSwitchShortId() bool

HasSwitchShortId returns a boolean if a field has been set.

func (*Metadata) HasTags ¶ added in v0.2.6

func (o *Metadata) HasTags() bool

HasTags returns a boolean if a field has been set.

func (*Metadata) HasVolumes ¶ added in v0.2.6

func (o *Metadata) HasVolumes() bool

HasVolumes returns a boolean if a field has been set.

func (Metadata) MarshalJSON ¶ added in v0.2.6

func (o Metadata) MarshalJSON() ([]byte, error)

func (*Metadata) SetClass ¶ added in v0.2.6

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.2.6

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.2.6

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.2.6

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.2.6

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.2.6

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.2.6

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.2.6

SetNetwork gets a reference to the given FindDeviceMetadataByID200ResponseNetwork and assigns it to the Network field.

func (*Metadata) SetOperatingSystem ¶ added in v0.2.6

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.2.6

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.2.6

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.2.6

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.2.6

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.2.6

func (o *Metadata) SetSshKeys(v []string)

SetSshKeys gets a reference to the given []string and assigns it to the SshKeys field.

func (*Metadata) SetSwitchShortId ¶ added in v0.2.6

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.2.6

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.2.6

func (o *Metadata) SetVolumes(v []string)

SetVolumes gets a reference to the given []string and assigns it to the Volumes field.

type MetalGateway ¶

type MetalGateway struct {
	CreatedAt     *time.Time                                                                                  `json:"created_at,omitempty"`
	CreatedBy     *FindBatchById200ResponseDevicesInner                                                       `json:"created_by,omitempty"`
	Href          *string                                                                                     `json:"href,omitempty"`
	Id            *string                                                                                     `json:"id,omitempty"`
	IpReservation *FindIPAddressById200ResponseOneOf                                                          `json:"ip_reservation,omitempty"`
	Project       *GetInterconnection200ResponsePortsInnerVirtualCircuitsVirtualCircuitsInnerAnyOf1VrfProject `json:"project,omitempty"`
	// 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.
	State          *string                                                         `json:"state,omitempty"`
	UpdatedAt      *time.Time                                                      `json:"updated_at,omitempty"`
	VirtualNetwork *FindDeviceById200ResponseNetworkPortsInnerNativeVirtualNetwork `json:"virtual_network,omitempty"`
}

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 ¶

GetCreatedBy returns the CreatedBy field value if set, zero value otherwise.

func (*MetalGateway) GetCreatedByOk ¶

func (o *MetalGateway) GetCreatedByOk() (*FindBatchById200ResponseDevicesInner, 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() FindIPAddressById200ResponseOneOf

GetIpReservation returns the IpReservation field value if set, zero value otherwise.

func (*MetalGateway) GetIpReservationOk ¶

func (o *MetalGateway) GetIpReservationOk() (*FindIPAddressById200ResponseOneOf, 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 ¶

GetProject returns the Project field value if set, zero value otherwise.

func (*MetalGateway) GetProjectOk ¶

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() string

GetState returns the State field value if set, zero value otherwise.

func (*MetalGateway) GetStateOk ¶

func (o *MetalGateway) 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 (*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 ¶

GetVirtualNetwork returns the VirtualNetwork field value if set, zero value otherwise.

func (*MetalGateway) GetVirtualNetworkOk ¶

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 ¶

SetCreatedBy gets a reference to the given FindBatchById200ResponseDevicesInner 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 FindIPAddressById200ResponseOneOf)

SetIpReservation gets a reference to the given FindIPAddressById200ResponseOneOf and assigns it to the IpReservation field.

func (*MetalGateway) SetProject ¶

SetProject gets a reference to the given GetInterconnection200ResponsePortsInnerVirtualCircuitsVirtualCircuitsInnerAnyOf1VrfProject and assigns it to the Project field.

func (*MetalGateway) SetState ¶

func (o *MetalGateway) SetState(v string)

SetState gets a reference to the given string 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 ¶

SetVirtualNetwork gets a reference to the given FindDeviceById200ResponseNetworkPortsInnerNativeVirtualNetwork and assigns it to the VirtualNetwork field.

type MetalGatewayInput ¶

type MetalGatewayInput 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"`
}

MetalGatewayInput struct for MetalGatewayInput

func NewMetalGatewayInput ¶

func NewMetalGatewayInput(virtualNetworkId string) *MetalGatewayInput

NewMetalGatewayInput instantiates a new MetalGatewayInput 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 NewMetalGatewayInputWithDefaults ¶

func NewMetalGatewayInputWithDefaults() *MetalGatewayInput

NewMetalGatewayInputWithDefaults instantiates a new MetalGatewayInput 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 (*MetalGatewayInput) GetIpReservationId ¶

func (o *MetalGatewayInput) GetIpReservationId() string

GetIpReservationId returns the IpReservationId field value if set, zero value otherwise.

func (*MetalGatewayInput) GetIpReservationIdOk ¶

func (o *MetalGatewayInput) 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 (*MetalGatewayInput) GetPrivateIpv4SubnetSize ¶

func (o *MetalGatewayInput) GetPrivateIpv4SubnetSize() int32

GetPrivateIpv4SubnetSize returns the PrivateIpv4SubnetSize field value if set, zero value otherwise.

func (*MetalGatewayInput) GetPrivateIpv4SubnetSizeOk ¶

func (o *MetalGatewayInput) 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 (*MetalGatewayInput) GetVirtualNetworkId ¶

func (o *MetalGatewayInput) GetVirtualNetworkId() string

GetVirtualNetworkId returns the VirtualNetworkId field value

func (*MetalGatewayInput) GetVirtualNetworkIdOk ¶

func (o *MetalGatewayInput) GetVirtualNetworkIdOk() (*string, bool)

GetVirtualNetworkIdOk returns a tuple with the VirtualNetworkId field value and a boolean to check if the value has been set.

func (*MetalGatewayInput) HasIpReservationId ¶

func (o *MetalGatewayInput) HasIpReservationId() bool

HasIpReservationId returns a boolean if a field has been set.

func (*MetalGatewayInput) HasPrivateIpv4SubnetSize ¶

func (o *MetalGatewayInput) HasPrivateIpv4SubnetSize() bool

HasPrivateIpv4SubnetSize returns a boolean if a field has been set.

func (MetalGatewayInput) MarshalJSON ¶

func (o MetalGatewayInput) MarshalJSON() ([]byte, error)

func (*MetalGatewayInput) SetIpReservationId ¶

func (o *MetalGatewayInput) SetIpReservationId(v string)

SetIpReservationId gets a reference to the given string and assigns it to the IpReservationId field.

func (*MetalGatewayInput) SetPrivateIpv4SubnetSize ¶

func (o *MetalGatewayInput) SetPrivateIpv4SubnetSize(v int32)

SetPrivateIpv4SubnetSize gets a reference to the given int32 and assigns it to the PrivateIpv4SubnetSize field.

func (*MetalGatewayInput) SetVirtualNetworkId ¶

func (o *MetalGatewayInput) SetVirtualNetworkId(v string)

SetVirtualNetworkId sets field value

type MetalGatewayList ¶

type MetalGatewayList struct {
	MetalGateways []FindMetalGatewaysByProject200ResponseMetalGatewaysInner `json:"MetalGateways,omitempty"`
}

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) GetMetalGateways ¶

GetMetalGateways returns the MetalGateways field value if set, zero value otherwise.

func (*MetalGatewayList) GetMetalGatewaysOk ¶

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) 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) SetMetalGateways ¶

SetMetalGateways gets a reference to the given []FindMetalGatewaysByProject200ResponseMetalGatewaysInner and assigns it to the MetalGateways field.

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"`
	// 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.
	State     *string    `json:"state,omitempty"`
	UpdatedAt *time.Time `json:"updated_at,omitempty"`
	// The VLAN id of the Virtual Network record associated to this Metal Gateway. Example: 1001.
	Vlan *float32 `json:"vlan,omitempty"`
}

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() string

GetState returns the State field value if set, zero value otherwise.

func (*MetalGatewayLite) GetStateOk ¶

func (o *MetalGatewayLite) 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 (*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() float32

GetVlan returns the Vlan field value if set, zero value otherwise.

func (*MetalGatewayLite) GetVlanOk ¶

func (o *MetalGatewayLite) GetVlanOk() (*float32, 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 string)

SetState gets a reference to the given string 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 float32)

SetVlan gets a reference to the given float32 and assigns it to the Vlan field.

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) CreateMetalGatewayExecute ¶

Execute executes the request

@return FindMetalGatewayById200Response

func (*MetalGatewaysApiService) DeleteMetalGateway ¶

DeleteMetalGateway Deletes the metal gateway

Deletes 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 ApiDeleteMetalGatewayRequest

func (*MetalGatewaysApiService) DeleteMetalGatewayExecute ¶

func (a *MetalGatewaysApiService) DeleteMetalGatewayExecute(r ApiDeleteMetalGatewayRequest) (*http.Response, error)

Execute executes the request

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 FindMetalGatewaysByProject200Response

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"`
}

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.

type MetroCapacityList ¶

type MetroCapacityList struct {
	Capacity *FindCapacityForMetro200ResponseCapacity `json:"capacity,omitempty"`
}

MetroCapacityList struct for MetroCapacityList

func NewMetroCapacityList ¶

func NewMetroCapacityList() *MetroCapacityList

NewMetroCapacityList instantiates a new MetroCapacityList 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 NewMetroCapacityListWithDefaults ¶

func NewMetroCapacityListWithDefaults() *MetroCapacityList

NewMetroCapacityListWithDefaults instantiates a new MetroCapacityList 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 (*MetroCapacityList) GetCapacity ¶

GetCapacity returns the Capacity field value if set, zero value otherwise.

func (*MetroCapacityList) GetCapacityOk ¶

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 (*MetroCapacityList) HasCapacity ¶

func (o *MetroCapacityList) HasCapacity() bool

HasCapacity returns a boolean if a field has been set.

func (MetroCapacityList) MarshalJSON ¶

func (o MetroCapacityList) MarshalJSON() ([]byte, error)

func (*MetroCapacityList) SetCapacity ¶

SetCapacity gets a reference to the given FindCapacityForMetro200ResponseCapacity and assigns it to the Capacity field.

type MetroCapacityReport ¶

MetroCapacityReport struct for MetroCapacityReport

func NewMetroCapacityReport ¶

func NewMetroCapacityReport() *MetroCapacityReport

NewMetroCapacityReport instantiates a new MetroCapacityReport 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 NewMetroCapacityReportWithDefaults ¶

func NewMetroCapacityReportWithDefaults() *MetroCapacityReport

NewMetroCapacityReportWithDefaults instantiates a new MetroCapacityReport 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 (*MetroCapacityReport) GetAm ¶

GetAm returns the Am field value if set, zero value otherwise.

func (*MetroCapacityReport) 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 (*MetroCapacityReport) GetAt ¶

GetAt returns the At field value if set, zero value otherwise.

func (*MetroCapacityReport) GetAtOk ¶

GetAtOk returns a tuple with the At field value if set, nil otherwise and a boolean to check if the value has been set.

func (*MetroCapacityReport) GetCh ¶

GetCh returns the Ch field value if set, zero value otherwise.

func (*MetroCapacityReport) 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 (*MetroCapacityReport) GetDa ¶

GetDa returns the Da field value if set, zero value otherwise.

func (*MetroCapacityReport) 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 (*MetroCapacityReport) GetDc ¶

GetDc returns the Dc field value if set, zero value otherwise.

func (*MetroCapacityReport) GetDcOk ¶

GetDcOk returns a tuple with the Dc field value if set, nil otherwise and a boolean to check if the value has been set.

func (*MetroCapacityReport) GetFr ¶

GetFr returns the Fr field value if set, zero value otherwise.

func (*MetroCapacityReport) GetFrOk ¶

GetFrOk returns a tuple with the Fr field value if set, nil otherwise and a boolean to check if the value has been set.

func (*MetroCapacityReport) GetHk ¶

GetHk returns the Hk field value if set, zero value otherwise.

func (*MetroCapacityReport) GetHkOk ¶

GetHkOk returns a tuple with the Hk field value if set, nil otherwise and a boolean to check if the value has been set.

func (*MetroCapacityReport) GetLa ¶

GetLa returns the La field value if set, zero value otherwise.

func (*MetroCapacityReport) 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 (*MetroCapacityReport) GetLd ¶

GetLd returns the Ld field value if set, zero value otherwise.

func (*MetroCapacityReport) GetLdOk ¶

GetLdOk returns a tuple with the Ld field value if set, nil otherwise and a boolean to check if the value has been set.

func (*MetroCapacityReport) GetMd ¶

GetMd returns the Md field value if set, zero value otherwise.

func (*MetroCapacityReport) GetMdOk ¶

GetMdOk returns a tuple with the Md field value if set, nil otherwise and a boolean to check if the value has been set.

func (*MetroCapacityReport) GetNy ¶

GetNy returns the Ny field value if set, zero value otherwise.

func (*MetroCapacityReport) 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 (*MetroCapacityReport) GetPa ¶

GetPa returns the Pa field value if set, zero value otherwise.

func (*MetroCapacityReport) GetPaOk ¶

GetPaOk returns a tuple with the Pa field value if set, nil otherwise and a boolean to check if the value has been set.

func (*MetroCapacityReport) GetSe ¶

GetSe returns the Se field value if set, zero value otherwise.

func (*MetroCapacityReport) GetSeOk ¶

GetSeOk returns a tuple with the Se field value if set, nil otherwise and a boolean to check if the value has been set.

func (*MetroCapacityReport) GetSg ¶

GetSg returns the Sg field value if set, zero value otherwise.

func (*MetroCapacityReport) 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 (*MetroCapacityReport) GetSl ¶

GetSl returns the Sl field value if set, zero value otherwise.

func (*MetroCapacityReport) GetSlOk ¶

GetSlOk returns a tuple with the Sl field value if set, nil otherwise and a boolean to check if the value has been set.

func (*MetroCapacityReport) GetSp ¶

GetSp returns the Sp field value if set, zero value otherwise.

func (*MetroCapacityReport) GetSpOk ¶

GetSpOk returns a tuple with the Sp field value if set, nil otherwise and a boolean to check if the value has been set.

func (*MetroCapacityReport) GetSv ¶

GetSv returns the Sv field value if set, zero value otherwise.

func (*MetroCapacityReport) 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 (*MetroCapacityReport) GetSy ¶

GetSy returns the Sy field value if set, zero value otherwise.

func (*MetroCapacityReport) GetSyOk ¶

GetSyOk returns a tuple with the Sy field value if set, nil otherwise and a boolean to check if the value has been set.

func (*MetroCapacityReport) GetTr ¶

GetTr returns the Tr field value if set, zero value otherwise.

func (*MetroCapacityReport) GetTrOk ¶

GetTrOk returns a tuple with the Tr field value if set, nil otherwise and a boolean to check if the value has been set.

func (*MetroCapacityReport) GetTy ¶

GetTy returns the Ty field value if set, zero value otherwise.

func (*MetroCapacityReport) GetTyOk ¶

GetTyOk returns a tuple with the Ty field value if set, nil otherwise and a boolean to check if the value has been set.

func (*MetroCapacityReport) HasAm ¶

func (o *MetroCapacityReport) HasAm() bool

HasAm returns a boolean if a field has been set.

func (*MetroCapacityReport) HasAt ¶

func (o *MetroCapacityReport) HasAt() bool

HasAt returns a boolean if a field has been set.

func (*MetroCapacityReport) HasCh ¶

func (o *MetroCapacityReport) HasCh() bool

HasCh returns a boolean if a field has been set.

func (*MetroCapacityReport) HasDa ¶

func (o *MetroCapacityReport) HasDa() bool

HasDa returns a boolean if a field has been set.

func (*MetroCapacityReport) HasDc ¶

func (o *MetroCapacityReport) HasDc() bool

HasDc returns a boolean if a field has been set.

func (*MetroCapacityReport) HasFr ¶

func (o *MetroCapacityReport) HasFr() bool

HasFr returns a boolean if a field has been set.

func (*MetroCapacityReport) HasHk ¶

func (o *MetroCapacityReport) HasHk() bool

HasHk returns a boolean if a field has been set.

func (*MetroCapacityReport) HasLa ¶

func (o *MetroCapacityReport) HasLa() bool

HasLa returns a boolean if a field has been set.

func (*MetroCapacityReport) HasLd ¶

func (o *MetroCapacityReport) HasLd() bool

HasLd returns a boolean if a field has been set.

func (*MetroCapacityReport) HasMd ¶

func (o *MetroCapacityReport) HasMd() bool

HasMd returns a boolean if a field has been set.

func (*MetroCapacityReport) HasNy ¶

func (o *MetroCapacityReport) HasNy() bool

HasNy returns a boolean if a field has been set.

func (*MetroCapacityReport) HasPa ¶

func (o *MetroCapacityReport) HasPa() bool

HasPa returns a boolean if a field has been set.

func (*MetroCapacityReport) HasSe ¶

func (o *MetroCapacityReport) HasSe() bool

HasSe returns a boolean if a field has been set.

func (*MetroCapacityReport) HasSg ¶

func (o *MetroCapacityReport) HasSg() bool

HasSg returns a boolean if a field has been set.

func (*MetroCapacityReport) HasSl ¶

func (o *MetroCapacityReport) HasSl() bool

HasSl returns a boolean if a field has been set.

func (*MetroCapacityReport) HasSp ¶

func (o *MetroCapacityReport) HasSp() bool

HasSp returns a boolean if a field has been set.

func (*MetroCapacityReport) HasSv ¶

func (o *MetroCapacityReport) HasSv() bool

HasSv returns a boolean if a field has been set.

func (*MetroCapacityReport) HasSy ¶

func (o *MetroCapacityReport) HasSy() bool

HasSy returns a boolean if a field has been set.

func (*MetroCapacityReport) HasTr ¶

func (o *MetroCapacityReport) HasTr() bool

HasTr returns a boolean if a field has been set.

func (*MetroCapacityReport) HasTy ¶

func (o *MetroCapacityReport) HasTy() bool

HasTy returns a boolean if a field has been set.

func (MetroCapacityReport) MarshalJSON ¶

func (o MetroCapacityReport) MarshalJSON() ([]byte, error)

func (*MetroCapacityReport) SetAm ¶

SetAm gets a reference to the given FindCapacityForFacility200ResponseCapacityAms1 and assigns it to the Am field.

func (*MetroCapacityReport) SetAt ¶

SetAt gets a reference to the given FindCapacityForFacility200ResponseCapacityAms1 and assigns it to the At field.

func (*MetroCapacityReport) SetCh ¶

SetCh gets a reference to the given FindCapacityForFacility200ResponseCapacityAms1 and assigns it to the Ch field.

func (*MetroCapacityReport) SetDa ¶

SetDa gets a reference to the given FindCapacityForFacility200ResponseCapacityAms1 and assigns it to the Da field.

func (*MetroCapacityReport) SetDc ¶

SetDc gets a reference to the given FindCapacityForFacility200ResponseCapacityAms1 and assigns it to the Dc field.

func (*MetroCapacityReport) SetFr ¶

SetFr gets a reference to the given FindCapacityForFacility200ResponseCapacityAms1 and assigns it to the Fr field.

func (*MetroCapacityReport) SetHk ¶

SetHk gets a reference to the given FindCapacityForFacility200ResponseCapacityAms1 and assigns it to the Hk field.

func (*MetroCapacityReport) SetLa ¶

SetLa gets a reference to the given FindCapacityForFacility200ResponseCapacityAms1 and assigns it to the La field.

func (*MetroCapacityReport) SetLd ¶

SetLd gets a reference to the given FindCapacityForFacility200ResponseCapacityAms1 and assigns it to the Ld field.

func (*MetroCapacityReport) SetMd ¶

SetMd gets a reference to the given FindCapacityForFacility200ResponseCapacityAms1 and assigns it to the Md field.

func (*MetroCapacityReport) SetNy ¶

SetNy gets a reference to the given FindCapacityForFacility200ResponseCapacityAms1 and assigns it to the Ny field.

func (*MetroCapacityReport) SetPa ¶

SetPa gets a reference to the given FindCapacityForFacility200ResponseCapacityAms1 and assigns it to the Pa field.

func (*MetroCapacityReport) SetSe ¶

SetSe gets a reference to the given FindCapacityForFacility200ResponseCapacityAms1 and assigns it to the Se field.

func (*MetroCapacityReport) SetSg ¶

SetSg gets a reference to the given FindCapacityForFacility200ResponseCapacityAms1 and assigns it to the Sg field.

func (*MetroCapacityReport) SetSl ¶

SetSl gets a reference to the given FindCapacityForFacility200ResponseCapacityAms1 and assigns it to the Sl field.

func (*MetroCapacityReport) SetSp ¶

SetSp gets a reference to the given FindCapacityForFacility200ResponseCapacityAms1 and assigns it to the Sp field.

func (*MetroCapacityReport) SetSv ¶

SetSv gets a reference to the given FindCapacityForFacility200ResponseCapacityAms1 and assigns it to the Sv field.

func (*MetroCapacityReport) SetSy ¶

SetSy gets a reference to the given FindCapacityForFacility200ResponseCapacityAms1 and assigns it to the Sy field.

func (*MetroCapacityReport) SetTr ¶

SetTr gets a reference to the given FindCapacityForFacility200ResponseCapacityAms1 and assigns it to the Tr field.

func (*MetroCapacityReport) SetTy ¶

SetTy gets a reference to the given FindCapacityForFacility200ResponseCapacityAms1 and assigns it to the Ty field.

type MetroList ¶

type MetroList struct {
	Metros []GetInterconnection200ResponseMetroAllOf `json:"metros,omitempty"`
}

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 ¶

GetMetros returns the Metros field value if set, zero value otherwise.

func (*MetroList) GetMetrosOk ¶

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 ¶

SetMetros gets a reference to the given []GetInterconnection200ResponseMetroAllOf and assigns it to the Metros field.

type MetroServerInfo ¶

type MetroServerInfo struct {
	// 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"`
}

MetroServerInfo struct for MetroServerInfo

func NewMetroServerInfo ¶

func NewMetroServerInfo() *MetroServerInfo

NewMetroServerInfo instantiates a new MetroServerInfo 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 NewMetroServerInfoWithDefaults ¶

func NewMetroServerInfoWithDefaults() *MetroServerInfo

NewMetroServerInfoWithDefaults instantiates a new MetroServerInfo 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 (*MetroServerInfo) GetMetro ¶

func (o *MetroServerInfo) GetMetro() string

GetMetro returns the Metro field value if set, zero value otherwise.

func (*MetroServerInfo) GetMetroOk ¶

func (o *MetroServerInfo) 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 (*MetroServerInfo) GetPlan ¶

func (o *MetroServerInfo) GetPlan() string

GetPlan returns the Plan field value if set, zero value otherwise.

func (*MetroServerInfo) GetPlanOk ¶

func (o *MetroServerInfo) 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 (*MetroServerInfo) GetQuantity ¶

func (o *MetroServerInfo) GetQuantity() string

GetQuantity returns the Quantity field value if set, zero value otherwise.

func (*MetroServerInfo) GetQuantityOk ¶

func (o *MetroServerInfo) 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 (*MetroServerInfo) HasMetro ¶

func (o *MetroServerInfo) HasMetro() bool

HasMetro returns a boolean if a field has been set.

func (*MetroServerInfo) HasPlan ¶

func (o *MetroServerInfo) HasPlan() bool

HasPlan returns a boolean if a field has been set.

func (*MetroServerInfo) HasQuantity ¶

func (o *MetroServerInfo) HasQuantity() bool

HasQuantity returns a boolean if a field has been set.

func (MetroServerInfo) MarshalJSON ¶

func (o MetroServerInfo) MarshalJSON() ([]byte, error)

func (*MetroServerInfo) SetMetro ¶

func (o *MetroServerInfo) SetMetro(v string)

SetMetro gets a reference to the given string and assigns it to the Metro field.

func (*MetroServerInfo) SetPlan ¶

func (o *MetroServerInfo) SetPlan(v string)

SetPlan gets a reference to the given string and assigns it to the Plan field.

func (*MetroServerInfo) SetQuantity ¶

func (o *MetroServerInfo) SetQuantity(v string)

SetQuantity gets a reference to the given string and assigns it to the Quantity field.

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 ¶

Execute executes the request

@return FindMetros200Response

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 ¶

Execute executes the request

@return GetInterconnection200ResponseMetroAllOf

type MoveHardwareReservation201Response ¶

type MoveHardwareReservation201Response struct {
	CreatedAt *time.Time `json:"created_at,omitempty"`
	// Amount that will be charged for every billing_cycle.
	CustomRate *float32                           `json:"custom_rate,omitempty"`
	Device     *FindDeviceById200Response         `json:"device,omitempty"`
	Facility   *FindDeviceById200ResponseFacility `json:"facility,omitempty"`
	Href       *string                            `json:"href,omitempty"`
	Id         *string                            `json:"id,omitempty"`
	// Whether this Device requires assistance from Metal Equinix.
	NeedOfService *bool                                                                                       `json:"need_of_service,omitempty"`
	Plan          *FindDeviceById200ResponsePlan                                                              `json:"plan,omitempty"`
	Project       *GetInterconnection200ResponsePortsInnerVirtualCircuitsVirtualCircuitsInnerAnyOf1VrfProject `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 Metal Equinix
	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"`
}

MoveHardwareReservation201Response struct for MoveHardwareReservation201Response

func NewMoveHardwareReservation201Response ¶

func NewMoveHardwareReservation201Response() *MoveHardwareReservation201Response

NewMoveHardwareReservation201Response instantiates a new MoveHardwareReservation201Response 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 NewMoveHardwareReservation201ResponseWithDefaults ¶

func NewMoveHardwareReservation201ResponseWithDefaults() *MoveHardwareReservation201Response

NewMoveHardwareReservation201ResponseWithDefaults instantiates a new MoveHardwareReservation201Response 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 (*MoveHardwareReservation201Response) GetCreatedAt ¶

func (o *MoveHardwareReservation201Response) GetCreatedAt() time.Time

GetCreatedAt returns the CreatedAt field value if set, zero value otherwise.

func (*MoveHardwareReservation201Response) GetCreatedAtOk ¶

func (o *MoveHardwareReservation201Response) 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 (*MoveHardwareReservation201Response) GetCustomRate ¶

func (o *MoveHardwareReservation201Response) GetCustomRate() float32

GetCustomRate returns the CustomRate field value if set, zero value otherwise.

func (*MoveHardwareReservation201Response) GetCustomRateOk ¶

func (o *MoveHardwareReservation201Response) 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 (*MoveHardwareReservation201Response) GetDevice ¶

GetDevice returns the Device field value if set, zero value otherwise.

func (*MoveHardwareReservation201Response) GetDeviceOk ¶

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 (*MoveHardwareReservation201Response) GetFacility ¶

GetFacility returns the Facility field value if set, zero value otherwise.

func (*MoveHardwareReservation201Response) GetFacilityOk ¶

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 (*MoveHardwareReservation201Response) GetHref ¶

GetHref returns the Href field value if set, zero value otherwise.

func (*MoveHardwareReservation201Response) GetHrefOk ¶

func (o *MoveHardwareReservation201Response) 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 (*MoveHardwareReservation201Response) GetId ¶

GetId returns the Id field value if set, zero value otherwise.

func (*MoveHardwareReservation201Response) 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 (*MoveHardwareReservation201Response) GetNeedOfService ¶

func (o *MoveHardwareReservation201Response) GetNeedOfService() bool

GetNeedOfService returns the NeedOfService field value if set, zero value otherwise.

func (*MoveHardwareReservation201Response) GetNeedOfServiceOk ¶

func (o *MoveHardwareReservation201Response) 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 (*MoveHardwareReservation201Response) GetPlan ¶

GetPlan returns the Plan field value if set, zero value otherwise.

func (*MoveHardwareReservation201Response) GetPlanOk ¶

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 (*MoveHardwareReservation201Response) GetProject ¶

GetProject returns the Project field value if set, zero value otherwise.

func (*MoveHardwareReservation201Response) GetProjectOk ¶

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 (*MoveHardwareReservation201Response) GetProvisionable ¶

func (o *MoveHardwareReservation201Response) GetProvisionable() bool

GetProvisionable returns the Provisionable field value if set, zero value otherwise.

func (*MoveHardwareReservation201Response) GetProvisionableOk ¶

func (o *MoveHardwareReservation201Response) 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 (*MoveHardwareReservation201Response) GetShortId ¶

GetShortId returns the ShortId field value if set, zero value otherwise.

func (*MoveHardwareReservation201Response) GetShortIdOk ¶

func (o *MoveHardwareReservation201Response) 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 (*MoveHardwareReservation201Response) GetSpare ¶

GetSpare returns the Spare field value if set, zero value otherwise.

func (*MoveHardwareReservation201Response) GetSpareOk ¶

func (o *MoveHardwareReservation201Response) 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 (*MoveHardwareReservation201Response) GetSwitchUuid ¶

func (o *MoveHardwareReservation201Response) GetSwitchUuid() string

GetSwitchUuid returns the SwitchUuid field value if set, zero value otherwise.

func (*MoveHardwareReservation201Response) GetSwitchUuidOk ¶

func (o *MoveHardwareReservation201Response) 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 (*MoveHardwareReservation201Response) HasCreatedAt ¶

func (o *MoveHardwareReservation201Response) HasCreatedAt() bool

HasCreatedAt returns a boolean if a field has been set.

func (*MoveHardwareReservation201Response) HasCustomRate ¶

func (o *MoveHardwareReservation201Response) HasCustomRate() bool

HasCustomRate returns a boolean if a field has been set.

func (*MoveHardwareReservation201Response) HasDevice ¶

HasDevice returns a boolean if a field has been set.

func (*MoveHardwareReservation201Response) HasFacility ¶

func (o *MoveHardwareReservation201Response) HasFacility() bool

HasFacility returns a boolean if a field has been set.

func (*MoveHardwareReservation201Response) HasHref ¶

HasHref returns a boolean if a field has been set.

func (*MoveHardwareReservation201Response) HasId ¶

HasId returns a boolean if a field has been set.

func (*MoveHardwareReservation201Response) HasNeedOfService ¶

func (o *MoveHardwareReservation201Response) HasNeedOfService() bool

HasNeedOfService returns a boolean if a field has been set.

func (*MoveHardwareReservation201Response) HasPlan ¶

HasPlan returns a boolean if a field has been set.

func (*MoveHardwareReservation201Response) HasProject ¶

func (o *MoveHardwareReservation201Response) HasProject() bool

HasProject returns a boolean if a field has been set.

func (*MoveHardwareReservation201Response) HasProvisionable ¶

func (o *MoveHardwareReservation201Response) HasProvisionable() bool

HasProvisionable returns a boolean if a field has been set.

func (*MoveHardwareReservation201Response) HasShortId ¶

func (o *MoveHardwareReservation201Response) HasShortId() bool

HasShortId returns a boolean if a field has been set.

func (*MoveHardwareReservation201Response) HasSpare ¶

HasSpare returns a boolean if a field has been set.

func (*MoveHardwareReservation201Response) HasSwitchUuid ¶

func (o *MoveHardwareReservation201Response) HasSwitchUuid() bool

HasSwitchUuid returns a boolean if a field has been set.

func (MoveHardwareReservation201Response) MarshalJSON ¶

func (o MoveHardwareReservation201Response) MarshalJSON() ([]byte, error)

func (*MoveHardwareReservation201Response) SetCreatedAt ¶

func (o *MoveHardwareReservation201Response) SetCreatedAt(v time.Time)

SetCreatedAt gets a reference to the given time.Time and assigns it to the CreatedAt field.

func (*MoveHardwareReservation201Response) SetCustomRate ¶

func (o *MoveHardwareReservation201Response) SetCustomRate(v float32)

SetCustomRate gets a reference to the given float32 and assigns it to the CustomRate field.

func (*MoveHardwareReservation201Response) SetDevice ¶

SetDevice gets a reference to the given FindDeviceById200Response and assigns it to the Device field.

func (*MoveHardwareReservation201Response) SetFacility ¶

SetFacility gets a reference to the given FindDeviceById200ResponseFacility and assigns it to the Facility field.

func (*MoveHardwareReservation201Response) SetHref ¶

SetHref gets a reference to the given string and assigns it to the Href field.

func (*MoveHardwareReservation201Response) SetId ¶

SetId gets a reference to the given string and assigns it to the Id field.

func (*MoveHardwareReservation201Response) SetNeedOfService ¶

func (o *MoveHardwareReservation201Response) SetNeedOfService(v bool)

SetNeedOfService gets a reference to the given bool and assigns it to the NeedOfService field.

func (*MoveHardwareReservation201Response) SetPlan ¶

SetPlan gets a reference to the given FindDeviceById200ResponsePlan and assigns it to the Plan field.

func (*MoveHardwareReservation201Response) SetProject ¶

SetProject gets a reference to the given GetInterconnection200ResponsePortsInnerVirtualCircuitsVirtualCircuitsInnerAnyOf1VrfProject and assigns it to the Project field.

func (*MoveHardwareReservation201Response) SetProvisionable ¶

func (o *MoveHardwareReservation201Response) SetProvisionable(v bool)

SetProvisionable gets a reference to the given bool and assigns it to the Provisionable field.

func (*MoveHardwareReservation201Response) SetShortId ¶

func (o *MoveHardwareReservation201Response) SetShortId(v string)

SetShortId gets a reference to the given string and assigns it to the ShortId field.

func (*MoveHardwareReservation201Response) SetSpare ¶

SetSpare gets a reference to the given bool and assigns it to the Spare field.

func (*MoveHardwareReservation201Response) SetSwitchUuid ¶

func (o *MoveHardwareReservation201Response) SetSwitchUuid(v string)

SetSwitchUuid gets a reference to the given string and assigns it to the SwitchUuid field.

type NewPassword ¶

type NewPassword struct {
	NewPassword *string `json:"new_password,omitempty"`
}

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.

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 NullableAnyOfarraystring ¶ added in v0.2.6

type NullableAnyOfarraystring struct {
	Value *AnyOfarraystring
}

func (NullableAnyOfarraystring) Get ¶ added in v0.2.6

func (NullableAnyOfarraystring) IsSet ¶ added in v0.2.6

func (o NullableAnyOfarraystring) IsSet() bool

func (NullableAnyOfarraystring) Set ¶ added in v0.2.6

type NullableAssignPortRequest ¶

type NullableAssignPortRequest struct {
	// contains filtered or unexported fields
}

func NewNullableAssignPortRequest ¶

func NewNullableAssignPortRequest(val *AssignPortRequest) *NullableAssignPortRequest

func (NullableAssignPortRequest) Get ¶

func (NullableAssignPortRequest) IsSet ¶

func (v NullableAssignPortRequest) IsSet() bool

func (NullableAssignPortRequest) MarshalJSON ¶

func (v NullableAssignPortRequest) MarshalJSON() ([]byte, error)

func (*NullableAssignPortRequest) Set ¶

func (*NullableAssignPortRequest) UnmarshalJSON ¶

func (v *NullableAssignPortRequest) UnmarshalJSON(src []byte) error

func (*NullableAssignPortRequest) Unset ¶

func (v *NullableAssignPortRequest) 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 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 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 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 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 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 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 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 NullableCapacityPerFacility ¶

type NullableCapacityPerFacility struct {
	// contains filtered or unexported fields
}

func (NullableCapacityPerFacility) Get ¶

func (NullableCapacityPerFacility) IsSet ¶

func (NullableCapacityPerFacility) MarshalJSON ¶

func (v NullableCapacityPerFacility) MarshalJSON() ([]byte, error)

func (*NullableCapacityPerFacility) Set ¶

func (*NullableCapacityPerFacility) UnmarshalJSON ¶

func (v *NullableCapacityPerFacility) UnmarshalJSON(src []byte) error

func (*NullableCapacityPerFacility) Unset ¶

func (v *NullableCapacityPerFacility) Unset()

type NullableCapacityPerMetroInput ¶

type NullableCapacityPerMetroInput struct {
	// contains filtered or unexported fields
}

func (NullableCapacityPerMetroInput) Get ¶

func (NullableCapacityPerMetroInput) IsSet ¶

func (NullableCapacityPerMetroInput) MarshalJSON ¶

func (v NullableCapacityPerMetroInput) MarshalJSON() ([]byte, error)

func (*NullableCapacityPerMetroInput) Set ¶

func (*NullableCapacityPerMetroInput) UnmarshalJSON ¶

func (v *NullableCapacityPerMetroInput) UnmarshalJSON(src []byte) error

func (*NullableCapacityPerMetroInput) Unset ¶

func (v *NullableCapacityPerMetroInput) Unset()

type NullableCapacityPerNewFacility ¶

type NullableCapacityPerNewFacility struct {
	// contains filtered or unexported fields
}

func (NullableCapacityPerNewFacility) Get ¶

func (NullableCapacityPerNewFacility) IsSet ¶

func (NullableCapacityPerNewFacility) MarshalJSON ¶

func (v NullableCapacityPerNewFacility) MarshalJSON() ([]byte, error)

func (*NullableCapacityPerNewFacility) Set ¶

func (*NullableCapacityPerNewFacility) UnmarshalJSON ¶

func (v *NullableCapacityPerNewFacility) UnmarshalJSON(src []byte) error

func (*NullableCapacityPerNewFacility) Unset ¶

func (v *NullableCapacityPerNewFacility) Unset()

type NullableCapacityReport ¶

type NullableCapacityReport struct {
	// contains filtered or unexported fields
}

func NewNullableCapacityReport ¶

func NewNullableCapacityReport(val *CapacityReport) *NullableCapacityReport

func (NullableCapacityReport) Get ¶

func (NullableCapacityReport) IsSet ¶

func (v NullableCapacityReport) IsSet() bool

func (NullableCapacityReport) MarshalJSON ¶

func (v NullableCapacityReport) MarshalJSON() ([]byte, error)

func (*NullableCapacityReport) Set ¶

func (*NullableCapacityReport) UnmarshalJSON ¶

func (v *NullableCapacityReport) UnmarshalJSON(src []byte) error

func (*NullableCapacityReport) Unset ¶

func (v *NullableCapacityReport) Unset()

type NullableCheckCapacityForFacility200Response ¶

type NullableCheckCapacityForFacility200Response struct {
	// contains filtered or unexported fields
}

func (NullableCheckCapacityForFacility200Response) Get ¶

func (NullableCheckCapacityForFacility200Response) IsSet ¶

func (NullableCheckCapacityForFacility200Response) MarshalJSON ¶

func (*NullableCheckCapacityForFacility200Response) Set ¶

func (*NullableCheckCapacityForFacility200Response) UnmarshalJSON ¶

func (v *NullableCheckCapacityForFacility200Response) UnmarshalJSON(src []byte) error

func (*NullableCheckCapacityForFacility200Response) Unset ¶

type NullableCheckCapacityForFacility200ResponseServersInner ¶

type NullableCheckCapacityForFacility200ResponseServersInner struct {
	// contains filtered or unexported fields
}

func (NullableCheckCapacityForFacility200ResponseServersInner) Get ¶

func (NullableCheckCapacityForFacility200ResponseServersInner) IsSet ¶

func (NullableCheckCapacityForFacility200ResponseServersInner) MarshalJSON ¶

func (*NullableCheckCapacityForFacility200ResponseServersInner) Set ¶

func (*NullableCheckCapacityForFacility200ResponseServersInner) UnmarshalJSON ¶

func (*NullableCheckCapacityForFacility200ResponseServersInner) Unset ¶

type NullableCheckCapacityForFacilityRequest ¶

type NullableCheckCapacityForFacilityRequest struct {
	// contains filtered or unexported fields
}

func (NullableCheckCapacityForFacilityRequest) Get ¶

func (NullableCheckCapacityForFacilityRequest) IsSet ¶

func (NullableCheckCapacityForFacilityRequest) MarshalJSON ¶

func (v NullableCheckCapacityForFacilityRequest) MarshalJSON() ([]byte, error)

func (*NullableCheckCapacityForFacilityRequest) Set ¶

func (*NullableCheckCapacityForFacilityRequest) UnmarshalJSON ¶

func (v *NullableCheckCapacityForFacilityRequest) UnmarshalJSON(src []byte) error

func (*NullableCheckCapacityForFacilityRequest) Unset ¶

type NullableCheckCapacityForFacilityRequestServersInner ¶

type NullableCheckCapacityForFacilityRequestServersInner struct {
	// contains filtered or unexported fields
}

func (NullableCheckCapacityForFacilityRequestServersInner) Get ¶

func (NullableCheckCapacityForFacilityRequestServersInner) IsSet ¶

func (NullableCheckCapacityForFacilityRequestServersInner) MarshalJSON ¶

func (*NullableCheckCapacityForFacilityRequestServersInner) Set ¶

func (*NullableCheckCapacityForFacilityRequestServersInner) UnmarshalJSON ¶

func (*NullableCheckCapacityForFacilityRequestServersInner) Unset ¶

type NullableCheckCapacityForMetro200Response ¶

type NullableCheckCapacityForMetro200Response struct {
	// contains filtered or unexported fields
}

func (NullableCheckCapacityForMetro200Response) Get ¶

func (NullableCheckCapacityForMetro200Response) IsSet ¶

func (NullableCheckCapacityForMetro200Response) MarshalJSON ¶

func (*NullableCheckCapacityForMetro200Response) Set ¶

func (*NullableCheckCapacityForMetro200Response) UnmarshalJSON ¶

func (v *NullableCheckCapacityForMetro200Response) UnmarshalJSON(src []byte) error

func (*NullableCheckCapacityForMetro200Response) Unset ¶

type NullableCheckCapacityForMetro200ResponseServersInner ¶

type NullableCheckCapacityForMetro200ResponseServersInner struct {
	// contains filtered or unexported fields
}

func (NullableCheckCapacityForMetro200ResponseServersInner) Get ¶

func (NullableCheckCapacityForMetro200ResponseServersInner) IsSet ¶

func (NullableCheckCapacityForMetro200ResponseServersInner) MarshalJSON ¶

func (*NullableCheckCapacityForMetro200ResponseServersInner) Set ¶

func (*NullableCheckCapacityForMetro200ResponseServersInner) UnmarshalJSON ¶

func (*NullableCheckCapacityForMetro200ResponseServersInner) Unset ¶

type NullableCheckCapacityForMetroRequest ¶

type NullableCheckCapacityForMetroRequest struct {
	// contains filtered or unexported fields
}

func (NullableCheckCapacityForMetroRequest) Get ¶

func (NullableCheckCapacityForMetroRequest) IsSet ¶

func (NullableCheckCapacityForMetroRequest) MarshalJSON ¶

func (v NullableCheckCapacityForMetroRequest) MarshalJSON() ([]byte, error)

func (*NullableCheckCapacityForMetroRequest) Set ¶

func (*NullableCheckCapacityForMetroRequest) UnmarshalJSON ¶

func (v *NullableCheckCapacityForMetroRequest) UnmarshalJSON(src []byte) error

func (*NullableCheckCapacityForMetroRequest) Unset ¶

type NullableCheckCapacityForMetroRequestServersInner ¶

type NullableCheckCapacityForMetroRequestServersInner struct {
	// contains filtered or unexported fields
}

func (NullableCheckCapacityForMetroRequestServersInner) Get ¶

func (NullableCheckCapacityForMetroRequestServersInner) IsSet ¶

func (NullableCheckCapacityForMetroRequestServersInner) MarshalJSON ¶

func (*NullableCheckCapacityForMetroRequestServersInner) Set ¶

func (*NullableCheckCapacityForMetroRequestServersInner) UnmarshalJSON ¶

func (*NullableCheckCapacityForMetroRequestServersInner) Unset ¶

type NullableConvertLayer3Request ¶

type NullableConvertLayer3Request struct {
	// contains filtered or unexported fields
}

func (NullableConvertLayer3Request) Get ¶

func (NullableConvertLayer3Request) IsSet ¶

func (NullableConvertLayer3Request) MarshalJSON ¶

func (v NullableConvertLayer3Request) MarshalJSON() ([]byte, error)

func (*NullableConvertLayer3Request) Set ¶

func (*NullableConvertLayer3Request) UnmarshalJSON ¶

func (v *NullableConvertLayer3Request) UnmarshalJSON(src []byte) error

func (*NullableConvertLayer3Request) Unset ¶

func (v *NullableConvertLayer3Request) Unset()

type NullableConvertLayer3RequestRequestIpsInner ¶

type NullableConvertLayer3RequestRequestIpsInner struct {
	// contains filtered or unexported fields
}

func (NullableConvertLayer3RequestRequestIpsInner) Get ¶

func (NullableConvertLayer3RequestRequestIpsInner) IsSet ¶

func (NullableConvertLayer3RequestRequestIpsInner) MarshalJSON ¶

func (*NullableConvertLayer3RequestRequestIpsInner) Set ¶

func (*NullableConvertLayer3RequestRequestIpsInner) UnmarshalJSON ¶

func (v *NullableConvertLayer3RequestRequestIpsInner) UnmarshalJSON(src []byte) error

func (*NullableConvertLayer3RequestRequestIpsInner) 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 NullableCreateBgpSessionRequest ¶

type NullableCreateBgpSessionRequest struct {
	// contains filtered or unexported fields
}

func (NullableCreateBgpSessionRequest) Get ¶

func (NullableCreateBgpSessionRequest) IsSet ¶

func (NullableCreateBgpSessionRequest) MarshalJSON ¶

func (v NullableCreateBgpSessionRequest) MarshalJSON() ([]byte, error)

func (*NullableCreateBgpSessionRequest) Set ¶

func (*NullableCreateBgpSessionRequest) UnmarshalJSON ¶

func (v *NullableCreateBgpSessionRequest) UnmarshalJSON(src []byte) error

func (*NullableCreateBgpSessionRequest) Unset ¶

type NullableCreateDeviceBatchRequest ¶

type NullableCreateDeviceBatchRequest struct {
	// contains filtered or unexported fields
}

func (NullableCreateDeviceBatchRequest) Get ¶

func (NullableCreateDeviceBatchRequest) IsSet ¶

func (NullableCreateDeviceBatchRequest) MarshalJSON ¶

func (v NullableCreateDeviceBatchRequest) MarshalJSON() ([]byte, error)

func (*NullableCreateDeviceBatchRequest) Set ¶

func (*NullableCreateDeviceBatchRequest) UnmarshalJSON ¶

func (v *NullableCreateDeviceBatchRequest) UnmarshalJSON(src []byte) error

func (*NullableCreateDeviceBatchRequest) Unset ¶

type NullableCreateDeviceBatchRequestBatchesInner ¶

type NullableCreateDeviceBatchRequestBatchesInner struct {
	// contains filtered or unexported fields
}

func (NullableCreateDeviceBatchRequestBatchesInner) Get ¶

func (NullableCreateDeviceBatchRequestBatchesInner) IsSet ¶

func (NullableCreateDeviceBatchRequestBatchesInner) MarshalJSON ¶

func (*NullableCreateDeviceBatchRequestBatchesInner) Set ¶

func (*NullableCreateDeviceBatchRequestBatchesInner) UnmarshalJSON ¶

func (*NullableCreateDeviceBatchRequestBatchesInner) Unset ¶

type NullableCreateDeviceBatchRequestBatchesInnerIpAddressesInner ¶

type NullableCreateDeviceBatchRequestBatchesInnerIpAddressesInner struct {
	// contains filtered or unexported fields
}

func (NullableCreateDeviceBatchRequestBatchesInnerIpAddressesInner) Get ¶

func (NullableCreateDeviceBatchRequestBatchesInnerIpAddressesInner) IsSet ¶

func (NullableCreateDeviceBatchRequestBatchesInnerIpAddressesInner) MarshalJSON ¶

func (*NullableCreateDeviceBatchRequestBatchesInnerIpAddressesInner) Set ¶

func (*NullableCreateDeviceBatchRequestBatchesInnerIpAddressesInner) UnmarshalJSON ¶

func (*NullableCreateDeviceBatchRequestBatchesInnerIpAddressesInner) 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 NullableCreateDeviceRequestOneOf ¶ added in v0.2.6

type NullableCreateDeviceRequestOneOf struct {
	// contains filtered or unexported fields
}

func NewNullableCreateDeviceRequestOneOf ¶ added in v0.2.6

func NewNullableCreateDeviceRequestOneOf(val *CreateDeviceRequestOneOf) *NullableCreateDeviceRequestOneOf

func (NullableCreateDeviceRequestOneOf) Get ¶ added in v0.2.6

func (NullableCreateDeviceRequestOneOf) IsSet ¶ added in v0.2.6

func (NullableCreateDeviceRequestOneOf) MarshalJSON ¶ added in v0.2.6

func (v NullableCreateDeviceRequestOneOf) MarshalJSON() ([]byte, error)

func (*NullableCreateDeviceRequestOneOf) Set ¶ added in v0.2.6

func (*NullableCreateDeviceRequestOneOf) UnmarshalJSON ¶ added in v0.2.6

func (v *NullableCreateDeviceRequestOneOf) UnmarshalJSON(src []byte) error

func (*NullableCreateDeviceRequestOneOf) Unset ¶ added in v0.2.6

type NullableCreateDeviceRequestOneOf1 ¶ added in v0.2.6

type NullableCreateDeviceRequestOneOf1 struct {
	// contains filtered or unexported fields
}

func NewNullableCreateDeviceRequestOneOf1 ¶ added in v0.2.6

func NewNullableCreateDeviceRequestOneOf1(val *CreateDeviceRequestOneOf1) *NullableCreateDeviceRequestOneOf1

func (NullableCreateDeviceRequestOneOf1) Get ¶ added in v0.2.6

func (NullableCreateDeviceRequestOneOf1) IsSet ¶ added in v0.2.6

func (NullableCreateDeviceRequestOneOf1) MarshalJSON ¶ added in v0.2.6

func (v NullableCreateDeviceRequestOneOf1) MarshalJSON() ([]byte, error)

func (*NullableCreateDeviceRequestOneOf1) Set ¶ added in v0.2.6

func (*NullableCreateDeviceRequestOneOf1) UnmarshalJSON ¶ added in v0.2.6

func (v *NullableCreateDeviceRequestOneOf1) UnmarshalJSON(src []byte) error

func (*NullableCreateDeviceRequestOneOf1) Unset ¶ added in v0.2.6

type NullableCreateDeviceRequestOneOf1AllOf ¶ added in v0.2.6

type NullableCreateDeviceRequestOneOf1AllOf struct {
	// contains filtered or unexported fields
}

func NewNullableCreateDeviceRequestOneOf1AllOf ¶ added in v0.2.6

func NewNullableCreateDeviceRequestOneOf1AllOf(val *CreateDeviceRequestOneOf1AllOf) *NullableCreateDeviceRequestOneOf1AllOf

func (NullableCreateDeviceRequestOneOf1AllOf) Get ¶ added in v0.2.6

func (NullableCreateDeviceRequestOneOf1AllOf) IsSet ¶ added in v0.2.6

func (NullableCreateDeviceRequestOneOf1AllOf) MarshalJSON ¶ added in v0.2.6

func (v NullableCreateDeviceRequestOneOf1AllOf) MarshalJSON() ([]byte, error)

func (*NullableCreateDeviceRequestOneOf1AllOf) Set ¶ added in v0.2.6

func (*NullableCreateDeviceRequestOneOf1AllOf) UnmarshalJSON ¶ added in v0.2.6

func (v *NullableCreateDeviceRequestOneOf1AllOf) UnmarshalJSON(src []byte) error

func (*NullableCreateDeviceRequestOneOf1AllOf) Unset ¶ added in v0.2.6

type NullableCreateDeviceRequestOneOf1AllOfFacility ¶ added in v0.2.6

type NullableCreateDeviceRequestOneOf1AllOfFacility struct {
	// contains filtered or unexported fields
}

func (NullableCreateDeviceRequestOneOf1AllOfFacility) Get ¶ added in v0.2.6

func (NullableCreateDeviceRequestOneOf1AllOfFacility) IsSet ¶ added in v0.2.6

func (NullableCreateDeviceRequestOneOf1AllOfFacility) MarshalJSON ¶ added in v0.2.6

func (*NullableCreateDeviceRequestOneOf1AllOfFacility) Set ¶ added in v0.2.6

func (*NullableCreateDeviceRequestOneOf1AllOfFacility) UnmarshalJSON ¶ added in v0.2.6

func (*NullableCreateDeviceRequestOneOf1AllOfFacility) Unset ¶ added in v0.2.6

type NullableCreateDeviceRequestOneOfAllOf ¶ added in v0.2.6

type NullableCreateDeviceRequestOneOfAllOf struct {
	// contains filtered or unexported fields
}

func NewNullableCreateDeviceRequestOneOfAllOf ¶ added in v0.2.6

func NewNullableCreateDeviceRequestOneOfAllOf(val *CreateDeviceRequestOneOfAllOf) *NullableCreateDeviceRequestOneOfAllOf

func (NullableCreateDeviceRequestOneOfAllOf) Get ¶ added in v0.2.6

func (NullableCreateDeviceRequestOneOfAllOf) IsSet ¶ added in v0.2.6

func (NullableCreateDeviceRequestOneOfAllOf) MarshalJSON ¶ added in v0.2.6

func (v NullableCreateDeviceRequestOneOfAllOf) MarshalJSON() ([]byte, error)

func (*NullableCreateDeviceRequestOneOfAllOf) Set ¶ added in v0.2.6

func (*NullableCreateDeviceRequestOneOfAllOf) UnmarshalJSON ¶ added in v0.2.6

func (v *NullableCreateDeviceRequestOneOfAllOf) UnmarshalJSON(src []byte) error

func (*NullableCreateDeviceRequestOneOfAllOf) Unset ¶ added in v0.2.6

type NullableCreateDeviceRequestOneOfAllOf1 ¶ added in v0.2.6

type NullableCreateDeviceRequestOneOfAllOf1 struct {
	// contains filtered or unexported fields
}

func NewNullableCreateDeviceRequestOneOfAllOf1 ¶ added in v0.2.6

func NewNullableCreateDeviceRequestOneOfAllOf1(val *CreateDeviceRequestOneOfAllOf1) *NullableCreateDeviceRequestOneOfAllOf1

func (NullableCreateDeviceRequestOneOfAllOf1) Get ¶ added in v0.2.6

func (NullableCreateDeviceRequestOneOfAllOf1) IsSet ¶ added in v0.2.6

func (NullableCreateDeviceRequestOneOfAllOf1) MarshalJSON ¶ added in v0.2.6

func (v NullableCreateDeviceRequestOneOfAllOf1) MarshalJSON() ([]byte, error)

func (*NullableCreateDeviceRequestOneOfAllOf1) Set ¶ added in v0.2.6

func (*NullableCreateDeviceRequestOneOfAllOf1) UnmarshalJSON ¶ added in v0.2.6

func (v *NullableCreateDeviceRequestOneOfAllOf1) UnmarshalJSON(src []byte) error

func (*NullableCreateDeviceRequestOneOfAllOf1) Unset ¶ added in v0.2.6

type NullableCreateDeviceRequestOneOfAllOf1IpAddressesInner ¶ added in v0.2.6

type NullableCreateDeviceRequestOneOfAllOf1IpAddressesInner struct {
	// contains filtered or unexported fields
}

func (NullableCreateDeviceRequestOneOfAllOf1IpAddressesInner) Get ¶ added in v0.2.6

func (NullableCreateDeviceRequestOneOfAllOf1IpAddressesInner) IsSet ¶ added in v0.2.6

func (NullableCreateDeviceRequestOneOfAllOf1IpAddressesInner) MarshalJSON ¶ added in v0.2.6

func (*NullableCreateDeviceRequestOneOfAllOf1IpAddressesInner) Set ¶ added in v0.2.6

func (*NullableCreateDeviceRequestOneOfAllOf1IpAddressesInner) UnmarshalJSON ¶ added in v0.2.6

func (*NullableCreateDeviceRequestOneOfAllOf1IpAddressesInner) Unset ¶ added in v0.2.6

type NullableCreateDeviceRequestOneOfAllOf1SshKeysInner ¶ added in v0.2.6

type NullableCreateDeviceRequestOneOfAllOf1SshKeysInner struct {
	// contains filtered or unexported fields
}

func (NullableCreateDeviceRequestOneOfAllOf1SshKeysInner) Get ¶ added in v0.2.6

func (NullableCreateDeviceRequestOneOfAllOf1SshKeysInner) IsSet ¶ added in v0.2.6

func (NullableCreateDeviceRequestOneOfAllOf1SshKeysInner) MarshalJSON ¶ added in v0.2.6

func (*NullableCreateDeviceRequestOneOfAllOf1SshKeysInner) Set ¶ added in v0.2.6

func (*NullableCreateDeviceRequestOneOfAllOf1SshKeysInner) UnmarshalJSON ¶ added in v0.2.6

func (*NullableCreateDeviceRequestOneOfAllOf1SshKeysInner) Unset ¶ added in v0.2.6

type NullableCreateEmail201Response ¶

type NullableCreateEmail201Response struct {
	// contains filtered or unexported fields
}

func (NullableCreateEmail201Response) Get ¶

func (NullableCreateEmail201Response) IsSet ¶

func (NullableCreateEmail201Response) MarshalJSON ¶

func (v NullableCreateEmail201Response) MarshalJSON() ([]byte, error)

func (*NullableCreateEmail201Response) Set ¶

func (*NullableCreateEmail201Response) UnmarshalJSON ¶

func (v *NullableCreateEmail201Response) UnmarshalJSON(src []byte) error

func (*NullableCreateEmail201Response) Unset ¶

func (v *NullableCreateEmail201Response) 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 NullableCreateEmailRequest ¶

type NullableCreateEmailRequest struct {
	// contains filtered or unexported fields
}

func NewNullableCreateEmailRequest ¶

func NewNullableCreateEmailRequest(val *CreateEmailRequest) *NullableCreateEmailRequest

func (NullableCreateEmailRequest) Get ¶

func (NullableCreateEmailRequest) IsSet ¶

func (v NullableCreateEmailRequest) IsSet() bool

func (NullableCreateEmailRequest) MarshalJSON ¶

func (v NullableCreateEmailRequest) MarshalJSON() ([]byte, error)

func (*NullableCreateEmailRequest) Set ¶

func (*NullableCreateEmailRequest) UnmarshalJSON ¶

func (v *NullableCreateEmailRequest) UnmarshalJSON(src []byte) error

func (*NullableCreateEmailRequest) Unset ¶

func (v *NullableCreateEmailRequest) Unset()

type NullableCreateIPAssignmentRequest ¶

type NullableCreateIPAssignmentRequest struct {
	// contains filtered or unexported fields
}

func (NullableCreateIPAssignmentRequest) Get ¶

func (NullableCreateIPAssignmentRequest) IsSet ¶

func (NullableCreateIPAssignmentRequest) MarshalJSON ¶

func (v NullableCreateIPAssignmentRequest) MarshalJSON() ([]byte, error)

func (*NullableCreateIPAssignmentRequest) Set ¶

func (*NullableCreateIPAssignmentRequest) UnmarshalJSON ¶

func (v *NullableCreateIPAssignmentRequest) UnmarshalJSON(src []byte) error

func (*NullableCreateIPAssignmentRequest) Unset ¶

type NullableCreateInterconnectionPortVirtualCircuit201Response ¶ added in v0.2.6

type NullableCreateInterconnectionPortVirtualCircuit201Response struct {
	// contains filtered or unexported fields
}

func (NullableCreateInterconnectionPortVirtualCircuit201Response) Get ¶ added in v0.2.6

func (NullableCreateInterconnectionPortVirtualCircuit201Response) IsSet ¶ added in v0.2.6

func (NullableCreateInterconnectionPortVirtualCircuit201Response) MarshalJSON ¶ added in v0.2.6

func (*NullableCreateInterconnectionPortVirtualCircuit201Response) Set ¶ added in v0.2.6

func (*NullableCreateInterconnectionPortVirtualCircuit201Response) UnmarshalJSON ¶ added in v0.2.6

func (*NullableCreateInterconnectionPortVirtualCircuit201Response) Unset ¶ added in v0.2.6

type NullableCreateInterconnectionPortVirtualCircuitRequest ¶ added in v0.2.6

type NullableCreateInterconnectionPortVirtualCircuitRequest struct {
	// contains filtered or unexported fields
}

func (NullableCreateInterconnectionPortVirtualCircuitRequest) Get ¶ added in v0.2.6

func (NullableCreateInterconnectionPortVirtualCircuitRequest) IsSet ¶ added in v0.2.6

func (NullableCreateInterconnectionPortVirtualCircuitRequest) MarshalJSON ¶ added in v0.2.6

func (*NullableCreateInterconnectionPortVirtualCircuitRequest) Set ¶ added in v0.2.6

func (*NullableCreateInterconnectionPortVirtualCircuitRequest) UnmarshalJSON ¶ added in v0.2.6

func (*NullableCreateInterconnectionPortVirtualCircuitRequest) Unset ¶ added in v0.2.6

type NullableCreateInterconnectionPortVirtualCircuitRequestOneOf ¶ added in v0.2.6

type NullableCreateInterconnectionPortVirtualCircuitRequestOneOf struct {
	// contains filtered or unexported fields
}

func (NullableCreateInterconnectionPortVirtualCircuitRequestOneOf) Get ¶ added in v0.2.6

func (NullableCreateInterconnectionPortVirtualCircuitRequestOneOf) IsSet ¶ added in v0.2.6

func (NullableCreateInterconnectionPortVirtualCircuitRequestOneOf) MarshalJSON ¶ added in v0.2.6

func (*NullableCreateInterconnectionPortVirtualCircuitRequestOneOf) Set ¶ added in v0.2.6

func (*NullableCreateInterconnectionPortVirtualCircuitRequestOneOf) UnmarshalJSON ¶ added in v0.2.6

func (*NullableCreateInterconnectionPortVirtualCircuitRequestOneOf) Unset ¶ added in v0.2.6

type NullableCreateInterconnectionPortVirtualCircuitRequestOneOf1 ¶ added in v0.2.6

type NullableCreateInterconnectionPortVirtualCircuitRequestOneOf1 struct {
	// contains filtered or unexported fields
}

func (NullableCreateInterconnectionPortVirtualCircuitRequestOneOf1) Get ¶ added in v0.2.6

func (NullableCreateInterconnectionPortVirtualCircuitRequestOneOf1) IsSet ¶ added in v0.2.6

func (NullableCreateInterconnectionPortVirtualCircuitRequestOneOf1) MarshalJSON ¶ added in v0.2.6

func (*NullableCreateInterconnectionPortVirtualCircuitRequestOneOf1) Set ¶ added in v0.2.6

func (*NullableCreateInterconnectionPortVirtualCircuitRequestOneOf1) UnmarshalJSON ¶ added in v0.2.6

func (*NullableCreateInterconnectionPortVirtualCircuitRequestOneOf1) Unset ¶ added in v0.2.6

type NullableCreateLicenseRequest ¶

type NullableCreateLicenseRequest struct {
	// contains filtered or unexported fields
}

func (NullableCreateLicenseRequest) Get ¶

func (NullableCreateLicenseRequest) IsSet ¶

func (NullableCreateLicenseRequest) MarshalJSON ¶

func (v NullableCreateLicenseRequest) MarshalJSON() ([]byte, error)

func (*NullableCreateLicenseRequest) Set ¶

func (*NullableCreateLicenseRequest) UnmarshalJSON ¶

func (v *NullableCreateLicenseRequest) UnmarshalJSON(src []byte) error

func (*NullableCreateLicenseRequest) Unset ¶

func (v *NullableCreateLicenseRequest) Unset()

type NullableCreateMetalGatewayRequest ¶ added in v0.2.6

type NullableCreateMetalGatewayRequest struct {
	// contains filtered or unexported fields
}

func NewNullableCreateMetalGatewayRequest ¶ added in v0.2.6

func NewNullableCreateMetalGatewayRequest(val *CreateMetalGatewayRequest) *NullableCreateMetalGatewayRequest

func (NullableCreateMetalGatewayRequest) Get ¶ added in v0.2.6

func (NullableCreateMetalGatewayRequest) IsSet ¶ added in v0.2.6

func (NullableCreateMetalGatewayRequest) MarshalJSON ¶ added in v0.2.6

func (v NullableCreateMetalGatewayRequest) MarshalJSON() ([]byte, error)

func (*NullableCreateMetalGatewayRequest) Set ¶ added in v0.2.6

func (*NullableCreateMetalGatewayRequest) UnmarshalJSON ¶ added in v0.2.6

func (v *NullableCreateMetalGatewayRequest) UnmarshalJSON(src []byte) error

func (*NullableCreateMetalGatewayRequest) Unset ¶ added in v0.2.6

type NullableCreateMetalGatewayRequestOneOf ¶ added in v0.2.6

type NullableCreateMetalGatewayRequestOneOf struct {
	// contains filtered or unexported fields
}

func NewNullableCreateMetalGatewayRequestOneOf ¶ added in v0.2.6

func NewNullableCreateMetalGatewayRequestOneOf(val *CreateMetalGatewayRequestOneOf) *NullableCreateMetalGatewayRequestOneOf

func (NullableCreateMetalGatewayRequestOneOf) Get ¶ added in v0.2.6

func (NullableCreateMetalGatewayRequestOneOf) IsSet ¶ added in v0.2.6

func (NullableCreateMetalGatewayRequestOneOf) MarshalJSON ¶ added in v0.2.6

func (v NullableCreateMetalGatewayRequestOneOf) MarshalJSON() ([]byte, error)

func (*NullableCreateMetalGatewayRequestOneOf) Set ¶ added in v0.2.6

func (*NullableCreateMetalGatewayRequestOneOf) UnmarshalJSON ¶ added in v0.2.6

func (v *NullableCreateMetalGatewayRequestOneOf) UnmarshalJSON(src []byte) error

func (*NullableCreateMetalGatewayRequestOneOf) Unset ¶ added in v0.2.6

type NullableCreateMetalGatewayRequestOneOf1 ¶ added in v0.2.6

type NullableCreateMetalGatewayRequestOneOf1 struct {
	// contains filtered or unexported fields
}

func NewNullableCreateMetalGatewayRequestOneOf1 ¶ added in v0.2.6

func NewNullableCreateMetalGatewayRequestOneOf1(val *CreateMetalGatewayRequestOneOf1) *NullableCreateMetalGatewayRequestOneOf1

func (NullableCreateMetalGatewayRequestOneOf1) Get ¶ added in v0.2.6

func (NullableCreateMetalGatewayRequestOneOf1) IsSet ¶ added in v0.2.6

func (NullableCreateMetalGatewayRequestOneOf1) MarshalJSON ¶ added in v0.2.6

func (v NullableCreateMetalGatewayRequestOneOf1) MarshalJSON() ([]byte, error)

func (*NullableCreateMetalGatewayRequestOneOf1) Set ¶ added in v0.2.6

func (*NullableCreateMetalGatewayRequestOneOf1) UnmarshalJSON ¶ added in v0.2.6

func (v *NullableCreateMetalGatewayRequestOneOf1) UnmarshalJSON(src []byte) error

func (*NullableCreateMetalGatewayRequestOneOf1) Unset ¶ added in v0.2.6

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 NullableCreateOrganizationInvitationRequest ¶

type NullableCreateOrganizationInvitationRequest struct {
	// contains filtered or unexported fields
}

func (NullableCreateOrganizationInvitationRequest) Get ¶

func (NullableCreateOrganizationInvitationRequest) IsSet ¶

func (NullableCreateOrganizationInvitationRequest) MarshalJSON ¶

func (*NullableCreateOrganizationInvitationRequest) Set ¶

func (*NullableCreateOrganizationInvitationRequest) UnmarshalJSON ¶

func (v *NullableCreateOrganizationInvitationRequest) UnmarshalJSON(src []byte) error

func (*NullableCreateOrganizationInvitationRequest) Unset ¶

type NullableCreateOrganizationProjectRequest ¶

type NullableCreateOrganizationProjectRequest struct {
	// contains filtered or unexported fields
}

func (NullableCreateOrganizationProjectRequest) Get ¶

func (NullableCreateOrganizationProjectRequest) IsSet ¶

func (NullableCreateOrganizationProjectRequest) MarshalJSON ¶

func (*NullableCreateOrganizationProjectRequest) Set ¶

func (*NullableCreateOrganizationProjectRequest) UnmarshalJSON ¶

func (v *NullableCreateOrganizationProjectRequest) UnmarshalJSON(src []byte) error

func (*NullableCreateOrganizationProjectRequest) Unset ¶

type NullableCreateOrganizationRequest ¶

type NullableCreateOrganizationRequest struct {
	// contains filtered or unexported fields
}

func (NullableCreateOrganizationRequest) Get ¶

func (NullableCreateOrganizationRequest) IsSet ¶

func (NullableCreateOrganizationRequest) MarshalJSON ¶

func (v NullableCreateOrganizationRequest) MarshalJSON() ([]byte, error)

func (*NullableCreateOrganizationRequest) Set ¶

func (*NullableCreateOrganizationRequest) UnmarshalJSON ¶

func (v *NullableCreateOrganizationRequest) UnmarshalJSON(src []byte) error

func (*NullableCreateOrganizationRequest) Unset ¶

type NullableCreatePaymentMethodRequest ¶

type NullableCreatePaymentMethodRequest struct {
	// contains filtered or unexported fields
}

func (NullableCreatePaymentMethodRequest) Get ¶

func (NullableCreatePaymentMethodRequest) IsSet ¶

func (NullableCreatePaymentMethodRequest) MarshalJSON ¶

func (v NullableCreatePaymentMethodRequest) MarshalJSON() ([]byte, error)

func (*NullableCreatePaymentMethodRequest) Set ¶

func (*NullableCreatePaymentMethodRequest) UnmarshalJSON ¶

func (v *NullableCreatePaymentMethodRequest) UnmarshalJSON(src []byte) error

func (*NullableCreatePaymentMethodRequest) Unset ¶

type NullableCreatePortVlanAssignmentBatchRequest ¶

type NullableCreatePortVlanAssignmentBatchRequest struct {
	// contains filtered or unexported fields
}

func (NullableCreatePortVlanAssignmentBatchRequest) Get ¶

func (NullableCreatePortVlanAssignmentBatchRequest) IsSet ¶

func (NullableCreatePortVlanAssignmentBatchRequest) MarshalJSON ¶

func (*NullableCreatePortVlanAssignmentBatchRequest) Set ¶

func (*NullableCreatePortVlanAssignmentBatchRequest) UnmarshalJSON ¶

func (*NullableCreatePortVlanAssignmentBatchRequest) Unset ¶

type NullableCreatePortVlanAssignmentBatchRequestVlanAssignmentsInner ¶

type NullableCreatePortVlanAssignmentBatchRequestVlanAssignmentsInner struct {
	// contains filtered or unexported fields
}

func (NullableCreatePortVlanAssignmentBatchRequestVlanAssignmentsInner) Get ¶

func (NullableCreatePortVlanAssignmentBatchRequestVlanAssignmentsInner) IsSet ¶

func (NullableCreatePortVlanAssignmentBatchRequestVlanAssignmentsInner) MarshalJSON ¶

func (*NullableCreatePortVlanAssignmentBatchRequestVlanAssignmentsInner) Set ¶

func (*NullableCreatePortVlanAssignmentBatchRequestVlanAssignmentsInner) UnmarshalJSON ¶

func (*NullableCreatePortVlanAssignmentBatchRequestVlanAssignmentsInner) Unset ¶

type NullableCreateProjectAPIKeyRequest ¶

type NullableCreateProjectAPIKeyRequest struct {
	// contains filtered or unexported fields
}

func (NullableCreateProjectAPIKeyRequest) Get ¶

func (NullableCreateProjectAPIKeyRequest) IsSet ¶

func (NullableCreateProjectAPIKeyRequest) MarshalJSON ¶

func (v NullableCreateProjectAPIKeyRequest) MarshalJSON() ([]byte, error)

func (*NullableCreateProjectAPIKeyRequest) Set ¶

func (*NullableCreateProjectAPIKeyRequest) UnmarshalJSON ¶

func (v *NullableCreateProjectAPIKeyRequest) UnmarshalJSON(src []byte) error

func (*NullableCreateProjectAPIKeyRequest) Unset ¶

type NullableCreateProjectRequest ¶

type NullableCreateProjectRequest struct {
	// contains filtered or unexported fields
}

func (NullableCreateProjectRequest) Get ¶

func (NullableCreateProjectRequest) IsSet ¶

func (NullableCreateProjectRequest) MarshalJSON ¶

func (v NullableCreateProjectRequest) MarshalJSON() ([]byte, error)

func (*NullableCreateProjectRequest) Set ¶

func (*NullableCreateProjectRequest) UnmarshalJSON ¶

func (v *NullableCreateProjectRequest) UnmarshalJSON(src []byte) error

func (*NullableCreateProjectRequest) Unset ¶

func (v *NullableCreateProjectRequest) Unset()

type NullableCreateProjectSSHKeyRequest ¶

type NullableCreateProjectSSHKeyRequest struct {
	// contains filtered or unexported fields
}

func (NullableCreateProjectSSHKeyRequest) Get ¶

func (NullableCreateProjectSSHKeyRequest) IsSet ¶

func (NullableCreateProjectSSHKeyRequest) MarshalJSON ¶

func (v NullableCreateProjectSSHKeyRequest) MarshalJSON() ([]byte, error)

func (*NullableCreateProjectSSHKeyRequest) Set ¶

func (*NullableCreateProjectSSHKeyRequest) UnmarshalJSON ¶

func (v *NullableCreateProjectSSHKeyRequest) UnmarshalJSON(src []byte) error

func (*NullableCreateProjectSSHKeyRequest) 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 NullableCreateSelfServiceReservationRequestItemInner ¶

type NullableCreateSelfServiceReservationRequestItemInner struct {
	// contains filtered or unexported fields
}

func (NullableCreateSelfServiceReservationRequestItemInner) Get ¶

func (NullableCreateSelfServiceReservationRequestItemInner) IsSet ¶

func (NullableCreateSelfServiceReservationRequestItemInner) MarshalJSON ¶

func (*NullableCreateSelfServiceReservationRequestItemInner) Set ¶

func (*NullableCreateSelfServiceReservationRequestItemInner) UnmarshalJSON ¶

func (*NullableCreateSelfServiceReservationRequestItemInner) Unset ¶

type NullableCreateSpotMarketRequestRequest ¶

type NullableCreateSpotMarketRequestRequest struct {
	// contains filtered or unexported fields
}

func (NullableCreateSpotMarketRequestRequest) Get ¶

func (NullableCreateSpotMarketRequestRequest) IsSet ¶

func (NullableCreateSpotMarketRequestRequest) MarshalJSON ¶

func (v NullableCreateSpotMarketRequestRequest) MarshalJSON() ([]byte, error)

func (*NullableCreateSpotMarketRequestRequest) Set ¶

func (*NullableCreateSpotMarketRequestRequest) UnmarshalJSON ¶

func (v *NullableCreateSpotMarketRequestRequest) UnmarshalJSON(src []byte) error

func (*NullableCreateSpotMarketRequestRequest) Unset ¶

type NullableCreateSpotMarketRequestRequestInstanceAttributes ¶

type NullableCreateSpotMarketRequestRequestInstanceAttributes struct {
	// contains filtered or unexported fields
}

func (NullableCreateSpotMarketRequestRequestInstanceAttributes) Get ¶

func (NullableCreateSpotMarketRequestRequestInstanceAttributes) IsSet ¶

func (NullableCreateSpotMarketRequestRequestInstanceAttributes) MarshalJSON ¶

func (*NullableCreateSpotMarketRequestRequestInstanceAttributes) Set ¶

func (*NullableCreateSpotMarketRequestRequestInstanceAttributes) UnmarshalJSON ¶

func (*NullableCreateSpotMarketRequestRequestInstanceAttributes) Unset ¶

type NullableCreateTransferRequestRequest ¶

type NullableCreateTransferRequestRequest struct {
	// contains filtered or unexported fields
}

func (NullableCreateTransferRequestRequest) Get ¶

func (NullableCreateTransferRequestRequest) IsSet ¶

func (NullableCreateTransferRequestRequest) MarshalJSON ¶

func (v NullableCreateTransferRequestRequest) MarshalJSON() ([]byte, error)

func (*NullableCreateTransferRequestRequest) Set ¶

func (*NullableCreateTransferRequestRequest) UnmarshalJSON ¶

func (v *NullableCreateTransferRequestRequest) UnmarshalJSON(src []byte) error

func (*NullableCreateTransferRequestRequest) Unset ¶

type NullableCreateUserRequest ¶

type NullableCreateUserRequest struct {
	// contains filtered or unexported fields
}

func NewNullableCreateUserRequest ¶

func NewNullableCreateUserRequest(val *CreateUserRequest) *NullableCreateUserRequest

func (NullableCreateUserRequest) Get ¶

func (NullableCreateUserRequest) IsSet ¶

func (v NullableCreateUserRequest) IsSet() bool

func (NullableCreateUserRequest) MarshalJSON ¶

func (v NullableCreateUserRequest) MarshalJSON() ([]byte, error)

func (*NullableCreateUserRequest) Set ¶

func (*NullableCreateUserRequest) UnmarshalJSON ¶

func (v *NullableCreateUserRequest) UnmarshalJSON(src []byte) error

func (*NullableCreateUserRequest) Unset ¶

func (v *NullableCreateUserRequest) Unset()

type NullableCreateUserRequestEmailsInner ¶

type NullableCreateUserRequestEmailsInner struct {
	// contains filtered or unexported fields
}

func (NullableCreateUserRequestEmailsInner) Get ¶

func (NullableCreateUserRequestEmailsInner) IsSet ¶

func (NullableCreateUserRequestEmailsInner) MarshalJSON ¶

func (v NullableCreateUserRequestEmailsInner) MarshalJSON() ([]byte, error)

func (*NullableCreateUserRequestEmailsInner) Set ¶

func (*NullableCreateUserRequestEmailsInner) UnmarshalJSON ¶

func (v *NullableCreateUserRequestEmailsInner) UnmarshalJSON(src []byte) error

func (*NullableCreateUserRequestEmailsInner) Unset ¶

type NullableCreateVirtualNetworkRequest ¶

type NullableCreateVirtualNetworkRequest struct {
	// contains filtered or unexported fields
}

func (NullableCreateVirtualNetworkRequest) Get ¶

func (NullableCreateVirtualNetworkRequest) IsSet ¶

func (NullableCreateVirtualNetworkRequest) MarshalJSON ¶

func (v NullableCreateVirtualNetworkRequest) MarshalJSON() ([]byte, error)

func (*NullableCreateVirtualNetworkRequest) Set ¶

func (*NullableCreateVirtualNetworkRequest) UnmarshalJSON ¶

func (v *NullableCreateVirtualNetworkRequest) UnmarshalJSON(src []byte) error

func (*NullableCreateVirtualNetworkRequest) Unset ¶

type NullableCreateVrfRequest ¶

type NullableCreateVrfRequest struct {
	// contains filtered or unexported fields
}

func NewNullableCreateVrfRequest ¶

func NewNullableCreateVrfRequest(val *CreateVrfRequest) *NullableCreateVrfRequest

func (NullableCreateVrfRequest) Get ¶

func (NullableCreateVrfRequest) IsSet ¶

func (v NullableCreateVrfRequest) IsSet() bool

func (NullableCreateVrfRequest) MarshalJSON ¶

func (v NullableCreateVrfRequest) MarshalJSON() ([]byte, error)

func (*NullableCreateVrfRequest) Set ¶

func (*NullableCreateVrfRequest) UnmarshalJSON ¶

func (v *NullableCreateVrfRequest) UnmarshalJSON(src []byte) error

func (*NullableCreateVrfRequest) Unset ¶

func (v *NullableCreateVrfRequest) Unset()

type NullableDeleteAPIKey401Response ¶

type NullableDeleteAPIKey401Response struct {
	// contains filtered or unexported fields
}

func (NullableDeleteAPIKey401Response) Get ¶

func (NullableDeleteAPIKey401Response) IsSet ¶

func (NullableDeleteAPIKey401Response) MarshalJSON ¶

func (v NullableDeleteAPIKey401Response) MarshalJSON() ([]byte, error)

func (*NullableDeleteAPIKey401Response) Set ¶

func (*NullableDeleteAPIKey401Response) UnmarshalJSON ¶

func (v *NullableDeleteAPIKey401Response) UnmarshalJSON(src []byte) error

func (*NullableDeleteAPIKey401Response) Unset ¶

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 NullableDeviceCreateInFacilityInput ¶ added in v0.2.6

type NullableDeviceCreateInFacilityInput struct {
	// contains filtered or unexported fields
}

func NewNullableDeviceCreateInFacilityInput ¶ added in v0.2.6

func NewNullableDeviceCreateInFacilityInput(val *DeviceCreateInFacilityInput) *NullableDeviceCreateInFacilityInput

func (NullableDeviceCreateInFacilityInput) Get ¶ added in v0.2.6

func (NullableDeviceCreateInFacilityInput) IsSet ¶ added in v0.2.6

func (NullableDeviceCreateInFacilityInput) MarshalJSON ¶ added in v0.2.6

func (v NullableDeviceCreateInFacilityInput) MarshalJSON() ([]byte, error)

func (*NullableDeviceCreateInFacilityInput) Set ¶ added in v0.2.6

func (*NullableDeviceCreateInFacilityInput) UnmarshalJSON ¶ added in v0.2.6

func (v *NullableDeviceCreateInFacilityInput) UnmarshalJSON(src []byte) error

func (*NullableDeviceCreateInFacilityInput) Unset ¶ added in v0.2.6

type NullableDeviceCreateInFacilityInputAllOf ¶ added in v0.2.6

type NullableDeviceCreateInFacilityInputAllOf struct {
	// contains filtered or unexported fields
}

func NewNullableDeviceCreateInFacilityInputAllOf ¶ added in v0.2.6

func NewNullableDeviceCreateInFacilityInputAllOf(val *DeviceCreateInFacilityInputAllOf) *NullableDeviceCreateInFacilityInputAllOf

func (NullableDeviceCreateInFacilityInputAllOf) Get ¶ added in v0.2.6

func (NullableDeviceCreateInFacilityInputAllOf) IsSet ¶ added in v0.2.6

func (NullableDeviceCreateInFacilityInputAllOf) MarshalJSON ¶ added in v0.2.6

func (*NullableDeviceCreateInFacilityInputAllOf) Set ¶ added in v0.2.6

func (*NullableDeviceCreateInFacilityInputAllOf) UnmarshalJSON ¶ added in v0.2.6

func (v *NullableDeviceCreateInFacilityInputAllOf) UnmarshalJSON(src []byte) error

func (*NullableDeviceCreateInFacilityInputAllOf) Unset ¶ added in v0.2.6

type NullableDeviceCreateInMetroInput ¶ added in v0.2.6

type NullableDeviceCreateInMetroInput struct {
	// contains filtered or unexported fields
}

func NewNullableDeviceCreateInMetroInput ¶ added in v0.2.6

func NewNullableDeviceCreateInMetroInput(val *DeviceCreateInMetroInput) *NullableDeviceCreateInMetroInput

func (NullableDeviceCreateInMetroInput) Get ¶ added in v0.2.6

func (NullableDeviceCreateInMetroInput) IsSet ¶ added in v0.2.6

func (NullableDeviceCreateInMetroInput) MarshalJSON ¶ added in v0.2.6

func (v NullableDeviceCreateInMetroInput) MarshalJSON() ([]byte, error)

func (*NullableDeviceCreateInMetroInput) Set ¶ added in v0.2.6

func (*NullableDeviceCreateInMetroInput) UnmarshalJSON ¶ added in v0.2.6

func (v *NullableDeviceCreateInMetroInput) UnmarshalJSON(src []byte) error

func (*NullableDeviceCreateInMetroInput) Unset ¶ added in v0.2.6

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 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 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 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 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 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 NullableFindBatchById200Response ¶

type NullableFindBatchById200Response struct {
	// contains filtered or unexported fields
}

func (NullableFindBatchById200Response) Get ¶

func (NullableFindBatchById200Response) IsSet ¶

func (NullableFindBatchById200Response) MarshalJSON ¶

func (v NullableFindBatchById200Response) MarshalJSON() ([]byte, error)

func (*NullableFindBatchById200Response) Set ¶

func (*NullableFindBatchById200Response) UnmarshalJSON ¶

func (v *NullableFindBatchById200Response) UnmarshalJSON(src []byte) error

func (*NullableFindBatchById200Response) Unset ¶

type NullableFindBatchById200ResponseDevicesInner ¶

type NullableFindBatchById200ResponseDevicesInner struct {
	// contains filtered or unexported fields
}

func (NullableFindBatchById200ResponseDevicesInner) Get ¶

func (NullableFindBatchById200ResponseDevicesInner) IsSet ¶

func (NullableFindBatchById200ResponseDevicesInner) MarshalJSON ¶

func (*NullableFindBatchById200ResponseDevicesInner) Set ¶

func (*NullableFindBatchById200ResponseDevicesInner) UnmarshalJSON ¶

func (*NullableFindBatchById200ResponseDevicesInner) Unset ¶

type NullableFindBatchesByProject200Response ¶

type NullableFindBatchesByProject200Response struct {
	// contains filtered or unexported fields
}

func (NullableFindBatchesByProject200Response) Get ¶

func (NullableFindBatchesByProject200Response) IsSet ¶

func (NullableFindBatchesByProject200Response) MarshalJSON ¶

func (v NullableFindBatchesByProject200Response) MarshalJSON() ([]byte, error)

func (*NullableFindBatchesByProject200Response) Set ¶

func (*NullableFindBatchesByProject200Response) UnmarshalJSON ¶

func (v *NullableFindBatchesByProject200Response) UnmarshalJSON(src []byte) error

func (*NullableFindBatchesByProject200Response) Unset ¶

type NullableFindBgpConfigByProject200Response ¶

type NullableFindBgpConfigByProject200Response struct {
	// contains filtered or unexported fields
}

func (NullableFindBgpConfigByProject200Response) Get ¶

func (NullableFindBgpConfigByProject200Response) IsSet ¶

func (NullableFindBgpConfigByProject200Response) MarshalJSON ¶

func (*NullableFindBgpConfigByProject200Response) Set ¶

func (*NullableFindBgpConfigByProject200Response) UnmarshalJSON ¶

func (v *NullableFindBgpConfigByProject200Response) UnmarshalJSON(src []byte) error

func (*NullableFindBgpConfigByProject200Response) Unset ¶

type NullableFindBgpConfigByProject200ResponseRangesInner ¶

type NullableFindBgpConfigByProject200ResponseRangesInner struct {
	// contains filtered or unexported fields
}

func (NullableFindBgpConfigByProject200ResponseRangesInner) Get ¶

func (NullableFindBgpConfigByProject200ResponseRangesInner) IsSet ¶

func (NullableFindBgpConfigByProject200ResponseRangesInner) MarshalJSON ¶

func (*NullableFindBgpConfigByProject200ResponseRangesInner) Set ¶

func (*NullableFindBgpConfigByProject200ResponseRangesInner) UnmarshalJSON ¶

func (*NullableFindBgpConfigByProject200ResponseRangesInner) Unset ¶

type NullableFindBgpSessionById200Response ¶

type NullableFindBgpSessionById200Response struct {
	// contains filtered or unexported fields
}

func (NullableFindBgpSessionById200Response) Get ¶

func (NullableFindBgpSessionById200Response) IsSet ¶

func (NullableFindBgpSessionById200Response) MarshalJSON ¶

func (v NullableFindBgpSessionById200Response) MarshalJSON() ([]byte, error)

func (*NullableFindBgpSessionById200Response) Set ¶

func (*NullableFindBgpSessionById200Response) UnmarshalJSON ¶

func (v *NullableFindBgpSessionById200Response) UnmarshalJSON(src []byte) error

func (*NullableFindBgpSessionById200Response) Unset ¶

type NullableFindBgpSessions200Response ¶

type NullableFindBgpSessions200Response struct {
	// contains filtered or unexported fields
}

func (NullableFindBgpSessions200Response) Get ¶

func (NullableFindBgpSessions200Response) IsSet ¶

func (NullableFindBgpSessions200Response) MarshalJSON ¶

func (v NullableFindBgpSessions200Response) MarshalJSON() ([]byte, error)

func (*NullableFindBgpSessions200Response) Set ¶

func (*NullableFindBgpSessions200Response) UnmarshalJSON ¶

func (v *NullableFindBgpSessions200Response) UnmarshalJSON(src []byte) error

func (*NullableFindBgpSessions200Response) Unset ¶

type NullableFindCapacityForFacility200Response ¶

type NullableFindCapacityForFacility200Response struct {
	// contains filtered or unexported fields
}

func (NullableFindCapacityForFacility200Response) Get ¶

func (NullableFindCapacityForFacility200Response) IsSet ¶

func (NullableFindCapacityForFacility200Response) MarshalJSON ¶

func (*NullableFindCapacityForFacility200Response) Set ¶

func (*NullableFindCapacityForFacility200Response) UnmarshalJSON ¶

func (v *NullableFindCapacityForFacility200Response) UnmarshalJSON(src []byte) error

func (*NullableFindCapacityForFacility200Response) Unset ¶

type NullableFindCapacityForFacility200ResponseCapacity ¶

type NullableFindCapacityForFacility200ResponseCapacity struct {
	// contains filtered or unexported fields
}

func (NullableFindCapacityForFacility200ResponseCapacity) Get ¶

func (NullableFindCapacityForFacility200ResponseCapacity) IsSet ¶

func (NullableFindCapacityForFacility200ResponseCapacity) MarshalJSON ¶

func (*NullableFindCapacityForFacility200ResponseCapacity) Set ¶

func (*NullableFindCapacityForFacility200ResponseCapacity) UnmarshalJSON ¶

func (*NullableFindCapacityForFacility200ResponseCapacity) Unset ¶

type NullableFindCapacityForFacility200ResponseCapacityAms1 ¶

type NullableFindCapacityForFacility200ResponseCapacityAms1 struct {
	// contains filtered or unexported fields
}

func (NullableFindCapacityForFacility200ResponseCapacityAms1) Get ¶

func (NullableFindCapacityForFacility200ResponseCapacityAms1) IsSet ¶

func (NullableFindCapacityForFacility200ResponseCapacityAms1) MarshalJSON ¶

func (*NullableFindCapacityForFacility200ResponseCapacityAms1) Set ¶

func (*NullableFindCapacityForFacility200ResponseCapacityAms1) UnmarshalJSON ¶

func (*NullableFindCapacityForFacility200ResponseCapacityAms1) Unset ¶

type NullableFindCapacityForFacility200ResponseCapacityAms1Baremetal0 ¶

type NullableFindCapacityForFacility200ResponseCapacityAms1Baremetal0 struct {
	// contains filtered or unexported fields
}

func (NullableFindCapacityForFacility200ResponseCapacityAms1Baremetal0) Get ¶

func (NullableFindCapacityForFacility200ResponseCapacityAms1Baremetal0) IsSet ¶

func (NullableFindCapacityForFacility200ResponseCapacityAms1Baremetal0) MarshalJSON ¶

func (*NullableFindCapacityForFacility200ResponseCapacityAms1Baremetal0) Set ¶

func (*NullableFindCapacityForFacility200ResponseCapacityAms1Baremetal0) UnmarshalJSON ¶

func (*NullableFindCapacityForFacility200ResponseCapacityAms1Baremetal0) Unset ¶

type NullableFindCapacityForFacility200ResponseCapacityAtl1 ¶

type NullableFindCapacityForFacility200ResponseCapacityAtl1 struct {
	// contains filtered or unexported fields
}

func (NullableFindCapacityForFacility200ResponseCapacityAtl1) Get ¶

func (NullableFindCapacityForFacility200ResponseCapacityAtl1) IsSet ¶

func (NullableFindCapacityForFacility200ResponseCapacityAtl1) MarshalJSON ¶

func (*NullableFindCapacityForFacility200ResponseCapacityAtl1) Set ¶

func (*NullableFindCapacityForFacility200ResponseCapacityAtl1) UnmarshalJSON ¶

func (*NullableFindCapacityForFacility200ResponseCapacityAtl1) Unset ¶

type NullableFindCapacityForMetro200Response ¶

type NullableFindCapacityForMetro200Response struct {
	// contains filtered or unexported fields
}

func (NullableFindCapacityForMetro200Response) Get ¶

func (NullableFindCapacityForMetro200Response) IsSet ¶

func (NullableFindCapacityForMetro200Response) MarshalJSON ¶

func (v NullableFindCapacityForMetro200Response) MarshalJSON() ([]byte, error)

func (*NullableFindCapacityForMetro200Response) Set ¶

func (*NullableFindCapacityForMetro200Response) UnmarshalJSON ¶

func (v *NullableFindCapacityForMetro200Response) UnmarshalJSON(src []byte) error

func (*NullableFindCapacityForMetro200Response) Unset ¶

type NullableFindCapacityForMetro200ResponseCapacity ¶

type NullableFindCapacityForMetro200ResponseCapacity struct {
	// contains filtered or unexported fields
}

func (NullableFindCapacityForMetro200ResponseCapacity) Get ¶

func (NullableFindCapacityForMetro200ResponseCapacity) IsSet ¶

func (NullableFindCapacityForMetro200ResponseCapacity) MarshalJSON ¶

func (*NullableFindCapacityForMetro200ResponseCapacity) Set ¶

func (*NullableFindCapacityForMetro200ResponseCapacity) UnmarshalJSON ¶

func (*NullableFindCapacityForMetro200ResponseCapacity) Unset ¶

type NullableFindDeviceById200Response ¶

type NullableFindDeviceById200Response struct {
	// contains filtered or unexported fields
}

func (NullableFindDeviceById200Response) Get ¶

func (NullableFindDeviceById200Response) IsSet ¶

func (NullableFindDeviceById200Response) MarshalJSON ¶

func (v NullableFindDeviceById200Response) MarshalJSON() ([]byte, error)

func (*NullableFindDeviceById200Response) Set ¶

func (*NullableFindDeviceById200Response) UnmarshalJSON ¶

func (v *NullableFindDeviceById200Response) UnmarshalJSON(src []byte) error

func (*NullableFindDeviceById200Response) Unset ¶

type NullableFindDeviceById200ResponseActionsInner ¶ added in v0.2.6

type NullableFindDeviceById200ResponseActionsInner struct {
	// contains filtered or unexported fields
}

func (NullableFindDeviceById200ResponseActionsInner) Get ¶ added in v0.2.6

func (NullableFindDeviceById200ResponseActionsInner) IsSet ¶ added in v0.2.6

func (NullableFindDeviceById200ResponseActionsInner) MarshalJSON ¶ added in v0.2.6

func (*NullableFindDeviceById200ResponseActionsInner) Set ¶ added in v0.2.6

func (*NullableFindDeviceById200ResponseActionsInner) UnmarshalJSON ¶ added in v0.2.6

func (*NullableFindDeviceById200ResponseActionsInner) Unset ¶ added in v0.2.6

type NullableFindDeviceById200ResponseCreatedBy ¶

type NullableFindDeviceById200ResponseCreatedBy struct {
	// contains filtered or unexported fields
}

func (NullableFindDeviceById200ResponseCreatedBy) Get ¶

func (NullableFindDeviceById200ResponseCreatedBy) IsSet ¶

func (NullableFindDeviceById200ResponseCreatedBy) MarshalJSON ¶

func (*NullableFindDeviceById200ResponseCreatedBy) Set ¶

func (*NullableFindDeviceById200ResponseCreatedBy) UnmarshalJSON ¶

func (v *NullableFindDeviceById200ResponseCreatedBy) UnmarshalJSON(src []byte) error

func (*NullableFindDeviceById200ResponseCreatedBy) Unset ¶

type NullableFindDeviceById200ResponseCreatedByAllOf ¶

type NullableFindDeviceById200ResponseCreatedByAllOf struct {
	// contains filtered or unexported fields
}

func (NullableFindDeviceById200ResponseCreatedByAllOf) Get ¶

func (NullableFindDeviceById200ResponseCreatedByAllOf) IsSet ¶

func (NullableFindDeviceById200ResponseCreatedByAllOf) MarshalJSON ¶

func (*NullableFindDeviceById200ResponseCreatedByAllOf) Set ¶

func (*NullableFindDeviceById200ResponseCreatedByAllOf) UnmarshalJSON ¶

func (*NullableFindDeviceById200ResponseCreatedByAllOf) Unset ¶

type NullableFindDeviceById200ResponseFacility ¶

type NullableFindDeviceById200ResponseFacility struct {
	// contains filtered or unexported fields
}

func (NullableFindDeviceById200ResponseFacility) Get ¶

func (NullableFindDeviceById200ResponseFacility) IsSet ¶

func (NullableFindDeviceById200ResponseFacility) MarshalJSON ¶

func (*NullableFindDeviceById200ResponseFacility) Set ¶

func (*NullableFindDeviceById200ResponseFacility) UnmarshalJSON ¶

func (v *NullableFindDeviceById200ResponseFacility) UnmarshalJSON(src []byte) error

func (*NullableFindDeviceById200ResponseFacility) Unset ¶

type NullableFindDeviceById200ResponseFacilityAddress ¶

type NullableFindDeviceById200ResponseFacilityAddress struct {
	// contains filtered or unexported fields
}

func (NullableFindDeviceById200ResponseFacilityAddress) Get ¶

func (NullableFindDeviceById200ResponseFacilityAddress) IsSet ¶

func (NullableFindDeviceById200ResponseFacilityAddress) MarshalJSON ¶

func (*NullableFindDeviceById200ResponseFacilityAddress) Set ¶

func (*NullableFindDeviceById200ResponseFacilityAddress) UnmarshalJSON ¶

func (*NullableFindDeviceById200ResponseFacilityAddress) Unset ¶

type NullableFindDeviceById200ResponseFacilityAddressCoordinates ¶

type NullableFindDeviceById200ResponseFacilityAddressCoordinates struct {
	// contains filtered or unexported fields
}

func (NullableFindDeviceById200ResponseFacilityAddressCoordinates) Get ¶

func (NullableFindDeviceById200ResponseFacilityAddressCoordinates) IsSet ¶

func (NullableFindDeviceById200ResponseFacilityAddressCoordinates) MarshalJSON ¶

func (*NullableFindDeviceById200ResponseFacilityAddressCoordinates) Set ¶

func (*NullableFindDeviceById200ResponseFacilityAddressCoordinates) UnmarshalJSON ¶

func (*NullableFindDeviceById200ResponseFacilityAddressCoordinates) Unset ¶

type NullableFindDeviceById200ResponseFacilityMetro ¶

type NullableFindDeviceById200ResponseFacilityMetro struct {
	// contains filtered or unexported fields
}

func (NullableFindDeviceById200ResponseFacilityMetro) Get ¶

func (NullableFindDeviceById200ResponseFacilityMetro) IsSet ¶

func (NullableFindDeviceById200ResponseFacilityMetro) MarshalJSON ¶

func (*NullableFindDeviceById200ResponseFacilityMetro) Set ¶

func (*NullableFindDeviceById200ResponseFacilityMetro) UnmarshalJSON ¶

func (*NullableFindDeviceById200ResponseFacilityMetro) Unset ¶

type NullableFindDeviceById200ResponseIpAddressesInner ¶

type NullableFindDeviceById200ResponseIpAddressesInner struct {
	// contains filtered or unexported fields
}

func (NullableFindDeviceById200ResponseIpAddressesInner) Get ¶

func (NullableFindDeviceById200ResponseIpAddressesInner) IsSet ¶

func (NullableFindDeviceById200ResponseIpAddressesInner) MarshalJSON ¶

func (*NullableFindDeviceById200ResponseIpAddressesInner) Set ¶

func (*NullableFindDeviceById200ResponseIpAddressesInner) UnmarshalJSON ¶

func (*NullableFindDeviceById200ResponseIpAddressesInner) Unset ¶

type NullableFindDeviceById200ResponseIpAddressesInnerMetro ¶

type NullableFindDeviceById200ResponseIpAddressesInnerMetro struct {
	// contains filtered or unexported fields
}

func (NullableFindDeviceById200ResponseIpAddressesInnerMetro) Get ¶

func (NullableFindDeviceById200ResponseIpAddressesInnerMetro) IsSet ¶

func (NullableFindDeviceById200ResponseIpAddressesInnerMetro) MarshalJSON ¶

func (*NullableFindDeviceById200ResponseIpAddressesInnerMetro) Set ¶

func (*NullableFindDeviceById200ResponseIpAddressesInnerMetro) UnmarshalJSON ¶

func (*NullableFindDeviceById200ResponseIpAddressesInnerMetro) Unset ¶

type NullableFindDeviceById200ResponseIpAddressesInnerParentBlock ¶

type NullableFindDeviceById200ResponseIpAddressesInnerParentBlock struct {
	// contains filtered or unexported fields
}

func (NullableFindDeviceById200ResponseIpAddressesInnerParentBlock) Get ¶

func (NullableFindDeviceById200ResponseIpAddressesInnerParentBlock) IsSet ¶

func (NullableFindDeviceById200ResponseIpAddressesInnerParentBlock) MarshalJSON ¶

func (*NullableFindDeviceById200ResponseIpAddressesInnerParentBlock) Set ¶

func (*NullableFindDeviceById200ResponseIpAddressesInnerParentBlock) UnmarshalJSON ¶

func (*NullableFindDeviceById200ResponseIpAddressesInnerParentBlock) Unset ¶

type NullableFindDeviceById200ResponseNetworkPortsInner ¶ added in v0.2.6

type NullableFindDeviceById200ResponseNetworkPortsInner struct {
	// contains filtered or unexported fields
}

func (NullableFindDeviceById200ResponseNetworkPortsInner) Get ¶ added in v0.2.6

func (NullableFindDeviceById200ResponseNetworkPortsInner) IsSet ¶ added in v0.2.6

func (NullableFindDeviceById200ResponseNetworkPortsInner) MarshalJSON ¶ added in v0.2.6

func (*NullableFindDeviceById200ResponseNetworkPortsInner) Set ¶ added in v0.2.6

func (*NullableFindDeviceById200ResponseNetworkPortsInner) UnmarshalJSON ¶ added in v0.2.6

func (*NullableFindDeviceById200ResponseNetworkPortsInner) Unset ¶ added in v0.2.6

type NullableFindDeviceById200ResponseNetworkPortsInnerBond ¶ added in v0.2.6

type NullableFindDeviceById200ResponseNetworkPortsInnerBond struct {
	// contains filtered or unexported fields
}

func (NullableFindDeviceById200ResponseNetworkPortsInnerBond) Get ¶ added in v0.2.6

func (NullableFindDeviceById200ResponseNetworkPortsInnerBond) IsSet ¶ added in v0.2.6

func (NullableFindDeviceById200ResponseNetworkPortsInnerBond) MarshalJSON ¶ added in v0.2.6

func (*NullableFindDeviceById200ResponseNetworkPortsInnerBond) Set ¶ added in v0.2.6

func (*NullableFindDeviceById200ResponseNetworkPortsInnerBond) UnmarshalJSON ¶ added in v0.2.6

func (*NullableFindDeviceById200ResponseNetworkPortsInnerBond) Unset ¶ added in v0.2.6

type NullableFindDeviceById200ResponseNetworkPortsInnerData ¶ added in v0.2.6

type NullableFindDeviceById200ResponseNetworkPortsInnerData struct {
	// contains filtered or unexported fields
}

func (NullableFindDeviceById200ResponseNetworkPortsInnerData) Get ¶ added in v0.2.6

func (NullableFindDeviceById200ResponseNetworkPortsInnerData) IsSet ¶ added in v0.2.6

func (NullableFindDeviceById200ResponseNetworkPortsInnerData) MarshalJSON ¶ added in v0.2.6

func (*NullableFindDeviceById200ResponseNetworkPortsInnerData) Set ¶ added in v0.2.6

func (*NullableFindDeviceById200ResponseNetworkPortsInnerData) UnmarshalJSON ¶ added in v0.2.6

func (*NullableFindDeviceById200ResponseNetworkPortsInnerData) Unset ¶ added in v0.2.6

type NullableFindDeviceById200ResponseNetworkPortsInnerNativeVirtualNetwork ¶ added in v0.2.6

type NullableFindDeviceById200ResponseNetworkPortsInnerNativeVirtualNetwork struct {
	// contains filtered or unexported fields
}

func (NullableFindDeviceById200ResponseNetworkPortsInnerNativeVirtualNetwork) Get ¶ added in v0.2.6

func (NullableFindDeviceById200ResponseNetworkPortsInnerNativeVirtualNetwork) IsSet ¶ added in v0.2.6

func (NullableFindDeviceById200ResponseNetworkPortsInnerNativeVirtualNetwork) MarshalJSON ¶ added in v0.2.6

func (*NullableFindDeviceById200ResponseNetworkPortsInnerNativeVirtualNetwork) Set ¶ added in v0.2.6

func (*NullableFindDeviceById200ResponseNetworkPortsInnerNativeVirtualNetwork) UnmarshalJSON ¶ added in v0.2.6

func (*NullableFindDeviceById200ResponseNetworkPortsInnerNativeVirtualNetwork) Unset ¶ added in v0.2.6

type NullableFindDeviceById200ResponseNetworkPortsInnerNativeVirtualNetworkMetalGatewaysInner ¶ added in v0.2.6

type NullableFindDeviceById200ResponseNetworkPortsInnerNativeVirtualNetworkMetalGatewaysInner struct {
	// contains filtered or unexported fields
}

func (NullableFindDeviceById200ResponseNetworkPortsInnerNativeVirtualNetworkMetalGatewaysInner) Get ¶ added in v0.2.6

func (NullableFindDeviceById200ResponseNetworkPortsInnerNativeVirtualNetworkMetalGatewaysInner) IsSet ¶ added in v0.2.6

func (NullableFindDeviceById200ResponseNetworkPortsInnerNativeVirtualNetworkMetalGatewaysInner) MarshalJSON ¶ added in v0.2.6

func (*NullableFindDeviceById200ResponseNetworkPortsInnerNativeVirtualNetworkMetalGatewaysInner) Set ¶ added in v0.2.6

func (*NullableFindDeviceById200ResponseNetworkPortsInnerNativeVirtualNetworkMetalGatewaysInner) UnmarshalJSON ¶ added in v0.2.6

func (*NullableFindDeviceById200ResponseNetworkPortsInnerNativeVirtualNetworkMetalGatewaysInner) Unset ¶ added in v0.2.6

type NullableFindDeviceById200ResponseOperatingSystem ¶

type NullableFindDeviceById200ResponseOperatingSystem struct {
	// contains filtered or unexported fields
}

func (NullableFindDeviceById200ResponseOperatingSystem) Get ¶

func (NullableFindDeviceById200ResponseOperatingSystem) IsSet ¶

func (NullableFindDeviceById200ResponseOperatingSystem) MarshalJSON ¶

func (*NullableFindDeviceById200ResponseOperatingSystem) Set ¶

func (*NullableFindDeviceById200ResponseOperatingSystem) UnmarshalJSON ¶

func (*NullableFindDeviceById200ResponseOperatingSystem) Unset ¶

type NullableFindDeviceById200ResponsePlan ¶

type NullableFindDeviceById200ResponsePlan struct {
	// contains filtered or unexported fields
}

func (NullableFindDeviceById200ResponsePlan) Get ¶

func (NullableFindDeviceById200ResponsePlan) IsSet ¶

func (NullableFindDeviceById200ResponsePlan) MarshalJSON ¶

func (v NullableFindDeviceById200ResponsePlan) MarshalJSON() ([]byte, error)

func (*NullableFindDeviceById200ResponsePlan) Set ¶

func (*NullableFindDeviceById200ResponsePlan) UnmarshalJSON ¶

func (v *NullableFindDeviceById200ResponsePlan) UnmarshalJSON(src []byte) error

func (*NullableFindDeviceById200ResponsePlan) Unset ¶

type NullableFindDeviceById200ResponsePlanAvailableInInner ¶ added in v0.2.6

type NullableFindDeviceById200ResponsePlanAvailableInInner struct {
	// contains filtered or unexported fields
}

func (NullableFindDeviceById200ResponsePlanAvailableInInner) Get ¶ added in v0.2.6

func (NullableFindDeviceById200ResponsePlanAvailableInInner) IsSet ¶ added in v0.2.6

func (NullableFindDeviceById200ResponsePlanAvailableInInner) MarshalJSON ¶ added in v0.2.6

func (*NullableFindDeviceById200ResponsePlanAvailableInInner) Set ¶ added in v0.2.6

func (*NullableFindDeviceById200ResponsePlanAvailableInInner) UnmarshalJSON ¶ added in v0.2.6

func (*NullableFindDeviceById200ResponsePlanAvailableInInner) Unset ¶ added in v0.2.6

type NullableFindDeviceById200ResponsePlanAvailableInInnerPrice ¶ added in v0.2.6

type NullableFindDeviceById200ResponsePlanAvailableInInnerPrice struct {
	// contains filtered or unexported fields
}

func (NullableFindDeviceById200ResponsePlanAvailableInInnerPrice) Get ¶ added in v0.2.6

func (NullableFindDeviceById200ResponsePlanAvailableInInnerPrice) IsSet ¶ added in v0.2.6

func (NullableFindDeviceById200ResponsePlanAvailableInInnerPrice) MarshalJSON ¶ added in v0.2.6

func (*NullableFindDeviceById200ResponsePlanAvailableInInnerPrice) Set ¶ added in v0.2.6

func (*NullableFindDeviceById200ResponsePlanAvailableInInnerPrice) UnmarshalJSON ¶ added in v0.2.6

func (*NullableFindDeviceById200ResponsePlanAvailableInInnerPrice) Unset ¶ added in v0.2.6

type NullableFindDeviceById200ResponsePlanAvailableInMetrosInner ¶ added in v0.2.6

type NullableFindDeviceById200ResponsePlanAvailableInMetrosInner struct {
	// contains filtered or unexported fields
}

func (NullableFindDeviceById200ResponsePlanAvailableInMetrosInner) Get ¶ added in v0.2.6

func (NullableFindDeviceById200ResponsePlanAvailableInMetrosInner) IsSet ¶ added in v0.2.6

func (NullableFindDeviceById200ResponsePlanAvailableInMetrosInner) MarshalJSON ¶ added in v0.2.6

func (*NullableFindDeviceById200ResponsePlanAvailableInMetrosInner) Set ¶ added in v0.2.6

func (*NullableFindDeviceById200ResponsePlanAvailableInMetrosInner) UnmarshalJSON ¶ added in v0.2.6

func (*NullableFindDeviceById200ResponsePlanAvailableInMetrosInner) Unset ¶ added in v0.2.6

type NullableFindDeviceById200ResponsePlanSpecs ¶ added in v0.2.6

type NullableFindDeviceById200ResponsePlanSpecs struct {
	// contains filtered or unexported fields
}

func NewNullableFindDeviceById200ResponsePlanSpecs ¶ added in v0.2.6

func NewNullableFindDeviceById200ResponsePlanSpecs(val *FindDeviceById200ResponsePlanSpecs) *NullableFindDeviceById200ResponsePlanSpecs

func (NullableFindDeviceById200ResponsePlanSpecs) Get ¶ added in v0.2.6

func (NullableFindDeviceById200ResponsePlanSpecs) IsSet ¶ added in v0.2.6

func (NullableFindDeviceById200ResponsePlanSpecs) MarshalJSON ¶ added in v0.2.6

func (*NullableFindDeviceById200ResponsePlanSpecs) Set ¶ added in v0.2.6

func (*NullableFindDeviceById200ResponsePlanSpecs) UnmarshalJSON ¶ added in v0.2.6

func (v *NullableFindDeviceById200ResponsePlanSpecs) UnmarshalJSON(src []byte) error

func (*NullableFindDeviceById200ResponsePlanSpecs) Unset ¶ added in v0.2.6

type NullableFindDeviceById200ResponsePlanSpecsCpusInner ¶ added in v0.2.6

type NullableFindDeviceById200ResponsePlanSpecsCpusInner struct {
	// contains filtered or unexported fields
}

func (NullableFindDeviceById200ResponsePlanSpecsCpusInner) Get ¶ added in v0.2.6

func (NullableFindDeviceById200ResponsePlanSpecsCpusInner) IsSet ¶ added in v0.2.6

func (NullableFindDeviceById200ResponsePlanSpecsCpusInner) MarshalJSON ¶ added in v0.2.6

func (*NullableFindDeviceById200ResponsePlanSpecsCpusInner) Set ¶ added in v0.2.6

func (*NullableFindDeviceById200ResponsePlanSpecsCpusInner) UnmarshalJSON ¶ added in v0.2.6

func (*NullableFindDeviceById200ResponsePlanSpecsCpusInner) Unset ¶ added in v0.2.6

type NullableFindDeviceById200ResponsePlanSpecsDrivesInner ¶ added in v0.2.6

type NullableFindDeviceById200ResponsePlanSpecsDrivesInner struct {
	// contains filtered or unexported fields
}

func (NullableFindDeviceById200ResponsePlanSpecsDrivesInner) Get ¶ added in v0.2.6

func (NullableFindDeviceById200ResponsePlanSpecsDrivesInner) IsSet ¶ added in v0.2.6

func (NullableFindDeviceById200ResponsePlanSpecsDrivesInner) MarshalJSON ¶ added in v0.2.6

func (*NullableFindDeviceById200ResponsePlanSpecsDrivesInner) Set ¶ added in v0.2.6

func (*NullableFindDeviceById200ResponsePlanSpecsDrivesInner) UnmarshalJSON ¶ added in v0.2.6

func (*NullableFindDeviceById200ResponsePlanSpecsDrivesInner) Unset ¶ added in v0.2.6

type NullableFindDeviceById200ResponsePlanSpecsFeatures ¶ added in v0.2.6

type NullableFindDeviceById200ResponsePlanSpecsFeatures struct {
	// contains filtered or unexported fields
}

func (NullableFindDeviceById200ResponsePlanSpecsFeatures) Get ¶ added in v0.2.6

func (NullableFindDeviceById200ResponsePlanSpecsFeatures) IsSet ¶ added in v0.2.6

func (NullableFindDeviceById200ResponsePlanSpecsFeatures) MarshalJSON ¶ added in v0.2.6

func (*NullableFindDeviceById200ResponsePlanSpecsFeatures) Set ¶ added in v0.2.6

func (*NullableFindDeviceById200ResponsePlanSpecsFeatures) UnmarshalJSON ¶ added in v0.2.6

func (*NullableFindDeviceById200ResponsePlanSpecsFeatures) Unset ¶ added in v0.2.6

type NullableFindDeviceById200ResponsePlanSpecsNicsInner ¶ added in v0.2.6

type NullableFindDeviceById200ResponsePlanSpecsNicsInner struct {
	// contains filtered or unexported fields
}

func (NullableFindDeviceById200ResponsePlanSpecsNicsInner) Get ¶ added in v0.2.6

func (NullableFindDeviceById200ResponsePlanSpecsNicsInner) IsSet ¶ added in v0.2.6

func (NullableFindDeviceById200ResponsePlanSpecsNicsInner) MarshalJSON ¶ added in v0.2.6

func (*NullableFindDeviceById200ResponsePlanSpecsNicsInner) Set ¶ added in v0.2.6

func (*NullableFindDeviceById200ResponsePlanSpecsNicsInner) UnmarshalJSON ¶ added in v0.2.6

func (*NullableFindDeviceById200ResponsePlanSpecsNicsInner) Unset ¶ added in v0.2.6

type NullableFindDeviceById200ResponseProject ¶

type NullableFindDeviceById200ResponseProject struct {
	// contains filtered or unexported fields
}

func (NullableFindDeviceById200ResponseProject) Get ¶

func (NullableFindDeviceById200ResponseProject) IsSet ¶

func (NullableFindDeviceById200ResponseProject) MarshalJSON ¶

func (*NullableFindDeviceById200ResponseProject) Set ¶

func (*NullableFindDeviceById200ResponseProject) UnmarshalJSON ¶

func (v *NullableFindDeviceById200ResponseProject) UnmarshalJSON(src []byte) error

func (*NullableFindDeviceById200ResponseProject) Unset ¶

type NullableFindDeviceById200ResponseProjectLite ¶

type NullableFindDeviceById200ResponseProjectLite struct {
	// contains filtered or unexported fields
}

func (NullableFindDeviceById200ResponseProjectLite) Get ¶

func (NullableFindDeviceById200ResponseProjectLite) IsSet ¶

func (NullableFindDeviceById200ResponseProjectLite) MarshalJSON ¶

func (*NullableFindDeviceById200ResponseProjectLite) Set ¶

func (*NullableFindDeviceById200ResponseProjectLite) UnmarshalJSON ¶

func (*NullableFindDeviceById200ResponseProjectLite) Unset ¶

type NullableFindDeviceEvents200Response ¶

type NullableFindDeviceEvents200Response struct {
	// contains filtered or unexported fields
}

func (NullableFindDeviceEvents200Response) Get ¶

func (NullableFindDeviceEvents200Response) IsSet ¶

func (NullableFindDeviceEvents200Response) MarshalJSON ¶

func (v NullableFindDeviceEvents200Response) MarshalJSON() ([]byte, error)

func (*NullableFindDeviceEvents200Response) Set ¶

func (*NullableFindDeviceEvents200Response) UnmarshalJSON ¶

func (v *NullableFindDeviceEvents200Response) UnmarshalJSON(src []byte) error

func (*NullableFindDeviceEvents200Response) Unset ¶

type NullableFindDeviceEvents200ResponseMeta ¶

type NullableFindDeviceEvents200ResponseMeta struct {
	// contains filtered or unexported fields
}

func (NullableFindDeviceEvents200ResponseMeta) Get ¶

func (NullableFindDeviceEvents200ResponseMeta) IsSet ¶

func (NullableFindDeviceEvents200ResponseMeta) MarshalJSON ¶

func (v NullableFindDeviceEvents200ResponseMeta) MarshalJSON() ([]byte, error)

func (*NullableFindDeviceEvents200ResponseMeta) Set ¶

func (*NullableFindDeviceEvents200ResponseMeta) UnmarshalJSON ¶

func (v *NullableFindDeviceEvents200ResponseMeta) UnmarshalJSON(src []byte) error

func (*NullableFindDeviceEvents200ResponseMeta) Unset ¶

type NullableFindDeviceMetadataByID200Response ¶ added in v0.2.6

type NullableFindDeviceMetadataByID200Response struct {
	// contains filtered or unexported fields
}

func NewNullableFindDeviceMetadataByID200Response ¶ added in v0.2.6

func NewNullableFindDeviceMetadataByID200Response(val *FindDeviceMetadataByID200Response) *NullableFindDeviceMetadataByID200Response

func (NullableFindDeviceMetadataByID200Response) Get ¶ added in v0.2.6

func (NullableFindDeviceMetadataByID200Response) IsSet ¶ added in v0.2.6

func (NullableFindDeviceMetadataByID200Response) MarshalJSON ¶ added in v0.2.6

func (*NullableFindDeviceMetadataByID200Response) Set ¶ added in v0.2.6

func (*NullableFindDeviceMetadataByID200Response) UnmarshalJSON ¶ added in v0.2.6

func (v *NullableFindDeviceMetadataByID200Response) UnmarshalJSON(src []byte) error

func (*NullableFindDeviceMetadataByID200Response) Unset ¶ added in v0.2.6

type NullableFindDeviceMetadataByID200ResponseNetwork ¶ added in v0.2.6

type NullableFindDeviceMetadataByID200ResponseNetwork struct {
	// contains filtered or unexported fields
}

func (NullableFindDeviceMetadataByID200ResponseNetwork) Get ¶ added in v0.2.6

func (NullableFindDeviceMetadataByID200ResponseNetwork) IsSet ¶ added in v0.2.6

func (NullableFindDeviceMetadataByID200ResponseNetwork) MarshalJSON ¶ added in v0.2.6

func (*NullableFindDeviceMetadataByID200ResponseNetwork) Set ¶ added in v0.2.6

func (*NullableFindDeviceMetadataByID200ResponseNetwork) UnmarshalJSON ¶ added in v0.2.6

func (*NullableFindDeviceMetadataByID200ResponseNetwork) Unset ¶ added in v0.2.6

type NullableFindDeviceMetadataByID200ResponseNetworkNetwork ¶ added in v0.2.6

type NullableFindDeviceMetadataByID200ResponseNetworkNetwork struct {
	// contains filtered or unexported fields
}

func (NullableFindDeviceMetadataByID200ResponseNetworkNetwork) Get ¶ added in v0.2.6

func (NullableFindDeviceMetadataByID200ResponseNetworkNetwork) IsSet ¶ added in v0.2.6

func (NullableFindDeviceMetadataByID200ResponseNetworkNetwork) MarshalJSON ¶ added in v0.2.6

func (*NullableFindDeviceMetadataByID200ResponseNetworkNetwork) Set ¶ added in v0.2.6

func (*NullableFindDeviceMetadataByID200ResponseNetworkNetwork) UnmarshalJSON ¶ added in v0.2.6

func (*NullableFindDeviceMetadataByID200ResponseNetworkNetwork) Unset ¶ added in v0.2.6

type NullableFindDeviceMetadataByID200ResponseNetworkNetworkBonding ¶ added in v0.2.6

type NullableFindDeviceMetadataByID200ResponseNetworkNetworkBonding struct {
	// contains filtered or unexported fields
}

func (NullableFindDeviceMetadataByID200ResponseNetworkNetworkBonding) Get ¶ added in v0.2.6

func (NullableFindDeviceMetadataByID200ResponseNetworkNetworkBonding) IsSet ¶ added in v0.2.6

func (NullableFindDeviceMetadataByID200ResponseNetworkNetworkBonding) MarshalJSON ¶ added in v0.2.6

func (*NullableFindDeviceMetadataByID200ResponseNetworkNetworkBonding) Set ¶ added in v0.2.6

func (*NullableFindDeviceMetadataByID200ResponseNetworkNetworkBonding) UnmarshalJSON ¶ added in v0.2.6

func (*NullableFindDeviceMetadataByID200ResponseNetworkNetworkBonding) Unset ¶ added in v0.2.6

type NullableFindDeviceSSHKeys200Response ¶

type NullableFindDeviceSSHKeys200Response struct {
	// contains filtered or unexported fields
}

func (NullableFindDeviceSSHKeys200Response) Get ¶

func (NullableFindDeviceSSHKeys200Response) IsSet ¶

func (NullableFindDeviceSSHKeys200Response) MarshalJSON ¶

func (v NullableFindDeviceSSHKeys200Response) MarshalJSON() ([]byte, error)

func (*NullableFindDeviceSSHKeys200Response) Set ¶

func (*NullableFindDeviceSSHKeys200Response) UnmarshalJSON ¶

func (v *NullableFindDeviceSSHKeys200Response) UnmarshalJSON(src []byte) error

func (*NullableFindDeviceSSHKeys200Response) Unset ¶

type NullableFindDeviceSSHKeys200ResponseSshKeysInner ¶

type NullableFindDeviceSSHKeys200ResponseSshKeysInner struct {
	// contains filtered or unexported fields
}

func (NullableFindDeviceSSHKeys200ResponseSshKeysInner) Get ¶

func (NullableFindDeviceSSHKeys200ResponseSshKeysInner) IsSet ¶

func (NullableFindDeviceSSHKeys200ResponseSshKeysInner) MarshalJSON ¶

func (*NullableFindDeviceSSHKeys200ResponseSshKeysInner) Set ¶

func (*NullableFindDeviceSSHKeys200ResponseSshKeysInner) UnmarshalJSON ¶

func (*NullableFindDeviceSSHKeys200ResponseSshKeysInner) Unset ¶

type NullableFindDeviceUsages200Response ¶

type NullableFindDeviceUsages200Response struct {
	// contains filtered or unexported fields
}

func (NullableFindDeviceUsages200Response) Get ¶

func (NullableFindDeviceUsages200Response) IsSet ¶

func (NullableFindDeviceUsages200Response) MarshalJSON ¶

func (v NullableFindDeviceUsages200Response) MarshalJSON() ([]byte, error)

func (*NullableFindDeviceUsages200Response) Set ¶

func (*NullableFindDeviceUsages200Response) UnmarshalJSON ¶

func (v *NullableFindDeviceUsages200Response) UnmarshalJSON(src []byte) error

func (*NullableFindDeviceUsages200Response) Unset ¶

type NullableFindDeviceUsages200ResponseUsagesInner ¶

type NullableFindDeviceUsages200ResponseUsagesInner struct {
	// contains filtered or unexported fields
}

func (NullableFindDeviceUsages200ResponseUsagesInner) Get ¶

func (NullableFindDeviceUsages200ResponseUsagesInner) IsSet ¶

func (NullableFindDeviceUsages200ResponseUsagesInner) MarshalJSON ¶

func (*NullableFindDeviceUsages200ResponseUsagesInner) Set ¶

func (*NullableFindDeviceUsages200ResponseUsagesInner) UnmarshalJSON ¶

func (*NullableFindDeviceUsages200ResponseUsagesInner) Unset ¶

type NullableFindDeviceUserdataByID200Response ¶ added in v0.2.6

type NullableFindDeviceUserdataByID200Response struct {
	// contains filtered or unexported fields
}

func NewNullableFindDeviceUserdataByID200Response ¶ added in v0.2.6

func NewNullableFindDeviceUserdataByID200Response(val *FindDeviceUserdataByID200Response) *NullableFindDeviceUserdataByID200Response

func (NullableFindDeviceUserdataByID200Response) Get ¶ added in v0.2.6

func (NullableFindDeviceUserdataByID200Response) IsSet ¶ added in v0.2.6

func (NullableFindDeviceUserdataByID200Response) MarshalJSON ¶ added in v0.2.6

func (*NullableFindDeviceUserdataByID200Response) Set ¶ added in v0.2.6

func (*NullableFindDeviceUserdataByID200Response) UnmarshalJSON ¶ added in v0.2.6

func (v *NullableFindDeviceUserdataByID200Response) UnmarshalJSON(src []byte) error

func (*NullableFindDeviceUserdataByID200Response) Unset ¶ added in v0.2.6

type NullableFindFacilities200Response ¶

type NullableFindFacilities200Response struct {
	// contains filtered or unexported fields
}

func (NullableFindFacilities200Response) Get ¶

func (NullableFindFacilities200Response) IsSet ¶

func (NullableFindFacilities200Response) MarshalJSON ¶

func (v NullableFindFacilities200Response) MarshalJSON() ([]byte, error)

func (*NullableFindFacilities200Response) Set ¶

func (*NullableFindFacilities200Response) UnmarshalJSON ¶

func (v *NullableFindFacilities200Response) UnmarshalJSON(src []byte) error

func (*NullableFindFacilities200Response) Unset ¶

type NullableFindGlobalBgpRanges200Response ¶

type NullableFindGlobalBgpRanges200Response struct {
	// contains filtered or unexported fields
}

func (NullableFindGlobalBgpRanges200Response) Get ¶

func (NullableFindGlobalBgpRanges200Response) IsSet ¶

func (NullableFindGlobalBgpRanges200Response) MarshalJSON ¶

func (v NullableFindGlobalBgpRanges200Response) MarshalJSON() ([]byte, error)

func (*NullableFindGlobalBgpRanges200Response) Set ¶

func (*NullableFindGlobalBgpRanges200Response) UnmarshalJSON ¶

func (v *NullableFindGlobalBgpRanges200Response) UnmarshalJSON(src []byte) error

func (*NullableFindGlobalBgpRanges200Response) Unset ¶

type NullableFindIPAddressById200Response ¶ added in v0.2.6

type NullableFindIPAddressById200Response struct {
	// contains filtered or unexported fields
}

func NewNullableFindIPAddressById200Response ¶ added in v0.2.6

func NewNullableFindIPAddressById200Response(val *FindIPAddressById200Response) *NullableFindIPAddressById200Response

func (NullableFindIPAddressById200Response) Get ¶ added in v0.2.6

func (NullableFindIPAddressById200Response) IsSet ¶ added in v0.2.6

func (NullableFindIPAddressById200Response) MarshalJSON ¶ added in v0.2.6

func (v NullableFindIPAddressById200Response) MarshalJSON() ([]byte, error)

func (*NullableFindIPAddressById200Response) Set ¶ added in v0.2.6

func (*NullableFindIPAddressById200Response) UnmarshalJSON ¶ added in v0.2.6

func (v *NullableFindIPAddressById200Response) UnmarshalJSON(src []byte) error

func (*NullableFindIPAddressById200Response) Unset ¶ added in v0.2.6

type NullableFindIPAddressById200ResponseOneOf ¶ added in v0.2.6

type NullableFindIPAddressById200ResponseOneOf struct {
	// contains filtered or unexported fields
}

func NewNullableFindIPAddressById200ResponseOneOf ¶ added in v0.2.6

func NewNullableFindIPAddressById200ResponseOneOf(val *FindIPAddressById200ResponseOneOf) *NullableFindIPAddressById200ResponseOneOf

func (NullableFindIPAddressById200ResponseOneOf) Get ¶ added in v0.2.6

func (NullableFindIPAddressById200ResponseOneOf) IsSet ¶ added in v0.2.6

func (NullableFindIPAddressById200ResponseOneOf) MarshalJSON ¶ added in v0.2.6

func (*NullableFindIPAddressById200ResponseOneOf) Set ¶ added in v0.2.6

func (*NullableFindIPAddressById200ResponseOneOf) UnmarshalJSON ¶ added in v0.2.6

func (v *NullableFindIPAddressById200ResponseOneOf) UnmarshalJSON(src []byte) error

func (*NullableFindIPAddressById200ResponseOneOf) Unset ¶ added in v0.2.6

type NullableFindIPAddressById200ResponseOneOf1 ¶ added in v0.2.6

type NullableFindIPAddressById200ResponseOneOf1 struct {
	// contains filtered or unexported fields
}

func NewNullableFindIPAddressById200ResponseOneOf1 ¶ added in v0.2.6

func NewNullableFindIPAddressById200ResponseOneOf1(val *FindIPAddressById200ResponseOneOf1) *NullableFindIPAddressById200ResponseOneOf1

func (NullableFindIPAddressById200ResponseOneOf1) Get ¶ added in v0.2.6

func (NullableFindIPAddressById200ResponseOneOf1) IsSet ¶ added in v0.2.6

func (NullableFindIPAddressById200ResponseOneOf1) MarshalJSON ¶ added in v0.2.6

func (*NullableFindIPAddressById200ResponseOneOf1) Set ¶ added in v0.2.6

func (*NullableFindIPAddressById200ResponseOneOf1) UnmarshalJSON ¶ added in v0.2.6

func (v *NullableFindIPAddressById200ResponseOneOf1) UnmarshalJSON(src []byte) error

func (*NullableFindIPAddressById200ResponseOneOf1) Unset ¶ added in v0.2.6

type NullableFindIPAddressById200ResponseOneOfFacility ¶ added in v0.2.6

type NullableFindIPAddressById200ResponseOneOfFacility struct {
	// contains filtered or unexported fields
}

func (NullableFindIPAddressById200ResponseOneOfFacility) Get ¶ added in v0.2.6

func (NullableFindIPAddressById200ResponseOneOfFacility) IsSet ¶ added in v0.2.6

func (NullableFindIPAddressById200ResponseOneOfFacility) MarshalJSON ¶ added in v0.2.6

func (*NullableFindIPAddressById200ResponseOneOfFacility) Set ¶ added in v0.2.6

func (*NullableFindIPAddressById200ResponseOneOfFacility) UnmarshalJSON ¶ added in v0.2.6

func (*NullableFindIPAddressById200ResponseOneOfFacility) Unset ¶ added in v0.2.6

type NullableFindIPAddressById200ResponseOneOfMetro ¶ added in v0.2.6

type NullableFindIPAddressById200ResponseOneOfMetro struct {
	// contains filtered or unexported fields
}

func (NullableFindIPAddressById200ResponseOneOfMetro) Get ¶ added in v0.2.6

func (NullableFindIPAddressById200ResponseOneOfMetro) IsSet ¶ added in v0.2.6

func (NullableFindIPAddressById200ResponseOneOfMetro) MarshalJSON ¶ added in v0.2.6

func (*NullableFindIPAddressById200ResponseOneOfMetro) Set ¶ added in v0.2.6

func (*NullableFindIPAddressById200ResponseOneOfMetro) UnmarshalJSON ¶ added in v0.2.6

func (*NullableFindIPAddressById200ResponseOneOfMetro) Unset ¶ added in v0.2.6

type NullableFindIPAssignments200Response ¶

type NullableFindIPAssignments200Response struct {
	// contains filtered or unexported fields
}

func (NullableFindIPAssignments200Response) Get ¶

func (NullableFindIPAssignments200Response) IsSet ¶

func (NullableFindIPAssignments200Response) MarshalJSON ¶

func (v NullableFindIPAssignments200Response) MarshalJSON() ([]byte, error)

func (*NullableFindIPAssignments200Response) Set ¶

func (*NullableFindIPAssignments200Response) UnmarshalJSON ¶

func (v *NullableFindIPAssignments200Response) UnmarshalJSON(src []byte) error

func (*NullableFindIPAssignments200Response) Unset ¶

type NullableFindIPAvailabilities200Response ¶

type NullableFindIPAvailabilities200Response struct {
	// contains filtered or unexported fields
}

func (NullableFindIPAvailabilities200Response) Get ¶

func (NullableFindIPAvailabilities200Response) IsSet ¶

func (NullableFindIPAvailabilities200Response) MarshalJSON ¶

func (v NullableFindIPAvailabilities200Response) MarshalJSON() ([]byte, error)

func (*NullableFindIPAvailabilities200Response) Set ¶

func (*NullableFindIPAvailabilities200Response) UnmarshalJSON ¶

func (v *NullableFindIPAvailabilities200Response) UnmarshalJSON(src []byte) error

func (*NullableFindIPAvailabilities200Response) Unset ¶

type NullableFindIPReservations200Response ¶

type NullableFindIPReservations200Response struct {
	// contains filtered or unexported fields
}

func (NullableFindIPReservations200Response) Get ¶

func (NullableFindIPReservations200Response) IsSet ¶

func (NullableFindIPReservations200Response) MarshalJSON ¶

func (v NullableFindIPReservations200Response) MarshalJSON() ([]byte, error)

func (*NullableFindIPReservations200Response) Set ¶

func (*NullableFindIPReservations200Response) UnmarshalJSON ¶

func (v *NullableFindIPReservations200Response) UnmarshalJSON(src []byte) error

func (*NullableFindIPReservations200Response) Unset ¶

type NullableFindIPReservations200ResponseIpAddressesInner ¶ added in v0.2.6

type NullableFindIPReservations200ResponseIpAddressesInner struct {
	// contains filtered or unexported fields
}

func (NullableFindIPReservations200ResponseIpAddressesInner) Get ¶ added in v0.2.6

func (NullableFindIPReservations200ResponseIpAddressesInner) IsSet ¶ added in v0.2.6

func (NullableFindIPReservations200ResponseIpAddressesInner) MarshalJSON ¶ added in v0.2.6

func (*NullableFindIPReservations200ResponseIpAddressesInner) Set ¶ added in v0.2.6

func (*NullableFindIPReservations200ResponseIpAddressesInner) UnmarshalJSON ¶ added in v0.2.6

func (*NullableFindIPReservations200ResponseIpAddressesInner) Unset ¶ added in v0.2.6

type NullableFindInterconnectionEvents200Response ¶ added in v0.2.6

type NullableFindInterconnectionEvents200Response struct {
	// contains filtered or unexported fields
}

func (NullableFindInterconnectionEvents200Response) Get ¶ added in v0.2.6

func (NullableFindInterconnectionEvents200Response) IsSet ¶ added in v0.2.6

func (NullableFindInterconnectionEvents200Response) MarshalJSON ¶ added in v0.2.6

func (*NullableFindInterconnectionEvents200Response) Set ¶ added in v0.2.6

func (*NullableFindInterconnectionEvents200Response) UnmarshalJSON ¶ added in v0.2.6

func (*NullableFindInterconnectionEvents200Response) Unset ¶ added in v0.2.6

type NullableFindInvitationById200Response ¶

type NullableFindInvitationById200Response struct {
	// contains filtered or unexported fields
}

func (NullableFindInvitationById200Response) Get ¶

func (NullableFindInvitationById200Response) IsSet ¶

func (NullableFindInvitationById200Response) MarshalJSON ¶

func (v NullableFindInvitationById200Response) MarshalJSON() ([]byte, error)

func (*NullableFindInvitationById200Response) Set ¶

func (*NullableFindInvitationById200Response) UnmarshalJSON ¶

func (v *NullableFindInvitationById200Response) UnmarshalJSON(src []byte) error

func (*NullableFindInvitationById200Response) Unset ¶

type NullableFindInvitations200Response ¶

type NullableFindInvitations200Response struct {
	// contains filtered or unexported fields
}

func (NullableFindInvitations200Response) Get ¶

func (NullableFindInvitations200Response) IsSet ¶

func (NullableFindInvitations200Response) MarshalJSON ¶

func (v NullableFindInvitations200Response) MarshalJSON() ([]byte, error)

func (*NullableFindInvitations200Response) Set ¶

func (*NullableFindInvitations200Response) UnmarshalJSON ¶

func (v *NullableFindInvitations200Response) UnmarshalJSON(src []byte) error

func (*NullableFindInvitations200Response) Unset ¶

type NullableFindInvitations200ResponseInvitationsInner ¶

type NullableFindInvitations200ResponseInvitationsInner struct {
	// contains filtered or unexported fields
}

func (NullableFindInvitations200ResponseInvitationsInner) Get ¶

func (NullableFindInvitations200ResponseInvitationsInner) IsSet ¶

func (NullableFindInvitations200ResponseInvitationsInner) MarshalJSON ¶

func (*NullableFindInvitations200ResponseInvitationsInner) Set ¶

func (*NullableFindInvitations200ResponseInvitationsInner) UnmarshalJSON ¶

func (*NullableFindInvitations200ResponseInvitationsInner) Unset ¶

type NullableFindLicenseById200Response ¶

type NullableFindLicenseById200Response struct {
	// contains filtered or unexported fields
}

func (NullableFindLicenseById200Response) Get ¶

func (NullableFindLicenseById200Response) IsSet ¶

func (NullableFindLicenseById200Response) MarshalJSON ¶

func (v NullableFindLicenseById200Response) MarshalJSON() ([]byte, error)

func (*NullableFindLicenseById200Response) Set ¶

func (*NullableFindLicenseById200Response) UnmarshalJSON ¶

func (v *NullableFindLicenseById200Response) UnmarshalJSON(src []byte) error

func (*NullableFindLicenseById200Response) Unset ¶

type NullableFindMetalGatewayById200Response ¶ added in v0.2.6

type NullableFindMetalGatewayById200Response struct {
	// contains filtered or unexported fields
}

func NewNullableFindMetalGatewayById200Response ¶ added in v0.2.6

func NewNullableFindMetalGatewayById200Response(val *FindMetalGatewayById200Response) *NullableFindMetalGatewayById200Response

func (NullableFindMetalGatewayById200Response) Get ¶ added in v0.2.6

func (NullableFindMetalGatewayById200Response) IsSet ¶ added in v0.2.6

func (NullableFindMetalGatewayById200Response) MarshalJSON ¶ added in v0.2.6

func (v NullableFindMetalGatewayById200Response) MarshalJSON() ([]byte, error)

func (*NullableFindMetalGatewayById200Response) Set ¶ added in v0.2.6

func (*NullableFindMetalGatewayById200Response) UnmarshalJSON ¶ added in v0.2.6

func (v *NullableFindMetalGatewayById200Response) UnmarshalJSON(src []byte) error

func (*NullableFindMetalGatewayById200Response) Unset ¶ added in v0.2.6

type NullableFindMetalGatewayById200ResponseOneOf ¶ added in v0.2.6

type NullableFindMetalGatewayById200ResponseOneOf struct {
	// contains filtered or unexported fields
}

func (NullableFindMetalGatewayById200ResponseOneOf) Get ¶ added in v0.2.6

func (NullableFindMetalGatewayById200ResponseOneOf) IsSet ¶ added in v0.2.6

func (NullableFindMetalGatewayById200ResponseOneOf) MarshalJSON ¶ added in v0.2.6

func (*NullableFindMetalGatewayById200ResponseOneOf) Set ¶ added in v0.2.6

func (*NullableFindMetalGatewayById200ResponseOneOf) UnmarshalJSON ¶ added in v0.2.6

func (*NullableFindMetalGatewayById200ResponseOneOf) Unset ¶ added in v0.2.6

type NullableFindMetalGatewayById200ResponseOneOf1 ¶ added in v0.2.6

type NullableFindMetalGatewayById200ResponseOneOf1 struct {
	// contains filtered or unexported fields
}

func (NullableFindMetalGatewayById200ResponseOneOf1) Get ¶ added in v0.2.6

func (NullableFindMetalGatewayById200ResponseOneOf1) IsSet ¶ added in v0.2.6

func (NullableFindMetalGatewayById200ResponseOneOf1) MarshalJSON ¶ added in v0.2.6

func (*NullableFindMetalGatewayById200ResponseOneOf1) Set ¶ added in v0.2.6

func (*NullableFindMetalGatewayById200ResponseOneOf1) UnmarshalJSON ¶ added in v0.2.6

func (*NullableFindMetalGatewayById200ResponseOneOf1) Unset ¶ added in v0.2.6

type NullableFindMetalGatewaysByProject200Response ¶

type NullableFindMetalGatewaysByProject200Response struct {
	// contains filtered or unexported fields
}

func (NullableFindMetalGatewaysByProject200Response) Get ¶

func (NullableFindMetalGatewaysByProject200Response) IsSet ¶

func (NullableFindMetalGatewaysByProject200Response) MarshalJSON ¶

func (*NullableFindMetalGatewaysByProject200Response) Set ¶

func (*NullableFindMetalGatewaysByProject200Response) UnmarshalJSON ¶

func (*NullableFindMetalGatewaysByProject200Response) Unset ¶

type NullableFindMetalGatewaysByProject200ResponseMetalGatewaysInner ¶ added in v0.2.6

type NullableFindMetalGatewaysByProject200ResponseMetalGatewaysInner struct {
	// contains filtered or unexported fields
}

func (NullableFindMetalGatewaysByProject200ResponseMetalGatewaysInner) Get ¶ added in v0.2.6

func (NullableFindMetalGatewaysByProject200ResponseMetalGatewaysInner) IsSet ¶ added in v0.2.6

func (NullableFindMetalGatewaysByProject200ResponseMetalGatewaysInner) MarshalJSON ¶ added in v0.2.6

func (*NullableFindMetalGatewaysByProject200ResponseMetalGatewaysInner) Set ¶ added in v0.2.6

func (*NullableFindMetalGatewaysByProject200ResponseMetalGatewaysInner) UnmarshalJSON ¶ added in v0.2.6

func (*NullableFindMetalGatewaysByProject200ResponseMetalGatewaysInner) Unset ¶ added in v0.2.6

type NullableFindMetroSpotMarketPrices200Response ¶

type NullableFindMetroSpotMarketPrices200Response struct {
	// contains filtered or unexported fields
}

func (NullableFindMetroSpotMarketPrices200Response) Get ¶

func (NullableFindMetroSpotMarketPrices200Response) IsSet ¶

func (NullableFindMetroSpotMarketPrices200Response) MarshalJSON ¶

func (*NullableFindMetroSpotMarketPrices200Response) Set ¶

func (*NullableFindMetroSpotMarketPrices200Response) UnmarshalJSON ¶

func (*NullableFindMetroSpotMarketPrices200Response) Unset ¶

type NullableFindMetroSpotMarketPrices200ResponseSpotMarketPrices ¶

type NullableFindMetroSpotMarketPrices200ResponseSpotMarketPrices struct {
	// contains filtered or unexported fields
}

func (NullableFindMetroSpotMarketPrices200ResponseSpotMarketPrices) Get ¶

func (NullableFindMetroSpotMarketPrices200ResponseSpotMarketPrices) IsSet ¶

func (NullableFindMetroSpotMarketPrices200ResponseSpotMarketPrices) MarshalJSON ¶

func (*NullableFindMetroSpotMarketPrices200ResponseSpotMarketPrices) Set ¶

func (*NullableFindMetroSpotMarketPrices200ResponseSpotMarketPrices) UnmarshalJSON ¶

func (*NullableFindMetroSpotMarketPrices200ResponseSpotMarketPrices) Unset ¶

type NullableFindMetros200Response ¶

type NullableFindMetros200Response struct {
	// contains filtered or unexported fields
}

func (NullableFindMetros200Response) Get ¶

func (NullableFindMetros200Response) IsSet ¶

func (NullableFindMetros200Response) MarshalJSON ¶

func (v NullableFindMetros200Response) MarshalJSON() ([]byte, error)

func (*NullableFindMetros200Response) Set ¶

func (*NullableFindMetros200Response) UnmarshalJSON ¶

func (v *NullableFindMetros200Response) UnmarshalJSON(src []byte) error

func (*NullableFindMetros200Response) Unset ¶

func (v *NullableFindMetros200Response) Unset()

type NullableFindOperatingSystemVersion200Response ¶

type NullableFindOperatingSystemVersion200Response struct {
	// contains filtered or unexported fields
}

func (NullableFindOperatingSystemVersion200Response) Get ¶

func (NullableFindOperatingSystemVersion200Response) IsSet ¶

func (NullableFindOperatingSystemVersion200Response) MarshalJSON ¶

func (*NullableFindOperatingSystemVersion200Response) Set ¶

func (*NullableFindOperatingSystemVersion200Response) UnmarshalJSON ¶

func (*NullableFindOperatingSystemVersion200Response) Unset ¶

type NullableFindOrganizationDevices200Response ¶

type NullableFindOrganizationDevices200Response struct {
	// contains filtered or unexported fields
}

func (NullableFindOrganizationDevices200Response) Get ¶

func (NullableFindOrganizationDevices200Response) IsSet ¶

func (NullableFindOrganizationDevices200Response) MarshalJSON ¶

func (*NullableFindOrganizationDevices200Response) Set ¶

func (*NullableFindOrganizationDevices200Response) UnmarshalJSON ¶

func (v *NullableFindOrganizationDevices200Response) UnmarshalJSON(src []byte) error

func (*NullableFindOrganizationDevices200Response) Unset ¶

type NullableFindOrganizationPaymentMethods200Response ¶

type NullableFindOrganizationPaymentMethods200Response struct {
	// contains filtered or unexported fields
}

func (NullableFindOrganizationPaymentMethods200Response) Get ¶

func (NullableFindOrganizationPaymentMethods200Response) IsSet ¶

func (NullableFindOrganizationPaymentMethods200Response) MarshalJSON ¶

func (*NullableFindOrganizationPaymentMethods200Response) Set ¶

func (*NullableFindOrganizationPaymentMethods200Response) UnmarshalJSON ¶

func (*NullableFindOrganizationPaymentMethods200Response) Unset ¶

type NullableFindOrganizationPaymentMethods200ResponsePaymentMethodsInner ¶

type NullableFindOrganizationPaymentMethods200ResponsePaymentMethodsInner struct {
	// contains filtered or unexported fields
}

func (NullableFindOrganizationPaymentMethods200ResponsePaymentMethodsInner) Get ¶

func (NullableFindOrganizationPaymentMethods200ResponsePaymentMethodsInner) IsSet ¶

func (NullableFindOrganizationPaymentMethods200ResponsePaymentMethodsInner) MarshalJSON ¶

func (*NullableFindOrganizationPaymentMethods200ResponsePaymentMethodsInner) Set ¶

func (*NullableFindOrganizationPaymentMethods200ResponsePaymentMethodsInner) UnmarshalJSON ¶

func (*NullableFindOrganizationPaymentMethods200ResponsePaymentMethodsInner) Unset ¶

type NullableFindOrganizationPaymentMethods200ResponsePaymentMethodsInnerBillingAddress ¶

type NullableFindOrganizationPaymentMethods200ResponsePaymentMethodsInnerBillingAddress struct {
	// contains filtered or unexported fields
}

func (NullableFindOrganizationPaymentMethods200ResponsePaymentMethodsInnerBillingAddress) Get ¶

func (NullableFindOrganizationPaymentMethods200ResponsePaymentMethodsInnerBillingAddress) IsSet ¶

func (NullableFindOrganizationPaymentMethods200ResponsePaymentMethodsInnerBillingAddress) MarshalJSON ¶

func (*NullableFindOrganizationPaymentMethods200ResponsePaymentMethodsInnerBillingAddress) Set ¶

func (*NullableFindOrganizationPaymentMethods200ResponsePaymentMethodsInnerBillingAddress) UnmarshalJSON ¶

func (*NullableFindOrganizationPaymentMethods200ResponsePaymentMethodsInnerBillingAddress) Unset ¶

type NullableFindOrganizationProjects200Response ¶

type NullableFindOrganizationProjects200Response struct {
	// contains filtered or unexported fields
}

func (NullableFindOrganizationProjects200Response) Get ¶

func (NullableFindOrganizationProjects200Response) IsSet ¶

func (NullableFindOrganizationProjects200Response) MarshalJSON ¶

func (*NullableFindOrganizationProjects200Response) Set ¶

func (*NullableFindOrganizationProjects200Response) UnmarshalJSON ¶

func (v *NullableFindOrganizationProjects200Response) UnmarshalJSON(src []byte) error

func (*NullableFindOrganizationProjects200Response) Unset ¶

type NullableFindOrganizationTransfers200Response ¶

type NullableFindOrganizationTransfers200Response struct {
	// contains filtered or unexported fields
}

func (NullableFindOrganizationTransfers200Response) Get ¶

func (NullableFindOrganizationTransfers200Response) IsSet ¶

func (NullableFindOrganizationTransfers200Response) MarshalJSON ¶

func (*NullableFindOrganizationTransfers200Response) Set ¶

func (*NullableFindOrganizationTransfers200Response) UnmarshalJSON ¶

func (*NullableFindOrganizationTransfers200Response) Unset ¶

type NullableFindOrganizationTransfers200ResponseTransfersInner ¶

type NullableFindOrganizationTransfers200ResponseTransfersInner struct {
	// contains filtered or unexported fields
}

func (NullableFindOrganizationTransfers200ResponseTransfersInner) Get ¶

func (NullableFindOrganizationTransfers200ResponseTransfersInner) IsSet ¶

func (NullableFindOrganizationTransfers200ResponseTransfersInner) MarshalJSON ¶

func (*NullableFindOrganizationTransfers200ResponseTransfersInner) Set ¶

func (*NullableFindOrganizationTransfers200ResponseTransfersInner) UnmarshalJSON ¶

func (*NullableFindOrganizationTransfers200ResponseTransfersInner) Unset ¶

type NullableFindOrganizations200Response ¶

type NullableFindOrganizations200Response struct {
	// contains filtered or unexported fields
}

func (NullableFindOrganizations200Response) Get ¶

func (NullableFindOrganizations200Response) IsSet ¶

func (NullableFindOrganizations200Response) MarshalJSON ¶

func (v NullableFindOrganizations200Response) MarshalJSON() ([]byte, error)

func (*NullableFindOrganizations200Response) Set ¶

func (*NullableFindOrganizations200Response) UnmarshalJSON ¶

func (v *NullableFindOrganizations200Response) UnmarshalJSON(src []byte) error

func (*NullableFindOrganizations200Response) Unset ¶

type NullableFindOrganizations200ResponseOrganizationsInner ¶

type NullableFindOrganizations200ResponseOrganizationsInner struct {
	// contains filtered or unexported fields
}

func (NullableFindOrganizations200ResponseOrganizationsInner) Get ¶

func (NullableFindOrganizations200ResponseOrganizationsInner) IsSet ¶

func (NullableFindOrganizations200ResponseOrganizationsInner) MarshalJSON ¶

func (*NullableFindOrganizations200ResponseOrganizationsInner) Set ¶

func (*NullableFindOrganizations200ResponseOrganizationsInner) UnmarshalJSON ¶

func (*NullableFindOrganizations200ResponseOrganizationsInner) Unset ¶

type NullableFindPlansByOrganization200Response ¶

type NullableFindPlansByOrganization200Response struct {
	// contains filtered or unexported fields
}

func (NullableFindPlansByOrganization200Response) Get ¶

func (NullableFindPlansByOrganization200Response) IsSet ¶

func (NullableFindPlansByOrganization200Response) MarshalJSON ¶

func (*NullableFindPlansByOrganization200Response) Set ¶

func (*NullableFindPlansByOrganization200Response) UnmarshalJSON ¶

func (v *NullableFindPlansByOrganization200Response) UnmarshalJSON(src []byte) error

func (*NullableFindPlansByOrganization200Response) Unset ¶

type NullableFindPortVlanAssignmentBatches200Response ¶

type NullableFindPortVlanAssignmentBatches200Response struct {
	// contains filtered or unexported fields
}

func (NullableFindPortVlanAssignmentBatches200Response) Get ¶

func (NullableFindPortVlanAssignmentBatches200Response) IsSet ¶

func (NullableFindPortVlanAssignmentBatches200Response) MarshalJSON ¶

func (*NullableFindPortVlanAssignmentBatches200Response) Set ¶

func (*NullableFindPortVlanAssignmentBatches200Response) UnmarshalJSON ¶

func (*NullableFindPortVlanAssignmentBatches200Response) Unset ¶

type NullableFindPortVlanAssignmentBatches200ResponseBatchesInner ¶

type NullableFindPortVlanAssignmentBatches200ResponseBatchesInner struct {
	// contains filtered or unexported fields
}

func (NullableFindPortVlanAssignmentBatches200ResponseBatchesInner) Get ¶

func (NullableFindPortVlanAssignmentBatches200ResponseBatchesInner) IsSet ¶

func (NullableFindPortVlanAssignmentBatches200ResponseBatchesInner) MarshalJSON ¶

func (*NullableFindPortVlanAssignmentBatches200ResponseBatchesInner) Set ¶

func (*NullableFindPortVlanAssignmentBatches200ResponseBatchesInner) UnmarshalJSON ¶

func (*NullableFindPortVlanAssignmentBatches200ResponseBatchesInner) Unset ¶

type NullableFindPortVlanAssignmentBatches200ResponseBatchesInnerVlanAssignmentsInner ¶

type NullableFindPortVlanAssignmentBatches200ResponseBatchesInnerVlanAssignmentsInner struct {
	// contains filtered or unexported fields
}

func (NullableFindPortVlanAssignmentBatches200ResponseBatchesInnerVlanAssignmentsInner) Get ¶

func (NullableFindPortVlanAssignmentBatches200ResponseBatchesInnerVlanAssignmentsInner) IsSet ¶

func (NullableFindPortVlanAssignmentBatches200ResponseBatchesInnerVlanAssignmentsInner) MarshalJSON ¶

func (*NullableFindPortVlanAssignmentBatches200ResponseBatchesInnerVlanAssignmentsInner) Set ¶

func (*NullableFindPortVlanAssignmentBatches200ResponseBatchesInnerVlanAssignmentsInner) UnmarshalJSON ¶

func (*NullableFindPortVlanAssignmentBatches200ResponseBatchesInnerVlanAssignmentsInner) Unset ¶

type NullableFindPortVlanAssignments200Response ¶

type NullableFindPortVlanAssignments200Response struct {
	// contains filtered or unexported fields
}

func (NullableFindPortVlanAssignments200Response) Get ¶

func (NullableFindPortVlanAssignments200Response) IsSet ¶

func (NullableFindPortVlanAssignments200Response) MarshalJSON ¶

func (*NullableFindPortVlanAssignments200Response) Set ¶

func (*NullableFindPortVlanAssignments200Response) UnmarshalJSON ¶

func (v *NullableFindPortVlanAssignments200Response) UnmarshalJSON(src []byte) error

func (*NullableFindPortVlanAssignments200Response) Unset ¶

type NullableFindPortVlanAssignments200ResponseVlanAssignmentsInner ¶

type NullableFindPortVlanAssignments200ResponseVlanAssignmentsInner struct {
	// contains filtered or unexported fields
}

func (NullableFindPortVlanAssignments200ResponseVlanAssignmentsInner) Get ¶

func (NullableFindPortVlanAssignments200ResponseVlanAssignmentsInner) IsSet ¶

func (NullableFindPortVlanAssignments200ResponseVlanAssignmentsInner) MarshalJSON ¶

func (*NullableFindPortVlanAssignments200ResponseVlanAssignmentsInner) Set ¶

func (*NullableFindPortVlanAssignments200ResponseVlanAssignmentsInner) UnmarshalJSON ¶

func (*NullableFindPortVlanAssignments200ResponseVlanAssignmentsInner) Unset ¶

type NullableFindProjectAPIKeys200Response ¶

type NullableFindProjectAPIKeys200Response struct {
	// contains filtered or unexported fields
}

func (NullableFindProjectAPIKeys200Response) Get ¶

func (NullableFindProjectAPIKeys200Response) IsSet ¶

func (NullableFindProjectAPIKeys200Response) MarshalJSON ¶

func (v NullableFindProjectAPIKeys200Response) MarshalJSON() ([]byte, error)

func (*NullableFindProjectAPIKeys200Response) Set ¶

func (*NullableFindProjectAPIKeys200Response) UnmarshalJSON ¶

func (v *NullableFindProjectAPIKeys200Response) UnmarshalJSON(src []byte) error

func (*NullableFindProjectAPIKeys200Response) Unset ¶

type NullableFindProjectAPIKeys200ResponseApiKeysInner ¶

type NullableFindProjectAPIKeys200ResponseApiKeysInner struct {
	// contains filtered or unexported fields
}

func (NullableFindProjectAPIKeys200ResponseApiKeysInner) Get ¶

func (NullableFindProjectAPIKeys200ResponseApiKeysInner) IsSet ¶

func (NullableFindProjectAPIKeys200ResponseApiKeysInner) MarshalJSON ¶

func (*NullableFindProjectAPIKeys200ResponseApiKeysInner) Set ¶

func (*NullableFindProjectAPIKeys200ResponseApiKeysInner) UnmarshalJSON ¶

func (*NullableFindProjectAPIKeys200ResponseApiKeysInner) Unset ¶

type NullableFindProjectAPIKeys200ResponseApiKeysInnerProject ¶

type NullableFindProjectAPIKeys200ResponseApiKeysInnerProject struct {
	// contains filtered or unexported fields
}

func (NullableFindProjectAPIKeys200ResponseApiKeysInnerProject) Get ¶

func (NullableFindProjectAPIKeys200ResponseApiKeysInnerProject) IsSet ¶

func (NullableFindProjectAPIKeys200ResponseApiKeysInnerProject) MarshalJSON ¶

func (*NullableFindProjectAPIKeys200ResponseApiKeysInnerProject) Set ¶

func (*NullableFindProjectAPIKeys200ResponseApiKeysInnerProject) UnmarshalJSON ¶

func (*NullableFindProjectAPIKeys200ResponseApiKeysInnerProject) Unset ¶

type NullableFindProjectAPIKeys200ResponseApiKeysInnerUser ¶

type NullableFindProjectAPIKeys200ResponseApiKeysInnerUser struct {
	// contains filtered or unexported fields
}

func (NullableFindProjectAPIKeys200ResponseApiKeysInnerUser) Get ¶

func (NullableFindProjectAPIKeys200ResponseApiKeysInnerUser) IsSet ¶

func (NullableFindProjectAPIKeys200ResponseApiKeysInnerUser) MarshalJSON ¶

func (*NullableFindProjectAPIKeys200ResponseApiKeysInnerUser) Set ¶

func (*NullableFindProjectAPIKeys200ResponseApiKeysInnerUser) UnmarshalJSON ¶

func (*NullableFindProjectAPIKeys200ResponseApiKeysInnerUser) Unset ¶

type NullableFindProjectHardwareReservations200Response ¶

type NullableFindProjectHardwareReservations200Response struct {
	// contains filtered or unexported fields
}

func (NullableFindProjectHardwareReservations200Response) Get ¶

func (NullableFindProjectHardwareReservations200Response) IsSet ¶

func (NullableFindProjectHardwareReservations200Response) MarshalJSON ¶

func (*NullableFindProjectHardwareReservations200Response) Set ¶

func (*NullableFindProjectHardwareReservations200Response) UnmarshalJSON ¶

func (*NullableFindProjectHardwareReservations200Response) Unset ¶

type NullableFindProjectLicenses200Response ¶

type NullableFindProjectLicenses200Response struct {
	// contains filtered or unexported fields
}

func (NullableFindProjectLicenses200Response) Get ¶

func (NullableFindProjectLicenses200Response) IsSet ¶

func (NullableFindProjectLicenses200Response) MarshalJSON ¶

func (v NullableFindProjectLicenses200Response) MarshalJSON() ([]byte, error)

func (*NullableFindProjectLicenses200Response) Set ¶

func (*NullableFindProjectLicenses200Response) UnmarshalJSON ¶

func (v *NullableFindProjectLicenses200Response) UnmarshalJSON(src []byte) error

func (*NullableFindProjectLicenses200Response) Unset ¶

type NullableFindProjectMemberships200Response ¶

type NullableFindProjectMemberships200Response struct {
	// contains filtered or unexported fields
}

func (NullableFindProjectMemberships200Response) Get ¶

func (NullableFindProjectMemberships200Response) IsSet ¶

func (NullableFindProjectMemberships200Response) MarshalJSON ¶

func (*NullableFindProjectMemberships200Response) Set ¶

func (*NullableFindProjectMemberships200Response) UnmarshalJSON ¶

func (v *NullableFindProjectMemberships200Response) UnmarshalJSON(src []byte) error

func (*NullableFindProjectMemberships200Response) Unset ¶

type NullableFindProjectUsage200Response ¶

type NullableFindProjectUsage200Response struct {
	// contains filtered or unexported fields
}

func (NullableFindProjectUsage200Response) Get ¶

func (NullableFindProjectUsage200Response) IsSet ¶

func (NullableFindProjectUsage200Response) MarshalJSON ¶

func (v NullableFindProjectUsage200Response) MarshalJSON() ([]byte, error)

func (*NullableFindProjectUsage200Response) Set ¶

func (*NullableFindProjectUsage200Response) UnmarshalJSON ¶

func (v *NullableFindProjectUsage200Response) UnmarshalJSON(src []byte) error

func (*NullableFindProjectUsage200Response) Unset ¶

type NullableFindProjectUsage200ResponseUsagesInner ¶

type NullableFindProjectUsage200ResponseUsagesInner struct {
	// contains filtered or unexported fields
}

func (NullableFindProjectUsage200ResponseUsagesInner) Get ¶

func (NullableFindProjectUsage200ResponseUsagesInner) IsSet ¶

func (NullableFindProjectUsage200ResponseUsagesInner) MarshalJSON ¶

func (*NullableFindProjectUsage200ResponseUsagesInner) Set ¶

func (*NullableFindProjectUsage200ResponseUsagesInner) UnmarshalJSON ¶

func (*NullableFindProjectUsage200ResponseUsagesInner) Unset ¶

type NullableFindRecoveryCodes200Response ¶

type NullableFindRecoveryCodes200Response struct {
	// contains filtered or unexported fields
}

func (NullableFindRecoveryCodes200Response) Get ¶

func (NullableFindRecoveryCodes200Response) IsSet ¶

func (NullableFindRecoveryCodes200Response) MarshalJSON ¶

func (v NullableFindRecoveryCodes200Response) MarshalJSON() ([]byte, error)

func (*NullableFindRecoveryCodes200Response) Set ¶

func (*NullableFindRecoveryCodes200Response) UnmarshalJSON ¶

func (v *NullableFindRecoveryCodes200Response) UnmarshalJSON(src []byte) error

func (*NullableFindRecoveryCodes200Response) Unset ¶

type NullableFindSelfServiceReservations200Response ¶

type NullableFindSelfServiceReservations200Response struct {
	// contains filtered or unexported fields
}

func (NullableFindSelfServiceReservations200Response) Get ¶

func (NullableFindSelfServiceReservations200Response) IsSet ¶

func (NullableFindSelfServiceReservations200Response) MarshalJSON ¶

func (*NullableFindSelfServiceReservations200Response) Set ¶

func (*NullableFindSelfServiceReservations200Response) UnmarshalJSON ¶

func (*NullableFindSelfServiceReservations200Response) Unset ¶

type NullableFindSelfServiceReservations200ResponseReservationsInner ¶

type NullableFindSelfServiceReservations200ResponseReservationsInner struct {
	// contains filtered or unexported fields
}

func (NullableFindSelfServiceReservations200ResponseReservationsInner) Get ¶

func (NullableFindSelfServiceReservations200ResponseReservationsInner) IsSet ¶

func (NullableFindSelfServiceReservations200ResponseReservationsInner) MarshalJSON ¶

func (*NullableFindSelfServiceReservations200ResponseReservationsInner) Set ¶

func (*NullableFindSelfServiceReservations200ResponseReservationsInner) UnmarshalJSON ¶

func (*NullableFindSelfServiceReservations200ResponseReservationsInner) Unset ¶

type NullableFindSelfServiceReservations200ResponseReservationsInnerItemInner ¶

type NullableFindSelfServiceReservations200ResponseReservationsInnerItemInner struct {
	// contains filtered or unexported fields
}

func (NullableFindSelfServiceReservations200ResponseReservationsInnerItemInner) Get ¶

func (NullableFindSelfServiceReservations200ResponseReservationsInnerItemInner) IsSet ¶

func (NullableFindSelfServiceReservations200ResponseReservationsInnerItemInner) MarshalJSON ¶

func (*NullableFindSelfServiceReservations200ResponseReservationsInnerItemInner) Set ¶

func (*NullableFindSelfServiceReservations200ResponseReservationsInnerItemInner) UnmarshalJSON ¶

func (*NullableFindSelfServiceReservations200ResponseReservationsInnerItemInner) Unset ¶

type NullableFindSelfServiceReservations200ResponseReservationsInnerPeriod ¶

type NullableFindSelfServiceReservations200ResponseReservationsInnerPeriod struct {
	// contains filtered or unexported fields
}

func (NullableFindSelfServiceReservations200ResponseReservationsInnerPeriod) Get ¶

func (NullableFindSelfServiceReservations200ResponseReservationsInnerPeriod) IsSet ¶

func (NullableFindSelfServiceReservations200ResponseReservationsInnerPeriod) MarshalJSON ¶

func (*NullableFindSelfServiceReservations200ResponseReservationsInnerPeriod) Set ¶

func (*NullableFindSelfServiceReservations200ResponseReservationsInnerPeriod) UnmarshalJSON ¶

func (*NullableFindSelfServiceReservations200ResponseReservationsInnerPeriod) Unset ¶

type NullableFindSpotMarketPrices200Response ¶

type NullableFindSpotMarketPrices200Response struct {
	// contains filtered or unexported fields
}

func (NullableFindSpotMarketPrices200Response) Get ¶

func (NullableFindSpotMarketPrices200Response) IsSet ¶

func (NullableFindSpotMarketPrices200Response) MarshalJSON ¶

func (v NullableFindSpotMarketPrices200Response) MarshalJSON() ([]byte, error)

func (*NullableFindSpotMarketPrices200Response) Set ¶

func (*NullableFindSpotMarketPrices200Response) UnmarshalJSON ¶

func (v *NullableFindSpotMarketPrices200Response) UnmarshalJSON(src []byte) error

func (*NullableFindSpotMarketPrices200Response) Unset ¶

type NullableFindSpotMarketPrices200ResponseSpotMarketPrices ¶

type NullableFindSpotMarketPrices200ResponseSpotMarketPrices struct {
	// contains filtered or unexported fields
}

func (NullableFindSpotMarketPrices200ResponseSpotMarketPrices) Get ¶

func (NullableFindSpotMarketPrices200ResponseSpotMarketPrices) IsSet ¶

func (NullableFindSpotMarketPrices200ResponseSpotMarketPrices) MarshalJSON ¶

func (*NullableFindSpotMarketPrices200ResponseSpotMarketPrices) Set ¶

func (*NullableFindSpotMarketPrices200ResponseSpotMarketPrices) UnmarshalJSON ¶

func (*NullableFindSpotMarketPrices200ResponseSpotMarketPrices) Unset ¶

type NullableFindSpotMarketPrices200ResponseSpotMarketPricesAms1 ¶

type NullableFindSpotMarketPrices200ResponseSpotMarketPricesAms1 struct {
	// contains filtered or unexported fields
}

func (NullableFindSpotMarketPrices200ResponseSpotMarketPricesAms1) Get ¶

func (NullableFindSpotMarketPrices200ResponseSpotMarketPricesAms1) IsSet ¶

func (NullableFindSpotMarketPrices200ResponseSpotMarketPricesAms1) MarshalJSON ¶

func (*NullableFindSpotMarketPrices200ResponseSpotMarketPricesAms1) Set ¶

func (*NullableFindSpotMarketPrices200ResponseSpotMarketPricesAms1) UnmarshalJSON ¶

func (*NullableFindSpotMarketPrices200ResponseSpotMarketPricesAms1) Unset ¶

type NullableFindSpotMarketPrices200ResponseSpotMarketPricesAms1Baremetal0 ¶

type NullableFindSpotMarketPrices200ResponseSpotMarketPricesAms1Baremetal0 struct {
	// contains filtered or unexported fields
}

func (NullableFindSpotMarketPrices200ResponseSpotMarketPricesAms1Baremetal0) Get ¶

func (NullableFindSpotMarketPrices200ResponseSpotMarketPricesAms1Baremetal0) IsSet ¶

func (NullableFindSpotMarketPrices200ResponseSpotMarketPricesAms1Baremetal0) MarshalJSON ¶

func (*NullableFindSpotMarketPrices200ResponseSpotMarketPricesAms1Baremetal0) Set ¶

func (*NullableFindSpotMarketPrices200ResponseSpotMarketPricesAms1Baremetal0) UnmarshalJSON ¶

func (*NullableFindSpotMarketPrices200ResponseSpotMarketPricesAms1Baremetal0) Unset ¶

type NullableFindSpotMarketPrices200ResponseSpotMarketPricesAtl1 ¶

type NullableFindSpotMarketPrices200ResponseSpotMarketPricesAtl1 struct {
	// contains filtered or unexported fields
}

func (NullableFindSpotMarketPrices200ResponseSpotMarketPricesAtl1) Get ¶

func (NullableFindSpotMarketPrices200ResponseSpotMarketPricesAtl1) IsSet ¶

func (NullableFindSpotMarketPrices200ResponseSpotMarketPricesAtl1) MarshalJSON ¶

func (*NullableFindSpotMarketPrices200ResponseSpotMarketPricesAtl1) Set ¶

func (*NullableFindSpotMarketPrices200ResponseSpotMarketPricesAtl1) UnmarshalJSON ¶

func (*NullableFindSpotMarketPrices200ResponseSpotMarketPricesAtl1) Unset ¶

type NullableFindSpotMarketPricesHistory200Response ¶

type NullableFindSpotMarketPricesHistory200Response struct {
	// contains filtered or unexported fields
}

func (NullableFindSpotMarketPricesHistory200Response) Get ¶

func (NullableFindSpotMarketPricesHistory200Response) IsSet ¶

func (NullableFindSpotMarketPricesHistory200Response) MarshalJSON ¶

func (*NullableFindSpotMarketPricesHistory200Response) Set ¶

func (*NullableFindSpotMarketPricesHistory200Response) UnmarshalJSON ¶

func (*NullableFindSpotMarketPricesHistory200Response) Unset ¶

type NullableFindSpotMarketPricesHistory200ResponsePricesHistory ¶

type NullableFindSpotMarketPricesHistory200ResponsePricesHistory struct {
	// contains filtered or unexported fields
}

func (NullableFindSpotMarketPricesHistory200ResponsePricesHistory) Get ¶

func (NullableFindSpotMarketPricesHistory200ResponsePricesHistory) IsSet ¶

func (NullableFindSpotMarketPricesHistory200ResponsePricesHistory) MarshalJSON ¶

func (*NullableFindSpotMarketPricesHistory200ResponsePricesHistory) Set ¶

func (*NullableFindSpotMarketPricesHistory200ResponsePricesHistory) UnmarshalJSON ¶

func (*NullableFindSpotMarketPricesHistory200ResponsePricesHistory) Unset ¶

type NullableFindTrafficTimeframeParameter ¶ added in v0.2.6

type NullableFindTrafficTimeframeParameter struct {
	// contains filtered or unexported fields
}

func NewNullableFindTrafficTimeframeParameter ¶ added in v0.2.6

func NewNullableFindTrafficTimeframeParameter(val *FindTrafficTimeframeParameter) *NullableFindTrafficTimeframeParameter

func (NullableFindTrafficTimeframeParameter) Get ¶ added in v0.2.6

func (NullableFindTrafficTimeframeParameter) IsSet ¶ added in v0.2.6

func (NullableFindTrafficTimeframeParameter) MarshalJSON ¶ added in v0.2.6

func (v NullableFindTrafficTimeframeParameter) MarshalJSON() ([]byte, error)

func (*NullableFindTrafficTimeframeParameter) Set ¶ added in v0.2.6

func (*NullableFindTrafficTimeframeParameter) UnmarshalJSON ¶ added in v0.2.6

func (v *NullableFindTrafficTimeframeParameter) UnmarshalJSON(src []byte) error

func (*NullableFindTrafficTimeframeParameter) Unset ¶ added in v0.2.6

type NullableFindUsers200Response ¶

type NullableFindUsers200Response struct {
	// contains filtered or unexported fields
}

func (NullableFindUsers200Response) Get ¶

func (NullableFindUsers200Response) IsSet ¶

func (NullableFindUsers200Response) MarshalJSON ¶

func (v NullableFindUsers200Response) MarshalJSON() ([]byte, error)

func (*NullableFindUsers200Response) Set ¶

func (*NullableFindUsers200Response) UnmarshalJSON ¶

func (v *NullableFindUsers200Response) UnmarshalJSON(src []byte) error

func (*NullableFindUsers200Response) Unset ¶

func (v *NullableFindUsers200Response) Unset()

type NullableFindVirtualNetworks200Response ¶

type NullableFindVirtualNetworks200Response struct {
	// contains filtered or unexported fields
}

func (NullableFindVirtualNetworks200Response) Get ¶

func (NullableFindVirtualNetworks200Response) IsSet ¶

func (NullableFindVirtualNetworks200Response) MarshalJSON ¶

func (v NullableFindVirtualNetworks200Response) MarshalJSON() ([]byte, error)

func (*NullableFindVirtualNetworks200Response) Set ¶

func (*NullableFindVirtualNetworks200Response) UnmarshalJSON ¶

func (v *NullableFindVirtualNetworks200Response) UnmarshalJSON(src []byte) error

func (*NullableFindVirtualNetworks200Response) Unset ¶

type NullableFindVrfIpReservations200Response ¶

type NullableFindVrfIpReservations200Response struct {
	// contains filtered or unexported fields
}

func (NullableFindVrfIpReservations200Response) Get ¶

func (NullableFindVrfIpReservations200Response) IsSet ¶

func (NullableFindVrfIpReservations200Response) MarshalJSON ¶

func (*NullableFindVrfIpReservations200Response) Set ¶

func (*NullableFindVrfIpReservations200Response) UnmarshalJSON ¶

func (v *NullableFindVrfIpReservations200Response) UnmarshalJSON(src []byte) error

func (*NullableFindVrfIpReservations200Response) Unset ¶

type NullableFindVrfs200Response ¶

type NullableFindVrfs200Response struct {
	// contains filtered or unexported fields
}

func (NullableFindVrfs200Response) Get ¶

func (NullableFindVrfs200Response) IsSet ¶

func (NullableFindVrfs200Response) MarshalJSON ¶

func (v NullableFindVrfs200Response) MarshalJSON() ([]byte, error)

func (*NullableFindVrfs200Response) Set ¶

func (*NullableFindVrfs200Response) UnmarshalJSON ¶

func (v *NullableFindVrfs200Response) UnmarshalJSON(src []byte) error

func (*NullableFindVrfs200Response) Unset ¶

func (v *NullableFindVrfs200Response) 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 NullableGetBgpNeighborData200Response ¶

type NullableGetBgpNeighborData200Response struct {
	// contains filtered or unexported fields
}

func (NullableGetBgpNeighborData200Response) Get ¶

func (NullableGetBgpNeighborData200Response) IsSet ¶

func (NullableGetBgpNeighborData200Response) MarshalJSON ¶

func (v NullableGetBgpNeighborData200Response) MarshalJSON() ([]byte, error)

func (*NullableGetBgpNeighborData200Response) Set ¶

func (*NullableGetBgpNeighborData200Response) UnmarshalJSON ¶

func (v *NullableGetBgpNeighborData200Response) UnmarshalJSON(src []byte) error

func (*NullableGetBgpNeighborData200Response) Unset ¶

type NullableGetBgpNeighborData200ResponseBgpNeighborsInner ¶

type NullableGetBgpNeighborData200ResponseBgpNeighborsInner struct {
	// contains filtered or unexported fields
}

func (NullableGetBgpNeighborData200ResponseBgpNeighborsInner) Get ¶

func (NullableGetBgpNeighborData200ResponseBgpNeighborsInner) IsSet ¶

func (NullableGetBgpNeighborData200ResponseBgpNeighborsInner) MarshalJSON ¶

func (*NullableGetBgpNeighborData200ResponseBgpNeighborsInner) Set ¶

func (*NullableGetBgpNeighborData200ResponseBgpNeighborsInner) UnmarshalJSON ¶

func (*NullableGetBgpNeighborData200ResponseBgpNeighborsInner) Unset ¶

type NullableGetBgpNeighborData200ResponseBgpNeighborsInnerRoutesInInner ¶

type NullableGetBgpNeighborData200ResponseBgpNeighborsInnerRoutesInInner struct {
	// contains filtered or unexported fields
}

func (NullableGetBgpNeighborData200ResponseBgpNeighborsInnerRoutesInInner) Get ¶

func (NullableGetBgpNeighborData200ResponseBgpNeighborsInnerRoutesInInner) IsSet ¶

func (NullableGetBgpNeighborData200ResponseBgpNeighborsInnerRoutesInInner) MarshalJSON ¶

func (*NullableGetBgpNeighborData200ResponseBgpNeighborsInnerRoutesInInner) Set ¶

func (*NullableGetBgpNeighborData200ResponseBgpNeighborsInnerRoutesInInner) UnmarshalJSON ¶

func (*NullableGetBgpNeighborData200ResponseBgpNeighborsInnerRoutesInInner) Unset ¶

type NullableGetBgpNeighborData200ResponseBgpNeighborsInnerRoutesOutInner ¶

type NullableGetBgpNeighborData200ResponseBgpNeighborsInnerRoutesOutInner struct {
	// contains filtered or unexported fields
}

func (NullableGetBgpNeighborData200ResponseBgpNeighborsInnerRoutesOutInner) Get ¶

func (NullableGetBgpNeighborData200ResponseBgpNeighborsInnerRoutesOutInner) IsSet ¶

func (NullableGetBgpNeighborData200ResponseBgpNeighborsInnerRoutesOutInner) MarshalJSON ¶

func (*NullableGetBgpNeighborData200ResponseBgpNeighborsInnerRoutesOutInner) Set ¶

func (*NullableGetBgpNeighborData200ResponseBgpNeighborsInnerRoutesOutInner) UnmarshalJSON ¶

func (*NullableGetBgpNeighborData200ResponseBgpNeighborsInnerRoutesOutInner) Unset ¶

type NullableGetInterconnection200Response ¶

type NullableGetInterconnection200Response struct {
	// contains filtered or unexported fields
}

func (NullableGetInterconnection200Response) Get ¶

func (NullableGetInterconnection200Response) IsSet ¶

func (NullableGetInterconnection200Response) MarshalJSON ¶

func (v NullableGetInterconnection200Response) MarshalJSON() ([]byte, error)

func (*NullableGetInterconnection200Response) Set ¶

func (*NullableGetInterconnection200Response) UnmarshalJSON ¶

func (v *NullableGetInterconnection200Response) UnmarshalJSON(src []byte) error

func (*NullableGetInterconnection200Response) Unset ¶

type NullableGetInterconnection200ResponseMetro ¶

type NullableGetInterconnection200ResponseMetro struct {
	// contains filtered or unexported fields
}

func (NullableGetInterconnection200ResponseMetro) Get ¶

func (NullableGetInterconnection200ResponseMetro) IsSet ¶

func (NullableGetInterconnection200ResponseMetro) MarshalJSON ¶

func (*NullableGetInterconnection200ResponseMetro) Set ¶

func (*NullableGetInterconnection200ResponseMetro) UnmarshalJSON ¶

func (v *NullableGetInterconnection200ResponseMetro) UnmarshalJSON(src []byte) error

func (*NullableGetInterconnection200ResponseMetro) Unset ¶

type NullableGetInterconnection200ResponseMetroAllOf ¶

type NullableGetInterconnection200ResponseMetroAllOf struct {
	// contains filtered or unexported fields
}

func (NullableGetInterconnection200ResponseMetroAllOf) Get ¶

func (NullableGetInterconnection200ResponseMetroAllOf) IsSet ¶

func (NullableGetInterconnection200ResponseMetroAllOf) MarshalJSON ¶

func (*NullableGetInterconnection200ResponseMetroAllOf) Set ¶

func (*NullableGetInterconnection200ResponseMetroAllOf) UnmarshalJSON ¶

func (*NullableGetInterconnection200ResponseMetroAllOf) Unset ¶

type NullableGetInterconnection200ResponsePortsInner ¶

type NullableGetInterconnection200ResponsePortsInner struct {
	// contains filtered or unexported fields
}

func (NullableGetInterconnection200ResponsePortsInner) Get ¶

func (NullableGetInterconnection200ResponsePortsInner) IsSet ¶

func (NullableGetInterconnection200ResponsePortsInner) MarshalJSON ¶

func (*NullableGetInterconnection200ResponsePortsInner) Set ¶

func (*NullableGetInterconnection200ResponsePortsInner) UnmarshalJSON ¶

func (*NullableGetInterconnection200ResponsePortsInner) Unset ¶

type NullableGetInterconnection200ResponsePortsInnerVirtualCircuits ¶

type NullableGetInterconnection200ResponsePortsInnerVirtualCircuits struct {
	// contains filtered or unexported fields
}

func (NullableGetInterconnection200ResponsePortsInnerVirtualCircuits) Get ¶

func (NullableGetInterconnection200ResponsePortsInnerVirtualCircuits) IsSet ¶

func (NullableGetInterconnection200ResponsePortsInnerVirtualCircuits) MarshalJSON ¶

func (*NullableGetInterconnection200ResponsePortsInnerVirtualCircuits) Set ¶

func (*NullableGetInterconnection200ResponsePortsInnerVirtualCircuits) UnmarshalJSON ¶

func (*NullableGetInterconnection200ResponsePortsInnerVirtualCircuits) Unset ¶

type NullableGetInterconnection200ResponsePortsInnerVirtualCircuitsVirtualCircuitsInner ¶ added in v0.2.6

type NullableGetInterconnection200ResponsePortsInnerVirtualCircuitsVirtualCircuitsInner struct {
	// contains filtered or unexported fields
}

func (NullableGetInterconnection200ResponsePortsInnerVirtualCircuitsVirtualCircuitsInner) Get ¶ added in v0.2.6

func (NullableGetInterconnection200ResponsePortsInnerVirtualCircuitsVirtualCircuitsInner) IsSet ¶ added in v0.2.6

func (NullableGetInterconnection200ResponsePortsInnerVirtualCircuitsVirtualCircuitsInner) MarshalJSON ¶ added in v0.2.6

func (*NullableGetInterconnection200ResponsePortsInnerVirtualCircuitsVirtualCircuitsInner) Set ¶ added in v0.2.6

func (*NullableGetInterconnection200ResponsePortsInnerVirtualCircuitsVirtualCircuitsInner) UnmarshalJSON ¶ added in v0.2.6

func (*NullableGetInterconnection200ResponsePortsInnerVirtualCircuitsVirtualCircuitsInner) Unset ¶ added in v0.2.6

type NullableGetInterconnection200ResponsePortsInnerVirtualCircuitsVirtualCircuitsInnerAnyOf ¶ added in v0.2.6

type NullableGetInterconnection200ResponsePortsInnerVirtualCircuitsVirtualCircuitsInnerAnyOf struct {
	// contains filtered or unexported fields
}

func (NullableGetInterconnection200ResponsePortsInnerVirtualCircuitsVirtualCircuitsInnerAnyOf) Get ¶ added in v0.2.6

func (NullableGetInterconnection200ResponsePortsInnerVirtualCircuitsVirtualCircuitsInnerAnyOf) IsSet ¶ added in v0.2.6

func (NullableGetInterconnection200ResponsePortsInnerVirtualCircuitsVirtualCircuitsInnerAnyOf) MarshalJSON ¶ added in v0.2.6

func (*NullableGetInterconnection200ResponsePortsInnerVirtualCircuitsVirtualCircuitsInnerAnyOf) Set ¶ added in v0.2.6

func (*NullableGetInterconnection200ResponsePortsInnerVirtualCircuitsVirtualCircuitsInnerAnyOf) UnmarshalJSON ¶ added in v0.2.6

func (*NullableGetInterconnection200ResponsePortsInnerVirtualCircuitsVirtualCircuitsInnerAnyOf) Unset ¶ added in v0.2.6

type NullableGetInterconnection200ResponsePortsInnerVirtualCircuitsVirtualCircuitsInnerAnyOf1 ¶ added in v0.2.6

type NullableGetInterconnection200ResponsePortsInnerVirtualCircuitsVirtualCircuitsInnerAnyOf1 struct {
	// contains filtered or unexported fields
}

func (NullableGetInterconnection200ResponsePortsInnerVirtualCircuitsVirtualCircuitsInnerAnyOf1) Get ¶ added in v0.2.6

func (NullableGetInterconnection200ResponsePortsInnerVirtualCircuitsVirtualCircuitsInnerAnyOf1) IsSet ¶ added in v0.2.6

func (NullableGetInterconnection200ResponsePortsInnerVirtualCircuitsVirtualCircuitsInnerAnyOf1) MarshalJSON ¶ added in v0.2.6

func (*NullableGetInterconnection200ResponsePortsInnerVirtualCircuitsVirtualCircuitsInnerAnyOf1) Set ¶ added in v0.2.6

func (*NullableGetInterconnection200ResponsePortsInnerVirtualCircuitsVirtualCircuitsInnerAnyOf1) UnmarshalJSON ¶ added in v0.2.6

func (*NullableGetInterconnection200ResponsePortsInnerVirtualCircuitsVirtualCircuitsInnerAnyOf1) Unset ¶ added in v0.2.6

type NullableGetInterconnection200ResponsePortsInnerVirtualCircuitsVirtualCircuitsInnerAnyOf1Vrf ¶ added in v0.2.6

type NullableGetInterconnection200ResponsePortsInnerVirtualCircuitsVirtualCircuitsInnerAnyOf1Vrf struct {
	// contains filtered or unexported fields
}

func (NullableGetInterconnection200ResponsePortsInnerVirtualCircuitsVirtualCircuitsInnerAnyOf1Vrf) Get ¶ added in v0.2.6

func (NullableGetInterconnection200ResponsePortsInnerVirtualCircuitsVirtualCircuitsInnerAnyOf1Vrf) IsSet ¶ added in v0.2.6

func (NullableGetInterconnection200ResponsePortsInnerVirtualCircuitsVirtualCircuitsInnerAnyOf1Vrf) MarshalJSON ¶ added in v0.2.6

func (*NullableGetInterconnection200ResponsePortsInnerVirtualCircuitsVirtualCircuitsInnerAnyOf1Vrf) Set ¶ added in v0.2.6

func (*NullableGetInterconnection200ResponsePortsInnerVirtualCircuitsVirtualCircuitsInnerAnyOf1Vrf) UnmarshalJSON ¶ added in v0.2.6

func (*NullableGetInterconnection200ResponsePortsInnerVirtualCircuitsVirtualCircuitsInnerAnyOf1Vrf) Unset ¶ added in v0.2.6

type NullableGetInterconnection200ResponsePortsInnerVirtualCircuitsVirtualCircuitsInnerAnyOf1VrfCreatedBy ¶ added in v0.2.6

type NullableGetInterconnection200ResponsePortsInnerVirtualCircuitsVirtualCircuitsInnerAnyOf1VrfCreatedBy struct {
	// contains filtered or unexported fields
}

func (NullableGetInterconnection200ResponsePortsInnerVirtualCircuitsVirtualCircuitsInnerAnyOf1VrfCreatedBy) Get ¶ added in v0.2.6

func (NullableGetInterconnection200ResponsePortsInnerVirtualCircuitsVirtualCircuitsInnerAnyOf1VrfCreatedBy) IsSet ¶ added in v0.2.6

func (NullableGetInterconnection200ResponsePortsInnerVirtualCircuitsVirtualCircuitsInnerAnyOf1VrfCreatedBy) MarshalJSON ¶ added in v0.2.6

func (*NullableGetInterconnection200ResponsePortsInnerVirtualCircuitsVirtualCircuitsInnerAnyOf1VrfCreatedBy) Set ¶ added in v0.2.6

func (*NullableGetInterconnection200ResponsePortsInnerVirtualCircuitsVirtualCircuitsInnerAnyOf1VrfCreatedBy) UnmarshalJSON ¶ added in v0.2.6

func (*NullableGetInterconnection200ResponsePortsInnerVirtualCircuitsVirtualCircuitsInnerAnyOf1VrfCreatedBy) Unset ¶ added in v0.2.6

type NullableGetInterconnection200ResponsePortsInnerVirtualCircuitsVirtualCircuitsInnerAnyOf1VrfProject ¶ added in v0.2.6

type NullableGetInterconnection200ResponsePortsInnerVirtualCircuitsVirtualCircuitsInnerAnyOf1VrfProject struct {
	// contains filtered or unexported fields
}

func (NullableGetInterconnection200ResponsePortsInnerVirtualCircuitsVirtualCircuitsInnerAnyOf1VrfProject) Get ¶ added in v0.2.6

func (NullableGetInterconnection200ResponsePortsInnerVirtualCircuitsVirtualCircuitsInnerAnyOf1VrfProject) IsSet ¶ added in v0.2.6

func (NullableGetInterconnection200ResponsePortsInnerVirtualCircuitsVirtualCircuitsInnerAnyOf1VrfProject) MarshalJSON ¶ added in v0.2.6

func (*NullableGetInterconnection200ResponsePortsInnerVirtualCircuitsVirtualCircuitsInnerAnyOf1VrfProject) Set ¶ added in v0.2.6

func (*NullableGetInterconnection200ResponsePortsInnerVirtualCircuitsVirtualCircuitsInnerAnyOf1VrfProject) UnmarshalJSON ¶ added in v0.2.6

func (*NullableGetInterconnection200ResponsePortsInnerVirtualCircuitsVirtualCircuitsInnerAnyOf1VrfProject) Unset ¶ added in v0.2.6

type NullableGetInterconnection200ResponseServiceTokensInner ¶

type NullableGetInterconnection200ResponseServiceTokensInner struct {
	// contains filtered or unexported fields
}

func (NullableGetInterconnection200ResponseServiceTokensInner) Get ¶

func (NullableGetInterconnection200ResponseServiceTokensInner) IsSet ¶

func (NullableGetInterconnection200ResponseServiceTokensInner) MarshalJSON ¶

func (*NullableGetInterconnection200ResponseServiceTokensInner) Set ¶

func (*NullableGetInterconnection200ResponseServiceTokensInner) UnmarshalJSON ¶

func (*NullableGetInterconnection200ResponseServiceTokensInner) 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 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 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 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 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 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 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 NullableInterconnectionCreateInput ¶

type NullableInterconnectionCreateInput struct {
	// contains filtered or unexported fields
}

func (NullableInterconnectionCreateInput) Get ¶

func (NullableInterconnectionCreateInput) IsSet ¶

func (NullableInterconnectionCreateInput) MarshalJSON ¶

func (v NullableInterconnectionCreateInput) MarshalJSON() ([]byte, error)

func (*NullableInterconnectionCreateInput) Set ¶

func (*NullableInterconnectionCreateInput) UnmarshalJSON ¶

func (v *NullableInterconnectionCreateInput) UnmarshalJSON(src []byte) error

func (*NullableInterconnectionCreateInput) 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 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 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 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 NullableListInterconnectionPorts200Response ¶ added in v0.2.6

type NullableListInterconnectionPorts200Response struct {
	// contains filtered or unexported fields
}

func (NullableListInterconnectionPorts200Response) Get ¶ added in v0.2.6

func (NullableListInterconnectionPorts200Response) IsSet ¶ added in v0.2.6

func (NullableListInterconnectionPorts200Response) MarshalJSON ¶ added in v0.2.6

func (*NullableListInterconnectionPorts200Response) Set ¶ added in v0.2.6

func (*NullableListInterconnectionPorts200Response) UnmarshalJSON ¶ added in v0.2.6

func (v *NullableListInterconnectionPorts200Response) UnmarshalJSON(src []byte) error

func (*NullableListInterconnectionPorts200Response) Unset ¶ added in v0.2.6

type NullableListSpotMarketRequests200Response ¶

type NullableListSpotMarketRequests200Response struct {
	// contains filtered or unexported fields
}

func (NullableListSpotMarketRequests200Response) Get ¶

func (NullableListSpotMarketRequests200Response) IsSet ¶

func (NullableListSpotMarketRequests200Response) MarshalJSON ¶

func (*NullableListSpotMarketRequests200Response) Set ¶

func (*NullableListSpotMarketRequests200Response) UnmarshalJSON ¶

func (v *NullableListSpotMarketRequests200Response) UnmarshalJSON(src []byte) error

func (*NullableListSpotMarketRequests200Response) Unset ¶

type NullableListSpotMarketRequests200ResponseSpotMarketRequestsInner ¶

type NullableListSpotMarketRequests200ResponseSpotMarketRequestsInner struct {
	// contains filtered or unexported fields
}

func (NullableListSpotMarketRequests200ResponseSpotMarketRequestsInner) Get ¶

func (NullableListSpotMarketRequests200ResponseSpotMarketRequestsInner) IsSet ¶

func (NullableListSpotMarketRequests200ResponseSpotMarketRequestsInner) MarshalJSON ¶

func (*NullableListSpotMarketRequests200ResponseSpotMarketRequestsInner) Set ¶

func (*NullableListSpotMarketRequests200ResponseSpotMarketRequestsInner) UnmarshalJSON ¶

func (*NullableListSpotMarketRequests200ResponseSpotMarketRequestsInner) Unset ¶

type NullableListSpotMarketRequests200ResponseSpotMarketRequestsInnerMetro ¶

type NullableListSpotMarketRequests200ResponseSpotMarketRequestsInnerMetro struct {
	// contains filtered or unexported fields
}

func (NullableListSpotMarketRequests200ResponseSpotMarketRequestsInnerMetro) Get ¶

func (NullableListSpotMarketRequests200ResponseSpotMarketRequestsInnerMetro) IsSet ¶

func (NullableListSpotMarketRequests200ResponseSpotMarketRequestsInnerMetro) MarshalJSON ¶

func (*NullableListSpotMarketRequests200ResponseSpotMarketRequestsInnerMetro) Set ¶

func (*NullableListSpotMarketRequests200ResponseSpotMarketRequestsInnerMetro) UnmarshalJSON ¶

func (*NullableListSpotMarketRequests200ResponseSpotMarketRequestsInnerMetro) 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.2.6

type NullableMetadata struct {
	// contains filtered or unexported fields
}

func NewNullableMetadata ¶ added in v0.2.6

func NewNullableMetadata(val *Metadata) *NullableMetadata

func (NullableMetadata) Get ¶ added in v0.2.6

func (v NullableMetadata) Get() *Metadata

func (NullableMetadata) IsSet ¶ added in v0.2.6

func (v NullableMetadata) IsSet() bool

func (NullableMetadata) MarshalJSON ¶ added in v0.2.6

func (v NullableMetadata) MarshalJSON() ([]byte, error)

func (*NullableMetadata) Set ¶ added in v0.2.6

func (v *NullableMetadata) Set(val *Metadata)

func (*NullableMetadata) UnmarshalJSON ¶ added in v0.2.6

func (v *NullableMetadata) UnmarshalJSON(src []byte) error

func (*NullableMetadata) Unset ¶ added in v0.2.6

func (v *NullableMetadata) Unset()

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 NullableMetalGatewayInput ¶

type NullableMetalGatewayInput struct {
	// contains filtered or unexported fields
}

func NewNullableMetalGatewayInput ¶

func NewNullableMetalGatewayInput(val *MetalGatewayInput) *NullableMetalGatewayInput

func (NullableMetalGatewayInput) Get ¶

func (NullableMetalGatewayInput) IsSet ¶

func (v NullableMetalGatewayInput) IsSet() bool

func (NullableMetalGatewayInput) MarshalJSON ¶

func (v NullableMetalGatewayInput) MarshalJSON() ([]byte, error)

func (*NullableMetalGatewayInput) Set ¶

func (*NullableMetalGatewayInput) UnmarshalJSON ¶

func (v *NullableMetalGatewayInput) UnmarshalJSON(src []byte) error

func (*NullableMetalGatewayInput) Unset ¶

func (v *NullableMetalGatewayInput) Unset()

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 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 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 NullableMetroCapacityList ¶

type NullableMetroCapacityList struct {
	// contains filtered or unexported fields
}

func NewNullableMetroCapacityList ¶

func NewNullableMetroCapacityList(val *MetroCapacityList) *NullableMetroCapacityList

func (NullableMetroCapacityList) Get ¶

func (NullableMetroCapacityList) IsSet ¶

func (v NullableMetroCapacityList) IsSet() bool

func (NullableMetroCapacityList) MarshalJSON ¶

func (v NullableMetroCapacityList) MarshalJSON() ([]byte, error)

func (*NullableMetroCapacityList) Set ¶

func (*NullableMetroCapacityList) UnmarshalJSON ¶

func (v *NullableMetroCapacityList) UnmarshalJSON(src []byte) error

func (*NullableMetroCapacityList) Unset ¶

func (v *NullableMetroCapacityList) Unset()

type NullableMetroCapacityReport ¶

type NullableMetroCapacityReport struct {
	// contains filtered or unexported fields
}

func (NullableMetroCapacityReport) Get ¶

func (NullableMetroCapacityReport) IsSet ¶

func (NullableMetroCapacityReport) MarshalJSON ¶

func (v NullableMetroCapacityReport) MarshalJSON() ([]byte, error)

func (*NullableMetroCapacityReport) Set ¶

func (*NullableMetroCapacityReport) UnmarshalJSON ¶

func (v *NullableMetroCapacityReport) UnmarshalJSON(src []byte) error

func (*NullableMetroCapacityReport) Unset ¶

func (v *NullableMetroCapacityReport) 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 NullableMetroServerInfo ¶

type NullableMetroServerInfo struct {
	// contains filtered or unexported fields
}

func NewNullableMetroServerInfo ¶

func NewNullableMetroServerInfo(val *MetroServerInfo) *NullableMetroServerInfo

func (NullableMetroServerInfo) Get ¶

func (NullableMetroServerInfo) IsSet ¶

func (v NullableMetroServerInfo) IsSet() bool

func (NullableMetroServerInfo) MarshalJSON ¶

func (v NullableMetroServerInfo) MarshalJSON() ([]byte, error)

func (*NullableMetroServerInfo) Set ¶

func (*NullableMetroServerInfo) UnmarshalJSON ¶

func (v *NullableMetroServerInfo) UnmarshalJSON(src []byte) error

func (*NullableMetroServerInfo) Unset ¶

func (v *NullableMetroServerInfo) Unset()

type NullableMoveHardwareReservation201Response ¶

type NullableMoveHardwareReservation201Response struct {
	// contains filtered or unexported fields
}

func (NullableMoveHardwareReservation201Response) Get ¶

func (NullableMoveHardwareReservation201Response) IsSet ¶

func (NullableMoveHardwareReservation201Response) MarshalJSON ¶

func (*NullableMoveHardwareReservation201Response) Set ¶

func (*NullableMoveHardwareReservation201Response) UnmarshalJSON ¶

func (v *NullableMoveHardwareReservation201Response) UnmarshalJSON(src []byte) error

func (*NullableMoveHardwareReservation201Response) Unset ¶

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 NullableOrganizationListInterconnections200Response ¶

type NullableOrganizationListInterconnections200Response struct {
	// contains filtered or unexported fields
}

func (NullableOrganizationListInterconnections200Response) Get ¶

func (NullableOrganizationListInterconnections200Response) IsSet ¶

func (NullableOrganizationListInterconnections200Response) MarshalJSON ¶

func (*NullableOrganizationListInterconnections200Response) Set ¶

func (*NullableOrganizationListInterconnections200Response) UnmarshalJSON ¶

func (*NullableOrganizationListInterconnections200Response) 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 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 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 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 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 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 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 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 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 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 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 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 NullableRequestBgpConfigRequest ¶

type NullableRequestBgpConfigRequest struct {
	// contains filtered or unexported fields
}

func (NullableRequestBgpConfigRequest) Get ¶

func (NullableRequestBgpConfigRequest) IsSet ¶

func (NullableRequestBgpConfigRequest) MarshalJSON ¶

func (v NullableRequestBgpConfigRequest) MarshalJSON() ([]byte, error)

func (*NullableRequestBgpConfigRequest) Set ¶

func (*NullableRequestBgpConfigRequest) UnmarshalJSON ¶

func (v *NullableRequestBgpConfigRequest) UnmarshalJSON(src []byte) error

func (*NullableRequestBgpConfigRequest) Unset ¶

type NullableRequestIPReservation201Response ¶ added in v0.2.6

type NullableRequestIPReservation201Response struct {
	// contains filtered or unexported fields
}

func NewNullableRequestIPReservation201Response ¶ added in v0.2.6

func NewNullableRequestIPReservation201Response(val *RequestIPReservation201Response) *NullableRequestIPReservation201Response

func (NullableRequestIPReservation201Response) Get ¶ added in v0.2.6

func (NullableRequestIPReservation201Response) IsSet ¶ added in v0.2.6

func (NullableRequestIPReservation201Response) MarshalJSON ¶ added in v0.2.6

func (v NullableRequestIPReservation201Response) MarshalJSON() ([]byte, error)

func (*NullableRequestIPReservation201Response) Set ¶ added in v0.2.6

func (*NullableRequestIPReservation201Response) UnmarshalJSON ¶ added in v0.2.6

func (v *NullableRequestIPReservation201Response) UnmarshalJSON(src []byte) error

func (*NullableRequestIPReservation201Response) Unset ¶ added in v0.2.6

type NullableRequestIPReservationRequest ¶ added in v0.2.6

type NullableRequestIPReservationRequest struct {
	// contains filtered or unexported fields
}

func NewNullableRequestIPReservationRequest ¶ added in v0.2.6

func NewNullableRequestIPReservationRequest(val *RequestIPReservationRequest) *NullableRequestIPReservationRequest

func (NullableRequestIPReservationRequest) Get ¶ added in v0.2.6

func (NullableRequestIPReservationRequest) IsSet ¶ added in v0.2.6

func (NullableRequestIPReservationRequest) MarshalJSON ¶ added in v0.2.6

func (v NullableRequestIPReservationRequest) MarshalJSON() ([]byte, error)

func (*NullableRequestIPReservationRequest) Set ¶ added in v0.2.6

func (*NullableRequestIPReservationRequest) UnmarshalJSON ¶ added in v0.2.6

func (v *NullableRequestIPReservationRequest) UnmarshalJSON(src []byte) error

func (*NullableRequestIPReservationRequest) Unset ¶ added in v0.2.6

type NullableRequestIPReservationRequestOneOf ¶ added in v0.2.6

type NullableRequestIPReservationRequestOneOf struct {
	// contains filtered or unexported fields
}

func NewNullableRequestIPReservationRequestOneOf ¶ added in v0.2.6

func NewNullableRequestIPReservationRequestOneOf(val *RequestIPReservationRequestOneOf) *NullableRequestIPReservationRequestOneOf

func (NullableRequestIPReservationRequestOneOf) Get ¶ added in v0.2.6

func (NullableRequestIPReservationRequestOneOf) IsSet ¶ added in v0.2.6

func (NullableRequestIPReservationRequestOneOf) MarshalJSON ¶ added in v0.2.6

func (*NullableRequestIPReservationRequestOneOf) Set ¶ added in v0.2.6

func (*NullableRequestIPReservationRequestOneOf) UnmarshalJSON ¶ added in v0.2.6

func (v *NullableRequestIPReservationRequestOneOf) UnmarshalJSON(src []byte) error

func (*NullableRequestIPReservationRequestOneOf) Unset ¶ added in v0.2.6

type NullableRequestIPReservationRequestOneOf1 ¶ added in v0.2.6

type NullableRequestIPReservationRequestOneOf1 struct {
	// contains filtered or unexported fields
}

func NewNullableRequestIPReservationRequestOneOf1 ¶ added in v0.2.6

func NewNullableRequestIPReservationRequestOneOf1(val *RequestIPReservationRequestOneOf1) *NullableRequestIPReservationRequestOneOf1

func (NullableRequestIPReservationRequestOneOf1) Get ¶ added in v0.2.6

func (NullableRequestIPReservationRequestOneOf1) IsSet ¶ added in v0.2.6

func (NullableRequestIPReservationRequestOneOf1) MarshalJSON ¶ added in v0.2.6

func (*NullableRequestIPReservationRequestOneOf1) Set ¶ added in v0.2.6

func (*NullableRequestIPReservationRequestOneOf1) UnmarshalJSON ¶ added in v0.2.6

func (v *NullableRequestIPReservationRequestOneOf1) UnmarshalJSON(src []byte) error

func (*NullableRequestIPReservationRequestOneOf1) Unset ¶ added in v0.2.6

type NullableRequestSuppertRequest ¶

type NullableRequestSuppertRequest struct {
	// contains filtered or unexported fields
}

func (NullableRequestSuppertRequest) Get ¶

func (NullableRequestSuppertRequest) IsSet ¶

func (NullableRequestSuppertRequest) MarshalJSON ¶

func (v NullableRequestSuppertRequest) MarshalJSON() ([]byte, error)

func (*NullableRequestSuppertRequest) Set ¶

func (*NullableRequestSuppertRequest) UnmarshalJSON ¶

func (v *NullableRequestSuppertRequest) UnmarshalJSON(src []byte) error

func (*NullableRequestSuppertRequest) Unset ¶

func (v *NullableRequestSuppertRequest) Unset()

type NullableResetPassword201Response ¶

type NullableResetPassword201Response struct {
	// contains filtered or unexported fields
}

func (NullableResetPassword201Response) Get ¶

func (NullableResetPassword201Response) IsSet ¶

func (NullableResetPassword201Response) MarshalJSON ¶

func (v NullableResetPassword201Response) MarshalJSON() ([]byte, error)

func (*NullableResetPassword201Response) Set ¶

func (*NullableResetPassword201Response) UnmarshalJSON ¶

func (v *NullableResetPassword201Response) UnmarshalJSON(src []byte) error

func (*NullableResetPassword201Response) Unset ¶

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 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 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 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 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 NullableUpdateCurrentUserRequest ¶

type NullableUpdateCurrentUserRequest struct {
	// contains filtered or unexported fields
}

func (NullableUpdateCurrentUserRequest) Get ¶

func (NullableUpdateCurrentUserRequest) IsSet ¶

func (NullableUpdateCurrentUserRequest) MarshalJSON ¶

func (v NullableUpdateCurrentUserRequest) MarshalJSON() ([]byte, error)

func (*NullableUpdateCurrentUserRequest) Set ¶

func (*NullableUpdateCurrentUserRequest) UnmarshalJSON ¶

func (v *NullableUpdateCurrentUserRequest) UnmarshalJSON(src []byte) error

func (*NullableUpdateCurrentUserRequest) Unset ¶

type NullableUpdateDeviceRequest ¶

type NullableUpdateDeviceRequest struct {
	// contains filtered or unexported fields
}

func (NullableUpdateDeviceRequest) Get ¶

func (NullableUpdateDeviceRequest) IsSet ¶

func (NullableUpdateDeviceRequest) MarshalJSON ¶

func (v NullableUpdateDeviceRequest) MarshalJSON() ([]byte, error)

func (*NullableUpdateDeviceRequest) Set ¶

func (*NullableUpdateDeviceRequest) UnmarshalJSON ¶

func (v *NullableUpdateDeviceRequest) UnmarshalJSON(src []byte) error

func (*NullableUpdateDeviceRequest) Unset ¶

func (v *NullableUpdateDeviceRequest) 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 NullableUpdateEmailRequest ¶

type NullableUpdateEmailRequest struct {
	// contains filtered or unexported fields
}

func NewNullableUpdateEmailRequest ¶

func NewNullableUpdateEmailRequest(val *UpdateEmailRequest) *NullableUpdateEmailRequest

func (NullableUpdateEmailRequest) Get ¶

func (NullableUpdateEmailRequest) IsSet ¶

func (v NullableUpdateEmailRequest) IsSet() bool

func (NullableUpdateEmailRequest) MarshalJSON ¶

func (v NullableUpdateEmailRequest) MarshalJSON() ([]byte, error)

func (*NullableUpdateEmailRequest) Set ¶

func (*NullableUpdateEmailRequest) UnmarshalJSON ¶

func (v *NullableUpdateEmailRequest) UnmarshalJSON(src []byte) error

func (*NullableUpdateEmailRequest) Unset ¶

func (v *NullableUpdateEmailRequest) Unset()

type NullableUpdateInterconnectionRequest ¶

type NullableUpdateInterconnectionRequest struct {
	// contains filtered or unexported fields
}

func (NullableUpdateInterconnectionRequest) Get ¶

func (NullableUpdateInterconnectionRequest) IsSet ¶

func (NullableUpdateInterconnectionRequest) MarshalJSON ¶

func (v NullableUpdateInterconnectionRequest) MarshalJSON() ([]byte, error)

func (*NullableUpdateInterconnectionRequest) Set ¶

func (*NullableUpdateInterconnectionRequest) UnmarshalJSON ¶

func (v *NullableUpdateInterconnectionRequest) UnmarshalJSON(src []byte) error

func (*NullableUpdateInterconnectionRequest) Unset ¶

type NullableUpdateLicenseRequest ¶

type NullableUpdateLicenseRequest struct {
	// contains filtered or unexported fields
}

func (NullableUpdateLicenseRequest) Get ¶

func (NullableUpdateLicenseRequest) IsSet ¶

func (NullableUpdateLicenseRequest) MarshalJSON ¶

func (v NullableUpdateLicenseRequest) MarshalJSON() ([]byte, error)

func (*NullableUpdateLicenseRequest) Set ¶

func (*NullableUpdateLicenseRequest) UnmarshalJSON ¶

func (v *NullableUpdateLicenseRequest) UnmarshalJSON(src []byte) error

func (*NullableUpdateLicenseRequest) Unset ¶

func (v *NullableUpdateLicenseRequest) Unset()

type NullableUpdateMembershipRequest ¶

type NullableUpdateMembershipRequest struct {
	// contains filtered or unexported fields
}

func (NullableUpdateMembershipRequest) Get ¶

func (NullableUpdateMembershipRequest) IsSet ¶

func (NullableUpdateMembershipRequest) MarshalJSON ¶

func (v NullableUpdateMembershipRequest) MarshalJSON() ([]byte, error)

func (*NullableUpdateMembershipRequest) Set ¶

func (*NullableUpdateMembershipRequest) UnmarshalJSON ¶

func (v *NullableUpdateMembershipRequest) UnmarshalJSON(src []byte) error

func (*NullableUpdateMembershipRequest) Unset ¶

type NullableUpdatePaymentMethodRequest ¶

type NullableUpdatePaymentMethodRequest struct {
	// contains filtered or unexported fields
}

func (NullableUpdatePaymentMethodRequest) Get ¶

func (NullableUpdatePaymentMethodRequest) IsSet ¶

func (NullableUpdatePaymentMethodRequest) MarshalJSON ¶

func (v NullableUpdatePaymentMethodRequest) MarshalJSON() ([]byte, error)

func (*NullableUpdatePaymentMethodRequest) Set ¶

func (*NullableUpdatePaymentMethodRequest) UnmarshalJSON ¶

func (v *NullableUpdatePaymentMethodRequest) UnmarshalJSON(src []byte) error

func (*NullableUpdatePaymentMethodRequest) Unset ¶

type NullableUpdateProjectRequest ¶

type NullableUpdateProjectRequest struct {
	// contains filtered or unexported fields
}

func (NullableUpdateProjectRequest) Get ¶

func (NullableUpdateProjectRequest) IsSet ¶

func (NullableUpdateProjectRequest) MarshalJSON ¶

func (v NullableUpdateProjectRequest) MarshalJSON() ([]byte, error)

func (*NullableUpdateProjectRequest) Set ¶

func (*NullableUpdateProjectRequest) UnmarshalJSON ¶

func (v *NullableUpdateProjectRequest) UnmarshalJSON(src []byte) error

func (*NullableUpdateProjectRequest) Unset ¶

func (v *NullableUpdateProjectRequest) Unset()

type NullableUpdateVirtualCircuitRequest ¶ added in v0.2.6

type NullableUpdateVirtualCircuitRequest struct {
	// contains filtered or unexported fields
}

func NewNullableUpdateVirtualCircuitRequest ¶ added in v0.2.6

func NewNullableUpdateVirtualCircuitRequest(val *UpdateVirtualCircuitRequest) *NullableUpdateVirtualCircuitRequest

func (NullableUpdateVirtualCircuitRequest) Get ¶ added in v0.2.6

func (NullableUpdateVirtualCircuitRequest) IsSet ¶ added in v0.2.6

func (NullableUpdateVirtualCircuitRequest) MarshalJSON ¶ added in v0.2.6

func (v NullableUpdateVirtualCircuitRequest) MarshalJSON() ([]byte, error)

func (*NullableUpdateVirtualCircuitRequest) Set ¶ added in v0.2.6

func (*NullableUpdateVirtualCircuitRequest) UnmarshalJSON ¶ added in v0.2.6

func (v *NullableUpdateVirtualCircuitRequest) UnmarshalJSON(src []byte) error

func (*NullableUpdateVirtualCircuitRequest) Unset ¶ added in v0.2.6

type NullableUpdateVirtualCircuitRequestOneOf ¶ added in v0.2.6

type NullableUpdateVirtualCircuitRequestOneOf struct {
	// contains filtered or unexported fields
}

func NewNullableUpdateVirtualCircuitRequestOneOf ¶ added in v0.2.6

func NewNullableUpdateVirtualCircuitRequestOneOf(val *UpdateVirtualCircuitRequestOneOf) *NullableUpdateVirtualCircuitRequestOneOf

func (NullableUpdateVirtualCircuitRequestOneOf) Get ¶ added in v0.2.6

func (NullableUpdateVirtualCircuitRequestOneOf) IsSet ¶ added in v0.2.6

func (NullableUpdateVirtualCircuitRequestOneOf) MarshalJSON ¶ added in v0.2.6

func (*NullableUpdateVirtualCircuitRequestOneOf) Set ¶ added in v0.2.6

func (*NullableUpdateVirtualCircuitRequestOneOf) UnmarshalJSON ¶ added in v0.2.6

func (v *NullableUpdateVirtualCircuitRequestOneOf) UnmarshalJSON(src []byte) error

func (*NullableUpdateVirtualCircuitRequestOneOf) Unset ¶ added in v0.2.6

type NullableUpdateVirtualCircuitRequestOneOf1 ¶ added in v0.2.6

type NullableUpdateVirtualCircuitRequestOneOf1 struct {
	// contains filtered or unexported fields
}

func NewNullableUpdateVirtualCircuitRequestOneOf1 ¶ added in v0.2.6

func NewNullableUpdateVirtualCircuitRequestOneOf1(val *UpdateVirtualCircuitRequestOneOf1) *NullableUpdateVirtualCircuitRequestOneOf1

func (NullableUpdateVirtualCircuitRequestOneOf1) Get ¶ added in v0.2.6

func (NullableUpdateVirtualCircuitRequestOneOf1) IsSet ¶ added in v0.2.6

func (NullableUpdateVirtualCircuitRequestOneOf1) MarshalJSON ¶ added in v0.2.6

func (*NullableUpdateVirtualCircuitRequestOneOf1) Set ¶ added in v0.2.6

func (*NullableUpdateVirtualCircuitRequestOneOf1) UnmarshalJSON ¶ added in v0.2.6

func (v *NullableUpdateVirtualCircuitRequestOneOf1) UnmarshalJSON(src []byte) error

func (*NullableUpdateVirtualCircuitRequestOneOf1) Unset ¶ added in v0.2.6

type NullableUpdateVrfRequest ¶

type NullableUpdateVrfRequest struct {
	// contains filtered or unexported fields
}

func NewNullableUpdateVrfRequest ¶

func NewNullableUpdateVrfRequest(val *UpdateVrfRequest) *NullableUpdateVrfRequest

func (NullableUpdateVrfRequest) Get ¶

func (NullableUpdateVrfRequest) IsSet ¶

func (v NullableUpdateVrfRequest) IsSet() bool

func (NullableUpdateVrfRequest) MarshalJSON ¶

func (v NullableUpdateVrfRequest) MarshalJSON() ([]byte, error)

func (*NullableUpdateVrfRequest) Set ¶

func (*NullableUpdateVrfRequest) UnmarshalJSON ¶

func (v *NullableUpdateVrfRequest) UnmarshalJSON(src []byte) error

func (*NullableUpdateVrfRequest) Unset ¶

func (v *NullableUpdateVrfRequest) 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 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.2.6

type NullableUserdata struct {
	// contains filtered or unexported fields
}

func NewNullableUserdata ¶ added in v0.2.6

func NewNullableUserdata(val *Userdata) *NullableUserdata

func (NullableUserdata) Get ¶ added in v0.2.6

func (v NullableUserdata) Get() *Userdata

func (NullableUserdata) IsSet ¶ added in v0.2.6

func (v NullableUserdata) IsSet() bool

func (NullableUserdata) MarshalJSON ¶ added in v0.2.6

func (v NullableUserdata) MarshalJSON() ([]byte, error)

func (*NullableUserdata) Set ¶ added in v0.2.6

func (v *NullableUserdata) Set(val *Userdata)

func (*NullableUserdata) UnmarshalJSON ¶ added in v0.2.6

func (v *NullableUserdata) UnmarshalJSON(src []byte) error

func (*NullableUserdata) Unset ¶ added in v0.2.6

func (v *NullableUserdata) 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 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 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 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 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 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 ¶

Execute executes the request

@return FindRecoveryCodes200Response

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 ¶

Execute executes the request

@return FindRecoveryCodes200Response

type OperatingSystem ¶

type OperatingSystem struct {
	Distro *string `json:"distro,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"`
}

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) GetDistro ¶

func (o *OperatingSystem) GetDistro() string

GetDistro returns the Distro field value if set, zero value otherwise.

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) HasDistro ¶

func (o *OperatingSystem) HasDistro() bool

HasDistro 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) SetDistro ¶

func (o *OperatingSystem) SetDistro(v string)

SetDistro gets a reference to the given string and assigns it to the Distro 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.

type OperatingSystemList ¶

type OperatingSystemList struct {
	OperatingSystems []FindDeviceById200ResponseOperatingSystem `json:"operating_systems,omitempty"`
}

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 ¶

GetOperatingSystems returns the OperatingSystems field value if set, zero value otherwise.

func (*OperatingSystemList) GetOperatingSystemsOk ¶

func (o *OperatingSystemList) GetOperatingSystemsOk() ([]FindDeviceById200ResponseOperatingSystem, 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 ¶

SetOperatingSystems gets a reference to the given []FindDeviceById200ResponseOperatingSystem and assigns it to the OperatingSystems field.

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 FindOperatingSystemVersion200Response

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 FindOperatingSystemVersion200Response

type Organization ¶

type Organization struct {
	Address        *FindDeviceById200ResponseFacilityAddress `json:"address,omitempty"`
	BillingAddress *FindDeviceById200ResponseFacilityAddress `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      []FindBatchById200ResponseDevicesInner `json:"members,omitempty"`
	Memberships  []FindBatchById200ResponseDevicesInner `json:"memberships,omitempty"`
	Name         *string                                `json:"name,omitempty"`
	Projects     []FindBatchById200ResponseDevicesInner `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"`
}

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 ¶

GetAddress returns the Address field value if set, zero value otherwise.

func (*Organization) GetAddressOk ¶

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 ¶

GetBillingAddress returns the BillingAddress field value if set, zero value otherwise.

func (*Organization) GetBillingAddressOk ¶

func (o *Organization) GetBillingAddressOk() (*FindDeviceById200ResponseFacilityAddress, 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() *os.File

GetLogo returns the Logo field value if set, zero value otherwise.

func (*Organization) GetLogoOk ¶

func (o *Organization) GetLogoOk() (**os.File, 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 ¶

GetMembers returns the Members field value if set, zero value otherwise.

func (*Organization) GetMembersOk ¶

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() []FindBatchById200ResponseDevicesInner

GetMemberships returns the Memberships field value if set, zero value otherwise.

func (*Organization) GetMembershipsOk ¶

func (o *Organization) GetMembershipsOk() ([]FindBatchById200ResponseDevicesInner, 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 ¶

GetProjects returns the Projects field value if set, zero value otherwise.

func (*Organization) GetProjectsOk ¶

func (o *Organization) GetProjectsOk() ([]FindBatchById200ResponseDevicesInner, 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 ¶

SetAddress gets a reference to the given FindDeviceById200ResponseFacilityAddress and assigns it to the Address field.

func (*Organization) SetBillingAddress ¶

SetBillingAddress gets a reference to the given FindDeviceById200ResponseFacilityAddress 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 *os.File)

SetLogo gets a reference to the given *os.File and assigns it to the Logo field.

func (*Organization) SetMembers ¶

SetMembers gets a reference to the given []FindBatchById200ResponseDevicesInner and assigns it to the Members field.

func (*Organization) SetMemberships ¶

func (o *Organization) SetMemberships(v []FindBatchById200ResponseDevicesInner)

SetMemberships gets a reference to the given []FindBatchById200ResponseDevicesInner 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 ¶

SetProjects gets a reference to the given []FindBatchById200ResponseDevicesInner 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.

type OrganizationInput ¶

type OrganizationInput struct {
	Address        *FindDeviceById200ResponseFacilityAddress `json:"address,omitempty"`
	BillingAddress *FindDeviceById200ResponseFacilityAddress `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"`
	Name         *string    `json:"name,omitempty"`
	Twitter      *string    `json:"twitter,omitempty"`
	Website      *string    `json:"website,omitempty"`
}

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 ¶

GetAddress returns the Address field value if set, zero value otherwise.

func (*OrganizationInput) GetAddressOk ¶

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 ¶

GetBillingAddress returns the BillingAddress field value if set, zero value otherwise.

func (*OrganizationInput) GetBillingAddressOk ¶

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() *os.File

GetLogo returns the Logo field value if set, zero value otherwise.

func (*OrganizationInput) GetLogoOk ¶

func (o *OrganizationInput) GetLogoOk() (**os.File, 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 ¶

SetAddress gets a reference to the given FindDeviceById200ResponseFacilityAddress and assigns it to the Address field.

func (*OrganizationInput) SetBillingAddress ¶

SetBillingAddress gets a reference to the given FindDeviceById200ResponseFacilityAddress 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 *os.File)

SetLogo gets a reference to the given *os.File 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.

type OrganizationList ¶

type OrganizationList struct {
	Meta          *FindDeviceEvents200ResponseMeta                 `json:"meta,omitempty"`
	Organizations []FindOrganizations200ResponseOrganizationsInner `json:"organizations,omitempty"`
}

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 ¶

GetMeta returns the Meta field value if set, zero value otherwise.

func (*OrganizationList) GetMetaOk ¶

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 ¶

GetOrganizations returns the Organizations field value if set, zero value otherwise.

func (*OrganizationList) GetOrganizationsOk ¶

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 ¶

SetMeta gets a reference to the given FindDeviceEvents200ResponseMeta and assigns it to the Meta field.

func (*OrganizationList) SetOrganizations ¶

SetOrganizations gets a reference to the given []FindOrganizations200ResponseOrganizationsInner and assigns it to the Organizations field.

type OrganizationListInterconnections200Response ¶

type OrganizationListInterconnections200Response struct {
	Interconnections []GetInterconnection200Response `json:"interconnections,omitempty"`
}

OrganizationListInterconnections200Response struct for OrganizationListInterconnections200Response

func NewOrganizationListInterconnections200Response ¶

func NewOrganizationListInterconnections200Response() *OrganizationListInterconnections200Response

NewOrganizationListInterconnections200Response instantiates a new OrganizationListInterconnections200Response 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 NewOrganizationListInterconnections200ResponseWithDefaults ¶

func NewOrganizationListInterconnections200ResponseWithDefaults() *OrganizationListInterconnections200Response

NewOrganizationListInterconnections200ResponseWithDefaults instantiates a new OrganizationListInterconnections200Response 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 (*OrganizationListInterconnections200Response) GetInterconnections ¶

GetInterconnections returns the Interconnections field value if set, zero value otherwise.

func (*OrganizationListInterconnections200Response) GetInterconnectionsOk ¶

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 (*OrganizationListInterconnections200Response) HasInterconnections ¶

func (o *OrganizationListInterconnections200Response) HasInterconnections() bool

HasInterconnections returns a boolean if a field has been set.

func (OrganizationListInterconnections200Response) MarshalJSON ¶

func (*OrganizationListInterconnections200Response) SetInterconnections ¶

SetInterconnections gets a reference to the given []GetInterconnection200Response and assigns it to the Interconnections field.

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 FindOrganizations200ResponseOrganizationsInner

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 ¶

Execute executes the request

@return FindInvitationById200Response

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 ¶

Execute executes the request

@return GetInterconnection200ResponsePortsInnerVirtualCircuitsVirtualCircuitsInnerAnyOf1VrfProject

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 FindOrganizationPaymentMethods200ResponsePaymentMethodsInner

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 FindOperatingSystemVersion200Response

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 FindOrganizations200ResponseOrganizationsInner

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 ¶

Execute executes the request

@return FindInvitations200Response

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 FindOrganizationPaymentMethods200Response

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 ¶

Execute executes the request

@return FindOrganizationProjects200Response

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 FindOrganizationTransfers200Response

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 FindOrganizations200Response

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 ¶

Execute executes the request

@return FindPlansByOrganization200Response

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 FindOrganizations200ResponseOrganizationsInner

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"`
}

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.

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 ResetPassword201Response

type PaymentMethod ¶

type PaymentMethod struct {
	BillingAddress  *FindOrganizationPaymentMethods200ResponsePaymentMethodsInnerBillingAddress `json:"billing_address,omitempty"`
	CardType        *string                                                                     `json:"card_type,omitempty"`
	CardholderName  *string                                                                     `json:"cardholder_name,omitempty"`
	CreatedAt       *time.Time                                                                  `json:"created_at,omitempty"`
	CreatedByUser   *FindBatchById200ResponseDevicesInner                                       `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    *FindBatchById200ResponseDevicesInner                                       `json:"organization,omitempty"`
	Projects        []FindBatchById200ResponseDevicesInner                                      `json:"projects,omitempty"`
	Type            *string                                                                     `json:"type,omitempty"`
	UpdatedAt       *time.Time                                                                  `json:"updated_at,omitempty"`
}

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 ¶

GetBillingAddress returns the BillingAddress field value if set, zero value otherwise.

func (*PaymentMethod) GetBillingAddressOk ¶

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 ¶

GetCreatedByUser returns the CreatedByUser field value if set, zero value otherwise.

func (*PaymentMethod) GetCreatedByUserOk ¶

func (o *PaymentMethod) GetCreatedByUserOk() (*FindBatchById200ResponseDevicesInner, 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 ¶

GetOrganization returns the Organization field value if set, zero value otherwise.

func (*PaymentMethod) GetOrganizationOk ¶

func (o *PaymentMethod) GetOrganizationOk() (*FindBatchById200ResponseDevicesInner, 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 ¶

GetProjects returns the Projects field value if set, zero value otherwise.

func (*PaymentMethod) GetProjectsOk ¶

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 ¶

SetBillingAddress gets a reference to the given FindOrganizationPaymentMethods200ResponsePaymentMethodsInnerBillingAddress 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 FindBatchById200ResponseDevicesInner)

SetCreatedByUser gets a reference to the given FindBatchById200ResponseDevicesInner 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 ¶

SetOrganization gets a reference to the given FindBatchById200ResponseDevicesInner and assigns it to the Organization field.

func (*PaymentMethod) SetProjects ¶

SetProjects gets a reference to the given []FindBatchById200ResponseDevicesInner 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.

type PaymentMethodBillingAddress ¶

type PaymentMethodBillingAddress struct {
	CountryCodeAlpha2 *string `json:"country_code_alpha2,omitempty"`
	PostalCode        *string `json:"postal_code,omitempty"`
	StreetAddress     *string `json:"street_address,omitempty"`
}

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.

type PaymentMethodCreateInput ¶

type PaymentMethodCreateInput struct {
	Default *bool  `json:"default,omitempty"`
	Name    string `json:"name"`
	Nonce   string `json:"nonce"`
}

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

type PaymentMethodList ¶

type PaymentMethodList struct {
	PaymentMethods []FindOrganizationPaymentMethods200ResponsePaymentMethodsInner `json:"payment_methods,omitempty"`
}

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 ¶

GetPaymentMethods returns the PaymentMethods field value if set, zero value otherwise.

func (*PaymentMethodList) GetPaymentMethodsOk ¶

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 ¶

SetPaymentMethods gets a reference to the given []FindOrganizationPaymentMethods200ResponsePaymentMethodsInner and assigns it to the PaymentMethods field.

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"`
}

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.

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 FindOrganizationPaymentMethods200ResponsePaymentMethodsInner

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 FindOrganizationPaymentMethods200ResponsePaymentMethodsInner

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 []FindDeviceById200ResponsePlanAvailableInInner `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 []FindDeviceById200ResponsePlanAvailableInMetrosInner `json:"available_in_metros,omitempty"`
	Class             *string                                               `json:"class,omitempty"`
	Description       *string                                               `json:"description,omitempty"`
	DeploymentTypes   []string                                              `json:"deployment_types,omitempty"`
	Id                *string                                               `json:"id,omitempty"`
	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             *FindDeviceById200ResponsePlanSpecs                   `json:"specs,omitempty"`
	// The plan type
	Type *string `json:"type,omitempty"`
}

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 ¶

GetAvailableIn returns the AvailableIn field value if set, zero value otherwise.

func (*Plan) GetAvailableInMetros ¶

func (o *Plan) GetAvailableInMetros() []FindDeviceById200ResponsePlanAvailableInMetrosInner

GetAvailableInMetros returns the AvailableInMetros field value if set, zero value otherwise.

func (*Plan) GetAvailableInMetrosOk ¶

func (o *Plan) GetAvailableInMetrosOk() ([]FindDeviceById200ResponsePlanAvailableInMetrosInner, 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() ([]FindDeviceById200ResponsePlanAvailableInInner, 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) 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 ¶

func (o *Plan) GetDeploymentTypes() []string

GetDeploymentTypes returns the DeploymentTypes field value if set, zero value otherwise.

func (*Plan) GetDeploymentTypesOk ¶

func (o *Plan) GetDeploymentTypesOk() ([]string, 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 ¶

GetSpecs returns the Specs field value if set, zero value otherwise.

func (*Plan) GetSpecsOk ¶

func (o *Plan) GetSpecsOk() (*FindDeviceById200ResponsePlanSpecs, 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 ¶

func (o *Plan) GetType() string

GetType returns the Type field value if set, zero value otherwise.

func (*Plan) GetTypeOk ¶

func (o *Plan) 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 (*Plan) HasAvailableIn ¶

func (o *Plan) HasAvailableIn() bool

HasAvailableIn returns a boolean if a field has been set.

func (*Plan) HasAvailableInMetros ¶

func (o *Plan) HasAvailableInMetros() bool

HasAvailableInMetros 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 ¶

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 ¶

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 []FindDeviceById200ResponsePlanAvailableInInner)

SetAvailableIn gets a reference to the given []FindDeviceById200ResponsePlanAvailableInInner and assigns it to the AvailableIn field.

func (*Plan) SetAvailableInMetros ¶

func (o *Plan) SetAvailableInMetros(v []FindDeviceById200ResponsePlanAvailableInMetrosInner)

SetAvailableInMetros gets a reference to the given []FindDeviceById200ResponsePlanAvailableInMetrosInner and assigns it to the AvailableInMetros 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 ¶

func (o *Plan) SetDeploymentTypes(v []string)

SetDeploymentTypes gets a reference to the given []string 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 ¶

SetSpecs gets a reference to the given FindDeviceById200ResponsePlanSpecs and assigns it to the Specs field.

func (*Plan) SetType ¶

func (o *Plan) SetType(v string)

SetType gets a reference to the given string and assigns it to the Type field.

type PlanList ¶

type PlanList struct {
	Plans []FindDeviceById200ResponsePlan `json:"plans,omitempty"`
}

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() []FindDeviceById200ResponsePlan

GetPlans returns the Plans field value if set, zero value otherwise.

func (*PlanList) GetPlansOk ¶

func (o *PlanList) GetPlansOk() ([]FindDeviceById200ResponsePlan, 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 []FindDeviceById200ResponsePlan)

SetPlans gets a reference to the given []FindDeviceById200ResponsePlan and assigns it to the Plans field.

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 ¶

Execute executes the request

@return FindPlansByOrganization200Response

func (*PlansApiService) FindPlansExecute ¶

Execute executes the request

@return FindPlansByOrganization200Response

type Port ¶

type Port struct {
	Bond *FindDeviceById200ResponseNetworkPortsInnerBond `json:"bond,omitempty"`
	Data *FindDeviceById200ResponseNetworkPortsInnerData `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 is either \"NetworkBondPort\" for bond ports or \"NetworkPort\" for bondable ethernet ports
	Type *string `json:"type,omitempty"`
	// Composite network type of the bond
	NetworkType          *string                                                         `json:"network_type,omitempty"`
	NativeVirtualNetwork *FindDeviceById200ResponseNetworkPortsInnerNativeVirtualNetwork `json:"native_virtual_network,omitempty"`
	VirtualNetworks      []FindBatchById200ResponseDevicesInner                          `json:"virtual_networks,omitempty"`
}

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 ¶

GetBond returns the Bond field value if set, zero value otherwise.

func (*Port) GetBondOk ¶

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 ¶

GetData returns the Data field value if set, zero value otherwise.

func (*Port) GetDataOk ¶

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 ¶

GetNativeVirtualNetwork returns the NativeVirtualNetwork field value if set, zero value otherwise.

func (*Port) GetNativeVirtualNetworkOk ¶

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 ¶

func (o *Port) GetNetworkType() string

GetNetworkType returns the NetworkType field value if set, zero value otherwise.

func (*Port) GetNetworkTypeOk ¶

func (o *Port) GetNetworkTypeOk() (*string, 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() string

GetType returns the Type field value if set, zero value otherwise.

func (*Port) GetTypeOk ¶

func (o *Port) 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 (*Port) GetVirtualNetworks ¶

func (o *Port) GetVirtualNetworks() []FindBatchById200ResponseDevicesInner

GetVirtualNetworks returns the VirtualNetworks field value if set, zero value otherwise.

func (*Port) GetVirtualNetworksOk ¶

func (o *Port) GetVirtualNetworksOk() ([]FindBatchById200ResponseDevicesInner, 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 ¶

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 ¶

func (o *Port) HasNativeVirtualNetwork() bool

HasNativeVirtualNetwork returns a boolean if a field has been set.

func (*Port) HasNetworkType ¶

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 ¶

SetBond gets a reference to the given FindDeviceById200ResponseNetworkPortsInnerBond and assigns it to the Bond field.

func (*Port) SetData ¶

SetData gets a reference to the given FindDeviceById200ResponseNetworkPortsInnerData 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 ¶

SetNativeVirtualNetwork gets a reference to the given FindDeviceById200ResponseNetworkPortsInnerNativeVirtualNetwork and assigns it to the NativeVirtualNetwork field.

func (*Port) SetNetworkType ¶

func (o *Port) SetNetworkType(v string)

SetNetworkType gets a reference to the given string and assigns it to the NetworkType field.

func (*Port) SetType ¶

func (o *Port) SetType(v string)

SetType gets a reference to the given string and assigns it to the Type field.

func (*Port) SetVirtualNetworks ¶

func (o *Port) SetVirtualNetworks(v []FindBatchById200ResponseDevicesInner)

SetVirtualNetworks gets a reference to the given []FindBatchById200ResponseDevicesInner and assigns it to the VirtualNetworks field.

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"`
}

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.

type PortConvertLayer3Input ¶

type PortConvertLayer3Input struct {
	RequestIps []ConvertLayer3RequestRequestIpsInner `json:"request_ips,omitempty"`
}

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 []ConvertLayer3RequestRequestIpsInner and assigns it to the RequestIps field.

type PortVlanAssignment ¶

type PortVlanAssignment struct {
	CreatedAt      *time.Time                            `json:"created_at,omitempty"`
	Id             *string                               `json:"id,omitempty"`
	Native         *bool                                 `json:"native,omitempty"`
	Port           *FindBatchById200ResponseDevicesInner `json:"port,omitempty"`
	State          *string                               `json:"state,omitempty"`
	UpdatedAt      *time.Time                            `json:"updated_at,omitempty"`
	VirtualNetwork *FindBatchById200ResponseDevicesInner `json:"virtual_network,omitempty"`
	Vlan           *int32                                `json:"vlan,omitempty"`
}

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 ¶

GetPort returns the Port field value if set, zero value otherwise.

func (*PortVlanAssignment) GetPortOk ¶

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 ¶

func (o *PortVlanAssignment) GetState() string

GetState returns the State field value if set, zero value otherwise.

func (*PortVlanAssignment) GetStateOk ¶

func (o *PortVlanAssignment) 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 (*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 ¶

GetVirtualNetwork returns the VirtualNetwork field value if set, zero value otherwise.

func (*PortVlanAssignment) GetVirtualNetworkOk ¶

func (o *PortVlanAssignment) GetVirtualNetworkOk() (*FindBatchById200ResponseDevicesInner, 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 ¶

SetPort gets a reference to the given FindBatchById200ResponseDevicesInner and assigns it to the Port field.

func (*PortVlanAssignment) SetState ¶

func (o *PortVlanAssignment) SetState(v string)

SetState gets a reference to the given string 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 ¶

SetVirtualNetwork gets a reference to the given FindBatchById200ResponseDevicesInner 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.

type PortVlanAssignmentBatch ¶

type PortVlanAssignmentBatch struct {
	CreatedAt       *time.Time                                                                 `json:"created_at,omitempty"`
	ErrorMessages   []string                                                                   `json:"error_messages,omitempty"`
	Id              *string                                                                    `json:"id,omitempty"`
	Port            *FindDeviceById200ResponseNetworkPortsInner                                `json:"port,omitempty"`
	Quantity        *int32                                                                     `json:"quantity,omitempty"`
	State           *string                                                                    `json:"state,omitempty"`
	UpdatedAt       *time.Time                                                                 `json:"updated_at,omitempty"`
	VlanAssignments []FindPortVlanAssignmentBatches200ResponseBatchesInnerVlanAssignmentsInner `json:"vlan_assignments,omitempty"`
}

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 ¶

GetPort returns the Port field value if set, zero value otherwise.

func (*PortVlanAssignmentBatch) GetPortOk ¶

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) 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 ¶

func (o *PortVlanAssignmentBatch) GetState() string

GetState returns the State field value if set, zero value otherwise.

func (*PortVlanAssignmentBatch) GetStateOk ¶

func (o *PortVlanAssignmentBatch) 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 (*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) 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 ¶

SetPort gets a reference to the given FindDeviceById200ResponseNetworkPortsInner and assigns it to the Port 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 ¶

func (o *PortVlanAssignmentBatch) SetState(v string)

SetState gets a reference to the given string 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 []FindPortVlanAssignmentBatches200ResponseBatchesInnerVlanAssignmentsInner and assigns it to the VlanAssignments field.

type PortVlanAssignmentBatchCreateInput ¶

type PortVlanAssignmentBatchCreateInput struct {
	VlanAssignments []CreatePortVlanAssignmentBatchRequestVlanAssignmentsInner `json:"vlan_assignments,omitempty"`
}

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 []CreatePortVlanAssignmentBatchRequestVlanAssignmentsInner and assigns it to the VlanAssignments field.

type PortVlanAssignmentBatchList ¶

type PortVlanAssignmentBatchList struct {
	Batches []FindPortVlanAssignmentBatches200ResponseBatchesInner `json:"batches,omitempty"`
}

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 []FindPortVlanAssignmentBatches200ResponseBatchesInner and assigns it to the Batches field.

type PortVlanAssignmentList ¶

type PortVlanAssignmentList struct {
	VlanAssignments []FindPortVlanAssignments200ResponseVlanAssignmentsInner `json:"vlan_assignments,omitempty"`
}

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 ¶

GetVlanAssignments returns the VlanAssignments field value if set, zero value otherwise.

func (*PortVlanAssignmentList) 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 (*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 ¶

SetVlanAssignments gets a reference to the given []FindPortVlanAssignments200ResponseVlanAssignmentsInner and assigns it to the VlanAssignments field.

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 ¶

Execute executes the request

@return FindDeviceById200ResponseNetworkPortsInner

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 ¶

Execute executes the request

@return FindDeviceById200ResponseNetworkPortsInner

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 ¶

Execute executes the request

@return FindDeviceById200ResponseNetworkPortsInner

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 ¶

Execute executes the request

@return FindDeviceById200ResponseNetworkPortsInner

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 ¶

Execute executes the request

@return FindDeviceById200ResponseNetworkPortsInner

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 ¶

Execute executes the request

@return FindPortVlanAssignmentBatches200ResponseBatchesInner

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 ¶

Execute executes the request

@return FindDeviceById200ResponseNetworkPortsInner

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 ¶

Execute executes the request

@return FindDeviceById200ResponseNetworkPortsInner

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 ¶

Execute executes the request

@return FindDeviceById200ResponseNetworkPortsInner

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 ¶

Execute executes the request

@return FindPortVlanAssignmentBatches200ResponseBatchesInner

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 FindPortVlanAssignmentBatches200Response

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 ¶

Execute executes the request

@return FindPortVlanAssignments200ResponseVlanAssignmentsInner

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 FindPortVlanAssignments200Response

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 ¶

Execute executes the request

@return FindDeviceById200ResponseNetworkPortsInner

type Project ¶

type Project struct {
	BgpConfig     *FindBatchById200ResponseDevicesInner  `json:"bgp_config,omitempty"`
	CreatedAt     *time.Time                             `json:"created_at,omitempty"`
	Customdata    map[string]interface{}                 `json:"customdata,omitempty"`
	Devices       []FindBatchById200ResponseDevicesInner `json:"devices,omitempty"`
	Id            *string                                `json:"id,omitempty"`
	Invitations   []FindBatchById200ResponseDevicesInner `json:"invitations,omitempty"`
	MaxDevices    map[string]interface{}                 `json:"max_devices,omitempty"`
	Members       []FindBatchById200ResponseDevicesInner `json:"members,omitempty"`
	Memberships   []FindBatchById200ResponseDevicesInner `json:"memberships,omitempty"`
	Name          *string                                `json:"name,omitempty"`
	NetworkStatus map[string]interface{}                 `json:"network_status,omitempty"`
	PaymentMethod *FindBatchById200ResponseDevicesInner  `json:"payment_method,omitempty"`
	SshKeys       []FindBatchById200ResponseDevicesInner `json:"ssh_keys,omitempty"`
	UpdatedAt     *time.Time                             `json:"updated_at,omitempty"`
	Volumes       []FindBatchById200ResponseDevicesInner `json:"volumes,omitempty"`
}

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 ¶

GetBgpConfig returns the BgpConfig field value if set, zero value otherwise.

func (*Project) GetBgpConfigOk ¶

func (o *Project) GetBgpConfigOk() (*FindBatchById200ResponseDevicesInner, 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 ¶

GetDevices returns the Devices field value if set, zero value otherwise.

func (*Project) GetDevicesOk ¶

func (o *Project) GetDevicesOk() ([]FindBatchById200ResponseDevicesInner, 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) 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() []FindBatchById200ResponseDevicesInner

GetInvitations returns the Invitations field value if set, zero value otherwise.

func (*Project) GetInvitationsOk ¶

func (o *Project) GetInvitationsOk() ([]FindBatchById200ResponseDevicesInner, 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 ¶

GetMembers returns the Members field value if set, zero value otherwise.

func (*Project) GetMembersOk ¶

func (o *Project) GetMembersOk() ([]FindBatchById200ResponseDevicesInner, 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() []FindBatchById200ResponseDevicesInner

GetMemberships returns the Memberships field value if set, zero value otherwise.

func (*Project) GetMembershipsOk ¶

func (o *Project) GetMembershipsOk() ([]FindBatchById200ResponseDevicesInner, 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) GetPaymentMethod ¶

func (o *Project) GetPaymentMethod() FindBatchById200ResponseDevicesInner

GetPaymentMethod returns the PaymentMethod field value if set, zero value otherwise.

func (*Project) GetPaymentMethodOk ¶

func (o *Project) GetPaymentMethodOk() (*FindBatchById200ResponseDevicesInner, 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 ¶

GetSshKeys returns the SshKeys field value if set, zero value otherwise.

func (*Project) GetSshKeysOk ¶

func (o *Project) GetSshKeysOk() ([]FindBatchById200ResponseDevicesInner, 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) 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 ¶

GetVolumes returns the Volumes field value if set, zero value otherwise.

func (*Project) GetVolumesOk ¶

func (o *Project) GetVolumesOk() ([]FindBatchById200ResponseDevicesInner, 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) 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) 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) 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 FindBatchById200ResponseDevicesInner)

SetBgpConfig gets a reference to the given FindBatchById200ResponseDevicesInner 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 []FindBatchById200ResponseDevicesInner)

SetDevices gets a reference to the given []FindBatchById200ResponseDevicesInner and assigns it to the Devices 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 []FindBatchById200ResponseDevicesInner)

SetInvitations gets a reference to the given []FindBatchById200ResponseDevicesInner 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 []FindBatchById200ResponseDevicesInner)

SetMembers gets a reference to the given []FindBatchById200ResponseDevicesInner and assigns it to the Members field.

func (*Project) SetMemberships ¶

func (o *Project) SetMemberships(v []FindBatchById200ResponseDevicesInner)

SetMemberships gets a reference to the given []FindBatchById200ResponseDevicesInner 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) SetPaymentMethod ¶

func (o *Project) SetPaymentMethod(v FindBatchById200ResponseDevicesInner)

SetPaymentMethod gets a reference to the given FindBatchById200ResponseDevicesInner and assigns it to the PaymentMethod field.

func (*Project) SetSshKeys ¶

func (o *Project) SetSshKeys(v []FindBatchById200ResponseDevicesInner)

SetSshKeys gets a reference to the given []FindBatchById200ResponseDevicesInner and assigns it to the SshKeys 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 []FindBatchById200ResponseDevicesInner)

SetVolumes gets a reference to the given []FindBatchById200ResponseDevicesInner and assigns it to the Volumes field.

type ProjectCreateFromRootInput ¶

type ProjectCreateFromRootInput struct {
	Customdata      map[string]interface{} `json:"customdata,omitempty"`
	Name            string                 `json:"name"`
	OrganizationId  *string                `json:"organization_id,omitempty"`
	PaymentMethodId *string                `json:"payment_method_id,omitempty"`
}

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) 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) 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.

type ProjectCreateInput ¶

type ProjectCreateInput struct {
	Customdata      map[string]interface{} `json:"customdata,omitempty"`
	Name            string                 `json:"name"`
	PaymentMethodId *string                `json:"payment_method_id,omitempty"`
}

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) 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) 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.

type ProjectList ¶

type ProjectList struct {
	Meta     *FindDeviceEvents200ResponseMeta                                                             `json:"meta,omitempty"`
	Projects []GetInterconnection200ResponsePortsInnerVirtualCircuitsVirtualCircuitsInnerAnyOf1VrfProject `json:"projects,omitempty"`
}

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 ¶

GetMeta returns the Meta field value if set, zero value otherwise.

func (*ProjectList) GetMetaOk ¶

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 ¶

GetProjects returns the Projects field value if set, zero value otherwise.

func (*ProjectList) GetProjectsOk ¶

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 ¶

SetMeta gets a reference to the given FindDeviceEvents200ResponseMeta and assigns it to the Meta field.

func (*ProjectList) SetProjects ¶

SetProjects gets a reference to the given []GetInterconnection200ResponsePortsInnerVirtualCircuitsVirtualCircuitsInnerAnyOf1VrfProject and assigns it to the Projects field.

type ProjectUpdateInput ¶

type ProjectUpdateInput struct {
	BackendTransferEnabled *bool                  `json:"backend_transfer_enabled,omitempty"`
	Customdata             map[string]interface{} `json:"customdata,omitempty"`
	Name                   *string                `json:"name,omitempty"`
	PaymentMethodId        *string                `json:"payment_method_id,omitempty"`
}

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) 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) 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.

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"`
}

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.

type ProjectUsageList ¶

type ProjectUsageList struct {
	Usages []FindProjectUsage200ResponseUsagesInner `json:"usages,omitempty"`
}

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 ¶

GetUsages returns the Usages field value if set, zero value otherwise.

func (*ProjectUsageList) GetUsagesOk ¶

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 ¶

SetUsages gets a reference to the given []FindProjectUsage200ResponseUsagesInner and assigns it to the Usages field.

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 ¶

Execute executes the request

@return GetInterconnection200ResponsePortsInnerVirtualCircuitsVirtualCircuitsInnerAnyOf1VrfProject

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 ¶

Execute executes the request

@return FindInvitationById200Response

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

func (*ProjectsApiService) CreateTransferRequestExecute ¶

Execute executes the request

@return FindOrganizationTransfers200ResponseTransfersInner

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 ¶

Execute executes the request

@return GetInterconnection200ResponsePortsInnerVirtualCircuitsVirtualCircuitsInnerAnyOf1VrfProject

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 ¶

Execute executes the request

@return FindInvitations200Response

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 ¶

Execute executes the request

@return FindProjectMemberships200Response

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 ¶

Execute executes the request

@return FindOrganizationProjects200Response

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 ¶

Execute executes the request

@return GetInterconnection200ResponsePortsInnerVirtualCircuitsVirtualCircuitsInnerAnyOf1VrfProject

type RecoveryCodeList ¶

type RecoveryCodeList struct {
	RecoveryCodes []string `json:"recovery_codes,omitempty"`
}

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.

type RequestBgpConfigRequest ¶

type RequestBgpConfigRequest struct {
	Asn            int32   `json:"asn"`
	DeploymentType string  `json:"deployment_type"`
	Md5            *string `json:"md5,omitempty"`
	UseCase        *string `json:"use_case,omitempty"`
}

RequestBgpConfigRequest struct for RequestBgpConfigRequest

func NewRequestBgpConfigRequest ¶

func NewRequestBgpConfigRequest(asn int32, deploymentType string) *RequestBgpConfigRequest

NewRequestBgpConfigRequest instantiates a new RequestBgpConfigRequest 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 NewRequestBgpConfigRequestWithDefaults ¶

func NewRequestBgpConfigRequestWithDefaults() *RequestBgpConfigRequest

NewRequestBgpConfigRequestWithDefaults instantiates a new RequestBgpConfigRequest 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 (*RequestBgpConfigRequest) GetAsn ¶

func (o *RequestBgpConfigRequest) GetAsn() int32

GetAsn returns the Asn field value

func (*RequestBgpConfigRequest) GetAsnOk ¶

func (o *RequestBgpConfigRequest) GetAsnOk() (*int32, bool)

GetAsnOk returns a tuple with the Asn field value and a boolean to check if the value has been set.

func (*RequestBgpConfigRequest) GetDeploymentType ¶

func (o *RequestBgpConfigRequest) GetDeploymentType() string

GetDeploymentType returns the DeploymentType field value

func (*RequestBgpConfigRequest) GetDeploymentTypeOk ¶

func (o *RequestBgpConfigRequest) GetDeploymentTypeOk() (*string, bool)

GetDeploymentTypeOk returns a tuple with the DeploymentType field value and a boolean to check if the value has been set.

func (*RequestBgpConfigRequest) GetMd5 ¶

func (o *RequestBgpConfigRequest) GetMd5() string

GetMd5 returns the Md5 field value if set, zero value otherwise.

func (*RequestBgpConfigRequest) GetMd5Ok ¶

func (o *RequestBgpConfigRequest) 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 (*RequestBgpConfigRequest) GetUseCase ¶

func (o *RequestBgpConfigRequest) GetUseCase() string

GetUseCase returns the UseCase field value if set, zero value otherwise.

func (*RequestBgpConfigRequest) GetUseCaseOk ¶

func (o *RequestBgpConfigRequest) 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 (*RequestBgpConfigRequest) HasMd5 ¶

func (o *RequestBgpConfigRequest) HasMd5() bool

HasMd5 returns a boolean if a field has been set.

func (*RequestBgpConfigRequest) HasUseCase ¶

func (o *RequestBgpConfigRequest) HasUseCase() bool

HasUseCase returns a boolean if a field has been set.

func (RequestBgpConfigRequest) MarshalJSON ¶

func (o RequestBgpConfigRequest) MarshalJSON() ([]byte, error)

func (*RequestBgpConfigRequest) SetAsn ¶

func (o *RequestBgpConfigRequest) SetAsn(v int32)

SetAsn sets field value

func (*RequestBgpConfigRequest) SetDeploymentType ¶

func (o *RequestBgpConfigRequest) SetDeploymentType(v string)

SetDeploymentType sets field value

func (*RequestBgpConfigRequest) SetMd5 ¶

func (o *RequestBgpConfigRequest) SetMd5(v string)

SetMd5 gets a reference to the given string and assigns it to the Md5 field.

func (*RequestBgpConfigRequest) SetUseCase ¶

func (o *RequestBgpConfigRequest) SetUseCase(v string)

SetUseCase gets a reference to the given string and assigns it to the UseCase field.

type RequestIPReservation201Response ¶ added in v0.2.6

type RequestIPReservation201Response struct {
	FindIPAddressById200ResponseOneOf  *FindIPAddressById200ResponseOneOf
	FindIPAddressById200ResponseOneOf1 *FindIPAddressById200ResponseOneOf1
}

RequestIPReservation201Response - struct for RequestIPReservation201Response

func FindIPAddressById200ResponseOneOf1AsRequestIPReservation201Response ¶ added in v0.2.6

func FindIPAddressById200ResponseOneOf1AsRequestIPReservation201Response(v *FindIPAddressById200ResponseOneOf1) RequestIPReservation201Response

FindIPAddressById200ResponseOneOf1AsRequestIPReservation201Response is a convenience function that returns FindIPAddressById200ResponseOneOf1 wrapped in RequestIPReservation201Response

func FindIPAddressById200ResponseOneOfAsRequestIPReservation201Response ¶ added in v0.2.6

func FindIPAddressById200ResponseOneOfAsRequestIPReservation201Response(v *FindIPAddressById200ResponseOneOf) RequestIPReservation201Response

FindIPAddressById200ResponseOneOfAsRequestIPReservation201Response is a convenience function that returns FindIPAddressById200ResponseOneOf wrapped in RequestIPReservation201Response

func (*RequestIPReservation201Response) GetActualInstance ¶ added in v0.2.6

func (obj *RequestIPReservation201Response) GetActualInstance() interface{}

Get the actual instance

func (RequestIPReservation201Response) MarshalJSON ¶ added in v0.2.6

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.2.6

func (dst *RequestIPReservation201Response) UnmarshalJSON(data []byte) error

Unmarshal JSON data into one of the pointers in the struct

type RequestIPReservationRequest ¶ added in v0.2.6

type RequestIPReservationRequest struct {
	RequestIPReservationRequestOneOf  *RequestIPReservationRequestOneOf
	RequestIPReservationRequestOneOf1 *RequestIPReservationRequestOneOf1
}

RequestIPReservationRequest - struct for RequestIPReservationRequest

func RequestIPReservationRequestOneOf1AsRequestIPReservationRequest ¶ added in v0.2.6

func RequestIPReservationRequestOneOf1AsRequestIPReservationRequest(v *RequestIPReservationRequestOneOf1) RequestIPReservationRequest

RequestIPReservationRequestOneOf1AsRequestIPReservationRequest is a convenience function that returns RequestIPReservationRequestOneOf1 wrapped in RequestIPReservationRequest

func RequestIPReservationRequestOneOfAsRequestIPReservationRequest ¶ added in v0.2.6

func RequestIPReservationRequestOneOfAsRequestIPReservationRequest(v *RequestIPReservationRequestOneOf) RequestIPReservationRequest

RequestIPReservationRequestOneOfAsRequestIPReservationRequest is a convenience function that returns RequestIPReservationRequestOneOf wrapped in RequestIPReservationRequest

func (*RequestIPReservationRequest) GetActualInstance ¶ added in v0.2.6

func (obj *RequestIPReservationRequest) GetActualInstance() interface{}

Get the actual instance

func (RequestIPReservationRequest) MarshalJSON ¶ added in v0.2.6

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.2.6

func (dst *RequestIPReservationRequest) UnmarshalJSON(data []byte) error

Unmarshal JSON data into one of the pointers in the struct

type RequestIPReservationRequestOneOf ¶ added in v0.2.6

type RequestIPReservationRequestOneOf 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"`
}

RequestIPReservationRequestOneOf struct for RequestIPReservationRequestOneOf

func NewRequestIPReservationRequestOneOf ¶ added in v0.2.6

func NewRequestIPReservationRequestOneOf(quantity int32, type_ string) *RequestIPReservationRequestOneOf

NewRequestIPReservationRequestOneOf instantiates a new RequestIPReservationRequestOneOf 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 NewRequestIPReservationRequestOneOfWithDefaults ¶ added in v0.2.6

func NewRequestIPReservationRequestOneOfWithDefaults() *RequestIPReservationRequestOneOf

NewRequestIPReservationRequestOneOfWithDefaults instantiates a new RequestIPReservationRequestOneOf 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 (*RequestIPReservationRequestOneOf) GetComments ¶ added in v0.2.6

func (o *RequestIPReservationRequestOneOf) GetComments() string

GetComments returns the Comments field value if set, zero value otherwise.

func (*RequestIPReservationRequestOneOf) GetCommentsOk ¶ added in v0.2.6

func (o *RequestIPReservationRequestOneOf) 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 (*RequestIPReservationRequestOneOf) GetCustomdata ¶ added in v0.2.6

func (o *RequestIPReservationRequestOneOf) GetCustomdata() map[string]interface{}

GetCustomdata returns the Customdata field value if set, zero value otherwise.

func (*RequestIPReservationRequestOneOf) GetCustomdataOk ¶ added in v0.2.6

func (o *RequestIPReservationRequestOneOf) 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 (*RequestIPReservationRequestOneOf) GetDetails ¶ added in v0.2.6

func (o *RequestIPReservationRequestOneOf) GetDetails() string

GetDetails returns the Details field value if set, zero value otherwise.

func (*RequestIPReservationRequestOneOf) GetDetailsOk ¶ added in v0.2.6

func (o *RequestIPReservationRequestOneOf) 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 (*RequestIPReservationRequestOneOf) GetFacility ¶ added in v0.2.6

func (o *RequestIPReservationRequestOneOf) GetFacility() string

GetFacility returns the Facility field value if set, zero value otherwise.

func (*RequestIPReservationRequestOneOf) GetFacilityOk ¶ added in v0.2.6

func (o *RequestIPReservationRequestOneOf) 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 (*RequestIPReservationRequestOneOf) GetFailOnApprovalRequired ¶ added in v0.2.6

func (o *RequestIPReservationRequestOneOf) GetFailOnApprovalRequired() bool

GetFailOnApprovalRequired returns the FailOnApprovalRequired field value if set, zero value otherwise.

func (*RequestIPReservationRequestOneOf) GetFailOnApprovalRequiredOk ¶ added in v0.2.6

func (o *RequestIPReservationRequestOneOf) 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 (*RequestIPReservationRequestOneOf) GetMetro ¶ added in v0.2.6

GetMetro returns the Metro field value if set, zero value otherwise.

func (*RequestIPReservationRequestOneOf) GetMetroOk ¶ added in v0.2.6

func (o *RequestIPReservationRequestOneOf) 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 (*RequestIPReservationRequestOneOf) GetQuantity ¶ added in v0.2.6

func (o *RequestIPReservationRequestOneOf) GetQuantity() int32

GetQuantity returns the Quantity field value

func (*RequestIPReservationRequestOneOf) GetQuantityOk ¶ added in v0.2.6

func (o *RequestIPReservationRequestOneOf) GetQuantityOk() (*int32, bool)

GetQuantityOk returns a tuple with the Quantity field value and a boolean to check if the value has been set.

func (*RequestIPReservationRequestOneOf) GetTags ¶ added in v0.2.6

GetTags returns the Tags field value if set, zero value otherwise.

func (*RequestIPReservationRequestOneOf) GetTagsOk ¶ added in v0.2.6

func (o *RequestIPReservationRequestOneOf) 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 (*RequestIPReservationRequestOneOf) GetType ¶ added in v0.2.6

GetType returns the Type field value

func (*RequestIPReservationRequestOneOf) GetTypeOk ¶ added in v0.2.6

func (o *RequestIPReservationRequestOneOf) GetTypeOk() (*string, bool)

GetTypeOk returns a tuple with the Type field value and a boolean to check if the value has been set.

func (*RequestIPReservationRequestOneOf) HasComments ¶ added in v0.2.6

func (o *RequestIPReservationRequestOneOf) HasComments() bool

HasComments returns a boolean if a field has been set.

func (*RequestIPReservationRequestOneOf) HasCustomdata ¶ added in v0.2.6

func (o *RequestIPReservationRequestOneOf) HasCustomdata() bool

HasCustomdata returns a boolean if a field has been set.

func (*RequestIPReservationRequestOneOf) HasDetails ¶ added in v0.2.6

func (o *RequestIPReservationRequestOneOf) HasDetails() bool

HasDetails returns a boolean if a field has been set.

func (*RequestIPReservationRequestOneOf) HasFacility ¶ added in v0.2.6

func (o *RequestIPReservationRequestOneOf) HasFacility() bool

HasFacility returns a boolean if a field has been set.

func (*RequestIPReservationRequestOneOf) HasFailOnApprovalRequired ¶ added in v0.2.6

func (o *RequestIPReservationRequestOneOf) HasFailOnApprovalRequired() bool

HasFailOnApprovalRequired returns a boolean if a field has been set.

func (*RequestIPReservationRequestOneOf) HasMetro ¶ added in v0.2.6

func (o *RequestIPReservationRequestOneOf) HasMetro() bool

HasMetro returns a boolean if a field has been set.

func (*RequestIPReservationRequestOneOf) HasTags ¶ added in v0.2.6

HasTags returns a boolean if a field has been set.

func (RequestIPReservationRequestOneOf) MarshalJSON ¶ added in v0.2.6

func (o RequestIPReservationRequestOneOf) MarshalJSON() ([]byte, error)

func (*RequestIPReservationRequestOneOf) SetComments ¶ added in v0.2.6

func (o *RequestIPReservationRequestOneOf) SetComments(v string)

SetComments gets a reference to the given string and assigns it to the Comments field.

func (*RequestIPReservationRequestOneOf) SetCustomdata ¶ added in v0.2.6

func (o *RequestIPReservationRequestOneOf) SetCustomdata(v map[string]interface{})

SetCustomdata gets a reference to the given map[string]interface{} and assigns it to the Customdata field.

func (*RequestIPReservationRequestOneOf) SetDetails ¶ added in v0.2.6

func (o *RequestIPReservationRequestOneOf) SetDetails(v string)

SetDetails gets a reference to the given string and assigns it to the Details field.

func (*RequestIPReservationRequestOneOf) SetFacility ¶ added in v0.2.6

func (o *RequestIPReservationRequestOneOf) SetFacility(v string)

SetFacility gets a reference to the given string and assigns it to the Facility field.

func (*RequestIPReservationRequestOneOf) SetFailOnApprovalRequired ¶ added in v0.2.6

func (o *RequestIPReservationRequestOneOf) SetFailOnApprovalRequired(v bool)

SetFailOnApprovalRequired gets a reference to the given bool and assigns it to the FailOnApprovalRequired field.

func (*RequestIPReservationRequestOneOf) SetMetro ¶ added in v0.2.6

SetMetro gets a reference to the given string and assigns it to the Metro field.

func (*RequestIPReservationRequestOneOf) SetQuantity ¶ added in v0.2.6

func (o *RequestIPReservationRequestOneOf) SetQuantity(v int32)

SetQuantity sets field value

func (*RequestIPReservationRequestOneOf) SetTags ¶ added in v0.2.6

func (o *RequestIPReservationRequestOneOf) SetTags(v []string)

SetTags gets a reference to the given []string and assigns it to the Tags field.

func (*RequestIPReservationRequestOneOf) SetType ¶ added in v0.2.6

SetType sets field value

type RequestIPReservationRequestOneOf1 ¶ added in v0.2.6

type RequestIPReservationRequestOneOf1 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"`
}

RequestIPReservationRequestOneOf1 struct for RequestIPReservationRequestOneOf1

func NewRequestIPReservationRequestOneOf1 ¶ added in v0.2.6

func NewRequestIPReservationRequestOneOf1(cidr int32, network string, type_ string, vrfId string) *RequestIPReservationRequestOneOf1

NewRequestIPReservationRequestOneOf1 instantiates a new RequestIPReservationRequestOneOf1 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 NewRequestIPReservationRequestOneOf1WithDefaults ¶ added in v0.2.6

func NewRequestIPReservationRequestOneOf1WithDefaults() *RequestIPReservationRequestOneOf1

NewRequestIPReservationRequestOneOf1WithDefaults instantiates a new RequestIPReservationRequestOneOf1 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 (*RequestIPReservationRequestOneOf1) GetCidr ¶ added in v0.2.6

GetCidr returns the Cidr field value

func (*RequestIPReservationRequestOneOf1) GetCidrOk ¶ added in v0.2.6

func (o *RequestIPReservationRequestOneOf1) GetCidrOk() (*int32, bool)

GetCidrOk returns a tuple with the Cidr field value and a boolean to check if the value has been set.

func (*RequestIPReservationRequestOneOf1) GetCustomdata ¶ added in v0.2.6

func (o *RequestIPReservationRequestOneOf1) GetCustomdata() map[string]interface{}

GetCustomdata returns the Customdata field value if set, zero value otherwise.

func (*RequestIPReservationRequestOneOf1) GetCustomdataOk ¶ added in v0.2.6

func (o *RequestIPReservationRequestOneOf1) 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 (*RequestIPReservationRequestOneOf1) GetDetails ¶ added in v0.2.6

func (o *RequestIPReservationRequestOneOf1) GetDetails() string

GetDetails returns the Details field value if set, zero value otherwise.

func (*RequestIPReservationRequestOneOf1) GetDetailsOk ¶ added in v0.2.6

func (o *RequestIPReservationRequestOneOf1) 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 (*RequestIPReservationRequestOneOf1) GetNetwork ¶ added in v0.2.6

func (o *RequestIPReservationRequestOneOf1) GetNetwork() string

GetNetwork returns the Network field value

func (*RequestIPReservationRequestOneOf1) GetNetworkOk ¶ added in v0.2.6

func (o *RequestIPReservationRequestOneOf1) GetNetworkOk() (*string, bool)

GetNetworkOk returns a tuple with the Network field value and a boolean to check if the value has been set.

func (*RequestIPReservationRequestOneOf1) GetTags ¶ added in v0.2.6

GetTags returns the Tags field value if set, zero value otherwise.

func (*RequestIPReservationRequestOneOf1) GetTagsOk ¶ added in v0.2.6

func (o *RequestIPReservationRequestOneOf1) 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 (*RequestIPReservationRequestOneOf1) GetType ¶ added in v0.2.6

GetType returns the Type field value

func (*RequestIPReservationRequestOneOf1) GetTypeOk ¶ added in v0.2.6

func (o *RequestIPReservationRequestOneOf1) GetTypeOk() (*string, bool)

GetTypeOk returns a tuple with the Type field value and a boolean to check if the value has been set.

func (*RequestIPReservationRequestOneOf1) GetVrfId ¶ added in v0.2.6

GetVrfId returns the VrfId field value

func (*RequestIPReservationRequestOneOf1) GetVrfIdOk ¶ added in v0.2.6

func (o *RequestIPReservationRequestOneOf1) GetVrfIdOk() (*string, bool)

GetVrfIdOk returns a tuple with the VrfId field value and a boolean to check if the value has been set.

func (*RequestIPReservationRequestOneOf1) HasCustomdata ¶ added in v0.2.6

func (o *RequestIPReservationRequestOneOf1) HasCustomdata() bool

HasCustomdata returns a boolean if a field has been set.

func (*RequestIPReservationRequestOneOf1) HasDetails ¶ added in v0.2.6

func (o *RequestIPReservationRequestOneOf1) HasDetails() bool

HasDetails returns a boolean if a field has been set.

func (*RequestIPReservationRequestOneOf1) HasTags ¶ added in v0.2.6

HasTags returns a boolean if a field has been set.

func (RequestIPReservationRequestOneOf1) MarshalJSON ¶ added in v0.2.6

func (o RequestIPReservationRequestOneOf1) MarshalJSON() ([]byte, error)

func (*RequestIPReservationRequestOneOf1) SetCidr ¶ added in v0.2.6

SetCidr sets field value

func (*RequestIPReservationRequestOneOf1) SetCustomdata ¶ added in v0.2.6

func (o *RequestIPReservationRequestOneOf1) SetCustomdata(v map[string]interface{})

SetCustomdata gets a reference to the given map[string]interface{} and assigns it to the Customdata field.

func (*RequestIPReservationRequestOneOf1) SetDetails ¶ added in v0.2.6

func (o *RequestIPReservationRequestOneOf1) SetDetails(v string)

SetDetails gets a reference to the given string and assigns it to the Details field.

func (*RequestIPReservationRequestOneOf1) SetNetwork ¶ added in v0.2.6

func (o *RequestIPReservationRequestOneOf1) SetNetwork(v string)

SetNetwork sets field value

func (*RequestIPReservationRequestOneOf1) SetTags ¶ added in v0.2.6

func (o *RequestIPReservationRequestOneOf1) SetTags(v []string)

SetTags gets a reference to the given []string and assigns it to the Tags field.

func (*RequestIPReservationRequestOneOf1) SetType ¶ added in v0.2.6

SetType sets field value

func (*RequestIPReservationRequestOneOf1) SetVrfId ¶ added in v0.2.6

SetVrfId sets field value

type RequestSuppertRequest ¶

type RequestSuppertRequest struct {
	DeviceId  *string `json:"device_id,omitempty"`
	Message   string  `json:"message"`
	Priority  *string `json:"priority,omitempty"`
	ProjectId *string `json:"project_id,omitempty"`
	Subject   string  `json:"subject"`
}

RequestSuppertRequest struct for RequestSuppertRequest

func NewRequestSuppertRequest ¶

func NewRequestSuppertRequest(message string, subject string) *RequestSuppertRequest

NewRequestSuppertRequest instantiates a new RequestSuppertRequest 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 NewRequestSuppertRequestWithDefaults ¶

func NewRequestSuppertRequestWithDefaults() *RequestSuppertRequest

NewRequestSuppertRequestWithDefaults instantiates a new RequestSuppertRequest 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 (*RequestSuppertRequest) GetDeviceId ¶

func (o *RequestSuppertRequest) GetDeviceId() string

GetDeviceId returns the DeviceId field value if set, zero value otherwise.

func (*RequestSuppertRequest) GetDeviceIdOk ¶

func (o *RequestSuppertRequest) 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 (*RequestSuppertRequest) GetMessage ¶

func (o *RequestSuppertRequest) GetMessage() string

GetMessage returns the Message field value

func (*RequestSuppertRequest) GetMessageOk ¶

func (o *RequestSuppertRequest) GetMessageOk() (*string, bool)

GetMessageOk returns a tuple with the Message field value and a boolean to check if the value has been set.

func (*RequestSuppertRequest) GetPriority ¶

func (o *RequestSuppertRequest) GetPriority() string

GetPriority returns the Priority field value if set, zero value otherwise.

func (*RequestSuppertRequest) GetPriorityOk ¶

func (o *RequestSuppertRequest) GetPriorityOk() (*string, 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 (*RequestSuppertRequest) GetProjectId ¶

func (o *RequestSuppertRequest) GetProjectId() string

GetProjectId returns the ProjectId field value if set, zero value otherwise.

func (*RequestSuppertRequest) GetProjectIdOk ¶

func (o *RequestSuppertRequest) 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 (*RequestSuppertRequest) GetSubject ¶

func (o *RequestSuppertRequest) GetSubject() string

GetSubject returns the Subject field value

func (*RequestSuppertRequest) GetSubjectOk ¶

func (o *RequestSuppertRequest) GetSubjectOk() (*string, bool)

GetSubjectOk returns a tuple with the Subject field value and a boolean to check if the value has been set.

func (*RequestSuppertRequest) HasDeviceId ¶

func (o *RequestSuppertRequest) HasDeviceId() bool

HasDeviceId returns a boolean if a field has been set.

func (*RequestSuppertRequest) HasPriority ¶

func (o *RequestSuppertRequest) HasPriority() bool

HasPriority returns a boolean if a field has been set.

func (*RequestSuppertRequest) HasProjectId ¶

func (o *RequestSuppertRequest) HasProjectId() bool

HasProjectId returns a boolean if a field has been set.

func (RequestSuppertRequest) MarshalJSON ¶

func (o RequestSuppertRequest) MarshalJSON() ([]byte, error)

func (*RequestSuppertRequest) SetDeviceId ¶

func (o *RequestSuppertRequest) SetDeviceId(v string)

SetDeviceId gets a reference to the given string and assigns it to the DeviceId field.

func (*RequestSuppertRequest) SetMessage ¶

func (o *RequestSuppertRequest) SetMessage(v string)

SetMessage sets field value

func (*RequestSuppertRequest) SetPriority ¶

func (o *RequestSuppertRequest) SetPriority(v string)

SetPriority gets a reference to the given string and assigns it to the Priority field.

func (*RequestSuppertRequest) SetProjectId ¶

func (o *RequestSuppertRequest) SetProjectId(v string)

SetProjectId gets a reference to the given string and assigns it to the ProjectId field.

func (*RequestSuppertRequest) SetSubject ¶

func (o *RequestSuppertRequest) SetSubject(v string)

SetSubject sets field value

type ResetPassword201Response ¶

type ResetPassword201Response struct {
	NewPassword *string `json:"new_password,omitempty"`
}

ResetPassword201Response struct for ResetPassword201Response

func NewResetPassword201Response ¶

func NewResetPassword201Response() *ResetPassword201Response

NewResetPassword201Response instantiates a new ResetPassword201Response 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 NewResetPassword201ResponseWithDefaults ¶

func NewResetPassword201ResponseWithDefaults() *ResetPassword201Response

NewResetPassword201ResponseWithDefaults instantiates a new ResetPassword201Response 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 (*ResetPassword201Response) GetNewPassword ¶

func (o *ResetPassword201Response) GetNewPassword() string

GetNewPassword returns the NewPassword field value if set, zero value otherwise.

func (*ResetPassword201Response) GetNewPasswordOk ¶

func (o *ResetPassword201Response) 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 (*ResetPassword201Response) HasNewPassword ¶

func (o *ResetPassword201Response) HasNewPassword() bool

HasNewPassword returns a boolean if a field has been set.

func (ResetPassword201Response) MarshalJSON ¶

func (o ResetPassword201Response) MarshalJSON() ([]byte, error)

func (*ResetPassword201Response) SetNewPassword ¶

func (o *ResetPassword201Response) SetNewPassword(v string)

SetNewPassword gets a reference to the given string and assigns it to the NewPassword field.

type SSHKey ¶

type SSHKey struct {
	CreatedAt   *time.Time                            `json:"created_at,omitempty"`
	Entity      *FindBatchById200ResponseDevicesInner `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"`
}

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 ¶

GetEntity returns the Entity field value if set, zero value otherwise.

func (*SSHKey) GetEntityOk ¶

func (o *SSHKey) GetEntityOk() (*FindBatchById200ResponseDevicesInner, 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) 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) 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 ¶

SetEntity gets a reference to the given FindBatchById200ResponseDevicesInner 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) SetUpdatedAt ¶

func (o *SSHKey) SetUpdatedAt(v time.Time)

SetUpdatedAt gets a reference to the given time.Time and assigns it to the UpdatedAt field.

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"`
}

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) 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) 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.

type SSHKeyInput ¶

type SSHKeyInput struct {
	Key   *string `json:"key,omitempty"`
	Label *string `json:"label,omitempty"`
}

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) 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) 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.

type SSHKeyList ¶

type SSHKeyList struct {
	SshKeys []FindDeviceSSHKeys200ResponseSshKeysInner `json:"ssh_keys,omitempty"`
}

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 ¶

GetSshKeys returns the SshKeys field value if set, zero value otherwise.

func (*SSHKeyList) GetSshKeysOk ¶

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 ¶

SetSshKeys gets a reference to the given []FindDeviceSSHKeys200ResponseSshKeysInner and assigns it to the SshKeys field.

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 ¶

Execute executes the request

@return FindDeviceSSHKeys200ResponseSshKeysInner

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 ¶

Execute executes the request

@return FindDeviceSSHKeys200ResponseSshKeysInner

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 ¶

Execute executes the request

@return FindDeviceSSHKeys200Response

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 ¶

Execute executes the request

@return FindDeviceSSHKeys200Response

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 ¶

Execute executes the request

@return FindDeviceSSHKeys200ResponseSshKeysInner

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 ¶

Execute executes the request

@return FindDeviceSSHKeys200Response

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 ¶

Execute executes the request

@return FindDeviceSSHKeys200ResponseSshKeysInner

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"`
}

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.

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"`
	Quantity  *int32   `json:"quantity,omitempty"`
	Term      *string  `json:"term,omitempty"`
}

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) 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) 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) 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.

type SelfServiceReservationList ¶

type SelfServiceReservationList struct {
	Reservations []FindSelfServiceReservations200ResponseReservationsInner `json:"reservations,omitempty"`
}

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 []FindSelfServiceReservations200ResponseReservationsInner and assigns it to the Reservations field.

type SelfServiceReservationResponse ¶

type SelfServiceReservationResponse struct {
	CreatedAt      *time.Time                                                         `json:"created_at,omitempty"`
	Item           []FindSelfServiceReservations200ResponseReservationsInnerItemInner `json:"item,omitempty"`
	Notes          *string                                                            `json:"notes,omitempty"`
	Organization   *string                                                            `json:"organization,omitempty"`
	OrganizationId *string                                                            `json:"organization_id,omitempty"`
	Period         *FindSelfServiceReservations200ResponseReservationsInnerPeriod     `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"`
}

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 []FindSelfServiceReservations200ResponseReservationsInnerItemInner 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 FindSelfServiceReservations200ResponseReservationsInnerPeriod 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.

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 FindSelfServiceReservations200ResponseReservationsInner

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 FindSelfServiceReservations200ResponseReservationsInner

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 FindSelfServiceReservations200Response

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 {
	Facility *string `json:"facility,omitempty"`
	Plan     *string `json:"plan,omitempty"`
	Quantity *string `json:"quantity,omitempty"`
}

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.

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.

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) 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.

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.

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 ListSpotMarketRequests200ResponseSpotMarketRequestsInner

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 FindMetroSpotMarketPrices200Response

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 FindSpotMarketPrices200Response

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 FindSpotMarketPricesHistory200Response

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 ListSpotMarketRequests200ResponseSpotMarketRequestsInner

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 ListSpotMarketRequests200Response

type SpotMarketPricesList ¶

type SpotMarketPricesList struct {
	SpotMarketPrices *FindSpotMarketPrices200ResponseSpotMarketPrices `json:"spot_market_prices,omitempty"`
}

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 ¶

GetSpotMarketPrices returns the SpotMarketPrices field value if set, zero value otherwise.

func (*SpotMarketPricesList) GetSpotMarketPricesOk ¶

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 ¶

SetSpotMarketPrices gets a reference to the given FindSpotMarketPrices200ResponseSpotMarketPrices and assigns it to the SpotMarketPrices field.

type SpotMarketPricesPerMetroList ¶

type SpotMarketPricesPerMetroList struct {
	SpotMarketPrices *FindMetroSpotMarketPrices200ResponseSpotMarketPrices `json:"spot_market_prices,omitempty"`
}

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 ¶

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 FindMetroSpotMarketPrices200ResponseSpotMarketPrices and assigns it to the SpotMarketPrices field.

type SpotMarketPricesPerMetroReport ¶

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 FindSpotMarketPrices200ResponseSpotMarketPricesAms1 and assigns it to the Am field.

func (*SpotMarketPricesPerMetroReport) SetCh ¶

SetCh gets a reference to the given FindSpotMarketPrices200ResponseSpotMarketPricesAms1 and assigns it to the Ch field.

func (*SpotMarketPricesPerMetroReport) SetDa ¶

SetDa gets a reference to the given FindSpotMarketPrices200ResponseSpotMarketPricesAms1 and assigns it to the Da field.

func (*SpotMarketPricesPerMetroReport) SetLa ¶

SetLa gets a reference to the given FindSpotMarketPrices200ResponseSpotMarketPricesAms1 and assigns it to the La field.

func (*SpotMarketPricesPerMetroReport) SetNy ¶

SetNy gets a reference to the given FindSpotMarketPrices200ResponseSpotMarketPricesAms1 and assigns it to the Ny field.

func (*SpotMarketPricesPerMetroReport) SetSg ¶

SetSg gets a reference to the given FindSpotMarketPrices200ResponseSpotMarketPricesAms1 and assigns it to the Sg field.

func (*SpotMarketPricesPerMetroReport) SetSv ¶

SetSv gets a reference to the given FindSpotMarketPrices200ResponseSpotMarketPricesAms1 and assigns it to the Sv field.

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  *FindBatchById200ResponseDevicesInner                          `json:"facilities,omitempty"`
	Href        *string                                                        `json:"href,omitempty"`
	Id          *string                                                        `json:"id,omitempty"`
	Instances   *FindBatchById200ResponseDevicesInner                          `json:"instances,omitempty"`
	MaxBidPrice *float32                                                       `json:"max_bid_price,omitempty"`
	Metro       *ListSpotMarketRequests200ResponseSpotMarketRequestsInnerMetro `json:"metro,omitempty"`
	Project     *FindBatchById200ResponseDevicesInner                          `json:"project,omitempty"`
}

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 ¶

GetFacilities returns the Facilities field value if set, zero value otherwise.

func (*SpotMarketRequest) GetFacilitiesOk ¶

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 ¶

GetInstances returns the Instances field value if set, zero value otherwise.

func (*SpotMarketRequest) GetInstancesOk ¶

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 ¶

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 ¶

GetProject returns the Project field value if set, zero value otherwise.

func (*SpotMarketRequest) GetProjectOk ¶

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 ¶

SetFacilities gets a reference to the given FindBatchById200ResponseDevicesInner 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 ¶

SetInstances gets a reference to the given FindBatchById200ResponseDevicesInner 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 ListSpotMarketRequests200ResponseSpotMarketRequestsInnerMetro and assigns it to the Metro field.

func (*SpotMarketRequest) SetProject ¶

SetProject gets a reference to the given FindBatchById200ResponseDevicesInner and assigns it to the Project field.

type SpotMarketRequestCreateInput ¶

type SpotMarketRequestCreateInput struct {
	DevicesMax         *int32                                            `json:"devices_max,omitempty"`
	DevicesMin         *int32                                            `json:"devices_min,omitempty"`
	EndAt              *time.Time                                        `json:"end_at,omitempty"`
	Facilities         []string                                          `json:"facilities,omitempty"`
	InstanceAttributes *CreateSpotMarketRequestRequestInstanceAttributes `json:"instance_attributes,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"`
}

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.

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.

func (*SpotMarketRequestCreateInput) GetInstanceAttributes ¶

GetInstanceAttributes returns the InstanceAttributes field value if set, zero value otherwise.

func (*SpotMarketRequestCreateInput) GetInstanceAttributesOk ¶

GetInstanceAttributesOk returns a tuple with the InstanceAttributes 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) HasInstanceAttributes ¶

func (o *SpotMarketRequestCreateInput) HasInstanceAttributes() bool

HasInstanceAttributes 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.

func (*SpotMarketRequestCreateInput) SetInstanceAttributes ¶

SetInstanceAttributes gets a reference to the given CreateSpotMarketRequestRequestInstanceAttributes and assigns it to the InstanceAttributes 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.

type SpotMarketRequestList ¶

type SpotMarketRequestList struct {
	SpotMarketRequests []ListSpotMarketRequests200ResponseSpotMarketRequestsInner `json:"spot_market_requests,omitempty"`
}

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 ¶

GetSpotMarketRequests returns the SpotMarketRequests field value if set, zero value otherwise.

func (*SpotMarketRequestList) GetSpotMarketRequestsOk ¶

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 ¶

SetSpotMarketRequests gets a reference to the given []ListSpotMarketRequests200ResponseSpotMarketRequestsInner and assigns it to the SpotMarketRequests field.

type SpotPricesDatapoints ¶

type SpotPricesDatapoints struct {
	Datapoints [][]float32 `json:"datapoints,omitempty"`
}

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.

type SpotPricesHistoryReport ¶

type SpotPricesHistoryReport struct {
	PricesHistory *FindSpotMarketPricesHistory200ResponsePricesHistory `json:"prices_history,omitempty"`
}

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 ¶

GetPricesHistory returns the PricesHistory field value if set, zero value otherwise.

func (*SpotPricesHistoryReport) GetPricesHistoryOk ¶

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 ¶

SetPricesHistory gets a reference to the given FindSpotMarketPricesHistory200ResponsePricesHistory and assigns it to the PricesHistory field.

type SpotPricesPerBaremetal ¶

type SpotPricesPerBaremetal struct {
	Price *float32 `json:"price,omitempty"`
}

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.

type SpotPricesPerFacility ¶

type SpotPricesPerFacility struct {
	Baremetal0   *FindSpotMarketPrices200ResponseSpotMarketPricesAms1Baremetal0 `json:"baremetal_0,omitempty"`
	Baremetal1   *FindSpotMarketPrices200ResponseSpotMarketPricesAms1Baremetal0 `json:"baremetal_1,omitempty"`
	Baremetal2   *FindSpotMarketPrices200ResponseSpotMarketPricesAms1Baremetal0 `json:"baremetal_2,omitempty"`
	Baremetal2a  *FindSpotMarketPrices200ResponseSpotMarketPricesAms1Baremetal0 `json:"baremetal_2a,omitempty"`
	Baremetal2a2 *FindSpotMarketPrices200ResponseSpotMarketPricesAms1Baremetal0 `json:"baremetal_2a2,omitempty"`
	Baremetal3   *FindSpotMarketPrices200ResponseSpotMarketPricesAms1Baremetal0 `json:"baremetal_3,omitempty"`
	BaremetalS   *FindSpotMarketPrices200ResponseSpotMarketPricesAms1Baremetal0 `json:"baremetal_s,omitempty"`
	C2MediumX86  *FindSpotMarketPrices200ResponseSpotMarketPricesAms1Baremetal0 `json:"c2.medium.x86,omitempty"`
	M2XlargeX86  *FindSpotMarketPrices200ResponseSpotMarketPricesAms1Baremetal0 `json:"m2.xlarge.x86,omitempty"`
}

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 ¶

GetBaremetal0 returns the Baremetal0 field value if set, zero value otherwise.

func (*SpotPricesPerFacility) GetBaremetal0Ok ¶

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 ¶

GetBaremetal1 returns the Baremetal1 field value if set, zero value otherwise.

func (*SpotPricesPerFacility) GetBaremetal1Ok ¶

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 ¶

GetBaremetal2 returns the Baremetal2 field value if set, zero value otherwise.

func (*SpotPricesPerFacility) GetBaremetal2Ok ¶

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 ¶

GetBaremetal2a returns the Baremetal2a field value if set, zero value otherwise.

func (*SpotPricesPerFacility) GetBaremetal2a2 ¶

GetBaremetal2a2 returns the Baremetal2a2 field value if set, zero value otherwise.

func (*SpotPricesPerFacility) GetBaremetal2a2Ok ¶

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 ¶

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 ¶

GetBaremetal3 returns the Baremetal3 field value if set, zero value otherwise.

func (*SpotPricesPerFacility) GetBaremetal3Ok ¶

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 ¶

GetBaremetalS returns the BaremetalS field value if set, zero value otherwise.

func (*SpotPricesPerFacility) GetBaremetalSOk ¶

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 ¶

GetC2MediumX86 returns the C2MediumX86 field value if set, zero value otherwise.

func (*SpotPricesPerFacility) GetC2MediumX86Ok ¶

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 ¶

GetM2XlargeX86 returns the M2XlargeX86 field value if set, zero value otherwise.

func (*SpotPricesPerFacility) GetM2XlargeX86Ok ¶

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 ¶

SetBaremetal0 gets a reference to the given FindSpotMarketPrices200ResponseSpotMarketPricesAms1Baremetal0 and assigns it to the Baremetal0 field.

func (*SpotPricesPerFacility) SetBaremetal1 ¶

SetBaremetal1 gets a reference to the given FindSpotMarketPrices200ResponseSpotMarketPricesAms1Baremetal0 and assigns it to the Baremetal1 field.

func (*SpotPricesPerFacility) SetBaremetal2 ¶

SetBaremetal2 gets a reference to the given FindSpotMarketPrices200ResponseSpotMarketPricesAms1Baremetal0 and assigns it to the Baremetal2 field.

func (*SpotPricesPerFacility) SetBaremetal2a ¶

SetBaremetal2a gets a reference to the given FindSpotMarketPrices200ResponseSpotMarketPricesAms1Baremetal0 and assigns it to the Baremetal2a field.

func (*SpotPricesPerFacility) SetBaremetal2a2 ¶

SetBaremetal2a2 gets a reference to the given FindSpotMarketPrices200ResponseSpotMarketPricesAms1Baremetal0 and assigns it to the Baremetal2a2 field.

func (*SpotPricesPerFacility) SetBaremetal3 ¶

SetBaremetal3 gets a reference to the given FindSpotMarketPrices200ResponseSpotMarketPricesAms1Baremetal0 and assigns it to the Baremetal3 field.

func (*SpotPricesPerFacility) SetBaremetalS ¶

SetBaremetalS gets a reference to the given FindSpotMarketPrices200ResponseSpotMarketPricesAms1Baremetal0 and assigns it to the BaremetalS field.

func (*SpotPricesPerFacility) SetC2MediumX86 ¶

SetC2MediumX86 gets a reference to the given FindSpotMarketPrices200ResponseSpotMarketPricesAms1Baremetal0 and assigns it to the C2MediumX86 field.

func (*SpotPricesPerFacility) SetM2XlargeX86 ¶

SetM2XlargeX86 gets a reference to the given FindSpotMarketPrices200ResponseSpotMarketPricesAms1Baremetal0 and assigns it to the M2XlargeX86 field.

type SpotPricesPerNewFacility ¶

type SpotPricesPerNewFacility struct {
	Baremetal1e *FindSpotMarketPrices200ResponseSpotMarketPricesAms1Baremetal0 `json:"baremetal_1e,omitempty"`
}

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 ¶

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 ¶

SetBaremetal1e gets a reference to the given FindSpotMarketPrices200ResponseSpotMarketPricesAms1Baremetal0 and assigns it to the Baremetal1e field.

type SpotPricesReport ¶

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 ¶

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 ¶

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 ¶

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 ¶

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 ¶

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 ¶

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 ¶

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 ¶

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 ¶

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 ¶

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 ¶

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 ¶

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 ¶

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 ¶

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 FindSpotMarketPrices200ResponseSpotMarketPricesAms1 and assigns it to the Ams1 field.

func (*SpotPricesReport) SetAtl1 ¶

SetAtl1 gets a reference to the given FindSpotMarketPrices200ResponseSpotMarketPricesAtl1 and assigns it to the Atl1 field.

func (*SpotPricesReport) SetDfw1 ¶

SetDfw1 gets a reference to the given FindSpotMarketPrices200ResponseSpotMarketPricesAtl1 and assigns it to the Dfw1 field.

func (*SpotPricesReport) SetEwr1 ¶

SetEwr1 gets a reference to the given FindSpotMarketPrices200ResponseSpotMarketPricesAms1 and assigns it to the Ewr1 field.

func (*SpotPricesReport) SetFra1 ¶

SetFra1 gets a reference to the given FindSpotMarketPrices200ResponseSpotMarketPricesAtl1 and assigns it to the Fra1 field.

func (*SpotPricesReport) SetIad1 ¶

SetIad1 gets a reference to the given FindSpotMarketPrices200ResponseSpotMarketPricesAtl1 and assigns it to the Iad1 field.

func (*SpotPricesReport) SetLax1 ¶

SetLax1 gets a reference to the given FindSpotMarketPrices200ResponseSpotMarketPricesAtl1 and assigns it to the Lax1 field.

func (*SpotPricesReport) SetNrt1 ¶

SetNrt1 gets a reference to the given FindSpotMarketPrices200ResponseSpotMarketPricesAms1 and assigns it to the Nrt1 field.

func (*SpotPricesReport) SetOrd1 ¶

SetOrd1 gets a reference to the given FindSpotMarketPrices200ResponseSpotMarketPricesAtl1 and assigns it to the Ord1 field.

func (*SpotPricesReport) SetSea1 ¶

SetSea1 gets a reference to the given FindSpotMarketPrices200ResponseSpotMarketPricesAtl1 and assigns it to the Sea1 field.

func (*SpotPricesReport) SetSin1 ¶

SetSin1 gets a reference to the given FindSpotMarketPrices200ResponseSpotMarketPricesAtl1 and assigns it to the Sin1 field.

func (*SpotPricesReport) SetSjc1 ¶

SetSjc1 gets a reference to the given FindSpotMarketPrices200ResponseSpotMarketPricesAms1 and assigns it to the Sjc1 field.

func (*SpotPricesReport) SetSyd1 ¶

SetSyd1 gets a reference to the given FindSpotMarketPrices200ResponseSpotMarketPricesAtl1 and assigns it to the Syd1 field.

func (*SpotPricesReport) SetYyz1 ¶

SetYyz1 gets a reference to the given FindSpotMarketPrices200ResponseSpotMarketPricesAtl1 and assigns it to the Yyz1 field.

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  *string `json:"priority,omitempty"`
	ProjectId *string `json:"project_id,omitempty"`
	Subject   string  `json:"subject"`
}

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 ¶

func (o *SupportRequestInput) GetPriority() string

GetPriority returns the Priority field value if set, zero value otherwise.

func (*SupportRequestInput) GetPriorityOk ¶

func (o *SupportRequestInput) GetPriorityOk() (*string, 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 ¶

func (o *SupportRequestInput) SetPriority(v string)

SetPriority gets a reference to the given string 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

type TransferRequest ¶

type TransferRequest struct {
	CreatedAt          *time.Time                            `json:"created_at,omitempty"`
	Href               *string                               `json:"href,omitempty"`
	Id                 *string                               `json:"id,omitempty"`
	Project            *FindBatchById200ResponseDevicesInner `json:"project,omitempty"`
	TargetOrganization *FindBatchById200ResponseDevicesInner `json:"target_organization,omitempty"`
	UpdatedAt          *time.Time                            `json:"updated_at,omitempty"`
}

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 ¶

GetProject returns the Project field value if set, zero value otherwise.

func (*TransferRequest) GetProjectOk ¶

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() FindBatchById200ResponseDevicesInner

GetTargetOrganization returns the TargetOrganization field value if set, zero value otherwise.

func (*TransferRequest) GetTargetOrganizationOk ¶

func (o *TransferRequest) GetTargetOrganizationOk() (*FindBatchById200ResponseDevicesInner, 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 ¶

SetProject gets a reference to the given FindBatchById200ResponseDevicesInner and assigns it to the Project field.

func (*TransferRequest) SetTargetOrganization ¶

func (o *TransferRequest) SetTargetOrganization(v FindBatchById200ResponseDevicesInner)

SetTargetOrganization gets a reference to the given FindBatchById200ResponseDevicesInner 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.

type TransferRequestInput ¶

type TransferRequestInput struct {
	TargetOrganizationId *string `json:"target_organization_id,omitempty"`
}

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.

type TransferRequestList ¶

type TransferRequestList struct {
	Transfers []FindOrganizationTransfers200ResponseTransfersInner `json:"transfers,omitempty"`
}

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 ¶

GetTransfers returns the Transfers field value if set, zero value otherwise.

func (*TransferRequestList) GetTransfersOk ¶

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 ¶

SetTransfers gets a reference to the given []FindOrganizationTransfers200ResponseTransfersInner and assigns it to the Transfers field.

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 FindOrganizationTransfers200ResponseTransfersInner

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 UpdateCurrentUserRequest ¶

type UpdateCurrentUserRequest 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"`
}

UpdateCurrentUserRequest struct for UpdateCurrentUserRequest

func NewUpdateCurrentUserRequest ¶

func NewUpdateCurrentUserRequest() *UpdateCurrentUserRequest

NewUpdateCurrentUserRequest instantiates a new UpdateCurrentUserRequest 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 NewUpdateCurrentUserRequestWithDefaults ¶

func NewUpdateCurrentUserRequestWithDefaults() *UpdateCurrentUserRequest

NewUpdateCurrentUserRequestWithDefaults instantiates a new UpdateCurrentUserRequest 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 (*UpdateCurrentUserRequest) GetCustomdata ¶

func (o *UpdateCurrentUserRequest) GetCustomdata() map[string]interface{}

GetCustomdata returns the Customdata field value if set, zero value otherwise.

func (*UpdateCurrentUserRequest) GetCustomdataOk ¶

func (o *UpdateCurrentUserRequest) 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 (*UpdateCurrentUserRequest) GetFirstName ¶

func (o *UpdateCurrentUserRequest) GetFirstName() string

GetFirstName returns the FirstName field value if set, zero value otherwise.

func (*UpdateCurrentUserRequest) GetFirstNameOk ¶

func (o *UpdateCurrentUserRequest) 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 (*UpdateCurrentUserRequest) GetLastName ¶

func (o *UpdateCurrentUserRequest) GetLastName() string

GetLastName returns the LastName field value if set, zero value otherwise.

func (*UpdateCurrentUserRequest) GetLastNameOk ¶

func (o *UpdateCurrentUserRequest) 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 (*UpdateCurrentUserRequest) GetPassword ¶

func (o *UpdateCurrentUserRequest) GetPassword() string

GetPassword returns the Password field value if set, zero value otherwise.

func (*UpdateCurrentUserRequest) GetPasswordOk ¶

func (o *UpdateCurrentUserRequest) 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 (*UpdateCurrentUserRequest) GetPhoneNumber ¶

func (o *UpdateCurrentUserRequest) GetPhoneNumber() string

GetPhoneNumber returns the PhoneNumber field value if set, zero value otherwise.

func (*UpdateCurrentUserRequest) GetPhoneNumberOk ¶

func (o *UpdateCurrentUserRequest) 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 (*UpdateCurrentUserRequest) GetTimezone ¶

func (o *UpdateCurrentUserRequest) GetTimezone() string

GetTimezone returns the Timezone field value if set, zero value otherwise.

func (*UpdateCurrentUserRequest) GetTimezoneOk ¶

func (o *UpdateCurrentUserRequest) 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 (*UpdateCurrentUserRequest) HasCustomdata ¶

func (o *UpdateCurrentUserRequest) HasCustomdata() bool

HasCustomdata returns a boolean if a field has been set.

func (*UpdateCurrentUserRequest) HasFirstName ¶

func (o *UpdateCurrentUserRequest) HasFirstName() bool

HasFirstName returns a boolean if a field has been set.

func (*UpdateCurrentUserRequest) HasLastName ¶

func (o *UpdateCurrentUserRequest) HasLastName() bool

HasLastName returns a boolean if a field has been set.

func (*UpdateCurrentUserRequest) HasPassword ¶

func (o *UpdateCurrentUserRequest) HasPassword() bool

HasPassword returns a boolean if a field has been set.

func (*UpdateCurrentUserRequest) HasPhoneNumber ¶

func (o *UpdateCurrentUserRequest) HasPhoneNumber() bool

HasPhoneNumber returns a boolean if a field has been set.

func (*UpdateCurrentUserRequest) HasTimezone ¶

func (o *UpdateCurrentUserRequest) HasTimezone() bool

HasTimezone returns a boolean if a field has been set.

func (UpdateCurrentUserRequest) MarshalJSON ¶

func (o UpdateCurrentUserRequest) MarshalJSON() ([]byte, error)

func (*UpdateCurrentUserRequest) SetCustomdata ¶

func (o *UpdateCurrentUserRequest) SetCustomdata(v map[string]interface{})

SetCustomdata gets a reference to the given map[string]interface{} and assigns it to the Customdata field.

func (*UpdateCurrentUserRequest) SetFirstName ¶

func (o *UpdateCurrentUserRequest) SetFirstName(v string)

SetFirstName gets a reference to the given string and assigns it to the FirstName field.

func (*UpdateCurrentUserRequest) SetLastName ¶

func (o *UpdateCurrentUserRequest) SetLastName(v string)

SetLastName gets a reference to the given string and assigns it to the LastName field.

func (*UpdateCurrentUserRequest) SetPassword ¶

func (o *UpdateCurrentUserRequest) SetPassword(v string)

SetPassword gets a reference to the given string and assigns it to the Password field.

func (*UpdateCurrentUserRequest) SetPhoneNumber ¶

func (o *UpdateCurrentUserRequest) SetPhoneNumber(v string)

SetPhoneNumber gets a reference to the given string and assigns it to the PhoneNumber field.

func (*UpdateCurrentUserRequest) SetTimezone ¶

func (o *UpdateCurrentUserRequest) SetTimezone(v string)

SetTimezone gets a reference to the given string and assigns it to the Timezone field.

type UpdateDeviceRequest ¶

type UpdateDeviceRequest 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"`
	IpxeScriptUrl *string                `json:"ipxe_script_url,omitempty"`
	Locked        *bool                  `json:"locked,omitempty"`
	// If true, this instance can not be converted to a different network type.
	NetworkFrozen *bool    `json:"network_frozen,omitempty"`
	SpotInstance  *bool    `json:"spot_instance,omitempty"`
	Tags          []string `json:"tags,omitempty"`
	Userdata      *string  `json:"userdata,omitempty"`
}

UpdateDeviceRequest struct for UpdateDeviceRequest

func NewUpdateDeviceRequest ¶

func NewUpdateDeviceRequest() *UpdateDeviceRequest

NewUpdateDeviceRequest instantiates a new UpdateDeviceRequest 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 NewUpdateDeviceRequestWithDefaults ¶

func NewUpdateDeviceRequestWithDefaults() *UpdateDeviceRequest

NewUpdateDeviceRequestWithDefaults instantiates a new UpdateDeviceRequest 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 (*UpdateDeviceRequest) GetAlwaysPxe ¶

func (o *UpdateDeviceRequest) GetAlwaysPxe() bool

GetAlwaysPxe returns the AlwaysPxe field value if set, zero value otherwise.

func (*UpdateDeviceRequest) GetAlwaysPxeOk ¶

func (o *UpdateDeviceRequest) 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 (*UpdateDeviceRequest) GetBillingCycle ¶

func (o *UpdateDeviceRequest) GetBillingCycle() string

GetBillingCycle returns the BillingCycle field value if set, zero value otherwise.

func (*UpdateDeviceRequest) GetBillingCycleOk ¶

func (o *UpdateDeviceRequest) 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 (*UpdateDeviceRequest) GetCustomdata ¶

func (o *UpdateDeviceRequest) GetCustomdata() map[string]interface{}

GetCustomdata returns the Customdata field value if set, zero value otherwise.

func (*UpdateDeviceRequest) GetCustomdataOk ¶

func (o *UpdateDeviceRequest) 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 (*UpdateDeviceRequest) GetDescription ¶

func (o *UpdateDeviceRequest) GetDescription() string

GetDescription returns the Description field value if set, zero value otherwise.

func (*UpdateDeviceRequest) GetDescriptionOk ¶

func (o *UpdateDeviceRequest) 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 (*UpdateDeviceRequest) GetHostname ¶

func (o *UpdateDeviceRequest) GetHostname() string

GetHostname returns the Hostname field value if set, zero value otherwise.

func (*UpdateDeviceRequest) GetHostnameOk ¶

func (o *UpdateDeviceRequest) 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 (*UpdateDeviceRequest) GetIpxeScriptUrl ¶

func (o *UpdateDeviceRequest) GetIpxeScriptUrl() string

GetIpxeScriptUrl returns the IpxeScriptUrl field value if set, zero value otherwise.

func (*UpdateDeviceRequest) GetIpxeScriptUrlOk ¶

func (o *UpdateDeviceRequest) 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 (*UpdateDeviceRequest) GetLocked ¶

func (o *UpdateDeviceRequest) GetLocked() bool

GetLocked returns the Locked field value if set, zero value otherwise.

func (*UpdateDeviceRequest) GetLockedOk ¶

func (o *UpdateDeviceRequest) 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 (*UpdateDeviceRequest) GetNetworkFrozen ¶

func (o *UpdateDeviceRequest) GetNetworkFrozen() bool

GetNetworkFrozen returns the NetworkFrozen field value if set, zero value otherwise.

func (*UpdateDeviceRequest) GetNetworkFrozenOk ¶

func (o *UpdateDeviceRequest) 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 (*UpdateDeviceRequest) GetSpotInstance ¶

func (o *UpdateDeviceRequest) GetSpotInstance() bool

GetSpotInstance returns the SpotInstance field value if set, zero value otherwise.

func (*UpdateDeviceRequest) GetSpotInstanceOk ¶

func (o *UpdateDeviceRequest) 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 (*UpdateDeviceRequest) GetTags ¶

func (o *UpdateDeviceRequest) GetTags() []string

GetTags returns the Tags field value if set, zero value otherwise.

func (*UpdateDeviceRequest) GetTagsOk ¶

func (o *UpdateDeviceRequest) 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 (*UpdateDeviceRequest) GetUserdata ¶

func (o *UpdateDeviceRequest) GetUserdata() string

GetUserdata returns the Userdata field value if set, zero value otherwise.

func (*UpdateDeviceRequest) GetUserdataOk ¶

func (o *UpdateDeviceRequest) 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 (*UpdateDeviceRequest) HasAlwaysPxe ¶

func (o *UpdateDeviceRequest) HasAlwaysPxe() bool

HasAlwaysPxe returns a boolean if a field has been set.

func (*UpdateDeviceRequest) HasBillingCycle ¶

func (o *UpdateDeviceRequest) HasBillingCycle() bool

HasBillingCycle returns a boolean if a field has been set.

func (*UpdateDeviceRequest) HasCustomdata ¶

func (o *UpdateDeviceRequest) HasCustomdata() bool

HasCustomdata returns a boolean if a field has been set.

func (*UpdateDeviceRequest) HasDescription ¶

func (o *UpdateDeviceRequest) HasDescription() bool

HasDescription returns a boolean if a field has been set.

func (*UpdateDeviceRequest) HasHostname ¶

func (o *UpdateDeviceRequest) HasHostname() bool

HasHostname returns a boolean if a field has been set.

func (*UpdateDeviceRequest) HasIpxeScriptUrl ¶

func (o *UpdateDeviceRequest) HasIpxeScriptUrl() bool

HasIpxeScriptUrl returns a boolean if a field has been set.

func (*UpdateDeviceRequest) HasLocked ¶

func (o *UpdateDeviceRequest) HasLocked() bool

HasLocked returns a boolean if a field has been set.

func (*UpdateDeviceRequest) HasNetworkFrozen ¶

func (o *UpdateDeviceRequest) HasNetworkFrozen() bool

HasNetworkFrozen returns a boolean if a field has been set.

func (*UpdateDeviceRequest) HasSpotInstance ¶

func (o *UpdateDeviceRequest) HasSpotInstance() bool

HasSpotInstance returns a boolean if a field has been set.

func (*UpdateDeviceRequest) HasTags ¶

func (o *UpdateDeviceRequest) HasTags() bool

HasTags returns a boolean if a field has been set.

func (*UpdateDeviceRequest) HasUserdata ¶

func (o *UpdateDeviceRequest) HasUserdata() bool

HasUserdata returns a boolean if a field has been set.

func (UpdateDeviceRequest) MarshalJSON ¶

func (o UpdateDeviceRequest) MarshalJSON() ([]byte, error)

func (*UpdateDeviceRequest) SetAlwaysPxe ¶

func (o *UpdateDeviceRequest) SetAlwaysPxe(v bool)

SetAlwaysPxe gets a reference to the given bool and assigns it to the AlwaysPxe field.

func (*UpdateDeviceRequest) SetBillingCycle ¶

func (o *UpdateDeviceRequest) SetBillingCycle(v string)

SetBillingCycle gets a reference to the given string and assigns it to the BillingCycle field.

func (*UpdateDeviceRequest) SetCustomdata ¶

func (o *UpdateDeviceRequest) SetCustomdata(v map[string]interface{})

SetCustomdata gets a reference to the given map[string]interface{} and assigns it to the Customdata field.

func (*UpdateDeviceRequest) SetDescription ¶

func (o *UpdateDeviceRequest) SetDescription(v string)

SetDescription gets a reference to the given string and assigns it to the Description field.

func (*UpdateDeviceRequest) SetHostname ¶

func (o *UpdateDeviceRequest) SetHostname(v string)

SetHostname gets a reference to the given string and assigns it to the Hostname field.

func (*UpdateDeviceRequest) SetIpxeScriptUrl ¶

func (o *UpdateDeviceRequest) SetIpxeScriptUrl(v string)

SetIpxeScriptUrl gets a reference to the given string and assigns it to the IpxeScriptUrl field.

func (*UpdateDeviceRequest) SetLocked ¶

func (o *UpdateDeviceRequest) SetLocked(v bool)

SetLocked gets a reference to the given bool and assigns it to the Locked field.

func (*UpdateDeviceRequest) SetNetworkFrozen ¶

func (o *UpdateDeviceRequest) SetNetworkFrozen(v bool)

SetNetworkFrozen gets a reference to the given bool and assigns it to the NetworkFrozen field.

func (*UpdateDeviceRequest) SetSpotInstance ¶

func (o *UpdateDeviceRequest) SetSpotInstance(v bool)

SetSpotInstance gets a reference to the given bool and assigns it to the SpotInstance field.

func (*UpdateDeviceRequest) SetTags ¶

func (o *UpdateDeviceRequest) SetTags(v []string)

SetTags gets a reference to the given []string and assigns it to the Tags field.

func (*UpdateDeviceRequest) SetUserdata ¶

func (o *UpdateDeviceRequest) SetUserdata(v string)

SetUserdata gets a reference to the given string and assigns it to the Userdata field.

type UpdateEmailInput ¶

type UpdateEmailInput struct {
	Default *bool `json:"default,omitempty"`
}

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.

type UpdateEmailRequest ¶

type UpdateEmailRequest struct {
	Default *bool `json:"default,omitempty"`
}

UpdateEmailRequest struct for UpdateEmailRequest

func NewUpdateEmailRequest ¶

func NewUpdateEmailRequest() *UpdateEmailRequest

NewUpdateEmailRequest instantiates a new UpdateEmailRequest 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 NewUpdateEmailRequestWithDefaults ¶

func NewUpdateEmailRequestWithDefaults() *UpdateEmailRequest

NewUpdateEmailRequestWithDefaults instantiates a new UpdateEmailRequest 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 (*UpdateEmailRequest) GetDefault ¶

func (o *UpdateEmailRequest) GetDefault() bool

GetDefault returns the Default field value if set, zero value otherwise.

func (*UpdateEmailRequest) GetDefaultOk ¶

func (o *UpdateEmailRequest) 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 (*UpdateEmailRequest) HasDefault ¶

func (o *UpdateEmailRequest) HasDefault() bool

HasDefault returns a boolean if a field has been set.

func (UpdateEmailRequest) MarshalJSON ¶

func (o UpdateEmailRequest) MarshalJSON() ([]byte, error)

func (*UpdateEmailRequest) SetDefault ¶

func (o *UpdateEmailRequest) SetDefault(v bool)

SetDefault gets a reference to the given bool and assigns it to the Default field.

type UpdateInterconnectionRequest ¶

type UpdateInterconnectionRequest struct {
	ContactEmail *string `json:"contact_email,omitempty"`
	Description  *string `json:"description,omitempty"`
	// 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.
	Mode *string `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"`
}

UpdateInterconnectionRequest struct for UpdateInterconnectionRequest

func NewUpdateInterconnectionRequest ¶

func NewUpdateInterconnectionRequest() *UpdateInterconnectionRequest

NewUpdateInterconnectionRequest instantiates a new UpdateInterconnectionRequest 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 NewUpdateInterconnectionRequestWithDefaults ¶

func NewUpdateInterconnectionRequestWithDefaults() *UpdateInterconnectionRequest

NewUpdateInterconnectionRequestWithDefaults instantiates a new UpdateInterconnectionRequest 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 (*UpdateInterconnectionRequest) GetContactEmail ¶

func (o *UpdateInterconnectionRequest) GetContactEmail() string

GetContactEmail returns the ContactEmail field value if set, zero value otherwise.

func (*UpdateInterconnectionRequest) GetContactEmailOk ¶

func (o *UpdateInterconnectionRequest) 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 (*UpdateInterconnectionRequest) GetDescription ¶

func (o *UpdateInterconnectionRequest) GetDescription() string

GetDescription returns the Description field value if set, zero value otherwise.

func (*UpdateInterconnectionRequest) GetDescriptionOk ¶

func (o *UpdateInterconnectionRequest) 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 (*UpdateInterconnectionRequest) GetMode ¶

func (o *UpdateInterconnectionRequest) GetMode() string

GetMode returns the Mode field value if set, zero value otherwise.

func (*UpdateInterconnectionRequest) GetModeOk ¶

func (o *UpdateInterconnectionRequest) GetModeOk() (*string, 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 (*UpdateInterconnectionRequest) GetName ¶

func (o *UpdateInterconnectionRequest) GetName() string

GetName returns the Name field value if set, zero value otherwise.

func (*UpdateInterconnectionRequest) GetNameOk ¶

func (o *UpdateInterconnectionRequest) 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 (*UpdateInterconnectionRequest) GetRedundancy ¶

func (o *UpdateInterconnectionRequest) GetRedundancy() string

GetRedundancy returns the Redundancy field value if set, zero value otherwise.

func (*UpdateInterconnectionRequest) GetRedundancyOk ¶

func (o *UpdateInterconnectionRequest) 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 (*UpdateInterconnectionRequest) GetTags ¶

func (o *UpdateInterconnectionRequest) GetTags() []string

GetTags returns the Tags field value if set, zero value otherwise.

func (*UpdateInterconnectionRequest) GetTagsOk ¶

func (o *UpdateInterconnectionRequest) 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 (*UpdateInterconnectionRequest) HasContactEmail ¶

func (o *UpdateInterconnectionRequest) HasContactEmail() bool

HasContactEmail returns a boolean if a field has been set.

func (*UpdateInterconnectionRequest) HasDescription ¶

func (o *UpdateInterconnectionRequest) HasDescription() bool

HasDescription returns a boolean if a field has been set.

func (*UpdateInterconnectionRequest) HasMode ¶

func (o *UpdateInterconnectionRequest) HasMode() bool

HasMode returns a boolean if a field has been set.

func (*UpdateInterconnectionRequest) HasName ¶

func (o *UpdateInterconnectionRequest) HasName() bool

HasName returns a boolean if a field has been set.

func (*UpdateInterconnectionRequest) HasRedundancy ¶

func (o *UpdateInterconnectionRequest) HasRedundancy() bool

HasRedundancy returns a boolean if a field has been set.

func (*UpdateInterconnectionRequest) HasTags ¶

func (o *UpdateInterconnectionRequest) HasTags() bool

HasTags returns a boolean if a field has been set.

func (UpdateInterconnectionRequest) MarshalJSON ¶

func (o UpdateInterconnectionRequest) MarshalJSON() ([]byte, error)

func (*UpdateInterconnectionRequest) SetContactEmail ¶

func (o *UpdateInterconnectionRequest) SetContactEmail(v string)

SetContactEmail gets a reference to the given string and assigns it to the ContactEmail field.

func (*UpdateInterconnectionRequest) SetDescription ¶

func (o *UpdateInterconnectionRequest) SetDescription(v string)

SetDescription gets a reference to the given string and assigns it to the Description field.

func (*UpdateInterconnectionRequest) SetMode ¶

func (o *UpdateInterconnectionRequest) SetMode(v string)

SetMode gets a reference to the given string and assigns it to the Mode field.

func (*UpdateInterconnectionRequest) SetName ¶

func (o *UpdateInterconnectionRequest) SetName(v string)

SetName gets a reference to the given string and assigns it to the Name field.

func (*UpdateInterconnectionRequest) SetRedundancy ¶

func (o *UpdateInterconnectionRequest) SetRedundancy(v string)

SetRedundancy gets a reference to the given string and assigns it to the Redundancy field.

func (*UpdateInterconnectionRequest) SetTags ¶

func (o *UpdateInterconnectionRequest) SetTags(v []string)

SetTags gets a reference to the given []string and assigns it to the Tags field.

type UpdateLicenseRequest ¶

type UpdateLicenseRequest struct {
	Description *string  `json:"description,omitempty"`
	Size        *float32 `json:"size,omitempty"`
}

UpdateLicenseRequest struct for UpdateLicenseRequest

func NewUpdateLicenseRequest ¶

func NewUpdateLicenseRequest() *UpdateLicenseRequest

NewUpdateLicenseRequest instantiates a new UpdateLicenseRequest 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 NewUpdateLicenseRequestWithDefaults ¶

func NewUpdateLicenseRequestWithDefaults() *UpdateLicenseRequest

NewUpdateLicenseRequestWithDefaults instantiates a new UpdateLicenseRequest 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 (*UpdateLicenseRequest) GetDescription ¶

func (o *UpdateLicenseRequest) GetDescription() string

GetDescription returns the Description field value if set, zero value otherwise.

func (*UpdateLicenseRequest) GetDescriptionOk ¶

func (o *UpdateLicenseRequest) 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 (*UpdateLicenseRequest) GetSize ¶

func (o *UpdateLicenseRequest) GetSize() float32

GetSize returns the Size field value if set, zero value otherwise.

func (*UpdateLicenseRequest) GetSizeOk ¶

func (o *UpdateLicenseRequest) 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 (*UpdateLicenseRequest) HasDescription ¶

func (o *UpdateLicenseRequest) HasDescription() bool

HasDescription returns a boolean if a field has been set.

func (*UpdateLicenseRequest) HasSize ¶

func (o *UpdateLicenseRequest) HasSize() bool

HasSize returns a boolean if a field has been set.

func (UpdateLicenseRequest) MarshalJSON ¶

func (o UpdateLicenseRequest) MarshalJSON() ([]byte, error)

func (*UpdateLicenseRequest) SetDescription ¶

func (o *UpdateLicenseRequest) SetDescription(v string)

SetDescription gets a reference to the given string and assigns it to the Description field.

func (*UpdateLicenseRequest) SetSize ¶

func (o *UpdateLicenseRequest) SetSize(v float32)

SetSize gets a reference to the given float32 and assigns it to the Size field.

type UpdateMembershipRequest ¶

type UpdateMembershipRequest struct {
	Role []string `json:"role,omitempty"`
}

UpdateMembershipRequest struct for UpdateMembershipRequest

func NewUpdateMembershipRequest ¶

func NewUpdateMembershipRequest() *UpdateMembershipRequest

NewUpdateMembershipRequest instantiates a new UpdateMembershipRequest 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 NewUpdateMembershipRequestWithDefaults ¶

func NewUpdateMembershipRequestWithDefaults() *UpdateMembershipRequest

NewUpdateMembershipRequestWithDefaults instantiates a new UpdateMembershipRequest 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 (*UpdateMembershipRequest) GetRole ¶

func (o *UpdateMembershipRequest) GetRole() []string

GetRole returns the Role field value if set, zero value otherwise.

func (*UpdateMembershipRequest) GetRoleOk ¶

func (o *UpdateMembershipRequest) 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 (*UpdateMembershipRequest) HasRole ¶

func (o *UpdateMembershipRequest) HasRole() bool

HasRole returns a boolean if a field has been set.

func (UpdateMembershipRequest) MarshalJSON ¶

func (o UpdateMembershipRequest) MarshalJSON() ([]byte, error)

func (*UpdateMembershipRequest) SetRole ¶

func (o *UpdateMembershipRequest) SetRole(v []string)

SetRole gets a reference to the given []string and assigns it to the Role field.

type UpdatePaymentMethodRequest ¶

type UpdatePaymentMethodRequest 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"`
}

UpdatePaymentMethodRequest struct for UpdatePaymentMethodRequest

func NewUpdatePaymentMethodRequest ¶

func NewUpdatePaymentMethodRequest() *UpdatePaymentMethodRequest

NewUpdatePaymentMethodRequest instantiates a new UpdatePaymentMethodRequest 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 NewUpdatePaymentMethodRequestWithDefaults ¶

func NewUpdatePaymentMethodRequestWithDefaults() *UpdatePaymentMethodRequest

NewUpdatePaymentMethodRequestWithDefaults instantiates a new UpdatePaymentMethodRequest 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 (*UpdatePaymentMethodRequest) GetBillingAddress ¶

func (o *UpdatePaymentMethodRequest) GetBillingAddress() map[string]interface{}

GetBillingAddress returns the BillingAddress field value if set, zero value otherwise.

func (*UpdatePaymentMethodRequest) GetBillingAddressOk ¶

func (o *UpdatePaymentMethodRequest) 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 (*UpdatePaymentMethodRequest) GetCardholderName ¶

func (o *UpdatePaymentMethodRequest) GetCardholderName() string

GetCardholderName returns the CardholderName field value if set, zero value otherwise.

func (*UpdatePaymentMethodRequest) GetCardholderNameOk ¶

func (o *UpdatePaymentMethodRequest) 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 (*UpdatePaymentMethodRequest) GetDefault ¶

func (o *UpdatePaymentMethodRequest) GetDefault() bool

GetDefault returns the Default field value if set, zero value otherwise.

func (*UpdatePaymentMethodRequest) GetDefaultOk ¶

func (o *UpdatePaymentMethodRequest) 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 (*UpdatePaymentMethodRequest) GetExpirationMonth ¶

func (o *UpdatePaymentMethodRequest) GetExpirationMonth() string

GetExpirationMonth returns the ExpirationMonth field value if set, zero value otherwise.

func (*UpdatePaymentMethodRequest) GetExpirationMonthOk ¶

func (o *UpdatePaymentMethodRequest) 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 (*UpdatePaymentMethodRequest) GetExpirationYear ¶

func (o *UpdatePaymentMethodRequest) GetExpirationYear() int32

GetExpirationYear returns the ExpirationYear field value if set, zero value otherwise.

func (*UpdatePaymentMethodRequest) GetExpirationYearOk ¶

func (o *UpdatePaymentMethodRequest) 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 (*UpdatePaymentMethodRequest) GetName ¶

func (o *UpdatePaymentMethodRequest) GetName() string

GetName returns the Name field value if set, zero value otherwise.

func (*UpdatePaymentMethodRequest) GetNameOk ¶

func (o *UpdatePaymentMethodRequest) 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 (*UpdatePaymentMethodRequest) HasBillingAddress ¶

func (o *UpdatePaymentMethodRequest) HasBillingAddress() bool

HasBillingAddress returns a boolean if a field has been set.

func (*UpdatePaymentMethodRequest) HasCardholderName ¶

func (o *UpdatePaymentMethodRequest) HasCardholderName() bool

HasCardholderName returns a boolean if a field has been set.

func (*UpdatePaymentMethodRequest) HasDefault ¶

func (o *UpdatePaymentMethodRequest) HasDefault() bool

HasDefault returns a boolean if a field has been set.

func (*UpdatePaymentMethodRequest) HasExpirationMonth ¶

func (o *UpdatePaymentMethodRequest) HasExpirationMonth() bool

HasExpirationMonth returns a boolean if a field has been set.

func (*UpdatePaymentMethodRequest) HasExpirationYear ¶

func (o *UpdatePaymentMethodRequest) HasExpirationYear() bool

HasExpirationYear returns a boolean if a field has been set.

func (*UpdatePaymentMethodRequest) HasName ¶

func (o *UpdatePaymentMethodRequest) HasName() bool

HasName returns a boolean if a field has been set.

func (UpdatePaymentMethodRequest) MarshalJSON ¶

func (o UpdatePaymentMethodRequest) MarshalJSON() ([]byte, error)

func (*UpdatePaymentMethodRequest) SetBillingAddress ¶

func (o *UpdatePaymentMethodRequest) SetBillingAddress(v map[string]interface{})

SetBillingAddress gets a reference to the given map[string]interface{} and assigns it to the BillingAddress field.

func (*UpdatePaymentMethodRequest) SetCardholderName ¶

func (o *UpdatePaymentMethodRequest) SetCardholderName(v string)

SetCardholderName gets a reference to the given string and assigns it to the CardholderName field.

func (*UpdatePaymentMethodRequest) SetDefault ¶

func (o *UpdatePaymentMethodRequest) SetDefault(v bool)

SetDefault gets a reference to the given bool and assigns it to the Default field.

func (*UpdatePaymentMethodRequest) SetExpirationMonth ¶

func (o *UpdatePaymentMethodRequest) SetExpirationMonth(v string)

SetExpirationMonth gets a reference to the given string and assigns it to the ExpirationMonth field.

func (*UpdatePaymentMethodRequest) SetExpirationYear ¶

func (o *UpdatePaymentMethodRequest) SetExpirationYear(v int32)

SetExpirationYear gets a reference to the given int32 and assigns it to the ExpirationYear field.

func (*UpdatePaymentMethodRequest) SetName ¶

func (o *UpdatePaymentMethodRequest) SetName(v string)

SetName gets a reference to the given string and assigns it to the Name field.

type UpdateProjectRequest ¶

type UpdateProjectRequest struct {
	BackendTransferEnabled *bool                  `json:"backend_transfer_enabled,omitempty"`
	Customdata             map[string]interface{} `json:"customdata,omitempty"`
	Name                   *string                `json:"name,omitempty"`
	PaymentMethodId        *string                `json:"payment_method_id,omitempty"`
}

UpdateProjectRequest struct for UpdateProjectRequest

func NewUpdateProjectRequest ¶

func NewUpdateProjectRequest() *UpdateProjectRequest

NewUpdateProjectRequest instantiates a new UpdateProjectRequest 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 NewUpdateProjectRequestWithDefaults ¶

func NewUpdateProjectRequestWithDefaults() *UpdateProjectRequest

NewUpdateProjectRequestWithDefaults instantiates a new UpdateProjectRequest 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 (*UpdateProjectRequest) GetBackendTransferEnabled ¶

func (o *UpdateProjectRequest) GetBackendTransferEnabled() bool

GetBackendTransferEnabled returns the BackendTransferEnabled field value if set, zero value otherwise.

func (*UpdateProjectRequest) GetBackendTransferEnabledOk ¶

func (o *UpdateProjectRequest) 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 (*UpdateProjectRequest) GetCustomdata ¶

func (o *UpdateProjectRequest) GetCustomdata() map[string]interface{}

GetCustomdata returns the Customdata field value if set, zero value otherwise.

func (*UpdateProjectRequest) GetCustomdataOk ¶

func (o *UpdateProjectRequest) 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 (*UpdateProjectRequest) GetName ¶

func (o *UpdateProjectRequest) GetName() string

GetName returns the Name field value if set, zero value otherwise.

func (*UpdateProjectRequest) GetNameOk ¶

func (o *UpdateProjectRequest) 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 (*UpdateProjectRequest) GetPaymentMethodId ¶

func (o *UpdateProjectRequest) GetPaymentMethodId() string

GetPaymentMethodId returns the PaymentMethodId field value if set, zero value otherwise.

func (*UpdateProjectRequest) GetPaymentMethodIdOk ¶

func (o *UpdateProjectRequest) 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 (*UpdateProjectRequest) HasBackendTransferEnabled ¶

func (o *UpdateProjectRequest) HasBackendTransferEnabled() bool

HasBackendTransferEnabled returns a boolean if a field has been set.

func (*UpdateProjectRequest) HasCustomdata ¶

func (o *UpdateProjectRequest) HasCustomdata() bool

HasCustomdata returns a boolean if a field has been set.

func (*UpdateProjectRequest) HasName ¶

func (o *UpdateProjectRequest) HasName() bool

HasName returns a boolean if a field has been set.

func (*UpdateProjectRequest) HasPaymentMethodId ¶

func (o *UpdateProjectRequest) HasPaymentMethodId() bool

HasPaymentMethodId returns a boolean if a field has been set.

func (UpdateProjectRequest) MarshalJSON ¶

func (o UpdateProjectRequest) MarshalJSON() ([]byte, error)

func (*UpdateProjectRequest) SetBackendTransferEnabled ¶

func (o *UpdateProjectRequest) SetBackendTransferEnabled(v bool)

SetBackendTransferEnabled gets a reference to the given bool and assigns it to the BackendTransferEnabled field.

func (*UpdateProjectRequest) SetCustomdata ¶

func (o *UpdateProjectRequest) SetCustomdata(v map[string]interface{})

SetCustomdata gets a reference to the given map[string]interface{} and assigns it to the Customdata field.

func (*UpdateProjectRequest) SetName ¶

func (o *UpdateProjectRequest) SetName(v string)

SetName gets a reference to the given string and assigns it to the Name field.

func (*UpdateProjectRequest) SetPaymentMethodId ¶

func (o *UpdateProjectRequest) SetPaymentMethodId(v string)

SetPaymentMethodId gets a reference to the given string and assigns it to the PaymentMethodId field.

type UpdateVirtualCircuitRequest ¶ added in v0.2.6

type UpdateVirtualCircuitRequest struct {
	UpdateVirtualCircuitRequestOneOf  *UpdateVirtualCircuitRequestOneOf
	UpdateVirtualCircuitRequestOneOf1 *UpdateVirtualCircuitRequestOneOf1
}

UpdateVirtualCircuitRequest - struct for UpdateVirtualCircuitRequest

func UpdateVirtualCircuitRequestOneOf1AsUpdateVirtualCircuitRequest ¶ added in v0.2.6

func UpdateVirtualCircuitRequestOneOf1AsUpdateVirtualCircuitRequest(v *UpdateVirtualCircuitRequestOneOf1) UpdateVirtualCircuitRequest

UpdateVirtualCircuitRequestOneOf1AsUpdateVirtualCircuitRequest is a convenience function that returns UpdateVirtualCircuitRequestOneOf1 wrapped in UpdateVirtualCircuitRequest

func UpdateVirtualCircuitRequestOneOfAsUpdateVirtualCircuitRequest ¶ added in v0.2.6

func UpdateVirtualCircuitRequestOneOfAsUpdateVirtualCircuitRequest(v *UpdateVirtualCircuitRequestOneOf) UpdateVirtualCircuitRequest

UpdateVirtualCircuitRequestOneOfAsUpdateVirtualCircuitRequest is a convenience function that returns UpdateVirtualCircuitRequestOneOf wrapped in UpdateVirtualCircuitRequest

func (*UpdateVirtualCircuitRequest) GetActualInstance ¶ added in v0.2.6

func (obj *UpdateVirtualCircuitRequest) GetActualInstance() interface{}

Get the actual instance

func (UpdateVirtualCircuitRequest) MarshalJSON ¶ added in v0.2.6

func (src UpdateVirtualCircuitRequest) MarshalJSON() ([]byte, error)

Marshal data from the first non-nil pointers in the struct to JSON

func (*UpdateVirtualCircuitRequest) UnmarshalJSON ¶ added in v0.2.6

func (dst *UpdateVirtualCircuitRequest) UnmarshalJSON(data []byte) error

Unmarshal JSON data into one of the pointers in the struct

type UpdateVirtualCircuitRequestOneOf ¶ added in v0.2.6

type UpdateVirtualCircuitRequestOneOf 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 Virtual Network in your project.
	Vnid *string `json:"vnid,omitempty"`
}

UpdateVirtualCircuitRequestOneOf struct for UpdateVirtualCircuitRequestOneOf

func NewUpdateVirtualCircuitRequestOneOf ¶ added in v0.2.6

func NewUpdateVirtualCircuitRequestOneOf() *UpdateVirtualCircuitRequestOneOf

NewUpdateVirtualCircuitRequestOneOf instantiates a new UpdateVirtualCircuitRequestOneOf 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 NewUpdateVirtualCircuitRequestOneOfWithDefaults ¶ added in v0.2.6

func NewUpdateVirtualCircuitRequestOneOfWithDefaults() *UpdateVirtualCircuitRequestOneOf

NewUpdateVirtualCircuitRequestOneOfWithDefaults instantiates a new UpdateVirtualCircuitRequestOneOf 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 (*UpdateVirtualCircuitRequestOneOf) GetDescription ¶ added in v0.2.6

func (o *UpdateVirtualCircuitRequestOneOf) GetDescription() string

GetDescription returns the Description field value if set, zero value otherwise.

func (*UpdateVirtualCircuitRequestOneOf) GetDescriptionOk ¶ added in v0.2.6

func (o *UpdateVirtualCircuitRequestOneOf) 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 (*UpdateVirtualCircuitRequestOneOf) GetName ¶ added in v0.2.6

GetName returns the Name field value if set, zero value otherwise.

func (*UpdateVirtualCircuitRequestOneOf) GetNameOk ¶ added in v0.2.6

func (o *UpdateVirtualCircuitRequestOneOf) 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 (*UpdateVirtualCircuitRequestOneOf) GetSpeed ¶ added in v0.2.6

GetSpeed returns the Speed field value if set, zero value otherwise.

func (*UpdateVirtualCircuitRequestOneOf) GetSpeedOk ¶ added in v0.2.6

func (o *UpdateVirtualCircuitRequestOneOf) 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 (*UpdateVirtualCircuitRequestOneOf) GetTags ¶ added in v0.2.6

GetTags returns the Tags field value if set, zero value otherwise.

func (*UpdateVirtualCircuitRequestOneOf) GetTagsOk ¶ added in v0.2.6

func (o *UpdateVirtualCircuitRequestOneOf) 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 (*UpdateVirtualCircuitRequestOneOf) GetVnid ¶ added in v0.2.6

GetVnid returns the Vnid field value if set, zero value otherwise.

func (*UpdateVirtualCircuitRequestOneOf) GetVnidOk ¶ added in v0.2.6

func (o *UpdateVirtualCircuitRequestOneOf) 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 (*UpdateVirtualCircuitRequestOneOf) HasDescription ¶ added in v0.2.6

func (o *UpdateVirtualCircuitRequestOneOf) HasDescription() bool

HasDescription returns a boolean if a field has been set.

func (*UpdateVirtualCircuitRequestOneOf) HasName ¶ added in v0.2.6

HasName returns a boolean if a field has been set.

func (*UpdateVirtualCircuitRequestOneOf) HasSpeed ¶ added in v0.2.6

func (o *UpdateVirtualCircuitRequestOneOf) HasSpeed() bool

HasSpeed returns a boolean if a field has been set.

func (*UpdateVirtualCircuitRequestOneOf) HasTags ¶ added in v0.2.6

HasTags returns a boolean if a field has been set.

func (*UpdateVirtualCircuitRequestOneOf) HasVnid ¶ added in v0.2.6

HasVnid returns a boolean if a field has been set.

func (UpdateVirtualCircuitRequestOneOf) MarshalJSON ¶ added in v0.2.6

func (o UpdateVirtualCircuitRequestOneOf) MarshalJSON() ([]byte, error)

func (*UpdateVirtualCircuitRequestOneOf) SetDescription ¶ added in v0.2.6

func (o *UpdateVirtualCircuitRequestOneOf) SetDescription(v string)

SetDescription gets a reference to the given string and assigns it to the Description field.

func (*UpdateVirtualCircuitRequestOneOf) SetName ¶ added in v0.2.6

SetName gets a reference to the given string and assigns it to the Name field.

func (*UpdateVirtualCircuitRequestOneOf) SetSpeed ¶ added in v0.2.6

SetSpeed gets a reference to the given string and assigns it to the Speed field.

func (*UpdateVirtualCircuitRequestOneOf) SetTags ¶ added in v0.2.6

func (o *UpdateVirtualCircuitRequestOneOf) SetTags(v []string)

SetTags gets a reference to the given []string and assigns it to the Tags field.

func (*UpdateVirtualCircuitRequestOneOf) SetVnid ¶ added in v0.2.6

SetVnid gets a reference to the given string and assigns it to the Vnid field.

type UpdateVirtualCircuitRequestOneOf1 ¶ added in v0.2.6

type UpdateVirtualCircuitRequestOneOf1 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"`
}

UpdateVirtualCircuitRequestOneOf1 struct for UpdateVirtualCircuitRequestOneOf1

func NewUpdateVirtualCircuitRequestOneOf1 ¶ added in v0.2.6

func NewUpdateVirtualCircuitRequestOneOf1() *UpdateVirtualCircuitRequestOneOf1

NewUpdateVirtualCircuitRequestOneOf1 instantiates a new UpdateVirtualCircuitRequestOneOf1 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 NewUpdateVirtualCircuitRequestOneOf1WithDefaults ¶ added in v0.2.6

func NewUpdateVirtualCircuitRequestOneOf1WithDefaults() *UpdateVirtualCircuitRequestOneOf1

NewUpdateVirtualCircuitRequestOneOf1WithDefaults instantiates a new UpdateVirtualCircuitRequestOneOf1 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 (*UpdateVirtualCircuitRequestOneOf1) GetDescription ¶ added in v0.2.6

func (o *UpdateVirtualCircuitRequestOneOf1) GetDescription() string

GetDescription returns the Description field value if set, zero value otherwise.

func (*UpdateVirtualCircuitRequestOneOf1) GetDescriptionOk ¶ added in v0.2.6

func (o *UpdateVirtualCircuitRequestOneOf1) 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 (*UpdateVirtualCircuitRequestOneOf1) GetName ¶ added in v0.2.6

GetName returns the Name field value if set, zero value otherwise.

func (*UpdateVirtualCircuitRequestOneOf1) GetNameOk ¶ added in v0.2.6

func (o *UpdateVirtualCircuitRequestOneOf1) 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 (*UpdateVirtualCircuitRequestOneOf1) GetSpeed ¶ added in v0.2.6

GetSpeed returns the Speed field value if set, zero value otherwise.

func (*UpdateVirtualCircuitRequestOneOf1) GetSpeedOk ¶ added in v0.2.6

func (o *UpdateVirtualCircuitRequestOneOf1) 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 (*UpdateVirtualCircuitRequestOneOf1) GetTags ¶ added in v0.2.6

GetTags returns the Tags field value if set, zero value otherwise.

func (*UpdateVirtualCircuitRequestOneOf1) GetTagsOk ¶ added in v0.2.6

func (o *UpdateVirtualCircuitRequestOneOf1) 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 (*UpdateVirtualCircuitRequestOneOf1) HasDescription ¶ added in v0.2.6

func (o *UpdateVirtualCircuitRequestOneOf1) HasDescription() bool

HasDescription returns a boolean if a field has been set.

func (*UpdateVirtualCircuitRequestOneOf1) HasName ¶ added in v0.2.6

HasName returns a boolean if a field has been set.

func (*UpdateVirtualCircuitRequestOneOf1) HasSpeed ¶ added in v0.2.6

HasSpeed returns a boolean if a field has been set.

func (*UpdateVirtualCircuitRequestOneOf1) HasTags ¶ added in v0.2.6

HasTags returns a boolean if a field has been set.

func (UpdateVirtualCircuitRequestOneOf1) MarshalJSON ¶ added in v0.2.6

func (o UpdateVirtualCircuitRequestOneOf1) MarshalJSON() ([]byte, error)

func (*UpdateVirtualCircuitRequestOneOf1) SetDescription ¶ added in v0.2.6

func (o *UpdateVirtualCircuitRequestOneOf1) SetDescription(v string)

SetDescription gets a reference to the given string and assigns it to the Description field.

func (*UpdateVirtualCircuitRequestOneOf1) SetName ¶ added in v0.2.6

SetName gets a reference to the given string and assigns it to the Name field.

func (*UpdateVirtualCircuitRequestOneOf1) SetSpeed ¶ added in v0.2.6

SetSpeed gets a reference to the given string and assigns it to the Speed field.

func (*UpdateVirtualCircuitRequestOneOf1) SetTags ¶ added in v0.2.6

func (o *UpdateVirtualCircuitRequestOneOf1) SetTags(v []string)

SetTags gets a reference to the given []string and assigns it to the Tags field.

type UpdateVrfRequest ¶

type UpdateVrfRequest struct {
	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.
	LocalAsn *int32  `json:"local_asn,omitempty"`
	Name     *string `json:"name,omitempty"`
}

UpdateVrfRequest struct for UpdateVrfRequest

func NewUpdateVrfRequest ¶

func NewUpdateVrfRequest() *UpdateVrfRequest

NewUpdateVrfRequest instantiates a new UpdateVrfRequest 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 NewUpdateVrfRequestWithDefaults ¶

func NewUpdateVrfRequestWithDefaults() *UpdateVrfRequest

NewUpdateVrfRequestWithDefaults instantiates a new UpdateVrfRequest 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 (*UpdateVrfRequest) GetDescription ¶

func (o *UpdateVrfRequest) GetDescription() string

GetDescription returns the Description field value if set, zero value otherwise.

func (*UpdateVrfRequest) GetDescriptionOk ¶

func (o *UpdateVrfRequest) 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 (*UpdateVrfRequest) GetIpRanges ¶

func (o *UpdateVrfRequest) GetIpRanges() []string

GetIpRanges returns the IpRanges field value if set, zero value otherwise.

func (*UpdateVrfRequest) GetIpRangesOk ¶

func (o *UpdateVrfRequest) 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 (*UpdateVrfRequest) GetLocalAsn ¶

func (o *UpdateVrfRequest) GetLocalAsn() int32

GetLocalAsn returns the LocalAsn field value if set, zero value otherwise.

func (*UpdateVrfRequest) GetLocalAsnOk ¶

func (o *UpdateVrfRequest) 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 (*UpdateVrfRequest) GetName ¶

func (o *UpdateVrfRequest) GetName() string

GetName returns the Name field value if set, zero value otherwise.

func (*UpdateVrfRequest) GetNameOk ¶

func (o *UpdateVrfRequest) 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 (*UpdateVrfRequest) HasDescription ¶

func (o *UpdateVrfRequest) HasDescription() bool

HasDescription returns a boolean if a field has been set.

func (*UpdateVrfRequest) HasIpRanges ¶

func (o *UpdateVrfRequest) HasIpRanges() bool

HasIpRanges returns a boolean if a field has been set.

func (*UpdateVrfRequest) HasLocalAsn ¶

func (o *UpdateVrfRequest) HasLocalAsn() bool

HasLocalAsn returns a boolean if a field has been set.

func (*UpdateVrfRequest) HasName ¶

func (o *UpdateVrfRequest) HasName() bool

HasName returns a boolean if a field has been set.

func (UpdateVrfRequest) MarshalJSON ¶

func (o UpdateVrfRequest) MarshalJSON() ([]byte, error)

func (*UpdateVrfRequest) SetDescription ¶

func (o *UpdateVrfRequest) SetDescription(v string)

SetDescription gets a reference to the given string and assigns it to the Description field.

func (*UpdateVrfRequest) SetIpRanges ¶

func (o *UpdateVrfRequest) SetIpRanges(v []string)

SetIpRanges gets a reference to the given []string and assigns it to the IpRanges field.

func (*UpdateVrfRequest) SetLocalAsn ¶

func (o *UpdateVrfRequest) SetLocalAsn(v int32)

SetLocalAsn gets a reference to the given int32 and assigns it to the LocalAsn field.

func (*UpdateVrfRequest) SetName ¶

func (o *UpdateVrfRequest) SetName(v string)

SetName gets a reference to the given string and assigns it to the Name field.

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 ¶

Execute executes the request

@return FindDeviceUsages200Response

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 ¶

Execute executes the request

@return FindProjectUsage200Response

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"`
	Email            *string                                `json:"email,omitempty"`
	Emails           []FindBatchById200ResponseDevicesInner `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"`
}

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) 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() []FindBatchById200ResponseDevicesInner

GetEmails returns the Emails field value if set, zero value otherwise.

func (*User) GetEmailsOk ¶

func (o *User) GetEmailsOk() ([]FindBatchById200ResponseDevicesInner, 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) 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) 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 []FindBatchById200ResponseDevicesInner)

SetEmails gets a reference to the given []FindBatchById200ResponseDevicesInner 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.

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         []CreateUserRequestEmailsInner `json:"emails"`
	FirstName      string                         `json:"first_name"`
	LastName       string                         `json:"last_name"`
	Level          *string                        `json:"level,omitempty"`
	Locked         *bool                          `json:"locked,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"`
}

UserCreateInput struct for UserCreateInput

func NewUserCreateInput ¶

func NewUserCreateInput(emails []CreateUserRequestEmailsInner, 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 ¶

GetEmails returns the Emails field value

func (*UserCreateInput) GetEmailsOk ¶

func (o *UserCreateInput) GetEmailsOk() ([]CreateUserRequestEmailsInner, 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) 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) GetLocked ¶

func (o *UserCreateInput) GetLocked() bool

GetLocked returns the Locked field value if set, zero value otherwise.

func (*UserCreateInput) GetLockedOk ¶

func (o *UserCreateInput) 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 (*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) HasLevel ¶

func (o *UserCreateInput) HasLevel() bool

HasLevel returns a boolean if a field has been set.

func (*UserCreateInput) HasLocked ¶

func (o *UserCreateInput) HasLocked() bool

HasLocked 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 ¶

SetEmails sets field value

func (*UserCreateInput) SetFirstName ¶

func (o *UserCreateInput) SetFirstName(v string)

SetFirstName sets field value

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) SetLocked ¶

func (o *UserCreateInput) SetLocked(v bool)

SetLocked gets a reference to the given bool and assigns it to the Locked 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.

type UserList ¶

type UserList struct {
	Meta  *FindDeviceEvents200ResponseMeta                                                               `json:"meta,omitempty"`
	Users []GetInterconnection200ResponsePortsInnerVirtualCircuitsVirtualCircuitsInnerAnyOf1VrfCreatedBy `json:"users,omitempty"`
}

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 ¶

GetMeta returns the Meta field value if set, zero value otherwise.

func (*UserList) GetMetaOk ¶

func (o *UserList) GetMetaOk() (*FindDeviceEvents200ResponseMeta, 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 ¶

GetUsers returns the Users field value if set, zero value otherwise.

func (*UserList) GetUsersOk ¶

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 ¶

SetMeta gets a reference to the given FindDeviceEvents200ResponseMeta and assigns it to the Meta field.

func (*UserList) SetUsers ¶

SetUsers gets a reference to the given []GetInterconnection200ResponsePortsInnerVirtualCircuitsVirtualCircuitsInnerAnyOf1VrfCreatedBy and assigns it to the Users field.

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"`
}

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.

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"`
}

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.

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.2.6

type Userdata struct {
	Userdata *string `json:"userdata,omitempty"`
}

Userdata struct for Userdata

func NewUserdata ¶ added in v0.2.6

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.2.6

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.2.6

func (o *Userdata) GetUserdata() string

GetUserdata returns the Userdata field value if set, zero value otherwise.

func (*Userdata) GetUserdataOk ¶ added in v0.2.6

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.2.6

func (o *Userdata) HasUserdata() bool

HasUserdata returns a boolean if a field has been set.

func (Userdata) MarshalJSON ¶ added in v0.2.6

func (o Userdata) MarshalJSON() ([]byte, error)

func (*Userdata) SetUserdata ¶ added in v0.2.6

func (o *Userdata) SetUserdata(v string)

SetUserdata gets a reference to the given string and assigns it to the Userdata field.

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 ¶

Execute executes the request

@return GetInterconnection200ResponsePortsInnerVirtualCircuitsVirtualCircuitsInnerAnyOf1VrfCreatedBy

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 ¶

Execute executes the request

@return GetInterconnection200ResponsePortsInnerVirtualCircuitsVirtualCircuitsInnerAnyOf1VrfCreatedBy

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 ¶

Execute executes the request

@return FindInvitations200Response

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 ¶

Execute executes the request

@return GetInterconnection200ResponsePortsInnerVirtualCircuitsVirtualCircuitsInnerAnyOf1VrfCreatedBy

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 ¶

Execute executes the request

@return FindUsers200Response

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 ¶

Execute executes the request

@return GetInterconnection200ResponsePortsInnerVirtualCircuitsVirtualCircuitsInnerAnyOf1VrfCreatedBy

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 ¶

Execute executes the request

@return FindDeviceById200ResponseNetworkPortsInnerNativeVirtualNetwork

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 ¶

Execute executes the request

@return FindDeviceById200ResponseNetworkPortsInnerNativeVirtualNetwork

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 ¶

Execute executes the request

@return FindVirtualNetworks200Response

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 ¶

Execute executes the request

@return FindDeviceById200ResponseNetworkPortsInnerNativeVirtualNetwork

type VRFsApiService ¶

type VRFsApiService service

VRFsApiService VRFsApi service

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 ¶

Execute executes the request

@return GetInterconnection200ResponsePortsInnerVirtualCircuitsVirtualCircuitsInnerAnyOf1Vrf

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) 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 ¶

Execute executes the request

@return GetInterconnection200ResponsePortsInnerVirtualCircuitsVirtualCircuitsInnerAnyOf1Vrf

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 ¶

Execute executes the request

@return FindVrfIpReservations200Response

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 ¶

Execute executes the request

@return FindVrfs200Response

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 ¶

Execute executes the request

@return GetInterconnection200ResponsePortsInnerVirtualCircuitsVirtualCircuitsInnerAnyOf1Vrf

type VirtualCircuit ¶

type VirtualCircuit 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"`
	Description string                               `json:"description"`
	Id          string                               `json:"id"`
	Name        string                               `json:"name"`
	NniVlan     int32                                `json:"nni_vlan"`
	Port        FindBatchById200ResponseDevicesInner `json:"port"`
	Project     FindBatchById200ResponseDevicesInner `json:"project"`
	// 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"`
	// The status of a Virtual Circuit is always 'Pending' on creation. The status can turn to 'Waiting on Customer VLAN' if the 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, which are not generally available, it will only change to 'Waiting on Customer VLAN' once the corresponding Fabric connection has been found on the Fabric side. Once a VLAN is set on the Virtual Circuit (which for Fabric VCs, can be set on creation) 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 until it is fully deleted. If the Virtual Circuit is on a Fabric VC, it can also change into an 'Expired' status if the associated service token has expired. To get access to Fabric VCs, please contact our Support Team for more details.
	Status         string                               `json:"status"`
	Tags           []string                             `json:"tags"`
	VirtualNetwork FindBatchById200ResponseDevicesInner `json:"virtual_network"`
	Vnid           int32                                `json:"vnid"`
}

VirtualCircuit struct for VirtualCircuit

func NewVirtualCircuit ¶

func NewVirtualCircuit(bill bool, description string, id string, name string, nniVlan int32, port FindBatchById200ResponseDevicesInner, project FindBatchById200ResponseDevicesInner, status string, tags []string, virtualNetwork FindBatchById200ResponseDevicesInner, vnid int32) *VirtualCircuit

NewVirtualCircuit instantiates a new VirtualCircuit 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 NewVirtualCircuitWithDefaults ¶

func NewVirtualCircuitWithDefaults() *VirtualCircuit

NewVirtualCircuitWithDefaults instantiates a new VirtualCircuit 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 (*VirtualCircuit) GetBill ¶

func (o *VirtualCircuit) GetBill() bool

GetBill returns the Bill field value

func (*VirtualCircuit) GetBillOk ¶

func (o *VirtualCircuit) GetBillOk() (*bool, bool)

GetBillOk returns a tuple with the Bill field value and a boolean to check if the value has been set.

func (*VirtualCircuit) GetDescription ¶

func (o *VirtualCircuit) GetDescription() string

GetDescription returns the Description field value

func (*VirtualCircuit) GetDescriptionOk ¶

func (o *VirtualCircuit) GetDescriptionOk() (*string, bool)

GetDescriptionOk returns a tuple with the Description field value and a boolean to check if the value has been set.

func (*VirtualCircuit) GetId ¶

func (o *VirtualCircuit) GetId() string

GetId returns the Id field value

func (*VirtualCircuit) GetIdOk ¶

func (o *VirtualCircuit) GetIdOk() (*string, bool)

GetIdOk returns a tuple with the Id field value and a boolean to check if the value has been set.

func (*VirtualCircuit) GetName ¶

func (o *VirtualCircuit) GetName() string

GetName returns the Name field value

func (*VirtualCircuit) GetNameOk ¶

func (o *VirtualCircuit) GetNameOk() (*string, bool)

GetNameOk returns a tuple with the Name field value and a boolean to check if the value has been set.

func (*VirtualCircuit) GetNniVlan ¶

func (o *VirtualCircuit) GetNniVlan() int32

GetNniVlan returns the NniVlan field value

func (*VirtualCircuit) GetNniVlanOk ¶

func (o *VirtualCircuit) GetNniVlanOk() (*int32, bool)

GetNniVlanOk returns a tuple with the NniVlan field value and a boolean to check if the value has been set.

func (*VirtualCircuit) GetPort ¶

GetPort returns the Port field value

func (*VirtualCircuit) GetPortOk ¶

GetPortOk returns a tuple with the Port field value and a boolean to check if the value has been set.

func (*VirtualCircuit) GetProject ¶

GetProject returns the Project field value

func (*VirtualCircuit) GetProjectOk ¶

GetProjectOk returns a tuple with the Project field value and a boolean to check if the value has been set.

func (*VirtualCircuit) GetSpeed ¶

func (o *VirtualCircuit) GetSpeed() int32

GetSpeed returns the Speed field value if set, zero value otherwise.

func (*VirtualCircuit) GetSpeedOk ¶

func (o *VirtualCircuit) 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 (*VirtualCircuit) GetStatus ¶

func (o *VirtualCircuit) GetStatus() string

GetStatus returns the Status field value

func (*VirtualCircuit) GetStatusOk ¶

func (o *VirtualCircuit) GetStatusOk() (*string, bool)

GetStatusOk returns a tuple with the Status field value and a boolean to check if the value has been set.

func (*VirtualCircuit) GetTags ¶

func (o *VirtualCircuit) GetTags() []string

GetTags returns the Tags field value

func (*VirtualCircuit) GetTagsOk ¶

func (o *VirtualCircuit) GetTagsOk() ([]string, bool)

GetTagsOk returns a tuple with the Tags field value and a boolean to check if the value has been set.

func (*VirtualCircuit) GetVirtualNetwork ¶

GetVirtualNetwork returns the VirtualNetwork field value

func (*VirtualCircuit) GetVirtualNetworkOk ¶

func (o *VirtualCircuit) GetVirtualNetworkOk() (*FindBatchById200ResponseDevicesInner, bool)

GetVirtualNetworkOk returns a tuple with the VirtualNetwork field value and a boolean to check if the value has been set.

func (*VirtualCircuit) GetVnid ¶

func (o *VirtualCircuit) GetVnid() int32

GetVnid returns the Vnid field value

func (*VirtualCircuit) GetVnidOk ¶

func (o *VirtualCircuit) GetVnidOk() (*int32, bool)

GetVnidOk returns a tuple with the Vnid field value and a boolean to check if the value has been set.

func (*VirtualCircuit) HasSpeed ¶

func (o *VirtualCircuit) HasSpeed() bool

HasSpeed returns a boolean if a field has been set.

func (VirtualCircuit) MarshalJSON ¶

func (o VirtualCircuit) MarshalJSON() ([]byte, error)

func (*VirtualCircuit) SetBill ¶

func (o *VirtualCircuit) SetBill(v bool)

SetBill sets field value

func (*VirtualCircuit) SetDescription ¶

func (o *VirtualCircuit) SetDescription(v string)

SetDescription sets field value

func (*VirtualCircuit) SetId ¶

func (o *VirtualCircuit) SetId(v string)

SetId sets field value

func (*VirtualCircuit) SetName ¶

func (o *VirtualCircuit) SetName(v string)

SetName sets field value

func (*VirtualCircuit) SetNniVlan ¶

func (o *VirtualCircuit) SetNniVlan(v int32)

SetNniVlan sets field value

func (*VirtualCircuit) SetPort ¶

SetPort sets field value

func (*VirtualCircuit) SetProject ¶

SetProject sets field value

func (*VirtualCircuit) SetSpeed ¶

func (o *VirtualCircuit) SetSpeed(v int32)

SetSpeed gets a reference to the given int32 and assigns it to the Speed field.

func (*VirtualCircuit) SetStatus ¶

func (o *VirtualCircuit) SetStatus(v string)

SetStatus sets field value

func (*VirtualCircuit) SetTags ¶

func (o *VirtualCircuit) SetTags(v []string)

SetTags sets field value

func (*VirtualCircuit) SetVirtualNetwork ¶

func (o *VirtualCircuit) SetVirtualNetwork(v FindBatchById200ResponseDevicesInner)

SetVirtualNetwork sets field value

func (*VirtualCircuit) SetVnid ¶

func (o *VirtualCircuit) SetVnid(v int32)

SetVnid sets field value

type VirtualCircuitCreateInput ¶

type VirtualCircuitCreateInput struct {
	Description *string `json:"description,omitempty"`
	Name        *string `json:"name,omitempty"`
	NniVlan     *int32  `json:"nni_vlan,omitempty"`
	Project     *string `json:"project,omitempty"`
	// 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 Virtual Network in your project (sent as integer).
	Vnid *string `json:"vnid,omitempty"`
}

VirtualCircuitCreateInput struct for VirtualCircuitCreateInput

func NewVirtualCircuitCreateInput ¶

func NewVirtualCircuitCreateInput() *VirtualCircuitCreateInput

NewVirtualCircuitCreateInput instantiates a new VirtualCircuitCreateInput 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 NewVirtualCircuitCreateInputWithDefaults ¶

func NewVirtualCircuitCreateInputWithDefaults() *VirtualCircuitCreateInput

NewVirtualCircuitCreateInputWithDefaults instantiates a new VirtualCircuitCreateInput 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 (*VirtualCircuitCreateInput) GetDescription ¶

func (o *VirtualCircuitCreateInput) GetDescription() string

GetDescription returns the Description field value if set, zero value otherwise.

func (*VirtualCircuitCreateInput) GetDescriptionOk ¶

func (o *VirtualCircuitCreateInput) 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 (*VirtualCircuitCreateInput) GetName ¶

func (o *VirtualCircuitCreateInput) GetName() string

GetName returns the Name field value if set, zero value otherwise.

func (*VirtualCircuitCreateInput) GetNameOk ¶

func (o *VirtualCircuitCreateInput) 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 (*VirtualCircuitCreateInput) GetNniVlan ¶

func (o *VirtualCircuitCreateInput) GetNniVlan() int32

GetNniVlan returns the NniVlan field value if set, zero value otherwise.

func (*VirtualCircuitCreateInput) GetNniVlanOk ¶

func (o *VirtualCircuitCreateInput) 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 (*VirtualCircuitCreateInput) GetProject ¶

func (o *VirtualCircuitCreateInput) GetProject() string

GetProject returns the Project field value if set, zero value otherwise.

func (*VirtualCircuitCreateInput) GetProjectOk ¶

func (o *VirtualCircuitCreateInput) 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 (*VirtualCircuitCreateInput) GetSpeed ¶

func (o *VirtualCircuitCreateInput) GetSpeed() int32

GetSpeed returns the Speed field value if set, zero value otherwise.

func (*VirtualCircuitCreateInput) GetSpeedOk ¶

func (o *VirtualCircuitCreateInput) 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 (*VirtualCircuitCreateInput) GetTags ¶

func (o *VirtualCircuitCreateInput) GetTags() []string

GetTags returns the Tags field value if set, zero value otherwise.

func (*VirtualCircuitCreateInput) GetTagsOk ¶

func (o *VirtualCircuitCreateInput) 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 (*VirtualCircuitCreateInput) GetVnid ¶

func (o *VirtualCircuitCreateInput) GetVnid() string

GetVnid returns the Vnid field value if set, zero value otherwise.

func (*VirtualCircuitCreateInput) GetVnidOk ¶

func (o *VirtualCircuitCreateInput) 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 (*VirtualCircuitCreateInput) HasDescription ¶

func (o *VirtualCircuitCreateInput) HasDescription() bool

HasDescription returns a boolean if a field has been set.

func (*VirtualCircuitCreateInput) HasName ¶

func (o *VirtualCircuitCreateInput) HasName() bool

HasName returns a boolean if a field has been set.

func (*VirtualCircuitCreateInput) HasNniVlan ¶

func (o *VirtualCircuitCreateInput) HasNniVlan() bool

HasNniVlan returns a boolean if a field has been set.

func (*VirtualCircuitCreateInput) HasProject ¶

func (o *VirtualCircuitCreateInput) HasProject() bool

HasProject returns a boolean if a field has been set.

func (*VirtualCircuitCreateInput) HasSpeed ¶

func (o *VirtualCircuitCreateInput) HasSpeed() bool

HasSpeed returns a boolean if a field has been set.

func (*VirtualCircuitCreateInput) HasTags ¶

func (o *VirtualCircuitCreateInput) HasTags() bool

HasTags returns a boolean if a field has been set.

func (*VirtualCircuitCreateInput) HasVnid ¶

func (o *VirtualCircuitCreateInput) HasVnid() bool

HasVnid returns a boolean if a field has been set.

func (VirtualCircuitCreateInput) MarshalJSON ¶

func (o VirtualCircuitCreateInput) MarshalJSON() ([]byte, error)

func (*VirtualCircuitCreateInput) SetDescription ¶

func (o *VirtualCircuitCreateInput) SetDescription(v string)

SetDescription gets a reference to the given string and assigns it to the Description field.

func (*VirtualCircuitCreateInput) SetName ¶

func (o *VirtualCircuitCreateInput) SetName(v string)

SetName gets a reference to the given string and assigns it to the Name field.

func (*VirtualCircuitCreateInput) SetNniVlan ¶

func (o *VirtualCircuitCreateInput) SetNniVlan(v int32)

SetNniVlan gets a reference to the given int32 and assigns it to the NniVlan field.

func (*VirtualCircuitCreateInput) SetProject ¶

func (o *VirtualCircuitCreateInput) SetProject(v string)

SetProject gets a reference to the given string and assigns it to the Project field.

func (*VirtualCircuitCreateInput) SetSpeed ¶

func (o *VirtualCircuitCreateInput) SetSpeed(v int32)

SetSpeed gets a reference to the given int32 and assigns it to the Speed field.

func (*VirtualCircuitCreateInput) SetTags ¶

func (o *VirtualCircuitCreateInput) SetTags(v []string)

SetTags gets a reference to the given []string and assigns it to the Tags field.

func (*VirtualCircuitCreateInput) SetVnid ¶

func (o *VirtualCircuitCreateInput) SetVnid(v string)

SetVnid gets a reference to the given string and assigns it to the Vnid field.

type VirtualCircuitList ¶

type VirtualCircuitList struct {
	VirtualCircuits []GetInterconnection200ResponsePortsInnerVirtualCircuitsVirtualCircuitsInner `json:"virtual_circuits,omitempty"`
}

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 ¶

GetVirtualCircuits returns the VirtualCircuits field value if set, zero value otherwise.

func (*VirtualCircuitList) GetVirtualCircuitsOk ¶

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 ¶

SetVirtualCircuits gets a reference to the given []GetInterconnection200ResponsePortsInnerVirtualCircuitsVirtualCircuitsInner and assigns it to the VirtualCircuits field.

type VirtualCircuitUpdateInput ¶

type VirtualCircuitUpdateInput 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 Virtual Network in your project.
	Vnid *string `json:"vnid,omitempty"`
}

VirtualCircuitUpdateInput struct for VirtualCircuitUpdateInput

func NewVirtualCircuitUpdateInput ¶

func NewVirtualCircuitUpdateInput() *VirtualCircuitUpdateInput

NewVirtualCircuitUpdateInput instantiates a new VirtualCircuitUpdateInput 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 NewVirtualCircuitUpdateInputWithDefaults ¶

func NewVirtualCircuitUpdateInputWithDefaults() *VirtualCircuitUpdateInput

NewVirtualCircuitUpdateInputWithDefaults instantiates a new VirtualCircuitUpdateInput 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 (*VirtualCircuitUpdateInput) GetDescription ¶

func (o *VirtualCircuitUpdateInput) GetDescription() string

GetDescription returns the Description field value if set, zero value otherwise.

func (*VirtualCircuitUpdateInput) GetDescriptionOk ¶

func (o *VirtualCircuitUpdateInput) 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 (*VirtualCircuitUpdateInput) GetName ¶

func (o *VirtualCircuitUpdateInput) GetName() string

GetName returns the Name field value if set, zero value otherwise.

func (*VirtualCircuitUpdateInput) GetNameOk ¶

func (o *VirtualCircuitUpdateInput) 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 (*VirtualCircuitUpdateInput) GetSpeed ¶

func (o *VirtualCircuitUpdateInput) GetSpeed() string

GetSpeed returns the Speed field value if set, zero value otherwise.

func (*VirtualCircuitUpdateInput) GetSpeedOk ¶

func (o *VirtualCircuitUpdateInput) 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 (*VirtualCircuitUpdateInput) GetTags ¶

func (o *VirtualCircuitUpdateInput) GetTags() []string

GetTags returns the Tags field value if set, zero value otherwise.

func (*VirtualCircuitUpdateInput) GetTagsOk ¶

func (o *VirtualCircuitUpdateInput) 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 (*VirtualCircuitUpdateInput) GetVnid ¶

func (o *VirtualCircuitUpdateInput) GetVnid() string

GetVnid returns the Vnid field value if set, zero value otherwise.

func (*VirtualCircuitUpdateInput) GetVnidOk ¶

func (o *VirtualCircuitUpdateInput) 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 (*VirtualCircuitUpdateInput) HasDescription ¶

func (o *VirtualCircuitUpdateInput) HasDescription() bool

HasDescription returns a boolean if a field has been set.

func (*VirtualCircuitUpdateInput) HasName ¶

func (o *VirtualCircuitUpdateInput) HasName() bool

HasName returns a boolean if a field has been set.

func (*VirtualCircuitUpdateInput) HasSpeed ¶

func (o *VirtualCircuitUpdateInput) HasSpeed() bool

HasSpeed returns a boolean if a field has been set.

func (*VirtualCircuitUpdateInput) HasTags ¶

func (o *VirtualCircuitUpdateInput) HasTags() bool

HasTags returns a boolean if a field has been set.

func (*VirtualCircuitUpdateInput) HasVnid ¶

func (o *VirtualCircuitUpdateInput) HasVnid() bool

HasVnid returns a boolean if a field has been set.

func (VirtualCircuitUpdateInput) MarshalJSON ¶

func (o VirtualCircuitUpdateInput) MarshalJSON() ([]byte, error)

func (*VirtualCircuitUpdateInput) SetDescription ¶

func (o *VirtualCircuitUpdateInput) SetDescription(v string)

SetDescription gets a reference to the given string and assigns it to the Description field.

func (*VirtualCircuitUpdateInput) SetName ¶

func (o *VirtualCircuitUpdateInput) SetName(v string)

SetName gets a reference to the given string and assigns it to the Name field.

func (*VirtualCircuitUpdateInput) SetSpeed ¶

func (o *VirtualCircuitUpdateInput) SetSpeed(v string)

SetSpeed gets a reference to the given string and assigns it to the Speed field.

func (*VirtualCircuitUpdateInput) SetTags ¶

func (o *VirtualCircuitUpdateInput) SetTags(v []string)

SetTags gets a reference to the given []string and assigns it to the Tags field.

func (*VirtualCircuitUpdateInput) SetVnid ¶

func (o *VirtualCircuitUpdateInput) SetVnid(v string)

SetVnid gets a reference to the given string and assigns it to the Vnid field.

type VirtualNetwork ¶

type VirtualNetwork struct {
	AssignedTo *FindBatchById200ResponseDevicesInner `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                 *FindBatchById200ResponseDevicesInner `json:"facility,omitempty"`
	Href                     *string                               `json:"href,omitempty"`
	Id                       *string                               `json:"id,omitempty"`
	// A list of instances with ports currently associated to this Virtual Network.
	Instances []FindBatchById200ResponseDevicesInner `json:"instances,omitempty"`
	// A list of metal gateways currently associated to this Virtual Network.
	MetalGateways []FindDeviceById200ResponseNetworkPortsInnerNativeVirtualNetworkMetalGatewaysInner `json:"metal_gateways,omitempty"`
	Metro         *FindBatchById200ResponseDevicesInner                                              `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"`
}

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 ¶

GetAssignedTo returns the AssignedTo field value if set, zero value otherwise.

func (*VirtualNetwork) GetAssignedToOk ¶

func (o *VirtualNetwork) GetAssignedToOk() (*FindBatchById200ResponseDevicesInner, 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) 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 ¶

GetFacility returns the Facility field value if set, zero value otherwise.

func (*VirtualNetwork) GetFacilityOk ¶

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 ¶

GetInstances returns the Instances field value if set, zero value otherwise.

func (*VirtualNetwork) GetInstancesOk ¶

func (o *VirtualNetwork) GetInstancesOk() ([]FindBatchById200ResponseDevicesInner, 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 ¶

GetMetalGateways returns the MetalGateways field value if set, zero value otherwise.

func (*VirtualNetwork) GetMetalGatewaysOk ¶

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 ¶

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 ¶

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) 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) 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 ¶

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) 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 ¶

SetAssignedTo gets a reference to the given FindBatchById200ResponseDevicesInner 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) 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 ¶

SetFacility gets a reference to the given FindBatchById200ResponseDevicesInner 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 ¶

SetInstances gets a reference to the given []FindBatchById200ResponseDevicesInner and assigns it to the Instances field.

func (*VirtualNetwork) SetMetalGateways ¶

SetMetalGateways gets a reference to the given []FindDeviceById200ResponseNetworkPortsInnerNativeVirtualNetworkMetalGatewaysInner and assigns it to the MetalGateways field.

func (*VirtualNetwork) SetMetro ¶

SetMetro gets a reference to the given FindBatchById200ResponseDevicesInner 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) SetVxlan ¶

func (o *VirtualNetwork) SetVxlan(v int32)

SetVxlan gets a reference to the given int32 and assigns it to the Vxlan field.

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.
	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"`
	ProjectId string  `json:"project_id"`
	// 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"`
}

VirtualNetworkCreateInput struct for VirtualNetworkCreateInput

func NewVirtualNetworkCreateInput ¶

func NewVirtualNetworkCreateInput(projectId string) *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.

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.

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) GetProjectId ¶

func (o *VirtualNetworkCreateInput) GetProjectId() string

GetProjectId returns the ProjectId field value

func (*VirtualNetworkCreateInput) GetProjectIdOk ¶

func (o *VirtualNetworkCreateInput) GetProjectIdOk() (*string, bool)

GetProjectIdOk returns a tuple with the ProjectId field value 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) 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.

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) SetProjectId ¶

func (o *VirtualNetworkCreateInput) SetProjectId(v string)

SetProjectId sets field value

func (*VirtualNetworkCreateInput) SetVxlan ¶

func (o *VirtualNetworkCreateInput) SetVxlan(v int32)

SetVxlan gets a reference to the given int32 and assigns it to the Vxlan field.

type VirtualNetworkList ¶

type VirtualNetworkList struct {
	VirtualNetworks []FindDeviceById200ResponseNetworkPortsInnerNativeVirtualNetwork `json:"virtual_networks,omitempty"`
}

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 ¶

GetVirtualNetworks returns the VirtualNetworks field value if set, zero value otherwise.

func (*VirtualNetworkList) GetVirtualNetworksOk ¶

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 ¶

SetVirtualNetworks gets a reference to the given []FindDeviceById200ResponseNetworkPortsInnerNativeVirtualNetwork and assigns it to the VirtualNetworks field.

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"`
	// A 4-byte ASN associated with the VRF.
	LocalAsn *int32 `json:"local_asn,omitempty"`
	// A list of CIDR network addresses. Like [\"10.0.0.0/16\", \"2001:d78::/56\"].
	IpRanges  []string                                                                                      `json:"ip_ranges,omitempty"`
	Project   *GetInterconnection200ResponsePortsInnerVirtualCircuitsVirtualCircuitsInnerAnyOf1VrfProject   `json:"project,omitempty"`
	Metro     *GetInterconnection200ResponseMetroAllOf                                                      `json:"metro,omitempty"`
	CreatedBy *GetInterconnection200ResponsePortsInnerVirtualCircuitsVirtualCircuitsInnerAnyOf1VrfCreatedBy `json:"created_by,omitempty"`
	Href      *string                                                                                       `json:"href,omitempty"`
}

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) GetCreatedBy ¶

GetCreatedBy returns the CreatedBy field value if set, zero value otherwise.

func (*Vrf) GetCreatedByOk ¶

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 ¶

GetMetro returns the Metro field value if set, zero value otherwise.

func (*Vrf) GetMetroOk ¶

func (o *Vrf) GetMetroOk() (*GetInterconnection200ResponseMetroAllOf, 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 ¶

GetProject returns the Project field value if set, zero value otherwise.

func (*Vrf) GetProjectOk ¶

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) 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) MarshalJSON ¶

func (o Vrf) MarshalJSON() ([]byte, error)

func (*Vrf) SetCreatedBy ¶

SetCreatedBy gets a reference to the given GetInterconnection200ResponsePortsInnerVirtualCircuitsVirtualCircuitsInnerAnyOf1VrfCreatedBy 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 ¶

SetMetro gets a reference to the given GetInterconnection200ResponseMetroAllOf 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 ¶

SetProject gets a reference to the given GetInterconnection200ResponsePortsInnerVirtualCircuitsVirtualCircuitsInnerAnyOf1VrfProject and assigns it to the Project field.

type VrfCreateInput ¶

type VrfCreateInput struct {
	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"`
	ProjectId string `json:"project_id"`
}

VrfCreateInput struct for VrfCreateInput

func NewVrfCreateInput ¶

func NewVrfCreateInput(metro string, name string, projectId 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) 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) GetProjectId ¶

func (o *VrfCreateInput) GetProjectId() string

GetProjectId returns the ProjectId field value

func (*VrfCreateInput) GetProjectIdOk ¶

func (o *VrfCreateInput) GetProjectIdOk() (*string, bool)

GetProjectIdOk returns a tuple with the ProjectId field value and a boolean to check if the value 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) MarshalJSON ¶

func (o VrfCreateInput) MarshalJSON() ([]byte, error)

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) SetProjectId ¶

func (o *VrfCreateInput) SetProjectId(v string)

SetProjectId sets field value

type VrfIpReservation ¶

type VrfIpReservation struct {
	AddressFamily *int32                                                                                      `json:"address_family,omitempty"`
	Cidr          *int32                                                                                      `json:"cidr,omitempty"`
	CreatedAt     *time.Time                                                                                  `json:"created_at,omitempty"`
	CreatedBy     *FindBatchById200ResponseDevicesInner                                                       `json:"created_by,omitempty"`
	Details       *string                                                                                     `json:"details,omitempty"`
	Href          *string                                                                                     `json:"href,omitempty"`
	Id            *string                                                                                     `json:"id,omitempty"`
	MetalGateway  *FindDeviceById200ResponseNetworkPortsInnerNativeVirtualNetworkMetalGatewaysInner           `json:"metal_gateway,omitempty"`
	Netmask       *string                                                                                     `json:"netmask,omitempty"`
	Network       *string                                                                                     `json:"network,omitempty"`
	Project       *GetInterconnection200ResponsePortsInnerVirtualCircuitsVirtualCircuitsInnerAnyOf1VrfProject `json:"project,omitempty"`
	State         *string                                                                                     `json:"state,omitempty"`
	Tags          []string                                                                                    `json:"tags,omitempty"`
	Type          *string                                                                                     `json:"type,omitempty"`
	Vrf           GetInterconnection200ResponsePortsInnerVirtualCircuitsVirtualCircuitsInnerAnyOf1Vrf         `json:"vrf"`
}

VrfIpReservation struct for VrfIpReservation

func NewVrfIpReservation ¶

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) 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) 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 ¶

GetCreatedBy returns the CreatedBy field value if set, zero value otherwise.

func (*VrfIpReservation) GetCreatedByOk ¶

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) 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) 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) GetMetalGateway ¶

GetMetalGateway returns the MetalGateway field value if set, zero value otherwise.

func (*VrfIpReservation) GetMetalGatewayOk ¶

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) 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 ¶

GetProject returns the Project field value if set, zero value otherwise.

func (*VrfIpReservation) GetProjectOk ¶

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) 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 ¶

func (o *VrfIpReservation) GetType() string

GetType returns the Type field value if set, zero value otherwise.

func (*VrfIpReservation) GetTypeOk ¶

func (o *VrfIpReservation) 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 (*VrfIpReservation) GetVrf ¶

GetVrf returns the Vrf field value

func (*VrfIpReservation) GetVrfOk ¶

GetVrfOk returns a tuple with the Vrf field value and a boolean to check if the value has been set.

func (*VrfIpReservation) HasAddressFamily ¶

func (o *VrfIpReservation) HasAddressFamily() bool

HasAddressFamily 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) HasDetails ¶

func (o *VrfIpReservation) HasDetails() bool

HasDetails 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) HasMetalGateway ¶

func (o *VrfIpReservation) HasMetalGateway() bool

HasMetalGateway 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) 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) HasType ¶

func (o *VrfIpReservation) HasType() bool

HasType returns a boolean if a field has been set.

func (VrfIpReservation) MarshalJSON ¶

func (o VrfIpReservation) MarshalJSON() ([]byte, error)

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) 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 ¶

SetCreatedBy gets a reference to the given FindBatchById200ResponseDevicesInner and assigns it to the CreatedBy 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) 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) SetMetalGateway ¶

SetMetalGateway gets a reference to the given FindDeviceById200ResponseNetworkPortsInnerNativeVirtualNetworkMetalGatewaysInner and assigns it to the MetalGateway 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 ¶

SetProject gets a reference to the given GetInterconnection200ResponsePortsInnerVirtualCircuitsVirtualCircuitsInnerAnyOf1VrfProject and assigns it to the Project 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 string)

SetType gets a reference to the given string and assigns it to the Type field.

func (*VrfIpReservation) SetVrf ¶

SetVrf sets field value

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"`
}

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

type VrfIpReservationList ¶

type VrfIpReservationList struct {
	IpAddresses []FindIPAddressById200ResponseOneOf1 `json:"ip_addresses,omitempty"`
}

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 ¶

GetIpAddresses returns the IpAddresses field value if set, zero value otherwise.

func (*VrfIpReservationList) GetIpAddressesOk ¶

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 ¶

SetIpAddresses gets a reference to the given []FindIPAddressById200ResponseOneOf1 and assigns it to the IpAddresses field.

type VrfList ¶

type VrfList struct {
	Vrfs []GetInterconnection200ResponsePortsInnerVirtualCircuitsVirtualCircuitsInnerAnyOf1Vrf `json:"vrfs,omitempty"`
}

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 ¶

GetVrfs returns the Vrfs field value if set, zero value otherwise.

func (*VrfList) GetVrfsOk ¶

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 ¶

SetVrfs gets a reference to the given []GetInterconnection200ResponsePortsInnerVirtualCircuitsVirtualCircuitsInnerAnyOf1Vrf and assigns it to the Vrfs field.

type VrfMetalGateway ¶

type VrfMetalGateway struct {
	CreatedAt     *time.Time                                                                                  `json:"created_at,omitempty"`
	CreatedBy     *FindBatchById200ResponseDevicesInner                                                       `json:"created_by,omitempty"`
	Href          *string                                                                                     `json:"href,omitempty"`
	Id            *string                                                                                     `json:"id,omitempty"`
	IpReservation *FindIPAddressById200ResponseOneOf1                                                         `json:"ip_reservation,omitempty"`
	Project       *GetInterconnection200ResponsePortsInnerVirtualCircuitsVirtualCircuitsInnerAnyOf1VrfProject `json:"project,omitempty"`
	// 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.
	State          *string                                                                              `json:"state,omitempty"`
	UpdatedAt      *time.Time                                                                           `json:"updated_at,omitempty"`
	VirtualNetwork *FindDeviceById200ResponseNetworkPortsInnerNativeVirtualNetwork                      `json:"virtual_network,omitempty"`
	Vrf            *GetInterconnection200ResponsePortsInnerVirtualCircuitsVirtualCircuitsInnerAnyOf1Vrf `json:"vrf,omitempty"`
}

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 ¶

GetCreatedBy returns the CreatedBy field value if set, zero value otherwise.

func (*VrfMetalGateway) GetCreatedByOk ¶

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 ¶

GetIpReservation returns the IpReservation field value if set, zero value otherwise.

func (*VrfMetalGateway) GetIpReservationOk ¶

func (o *VrfMetalGateway) GetIpReservationOk() (*FindIPAddressById200ResponseOneOf1, 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 ¶

GetProject returns the Project field value if set, zero value otherwise.

func (*VrfMetalGateway) GetProjectOk ¶

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() string

GetState returns the State field value if set, zero value otherwise.

func (*VrfMetalGateway) GetStateOk ¶

func (o *VrfMetalGateway) 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 (*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 ¶

GetVirtualNetwork returns the VirtualNetwork field value if set, zero value otherwise.

func (*VrfMetalGateway) GetVirtualNetworkOk ¶

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 ¶

GetVrf returns the Vrf field value if set, zero value otherwise.

func (*VrfMetalGateway) GetVrfOk ¶

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 ¶

SetCreatedBy gets a reference to the given FindBatchById200ResponseDevicesInner 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 FindIPAddressById200ResponseOneOf1)

SetIpReservation gets a reference to the given FindIPAddressById200ResponseOneOf1 and assigns it to the IpReservation field.

func (*VrfMetalGateway) SetProject ¶

SetProject gets a reference to the given GetInterconnection200ResponsePortsInnerVirtualCircuitsVirtualCircuitsInnerAnyOf1VrfProject and assigns it to the Project field.

func (*VrfMetalGateway) SetState ¶

func (o *VrfMetalGateway) SetState(v string)

SetState gets a reference to the given string 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 ¶

SetVirtualNetwork gets a reference to the given FindDeviceById200ResponseNetworkPortsInnerNativeVirtualNetwork and assigns it to the VirtualNetwork field.

func (*VrfMetalGateway) SetVrf ¶

SetVrf gets a reference to the given GetInterconnection200ResponsePortsInnerVirtualCircuitsVirtualCircuitsInnerAnyOf1Vrf and assigns it to the Vrf field.

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"`
}

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

type VrfUpdateInput ¶

type VrfUpdateInput struct {
	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.
	LocalAsn *int32  `json:"local_asn,omitempty"`
	Name     *string `json:"name,omitempty"`
}

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) 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) 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) MarshalJSON ¶

func (o VrfUpdateInput) MarshalJSON() ([]byte, error)

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.

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    *FindBatchById200ResponseDevicesInner `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 *FindBatchById200ResponseDevicesInner `json:"project,omitempty"`
	// integer representing bps speed
	Speed  *int32  `json:"speed,omitempty"`
	Status *string `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"`
	Vrf    *GetInterconnection200ResponsePortsInnerVirtualCircuitsVirtualCircuitsInnerAnyOf1Vrf `json:"vrf,omitempty"`
}

VrfVirtualCircuit struct for VrfVirtualCircuit

func NewVrfVirtualCircuit ¶

func NewVrfVirtualCircuit() *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) 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 ¶

GetPort returns the Port field value if set, zero value otherwise.

func (*VrfVirtualCircuit) GetPortOk ¶

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 ¶

GetProject returns the Project field value if set, zero value otherwise.

func (*VrfVirtualCircuit) GetProjectOk ¶

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 ¶

func (o *VrfVirtualCircuit) GetStatus() string

GetStatus returns the Status field value if set, zero value otherwise.

func (*VrfVirtualCircuit) GetStatusOk ¶

func (o *VrfVirtualCircuit) 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 (*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) GetVrf ¶

GetVrf returns the Vrf field value if set, zero value otherwise.

func (*VrfVirtualCircuit) GetVrfOk ¶

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 (*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) HasVrf ¶

func (o *VrfVirtualCircuit) HasVrf() bool

HasVrf returns a boolean if a field has been set.

func (VrfVirtualCircuit) MarshalJSON ¶

func (o VrfVirtualCircuit) MarshalJSON() ([]byte, error)

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 ¶

SetPort gets a reference to the given FindBatchById200ResponseDevicesInner and assigns it to the Port field.

func (*VrfVirtualCircuit) SetProject ¶

SetProject gets a reference to the given FindBatchById200ResponseDevicesInner 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 ¶

func (o *VrfVirtualCircuit) SetStatus(v string)

SetStatus gets a reference to the given string 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) SetVrf ¶

SetVrf gets a reference to the given GetInterconnection200ResponsePortsInnerVirtualCircuitsVirtualCircuitsInnerAnyOf1Vrf and assigns it to the Vrf field.

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 MD5 password for the BGP peering in plaintext (not a checksum).
	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"`
	Project string `json:"project"`
	// 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"`
}

VrfVirtualCircuitCreateInput struct for VrfVirtualCircuitCreateInput

func NewVrfVirtualCircuitCreateInput ¶

func NewVrfVirtualCircuitCreateInput(nniVlan int32, peerAsn int32, project 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) GetProject ¶

func (o *VrfVirtualCircuitCreateInput) GetProject() string

GetProject returns the Project field value

func (*VrfVirtualCircuitCreateInput) GetProjectOk ¶

func (o *VrfVirtualCircuitCreateInput) GetProjectOk() (*string, bool)

GetProjectOk returns a tuple with the Project 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) SetProject ¶

func (o *VrfVirtualCircuitCreateInput) SetProject(v string)

SetProject 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) UnsetMd5 ¶

func (o *VrfVirtualCircuitCreateInput) UnsetMd5()

UnsetMd5 ensures that no value is present for Md5, not even an explicit nil

type VrfVirtualCircuitUpdateInput ¶

type VrfVirtualCircuitUpdateInput 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"`
}

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) 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) 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) 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) 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) HasDescription ¶

func (o *VrfVirtualCircuitUpdateInput) HasDescription() bool

HasDescription 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) HasSpeed ¶

func (o *VrfVirtualCircuitUpdateInput) HasSpeed() bool

HasSpeed 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) SetDescription ¶

func (o *VrfVirtualCircuitUpdateInput) SetDescription(v string)

SetDescription gets a reference to the given string and assigns it to the Description 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) SetSpeed ¶

func (o *VrfVirtualCircuitUpdateInput) SetSpeed(v string)

SetSpeed gets a reference to the given string and assigns it to the Speed 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.

Source Files ¶

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL