Documentation
¶
Index ¶
- 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 ApiCreateNetworkRequest
- type ApiDeleteNetworkRequest
- type ApiGetNetworkRequest
- type ApiListNetworksRequest
- type ApiUpdateNetworkRequest
- type BasicAuth
- type Configuration
- type CreateNetwork403Response
- func (o *CreateNetwork403Response) GetError() string
- func (o *CreateNetwork403Response) GetErrorOk() (*string, bool)
- func (o *CreateNetwork403Response) GetMessage() string
- func (o *CreateNetwork403Response) GetMessageOk() (*string, bool)
- func (o *CreateNetwork403Response) GetStatusCode() int64
- func (o *CreateNetwork403Response) GetStatusCodeOk() (*int64, bool)
- func (o *CreateNetwork403Response) HasError() bool
- func (o *CreateNetwork403Response) HasMessage() bool
- func (o *CreateNetwork403Response) HasStatusCode() bool
- func (o CreateNetwork403Response) MarshalJSON() ([]byte, error)
- func (o *CreateNetwork403Response) SetError(v string)
- func (o *CreateNetwork403Response) SetMessage(v string)
- func (o *CreateNetwork403Response) SetStatusCode(v int64)
- func (o CreateNetwork403Response) ToMap() (map[string]interface{}, error)
- func (o *CreateNetwork403Response) UnmarshalJSON(data []byte) (err error)
- type CreateNetworkRequest
- func (o *CreateNetworkRequest) GetIpAddress() string
- func (o *CreateNetworkRequest) GetIpAddressOk() (*string, bool)
- func (o *CreateNetworkRequest) GetIsDynamic() bool
- func (o *CreateNetworkRequest) GetIsDynamicOk() (*bool, bool)
- func (o *CreateNetworkRequest) GetName() string
- func (o *CreateNetworkRequest) GetNameOk() (*string, bool)
- func (o *CreateNetworkRequest) GetPrefixLength() int64
- func (o *CreateNetworkRequest) GetPrefixLengthOk() (*int64, bool)
- func (o *CreateNetworkRequest) GetStatus() string
- func (o *CreateNetworkRequest) GetStatusOk() (*string, bool)
- func (o *CreateNetworkRequest) HasIpAddress() bool
- func (o CreateNetworkRequest) MarshalJSON() ([]byte, error)
- func (o *CreateNetworkRequest) SetIpAddress(v string)
- func (o *CreateNetworkRequest) SetIsDynamic(v bool)
- func (o *CreateNetworkRequest) SetName(v string)
- func (o *CreateNetworkRequest) SetPrefixLength(v int64)
- func (o *CreateNetworkRequest) SetStatus(v string)
- func (o CreateNetworkRequest) ToMap() (map[string]interface{}, error)
- func (o *CreateNetworkRequest) UnmarshalJSON(data []byte) (err error)
- type GenericOpenAPIError
- type ListNetworks400Response
- func (o *ListNetworks400Response) GetError() string
- func (o *ListNetworks400Response) GetErrorOk() (*string, bool)
- func (o *ListNetworks400Response) GetMessage() string
- func (o *ListNetworks400Response) GetMessageOk() (*string, bool)
- func (o *ListNetworks400Response) GetStatusCode() int64
- func (o *ListNetworks400Response) GetStatusCodeOk() (*int64, bool)
- func (o *ListNetworks400Response) HasError() bool
- func (o *ListNetworks400Response) HasMessage() bool
- func (o *ListNetworks400Response) HasStatusCode() bool
- func (o ListNetworks400Response) MarshalJSON() ([]byte, error)
- func (o *ListNetworks400Response) SetError(v string)
- func (o *ListNetworks400Response) SetMessage(v string)
- func (o *ListNetworks400Response) SetStatusCode(v int64)
- func (o ListNetworks400Response) ToMap() (map[string]interface{}, error)
- func (o *ListNetworks400Response) UnmarshalJSON(data []byte) (err error)
- type ListNetworks401Response
- func (o *ListNetworks401Response) GetError() string
- func (o *ListNetworks401Response) GetErrorOk() (*string, bool)
- func (o *ListNetworks401Response) GetMessage() string
- func (o *ListNetworks401Response) GetMessageOk() (*string, bool)
- func (o *ListNetworks401Response) GetStatusCode() int64
- func (o *ListNetworks401Response) GetStatusCodeOk() (*int64, bool)
- func (o *ListNetworks401Response) HasError() bool
- func (o *ListNetworks401Response) HasMessage() bool
- func (o *ListNetworks401Response) HasStatusCode() bool
- func (o ListNetworks401Response) MarshalJSON() ([]byte, error)
- func (o *ListNetworks401Response) SetError(v string)
- func (o *ListNetworks401Response) SetMessage(v string)
- func (o *ListNetworks401Response) SetStatusCode(v int64)
- func (o ListNetworks401Response) ToMap() (map[string]interface{}, error)
- func (o *ListNetworks401Response) UnmarshalJSON(data []byte) (err error)
- type ListNetworks403Response
- func (o *ListNetworks403Response) GetError() string
- func (o *ListNetworks403Response) GetErrorOk() (*string, bool)
- func (o *ListNetworks403Response) GetMessage() string
- func (o *ListNetworks403Response) GetMessageOk() (*string, bool)
- func (o *ListNetworks403Response) GetStatusCode() int64
- func (o *ListNetworks403Response) GetStatusCodeOk() (*int64, bool)
- func (o *ListNetworks403Response) HasError() bool
- func (o *ListNetworks403Response) HasMessage() bool
- func (o *ListNetworks403Response) HasStatusCode() bool
- func (o ListNetworks403Response) MarshalJSON() ([]byte, error)
- func (o *ListNetworks403Response) SetError(v string)
- func (o *ListNetworks403Response) SetMessage(v string)
- func (o *ListNetworks403Response) SetStatusCode(v int64)
- func (o ListNetworks403Response) ToMap() (map[string]interface{}, error)
- func (o *ListNetworks403Response) UnmarshalJSON(data []byte) (err error)
- type ListNetworks404Response
- func (o *ListNetworks404Response) GetError() string
- func (o *ListNetworks404Response) GetErrorOk() (*string, bool)
- func (o *ListNetworks404Response) GetMessage() string
- func (o *ListNetworks404Response) GetMessageOk() (*string, bool)
- func (o *ListNetworks404Response) GetStatusCode() int64
- func (o *ListNetworks404Response) GetStatusCodeOk() (*int64, bool)
- func (o *ListNetworks404Response) HasError() bool
- func (o *ListNetworks404Response) HasMessage() bool
- func (o *ListNetworks404Response) HasStatusCode() bool
- func (o ListNetworks404Response) MarshalJSON() ([]byte, error)
- func (o *ListNetworks404Response) SetError(v string)
- func (o *ListNetworks404Response) SetMessage(v string)
- func (o *ListNetworks404Response) SetStatusCode(v int64)
- func (o ListNetworks404Response) ToMap() (map[string]interface{}, error)
- func (o *ListNetworks404Response) UnmarshalJSON(data []byte) (err error)
- type ListNetworks500Response
- func (o *ListNetworks500Response) GetError() string
- func (o *ListNetworks500Response) GetErrorOk() (*string, bool)
- func (o *ListNetworks500Response) GetMessage() string
- func (o *ListNetworks500Response) GetMessageOk() (*string, bool)
- func (o *ListNetworks500Response) GetStatusCode() int64
- func (o *ListNetworks500Response) GetStatusCodeOk() (*int64, bool)
- func (o *ListNetworks500Response) HasError() bool
- func (o *ListNetworks500Response) HasMessage() bool
- func (o *ListNetworks500Response) HasStatusCode() bool
- func (o ListNetworks500Response) MarshalJSON() ([]byte, error)
- func (o *ListNetworks500Response) SetError(v string)
- func (o *ListNetworks500Response) SetMessage(v string)
- func (o *ListNetworks500Response) SetStatusCode(v int64)
- func (o ListNetworks500Response) ToMap() (map[string]interface{}, error)
- func (o *ListNetworks500Response) UnmarshalJSON(data []byte) (err error)
- type MappedNullable
- type NetworkObject
- func (o *NetworkObject) GetCreatedAt() time.Time
- func (o *NetworkObject) GetCreatedAtOk() (*time.Time, bool)
- func (o *NetworkObject) GetIpAddress() string
- func (o *NetworkObject) GetIpAddressOk() (*string, bool)
- func (o *NetworkObject) GetIsDynamic() bool
- func (o *NetworkObject) GetIsDynamicOk() (*bool, bool)
- func (o *NetworkObject) GetIsVerified() bool
- func (o *NetworkObject) GetIsVerifiedOk() (*bool, bool)
- func (o *NetworkObject) GetName() string
- func (o *NetworkObject) GetNameOk() (*string, bool)
- func (o *NetworkObject) GetOriginId() int64
- func (o *NetworkObject) GetOriginIdOk() (*int64, bool)
- func (o *NetworkObject) GetPrefixLength() int64
- func (o *NetworkObject) GetPrefixLengthOk() (*int64, bool)
- func (o *NetworkObject) GetStatus() string
- func (o *NetworkObject) GetStatusOk() (*string, bool)
- func (o NetworkObject) MarshalJSON() ([]byte, error)
- func (o *NetworkObject) SetCreatedAt(v time.Time)
- func (o *NetworkObject) SetIpAddress(v string)
- func (o *NetworkObject) SetIsDynamic(v bool)
- func (o *NetworkObject) SetIsVerified(v bool)
- func (o *NetworkObject) SetName(v string)
- func (o *NetworkObject) SetOriginId(v int64)
- func (o *NetworkObject) SetPrefixLength(v int64)
- func (o *NetworkObject) SetStatus(v string)
- func (o NetworkObject) ToMap() (map[string]interface{}, error)
- func (o *NetworkObject) UnmarshalJSON(data []byte) (err error)
- type NetworksAPIService
- func (a *NetworksAPIService) CreateNetwork(ctx context.Context) ApiCreateNetworkRequest
- func (a *NetworksAPIService) CreateNetworkExecute(r ApiCreateNetworkRequest) (*NetworkObject, *http.Response, error)
- func (a *NetworksAPIService) DeleteNetwork(ctx context.Context, networkId int64) ApiDeleteNetworkRequest
- func (a *NetworksAPIService) DeleteNetworkExecute(r ApiDeleteNetworkRequest) (string, *http.Response, error)
- func (a *NetworksAPIService) GetNetwork(ctx context.Context, networkId int64) ApiGetNetworkRequest
- func (a *NetworksAPIService) GetNetworkExecute(r ApiGetNetworkRequest) (*NetworkObject, *http.Response, error)
- func (a *NetworksAPIService) ListNetworks(ctx context.Context) ApiListNetworksRequest
- func (a *NetworksAPIService) ListNetworksExecute(r ApiListNetworksRequest) ([]NetworkObject, *http.Response, error)
- func (a *NetworksAPIService) UpdateNetwork(ctx context.Context, networkId int64) ApiUpdateNetworkRequest
- func (a *NetworksAPIService) UpdateNetworkExecute(r ApiUpdateNetworkRequest) (*NetworkObject, *http.Response, error)
- type NullableBool
- type NullableCreateNetwork403Response
- func (v NullableCreateNetwork403Response) Get() *CreateNetwork403Response
- func (v NullableCreateNetwork403Response) IsSet() bool
- func (v NullableCreateNetwork403Response) MarshalJSON() ([]byte, error)
- func (v *NullableCreateNetwork403Response) Set(val *CreateNetwork403Response)
- func (v *NullableCreateNetwork403Response) UnmarshalJSON(src []byte) error
- func (v *NullableCreateNetwork403Response) Unset()
- type NullableCreateNetworkRequest
- func (v NullableCreateNetworkRequest) Get() *CreateNetworkRequest
- func (v NullableCreateNetworkRequest) IsSet() bool
- func (v NullableCreateNetworkRequest) MarshalJSON() ([]byte, error)
- func (v *NullableCreateNetworkRequest) Set(val *CreateNetworkRequest)
- func (v *NullableCreateNetworkRequest) UnmarshalJSON(src []byte) error
- func (v *NullableCreateNetworkRequest) Unset()
- type NullableFloat32
- type NullableFloat64
- type NullableInt
- type NullableInt32
- type NullableInt64
- type NullableListNetworks400Response
- func (v NullableListNetworks400Response) Get() *ListNetworks400Response
- func (v NullableListNetworks400Response) IsSet() bool
- func (v NullableListNetworks400Response) MarshalJSON() ([]byte, error)
- func (v *NullableListNetworks400Response) Set(val *ListNetworks400Response)
- func (v *NullableListNetworks400Response) UnmarshalJSON(src []byte) error
- func (v *NullableListNetworks400Response) Unset()
- type NullableListNetworks401Response
- func (v NullableListNetworks401Response) Get() *ListNetworks401Response
- func (v NullableListNetworks401Response) IsSet() bool
- func (v NullableListNetworks401Response) MarshalJSON() ([]byte, error)
- func (v *NullableListNetworks401Response) Set(val *ListNetworks401Response)
- func (v *NullableListNetworks401Response) UnmarshalJSON(src []byte) error
- func (v *NullableListNetworks401Response) Unset()
- type NullableListNetworks403Response
- func (v NullableListNetworks403Response) Get() *ListNetworks403Response
- func (v NullableListNetworks403Response) IsSet() bool
- func (v NullableListNetworks403Response) MarshalJSON() ([]byte, error)
- func (v *NullableListNetworks403Response) Set(val *ListNetworks403Response)
- func (v *NullableListNetworks403Response) UnmarshalJSON(src []byte) error
- func (v *NullableListNetworks403Response) Unset()
- type NullableListNetworks404Response
- func (v NullableListNetworks404Response) Get() *ListNetworks404Response
- func (v NullableListNetworks404Response) IsSet() bool
- func (v NullableListNetworks404Response) MarshalJSON() ([]byte, error)
- func (v *NullableListNetworks404Response) Set(val *ListNetworks404Response)
- func (v *NullableListNetworks404Response) UnmarshalJSON(src []byte) error
- func (v *NullableListNetworks404Response) Unset()
- type NullableListNetworks500Response
- func (v NullableListNetworks500Response) Get() *ListNetworks500Response
- func (v NullableListNetworks500Response) IsSet() bool
- func (v NullableListNetworks500Response) MarshalJSON() ([]byte, error)
- func (v *NullableListNetworks500Response) Set(val *ListNetworks500Response)
- func (v *NullableListNetworks500Response) UnmarshalJSON(src []byte) error
- func (v *NullableListNetworks500Response) Unset()
- type NullableNetworkObject
- func (v NullableNetworkObject) Get() *NetworkObject
- func (v NullableNetworkObject) IsSet() bool
- func (v NullableNetworkObject) MarshalJSON() ([]byte, error)
- func (v *NullableNetworkObject) Set(val *NetworkObject)
- func (v *NullableNetworkObject) UnmarshalJSON(src []byte) error
- func (v *NullableNetworkObject) Unset()
- type NullableString
- type NullableTime
- type NullableUpdateNetwork403Response
- func (v NullableUpdateNetwork403Response) Get() *UpdateNetwork403Response
- func (v NullableUpdateNetwork403Response) IsSet() bool
- func (v NullableUpdateNetwork403Response) MarshalJSON() ([]byte, error)
- func (v *NullableUpdateNetwork403Response) Set(val *UpdateNetwork403Response)
- func (v *NullableUpdateNetwork403Response) UnmarshalJSON(src []byte) error
- func (v *NullableUpdateNetwork403Response) Unset()
- type NullableUpdateNetworkRequest
- func (v NullableUpdateNetworkRequest) Get() *UpdateNetworkRequest
- func (v NullableUpdateNetworkRequest) IsSet() bool
- func (v NullableUpdateNetworkRequest) MarshalJSON() ([]byte, error)
- func (v *NullableUpdateNetworkRequest) Set(val *UpdateNetworkRequest)
- func (v *NullableUpdateNetworkRequest) UnmarshalJSON(src []byte) error
- func (v *NullableUpdateNetworkRequest) Unset()
- type ServerConfiguration
- type ServerConfigurations
- type ServerVariable
- type UpdateNetwork403Response
- func (o *UpdateNetwork403Response) GetError() string
- func (o *UpdateNetwork403Response) GetErrorOk() (*string, bool)
- func (o *UpdateNetwork403Response) GetMessage() string
- func (o *UpdateNetwork403Response) GetMessageOk() (*string, bool)
- func (o *UpdateNetwork403Response) GetStatusCode() int64
- func (o *UpdateNetwork403Response) GetStatusCodeOk() (*int64, bool)
- func (o *UpdateNetwork403Response) HasError() bool
- func (o *UpdateNetwork403Response) HasMessage() bool
- func (o *UpdateNetwork403Response) HasStatusCode() bool
- func (o UpdateNetwork403Response) MarshalJSON() ([]byte, error)
- func (o *UpdateNetwork403Response) SetError(v string)
- func (o *UpdateNetwork403Response) SetMessage(v string)
- func (o *UpdateNetwork403Response) SetStatusCode(v int64)
- func (o UpdateNetwork403Response) ToMap() (map[string]interface{}, error)
- func (o *UpdateNetwork403Response) UnmarshalJSON(data []byte) (err error)
- type UpdateNetworkRequest
- func (o *UpdateNetworkRequest) GetIpAddress() string
- func (o *UpdateNetworkRequest) GetIpAddressOk() (*string, bool)
- func (o *UpdateNetworkRequest) GetIsDynamic() bool
- func (o *UpdateNetworkRequest) GetIsDynamicOk() (*bool, bool)
- func (o *UpdateNetworkRequest) GetName() string
- func (o *UpdateNetworkRequest) GetNameOk() (*string, bool)
- func (o *UpdateNetworkRequest) GetPrefixLength() int64
- func (o *UpdateNetworkRequest) GetPrefixLengthOk() (*int64, bool)
- func (o *UpdateNetworkRequest) GetStatus() string
- func (o *UpdateNetworkRequest) GetStatusOk() (*string, bool)
- func (o *UpdateNetworkRequest) HasIpAddress() bool
- func (o *UpdateNetworkRequest) HasPrefixLength() bool
- func (o UpdateNetworkRequest) MarshalJSON() ([]byte, error)
- func (o *UpdateNetworkRequest) SetIpAddress(v string)
- func (o *UpdateNetworkRequest) SetIsDynamic(v bool)
- func (o *UpdateNetworkRequest) SetName(v string)
- func (o *UpdateNetworkRequest) SetPrefixLength(v int64)
- func (o *UpdateNetworkRequest) SetStatus(v string)
- func (o UpdateNetworkRequest) ToMap() (map[string]interface{}, error)
- func (o *UpdateNetworkRequest) UnmarshalJSON(data []byte) (err error)
Constants ¶
This section is empty.
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 {
NetworksAPI *NetworksAPIService
// contains filtered or unexported fields
}
APIClient manages communication with the Cisco Secure Access Networks API API v2.0.0 In most cases there should be only one, shared, APIClient.
func NewAPIClient ¶
func NewAPIClient(cfg *Configuration) *APIClient
NewAPIClient creates a new API client. Requires a userAgent string describing your application. optionally a custom http.Client to allow for advanced features such as caching.
func (*APIClient) GetConfig ¶
func (c *APIClient) GetConfig() *Configuration
Allow modification of underlying config for alternate implementations and testing Caution: modifying the configuration while live can cause data races and potentially unwanted behavior
type APIKey ¶
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 ApiCreateNetworkRequest ¶
type ApiCreateNetworkRequest struct {
ApiService *NetworksAPIService
// contains filtered or unexported fields
}
func (ApiCreateNetworkRequest) CreateNetworkRequest ¶
func (r ApiCreateNetworkRequest) CreateNetworkRequest(createNetworkRequest CreateNetworkRequest) ApiCreateNetworkRequest
func (ApiCreateNetworkRequest) Execute ¶
func (r ApiCreateNetworkRequest) Execute() (*NetworkObject, *http.Response, error)
type ApiDeleteNetworkRequest ¶
type ApiDeleteNetworkRequest struct {
ApiService *NetworksAPIService
// contains filtered or unexported fields
}
type ApiGetNetworkRequest ¶
type ApiGetNetworkRequest struct {
ApiService *NetworksAPIService
// contains filtered or unexported fields
}
func (ApiGetNetworkRequest) Execute ¶
func (r ApiGetNetworkRequest) Execute() (*NetworkObject, *http.Response, error)
type ApiListNetworksRequest ¶
type ApiListNetworksRequest struct {
ApiService *NetworksAPIService
// contains filtered or unexported fields
}
func (ApiListNetworksRequest) Execute ¶
func (r ApiListNetworksRequest) Execute() ([]NetworkObject, *http.Response, error)
func (ApiListNetworksRequest) Limit ¶
func (r ApiListNetworksRequest) Limit(limit int64) ApiListNetworksRequest
The number of records to return from the collection on the page.
func (ApiListNetworksRequest) Page ¶
func (r ApiListNetworksRequest) Page(page int64) ApiListNetworksRequest
The number of a page in the collection.
type ApiUpdateNetworkRequest ¶
type ApiUpdateNetworkRequest struct {
ApiService *NetworksAPIService
// contains filtered or unexported fields
}
func (ApiUpdateNetworkRequest) Execute ¶
func (r ApiUpdateNetworkRequest) Execute() (*NetworkObject, *http.Response, error)
func (ApiUpdateNetworkRequest) UpdateNetworkRequest ¶
func (r ApiUpdateNetworkRequest) UpdateNetworkRequest(updateNetworkRequest UpdateNetworkRequest) ApiUpdateNetworkRequest
Update a network.
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"`
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 CreateNetwork403Response ¶
type CreateNetwork403Response struct {
// HTTP status code
StatusCode *int64 `json:"statusCode,omitempty"`
// Shorthand error message
Error *string `json:"error,omitempty"`
// Detailed error message
Message *string `json:"message,omitempty"`
AdditionalProperties map[string]interface{}
}
CreateNetwork403Response struct for CreateNetwork403Response
func NewCreateNetwork403Response ¶
func NewCreateNetwork403Response() *CreateNetwork403Response
NewCreateNetwork403Response instantiates a new CreateNetwork403Response object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewCreateNetwork403ResponseWithDefaults ¶
func NewCreateNetwork403ResponseWithDefaults() *CreateNetwork403Response
NewCreateNetwork403ResponseWithDefaults instantiates a new CreateNetwork403Response object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*CreateNetwork403Response) GetError ¶
func (o *CreateNetwork403Response) GetError() string
GetError returns the Error field value if set, zero value otherwise.
func (*CreateNetwork403Response) GetErrorOk ¶
func (o *CreateNetwork403Response) GetErrorOk() (*string, bool)
GetErrorOk returns a tuple with the Error field value if set, nil otherwise and a boolean to check if the value has been set.
func (*CreateNetwork403Response) GetMessage ¶
func (o *CreateNetwork403Response) GetMessage() string
GetMessage returns the Message field value if set, zero value otherwise.
func (*CreateNetwork403Response) GetMessageOk ¶
func (o *CreateNetwork403Response) GetMessageOk() (*string, bool)
GetMessageOk returns a tuple with the Message field value if set, nil otherwise and a boolean to check if the value has been set.
func (*CreateNetwork403Response) GetStatusCode ¶
func (o *CreateNetwork403Response) GetStatusCode() int64
GetStatusCode returns the StatusCode field value if set, zero value otherwise.
func (*CreateNetwork403Response) GetStatusCodeOk ¶
func (o *CreateNetwork403Response) GetStatusCodeOk() (*int64, bool)
GetStatusCodeOk returns a tuple with the StatusCode field value if set, nil otherwise and a boolean to check if the value has been set.
func (*CreateNetwork403Response) HasError ¶
func (o *CreateNetwork403Response) HasError() bool
HasError returns a boolean if a field has been set.
func (*CreateNetwork403Response) HasMessage ¶
func (o *CreateNetwork403Response) HasMessage() bool
HasMessage returns a boolean if a field has been set.
func (*CreateNetwork403Response) HasStatusCode ¶
func (o *CreateNetwork403Response) HasStatusCode() bool
HasStatusCode returns a boolean if a field has been set.
func (CreateNetwork403Response) MarshalJSON ¶
func (o CreateNetwork403Response) MarshalJSON() ([]byte, error)
func (*CreateNetwork403Response) SetError ¶
func (o *CreateNetwork403Response) SetError(v string)
SetError gets a reference to the given string and assigns it to the Error field.
func (*CreateNetwork403Response) SetMessage ¶
func (o *CreateNetwork403Response) SetMessage(v string)
SetMessage gets a reference to the given string and assigns it to the Message field.
func (*CreateNetwork403Response) SetStatusCode ¶
func (o *CreateNetwork403Response) SetStatusCode(v int64)
SetStatusCode gets a reference to the given int64 and assigns it to the StatusCode field.
func (CreateNetwork403Response) ToMap ¶
func (o CreateNetwork403Response) ToMap() (map[string]interface{}, error)
func (*CreateNetwork403Response) UnmarshalJSON ¶
func (o *CreateNetwork403Response) UnmarshalJSON(data []byte) (err error)
type CreateNetworkRequest ¶
type CreateNetworkRequest struct {
// The name of the network.
Name string `json:"name"`
// The IP address of the network.
IpAddress *string `json:"ipAddress,omitempty"`
// The length of the prefix. Set a prefix length that is greater than 28 and less than 33.
PrefixLength int64 `json:"prefixLength"`
// Specifies whether the IP is dynamic.
IsDynamic bool `json:"isDynamic"`
// The status of the network.
Status string `json:"status" validate:"regexp=^(OPEN|CLOSED)$"`
AdditionalProperties map[string]interface{}
}
CreateNetworkRequest struct for CreateNetworkRequest
func NewCreateNetworkRequest ¶
func NewCreateNetworkRequest(name string, prefixLength int64, isDynamic bool, status string) *CreateNetworkRequest
NewCreateNetworkRequest instantiates a new CreateNetworkRequest object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewCreateNetworkRequestWithDefaults ¶
func NewCreateNetworkRequestWithDefaults() *CreateNetworkRequest
NewCreateNetworkRequestWithDefaults instantiates a new CreateNetworkRequest object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*CreateNetworkRequest) GetIpAddress ¶
func (o *CreateNetworkRequest) GetIpAddress() string
GetIpAddress returns the IpAddress field value if set, zero value otherwise.
func (*CreateNetworkRequest) GetIpAddressOk ¶
func (o *CreateNetworkRequest) GetIpAddressOk() (*string, bool)
GetIpAddressOk returns a tuple with the IpAddress field value if set, nil otherwise and a boolean to check if the value has been set.
func (*CreateNetworkRequest) GetIsDynamic ¶
func (o *CreateNetworkRequest) GetIsDynamic() bool
GetIsDynamic returns the IsDynamic field value
func (*CreateNetworkRequest) GetIsDynamicOk ¶
func (o *CreateNetworkRequest) GetIsDynamicOk() (*bool, bool)
GetIsDynamicOk returns a tuple with the IsDynamic field value and a boolean to check if the value has been set.
func (*CreateNetworkRequest) GetName ¶
func (o *CreateNetworkRequest) GetName() string
GetName returns the Name field value
func (*CreateNetworkRequest) GetNameOk ¶
func (o *CreateNetworkRequest) GetNameOk() (*string, bool)
GetNameOk returns a tuple with the Name field value and a boolean to check if the value has been set.
func (*CreateNetworkRequest) GetPrefixLength ¶
func (o *CreateNetworkRequest) GetPrefixLength() int64
GetPrefixLength returns the PrefixLength field value
func (*CreateNetworkRequest) GetPrefixLengthOk ¶
func (o *CreateNetworkRequest) GetPrefixLengthOk() (*int64, bool)
GetPrefixLengthOk returns a tuple with the PrefixLength field value and a boolean to check if the value has been set.
func (*CreateNetworkRequest) GetStatus ¶
func (o *CreateNetworkRequest) GetStatus() string
GetStatus returns the Status field value
func (*CreateNetworkRequest) GetStatusOk ¶
func (o *CreateNetworkRequest) GetStatusOk() (*string, bool)
GetStatusOk returns a tuple with the Status field value and a boolean to check if the value has been set.
func (*CreateNetworkRequest) HasIpAddress ¶
func (o *CreateNetworkRequest) HasIpAddress() bool
HasIpAddress returns a boolean if a field has been set.
func (CreateNetworkRequest) MarshalJSON ¶
func (o CreateNetworkRequest) MarshalJSON() ([]byte, error)
func (*CreateNetworkRequest) SetIpAddress ¶
func (o *CreateNetworkRequest) SetIpAddress(v string)
SetIpAddress gets a reference to the given string and assigns it to the IpAddress field.
func (*CreateNetworkRequest) SetIsDynamic ¶
func (o *CreateNetworkRequest) SetIsDynamic(v bool)
SetIsDynamic sets field value
func (*CreateNetworkRequest) SetName ¶
func (o *CreateNetworkRequest) SetName(v string)
SetName sets field value
func (*CreateNetworkRequest) SetPrefixLength ¶
func (o *CreateNetworkRequest) SetPrefixLength(v int64)
SetPrefixLength sets field value
func (*CreateNetworkRequest) SetStatus ¶
func (o *CreateNetworkRequest) SetStatus(v string)
SetStatus sets field value
func (CreateNetworkRequest) ToMap ¶
func (o CreateNetworkRequest) ToMap() (map[string]interface{}, error)
func (*CreateNetworkRequest) UnmarshalJSON ¶
func (o *CreateNetworkRequest) UnmarshalJSON(data []byte) (err error)
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 ListNetworks400Response ¶
type ListNetworks400Response struct {
// HTTP status code
StatusCode *int64 `json:"statusCode,omitempty"`
// A brief description of the error
Error *string `json:"error,omitempty"`
// Detailed error message
Message *string `json:"message,omitempty"`
AdditionalProperties map[string]interface{}
}
ListNetworks400Response struct for ListNetworks400Response
func NewListNetworks400Response ¶
func NewListNetworks400Response() *ListNetworks400Response
NewListNetworks400Response instantiates a new ListNetworks400Response object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewListNetworks400ResponseWithDefaults ¶
func NewListNetworks400ResponseWithDefaults() *ListNetworks400Response
NewListNetworks400ResponseWithDefaults instantiates a new ListNetworks400Response object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*ListNetworks400Response) GetError ¶
func (o *ListNetworks400Response) GetError() string
GetError returns the Error field value if set, zero value otherwise.
func (*ListNetworks400Response) GetErrorOk ¶
func (o *ListNetworks400Response) GetErrorOk() (*string, bool)
GetErrorOk returns a tuple with the Error field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ListNetworks400Response) GetMessage ¶
func (o *ListNetworks400Response) GetMessage() string
GetMessage returns the Message field value if set, zero value otherwise.
func (*ListNetworks400Response) GetMessageOk ¶
func (o *ListNetworks400Response) GetMessageOk() (*string, bool)
GetMessageOk returns a tuple with the Message field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ListNetworks400Response) GetStatusCode ¶
func (o *ListNetworks400Response) GetStatusCode() int64
GetStatusCode returns the StatusCode field value if set, zero value otherwise.
func (*ListNetworks400Response) GetStatusCodeOk ¶
func (o *ListNetworks400Response) GetStatusCodeOk() (*int64, bool)
GetStatusCodeOk returns a tuple with the StatusCode field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ListNetworks400Response) HasError ¶
func (o *ListNetworks400Response) HasError() bool
HasError returns a boolean if a field has been set.
func (*ListNetworks400Response) HasMessage ¶
func (o *ListNetworks400Response) HasMessage() bool
HasMessage returns a boolean if a field has been set.
func (*ListNetworks400Response) HasStatusCode ¶
func (o *ListNetworks400Response) HasStatusCode() bool
HasStatusCode returns a boolean if a field has been set.
func (ListNetworks400Response) MarshalJSON ¶
func (o ListNetworks400Response) MarshalJSON() ([]byte, error)
func (*ListNetworks400Response) SetError ¶
func (o *ListNetworks400Response) SetError(v string)
SetError gets a reference to the given string and assigns it to the Error field.
func (*ListNetworks400Response) SetMessage ¶
func (o *ListNetworks400Response) SetMessage(v string)
SetMessage gets a reference to the given string and assigns it to the Message field.
func (*ListNetworks400Response) SetStatusCode ¶
func (o *ListNetworks400Response) SetStatusCode(v int64)
SetStatusCode gets a reference to the given int64 and assigns it to the StatusCode field.
func (ListNetworks400Response) ToMap ¶
func (o ListNetworks400Response) ToMap() (map[string]interface{}, error)
func (*ListNetworks400Response) UnmarshalJSON ¶
func (o *ListNetworks400Response) UnmarshalJSON(data []byte) (err error)
type ListNetworks401Response ¶
type ListNetworks401Response struct {
// HTTP status code
StatusCode *int64 `json:"statusCode,omitempty"`
// A brief description of the error
Error *string `json:"error,omitempty"`
// Detailed error message
Message *string `json:"message,omitempty"`
AdditionalProperties map[string]interface{}
}
ListNetworks401Response struct for ListNetworks401Response
func NewListNetworks401Response ¶
func NewListNetworks401Response() *ListNetworks401Response
NewListNetworks401Response instantiates a new ListNetworks401Response object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewListNetworks401ResponseWithDefaults ¶
func NewListNetworks401ResponseWithDefaults() *ListNetworks401Response
NewListNetworks401ResponseWithDefaults instantiates a new ListNetworks401Response object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*ListNetworks401Response) GetError ¶
func (o *ListNetworks401Response) GetError() string
GetError returns the Error field value if set, zero value otherwise.
func (*ListNetworks401Response) GetErrorOk ¶
func (o *ListNetworks401Response) GetErrorOk() (*string, bool)
GetErrorOk returns a tuple with the Error field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ListNetworks401Response) GetMessage ¶
func (o *ListNetworks401Response) GetMessage() string
GetMessage returns the Message field value if set, zero value otherwise.
func (*ListNetworks401Response) GetMessageOk ¶
func (o *ListNetworks401Response) GetMessageOk() (*string, bool)
GetMessageOk returns a tuple with the Message field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ListNetworks401Response) GetStatusCode ¶
func (o *ListNetworks401Response) GetStatusCode() int64
GetStatusCode returns the StatusCode field value if set, zero value otherwise.
func (*ListNetworks401Response) GetStatusCodeOk ¶
func (o *ListNetworks401Response) GetStatusCodeOk() (*int64, bool)
GetStatusCodeOk returns a tuple with the StatusCode field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ListNetworks401Response) HasError ¶
func (o *ListNetworks401Response) HasError() bool
HasError returns a boolean if a field has been set.
func (*ListNetworks401Response) HasMessage ¶
func (o *ListNetworks401Response) HasMessage() bool
HasMessage returns a boolean if a field has been set.
func (*ListNetworks401Response) HasStatusCode ¶
func (o *ListNetworks401Response) HasStatusCode() bool
HasStatusCode returns a boolean if a field has been set.
func (ListNetworks401Response) MarshalJSON ¶
func (o ListNetworks401Response) MarshalJSON() ([]byte, error)
func (*ListNetworks401Response) SetError ¶
func (o *ListNetworks401Response) SetError(v string)
SetError gets a reference to the given string and assigns it to the Error field.
func (*ListNetworks401Response) SetMessage ¶
func (o *ListNetworks401Response) SetMessage(v string)
SetMessage gets a reference to the given string and assigns it to the Message field.
func (*ListNetworks401Response) SetStatusCode ¶
func (o *ListNetworks401Response) SetStatusCode(v int64)
SetStatusCode gets a reference to the given int64 and assigns it to the StatusCode field.
func (ListNetworks401Response) ToMap ¶
func (o ListNetworks401Response) ToMap() (map[string]interface{}, error)
func (*ListNetworks401Response) UnmarshalJSON ¶
func (o *ListNetworks401Response) UnmarshalJSON(data []byte) (err error)
type ListNetworks403Response ¶
type ListNetworks403Response struct {
// HTTP status code
StatusCode *int64 `json:"statusCode,omitempty"`
// A brief description of the error
Error *string `json:"error,omitempty"`
// Detailed error message
Message *string `json:"message,omitempty"`
AdditionalProperties map[string]interface{}
}
ListNetworks403Response struct for ListNetworks403Response
func NewListNetworks403Response ¶
func NewListNetworks403Response() *ListNetworks403Response
NewListNetworks403Response instantiates a new ListNetworks403Response object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewListNetworks403ResponseWithDefaults ¶
func NewListNetworks403ResponseWithDefaults() *ListNetworks403Response
NewListNetworks403ResponseWithDefaults instantiates a new ListNetworks403Response object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*ListNetworks403Response) GetError ¶
func (o *ListNetworks403Response) GetError() string
GetError returns the Error field value if set, zero value otherwise.
func (*ListNetworks403Response) GetErrorOk ¶
func (o *ListNetworks403Response) GetErrorOk() (*string, bool)
GetErrorOk returns a tuple with the Error field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ListNetworks403Response) GetMessage ¶
func (o *ListNetworks403Response) GetMessage() string
GetMessage returns the Message field value if set, zero value otherwise.
func (*ListNetworks403Response) GetMessageOk ¶
func (o *ListNetworks403Response) GetMessageOk() (*string, bool)
GetMessageOk returns a tuple with the Message field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ListNetworks403Response) GetStatusCode ¶
func (o *ListNetworks403Response) GetStatusCode() int64
GetStatusCode returns the StatusCode field value if set, zero value otherwise.
func (*ListNetworks403Response) GetStatusCodeOk ¶
func (o *ListNetworks403Response) GetStatusCodeOk() (*int64, bool)
GetStatusCodeOk returns a tuple with the StatusCode field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ListNetworks403Response) HasError ¶
func (o *ListNetworks403Response) HasError() bool
HasError returns a boolean if a field has been set.
func (*ListNetworks403Response) HasMessage ¶
func (o *ListNetworks403Response) HasMessage() bool
HasMessage returns a boolean if a field has been set.
func (*ListNetworks403Response) HasStatusCode ¶
func (o *ListNetworks403Response) HasStatusCode() bool
HasStatusCode returns a boolean if a field has been set.
func (ListNetworks403Response) MarshalJSON ¶
func (o ListNetworks403Response) MarshalJSON() ([]byte, error)
func (*ListNetworks403Response) SetError ¶
func (o *ListNetworks403Response) SetError(v string)
SetError gets a reference to the given string and assigns it to the Error field.
func (*ListNetworks403Response) SetMessage ¶
func (o *ListNetworks403Response) SetMessage(v string)
SetMessage gets a reference to the given string and assigns it to the Message field.
func (*ListNetworks403Response) SetStatusCode ¶
func (o *ListNetworks403Response) SetStatusCode(v int64)
SetStatusCode gets a reference to the given int64 and assigns it to the StatusCode field.
func (ListNetworks403Response) ToMap ¶
func (o ListNetworks403Response) ToMap() (map[string]interface{}, error)
func (*ListNetworks403Response) UnmarshalJSON ¶
func (o *ListNetworks403Response) UnmarshalJSON(data []byte) (err error)
type ListNetworks404Response ¶
type ListNetworks404Response struct {
// HTTP status code
StatusCode *int64 `json:"statusCode,omitempty"`
// A brief description of the error
Error *string `json:"error,omitempty"`
// Detailed error message
Message *string `json:"message,omitempty"`
AdditionalProperties map[string]interface{}
}
ListNetworks404Response struct for ListNetworks404Response
func NewListNetworks404Response ¶
func NewListNetworks404Response() *ListNetworks404Response
NewListNetworks404Response instantiates a new ListNetworks404Response object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewListNetworks404ResponseWithDefaults ¶
func NewListNetworks404ResponseWithDefaults() *ListNetworks404Response
NewListNetworks404ResponseWithDefaults instantiates a new ListNetworks404Response object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*ListNetworks404Response) GetError ¶
func (o *ListNetworks404Response) GetError() string
GetError returns the Error field value if set, zero value otherwise.
func (*ListNetworks404Response) GetErrorOk ¶
func (o *ListNetworks404Response) GetErrorOk() (*string, bool)
GetErrorOk returns a tuple with the Error field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ListNetworks404Response) GetMessage ¶
func (o *ListNetworks404Response) GetMessage() string
GetMessage returns the Message field value if set, zero value otherwise.
func (*ListNetworks404Response) GetMessageOk ¶
func (o *ListNetworks404Response) GetMessageOk() (*string, bool)
GetMessageOk returns a tuple with the Message field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ListNetworks404Response) GetStatusCode ¶
func (o *ListNetworks404Response) GetStatusCode() int64
GetStatusCode returns the StatusCode field value if set, zero value otherwise.
func (*ListNetworks404Response) GetStatusCodeOk ¶
func (o *ListNetworks404Response) GetStatusCodeOk() (*int64, bool)
GetStatusCodeOk returns a tuple with the StatusCode field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ListNetworks404Response) HasError ¶
func (o *ListNetworks404Response) HasError() bool
HasError returns a boolean if a field has been set.
func (*ListNetworks404Response) HasMessage ¶
func (o *ListNetworks404Response) HasMessage() bool
HasMessage returns a boolean if a field has been set.
func (*ListNetworks404Response) HasStatusCode ¶
func (o *ListNetworks404Response) HasStatusCode() bool
HasStatusCode returns a boolean if a field has been set.
func (ListNetworks404Response) MarshalJSON ¶
func (o ListNetworks404Response) MarshalJSON() ([]byte, error)
func (*ListNetworks404Response) SetError ¶
func (o *ListNetworks404Response) SetError(v string)
SetError gets a reference to the given string and assigns it to the Error field.
func (*ListNetworks404Response) SetMessage ¶
func (o *ListNetworks404Response) SetMessage(v string)
SetMessage gets a reference to the given string and assigns it to the Message field.
func (*ListNetworks404Response) SetStatusCode ¶
func (o *ListNetworks404Response) SetStatusCode(v int64)
SetStatusCode gets a reference to the given int64 and assigns it to the StatusCode field.
func (ListNetworks404Response) ToMap ¶
func (o ListNetworks404Response) ToMap() (map[string]interface{}, error)
func (*ListNetworks404Response) UnmarshalJSON ¶
func (o *ListNetworks404Response) UnmarshalJSON(data []byte) (err error)
type ListNetworks500Response ¶
type ListNetworks500Response struct {
// HTTP status code
StatusCode *int64 `json:"statusCode,omitempty"`
// A brief description of the error
Error *string `json:"error,omitempty"`
// Detailed error message
Message *string `json:"message,omitempty"`
AdditionalProperties map[string]interface{}
}
ListNetworks500Response struct for ListNetworks500Response
func NewListNetworks500Response ¶
func NewListNetworks500Response() *ListNetworks500Response
NewListNetworks500Response instantiates a new ListNetworks500Response object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewListNetworks500ResponseWithDefaults ¶
func NewListNetworks500ResponseWithDefaults() *ListNetworks500Response
NewListNetworks500ResponseWithDefaults instantiates a new ListNetworks500Response object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*ListNetworks500Response) GetError ¶
func (o *ListNetworks500Response) GetError() string
GetError returns the Error field value if set, zero value otherwise.
func (*ListNetworks500Response) GetErrorOk ¶
func (o *ListNetworks500Response) GetErrorOk() (*string, bool)
GetErrorOk returns a tuple with the Error field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ListNetworks500Response) GetMessage ¶
func (o *ListNetworks500Response) GetMessage() string
GetMessage returns the Message field value if set, zero value otherwise.
func (*ListNetworks500Response) GetMessageOk ¶
func (o *ListNetworks500Response) GetMessageOk() (*string, bool)
GetMessageOk returns a tuple with the Message field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ListNetworks500Response) GetStatusCode ¶
func (o *ListNetworks500Response) GetStatusCode() int64
GetStatusCode returns the StatusCode field value if set, zero value otherwise.
func (*ListNetworks500Response) GetStatusCodeOk ¶
func (o *ListNetworks500Response) GetStatusCodeOk() (*int64, bool)
GetStatusCodeOk returns a tuple with the StatusCode field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ListNetworks500Response) HasError ¶
func (o *ListNetworks500Response) HasError() bool
HasError returns a boolean if a field has been set.
func (*ListNetworks500Response) HasMessage ¶
func (o *ListNetworks500Response) HasMessage() bool
HasMessage returns a boolean if a field has been set.
func (*ListNetworks500Response) HasStatusCode ¶
func (o *ListNetworks500Response) HasStatusCode() bool
HasStatusCode returns a boolean if a field has been set.
func (ListNetworks500Response) MarshalJSON ¶
func (o ListNetworks500Response) MarshalJSON() ([]byte, error)
func (*ListNetworks500Response) SetError ¶
func (o *ListNetworks500Response) SetError(v string)
SetError gets a reference to the given string and assigns it to the Error field.
func (*ListNetworks500Response) SetMessage ¶
func (o *ListNetworks500Response) SetMessage(v string)
SetMessage gets a reference to the given string and assigns it to the Message field.
func (*ListNetworks500Response) SetStatusCode ¶
func (o *ListNetworks500Response) SetStatusCode(v int64)
SetStatusCode gets a reference to the given int64 and assigns it to the StatusCode field.
func (ListNetworks500Response) ToMap ¶
func (o ListNetworks500Response) ToMap() (map[string]interface{}, error)
func (*ListNetworks500Response) UnmarshalJSON ¶
func (o *ListNetworks500Response) UnmarshalJSON(data []byte) (err error)
type MappedNullable ¶
type NetworkObject ¶
type NetworkObject struct {
// The origin ID.
OriginId int64 `json:"originId"`
// The name of the network.
Name string `json:"name"`
// The IP address of the network.
IpAddress string `json:"ipAddress"`
// The length of the prefix. Set a prefix length that is greater than 28 and less than 33.
PrefixLength int64 `json:"prefixLength"`
// Specifies whether the network has a dynamic IP.
IsDynamic bool `json:"isDynamic"`
// Specifies whether the network is verified.
IsVerified bool `json:"isVerified"`
// The status of the network.
Status string `json:"status" validate:"regexp=^(OPEN|CLOSED)$"`
// The date and time (timestamp) when the network was created.
CreatedAt time.Time `json:"createdAt"`
AdditionalProperties map[string]interface{}
}
NetworkObject The properties of the Network resource.
func NewNetworkObject ¶
func NewNetworkObject(originId int64, name string, ipAddress string, prefixLength int64, isDynamic bool, isVerified bool, status string, createdAt time.Time) *NetworkObject
NewNetworkObject instantiates a new NetworkObject object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewNetworkObjectWithDefaults ¶
func NewNetworkObjectWithDefaults() *NetworkObject
NewNetworkObjectWithDefaults instantiates a new NetworkObject object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*NetworkObject) GetCreatedAt ¶
func (o *NetworkObject) GetCreatedAt() time.Time
GetCreatedAt returns the CreatedAt field value
func (*NetworkObject) GetCreatedAtOk ¶
func (o *NetworkObject) GetCreatedAtOk() (*time.Time, bool)
GetCreatedAtOk returns a tuple with the CreatedAt field value and a boolean to check if the value has been set.
func (*NetworkObject) GetIpAddress ¶
func (o *NetworkObject) GetIpAddress() string
GetIpAddress returns the IpAddress field value
func (*NetworkObject) GetIpAddressOk ¶
func (o *NetworkObject) GetIpAddressOk() (*string, bool)
GetIpAddressOk returns a tuple with the IpAddress field value and a boolean to check if the value has been set.
func (*NetworkObject) GetIsDynamic ¶
func (o *NetworkObject) GetIsDynamic() bool
GetIsDynamic returns the IsDynamic field value
func (*NetworkObject) GetIsDynamicOk ¶
func (o *NetworkObject) GetIsDynamicOk() (*bool, bool)
GetIsDynamicOk returns a tuple with the IsDynamic field value and a boolean to check if the value has been set.
func (*NetworkObject) GetIsVerified ¶
func (o *NetworkObject) GetIsVerified() bool
GetIsVerified returns the IsVerified field value
func (*NetworkObject) GetIsVerifiedOk ¶
func (o *NetworkObject) GetIsVerifiedOk() (*bool, bool)
GetIsVerifiedOk returns a tuple with the IsVerified field value and a boolean to check if the value has been set.
func (*NetworkObject) GetName ¶
func (o *NetworkObject) GetName() string
GetName returns the Name field value
func (*NetworkObject) GetNameOk ¶
func (o *NetworkObject) GetNameOk() (*string, bool)
GetNameOk returns a tuple with the Name field value and a boolean to check if the value has been set.
func (*NetworkObject) GetOriginId ¶
func (o *NetworkObject) GetOriginId() int64
GetOriginId returns the OriginId field value
func (*NetworkObject) GetOriginIdOk ¶
func (o *NetworkObject) GetOriginIdOk() (*int64, bool)
GetOriginIdOk returns a tuple with the OriginId field value and a boolean to check if the value has been set.
func (*NetworkObject) GetPrefixLength ¶
func (o *NetworkObject) GetPrefixLength() int64
GetPrefixLength returns the PrefixLength field value
func (*NetworkObject) GetPrefixLengthOk ¶
func (o *NetworkObject) GetPrefixLengthOk() (*int64, bool)
GetPrefixLengthOk returns a tuple with the PrefixLength field value and a boolean to check if the value has been set.
func (*NetworkObject) GetStatus ¶
func (o *NetworkObject) GetStatus() string
GetStatus returns the Status field value
func (*NetworkObject) GetStatusOk ¶
func (o *NetworkObject) GetStatusOk() (*string, bool)
GetStatusOk returns a tuple with the Status field value and a boolean to check if the value has been set.
func (NetworkObject) MarshalJSON ¶
func (o NetworkObject) MarshalJSON() ([]byte, error)
func (*NetworkObject) SetCreatedAt ¶
func (o *NetworkObject) SetCreatedAt(v time.Time)
SetCreatedAt sets field value
func (*NetworkObject) SetIpAddress ¶
func (o *NetworkObject) SetIpAddress(v string)
SetIpAddress sets field value
func (*NetworkObject) SetIsDynamic ¶
func (o *NetworkObject) SetIsDynamic(v bool)
SetIsDynamic sets field value
func (*NetworkObject) SetIsVerified ¶
func (o *NetworkObject) SetIsVerified(v bool)
SetIsVerified sets field value
func (*NetworkObject) SetOriginId ¶
func (o *NetworkObject) SetOriginId(v int64)
SetOriginId sets field value
func (*NetworkObject) SetPrefixLength ¶
func (o *NetworkObject) SetPrefixLength(v int64)
SetPrefixLength sets field value
func (*NetworkObject) SetStatus ¶
func (o *NetworkObject) SetStatus(v string)
SetStatus sets field value
func (NetworkObject) ToMap ¶
func (o NetworkObject) ToMap() (map[string]interface{}, error)
func (*NetworkObject) UnmarshalJSON ¶
func (o *NetworkObject) UnmarshalJSON(data []byte) (err error)
type NetworksAPIService ¶
type NetworksAPIService service
NetworksAPIService NetworksAPI service
func (*NetworksAPIService) CreateNetwork ¶
func (a *NetworksAPIService) CreateNetwork(ctx context.Context) ApiCreateNetworkRequest
CreateNetwork Create Network
Create a network. Before you can create a network, contact Support to get your IP range verified.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @return ApiCreateNetworkRequest
func (*NetworksAPIService) CreateNetworkExecute ¶
func (a *NetworksAPIService) CreateNetworkExecute(r ApiCreateNetworkRequest) (*NetworkObject, *http.Response, error)
Execute executes the request
@return NetworkObject
func (*NetworksAPIService) DeleteNetwork ¶
func (a *NetworksAPIService) DeleteNetwork(ctx context.Context, networkId int64) ApiDeleteNetworkRequest
DeleteNetwork Delete Network
Delete a network registered in the organization.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param networkId The ID of the network. @return ApiDeleteNetworkRequest
func (*NetworksAPIService) DeleteNetworkExecute ¶
func (a *NetworksAPIService) DeleteNetworkExecute(r ApiDeleteNetworkRequest) (string, *http.Response, error)
Execute executes the request
@return string
func (*NetworksAPIService) GetNetwork ¶
func (a *NetworksAPIService) GetNetwork(ctx context.Context, networkId int64) ApiGetNetworkRequest
GetNetwork Get Network
Get a Network registered in the organization.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param networkId The ID of the network. @return ApiGetNetworkRequest
func (*NetworksAPIService) GetNetworkExecute ¶
func (a *NetworksAPIService) GetNetworkExecute(r ApiGetNetworkRequest) (*NetworkObject, *http.Response, error)
Execute executes the request
@return NetworkObject
func (*NetworksAPIService) ListNetworks ¶
func (a *NetworksAPIService) ListNetworks(ctx context.Context) ApiListNetworksRequest
ListNetworks List Networks
List the Networks in the organization.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @return ApiListNetworksRequest
func (*NetworksAPIService) ListNetworksExecute ¶
func (a *NetworksAPIService) ListNetworksExecute(r ApiListNetworksRequest) ([]NetworkObject, *http.Response, error)
Execute executes the request
@return []NetworkObject
func (*NetworksAPIService) UpdateNetwork ¶
func (a *NetworksAPIService) UpdateNetwork(ctx context.Context, networkId int64) ApiUpdateNetworkRequest
UpdateNetwork Update Network
Update a Network. Before you can update the network's IP address, contact Support to get your IP range verified.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param networkId The ID of the network. @return ApiUpdateNetworkRequest
func (*NetworksAPIService) UpdateNetworkExecute ¶
func (a *NetworksAPIService) UpdateNetworkExecute(r ApiUpdateNetworkRequest) (*NetworkObject, *http.Response, error)
Execute executes the request
@return NetworkObject
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 NullableCreateNetwork403Response ¶
type NullableCreateNetwork403Response struct {
// contains filtered or unexported fields
}
func NewNullableCreateNetwork403Response ¶
func NewNullableCreateNetwork403Response(val *CreateNetwork403Response) *NullableCreateNetwork403Response
func (NullableCreateNetwork403Response) Get ¶
func (v NullableCreateNetwork403Response) Get() *CreateNetwork403Response
func (NullableCreateNetwork403Response) IsSet ¶
func (v NullableCreateNetwork403Response) IsSet() bool
func (NullableCreateNetwork403Response) MarshalJSON ¶
func (v NullableCreateNetwork403Response) MarshalJSON() ([]byte, error)
func (*NullableCreateNetwork403Response) Set ¶
func (v *NullableCreateNetwork403Response) Set(val *CreateNetwork403Response)
func (*NullableCreateNetwork403Response) UnmarshalJSON ¶
func (v *NullableCreateNetwork403Response) UnmarshalJSON(src []byte) error
func (*NullableCreateNetwork403Response) Unset ¶
func (v *NullableCreateNetwork403Response) Unset()
type NullableCreateNetworkRequest ¶
type NullableCreateNetworkRequest struct {
// contains filtered or unexported fields
}
func NewNullableCreateNetworkRequest ¶
func NewNullableCreateNetworkRequest(val *CreateNetworkRequest) *NullableCreateNetworkRequest
func (NullableCreateNetworkRequest) Get ¶
func (v NullableCreateNetworkRequest) Get() *CreateNetworkRequest
func (NullableCreateNetworkRequest) IsSet ¶
func (v NullableCreateNetworkRequest) IsSet() bool
func (NullableCreateNetworkRequest) MarshalJSON ¶
func (v NullableCreateNetworkRequest) MarshalJSON() ([]byte, error)
func (*NullableCreateNetworkRequest) Set ¶
func (v *NullableCreateNetworkRequest) Set(val *CreateNetworkRequest)
func (*NullableCreateNetworkRequest) UnmarshalJSON ¶
func (v *NullableCreateNetworkRequest) UnmarshalJSON(src []byte) error
func (*NullableCreateNetworkRequest) Unset ¶
func (v *NullableCreateNetworkRequest) 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 NullableListNetworks400Response ¶
type NullableListNetworks400Response struct {
// contains filtered or unexported fields
}
func NewNullableListNetworks400Response ¶
func NewNullableListNetworks400Response(val *ListNetworks400Response) *NullableListNetworks400Response
func (NullableListNetworks400Response) Get ¶
func (v NullableListNetworks400Response) Get() *ListNetworks400Response
func (NullableListNetworks400Response) IsSet ¶
func (v NullableListNetworks400Response) IsSet() bool
func (NullableListNetworks400Response) MarshalJSON ¶
func (v NullableListNetworks400Response) MarshalJSON() ([]byte, error)
func (*NullableListNetworks400Response) Set ¶
func (v *NullableListNetworks400Response) Set(val *ListNetworks400Response)
func (*NullableListNetworks400Response) UnmarshalJSON ¶
func (v *NullableListNetworks400Response) UnmarshalJSON(src []byte) error
func (*NullableListNetworks400Response) Unset ¶
func (v *NullableListNetworks400Response) Unset()
type NullableListNetworks401Response ¶
type NullableListNetworks401Response struct {
// contains filtered or unexported fields
}
func NewNullableListNetworks401Response ¶
func NewNullableListNetworks401Response(val *ListNetworks401Response) *NullableListNetworks401Response
func (NullableListNetworks401Response) Get ¶
func (v NullableListNetworks401Response) Get() *ListNetworks401Response
func (NullableListNetworks401Response) IsSet ¶
func (v NullableListNetworks401Response) IsSet() bool
func (NullableListNetworks401Response) MarshalJSON ¶
func (v NullableListNetworks401Response) MarshalJSON() ([]byte, error)
func (*NullableListNetworks401Response) Set ¶
func (v *NullableListNetworks401Response) Set(val *ListNetworks401Response)
func (*NullableListNetworks401Response) UnmarshalJSON ¶
func (v *NullableListNetworks401Response) UnmarshalJSON(src []byte) error
func (*NullableListNetworks401Response) Unset ¶
func (v *NullableListNetworks401Response) Unset()
type NullableListNetworks403Response ¶
type NullableListNetworks403Response struct {
// contains filtered or unexported fields
}
func NewNullableListNetworks403Response ¶
func NewNullableListNetworks403Response(val *ListNetworks403Response) *NullableListNetworks403Response
func (NullableListNetworks403Response) Get ¶
func (v NullableListNetworks403Response) Get() *ListNetworks403Response
func (NullableListNetworks403Response) IsSet ¶
func (v NullableListNetworks403Response) IsSet() bool
func (NullableListNetworks403Response) MarshalJSON ¶
func (v NullableListNetworks403Response) MarshalJSON() ([]byte, error)
func (*NullableListNetworks403Response) Set ¶
func (v *NullableListNetworks403Response) Set(val *ListNetworks403Response)
func (*NullableListNetworks403Response) UnmarshalJSON ¶
func (v *NullableListNetworks403Response) UnmarshalJSON(src []byte) error
func (*NullableListNetworks403Response) Unset ¶
func (v *NullableListNetworks403Response) Unset()
type NullableListNetworks404Response ¶
type NullableListNetworks404Response struct {
// contains filtered or unexported fields
}
func NewNullableListNetworks404Response ¶
func NewNullableListNetworks404Response(val *ListNetworks404Response) *NullableListNetworks404Response
func (NullableListNetworks404Response) Get ¶
func (v NullableListNetworks404Response) Get() *ListNetworks404Response
func (NullableListNetworks404Response) IsSet ¶
func (v NullableListNetworks404Response) IsSet() bool
func (NullableListNetworks404Response) MarshalJSON ¶
func (v NullableListNetworks404Response) MarshalJSON() ([]byte, error)
func (*NullableListNetworks404Response) Set ¶
func (v *NullableListNetworks404Response) Set(val *ListNetworks404Response)
func (*NullableListNetworks404Response) UnmarshalJSON ¶
func (v *NullableListNetworks404Response) UnmarshalJSON(src []byte) error
func (*NullableListNetworks404Response) Unset ¶
func (v *NullableListNetworks404Response) Unset()
type NullableListNetworks500Response ¶
type NullableListNetworks500Response struct {
// contains filtered or unexported fields
}
func NewNullableListNetworks500Response ¶
func NewNullableListNetworks500Response(val *ListNetworks500Response) *NullableListNetworks500Response
func (NullableListNetworks500Response) Get ¶
func (v NullableListNetworks500Response) Get() *ListNetworks500Response
func (NullableListNetworks500Response) IsSet ¶
func (v NullableListNetworks500Response) IsSet() bool
func (NullableListNetworks500Response) MarshalJSON ¶
func (v NullableListNetworks500Response) MarshalJSON() ([]byte, error)
func (*NullableListNetworks500Response) Set ¶
func (v *NullableListNetworks500Response) Set(val *ListNetworks500Response)
func (*NullableListNetworks500Response) UnmarshalJSON ¶
func (v *NullableListNetworks500Response) UnmarshalJSON(src []byte) error
func (*NullableListNetworks500Response) Unset ¶
func (v *NullableListNetworks500Response) Unset()
type NullableNetworkObject ¶
type NullableNetworkObject struct {
// contains filtered or unexported fields
}
func NewNullableNetworkObject ¶
func NewNullableNetworkObject(val *NetworkObject) *NullableNetworkObject
func (NullableNetworkObject) Get ¶
func (v NullableNetworkObject) Get() *NetworkObject
func (NullableNetworkObject) IsSet ¶
func (v NullableNetworkObject) IsSet() bool
func (NullableNetworkObject) MarshalJSON ¶
func (v NullableNetworkObject) MarshalJSON() ([]byte, error)
func (*NullableNetworkObject) Set ¶
func (v *NullableNetworkObject) Set(val *NetworkObject)
func (*NullableNetworkObject) UnmarshalJSON ¶
func (v *NullableNetworkObject) UnmarshalJSON(src []byte) error
func (*NullableNetworkObject) Unset ¶
func (v *NullableNetworkObject) 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 NullableUpdateNetwork403Response ¶
type NullableUpdateNetwork403Response struct {
// contains filtered or unexported fields
}
func NewNullableUpdateNetwork403Response ¶
func NewNullableUpdateNetwork403Response(val *UpdateNetwork403Response) *NullableUpdateNetwork403Response
func (NullableUpdateNetwork403Response) Get ¶
func (v NullableUpdateNetwork403Response) Get() *UpdateNetwork403Response
func (NullableUpdateNetwork403Response) IsSet ¶
func (v NullableUpdateNetwork403Response) IsSet() bool
func (NullableUpdateNetwork403Response) MarshalJSON ¶
func (v NullableUpdateNetwork403Response) MarshalJSON() ([]byte, error)
func (*NullableUpdateNetwork403Response) Set ¶
func (v *NullableUpdateNetwork403Response) Set(val *UpdateNetwork403Response)
func (*NullableUpdateNetwork403Response) UnmarshalJSON ¶
func (v *NullableUpdateNetwork403Response) UnmarshalJSON(src []byte) error
func (*NullableUpdateNetwork403Response) Unset ¶
func (v *NullableUpdateNetwork403Response) Unset()
type NullableUpdateNetworkRequest ¶
type NullableUpdateNetworkRequest struct {
// contains filtered or unexported fields
}
func NewNullableUpdateNetworkRequest ¶
func NewNullableUpdateNetworkRequest(val *UpdateNetworkRequest) *NullableUpdateNetworkRequest
func (NullableUpdateNetworkRequest) Get ¶
func (v NullableUpdateNetworkRequest) Get() *UpdateNetworkRequest
func (NullableUpdateNetworkRequest) IsSet ¶
func (v NullableUpdateNetworkRequest) IsSet() bool
func (NullableUpdateNetworkRequest) MarshalJSON ¶
func (v NullableUpdateNetworkRequest) MarshalJSON() ([]byte, error)
func (*NullableUpdateNetworkRequest) Set ¶
func (v *NullableUpdateNetworkRequest) Set(val *UpdateNetworkRequest)
func (*NullableUpdateNetworkRequest) UnmarshalJSON ¶
func (v *NullableUpdateNetworkRequest) UnmarshalJSON(src []byte) error
func (*NullableUpdateNetworkRequest) Unset ¶
func (v *NullableUpdateNetworkRequest) Unset()
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
type UpdateNetwork403Response ¶
type UpdateNetwork403Response struct {
// HTTP status code
StatusCode *int64 `json:"statusCode,omitempty"`
// Shorthand error message
Error *string `json:"error,omitempty"`
// Detailed error message
Message *string `json:"message,omitempty"`
AdditionalProperties map[string]interface{}
}
UpdateNetwork403Response struct for UpdateNetwork403Response
func NewUpdateNetwork403Response ¶
func NewUpdateNetwork403Response() *UpdateNetwork403Response
NewUpdateNetwork403Response instantiates a new UpdateNetwork403Response object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewUpdateNetwork403ResponseWithDefaults ¶
func NewUpdateNetwork403ResponseWithDefaults() *UpdateNetwork403Response
NewUpdateNetwork403ResponseWithDefaults instantiates a new UpdateNetwork403Response object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*UpdateNetwork403Response) GetError ¶
func (o *UpdateNetwork403Response) GetError() string
GetError returns the Error field value if set, zero value otherwise.
func (*UpdateNetwork403Response) GetErrorOk ¶
func (o *UpdateNetwork403Response) GetErrorOk() (*string, bool)
GetErrorOk returns a tuple with the Error field value if set, nil otherwise and a boolean to check if the value has been set.
func (*UpdateNetwork403Response) GetMessage ¶
func (o *UpdateNetwork403Response) GetMessage() string
GetMessage returns the Message field value if set, zero value otherwise.
func (*UpdateNetwork403Response) GetMessageOk ¶
func (o *UpdateNetwork403Response) GetMessageOk() (*string, bool)
GetMessageOk returns a tuple with the Message field value if set, nil otherwise and a boolean to check if the value has been set.
func (*UpdateNetwork403Response) GetStatusCode ¶
func (o *UpdateNetwork403Response) GetStatusCode() int64
GetStatusCode returns the StatusCode field value if set, zero value otherwise.
func (*UpdateNetwork403Response) GetStatusCodeOk ¶
func (o *UpdateNetwork403Response) GetStatusCodeOk() (*int64, bool)
GetStatusCodeOk returns a tuple with the StatusCode field value if set, nil otherwise and a boolean to check if the value has been set.
func (*UpdateNetwork403Response) HasError ¶
func (o *UpdateNetwork403Response) HasError() bool
HasError returns a boolean if a field has been set.
func (*UpdateNetwork403Response) HasMessage ¶
func (o *UpdateNetwork403Response) HasMessage() bool
HasMessage returns a boolean if a field has been set.
func (*UpdateNetwork403Response) HasStatusCode ¶
func (o *UpdateNetwork403Response) HasStatusCode() bool
HasStatusCode returns a boolean if a field has been set.
func (UpdateNetwork403Response) MarshalJSON ¶
func (o UpdateNetwork403Response) MarshalJSON() ([]byte, error)
func (*UpdateNetwork403Response) SetError ¶
func (o *UpdateNetwork403Response) SetError(v string)
SetError gets a reference to the given string and assigns it to the Error field.
func (*UpdateNetwork403Response) SetMessage ¶
func (o *UpdateNetwork403Response) SetMessage(v string)
SetMessage gets a reference to the given string and assigns it to the Message field.
func (*UpdateNetwork403Response) SetStatusCode ¶
func (o *UpdateNetwork403Response) SetStatusCode(v int64)
SetStatusCode gets a reference to the given int64 and assigns it to the StatusCode field.
func (UpdateNetwork403Response) ToMap ¶
func (o UpdateNetwork403Response) ToMap() (map[string]interface{}, error)
func (*UpdateNetwork403Response) UnmarshalJSON ¶
func (o *UpdateNetwork403Response) UnmarshalJSON(data []byte) (err error)
type UpdateNetworkRequest ¶
type UpdateNetworkRequest struct {
// The name of the network.
Name string `json:"name"`
// The IP address of the network.
IpAddress *string `json:"ipAddress,omitempty"`
// The length of the prefix. Set a prefix length that is greater than 28 and less than 33.
PrefixLength *int64 `json:"prefixLength,omitempty"`
// Specifies whether the IP address is dynamic.
IsDynamic bool `json:"isDynamic"`
// The status of the network.
Status string `json:"status" validate:"regexp=^(OPEN|CLOSED)$"`
AdditionalProperties map[string]interface{}
}
UpdateNetworkRequest struct for UpdateNetworkRequest
func NewUpdateNetworkRequest ¶
func NewUpdateNetworkRequest(name string, isDynamic bool, status string) *UpdateNetworkRequest
NewUpdateNetworkRequest instantiates a new UpdateNetworkRequest object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewUpdateNetworkRequestWithDefaults ¶
func NewUpdateNetworkRequestWithDefaults() *UpdateNetworkRequest
NewUpdateNetworkRequestWithDefaults instantiates a new UpdateNetworkRequest object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*UpdateNetworkRequest) GetIpAddress ¶
func (o *UpdateNetworkRequest) GetIpAddress() string
GetIpAddress returns the IpAddress field value if set, zero value otherwise.
func (*UpdateNetworkRequest) GetIpAddressOk ¶
func (o *UpdateNetworkRequest) GetIpAddressOk() (*string, bool)
GetIpAddressOk returns a tuple with the IpAddress field value if set, nil otherwise and a boolean to check if the value has been set.
func (*UpdateNetworkRequest) GetIsDynamic ¶
func (o *UpdateNetworkRequest) GetIsDynamic() bool
GetIsDynamic returns the IsDynamic field value
func (*UpdateNetworkRequest) GetIsDynamicOk ¶
func (o *UpdateNetworkRequest) GetIsDynamicOk() (*bool, bool)
GetIsDynamicOk returns a tuple with the IsDynamic field value and a boolean to check if the value has been set.
func (*UpdateNetworkRequest) GetName ¶
func (o *UpdateNetworkRequest) GetName() string
GetName returns the Name field value
func (*UpdateNetworkRequest) GetNameOk ¶
func (o *UpdateNetworkRequest) GetNameOk() (*string, bool)
GetNameOk returns a tuple with the Name field value and a boolean to check if the value has been set.
func (*UpdateNetworkRequest) GetPrefixLength ¶
func (o *UpdateNetworkRequest) GetPrefixLength() int64
GetPrefixLength returns the PrefixLength field value if set, zero value otherwise.
func (*UpdateNetworkRequest) GetPrefixLengthOk ¶
func (o *UpdateNetworkRequest) GetPrefixLengthOk() (*int64, bool)
GetPrefixLengthOk returns a tuple with the PrefixLength field value if set, nil otherwise and a boolean to check if the value has been set.
func (*UpdateNetworkRequest) GetStatus ¶
func (o *UpdateNetworkRequest) GetStatus() string
GetStatus returns the Status field value
func (*UpdateNetworkRequest) GetStatusOk ¶
func (o *UpdateNetworkRequest) GetStatusOk() (*string, bool)
GetStatusOk returns a tuple with the Status field value and a boolean to check if the value has been set.
func (*UpdateNetworkRequest) HasIpAddress ¶
func (o *UpdateNetworkRequest) HasIpAddress() bool
HasIpAddress returns a boolean if a field has been set.
func (*UpdateNetworkRequest) HasPrefixLength ¶
func (o *UpdateNetworkRequest) HasPrefixLength() bool
HasPrefixLength returns a boolean if a field has been set.
func (UpdateNetworkRequest) MarshalJSON ¶
func (o UpdateNetworkRequest) MarshalJSON() ([]byte, error)
func (*UpdateNetworkRequest) SetIpAddress ¶
func (o *UpdateNetworkRequest) SetIpAddress(v string)
SetIpAddress gets a reference to the given string and assigns it to the IpAddress field.
func (*UpdateNetworkRequest) SetIsDynamic ¶
func (o *UpdateNetworkRequest) SetIsDynamic(v bool)
SetIsDynamic sets field value
func (*UpdateNetworkRequest) SetName ¶
func (o *UpdateNetworkRequest) SetName(v string)
SetName sets field value
func (*UpdateNetworkRequest) SetPrefixLength ¶
func (o *UpdateNetworkRequest) SetPrefixLength(v int64)
SetPrefixLength gets a reference to the given int64 and assigns it to the PrefixLength field.
func (*UpdateNetworkRequest) SetStatus ¶
func (o *UpdateNetworkRequest) SetStatus(v string)
SetStatus sets field value
func (UpdateNetworkRequest) ToMap ¶
func (o UpdateNetworkRequest) ToMap() (map[string]interface{}, error)
func (*UpdateNetworkRequest) UnmarshalJSON ¶
func (o *UpdateNetworkRequest) UnmarshalJSON(data []byte) (err error)
Source Files
¶
- api_networks.go
- client.go
- configuration.go
- model_create_network_403_response.go
- model_create_network_request.go
- model_list_networks_400_response.go
- model_list_networks_401_response.go
- model_list_networks_403_response.go
- model_list_networks_404_response.go
- model_list_networks_500_response.go
- model_network_object.go
- model_update_network_403_response.go
- model_update_network_request.go
- response.go
- utils.go