Documentation ¶
Index ¶
- Constants
- Variables
- func CacheExpires(r *http.Response) time.Time
- func IsNil(i interface{}) bool
- func PtrBool(v bool) *bool
- func PtrFloat32(v float32) *float32
- func PtrFloat64(v float64) *float64
- func PtrInt(v int) *int
- func PtrInt32(v int32) *int32
- func PtrInt64(v int64) *int64
- func PtrString(v string) *string
- func PtrTime(v time.Time) *time.Time
- type APIClient
- type APIKey
- type APIResponse
- type ApiPrivateNetworksGetRequest
- type ApiPrivateNetworksNetworkIdDeleteRequest
- type ApiPrivateNetworksNetworkIdGetRequest
- type ApiPrivateNetworksNetworkIdPutRequest
- type ApiPrivateNetworksPostRequest
- func (r ApiPrivateNetworksPostRequest) Execute() (*PrivateNetwork, *http.Response, error)
- func (r ApiPrivateNetworksPostRequest) Force(force bool) ApiPrivateNetworksPostRequest
- func (r ApiPrivateNetworksPostRequest) PrivateNetworkCreate(privateNetworkCreate PrivateNetworkCreate) ApiPrivateNetworksPostRequest
- type ApiPublicNetworksGetRequest
- type ApiPublicNetworksNetworkIdDeleteRequest
- type ApiPublicNetworksNetworkIdGetRequest
- type ApiPublicNetworksNetworkIdIpBlocksIpBlockIdDeleteRequest
- type ApiPublicNetworksNetworkIdIpBlocksPostRequest
- type ApiPublicNetworksNetworkIdPatchRequest
- type ApiPublicNetworksPostRequest
- type BasicAuth
- type Configuration
- type Error
- func (o *Error) GetMessage() string
- func (o *Error) GetMessageOk() (*string, bool)
- func (o *Error) GetValidationErrors() []string
- func (o *Error) GetValidationErrorsOk() ([]string, bool)
- func (o *Error) HasValidationErrors() bool
- func (o Error) MarshalJSON() ([]byte, error)
- func (o *Error) SetMessage(v string)
- func (o *Error) SetValidationErrors(v []string)
- func (o Error) ToMap() (map[string]interface{}, error)
- func (o *Error) UnmarshalJSON(data []byte) (err error)
- type GenericOpenAPIError
- type MappedNullable
- type NetworkMembership
- func (o *NetworkMembership) GetIps() []string
- func (o *NetworkMembership) GetIpsOk() ([]string, bool)
- func (o *NetworkMembership) GetResourceId() string
- func (o *NetworkMembership) GetResourceIdOk() (*string, bool)
- func (o *NetworkMembership) GetResourceType() string
- func (o *NetworkMembership) GetResourceTypeOk() (*string, bool)
- func (o NetworkMembership) MarshalJSON() ([]byte, error)
- func (o *NetworkMembership) SetIps(v []string)
- func (o *NetworkMembership) SetResourceId(v string)
- func (o *NetworkMembership) SetResourceType(v string)
- func (o NetworkMembership) ToMap() (map[string]interface{}, error)
- func (o *NetworkMembership) UnmarshalJSON(data []byte) (err error)
- type NullableBool
- type NullableError
- type NullableFloat32
- type NullableFloat64
- type NullableInt
- type NullableInt32
- type NullableInt64
- type NullableNetworkMembership
- func (v NullableNetworkMembership) Get() *NetworkMembership
- func (v NullableNetworkMembership) IsSet() bool
- func (v NullableNetworkMembership) MarshalJSON() ([]byte, error)
- func (v *NullableNetworkMembership) Set(val *NetworkMembership)
- func (v *NullableNetworkMembership) UnmarshalJSON(src []byte) error
- func (v *NullableNetworkMembership) Unset()
- type NullablePrivateNetwork
- func (v NullablePrivateNetwork) Get() *PrivateNetwork
- func (v NullablePrivateNetwork) IsSet() bool
- func (v NullablePrivateNetwork) MarshalJSON() ([]byte, error)
- func (v *NullablePrivateNetwork) Set(val *PrivateNetwork)
- func (v *NullablePrivateNetwork) UnmarshalJSON(src []byte) error
- func (v *NullablePrivateNetwork) Unset()
- type NullablePrivateNetworkCreate
- func (v NullablePrivateNetworkCreate) Get() *PrivateNetworkCreate
- func (v NullablePrivateNetworkCreate) IsSet() bool
- func (v NullablePrivateNetworkCreate) MarshalJSON() ([]byte, error)
- func (v *NullablePrivateNetworkCreate) Set(val *PrivateNetworkCreate)
- func (v *NullablePrivateNetworkCreate) UnmarshalJSON(src []byte) error
- func (v *NullablePrivateNetworkCreate) Unset()
- type NullablePrivateNetworkModify
- func (v NullablePrivateNetworkModify) Get() *PrivateNetworkModify
- func (v NullablePrivateNetworkModify) IsSet() bool
- func (v NullablePrivateNetworkModify) MarshalJSON() ([]byte, error)
- func (v *NullablePrivateNetworkModify) Set(val *PrivateNetworkModify)
- func (v *NullablePrivateNetworkModify) UnmarshalJSON(src []byte) error
- func (v *NullablePrivateNetworkModify) Unset()
- type NullablePrivateNetworkServer
- func (v NullablePrivateNetworkServer) Get() *PrivateNetworkServer
- func (v NullablePrivateNetworkServer) IsSet() bool
- func (v NullablePrivateNetworkServer) MarshalJSON() ([]byte, error)
- func (v *NullablePrivateNetworkServer) Set(val *PrivateNetworkServer)
- func (v *NullablePrivateNetworkServer) UnmarshalJSON(src []byte) error
- func (v *NullablePrivateNetworkServer) Unset()
- type NullablePublicNetwork
- func (v NullablePublicNetwork) Get() *PublicNetwork
- func (v NullablePublicNetwork) IsSet() bool
- func (v NullablePublicNetwork) MarshalJSON() ([]byte, error)
- func (v *NullablePublicNetwork) Set(val *PublicNetwork)
- func (v *NullablePublicNetwork) UnmarshalJSON(src []byte) error
- func (v *NullablePublicNetwork) Unset()
- type NullablePublicNetworkCreate
- func (v NullablePublicNetworkCreate) Get() *PublicNetworkCreate
- func (v NullablePublicNetworkCreate) IsSet() bool
- func (v NullablePublicNetworkCreate) MarshalJSON() ([]byte, error)
- func (v *NullablePublicNetworkCreate) Set(val *PublicNetworkCreate)
- func (v *NullablePublicNetworkCreate) UnmarshalJSON(src []byte) error
- func (v *NullablePublicNetworkCreate) Unset()
- type NullablePublicNetworkIpBlock
- func (v NullablePublicNetworkIpBlock) Get() *PublicNetworkIpBlock
- func (v NullablePublicNetworkIpBlock) IsSet() bool
- func (v NullablePublicNetworkIpBlock) MarshalJSON() ([]byte, error)
- func (v *NullablePublicNetworkIpBlock) Set(val *PublicNetworkIpBlock)
- func (v *NullablePublicNetworkIpBlock) UnmarshalJSON(src []byte) error
- func (v *NullablePublicNetworkIpBlock) Unset()
- type NullablePublicNetworkModify
- func (v NullablePublicNetworkModify) Get() *PublicNetworkModify
- func (v NullablePublicNetworkModify) IsSet() bool
- func (v NullablePublicNetworkModify) MarshalJSON() ([]byte, error)
- func (v *NullablePublicNetworkModify) Set(val *PublicNetworkModify)
- func (v *NullablePublicNetworkModify) UnmarshalJSON(src []byte) error
- func (v *NullablePublicNetworkModify) Unset()
- type NullableString
- type NullableTime
- type PrivateNetwork
- func (o *PrivateNetwork) GetCidr() string
- func (o *PrivateNetwork) GetCidrOk() (*string, bool)
- func (o *PrivateNetwork) GetCreatedOn() time.Time
- func (o *PrivateNetwork) GetCreatedOnOk() (*time.Time, bool)
- func (o *PrivateNetwork) GetDescription() string
- func (o *PrivateNetwork) GetDescriptionOk() (*string, bool)
- func (o *PrivateNetwork) GetId() string
- func (o *PrivateNetwork) GetIdOk() (*string, bool)
- func (o *PrivateNetwork) GetLocation() string
- func (o *PrivateNetwork) GetLocationDefault() bool
- func (o *PrivateNetwork) GetLocationDefaultOk() (*bool, bool)
- func (o *PrivateNetwork) GetLocationOk() (*string, bool)
- func (o *PrivateNetwork) GetMemberships() []NetworkMembership
- func (o *PrivateNetwork) GetMembershipsOk() ([]NetworkMembership, bool)
- func (o *PrivateNetwork) GetName() string
- func (o *PrivateNetwork) GetNameOk() (*string, bool)
- func (o *PrivateNetwork) GetServers() []PrivateNetworkServer
- func (o *PrivateNetwork) GetServersOk() ([]PrivateNetworkServer, bool)
- func (o *PrivateNetwork) GetStatus() string
- func (o *PrivateNetwork) GetStatusOk() (*string, bool)
- func (o *PrivateNetwork) GetType() string
- func (o *PrivateNetwork) GetTypeOk() (*string, bool)
- func (o *PrivateNetwork) GetVlanId() int32
- func (o *PrivateNetwork) GetVlanIdOk() (*int32, bool)
- func (o *PrivateNetwork) HasCidr() bool
- func (o *PrivateNetwork) HasDescription() bool
- func (o PrivateNetwork) MarshalJSON() ([]byte, error)
- func (o *PrivateNetwork) SetCidr(v string)
- func (o *PrivateNetwork) SetCreatedOn(v time.Time)
- func (o *PrivateNetwork) SetDescription(v string)
- func (o *PrivateNetwork) SetId(v string)
- func (o *PrivateNetwork) SetLocation(v string)
- func (o *PrivateNetwork) SetLocationDefault(v bool)
- func (o *PrivateNetwork) SetMemberships(v []NetworkMembership)
- func (o *PrivateNetwork) SetName(v string)
- func (o *PrivateNetwork) SetServers(v []PrivateNetworkServer)
- func (o *PrivateNetwork) SetStatus(v string)
- func (o *PrivateNetwork) SetType(v string)
- func (o *PrivateNetwork) SetVlanId(v int32)
- func (o PrivateNetwork) ToMap() (map[string]interface{}, error)
- func (o *PrivateNetwork) UnmarshalJSON(data []byte) (err error)
- type PrivateNetworkCreate
- func (o *PrivateNetworkCreate) GetCidr() string
- func (o *PrivateNetworkCreate) GetCidrOk() (*string, bool)
- func (o *PrivateNetworkCreate) GetDescription() string
- func (o *PrivateNetworkCreate) GetDescriptionOk() (*string, bool)
- func (o *PrivateNetworkCreate) GetLocation() string
- func (o *PrivateNetworkCreate) GetLocationDefault() bool
- func (o *PrivateNetworkCreate) GetLocationDefaultOk() (*bool, bool)
- func (o *PrivateNetworkCreate) GetLocationOk() (*string, bool)
- func (o *PrivateNetworkCreate) GetName() string
- func (o *PrivateNetworkCreate) GetNameOk() (*string, bool)
- func (o *PrivateNetworkCreate) GetVlanId() int32
- func (o *PrivateNetworkCreate) GetVlanIdOk() (*int32, bool)
- func (o *PrivateNetworkCreate) HasCidr() bool
- func (o *PrivateNetworkCreate) HasDescription() bool
- func (o *PrivateNetworkCreate) HasLocationDefault() bool
- func (o *PrivateNetworkCreate) HasVlanId() bool
- func (o PrivateNetworkCreate) MarshalJSON() ([]byte, error)
- func (o *PrivateNetworkCreate) SetCidr(v string)
- func (o *PrivateNetworkCreate) SetDescription(v string)
- func (o *PrivateNetworkCreate) SetLocation(v string)
- func (o *PrivateNetworkCreate) SetLocationDefault(v bool)
- func (o *PrivateNetworkCreate) SetName(v string)
- func (o *PrivateNetworkCreate) SetVlanId(v int32)
- func (o PrivateNetworkCreate) ToMap() (map[string]interface{}, error)
- func (o *PrivateNetworkCreate) UnmarshalJSON(data []byte) (err error)
- type PrivateNetworkModify
- func (o *PrivateNetworkModify) GetDescription() string
- func (o *PrivateNetworkModify) GetDescriptionOk() (*string, bool)
- func (o *PrivateNetworkModify) GetLocationDefault() bool
- func (o *PrivateNetworkModify) GetLocationDefaultOk() (*bool, bool)
- func (o *PrivateNetworkModify) GetName() string
- func (o *PrivateNetworkModify) GetNameOk() (*string, bool)
- func (o *PrivateNetworkModify) HasDescription() bool
- func (o PrivateNetworkModify) MarshalJSON() ([]byte, error)
- func (o *PrivateNetworkModify) SetDescription(v string)
- func (o *PrivateNetworkModify) SetLocationDefault(v bool)
- func (o *PrivateNetworkModify) SetName(v string)
- func (o PrivateNetworkModify) ToMap() (map[string]interface{}, error)
- func (o *PrivateNetworkModify) UnmarshalJSON(data []byte) (err error)
- type PrivateNetworkServer
- func (o *PrivateNetworkServer) GetId() string
- func (o *PrivateNetworkServer) GetIdOk() (*string, bool)
- func (o *PrivateNetworkServer) GetIps() []string
- func (o *PrivateNetworkServer) GetIpsOk() ([]string, bool)
- func (o PrivateNetworkServer) MarshalJSON() ([]byte, error)
- func (o *PrivateNetworkServer) SetId(v string)
- func (o *PrivateNetworkServer) SetIps(v []string)
- func (o PrivateNetworkServer) ToMap() (map[string]interface{}, error)
- func (o *PrivateNetworkServer) UnmarshalJSON(data []byte) (err error)
- type PrivateNetworksAPI
- type PrivateNetworksAPIService
- func (a *PrivateNetworksAPIService) PrivateNetworksGet(ctx context.Context) ApiPrivateNetworksGetRequest
- func (a *PrivateNetworksAPIService) PrivateNetworksGetExecute(r ApiPrivateNetworksGetRequest) ([]PrivateNetwork, *http.Response, error)
- func (a *PrivateNetworksAPIService) PrivateNetworksNetworkIdDelete(ctx context.Context, privateNetworkId string) ApiPrivateNetworksNetworkIdDeleteRequest
- func (a *PrivateNetworksAPIService) PrivateNetworksNetworkIdDeleteExecute(r ApiPrivateNetworksNetworkIdDeleteRequest) (*http.Response, error)
- func (a *PrivateNetworksAPIService) PrivateNetworksNetworkIdGet(ctx context.Context, privateNetworkId string) ApiPrivateNetworksNetworkIdGetRequest
- func (a *PrivateNetworksAPIService) PrivateNetworksNetworkIdGetExecute(r ApiPrivateNetworksNetworkIdGetRequest) (*PrivateNetwork, *http.Response, error)
- func (a *PrivateNetworksAPIService) PrivateNetworksNetworkIdPut(ctx context.Context, privateNetworkId string) ApiPrivateNetworksNetworkIdPutRequest
- func (a *PrivateNetworksAPIService) PrivateNetworksNetworkIdPutExecute(r ApiPrivateNetworksNetworkIdPutRequest) (*PrivateNetwork, *http.Response, error)
- func (a *PrivateNetworksAPIService) PrivateNetworksPost(ctx context.Context) ApiPrivateNetworksPostRequest
- func (a *PrivateNetworksAPIService) PrivateNetworksPostExecute(r ApiPrivateNetworksPostRequest) (*PrivateNetwork, *http.Response, error)
- type PublicNetwork
- func (o *PublicNetwork) GetCreatedOn() time.Time
- func (o *PublicNetwork) GetCreatedOnOk() (*time.Time, bool)
- func (o *PublicNetwork) GetDescription() string
- func (o *PublicNetwork) GetDescriptionOk() (*string, bool)
- func (o *PublicNetwork) GetId() string
- func (o *PublicNetwork) GetIdOk() (*string, bool)
- func (o *PublicNetwork) GetIpBlocks() []PublicNetworkIpBlock
- func (o *PublicNetwork) GetIpBlocksOk() ([]PublicNetworkIpBlock, bool)
- func (o *PublicNetwork) GetLocation() string
- func (o *PublicNetwork) GetLocationOk() (*string, bool)
- func (o *PublicNetwork) GetMemberships() []NetworkMembership
- func (o *PublicNetwork) GetMembershipsOk() ([]NetworkMembership, bool)
- func (o *PublicNetwork) GetName() string
- func (o *PublicNetwork) GetNameOk() (*string, bool)
- func (o *PublicNetwork) GetStatus() string
- func (o *PublicNetwork) GetStatusOk() (*string, bool)
- func (o *PublicNetwork) GetVlanId() int32
- func (o *PublicNetwork) GetVlanIdOk() (*int32, bool)
- func (o *PublicNetwork) HasDescription() bool
- func (o PublicNetwork) MarshalJSON() ([]byte, error)
- func (o *PublicNetwork) SetCreatedOn(v time.Time)
- func (o *PublicNetwork) SetDescription(v string)
- func (o *PublicNetwork) SetId(v string)
- func (o *PublicNetwork) SetIpBlocks(v []PublicNetworkIpBlock)
- func (o *PublicNetwork) SetLocation(v string)
- func (o *PublicNetwork) SetMemberships(v []NetworkMembership)
- func (o *PublicNetwork) SetName(v string)
- func (o *PublicNetwork) SetStatus(v string)
- func (o *PublicNetwork) SetVlanId(v int32)
- func (o PublicNetwork) ToMap() (map[string]interface{}, error)
- func (o *PublicNetwork) UnmarshalJSON(data []byte) (err error)
- type PublicNetworkCreate
- func (o *PublicNetworkCreate) GetDescription() string
- func (o *PublicNetworkCreate) GetDescriptionOk() (*string, bool)
- func (o *PublicNetworkCreate) GetIpBlocks() []PublicNetworkIpBlock
- func (o *PublicNetworkCreate) GetIpBlocksOk() ([]PublicNetworkIpBlock, bool)
- func (o *PublicNetworkCreate) GetLocation() string
- func (o *PublicNetworkCreate) GetLocationOk() (*string, bool)
- func (o *PublicNetworkCreate) GetName() string
- func (o *PublicNetworkCreate) GetNameOk() (*string, bool)
- func (o *PublicNetworkCreate) GetVlanId() int32
- func (o *PublicNetworkCreate) GetVlanIdOk() (*int32, bool)
- func (o *PublicNetworkCreate) HasDescription() bool
- func (o *PublicNetworkCreate) HasIpBlocks() bool
- func (o *PublicNetworkCreate) HasVlanId() bool
- func (o PublicNetworkCreate) MarshalJSON() ([]byte, error)
- func (o *PublicNetworkCreate) SetDescription(v string)
- func (o *PublicNetworkCreate) SetIpBlocks(v []PublicNetworkIpBlock)
- func (o *PublicNetworkCreate) SetLocation(v string)
- func (o *PublicNetworkCreate) SetName(v string)
- func (o *PublicNetworkCreate) SetVlanId(v int32)
- func (o PublicNetworkCreate) ToMap() (map[string]interface{}, error)
- func (o *PublicNetworkCreate) UnmarshalJSON(data []byte) (err error)
- type PublicNetworkIpBlock
- func (o *PublicNetworkIpBlock) GetId() string
- func (o *PublicNetworkIpBlock) GetIdOk() (*string, bool)
- func (o PublicNetworkIpBlock) MarshalJSON() ([]byte, error)
- func (o *PublicNetworkIpBlock) SetId(v string)
- func (o PublicNetworkIpBlock) ToMap() (map[string]interface{}, error)
- func (o *PublicNetworkIpBlock) UnmarshalJSON(data []byte) (err error)
- type PublicNetworkModify
- func (o *PublicNetworkModify) GetDescription() string
- func (o *PublicNetworkModify) GetDescriptionOk() (*string, bool)
- func (o *PublicNetworkModify) GetName() string
- func (o *PublicNetworkModify) GetNameOk() (*string, bool)
- func (o *PublicNetworkModify) HasDescription() bool
- func (o *PublicNetworkModify) HasName() bool
- func (o PublicNetworkModify) MarshalJSON() ([]byte, error)
- func (o *PublicNetworkModify) SetDescription(v string)
- func (o *PublicNetworkModify) SetName(v string)
- func (o PublicNetworkModify) ToMap() (map[string]interface{}, error)
- func (o *PublicNetworkModify) UnmarshalJSON(data []byte) (err error)
- type PublicNetworksAPI
- type PublicNetworksAPIService
- func (a *PublicNetworksAPIService) PublicNetworksGet(ctx context.Context) ApiPublicNetworksGetRequest
- func (a *PublicNetworksAPIService) PublicNetworksGetExecute(r ApiPublicNetworksGetRequest) ([]PublicNetwork, *http.Response, error)
- func (a *PublicNetworksAPIService) PublicNetworksNetworkIdDelete(ctx context.Context, publicNetworkId string) ApiPublicNetworksNetworkIdDeleteRequest
- func (a *PublicNetworksAPIService) PublicNetworksNetworkIdDeleteExecute(r ApiPublicNetworksNetworkIdDeleteRequest) (*http.Response, error)
- func (a *PublicNetworksAPIService) PublicNetworksNetworkIdGet(ctx context.Context, publicNetworkId string) ApiPublicNetworksNetworkIdGetRequest
- func (a *PublicNetworksAPIService) PublicNetworksNetworkIdGetExecute(r ApiPublicNetworksNetworkIdGetRequest) (*PublicNetwork, *http.Response, error)
- func (a *PublicNetworksAPIService) PublicNetworksNetworkIdIpBlocksIpBlockIdDelete(ctx context.Context, publicNetworkId string, ipBlockId string) ApiPublicNetworksNetworkIdIpBlocksIpBlockIdDeleteRequest
- func (a *PublicNetworksAPIService) PublicNetworksNetworkIdIpBlocksIpBlockIdDeleteExecute(r ApiPublicNetworksNetworkIdIpBlocksIpBlockIdDeleteRequest) (string, *http.Response, error)
- func (a *PublicNetworksAPIService) PublicNetworksNetworkIdIpBlocksPost(ctx context.Context, publicNetworkId string) ApiPublicNetworksNetworkIdIpBlocksPostRequest
- func (a *PublicNetworksAPIService) PublicNetworksNetworkIdIpBlocksPostExecute(r ApiPublicNetworksNetworkIdIpBlocksPostRequest) (*PublicNetworkIpBlock, *http.Response, error)
- func (a *PublicNetworksAPIService) PublicNetworksNetworkIdPatch(ctx context.Context, publicNetworkId string) ApiPublicNetworksNetworkIdPatchRequest
- func (a *PublicNetworksAPIService) PublicNetworksNetworkIdPatchExecute(r ApiPublicNetworksNetworkIdPatchRequest) (*PublicNetwork, *http.Response, error)
- func (a *PublicNetworksAPIService) PublicNetworksPost(ctx context.Context) ApiPublicNetworksPostRequest
- func (a *PublicNetworksAPIService) PublicNetworksPostExecute(r ApiPublicNetworksPostRequest) (*PublicNetwork, *http.Response, error)
- type ServerConfiguration
- type ServerConfigurations
- type ServerVariable
Constants ¶
const SdkVersion = "3.0.2"
Variables ¶
var ( JsonCheck = regexp.MustCompile(`(?i:(?:application|text)/(?:[^;]+\+)?json)`) XmlCheck = regexp.MustCompile(`(?i:(?:application|text)/(?:[^;]+\+)?xml)`) )
var ( // ContextOAuth2 takes an oauth2.TokenSource as authentication for the request. ContextOAuth2 = contextKey("token") // 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 ¶
CacheExpires helper function to determine remaining time before repeating a request.
func PtrFloat32 ¶
PtrFloat32 is a helper routine that returns a pointer to given float value.
func PtrFloat64 ¶
PtrFloat64 is a helper routine that returns a pointer to given float value.
Types ¶
type APIClient ¶
type APIClient struct { PrivateNetworksAPI PrivateNetworksAPI PublicNetworksAPI PublicNetworksAPI // contains filtered or unexported fields }
APIClient manages communication with the Networks API API v1.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 ¶
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 ApiPrivateNetworksGetRequest ¶
type ApiPrivateNetworksGetRequest struct { ApiService PrivateNetworksAPI // contains filtered or unexported fields }
func (ApiPrivateNetworksGetRequest) Execute ¶
func (r ApiPrivateNetworksGetRequest) Execute() ([]PrivateNetwork, *http.Response, error)
func (ApiPrivateNetworksGetRequest) Location ¶
func (r ApiPrivateNetworksGetRequest) Location(location string) ApiPrivateNetworksGetRequest
If present will filter the result by the given location of the Private Networks.
type ApiPrivateNetworksNetworkIdDeleteRequest ¶
type ApiPrivateNetworksNetworkIdDeleteRequest struct { ApiService PrivateNetworksAPI // contains filtered or unexported fields }
type ApiPrivateNetworksNetworkIdGetRequest ¶
type ApiPrivateNetworksNetworkIdGetRequest struct { ApiService PrivateNetworksAPI // contains filtered or unexported fields }
func (ApiPrivateNetworksNetworkIdGetRequest) Execute ¶
func (r ApiPrivateNetworksNetworkIdGetRequest) Execute() (*PrivateNetwork, *http.Response, error)
type ApiPrivateNetworksNetworkIdPutRequest ¶
type ApiPrivateNetworksNetworkIdPutRequest struct { ApiService PrivateNetworksAPI // contains filtered or unexported fields }
func (ApiPrivateNetworksNetworkIdPutRequest) Execute ¶
func (r ApiPrivateNetworksNetworkIdPutRequest) Execute() (*PrivateNetwork, *http.Response, error)
func (ApiPrivateNetworksNetworkIdPutRequest) PrivateNetworkModify ¶
func (r ApiPrivateNetworksNetworkIdPutRequest) PrivateNetworkModify(privateNetworkModify PrivateNetworkModify) ApiPrivateNetworksNetworkIdPutRequest
type ApiPrivateNetworksPostRequest ¶
type ApiPrivateNetworksPostRequest struct { ApiService PrivateNetworksAPI // contains filtered or unexported fields }
func (ApiPrivateNetworksPostRequest) Execute ¶
func (r ApiPrivateNetworksPostRequest) Execute() (*PrivateNetwork, *http.Response, error)
func (ApiPrivateNetworksPostRequest) Force ¶
func (r ApiPrivateNetworksPostRequest) Force(force bool) ApiPrivateNetworksPostRequest
Query parameter controlling advanced features availability. Currently applicable for networking. It is advised to use with caution since it might lead to unhealthy setups.
func (ApiPrivateNetworksPostRequest) PrivateNetworkCreate ¶
func (r ApiPrivateNetworksPostRequest) PrivateNetworkCreate(privateNetworkCreate PrivateNetworkCreate) ApiPrivateNetworksPostRequest
type ApiPublicNetworksGetRequest ¶
type ApiPublicNetworksGetRequest struct { ApiService PublicNetworksAPI // contains filtered or unexported fields }
func (ApiPublicNetworksGetRequest) Execute ¶
func (r ApiPublicNetworksGetRequest) Execute() ([]PublicNetwork, *http.Response, error)
func (ApiPublicNetworksGetRequest) Location ¶
func (r ApiPublicNetworksGetRequest) Location(location string) ApiPublicNetworksGetRequest
If present will filter the result by the given location of the Public Networks.
type ApiPublicNetworksNetworkIdDeleteRequest ¶
type ApiPublicNetworksNetworkIdDeleteRequest struct { ApiService PublicNetworksAPI // contains filtered or unexported fields }
type ApiPublicNetworksNetworkIdGetRequest ¶
type ApiPublicNetworksNetworkIdGetRequest struct { ApiService PublicNetworksAPI // contains filtered or unexported fields }
func (ApiPublicNetworksNetworkIdGetRequest) Execute ¶
func (r ApiPublicNetworksNetworkIdGetRequest) Execute() (*PublicNetwork, *http.Response, error)
type ApiPublicNetworksNetworkIdIpBlocksIpBlockIdDeleteRequest ¶
type ApiPublicNetworksNetworkIdIpBlocksIpBlockIdDeleteRequest struct { ApiService PublicNetworksAPI // contains filtered or unexported fields }
func (ApiPublicNetworksNetworkIdIpBlocksIpBlockIdDeleteRequest) Execute ¶
func (r ApiPublicNetworksNetworkIdIpBlocksIpBlockIdDeleteRequest) Execute() (string, *http.Response, error)
func (ApiPublicNetworksNetworkIdIpBlocksIpBlockIdDeleteRequest) Force ¶
func (r ApiPublicNetworksNetworkIdIpBlocksIpBlockIdDeleteRequest) Force(force bool) ApiPublicNetworksNetworkIdIpBlocksIpBlockIdDeleteRequest
Query parameter controlling advanced features availability. Currently applicable for networking. It is advised to use with caution since it might lead to unhealthy setups.
type ApiPublicNetworksNetworkIdIpBlocksPostRequest ¶
type ApiPublicNetworksNetworkIdIpBlocksPostRequest struct { ApiService PublicNetworksAPI // contains filtered or unexported fields }
func (ApiPublicNetworksNetworkIdIpBlocksPostRequest) Execute ¶
func (r ApiPublicNetworksNetworkIdIpBlocksPostRequest) Execute() (*PublicNetworkIpBlock, *http.Response, error)
func (ApiPublicNetworksNetworkIdIpBlocksPostRequest) PublicNetworkIpBlock ¶
func (r ApiPublicNetworksNetworkIdIpBlocksPostRequest) PublicNetworkIpBlock(publicNetworkIpBlock PublicNetworkIpBlock) ApiPublicNetworksNetworkIdIpBlocksPostRequest
type ApiPublicNetworksNetworkIdPatchRequest ¶
type ApiPublicNetworksNetworkIdPatchRequest struct { ApiService PublicNetworksAPI // contains filtered or unexported fields }
func (ApiPublicNetworksNetworkIdPatchRequest) Execute ¶
func (r ApiPublicNetworksNetworkIdPatchRequest) Execute() (*PublicNetwork, *http.Response, error)
func (ApiPublicNetworksNetworkIdPatchRequest) PublicNetworkModify ¶
func (r ApiPublicNetworksNetworkIdPatchRequest) PublicNetworkModify(publicNetworkModify PublicNetworkModify) ApiPublicNetworksNetworkIdPatchRequest
type ApiPublicNetworksPostRequest ¶
type ApiPublicNetworksPostRequest struct { ApiService PublicNetworksAPI // contains filtered or unexported fields }
func (ApiPublicNetworksPostRequest) Execute ¶
func (r ApiPublicNetworksPostRequest) Execute() (*PublicNetwork, *http.Response, error)
func (ApiPublicNetworksPostRequest) PublicNetworkCreate ¶
func (r ApiPublicNetworksPostRequest) PublicNetworkCreate(publicNetworkCreate PublicNetworkCreate) ApiPublicNetworksPostRequest
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 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"` XPoweredBy string `json:"xPoweredBy,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) ServerURLWithContext ¶
ServerURLWithContext returns a new server URL given an endpoint
type Error ¶
type Error struct { // The description detailing the cause of the error code. Message string `json:"message"` // Validation errors, if any. ValidationErrors []string `json:"validationErrors,omitempty"` AdditionalProperties map[string]interface{} }
Error struct for Error
func NewError ¶
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) GetMessage ¶
GetMessage returns the Message field value
func (*Error) GetMessageOk ¶
GetMessageOk returns a tuple with the Message field value and a boolean to check if the value has been set.
func (*Error) GetValidationErrors ¶
GetValidationErrors returns the ValidationErrors field value if set, zero value otherwise.
func (*Error) GetValidationErrorsOk ¶
GetValidationErrorsOk returns a tuple with the ValidationErrors field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Error) HasValidationErrors ¶
HasValidationErrors returns a boolean if a field has been set.
func (Error) MarshalJSON ¶
func (*Error) SetValidationErrors ¶
SetValidationErrors gets a reference to the given []string and assigns it to the ValidationErrors field.
func (*Error) UnmarshalJSON ¶
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 MappedNullable ¶
type NetworkMembership ¶
type NetworkMembership struct { // The resource identifier. ResourceId string `json:"resourceId"` // The resource's type. ResourceType string `json:"resourceType"` // List of IPs associated to the resource. Ips []string `json:"ips"` AdditionalProperties map[string]interface{} }
NetworkMembership Resource details linked to the Network.
func NewNetworkMembership ¶
func NewNetworkMembership(resourceId string, resourceType string, ips []string) *NetworkMembership
NewNetworkMembership instantiates a new NetworkMembership object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewNetworkMembershipWithDefaults ¶
func NewNetworkMembershipWithDefaults() *NetworkMembership
NewNetworkMembershipWithDefaults instantiates a new NetworkMembership object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*NetworkMembership) GetIps ¶
func (o *NetworkMembership) GetIps() []string
GetIps returns the Ips field value
func (*NetworkMembership) GetIpsOk ¶
func (o *NetworkMembership) GetIpsOk() ([]string, bool)
GetIpsOk returns a tuple with the Ips field value and a boolean to check if the value has been set.
func (*NetworkMembership) GetResourceId ¶
func (o *NetworkMembership) GetResourceId() string
GetResourceId returns the ResourceId field value
func (*NetworkMembership) GetResourceIdOk ¶
func (o *NetworkMembership) GetResourceIdOk() (*string, bool)
GetResourceIdOk returns a tuple with the ResourceId field value and a boolean to check if the value has been set.
func (*NetworkMembership) GetResourceType ¶
func (o *NetworkMembership) GetResourceType() string
GetResourceType returns the ResourceType field value
func (*NetworkMembership) GetResourceTypeOk ¶
func (o *NetworkMembership) GetResourceTypeOk() (*string, bool)
GetResourceTypeOk returns a tuple with the ResourceType field value and a boolean to check if the value has been set.
func (NetworkMembership) MarshalJSON ¶
func (o NetworkMembership) MarshalJSON() ([]byte, error)
func (*NetworkMembership) SetIps ¶
func (o *NetworkMembership) SetIps(v []string)
SetIps sets field value
func (*NetworkMembership) SetResourceId ¶
func (o *NetworkMembership) SetResourceId(v string)
SetResourceId sets field value
func (*NetworkMembership) SetResourceType ¶
func (o *NetworkMembership) SetResourceType(v string)
SetResourceType sets field value
func (NetworkMembership) ToMap ¶
func (o NetworkMembership) ToMap() (map[string]interface{}, error)
func (*NetworkMembership) UnmarshalJSON ¶
func (o *NetworkMembership) UnmarshalJSON(data []byte) (err error)
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 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 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 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 NullableNetworkMembership ¶
type NullableNetworkMembership struct {
// contains filtered or unexported fields
}
func NewNullableNetworkMembership ¶
func NewNullableNetworkMembership(val *NetworkMembership) *NullableNetworkMembership
func (NullableNetworkMembership) Get ¶
func (v NullableNetworkMembership) Get() *NetworkMembership
func (NullableNetworkMembership) IsSet ¶
func (v NullableNetworkMembership) IsSet() bool
func (NullableNetworkMembership) MarshalJSON ¶
func (v NullableNetworkMembership) MarshalJSON() ([]byte, error)
func (*NullableNetworkMembership) Set ¶
func (v *NullableNetworkMembership) Set(val *NetworkMembership)
func (*NullableNetworkMembership) UnmarshalJSON ¶
func (v *NullableNetworkMembership) UnmarshalJSON(src []byte) error
func (*NullableNetworkMembership) Unset ¶
func (v *NullableNetworkMembership) Unset()
type NullablePrivateNetwork ¶
type NullablePrivateNetwork struct {
// contains filtered or unexported fields
}
func NewNullablePrivateNetwork ¶
func NewNullablePrivateNetwork(val *PrivateNetwork) *NullablePrivateNetwork
func (NullablePrivateNetwork) Get ¶
func (v NullablePrivateNetwork) Get() *PrivateNetwork
func (NullablePrivateNetwork) IsSet ¶
func (v NullablePrivateNetwork) IsSet() bool
func (NullablePrivateNetwork) MarshalJSON ¶
func (v NullablePrivateNetwork) MarshalJSON() ([]byte, error)
func (*NullablePrivateNetwork) Set ¶
func (v *NullablePrivateNetwork) Set(val *PrivateNetwork)
func (*NullablePrivateNetwork) UnmarshalJSON ¶
func (v *NullablePrivateNetwork) UnmarshalJSON(src []byte) error
func (*NullablePrivateNetwork) Unset ¶
func (v *NullablePrivateNetwork) Unset()
type NullablePrivateNetworkCreate ¶
type NullablePrivateNetworkCreate struct {
// contains filtered or unexported fields
}
func NewNullablePrivateNetworkCreate ¶
func NewNullablePrivateNetworkCreate(val *PrivateNetworkCreate) *NullablePrivateNetworkCreate
func (NullablePrivateNetworkCreate) Get ¶
func (v NullablePrivateNetworkCreate) Get() *PrivateNetworkCreate
func (NullablePrivateNetworkCreate) IsSet ¶
func (v NullablePrivateNetworkCreate) IsSet() bool
func (NullablePrivateNetworkCreate) MarshalJSON ¶
func (v NullablePrivateNetworkCreate) MarshalJSON() ([]byte, error)
func (*NullablePrivateNetworkCreate) Set ¶
func (v *NullablePrivateNetworkCreate) Set(val *PrivateNetworkCreate)
func (*NullablePrivateNetworkCreate) UnmarshalJSON ¶
func (v *NullablePrivateNetworkCreate) UnmarshalJSON(src []byte) error
func (*NullablePrivateNetworkCreate) Unset ¶
func (v *NullablePrivateNetworkCreate) Unset()
type NullablePrivateNetworkModify ¶
type NullablePrivateNetworkModify struct {
// contains filtered or unexported fields
}
func NewNullablePrivateNetworkModify ¶
func NewNullablePrivateNetworkModify(val *PrivateNetworkModify) *NullablePrivateNetworkModify
func (NullablePrivateNetworkModify) Get ¶
func (v NullablePrivateNetworkModify) Get() *PrivateNetworkModify
func (NullablePrivateNetworkModify) IsSet ¶
func (v NullablePrivateNetworkModify) IsSet() bool
func (NullablePrivateNetworkModify) MarshalJSON ¶
func (v NullablePrivateNetworkModify) MarshalJSON() ([]byte, error)
func (*NullablePrivateNetworkModify) Set ¶
func (v *NullablePrivateNetworkModify) Set(val *PrivateNetworkModify)
func (*NullablePrivateNetworkModify) UnmarshalJSON ¶
func (v *NullablePrivateNetworkModify) UnmarshalJSON(src []byte) error
func (*NullablePrivateNetworkModify) Unset ¶
func (v *NullablePrivateNetworkModify) Unset()
type NullablePrivateNetworkServer ¶
type NullablePrivateNetworkServer struct {
// contains filtered or unexported fields
}
func NewNullablePrivateNetworkServer ¶
func NewNullablePrivateNetworkServer(val *PrivateNetworkServer) *NullablePrivateNetworkServer
func (NullablePrivateNetworkServer) Get ¶
func (v NullablePrivateNetworkServer) Get() *PrivateNetworkServer
func (NullablePrivateNetworkServer) IsSet ¶
func (v NullablePrivateNetworkServer) IsSet() bool
func (NullablePrivateNetworkServer) MarshalJSON ¶
func (v NullablePrivateNetworkServer) MarshalJSON() ([]byte, error)
func (*NullablePrivateNetworkServer) Set ¶
func (v *NullablePrivateNetworkServer) Set(val *PrivateNetworkServer)
func (*NullablePrivateNetworkServer) UnmarshalJSON ¶
func (v *NullablePrivateNetworkServer) UnmarshalJSON(src []byte) error
func (*NullablePrivateNetworkServer) Unset ¶
func (v *NullablePrivateNetworkServer) Unset()
type NullablePublicNetwork ¶
type NullablePublicNetwork struct {
// contains filtered or unexported fields
}
func NewNullablePublicNetwork ¶
func NewNullablePublicNetwork(val *PublicNetwork) *NullablePublicNetwork
func (NullablePublicNetwork) Get ¶
func (v NullablePublicNetwork) Get() *PublicNetwork
func (NullablePublicNetwork) IsSet ¶
func (v NullablePublicNetwork) IsSet() bool
func (NullablePublicNetwork) MarshalJSON ¶
func (v NullablePublicNetwork) MarshalJSON() ([]byte, error)
func (*NullablePublicNetwork) Set ¶
func (v *NullablePublicNetwork) Set(val *PublicNetwork)
func (*NullablePublicNetwork) UnmarshalJSON ¶
func (v *NullablePublicNetwork) UnmarshalJSON(src []byte) error
func (*NullablePublicNetwork) Unset ¶
func (v *NullablePublicNetwork) Unset()
type NullablePublicNetworkCreate ¶
type NullablePublicNetworkCreate struct {
// contains filtered or unexported fields
}
func NewNullablePublicNetworkCreate ¶
func NewNullablePublicNetworkCreate(val *PublicNetworkCreate) *NullablePublicNetworkCreate
func (NullablePublicNetworkCreate) Get ¶
func (v NullablePublicNetworkCreate) Get() *PublicNetworkCreate
func (NullablePublicNetworkCreate) IsSet ¶
func (v NullablePublicNetworkCreate) IsSet() bool
func (NullablePublicNetworkCreate) MarshalJSON ¶
func (v NullablePublicNetworkCreate) MarshalJSON() ([]byte, error)
func (*NullablePublicNetworkCreate) Set ¶
func (v *NullablePublicNetworkCreate) Set(val *PublicNetworkCreate)
func (*NullablePublicNetworkCreate) UnmarshalJSON ¶
func (v *NullablePublicNetworkCreate) UnmarshalJSON(src []byte) error
func (*NullablePublicNetworkCreate) Unset ¶
func (v *NullablePublicNetworkCreate) Unset()
type NullablePublicNetworkIpBlock ¶
type NullablePublicNetworkIpBlock struct {
// contains filtered or unexported fields
}
func NewNullablePublicNetworkIpBlock ¶
func NewNullablePublicNetworkIpBlock(val *PublicNetworkIpBlock) *NullablePublicNetworkIpBlock
func (NullablePublicNetworkIpBlock) Get ¶
func (v NullablePublicNetworkIpBlock) Get() *PublicNetworkIpBlock
func (NullablePublicNetworkIpBlock) IsSet ¶
func (v NullablePublicNetworkIpBlock) IsSet() bool
func (NullablePublicNetworkIpBlock) MarshalJSON ¶
func (v NullablePublicNetworkIpBlock) MarshalJSON() ([]byte, error)
func (*NullablePublicNetworkIpBlock) Set ¶
func (v *NullablePublicNetworkIpBlock) Set(val *PublicNetworkIpBlock)
func (*NullablePublicNetworkIpBlock) UnmarshalJSON ¶
func (v *NullablePublicNetworkIpBlock) UnmarshalJSON(src []byte) error
func (*NullablePublicNetworkIpBlock) Unset ¶
func (v *NullablePublicNetworkIpBlock) Unset()
type NullablePublicNetworkModify ¶
type NullablePublicNetworkModify struct {
// contains filtered or unexported fields
}
func NewNullablePublicNetworkModify ¶
func NewNullablePublicNetworkModify(val *PublicNetworkModify) *NullablePublicNetworkModify
func (NullablePublicNetworkModify) Get ¶
func (v NullablePublicNetworkModify) Get() *PublicNetworkModify
func (NullablePublicNetworkModify) IsSet ¶
func (v NullablePublicNetworkModify) IsSet() bool
func (NullablePublicNetworkModify) MarshalJSON ¶
func (v NullablePublicNetworkModify) MarshalJSON() ([]byte, error)
func (*NullablePublicNetworkModify) Set ¶
func (v *NullablePublicNetworkModify) Set(val *PublicNetworkModify)
func (*NullablePublicNetworkModify) UnmarshalJSON ¶
func (v *NullablePublicNetworkModify) UnmarshalJSON(src []byte) error
func (*NullablePublicNetworkModify) Unset ¶
func (v *NullablePublicNetworkModify) 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 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 PrivateNetwork ¶
type PrivateNetwork struct { // The private network identifier. Id string `json:"id"` // The friendly name of this private network. Name string `json:"name"` // The description of this private network. Description *string `json:"description,omitempty"` // The VLAN of this private network. VlanId int32 `json:"vlanId"` // The type of the private network. Type string `json:"type"` // The location of this private network. Location string `json:"location"` // Identifies network as the default private network for the specified location. LocationDefault bool `json:"locationDefault"` // IP range associated with this private network in CIDR notation. Cidr *string `json:"cidr,omitempty"` // Deprecated Servers []PrivateNetworkServer `json:"servers"` // A list of resources that are members of this private network. Memberships []NetworkMembership `json:"memberships"` // The status of the private network. Can have one of the following values: `BUSY`, `READY`, `DELETING` or `ERROR`. Status string `json:"status"` // Date and time when this private network was created. CreatedOn time.Time `json:"createdOn"` AdditionalProperties map[string]interface{} }
PrivateNetwork Private Network details.
func NewPrivateNetwork ¶
func NewPrivateNetwork(id string, name string, vlanId int32, type_ string, location string, locationDefault bool, servers []PrivateNetworkServer, memberships []NetworkMembership, status string, createdOn time.Time) *PrivateNetwork
NewPrivateNetwork instantiates a new PrivateNetwork object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewPrivateNetworkWithDefaults ¶
func NewPrivateNetworkWithDefaults() *PrivateNetwork
NewPrivateNetworkWithDefaults instantiates a new PrivateNetwork object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*PrivateNetwork) GetCidr ¶
func (o *PrivateNetwork) GetCidr() string
GetCidr returns the Cidr field value if set, zero value otherwise.
func (*PrivateNetwork) GetCidrOk ¶
func (o *PrivateNetwork) GetCidrOk() (*string, 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 (*PrivateNetwork) GetCreatedOn ¶
func (o *PrivateNetwork) GetCreatedOn() time.Time
GetCreatedOn returns the CreatedOn field value
func (*PrivateNetwork) GetCreatedOnOk ¶
func (o *PrivateNetwork) GetCreatedOnOk() (*time.Time, bool)
GetCreatedOnOk returns a tuple with the CreatedOn field value and a boolean to check if the value has been set.
func (*PrivateNetwork) GetDescription ¶
func (o *PrivateNetwork) GetDescription() string
GetDescription returns the Description field value if set, zero value otherwise.
func (*PrivateNetwork) GetDescriptionOk ¶
func (o *PrivateNetwork) 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 (*PrivateNetwork) GetId ¶
func (o *PrivateNetwork) GetId() string
GetId returns the Id field value
func (*PrivateNetwork) GetIdOk ¶
func (o *PrivateNetwork) GetIdOk() (*string, bool)
GetIdOk returns a tuple with the Id field value and a boolean to check if the value has been set.
func (*PrivateNetwork) GetLocation ¶
func (o *PrivateNetwork) GetLocation() string
GetLocation returns the Location field value
func (*PrivateNetwork) GetLocationDefault ¶
func (o *PrivateNetwork) GetLocationDefault() bool
GetLocationDefault returns the LocationDefault field value
func (*PrivateNetwork) GetLocationDefaultOk ¶
func (o *PrivateNetwork) GetLocationDefaultOk() (*bool, bool)
GetLocationDefaultOk returns a tuple with the LocationDefault field value and a boolean to check if the value has been set.
func (*PrivateNetwork) GetLocationOk ¶
func (o *PrivateNetwork) GetLocationOk() (*string, bool)
GetLocationOk returns a tuple with the Location field value and a boolean to check if the value has been set.
func (*PrivateNetwork) GetMemberships ¶
func (o *PrivateNetwork) GetMemberships() []NetworkMembership
GetMemberships returns the Memberships field value
func (*PrivateNetwork) GetMembershipsOk ¶
func (o *PrivateNetwork) GetMembershipsOk() ([]NetworkMembership, bool)
GetMembershipsOk returns a tuple with the Memberships field value and a boolean to check if the value has been set.
func (*PrivateNetwork) GetName ¶
func (o *PrivateNetwork) GetName() string
GetName returns the Name field value
func (*PrivateNetwork) GetNameOk ¶
func (o *PrivateNetwork) GetNameOk() (*string, bool)
GetNameOk returns a tuple with the Name field value and a boolean to check if the value has been set.
func (*PrivateNetwork) GetServers ¶
func (o *PrivateNetwork) GetServers() []PrivateNetworkServer
GetServers returns the Servers field value Deprecated
func (*PrivateNetwork) GetServersOk ¶
func (o *PrivateNetwork) GetServersOk() ([]PrivateNetworkServer, bool)
GetServersOk returns a tuple with the Servers field value and a boolean to check if the value has been set. Deprecated
func (*PrivateNetwork) GetStatus ¶
func (o *PrivateNetwork) GetStatus() string
GetStatus returns the Status field value
func (*PrivateNetwork) GetStatusOk ¶
func (o *PrivateNetwork) GetStatusOk() (*string, bool)
GetStatusOk returns a tuple with the Status field value and a boolean to check if the value has been set.
func (*PrivateNetwork) GetType ¶
func (o *PrivateNetwork) GetType() string
GetType returns the Type field value
func (*PrivateNetwork) GetTypeOk ¶
func (o *PrivateNetwork) GetTypeOk() (*string, bool)
GetTypeOk returns a tuple with the Type field value and a boolean to check if the value has been set.
func (*PrivateNetwork) GetVlanId ¶
func (o *PrivateNetwork) GetVlanId() int32
GetVlanId returns the VlanId field value
func (*PrivateNetwork) GetVlanIdOk ¶
func (o *PrivateNetwork) GetVlanIdOk() (*int32, bool)
GetVlanIdOk returns a tuple with the VlanId field value and a boolean to check if the value has been set.
func (*PrivateNetwork) HasCidr ¶
func (o *PrivateNetwork) HasCidr() bool
HasCidr returns a boolean if a field has been set.
func (*PrivateNetwork) HasDescription ¶
func (o *PrivateNetwork) HasDescription() bool
HasDescription returns a boolean if a field has been set.
func (PrivateNetwork) MarshalJSON ¶
func (o PrivateNetwork) MarshalJSON() ([]byte, error)
func (*PrivateNetwork) SetCidr ¶
func (o *PrivateNetwork) SetCidr(v string)
SetCidr gets a reference to the given string and assigns it to the Cidr field.
func (*PrivateNetwork) SetCreatedOn ¶
func (o *PrivateNetwork) SetCreatedOn(v time.Time)
SetCreatedOn sets field value
func (*PrivateNetwork) SetDescription ¶
func (o *PrivateNetwork) SetDescription(v string)
SetDescription gets a reference to the given string and assigns it to the Description field.
func (*PrivateNetwork) SetLocation ¶
func (o *PrivateNetwork) SetLocation(v string)
SetLocation sets field value
func (*PrivateNetwork) SetLocationDefault ¶
func (o *PrivateNetwork) SetLocationDefault(v bool)
SetLocationDefault sets field value
func (*PrivateNetwork) SetMemberships ¶
func (o *PrivateNetwork) SetMemberships(v []NetworkMembership)
SetMemberships sets field value
func (*PrivateNetwork) SetName ¶
func (o *PrivateNetwork) SetName(v string)
SetName sets field value
func (*PrivateNetwork) SetServers ¶
func (o *PrivateNetwork) SetServers(v []PrivateNetworkServer)
SetServers sets field value Deprecated
func (*PrivateNetwork) SetStatus ¶
func (o *PrivateNetwork) SetStatus(v string)
SetStatus sets field value
func (*PrivateNetwork) SetType ¶
func (o *PrivateNetwork) SetType(v string)
SetType sets field value
func (*PrivateNetwork) SetVlanId ¶
func (o *PrivateNetwork) SetVlanId(v int32)
SetVlanId sets field value
func (PrivateNetwork) ToMap ¶
func (o PrivateNetwork) ToMap() (map[string]interface{}, error)
func (*PrivateNetwork) UnmarshalJSON ¶
func (o *PrivateNetwork) UnmarshalJSON(data []byte) (err error)
type PrivateNetworkCreate ¶
type PrivateNetworkCreate struct { // The friendly name of this private network. This name should be unique. Name string `json:"name"` // The description of this private network. Description *string `json:"description,omitempty"` // The location of this private network. Supported values are `PHX`, `ASH`, `SGP`, `NLD`, `CHI`, `SEA` and `AUS`. Location string `json:"location"` // Identifies network as the default private network for the specified location. LocationDefault *bool `json:"locationDefault,omitempty"` // The VLAN that will be assigned to this network. VlanId *int32 `json:"vlanId,omitempty"` // IP range associated with this private network in CIDR notation.<br> Setting the `force` query parameter to `true` allows you to skip assigning a specific IP range to network. Cidr *string `json:"cidr,omitempty"` AdditionalProperties map[string]interface{} }
PrivateNetworkCreate Details of Private Network to be created.
func NewPrivateNetworkCreate ¶
func NewPrivateNetworkCreate(name string, location string) *PrivateNetworkCreate
NewPrivateNetworkCreate instantiates a new PrivateNetworkCreate object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewPrivateNetworkCreateWithDefaults ¶
func NewPrivateNetworkCreateWithDefaults() *PrivateNetworkCreate
NewPrivateNetworkCreateWithDefaults instantiates a new PrivateNetworkCreate object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*PrivateNetworkCreate) GetCidr ¶
func (o *PrivateNetworkCreate) GetCidr() string
GetCidr returns the Cidr field value if set, zero value otherwise.
func (*PrivateNetworkCreate) GetCidrOk ¶
func (o *PrivateNetworkCreate) GetCidrOk() (*string, 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 (*PrivateNetworkCreate) GetDescription ¶
func (o *PrivateNetworkCreate) GetDescription() string
GetDescription returns the Description field value if set, zero value otherwise.
func (*PrivateNetworkCreate) GetDescriptionOk ¶
func (o *PrivateNetworkCreate) 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 (*PrivateNetworkCreate) GetLocation ¶
func (o *PrivateNetworkCreate) GetLocation() string
GetLocation returns the Location field value
func (*PrivateNetworkCreate) GetLocationDefault ¶
func (o *PrivateNetworkCreate) GetLocationDefault() bool
GetLocationDefault returns the LocationDefault field value if set, zero value otherwise.
func (*PrivateNetworkCreate) GetLocationDefaultOk ¶
func (o *PrivateNetworkCreate) GetLocationDefaultOk() (*bool, bool)
GetLocationDefaultOk returns a tuple with the LocationDefault field value if set, nil otherwise and a boolean to check if the value has been set.
func (*PrivateNetworkCreate) GetLocationOk ¶
func (o *PrivateNetworkCreate) GetLocationOk() (*string, bool)
GetLocationOk returns a tuple with the Location field value and a boolean to check if the value has been set.
func (*PrivateNetworkCreate) GetName ¶
func (o *PrivateNetworkCreate) GetName() string
GetName returns the Name field value
func (*PrivateNetworkCreate) GetNameOk ¶
func (o *PrivateNetworkCreate) GetNameOk() (*string, bool)
GetNameOk returns a tuple with the Name field value and a boolean to check if the value has been set.
func (*PrivateNetworkCreate) GetVlanId ¶
func (o *PrivateNetworkCreate) GetVlanId() int32
GetVlanId returns the VlanId field value if set, zero value otherwise.
func (*PrivateNetworkCreate) GetVlanIdOk ¶
func (o *PrivateNetworkCreate) GetVlanIdOk() (*int32, bool)
GetVlanIdOk returns a tuple with the VlanId field value if set, nil otherwise and a boolean to check if the value has been set.
func (*PrivateNetworkCreate) HasCidr ¶
func (o *PrivateNetworkCreate) HasCidr() bool
HasCidr returns a boolean if a field has been set.
func (*PrivateNetworkCreate) HasDescription ¶
func (o *PrivateNetworkCreate) HasDescription() bool
HasDescription returns a boolean if a field has been set.
func (*PrivateNetworkCreate) HasLocationDefault ¶
func (o *PrivateNetworkCreate) HasLocationDefault() bool
HasLocationDefault returns a boolean if a field has been set.
func (*PrivateNetworkCreate) HasVlanId ¶
func (o *PrivateNetworkCreate) HasVlanId() bool
HasVlanId returns a boolean if a field has been set.
func (PrivateNetworkCreate) MarshalJSON ¶
func (o PrivateNetworkCreate) MarshalJSON() ([]byte, error)
func (*PrivateNetworkCreate) SetCidr ¶
func (o *PrivateNetworkCreate) SetCidr(v string)
SetCidr gets a reference to the given string and assigns it to the Cidr field.
func (*PrivateNetworkCreate) SetDescription ¶
func (o *PrivateNetworkCreate) SetDescription(v string)
SetDescription gets a reference to the given string and assigns it to the Description field.
func (*PrivateNetworkCreate) SetLocation ¶
func (o *PrivateNetworkCreate) SetLocation(v string)
SetLocation sets field value
func (*PrivateNetworkCreate) SetLocationDefault ¶
func (o *PrivateNetworkCreate) SetLocationDefault(v bool)
SetLocationDefault gets a reference to the given bool and assigns it to the LocationDefault field.
func (*PrivateNetworkCreate) SetName ¶
func (o *PrivateNetworkCreate) SetName(v string)
SetName sets field value
func (*PrivateNetworkCreate) SetVlanId ¶
func (o *PrivateNetworkCreate) SetVlanId(v int32)
SetVlanId gets a reference to the given int32 and assigns it to the VlanId field.
func (PrivateNetworkCreate) ToMap ¶
func (o PrivateNetworkCreate) ToMap() (map[string]interface{}, error)
func (*PrivateNetworkCreate) UnmarshalJSON ¶
func (o *PrivateNetworkCreate) UnmarshalJSON(data []byte) (err error)
type PrivateNetworkModify ¶
type PrivateNetworkModify struct { // A friendly name given to the private network. This name should be unique. Name string `json:"name"` // A description of this private network Description *string `json:"description,omitempty"` // Identifies network as the default private network for the specified location. LocationDefault bool `json:"locationDefault"` AdditionalProperties map[string]interface{} }
PrivateNetworkModify Object including details to be modified in the Private Network.
func NewPrivateNetworkModify ¶
func NewPrivateNetworkModify(name string, locationDefault bool) *PrivateNetworkModify
NewPrivateNetworkModify instantiates a new PrivateNetworkModify object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewPrivateNetworkModifyWithDefaults ¶
func NewPrivateNetworkModifyWithDefaults() *PrivateNetworkModify
NewPrivateNetworkModifyWithDefaults instantiates a new PrivateNetworkModify object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*PrivateNetworkModify) GetDescription ¶
func (o *PrivateNetworkModify) GetDescription() string
GetDescription returns the Description field value if set, zero value otherwise.
func (*PrivateNetworkModify) GetDescriptionOk ¶
func (o *PrivateNetworkModify) 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 (*PrivateNetworkModify) GetLocationDefault ¶
func (o *PrivateNetworkModify) GetLocationDefault() bool
GetLocationDefault returns the LocationDefault field value
func (*PrivateNetworkModify) GetLocationDefaultOk ¶
func (o *PrivateNetworkModify) GetLocationDefaultOk() (*bool, bool)
GetLocationDefaultOk returns a tuple with the LocationDefault field value and a boolean to check if the value has been set.
func (*PrivateNetworkModify) GetName ¶
func (o *PrivateNetworkModify) GetName() string
GetName returns the Name field value
func (*PrivateNetworkModify) GetNameOk ¶
func (o *PrivateNetworkModify) GetNameOk() (*string, bool)
GetNameOk returns a tuple with the Name field value and a boolean to check if the value has been set.
func (*PrivateNetworkModify) HasDescription ¶
func (o *PrivateNetworkModify) HasDescription() bool
HasDescription returns a boolean if a field has been set.
func (PrivateNetworkModify) MarshalJSON ¶
func (o PrivateNetworkModify) MarshalJSON() ([]byte, error)
func (*PrivateNetworkModify) SetDescription ¶
func (o *PrivateNetworkModify) SetDescription(v string)
SetDescription gets a reference to the given string and assigns it to the Description field.
func (*PrivateNetworkModify) SetLocationDefault ¶
func (o *PrivateNetworkModify) SetLocationDefault(v bool)
SetLocationDefault sets field value
func (*PrivateNetworkModify) SetName ¶
func (o *PrivateNetworkModify) SetName(v string)
SetName sets field value
func (PrivateNetworkModify) ToMap ¶
func (o PrivateNetworkModify) ToMap() (map[string]interface{}, error)
func (*PrivateNetworkModify) UnmarshalJSON ¶
func (o *PrivateNetworkModify) UnmarshalJSON(data []byte) (err error)
type PrivateNetworkServer ¶
type PrivateNetworkServer struct { // The server identifier. Id string `json:"id"` // List of private IPs associated to the server. Ips []string `json:"ips"` AdditionalProperties map[string]interface{} }
PrivateNetworkServer Server details linked to the Private Network.
func NewPrivateNetworkServer ¶
func NewPrivateNetworkServer(id string, ips []string) *PrivateNetworkServer
NewPrivateNetworkServer instantiates a new PrivateNetworkServer object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewPrivateNetworkServerWithDefaults ¶
func NewPrivateNetworkServerWithDefaults() *PrivateNetworkServer
NewPrivateNetworkServerWithDefaults instantiates a new PrivateNetworkServer object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*PrivateNetworkServer) GetId ¶
func (o *PrivateNetworkServer) GetId() string
GetId returns the Id field value
func (*PrivateNetworkServer) GetIdOk ¶
func (o *PrivateNetworkServer) GetIdOk() (*string, bool)
GetIdOk returns a tuple with the Id field value and a boolean to check if the value has been set.
func (*PrivateNetworkServer) GetIps ¶
func (o *PrivateNetworkServer) GetIps() []string
GetIps returns the Ips field value
func (*PrivateNetworkServer) GetIpsOk ¶
func (o *PrivateNetworkServer) GetIpsOk() ([]string, bool)
GetIpsOk returns a tuple with the Ips field value and a boolean to check if the value has been set.
func (PrivateNetworkServer) MarshalJSON ¶
func (o PrivateNetworkServer) MarshalJSON() ([]byte, error)
func (*PrivateNetworkServer) SetId ¶
func (o *PrivateNetworkServer) SetId(v string)
SetId sets field value
func (*PrivateNetworkServer) SetIps ¶
func (o *PrivateNetworkServer) SetIps(v []string)
SetIps sets field value
func (PrivateNetworkServer) ToMap ¶
func (o PrivateNetworkServer) ToMap() (map[string]interface{}, error)
func (*PrivateNetworkServer) UnmarshalJSON ¶
func (o *PrivateNetworkServer) UnmarshalJSON(data []byte) (err error)
type PrivateNetworksAPI ¶
type PrivateNetworksAPI interface { /* PrivateNetworksGet List Private Networks. List all Private Networks owned by account. @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @return ApiPrivateNetworksGetRequest */ PrivateNetworksGet(ctx context.Context) ApiPrivateNetworksGetRequest // PrivateNetworksGetExecute executes the request // @return []PrivateNetwork PrivateNetworksGetExecute(r ApiPrivateNetworksGetRequest) ([]PrivateNetwork, *http.Response, error) /* PrivateNetworksNetworkIdDelete Delete a Private Network. Delete Private Network. @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param privateNetworkId The private network identifier. @return ApiPrivateNetworksNetworkIdDeleteRequest */ PrivateNetworksNetworkIdDelete(ctx context.Context, privateNetworkId string) ApiPrivateNetworksNetworkIdDeleteRequest // PrivateNetworksNetworkIdDeleteExecute executes the request PrivateNetworksNetworkIdDeleteExecute(r ApiPrivateNetworksNetworkIdDeleteRequest) (*http.Response, error) /* PrivateNetworksNetworkIdGet Get a Private Network. Retrieve Private Network Details. @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param privateNetworkId The private network identifier. @return ApiPrivateNetworksNetworkIdGetRequest */ PrivateNetworksNetworkIdGet(ctx context.Context, privateNetworkId string) ApiPrivateNetworksNetworkIdGetRequest // PrivateNetworksNetworkIdGetExecute executes the request // @return PrivateNetwork PrivateNetworksNetworkIdGetExecute(r ApiPrivateNetworksNetworkIdGetRequest) (*PrivateNetwork, *http.Response, error) /* PrivateNetworksNetworkIdPut Update a Private Network. Update Private Network Details. @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param privateNetworkId The private network identifier. @return ApiPrivateNetworksNetworkIdPutRequest */ PrivateNetworksNetworkIdPut(ctx context.Context, privateNetworkId string) ApiPrivateNetworksNetworkIdPutRequest // PrivateNetworksNetworkIdPutExecute executes the request // @return PrivateNetwork PrivateNetworksNetworkIdPutExecute(r ApiPrivateNetworksNetworkIdPutRequest) (*PrivateNetwork, *http.Response, error) /* PrivateNetworksPost Create a Private Network. Create a Private Network. @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @return ApiPrivateNetworksPostRequest */ PrivateNetworksPost(ctx context.Context) ApiPrivateNetworksPostRequest // PrivateNetworksPostExecute executes the request // @return PrivateNetwork PrivateNetworksPostExecute(r ApiPrivateNetworksPostRequest) (*PrivateNetwork, *http.Response, error) }
type PrivateNetworksAPIService ¶
type PrivateNetworksAPIService service
PrivateNetworksAPIService PrivateNetworksAPI service
func (*PrivateNetworksAPIService) PrivateNetworksGet ¶
func (a *PrivateNetworksAPIService) PrivateNetworksGet(ctx context.Context) ApiPrivateNetworksGetRequest
PrivateNetworksGet List Private Networks.
List all Private Networks owned by account.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @return ApiPrivateNetworksGetRequest
func (*PrivateNetworksAPIService) PrivateNetworksGetExecute ¶
func (a *PrivateNetworksAPIService) PrivateNetworksGetExecute(r ApiPrivateNetworksGetRequest) ([]PrivateNetwork, *http.Response, error)
Execute executes the request
@return []PrivateNetwork
func (*PrivateNetworksAPIService) PrivateNetworksNetworkIdDelete ¶
func (a *PrivateNetworksAPIService) PrivateNetworksNetworkIdDelete(ctx context.Context, privateNetworkId string) ApiPrivateNetworksNetworkIdDeleteRequest
PrivateNetworksNetworkIdDelete Delete a Private Network.
Delete Private Network.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param privateNetworkId The private network identifier. @return ApiPrivateNetworksNetworkIdDeleteRequest
func (*PrivateNetworksAPIService) PrivateNetworksNetworkIdDeleteExecute ¶
func (a *PrivateNetworksAPIService) PrivateNetworksNetworkIdDeleteExecute(r ApiPrivateNetworksNetworkIdDeleteRequest) (*http.Response, error)
Execute executes the request
func (*PrivateNetworksAPIService) PrivateNetworksNetworkIdGet ¶
func (a *PrivateNetworksAPIService) PrivateNetworksNetworkIdGet(ctx context.Context, privateNetworkId string) ApiPrivateNetworksNetworkIdGetRequest
PrivateNetworksNetworkIdGet Get a Private Network.
Retrieve Private Network Details.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param privateNetworkId The private network identifier. @return ApiPrivateNetworksNetworkIdGetRequest
func (*PrivateNetworksAPIService) PrivateNetworksNetworkIdGetExecute ¶
func (a *PrivateNetworksAPIService) PrivateNetworksNetworkIdGetExecute(r ApiPrivateNetworksNetworkIdGetRequest) (*PrivateNetwork, *http.Response, error)
Execute executes the request
@return PrivateNetwork
func (*PrivateNetworksAPIService) PrivateNetworksNetworkIdPut ¶
func (a *PrivateNetworksAPIService) PrivateNetworksNetworkIdPut(ctx context.Context, privateNetworkId string) ApiPrivateNetworksNetworkIdPutRequest
PrivateNetworksNetworkIdPut Update a Private Network.
Update Private Network Details.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param privateNetworkId The private network identifier. @return ApiPrivateNetworksNetworkIdPutRequest
func (*PrivateNetworksAPIService) PrivateNetworksNetworkIdPutExecute ¶
func (a *PrivateNetworksAPIService) PrivateNetworksNetworkIdPutExecute(r ApiPrivateNetworksNetworkIdPutRequest) (*PrivateNetwork, *http.Response, error)
Execute executes the request
@return PrivateNetwork
func (*PrivateNetworksAPIService) PrivateNetworksPost ¶
func (a *PrivateNetworksAPIService) PrivateNetworksPost(ctx context.Context) ApiPrivateNetworksPostRequest
PrivateNetworksPost Create a Private Network.
Create a Private Network.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @return ApiPrivateNetworksPostRequest
func (*PrivateNetworksAPIService) PrivateNetworksPostExecute ¶
func (a *PrivateNetworksAPIService) PrivateNetworksPostExecute(r ApiPrivateNetworksPostRequest) (*PrivateNetwork, *http.Response, error)
Execute executes the request
@return PrivateNetwork
type PublicNetwork ¶
type PublicNetwork struct { // The public network identifier. Id string `json:"id"` // The VLAN of this public network. VlanId int32 `json:"vlanId"` // A list of resources that are members of this public network. Memberships []NetworkMembership `json:"memberships"` // The friendly name of this public network. Name string `json:"name"` // The location of this public network. Supported values are `PHX`, `ASH`, `SGP`, `NLD`, `CHI`, `SEA` and `AUS`. Location string `json:"location"` // The description of this public network. Description *string `json:"description,omitempty"` // The status of the public network. Can have one of the following values: `BUSY`, `READY`, `DELETING` or `ERROR`. Status string `json:"status"` // Date and time when this public network was created. CreatedOn time.Time `json:"createdOn"` // A list of IP Blocks that are associated with this public network. IpBlocks []PublicNetworkIpBlock `json:"ipBlocks"` AdditionalProperties map[string]interface{} }
PublicNetwork Public Network details.
func NewPublicNetwork ¶
func NewPublicNetwork(id string, vlanId int32, memberships []NetworkMembership, name string, location string, status string, createdOn time.Time, ipBlocks []PublicNetworkIpBlock) *PublicNetwork
NewPublicNetwork instantiates a new PublicNetwork object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewPublicNetworkWithDefaults ¶
func NewPublicNetworkWithDefaults() *PublicNetwork
NewPublicNetworkWithDefaults instantiates a new PublicNetwork object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*PublicNetwork) GetCreatedOn ¶
func (o *PublicNetwork) GetCreatedOn() time.Time
GetCreatedOn returns the CreatedOn field value
func (*PublicNetwork) GetCreatedOnOk ¶
func (o *PublicNetwork) GetCreatedOnOk() (*time.Time, bool)
GetCreatedOnOk returns a tuple with the CreatedOn field value and a boolean to check if the value has been set.
func (*PublicNetwork) GetDescription ¶
func (o *PublicNetwork) GetDescription() string
GetDescription returns the Description field value if set, zero value otherwise.
func (*PublicNetwork) GetDescriptionOk ¶
func (o *PublicNetwork) 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 (*PublicNetwork) GetId ¶
func (o *PublicNetwork) GetId() string
GetId returns the Id field value
func (*PublicNetwork) GetIdOk ¶
func (o *PublicNetwork) GetIdOk() (*string, bool)
GetIdOk returns a tuple with the Id field value and a boolean to check if the value has been set.
func (*PublicNetwork) GetIpBlocks ¶
func (o *PublicNetwork) GetIpBlocks() []PublicNetworkIpBlock
GetIpBlocks returns the IpBlocks field value
func (*PublicNetwork) GetIpBlocksOk ¶
func (o *PublicNetwork) GetIpBlocksOk() ([]PublicNetworkIpBlock, bool)
GetIpBlocksOk returns a tuple with the IpBlocks field value and a boolean to check if the value has been set.
func (*PublicNetwork) GetLocation ¶
func (o *PublicNetwork) GetLocation() string
GetLocation returns the Location field value
func (*PublicNetwork) GetLocationOk ¶
func (o *PublicNetwork) GetLocationOk() (*string, bool)
GetLocationOk returns a tuple with the Location field value and a boolean to check if the value has been set.
func (*PublicNetwork) GetMemberships ¶
func (o *PublicNetwork) GetMemberships() []NetworkMembership
GetMemberships returns the Memberships field value
func (*PublicNetwork) GetMembershipsOk ¶
func (o *PublicNetwork) GetMembershipsOk() ([]NetworkMembership, bool)
GetMembershipsOk returns a tuple with the Memberships field value and a boolean to check if the value has been set.
func (*PublicNetwork) GetName ¶
func (o *PublicNetwork) GetName() string
GetName returns the Name field value
func (*PublicNetwork) GetNameOk ¶
func (o *PublicNetwork) GetNameOk() (*string, bool)
GetNameOk returns a tuple with the Name field value and a boolean to check if the value has been set.
func (*PublicNetwork) GetStatus ¶
func (o *PublicNetwork) GetStatus() string
GetStatus returns the Status field value
func (*PublicNetwork) GetStatusOk ¶
func (o *PublicNetwork) GetStatusOk() (*string, bool)
GetStatusOk returns a tuple with the Status field value and a boolean to check if the value has been set.
func (*PublicNetwork) GetVlanId ¶
func (o *PublicNetwork) GetVlanId() int32
GetVlanId returns the VlanId field value
func (*PublicNetwork) GetVlanIdOk ¶
func (o *PublicNetwork) GetVlanIdOk() (*int32, bool)
GetVlanIdOk returns a tuple with the VlanId field value and a boolean to check if the value has been set.
func (*PublicNetwork) HasDescription ¶
func (o *PublicNetwork) HasDescription() bool
HasDescription returns a boolean if a field has been set.
func (PublicNetwork) MarshalJSON ¶
func (o PublicNetwork) MarshalJSON() ([]byte, error)
func (*PublicNetwork) SetCreatedOn ¶
func (o *PublicNetwork) SetCreatedOn(v time.Time)
SetCreatedOn sets field value
func (*PublicNetwork) SetDescription ¶
func (o *PublicNetwork) SetDescription(v string)
SetDescription gets a reference to the given string and assigns it to the Description field.
func (*PublicNetwork) SetIpBlocks ¶
func (o *PublicNetwork) SetIpBlocks(v []PublicNetworkIpBlock)
SetIpBlocks sets field value
func (*PublicNetwork) SetLocation ¶
func (o *PublicNetwork) SetLocation(v string)
SetLocation sets field value
func (*PublicNetwork) SetMemberships ¶
func (o *PublicNetwork) SetMemberships(v []NetworkMembership)
SetMemberships sets field value
func (*PublicNetwork) SetStatus ¶
func (o *PublicNetwork) SetStatus(v string)
SetStatus sets field value
func (*PublicNetwork) SetVlanId ¶
func (o *PublicNetwork) SetVlanId(v int32)
SetVlanId sets field value
func (PublicNetwork) ToMap ¶
func (o PublicNetwork) ToMap() (map[string]interface{}, error)
func (*PublicNetwork) UnmarshalJSON ¶
func (o *PublicNetwork) UnmarshalJSON(data []byte) (err error)
type PublicNetworkCreate ¶
type PublicNetworkCreate struct { // The friendly name of this public network. This name should be unique. Name string `json:"name"` // The description of this public network. Description *string `json:"description,omitempty"` // The location of this public network. Supported values are `PHX`, `ASH`, `SGP`, `NLD`, `CHI`, `SEA` and `AUS`. Location string `json:"location"` // The VLAN that will be assigned to this network. VlanId *int32 `json:"vlanId,omitempty"` // A list of IP Blocks that will be associated with this public network. IpBlocks []PublicNetworkIpBlock `json:"ipBlocks,omitempty"` AdditionalProperties map[string]interface{} }
PublicNetworkCreate Details of Public Network to be created.
func NewPublicNetworkCreate ¶
func NewPublicNetworkCreate(name string, location string) *PublicNetworkCreate
NewPublicNetworkCreate instantiates a new PublicNetworkCreate object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewPublicNetworkCreateWithDefaults ¶
func NewPublicNetworkCreateWithDefaults() *PublicNetworkCreate
NewPublicNetworkCreateWithDefaults instantiates a new PublicNetworkCreate object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*PublicNetworkCreate) GetDescription ¶
func (o *PublicNetworkCreate) GetDescription() string
GetDescription returns the Description field value if set, zero value otherwise.
func (*PublicNetworkCreate) GetDescriptionOk ¶
func (o *PublicNetworkCreate) 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 (*PublicNetworkCreate) GetIpBlocks ¶
func (o *PublicNetworkCreate) GetIpBlocks() []PublicNetworkIpBlock
GetIpBlocks returns the IpBlocks field value if set, zero value otherwise.
func (*PublicNetworkCreate) GetIpBlocksOk ¶
func (o *PublicNetworkCreate) GetIpBlocksOk() ([]PublicNetworkIpBlock, bool)
GetIpBlocksOk returns a tuple with the IpBlocks field value if set, nil otherwise and a boolean to check if the value has been set.
func (*PublicNetworkCreate) GetLocation ¶
func (o *PublicNetworkCreate) GetLocation() string
GetLocation returns the Location field value
func (*PublicNetworkCreate) GetLocationOk ¶
func (o *PublicNetworkCreate) GetLocationOk() (*string, bool)
GetLocationOk returns a tuple with the Location field value and a boolean to check if the value has been set.
func (*PublicNetworkCreate) GetName ¶
func (o *PublicNetworkCreate) GetName() string
GetName returns the Name field value
func (*PublicNetworkCreate) GetNameOk ¶
func (o *PublicNetworkCreate) GetNameOk() (*string, bool)
GetNameOk returns a tuple with the Name field value and a boolean to check if the value has been set.
func (*PublicNetworkCreate) GetVlanId ¶
func (o *PublicNetworkCreate) GetVlanId() int32
GetVlanId returns the VlanId field value if set, zero value otherwise.
func (*PublicNetworkCreate) GetVlanIdOk ¶
func (o *PublicNetworkCreate) GetVlanIdOk() (*int32, bool)
GetVlanIdOk returns a tuple with the VlanId field value if set, nil otherwise and a boolean to check if the value has been set.
func (*PublicNetworkCreate) HasDescription ¶
func (o *PublicNetworkCreate) HasDescription() bool
HasDescription returns a boolean if a field has been set.
func (*PublicNetworkCreate) HasIpBlocks ¶
func (o *PublicNetworkCreate) HasIpBlocks() bool
HasIpBlocks returns a boolean if a field has been set.
func (*PublicNetworkCreate) HasVlanId ¶
func (o *PublicNetworkCreate) HasVlanId() bool
HasVlanId returns a boolean if a field has been set.
func (PublicNetworkCreate) MarshalJSON ¶
func (o PublicNetworkCreate) MarshalJSON() ([]byte, error)
func (*PublicNetworkCreate) SetDescription ¶
func (o *PublicNetworkCreate) SetDescription(v string)
SetDescription gets a reference to the given string and assigns it to the Description field.
func (*PublicNetworkCreate) SetIpBlocks ¶
func (o *PublicNetworkCreate) SetIpBlocks(v []PublicNetworkIpBlock)
SetIpBlocks gets a reference to the given []PublicNetworkIpBlock and assigns it to the IpBlocks field.
func (*PublicNetworkCreate) SetLocation ¶
func (o *PublicNetworkCreate) SetLocation(v string)
SetLocation sets field value
func (*PublicNetworkCreate) SetName ¶
func (o *PublicNetworkCreate) SetName(v string)
SetName sets field value
func (*PublicNetworkCreate) SetVlanId ¶
func (o *PublicNetworkCreate) SetVlanId(v int32)
SetVlanId gets a reference to the given int32 and assigns it to the VlanId field.
func (PublicNetworkCreate) ToMap ¶
func (o PublicNetworkCreate) ToMap() (map[string]interface{}, error)
func (*PublicNetworkCreate) UnmarshalJSON ¶
func (o *PublicNetworkCreate) UnmarshalJSON(data []byte) (err error)
type PublicNetworkIpBlock ¶
type PublicNetworkIpBlock struct { // The IP Block identifier. Id string `json:"id"` AdditionalProperties map[string]interface{} }
PublicNetworkIpBlock The assigned IP block to the Public Network.
func NewPublicNetworkIpBlock ¶
func NewPublicNetworkIpBlock(id string) *PublicNetworkIpBlock
NewPublicNetworkIpBlock instantiates a new PublicNetworkIpBlock object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewPublicNetworkIpBlockWithDefaults ¶
func NewPublicNetworkIpBlockWithDefaults() *PublicNetworkIpBlock
NewPublicNetworkIpBlockWithDefaults instantiates a new PublicNetworkIpBlock object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*PublicNetworkIpBlock) GetId ¶
func (o *PublicNetworkIpBlock) GetId() string
GetId returns the Id field value
func (*PublicNetworkIpBlock) GetIdOk ¶
func (o *PublicNetworkIpBlock) GetIdOk() (*string, bool)
GetIdOk returns a tuple with the Id field value and a boolean to check if the value has been set.
func (PublicNetworkIpBlock) MarshalJSON ¶
func (o PublicNetworkIpBlock) MarshalJSON() ([]byte, error)
func (*PublicNetworkIpBlock) SetId ¶
func (o *PublicNetworkIpBlock) SetId(v string)
SetId sets field value
func (PublicNetworkIpBlock) ToMap ¶
func (o PublicNetworkIpBlock) ToMap() (map[string]interface{}, error)
func (*PublicNetworkIpBlock) UnmarshalJSON ¶
func (o *PublicNetworkIpBlock) UnmarshalJSON(data []byte) (err error)
type PublicNetworkModify ¶
type PublicNetworkModify struct { // A friendly name given to the network. This name should be unique. Name *string `json:"name,omitempty"` // The description of this public network Description *string `json:"description,omitempty"` AdditionalProperties map[string]interface{} }
PublicNetworkModify Public Network Modifiable Details.
func NewPublicNetworkModify ¶
func NewPublicNetworkModify() *PublicNetworkModify
NewPublicNetworkModify instantiates a new PublicNetworkModify object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewPublicNetworkModifyWithDefaults ¶
func NewPublicNetworkModifyWithDefaults() *PublicNetworkModify
NewPublicNetworkModifyWithDefaults instantiates a new PublicNetworkModify object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*PublicNetworkModify) GetDescription ¶
func (o *PublicNetworkModify) GetDescription() string
GetDescription returns the Description field value if set, zero value otherwise.
func (*PublicNetworkModify) GetDescriptionOk ¶
func (o *PublicNetworkModify) 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 (*PublicNetworkModify) GetName ¶
func (o *PublicNetworkModify) GetName() string
GetName returns the Name field value if set, zero value otherwise.
func (*PublicNetworkModify) GetNameOk ¶
func (o *PublicNetworkModify) 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 (*PublicNetworkModify) HasDescription ¶
func (o *PublicNetworkModify) HasDescription() bool
HasDescription returns a boolean if a field has been set.
func (*PublicNetworkModify) HasName ¶
func (o *PublicNetworkModify) HasName() bool
HasName returns a boolean if a field has been set.
func (PublicNetworkModify) MarshalJSON ¶
func (o PublicNetworkModify) MarshalJSON() ([]byte, error)
func (*PublicNetworkModify) SetDescription ¶
func (o *PublicNetworkModify) SetDescription(v string)
SetDescription gets a reference to the given string and assigns it to the Description field.
func (*PublicNetworkModify) SetName ¶
func (o *PublicNetworkModify) SetName(v string)
SetName gets a reference to the given string and assigns it to the Name field.
func (PublicNetworkModify) ToMap ¶
func (o PublicNetworkModify) ToMap() (map[string]interface{}, error)
func (*PublicNetworkModify) UnmarshalJSON ¶ added in v3.0.1
func (o *PublicNetworkModify) UnmarshalJSON(data []byte) (err error)
type PublicNetworksAPI ¶
type PublicNetworksAPI interface { /* PublicNetworksGet List Public Networks. List all Public Networks owned by account. @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @return ApiPublicNetworksGetRequest */ PublicNetworksGet(ctx context.Context) ApiPublicNetworksGetRequest // PublicNetworksGetExecute executes the request // @return []PublicNetwork PublicNetworksGetExecute(r ApiPublicNetworksGetRequest) ([]PublicNetwork, *http.Response, error) /* PublicNetworksNetworkIdDelete Delete a Public Network. Delete Public Network. The request is accepted only if no resources are members of this network. The IP Block(s) will be freed and can be re-used in the future. @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param publicNetworkId The Public Network identifier. @return ApiPublicNetworksNetworkIdDeleteRequest */ PublicNetworksNetworkIdDelete(ctx context.Context, publicNetworkId string) ApiPublicNetworksNetworkIdDeleteRequest // PublicNetworksNetworkIdDeleteExecute executes the request PublicNetworksNetworkIdDeleteExecute(r ApiPublicNetworksNetworkIdDeleteRequest) (*http.Response, error) /* PublicNetworksNetworkIdGet Get a Public Network. Retrieve Public Network Details. @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param publicNetworkId The Public Network identifier. @return ApiPublicNetworksNetworkIdGetRequest */ PublicNetworksNetworkIdGet(ctx context.Context, publicNetworkId string) ApiPublicNetworksNetworkIdGetRequest // PublicNetworksNetworkIdGetExecute executes the request // @return PublicNetwork PublicNetworksNetworkIdGetExecute(r ApiPublicNetworksNetworkIdGetRequest) (*PublicNetwork, *http.Response, error) /* PublicNetworksNetworkIdIpBlocksIpBlockIdDelete Removes the IP Block from the Public Network. Removes the IP Block from the Public Network.<br> Please ensure that no resource members within this network have any IPs assigned from the IP Block being removed.<br> Defining `force` query parameter allows resource assigned IP block to be removed anyway. As a result, traffic addressed to any IP within the block will not be routed to this network anymore. @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param publicNetworkId The Public Network identifier. @param ipBlockId The IP Block identifier. @return ApiPublicNetworksNetworkIdIpBlocksIpBlockIdDeleteRequest */ PublicNetworksNetworkIdIpBlocksIpBlockIdDelete(ctx context.Context, publicNetworkId string, ipBlockId string) ApiPublicNetworksNetworkIdIpBlocksIpBlockIdDeleteRequest // PublicNetworksNetworkIdIpBlocksIpBlockIdDeleteExecute executes the request // @return string PublicNetworksNetworkIdIpBlocksIpBlockIdDeleteExecute(r ApiPublicNetworksNetworkIdIpBlocksIpBlockIdDeleteRequest) (string, *http.Response, error) /* PublicNetworksNetworkIdIpBlocksPost Adds an IP block to this public network. Adds an IP block to this public network. @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param publicNetworkId The Public Network identifier. @return ApiPublicNetworksNetworkIdIpBlocksPostRequest */ PublicNetworksNetworkIdIpBlocksPost(ctx context.Context, publicNetworkId string) ApiPublicNetworksNetworkIdIpBlocksPostRequest // PublicNetworksNetworkIdIpBlocksPostExecute executes the request // @return PublicNetworkIpBlock PublicNetworksNetworkIdIpBlocksPostExecute(r ApiPublicNetworksNetworkIdIpBlocksPostRequest) (*PublicNetworkIpBlock, *http.Response, error) /* PublicNetworksNetworkIdPatch Update Public Network's Details. Update Public Network's Details. @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param publicNetworkId The Public Network identifier. @return ApiPublicNetworksNetworkIdPatchRequest */ PublicNetworksNetworkIdPatch(ctx context.Context, publicNetworkId string) ApiPublicNetworksNetworkIdPatchRequest // PublicNetworksNetworkIdPatchExecute executes the request // @return PublicNetwork PublicNetworksNetworkIdPatchExecute(r ApiPublicNetworksNetworkIdPatchRequest) (*PublicNetwork, *http.Response, error) /* PublicNetworksPost Create a public network. Create a public network. @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @return ApiPublicNetworksPostRequest */ PublicNetworksPost(ctx context.Context) ApiPublicNetworksPostRequest // PublicNetworksPostExecute executes the request // @return PublicNetwork PublicNetworksPostExecute(r ApiPublicNetworksPostRequest) (*PublicNetwork, *http.Response, error) }
type PublicNetworksAPIService ¶
type PublicNetworksAPIService service
PublicNetworksAPIService PublicNetworksAPI service
func (*PublicNetworksAPIService) PublicNetworksGet ¶
func (a *PublicNetworksAPIService) PublicNetworksGet(ctx context.Context) ApiPublicNetworksGetRequest
PublicNetworksGet List Public Networks.
List all Public Networks owned by account.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @return ApiPublicNetworksGetRequest
func (*PublicNetworksAPIService) PublicNetworksGetExecute ¶
func (a *PublicNetworksAPIService) PublicNetworksGetExecute(r ApiPublicNetworksGetRequest) ([]PublicNetwork, *http.Response, error)
Execute executes the request
@return []PublicNetwork
func (*PublicNetworksAPIService) PublicNetworksNetworkIdDelete ¶
func (a *PublicNetworksAPIService) PublicNetworksNetworkIdDelete(ctx context.Context, publicNetworkId string) ApiPublicNetworksNetworkIdDeleteRequest
PublicNetworksNetworkIdDelete Delete a Public Network.
Delete Public Network. The request is accepted only if no resources are members of this network. The IP Block(s) will be freed and can be re-used in the future.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param publicNetworkId The Public Network identifier. @return ApiPublicNetworksNetworkIdDeleteRequest
func (*PublicNetworksAPIService) PublicNetworksNetworkIdDeleteExecute ¶
func (a *PublicNetworksAPIService) PublicNetworksNetworkIdDeleteExecute(r ApiPublicNetworksNetworkIdDeleteRequest) (*http.Response, error)
Execute executes the request
func (*PublicNetworksAPIService) PublicNetworksNetworkIdGet ¶
func (a *PublicNetworksAPIService) PublicNetworksNetworkIdGet(ctx context.Context, publicNetworkId string) ApiPublicNetworksNetworkIdGetRequest
PublicNetworksNetworkIdGet Get a Public Network.
Retrieve Public Network Details.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param publicNetworkId The Public Network identifier. @return ApiPublicNetworksNetworkIdGetRequest
func (*PublicNetworksAPIService) PublicNetworksNetworkIdGetExecute ¶
func (a *PublicNetworksAPIService) PublicNetworksNetworkIdGetExecute(r ApiPublicNetworksNetworkIdGetRequest) (*PublicNetwork, *http.Response, error)
Execute executes the request
@return PublicNetwork
func (*PublicNetworksAPIService) PublicNetworksNetworkIdIpBlocksIpBlockIdDelete ¶
func (a *PublicNetworksAPIService) PublicNetworksNetworkIdIpBlocksIpBlockIdDelete(ctx context.Context, publicNetworkId string, ipBlockId string) ApiPublicNetworksNetworkIdIpBlocksIpBlockIdDeleteRequest
PublicNetworksNetworkIdIpBlocksIpBlockIdDelete Removes the IP Block from the Public Network.
Removes the IP Block from the Public Network.<br> Please ensure that no resource members within this network have any IPs assigned from the IP Block being removed.<br> Defining `force` query parameter allows resource assigned IP block to be removed anyway. As a result, traffic addressed to any IP within the block will not be routed to this network anymore.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param publicNetworkId The Public Network identifier. @param ipBlockId The IP Block identifier. @return ApiPublicNetworksNetworkIdIpBlocksIpBlockIdDeleteRequest
func (*PublicNetworksAPIService) PublicNetworksNetworkIdIpBlocksIpBlockIdDeleteExecute ¶
func (a *PublicNetworksAPIService) PublicNetworksNetworkIdIpBlocksIpBlockIdDeleteExecute(r ApiPublicNetworksNetworkIdIpBlocksIpBlockIdDeleteRequest) (string, *http.Response, error)
Execute executes the request
@return string
func (*PublicNetworksAPIService) PublicNetworksNetworkIdIpBlocksPost ¶
func (a *PublicNetworksAPIService) PublicNetworksNetworkIdIpBlocksPost(ctx context.Context, publicNetworkId string) ApiPublicNetworksNetworkIdIpBlocksPostRequest
PublicNetworksNetworkIdIpBlocksPost Adds an IP block to this public network.
Adds an IP block to this public network.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param publicNetworkId The Public Network identifier. @return ApiPublicNetworksNetworkIdIpBlocksPostRequest
func (*PublicNetworksAPIService) PublicNetworksNetworkIdIpBlocksPostExecute ¶
func (a *PublicNetworksAPIService) PublicNetworksNetworkIdIpBlocksPostExecute(r ApiPublicNetworksNetworkIdIpBlocksPostRequest) (*PublicNetworkIpBlock, *http.Response, error)
Execute executes the request
@return PublicNetworkIpBlock
func (*PublicNetworksAPIService) PublicNetworksNetworkIdPatch ¶
func (a *PublicNetworksAPIService) PublicNetworksNetworkIdPatch(ctx context.Context, publicNetworkId string) ApiPublicNetworksNetworkIdPatchRequest
PublicNetworksNetworkIdPatch Update Public Network's Details.
Update Public Network's Details.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param publicNetworkId The Public Network identifier. @return ApiPublicNetworksNetworkIdPatchRequest
func (*PublicNetworksAPIService) PublicNetworksNetworkIdPatchExecute ¶
func (a *PublicNetworksAPIService) PublicNetworksNetworkIdPatchExecute(r ApiPublicNetworksNetworkIdPatchRequest) (*PublicNetwork, *http.Response, error)
Execute executes the request
@return PublicNetwork
func (*PublicNetworksAPIService) PublicNetworksPost ¶
func (a *PublicNetworksAPIService) PublicNetworksPost(ctx context.Context) ApiPublicNetworksPostRequest
PublicNetworksPost Create a public network.
Create a public network.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @return ApiPublicNetworksPostRequest
func (*PublicNetworksAPIService) PublicNetworksPostExecute ¶
func (a *PublicNetworksAPIService) PublicNetworksPostExecute(r ApiPublicNetworksPostRequest) (*PublicNetwork, *http.Response, error)
Execute executes the request
@return PublicNetwork
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
type ServerVariable ¶
ServerVariable stores the information about a server variable
Source Files ¶
- VERSION.go
- api_private_networks.go
- api_public_networks.go
- client.go
- configuration.go
- model_error.go
- model_network_membership.go
- model_private_network.go
- model_private_network_create.go
- model_private_network_modify.go
- model_private_network_server.go
- model_public_network.go
- model_public_network_create.go
- model_public_network_ip_block.go
- model_public_network_modify.go
- response.go
- utils.go