edge_compute_networking

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Aug 25, 2022 License: Apache-2.0 Imports: 22 Imported by: 0

README

Go API client for edge_compute_networking

No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)

Overview

This API client was generated by the OpenAPI Generator project. By using the OpenAPI-spec from a remote server, you can easily generate an API client.

  • API version: 1.0.0
  • Package version: 1.0.0
  • Build package: org.openapitools.codegen.languages.GoClientExperimentalCodegen For more information, please visit https://support.stackpath.com/

Installation

Install the following dependencies:

go get github.com/stretchr/testify/assert
go get golang.org/x/oauth2
go get golang.org/x/net/context

Put the package under your project folder and add the following in import:

import sw "./edge_compute_networking"

Configuration of Server URL

Default configuration comes with Servers field that contains server objects as defined in the OpenAPI specification.

Select Server Configuration

For using other server than the one defined on index 0 set context value sw.ContextServerIndex of type int.

ctx := context.WithValue(context.Background(), sw.ContextServerIndex, 1)
Templated Server URL

Templated server URL is formatted using default variables from configuration or from context value sw.ContextServerVariables of type map[string]string.

ctx := context.WithValue(context.Background(), sw.ContextServerVariables, map[string]string{
	"basePath": "v2",
})

Note, enum values are always validated and all unused variables are silently ignored.

URLs Configuration per Operation

Each operation can use different server URL defined using OperationServers map in the Configuration. An operation is uniquely identifield by "{classname}Service.{nickname}" string. Similar rules for overriding default operation server index and variables applies by using sw.ContextOperationServerIndices and sw.ContextOperationServerVariables context maps.

ctx := context.WithValue(context.Background(), sw.ContextOperationServerIndices, map[string]int{
	"{classname}Service.{nickname}": 2,
})
ctx = context.WithValue(context.Background(), sw.ContextOperationServerVariables, map[string]map[string]string{
	"{classname}Service.{nickname}": {
		"port": "8443",
	},
})

Documentation for API Endpoints

All URIs are relative to https://gateway.stackpath.com

Class Method HTTP request Description
NetworkPoliciesApi CreateNetworkPolicy Post /ipam/v1/stacks/{stack_id}/network_policies Create a policy
NetworkPoliciesApi DeleteNetworkPolicy Delete /ipam/v1/stacks/{stack_id}/network_policies/{network_policy_id} Delete a policy
NetworkPoliciesApi GetNetworkPolicies Get /ipam/v1/stacks/{stack_id}/network_policies Get all policies
NetworkPoliciesApi GetNetworkPolicy Get /ipam/v1/stacks/{stack_id}/network_policies/{network_policy_id} Get a policy
NetworkPoliciesApi UpdateNetworkPolicy Put /ipam/v1/stacks/{stack_id}/network_policies/{network_policy_id} Update a policy

Documentation For Models

Documentation For Authorization

oauth2
  • Type: OAuth
  • Flow: application
  • Authorization URL:
  • Scopes: N/A

Example

auth := context.WithValue(context.Background(), sw.ContextAccessToken, "ACCESSTOKENSTRING")
r, err := client.Service.Operation(auth, args)

Or via OAuth2 module to automatically refresh tokens and perform user authentication.

import "golang.org/x/oauth2"

/* Perform OAuth2 round trip request and obtain a token */

tokenSource := oauth2cfg.TokenSource(createContext(httpClient), &token)
auth := context.WithValue(oauth2.NoContext, sw.ContextOAuth2, tokenSource)
r, err := client.Service.Operation(auth, args)

Documentation for Utility Methods

Due to the fact that model structure members are all pointers, this package contains a number of utility functions to easily obtain pointers to values of basic types. Each of these functions takes a value of the given basic type and returns a pointer to it:

  • PtrBool
  • PtrInt
  • PtrInt32
  • PtrInt64
  • PtrFloat
  • PtrFloat32
  • PtrFloat64
  • PtrString
  • PtrTime

Author

Documentation

Index

Constants

This section is empty.

Variables

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

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

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

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

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

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

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

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

	// ContextOperationServerVariables overrides a server configuration variables using operation specific values.
	ContextOperationServerVariables = contextKey("serverOperationVariables")
)

Functions

func CacheExpires

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

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

func PtrBool

func PtrBool(v bool) *bool

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

func PtrFloat32

func PtrFloat32(v float32) *float32

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

func PtrFloat64

func PtrFloat64(v float64) *float64

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

func PtrInt

func PtrInt(v int) *int

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

func PtrInt32

func PtrInt32(v int32) *int32

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

func PtrInt64

func PtrInt64(v int64) *int64

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

func PtrString

func PtrString(v string) *string

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

func PtrTime

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

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

Types

type APIClient

type APIClient struct {
	NetworkPoliciesApi *NetworkPoliciesApiService
	// contains filtered or unexported fields
}

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

func NewAPIClient

func NewAPIClient(cfg *Configuration) *APIClient

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

func (*APIClient) GetConfig

func (c *APIClient) GetConfig() *Configuration

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

type APIKey

type APIKey struct {
	Key    string
	Prefix string
}

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

type APIResponse

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

APIResponse stores the API response returned by the server.

func NewAPIResponse

func NewAPIResponse(r *http.Response) *APIResponse

NewAPIResponse returns a new APIResonse object.

func NewAPIResponseWithError

func NewAPIResponseWithError(errorMessage string) *APIResponse

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

type ApiStatus

type ApiStatus struct {
	Code    *int32             `json:"code,omitempty"`
	Details *[]ApiStatusDetail `json:"details,omitempty"`
	Message *string            `json:"message,omitempty"`
}

ApiStatus struct for ApiStatus

func NewApiStatus

func NewApiStatus() *ApiStatus

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

func NewApiStatusWithDefaults

func NewApiStatusWithDefaults() *ApiStatus

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

func (*ApiStatus) GetCode

func (o *ApiStatus) GetCode() int32

GetCode returns the Code field value if set, zero value otherwise.

func (*ApiStatus) GetCodeOk

func (o *ApiStatus) GetCodeOk() (*int32, bool)

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

func (*ApiStatus) GetDetails

func (o *ApiStatus) GetDetails() []ApiStatusDetail

GetDetails returns the Details field value if set, zero value otherwise.

func (*ApiStatus) GetDetailsOk

func (o *ApiStatus) GetDetailsOk() (*[]ApiStatusDetail, bool)

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

func (*ApiStatus) GetMessage

func (o *ApiStatus) GetMessage() string

GetMessage returns the Message field value if set, zero value otherwise.

func (*ApiStatus) GetMessageOk

func (o *ApiStatus) 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 (*ApiStatus) HasCode

func (o *ApiStatus) HasCode() bool

HasCode returns a boolean if a field has been set.

func (*ApiStatus) HasDetails

func (o *ApiStatus) HasDetails() bool

HasDetails returns a boolean if a field has been set.

func (*ApiStatus) HasMessage

func (o *ApiStatus) HasMessage() bool

HasMessage returns a boolean if a field has been set.

func (ApiStatus) MarshalJSON

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

func (*ApiStatus) SetCode

func (o *ApiStatus) SetCode(v int32)

SetCode gets a reference to the given int32 and assigns it to the Code field.

func (*ApiStatus) SetDetails

func (o *ApiStatus) SetDetails(v []ApiStatusDetail)

SetDetails gets a reference to the given []ApiStatusDetail and assigns it to the Details field.

func (*ApiStatus) SetMessage

func (o *ApiStatus) SetMessage(v string)

SetMessage gets a reference to the given string and assigns it to the Message field.

type ApiStatusDetail

type ApiStatusDetail struct {
	Type string `json:"@type"`
}

ApiStatusDetail struct for ApiStatusDetail

func NewApiStatusDetail

func NewApiStatusDetail(type_ string) *ApiStatusDetail

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

func NewApiStatusDetailWithDefaults

func NewApiStatusDetailWithDefaults() *ApiStatusDetail

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

func (*ApiStatusDetail) GetType

func (o *ApiStatusDetail) GetType() string

GetType returns the Type field value

func (*ApiStatusDetail) GetTypeOk

func (o *ApiStatusDetail) GetTypeOk() (*string, bool)

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

func (ApiStatusDetail) MarshalJSON

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

func (*ApiStatusDetail) SetType

func (o *ApiStatusDetail) SetType(v string)

SetType sets field value

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

func (c *Configuration) ServerURL(index int, variables map[string]string) (string, error)

ServerURL returns URL based on server settings

func (*Configuration) ServerURLWithContext

func (c *Configuration) ServerURLWithContext(ctx context.Context, endpoint string) (string, error)

ServerURLWithContext returns a new server URL given an endpoint

type 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 NetworkMetadata

type NetworkMetadata struct {
	// A string to string key/value pair
	Annotations *map[string]string `json:"annotations,omitempty"`
	// A string to string key/value pair
	Labels *map[string]string `json:"labels,omitempty"`
	// The date that a metadata entry was created
	CreatedAt NullableTime `json:"createdAt,omitempty"`
	// The date that a metadata entry was last updated
	UpdatedAt NullableTime `json:"updatedAt,omitempty"`
	// The date that a network policy was requested for deletion
	DeleteRequestedAt NullableTime `json:"deleteRequestedAt,omitempty"`
	// An entity's version number  Versions start at 1 when they are created and increment by 1 every time they are updated.
	Version *string `json:"version,omitempty"`
}

NetworkMetadata Metadata associated with an entity

func NewNetworkMetadata

func NewNetworkMetadata() *NetworkMetadata

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

func NewNetworkMetadataWithDefaults

func NewNetworkMetadataWithDefaults() *NetworkMetadata

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

func (*NetworkMetadata) GetAnnotations

func (o *NetworkMetadata) GetAnnotations() map[string]string

GetAnnotations returns the Annotations field value if set, zero value otherwise.

func (*NetworkMetadata) GetAnnotationsOk

func (o *NetworkMetadata) GetAnnotationsOk() (*map[string]string, bool)

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

func (*NetworkMetadata) GetCreatedAt

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

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

func (*NetworkMetadata) GetCreatedAtOk

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

GetCreatedAtOk returns a tuple with the CreatedAt field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*NetworkMetadata) GetDeleteRequestedAt

func (o *NetworkMetadata) GetDeleteRequestedAt() time.Time

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

func (*NetworkMetadata) GetDeleteRequestedAtOk

func (o *NetworkMetadata) GetDeleteRequestedAtOk() (*time.Time, bool)

GetDeleteRequestedAtOk returns a tuple with the DeleteRequestedAt field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*NetworkMetadata) GetLabels

func (o *NetworkMetadata) GetLabels() map[string]string

GetLabels returns the Labels field value if set, zero value otherwise.

func (*NetworkMetadata) GetLabelsOk

func (o *NetworkMetadata) GetLabelsOk() (*map[string]string, bool)

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

func (*NetworkMetadata) GetUpdatedAt

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

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

func (*NetworkMetadata) GetUpdatedAtOk

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

GetUpdatedAtOk returns a tuple with the UpdatedAt field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*NetworkMetadata) GetVersion

func (o *NetworkMetadata) GetVersion() string

GetVersion returns the Version field value if set, zero value otherwise.

func (*NetworkMetadata) GetVersionOk

func (o *NetworkMetadata) GetVersionOk() (*string, bool)

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

func (*NetworkMetadata) HasAnnotations

func (o *NetworkMetadata) HasAnnotations() bool

HasAnnotations returns a boolean if a field has been set.

func (*NetworkMetadata) HasCreatedAt

func (o *NetworkMetadata) HasCreatedAt() bool

HasCreatedAt returns a boolean if a field has been set.

func (*NetworkMetadata) HasDeleteRequestedAt

func (o *NetworkMetadata) HasDeleteRequestedAt() bool

HasDeleteRequestedAt returns a boolean if a field has been set.

func (*NetworkMetadata) HasLabels

func (o *NetworkMetadata) HasLabels() bool

HasLabels returns a boolean if a field has been set.

func (*NetworkMetadata) HasUpdatedAt

func (o *NetworkMetadata) HasUpdatedAt() bool

HasUpdatedAt returns a boolean if a field has been set.

func (*NetworkMetadata) HasVersion

func (o *NetworkMetadata) HasVersion() bool

HasVersion returns a boolean if a field has been set.

func (NetworkMetadata) MarshalJSON

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

func (*NetworkMetadata) SetAnnotations

func (o *NetworkMetadata) SetAnnotations(v map[string]string)

SetAnnotations gets a reference to the given map[string]string and assigns it to the Annotations field.

func (*NetworkMetadata) SetCreatedAt

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

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

func (*NetworkMetadata) SetCreatedAtNil

func (o *NetworkMetadata) SetCreatedAtNil()

SetCreatedAtNil sets the value for CreatedAt to be an explicit nil

func (*NetworkMetadata) SetDeleteRequestedAt

func (o *NetworkMetadata) SetDeleteRequestedAt(v time.Time)

SetDeleteRequestedAt gets a reference to the given NullableTime and assigns it to the DeleteRequestedAt field.

func (*NetworkMetadata) SetDeleteRequestedAtNil

func (o *NetworkMetadata) SetDeleteRequestedAtNil()

SetDeleteRequestedAtNil sets the value for DeleteRequestedAt to be an explicit nil

func (*NetworkMetadata) SetLabels

func (o *NetworkMetadata) SetLabels(v map[string]string)

SetLabels gets a reference to the given map[string]string and assigns it to the Labels field.

func (*NetworkMetadata) SetUpdatedAt

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

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

func (*NetworkMetadata) SetUpdatedAtNil

func (o *NetworkMetadata) SetUpdatedAtNil()

SetUpdatedAtNil sets the value for UpdatedAt to be an explicit nil

func (*NetworkMetadata) SetVersion

func (o *NetworkMetadata) SetVersion(v string)

SetVersion gets a reference to the given string and assigns it to the Version field.

func (*NetworkMetadata) UnsetCreatedAt

func (o *NetworkMetadata) UnsetCreatedAt()

UnsetCreatedAt ensures that no value is present for CreatedAt, not even an explicit nil

func (*NetworkMetadata) UnsetDeleteRequestedAt

func (o *NetworkMetadata) UnsetDeleteRequestedAt()

UnsetDeleteRequestedAt ensures that no value is present for DeleteRequestedAt, not even an explicit nil

func (*NetworkMetadata) UnsetUpdatedAt

func (o *NetworkMetadata) UnsetUpdatedAt()

UnsetUpdatedAt ensures that no value is present for UpdatedAt, not even an explicit nil

type NetworkPoliciesApiService

type NetworkPoliciesApiService service

NetworkPoliciesApiService NetworkPoliciesApi service

func (*NetworkPoliciesApiService) CreateNetworkPolicy

func (a *NetworkPoliciesApiService) CreateNetworkPolicy(ctx _context.Context, stackId string) apiCreateNetworkPolicyRequest

CreateNetworkPolicy Create a policy

  • @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param stackId A stack ID or slug

@return apiCreateNetworkPolicyRequest

func (*NetworkPoliciesApiService) DeleteNetworkPolicy

func (a *NetworkPoliciesApiService) DeleteNetworkPolicy(ctx _context.Context, stackId string, networkPolicyId string) apiDeleteNetworkPolicyRequest

DeleteNetworkPolicy Delete a policy

  • @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param stackId A stack ID or slug
  • @param networkPolicyId An EdgeCompute network policy ID

@return apiDeleteNetworkPolicyRequest

func (*NetworkPoliciesApiService) GetNetworkPolicies

func (a *NetworkPoliciesApiService) GetNetworkPolicies(ctx _context.Context, stackId string) apiGetNetworkPoliciesRequest

GetNetworkPolicies Get all policies

  • @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param stackId A stack ID or slug

@return apiGetNetworkPoliciesRequest

func (*NetworkPoliciesApiService) GetNetworkPolicy

func (a *NetworkPoliciesApiService) GetNetworkPolicy(ctx _context.Context, stackId string, networkPolicyId string) apiGetNetworkPolicyRequest

GetNetworkPolicy Get a policy

  • @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param stackId A stack ID or slug
  • @param networkPolicyId An EdgeCompute network policy ID

@return apiGetNetworkPolicyRequest

func (*NetworkPoliciesApiService) UpdateNetworkPolicy

func (a *NetworkPoliciesApiService) UpdateNetworkPolicy(ctx _context.Context, stackId string, networkPolicyId string) apiUpdateNetworkPolicyRequest

UpdateNetworkPolicy Update a policy

  • @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param stackId A stack ID or slug
  • @param networkPolicyId An EdgeCompute network policy ID

@return apiUpdateNetworkPolicyRequest

type NetworkPolicySpecPolicyType

type NetworkPolicySpecPolicyType string

NetworkPolicySpecPolicyType the model 'NetworkPolicySpecPolicyType'

const (
	NETWORKPOLICYSPECPOLICYTYPE_POLICY_TYPE_NOT_SPECIFIED NetworkPolicySpecPolicyType = "POLICY_TYPE_NOT_SPECIFIED"
	NETWORKPOLICYSPECPOLICYTYPE_INGRESS                   NetworkPolicySpecPolicyType = "INGRESS"
	NETWORKPOLICYSPECPOLICYTYPE_EGRESS                    NetworkPolicySpecPolicyType = "EGRESS"
)

List of NetworkPolicySpecPolicyType

func (NetworkPolicySpecPolicyType) Ptr

Ptr returns reference to NetworkPolicySpecPolicyType value

type NullableApiStatus

type NullableApiStatus struct {
	// contains filtered or unexported fields
}

func NewNullableApiStatus

func NewNullableApiStatus(val *ApiStatus) *NullableApiStatus

func (NullableApiStatus) Get

func (v NullableApiStatus) Get() *ApiStatus

func (NullableApiStatus) IsSet

func (v NullableApiStatus) IsSet() bool

func (NullableApiStatus) MarshalJSON

func (v NullableApiStatus) MarshalJSON() ([]byte, error)

func (*NullableApiStatus) Set

func (v *NullableApiStatus) Set(val *ApiStatus)

func (*NullableApiStatus) UnmarshalJSON

func (v *NullableApiStatus) UnmarshalJSON(src []byte) error

func (*NullableApiStatus) Unset

func (v *NullableApiStatus) Unset()

type NullableApiStatusDetail

type NullableApiStatusDetail struct {
	// contains filtered or unexported fields
}

func NewNullableApiStatusDetail

func NewNullableApiStatusDetail(val *ApiStatusDetail) *NullableApiStatusDetail

func (NullableApiStatusDetail) Get

func (NullableApiStatusDetail) IsSet

func (v NullableApiStatusDetail) IsSet() bool

func (NullableApiStatusDetail) MarshalJSON

func (v NullableApiStatusDetail) MarshalJSON() ([]byte, error)

func (*NullableApiStatusDetail) Set

func (*NullableApiStatusDetail) UnmarshalJSON

func (v *NullableApiStatusDetail) UnmarshalJSON(src []byte) error

func (*NullableApiStatusDetail) Unset

func (v *NullableApiStatusDetail) Unset()

type NullableBool

type NullableBool struct {
	// contains filtered or unexported fields
}

func NewNullableBool

func NewNullableBool(val *bool) *NullableBool

func (NullableBool) Get

func (v NullableBool) Get() *bool

func (NullableBool) IsSet

func (v NullableBool) IsSet() bool

func (NullableBool) MarshalJSON

func (v NullableBool) MarshalJSON() ([]byte, error)

func (*NullableBool) Set

func (v *NullableBool) Set(val *bool)

func (*NullableBool) UnmarshalJSON

func (v *NullableBool) UnmarshalJSON(src []byte) error

func (*NullableBool) Unset

func (v *NullableBool) Unset()

type 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 NullableNetworkMetadata

type NullableNetworkMetadata struct {
	// contains filtered or unexported fields
}

func NewNullableNetworkMetadata

func NewNullableNetworkMetadata(val *NetworkMetadata) *NullableNetworkMetadata

func (NullableNetworkMetadata) Get

func (NullableNetworkMetadata) IsSet

func (v NullableNetworkMetadata) IsSet() bool

func (NullableNetworkMetadata) MarshalJSON

func (v NullableNetworkMetadata) MarshalJSON() ([]byte, error)

func (*NullableNetworkMetadata) Set

func (*NullableNetworkMetadata) UnmarshalJSON

func (v *NullableNetworkMetadata) UnmarshalJSON(src []byte) error

func (*NullableNetworkMetadata) Unset

func (v *NullableNetworkMetadata) Unset()

type NullableNetworkPolicySpecPolicyType

type NullableNetworkPolicySpecPolicyType struct {
	// contains filtered or unexported fields
}

func (NullableNetworkPolicySpecPolicyType) Get

func (NullableNetworkPolicySpecPolicyType) IsSet

func (NullableNetworkPolicySpecPolicyType) MarshalJSON

func (v NullableNetworkPolicySpecPolicyType) MarshalJSON() ([]byte, error)

func (*NullableNetworkPolicySpecPolicyType) Set

func (*NullableNetworkPolicySpecPolicyType) UnmarshalJSON

func (v *NullableNetworkPolicySpecPolicyType) UnmarshalJSON(src []byte) error

func (*NullableNetworkPolicySpecPolicyType) Unset

type NullablePaginationPageInfo

type NullablePaginationPageInfo struct {
	// contains filtered or unexported fields
}

func NewNullablePaginationPageInfo

func NewNullablePaginationPageInfo(val *PaginationPageInfo) *NullablePaginationPageInfo

func (NullablePaginationPageInfo) Get

func (NullablePaginationPageInfo) IsSet

func (v NullablePaginationPageInfo) IsSet() bool

func (NullablePaginationPageInfo) MarshalJSON

func (v NullablePaginationPageInfo) MarshalJSON() ([]byte, error)

func (*NullablePaginationPageInfo) Set

func (*NullablePaginationPageInfo) UnmarshalJSON

func (v *NullablePaginationPageInfo) UnmarshalJSON(src []byte) error

func (*NullablePaginationPageInfo) Unset

func (v *NullablePaginationPageInfo) Unset()

type NullableStackpathRpcBadRequest

type NullableStackpathRpcBadRequest struct {
	// contains filtered or unexported fields
}

func (NullableStackpathRpcBadRequest) Get

func (NullableStackpathRpcBadRequest) IsSet

func (NullableStackpathRpcBadRequest) MarshalJSON

func (v NullableStackpathRpcBadRequest) MarshalJSON() ([]byte, error)

func (*NullableStackpathRpcBadRequest) Set

func (*NullableStackpathRpcBadRequest) UnmarshalJSON

func (v *NullableStackpathRpcBadRequest) UnmarshalJSON(src []byte) error

func (*NullableStackpathRpcBadRequest) Unset

func (v *NullableStackpathRpcBadRequest) Unset()

type NullableStackpathRpcBadRequestAllOf

type NullableStackpathRpcBadRequestAllOf struct {
	// contains filtered or unexported fields
}

func (NullableStackpathRpcBadRequestAllOf) Get

func (NullableStackpathRpcBadRequestAllOf) IsSet

func (NullableStackpathRpcBadRequestAllOf) MarshalJSON

func (v NullableStackpathRpcBadRequestAllOf) MarshalJSON() ([]byte, error)

func (*NullableStackpathRpcBadRequestAllOf) Set

func (*NullableStackpathRpcBadRequestAllOf) UnmarshalJSON

func (v *NullableStackpathRpcBadRequestAllOf) UnmarshalJSON(src []byte) error

func (*NullableStackpathRpcBadRequestAllOf) Unset

type NullableStackpathRpcBadRequestFieldViolation

type NullableStackpathRpcBadRequestFieldViolation struct {
	// contains filtered or unexported fields
}

func (NullableStackpathRpcBadRequestFieldViolation) Get

func (NullableStackpathRpcBadRequestFieldViolation) IsSet

func (NullableStackpathRpcBadRequestFieldViolation) MarshalJSON

func (*NullableStackpathRpcBadRequestFieldViolation) Set

func (*NullableStackpathRpcBadRequestFieldViolation) UnmarshalJSON

func (*NullableStackpathRpcBadRequestFieldViolation) Unset

type NullableStackpathRpcHelp

type NullableStackpathRpcHelp struct {
	// contains filtered or unexported fields
}

func NewNullableStackpathRpcHelp

func NewNullableStackpathRpcHelp(val *StackpathRpcHelp) *NullableStackpathRpcHelp

func (NullableStackpathRpcHelp) Get

func (NullableStackpathRpcHelp) IsSet

func (v NullableStackpathRpcHelp) IsSet() bool

func (NullableStackpathRpcHelp) MarshalJSON

func (v NullableStackpathRpcHelp) MarshalJSON() ([]byte, error)

func (*NullableStackpathRpcHelp) Set

func (*NullableStackpathRpcHelp) UnmarshalJSON

func (v *NullableStackpathRpcHelp) UnmarshalJSON(src []byte) error

func (*NullableStackpathRpcHelp) Unset

func (v *NullableStackpathRpcHelp) Unset()

type NullableStackpathRpcHelpAllOf

type NullableStackpathRpcHelpAllOf struct {
	// contains filtered or unexported fields
}

func (NullableStackpathRpcHelpAllOf) Get

func (NullableStackpathRpcHelpAllOf) IsSet

func (NullableStackpathRpcHelpAllOf) MarshalJSON

func (v NullableStackpathRpcHelpAllOf) MarshalJSON() ([]byte, error)

func (*NullableStackpathRpcHelpAllOf) Set

func (*NullableStackpathRpcHelpAllOf) UnmarshalJSON

func (v *NullableStackpathRpcHelpAllOf) UnmarshalJSON(src []byte) error

func (*NullableStackpathRpcHelpAllOf) Unset

func (v *NullableStackpathRpcHelpAllOf) Unset()
type NullableStackpathRpcHelpLink struct {
	// contains filtered or unexported fields
}
func NewNullableStackpathRpcHelpLink(val *StackpathRpcHelpLink) *NullableStackpathRpcHelpLink

func (NullableStackpathRpcHelpLink) Get

func (NullableStackpathRpcHelpLink) IsSet

func (NullableStackpathRpcHelpLink) MarshalJSON

func (v NullableStackpathRpcHelpLink) MarshalJSON() ([]byte, error)

func (*NullableStackpathRpcHelpLink) Set

func (*NullableStackpathRpcHelpLink) UnmarshalJSON

func (v *NullableStackpathRpcHelpLink) UnmarshalJSON(src []byte) error

func (*NullableStackpathRpcHelpLink) Unset

func (v *NullableStackpathRpcHelpLink) Unset()

type NullableStackpathRpcLocalizedMessage

type NullableStackpathRpcLocalizedMessage struct {
	// contains filtered or unexported fields
}

func (NullableStackpathRpcLocalizedMessage) Get

func (NullableStackpathRpcLocalizedMessage) IsSet

func (NullableStackpathRpcLocalizedMessage) MarshalJSON

func (v NullableStackpathRpcLocalizedMessage) MarshalJSON() ([]byte, error)

func (*NullableStackpathRpcLocalizedMessage) Set

func (*NullableStackpathRpcLocalizedMessage) UnmarshalJSON

func (v *NullableStackpathRpcLocalizedMessage) UnmarshalJSON(src []byte) error

func (*NullableStackpathRpcLocalizedMessage) Unset

type NullableStackpathRpcLocalizedMessageAllOf

type NullableStackpathRpcLocalizedMessageAllOf struct {
	// contains filtered or unexported fields
}

func (NullableStackpathRpcLocalizedMessageAllOf) Get

func (NullableStackpathRpcLocalizedMessageAllOf) IsSet

func (NullableStackpathRpcLocalizedMessageAllOf) MarshalJSON

func (*NullableStackpathRpcLocalizedMessageAllOf) Set

func (*NullableStackpathRpcLocalizedMessageAllOf) UnmarshalJSON

func (v *NullableStackpathRpcLocalizedMessageAllOf) UnmarshalJSON(src []byte) error

func (*NullableStackpathRpcLocalizedMessageAllOf) Unset

type NullableStackpathRpcPreconditionFailure

type NullableStackpathRpcPreconditionFailure struct {
	// contains filtered or unexported fields
}

func (NullableStackpathRpcPreconditionFailure) Get

func (NullableStackpathRpcPreconditionFailure) IsSet

func (NullableStackpathRpcPreconditionFailure) MarshalJSON

func (v NullableStackpathRpcPreconditionFailure) MarshalJSON() ([]byte, error)

func (*NullableStackpathRpcPreconditionFailure) Set

func (*NullableStackpathRpcPreconditionFailure) UnmarshalJSON

func (v *NullableStackpathRpcPreconditionFailure) UnmarshalJSON(src []byte) error

func (*NullableStackpathRpcPreconditionFailure) Unset

type NullableStackpathRpcPreconditionFailureAllOf

type NullableStackpathRpcPreconditionFailureAllOf struct {
	// contains filtered or unexported fields
}

func (NullableStackpathRpcPreconditionFailureAllOf) Get

func (NullableStackpathRpcPreconditionFailureAllOf) IsSet

func (NullableStackpathRpcPreconditionFailureAllOf) MarshalJSON

func (*NullableStackpathRpcPreconditionFailureAllOf) Set

func (*NullableStackpathRpcPreconditionFailureAllOf) UnmarshalJSON

func (*NullableStackpathRpcPreconditionFailureAllOf) Unset

type NullableStackpathRpcPreconditionFailureViolation

type NullableStackpathRpcPreconditionFailureViolation struct {
	// contains filtered or unexported fields
}

func (NullableStackpathRpcPreconditionFailureViolation) Get

func (NullableStackpathRpcPreconditionFailureViolation) IsSet

func (NullableStackpathRpcPreconditionFailureViolation) MarshalJSON

func (*NullableStackpathRpcPreconditionFailureViolation) Set

func (*NullableStackpathRpcPreconditionFailureViolation) UnmarshalJSON

func (*NullableStackpathRpcPreconditionFailureViolation) Unset

type NullableStackpathRpcQuotaFailure

type NullableStackpathRpcQuotaFailure struct {
	// contains filtered or unexported fields
}

func (NullableStackpathRpcQuotaFailure) Get

func (NullableStackpathRpcQuotaFailure) IsSet

func (NullableStackpathRpcQuotaFailure) MarshalJSON

func (v NullableStackpathRpcQuotaFailure) MarshalJSON() ([]byte, error)

func (*NullableStackpathRpcQuotaFailure) Set

func (*NullableStackpathRpcQuotaFailure) UnmarshalJSON

func (v *NullableStackpathRpcQuotaFailure) UnmarshalJSON(src []byte) error

func (*NullableStackpathRpcQuotaFailure) Unset

type NullableStackpathRpcQuotaFailureAllOf

type NullableStackpathRpcQuotaFailureAllOf struct {
	// contains filtered or unexported fields
}

func (NullableStackpathRpcQuotaFailureAllOf) Get

func (NullableStackpathRpcQuotaFailureAllOf) IsSet

func (NullableStackpathRpcQuotaFailureAllOf) MarshalJSON

func (v NullableStackpathRpcQuotaFailureAllOf) MarshalJSON() ([]byte, error)

func (*NullableStackpathRpcQuotaFailureAllOf) Set

func (*NullableStackpathRpcQuotaFailureAllOf) UnmarshalJSON

func (v *NullableStackpathRpcQuotaFailureAllOf) UnmarshalJSON(src []byte) error

func (*NullableStackpathRpcQuotaFailureAllOf) Unset

type NullableStackpathRpcQuotaFailureViolation

type NullableStackpathRpcQuotaFailureViolation struct {
	// contains filtered or unexported fields
}

func (NullableStackpathRpcQuotaFailureViolation) Get

func (NullableStackpathRpcQuotaFailureViolation) IsSet

func (NullableStackpathRpcQuotaFailureViolation) MarshalJSON

func (*NullableStackpathRpcQuotaFailureViolation) Set

func (*NullableStackpathRpcQuotaFailureViolation) UnmarshalJSON

func (v *NullableStackpathRpcQuotaFailureViolation) UnmarshalJSON(src []byte) error

func (*NullableStackpathRpcQuotaFailureViolation) Unset

type NullableStackpathRpcRequestInfo

type NullableStackpathRpcRequestInfo struct {
	// contains filtered or unexported fields
}

func (NullableStackpathRpcRequestInfo) Get

func (NullableStackpathRpcRequestInfo) IsSet

func (NullableStackpathRpcRequestInfo) MarshalJSON

func (v NullableStackpathRpcRequestInfo) MarshalJSON() ([]byte, error)

func (*NullableStackpathRpcRequestInfo) Set

func (*NullableStackpathRpcRequestInfo) UnmarshalJSON

func (v *NullableStackpathRpcRequestInfo) UnmarshalJSON(src []byte) error

func (*NullableStackpathRpcRequestInfo) Unset

type NullableStackpathRpcRequestInfoAllOf

type NullableStackpathRpcRequestInfoAllOf struct {
	// contains filtered or unexported fields
}

func (NullableStackpathRpcRequestInfoAllOf) Get

func (NullableStackpathRpcRequestInfoAllOf) IsSet

func (NullableStackpathRpcRequestInfoAllOf) MarshalJSON

func (v NullableStackpathRpcRequestInfoAllOf) MarshalJSON() ([]byte, error)

func (*NullableStackpathRpcRequestInfoAllOf) Set

func (*NullableStackpathRpcRequestInfoAllOf) UnmarshalJSON

func (v *NullableStackpathRpcRequestInfoAllOf) UnmarshalJSON(src []byte) error

func (*NullableStackpathRpcRequestInfoAllOf) Unset

type NullableStackpathRpcResourceInfo

type NullableStackpathRpcResourceInfo struct {
	// contains filtered or unexported fields
}

func (NullableStackpathRpcResourceInfo) Get

func (NullableStackpathRpcResourceInfo) IsSet

func (NullableStackpathRpcResourceInfo) MarshalJSON

func (v NullableStackpathRpcResourceInfo) MarshalJSON() ([]byte, error)

func (*NullableStackpathRpcResourceInfo) Set

func (*NullableStackpathRpcResourceInfo) UnmarshalJSON

func (v *NullableStackpathRpcResourceInfo) UnmarshalJSON(src []byte) error

func (*NullableStackpathRpcResourceInfo) Unset

type NullableStackpathRpcResourceInfoAllOf

type NullableStackpathRpcResourceInfoAllOf struct {
	// contains filtered or unexported fields
}

func (NullableStackpathRpcResourceInfoAllOf) Get

func (NullableStackpathRpcResourceInfoAllOf) IsSet

func (NullableStackpathRpcResourceInfoAllOf) MarshalJSON

func (v NullableStackpathRpcResourceInfoAllOf) MarshalJSON() ([]byte, error)

func (*NullableStackpathRpcResourceInfoAllOf) Set

func (*NullableStackpathRpcResourceInfoAllOf) UnmarshalJSON

func (v *NullableStackpathRpcResourceInfoAllOf) UnmarshalJSON(src []byte) error

func (*NullableStackpathRpcResourceInfoAllOf) Unset

type NullableStackpathRpcRetryInfo

type NullableStackpathRpcRetryInfo struct {
	// contains filtered or unexported fields
}

func (NullableStackpathRpcRetryInfo) Get

func (NullableStackpathRpcRetryInfo) IsSet

func (NullableStackpathRpcRetryInfo) MarshalJSON

func (v NullableStackpathRpcRetryInfo) MarshalJSON() ([]byte, error)

func (*NullableStackpathRpcRetryInfo) Set

func (*NullableStackpathRpcRetryInfo) UnmarshalJSON

func (v *NullableStackpathRpcRetryInfo) UnmarshalJSON(src []byte) error

func (*NullableStackpathRpcRetryInfo) Unset

func (v *NullableStackpathRpcRetryInfo) Unset()

type NullableStackpathRpcRetryInfoAllOf

type NullableStackpathRpcRetryInfoAllOf struct {
	// contains filtered or unexported fields
}

func (NullableStackpathRpcRetryInfoAllOf) Get

func (NullableStackpathRpcRetryInfoAllOf) IsSet

func (NullableStackpathRpcRetryInfoAllOf) MarshalJSON

func (v NullableStackpathRpcRetryInfoAllOf) MarshalJSON() ([]byte, error)

func (*NullableStackpathRpcRetryInfoAllOf) Set

func (*NullableStackpathRpcRetryInfoAllOf) UnmarshalJSON

func (v *NullableStackpathRpcRetryInfoAllOf) UnmarshalJSON(src []byte) error

func (*NullableStackpathRpcRetryInfoAllOf) 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 NullableV1Action

type NullableV1Action struct {
	// contains filtered or unexported fields
}

func NewNullableV1Action

func NewNullableV1Action(val *V1Action) *NullableV1Action

func (NullableV1Action) Get

func (v NullableV1Action) Get() *V1Action

func (NullableV1Action) IsSet

func (v NullableV1Action) IsSet() bool

func (NullableV1Action) MarshalJSON

func (v NullableV1Action) MarshalJSON() ([]byte, error)

func (*NullableV1Action) Set

func (v *NullableV1Action) Set(val *V1Action)

func (*NullableV1Action) UnmarshalJSON

func (v *NullableV1Action) UnmarshalJSON(src []byte) error

func (*NullableV1Action) Unset

func (v *NullableV1Action) Unset()

type NullableV1CreateNetworkPolicyRequest

type NullableV1CreateNetworkPolicyRequest struct {
	// contains filtered or unexported fields
}

func (NullableV1CreateNetworkPolicyRequest) Get

func (NullableV1CreateNetworkPolicyRequest) IsSet

func (NullableV1CreateNetworkPolicyRequest) MarshalJSON

func (v NullableV1CreateNetworkPolicyRequest) MarshalJSON() ([]byte, error)

func (*NullableV1CreateNetworkPolicyRequest) Set

func (*NullableV1CreateNetworkPolicyRequest) UnmarshalJSON

func (v *NullableV1CreateNetworkPolicyRequest) UnmarshalJSON(src []byte) error

func (*NullableV1CreateNetworkPolicyRequest) Unset

type NullableV1CreateNetworkPolicyResponse

type NullableV1CreateNetworkPolicyResponse struct {
	// contains filtered or unexported fields
}

func (NullableV1CreateNetworkPolicyResponse) Get

func (NullableV1CreateNetworkPolicyResponse) IsSet

func (NullableV1CreateNetworkPolicyResponse) MarshalJSON

func (v NullableV1CreateNetworkPolicyResponse) MarshalJSON() ([]byte, error)

func (*NullableV1CreateNetworkPolicyResponse) Set

func (*NullableV1CreateNetworkPolicyResponse) UnmarshalJSON

func (v *NullableV1CreateNetworkPolicyResponse) UnmarshalJSON(src []byte) error

func (*NullableV1CreateNetworkPolicyResponse) Unset

type NullableV1Egress

type NullableV1Egress struct {
	// contains filtered or unexported fields
}

func NewNullableV1Egress

func NewNullableV1Egress(val *V1Egress) *NullableV1Egress

func (NullableV1Egress) Get

func (v NullableV1Egress) Get() *V1Egress

func (NullableV1Egress) IsSet

func (v NullableV1Egress) IsSet() bool

func (NullableV1Egress) MarshalJSON

func (v NullableV1Egress) MarshalJSON() ([]byte, error)

func (*NullableV1Egress) Set

func (v *NullableV1Egress) Set(val *V1Egress)

func (*NullableV1Egress) UnmarshalJSON

func (v *NullableV1Egress) UnmarshalJSON(src []byte) error

func (*NullableV1Egress) Unset

func (v *NullableV1Egress) Unset()

type NullableV1GetNetworkPoliciesResponse

type NullableV1GetNetworkPoliciesResponse struct {
	// contains filtered or unexported fields
}

func (NullableV1GetNetworkPoliciesResponse) Get

func (NullableV1GetNetworkPoliciesResponse) IsSet

func (NullableV1GetNetworkPoliciesResponse) MarshalJSON

func (v NullableV1GetNetworkPoliciesResponse) MarshalJSON() ([]byte, error)

func (*NullableV1GetNetworkPoliciesResponse) Set

func (*NullableV1GetNetworkPoliciesResponse) UnmarshalJSON

func (v *NullableV1GetNetworkPoliciesResponse) UnmarshalJSON(src []byte) error

func (*NullableV1GetNetworkPoliciesResponse) Unset

type NullableV1GetNetworkPolicyResponse

type NullableV1GetNetworkPolicyResponse struct {
	// contains filtered or unexported fields
}

func (NullableV1GetNetworkPolicyResponse) Get

func (NullableV1GetNetworkPolicyResponse) IsSet

func (NullableV1GetNetworkPolicyResponse) MarshalJSON

func (v NullableV1GetNetworkPolicyResponse) MarshalJSON() ([]byte, error)

func (*NullableV1GetNetworkPolicyResponse) Set

func (*NullableV1GetNetworkPolicyResponse) UnmarshalJSON

func (v *NullableV1GetNetworkPolicyResponse) UnmarshalJSON(src []byte) error

func (*NullableV1GetNetworkPolicyResponse) Unset

type NullableV1HostRule

type NullableV1HostRule struct {
	// contains filtered or unexported fields
}

func NewNullableV1HostRule

func NewNullableV1HostRule(val *V1HostRule) *NullableV1HostRule

func (NullableV1HostRule) Get

func (v NullableV1HostRule) Get() *V1HostRule

func (NullableV1HostRule) IsSet

func (v NullableV1HostRule) IsSet() bool

func (NullableV1HostRule) MarshalJSON

func (v NullableV1HostRule) MarshalJSON() ([]byte, error)

func (*NullableV1HostRule) Set

func (v *NullableV1HostRule) Set(val *V1HostRule)

func (*NullableV1HostRule) UnmarshalJSON

func (v *NullableV1HostRule) UnmarshalJSON(src []byte) error

func (*NullableV1HostRule) Unset

func (v *NullableV1HostRule) Unset()

type NullableV1Ingress

type NullableV1Ingress struct {
	// contains filtered or unexported fields
}

func NewNullableV1Ingress

func NewNullableV1Ingress(val *V1Ingress) *NullableV1Ingress

func (NullableV1Ingress) Get

func (v NullableV1Ingress) Get() *V1Ingress

func (NullableV1Ingress) IsSet

func (v NullableV1Ingress) IsSet() bool

func (NullableV1Ingress) MarshalJSON

func (v NullableV1Ingress) MarshalJSON() ([]byte, error)

func (*NullableV1Ingress) Set

func (v *NullableV1Ingress) Set(val *V1Ingress)

func (*NullableV1Ingress) UnmarshalJSON

func (v *NullableV1Ingress) UnmarshalJSON(src []byte) error

func (*NullableV1Ingress) Unset

func (v *NullableV1Ingress) Unset()

type NullableV1IpBlock

type NullableV1IpBlock struct {
	// contains filtered or unexported fields
}

func NewNullableV1IpBlock

func NewNullableV1IpBlock(val *V1IpBlock) *NullableV1IpBlock

func (NullableV1IpBlock) Get

func (v NullableV1IpBlock) Get() *V1IpBlock

func (NullableV1IpBlock) IsSet

func (v NullableV1IpBlock) IsSet() bool

func (NullableV1IpBlock) MarshalJSON

func (v NullableV1IpBlock) MarshalJSON() ([]byte, error)

func (*NullableV1IpBlock) Set

func (v *NullableV1IpBlock) Set(val *V1IpBlock)

func (*NullableV1IpBlock) UnmarshalJSON

func (v *NullableV1IpBlock) UnmarshalJSON(src []byte) error

func (*NullableV1IpBlock) Unset

func (v *NullableV1IpBlock) Unset()

type NullableV1MatchExpression

type NullableV1MatchExpression struct {
	// contains filtered or unexported fields
}

func NewNullableV1MatchExpression

func NewNullableV1MatchExpression(val *V1MatchExpression) *NullableV1MatchExpression

func (NullableV1MatchExpression) Get

func (NullableV1MatchExpression) IsSet

func (v NullableV1MatchExpression) IsSet() bool

func (NullableV1MatchExpression) MarshalJSON

func (v NullableV1MatchExpression) MarshalJSON() ([]byte, error)

func (*NullableV1MatchExpression) Set

func (*NullableV1MatchExpression) UnmarshalJSON

func (v *NullableV1MatchExpression) UnmarshalJSON(src []byte) error

func (*NullableV1MatchExpression) Unset

func (v *NullableV1MatchExpression) Unset()

type NullableV1NetworkPolicy

type NullableV1NetworkPolicy struct {
	// contains filtered or unexported fields
}

func NewNullableV1NetworkPolicy

func NewNullableV1NetworkPolicy(val *V1NetworkPolicy) *NullableV1NetworkPolicy

func (NullableV1NetworkPolicy) Get

func (NullableV1NetworkPolicy) IsSet

func (v NullableV1NetworkPolicy) IsSet() bool

func (NullableV1NetworkPolicy) MarshalJSON

func (v NullableV1NetworkPolicy) MarshalJSON() ([]byte, error)

func (*NullableV1NetworkPolicy) Set

func (*NullableV1NetworkPolicy) UnmarshalJSON

func (v *NullableV1NetworkPolicy) UnmarshalJSON(src []byte) error

func (*NullableV1NetworkPolicy) Unset

func (v *NullableV1NetworkPolicy) Unset()

type NullableV1NetworkPolicySpec

type NullableV1NetworkPolicySpec struct {
	// contains filtered or unexported fields
}

func NewNullableV1NetworkPolicySpec

func NewNullableV1NetworkPolicySpec(val *V1NetworkPolicySpec) *NullableV1NetworkPolicySpec

func (NullableV1NetworkPolicySpec) Get

func (NullableV1NetworkPolicySpec) IsSet

func (NullableV1NetworkPolicySpec) MarshalJSON

func (v NullableV1NetworkPolicySpec) MarshalJSON() ([]byte, error)

func (*NullableV1NetworkPolicySpec) Set

func (*NullableV1NetworkPolicySpec) UnmarshalJSON

func (v *NullableV1NetworkPolicySpec) UnmarshalJSON(src []byte) error

func (*NullableV1NetworkPolicySpec) Unset

func (v *NullableV1NetworkPolicySpec) Unset()

type NullableV1ProtocolTcp

type NullableV1ProtocolTcp struct {
	// contains filtered or unexported fields
}

func NewNullableV1ProtocolTcp

func NewNullableV1ProtocolTcp(val *V1ProtocolTcp) *NullableV1ProtocolTcp

func (NullableV1ProtocolTcp) Get

func (NullableV1ProtocolTcp) IsSet

func (v NullableV1ProtocolTcp) IsSet() bool

func (NullableV1ProtocolTcp) MarshalJSON

func (v NullableV1ProtocolTcp) MarshalJSON() ([]byte, error)

func (*NullableV1ProtocolTcp) Set

func (v *NullableV1ProtocolTcp) Set(val *V1ProtocolTcp)

func (*NullableV1ProtocolTcp) UnmarshalJSON

func (v *NullableV1ProtocolTcp) UnmarshalJSON(src []byte) error

func (*NullableV1ProtocolTcp) Unset

func (v *NullableV1ProtocolTcp) Unset()

type NullableV1ProtocolTcpUdp

type NullableV1ProtocolTcpUdp struct {
	// contains filtered or unexported fields
}

func NewNullableV1ProtocolTcpUdp

func NewNullableV1ProtocolTcpUdp(val *V1ProtocolTcpUdp) *NullableV1ProtocolTcpUdp

func (NullableV1ProtocolTcpUdp) Get

func (NullableV1ProtocolTcpUdp) IsSet

func (v NullableV1ProtocolTcpUdp) IsSet() bool

func (NullableV1ProtocolTcpUdp) MarshalJSON

func (v NullableV1ProtocolTcpUdp) MarshalJSON() ([]byte, error)

func (*NullableV1ProtocolTcpUdp) Set

func (*NullableV1ProtocolTcpUdp) UnmarshalJSON

func (v *NullableV1ProtocolTcpUdp) UnmarshalJSON(src []byte) error

func (*NullableV1ProtocolTcpUdp) Unset

func (v *NullableV1ProtocolTcpUdp) Unset()

type NullableV1ProtocolUdp

type NullableV1ProtocolUdp struct {
	// contains filtered or unexported fields
}

func NewNullableV1ProtocolUdp

func NewNullableV1ProtocolUdp(val *V1ProtocolUdp) *NullableV1ProtocolUdp

func (NullableV1ProtocolUdp) Get

func (NullableV1ProtocolUdp) IsSet

func (v NullableV1ProtocolUdp) IsSet() bool

func (NullableV1ProtocolUdp) MarshalJSON

func (v NullableV1ProtocolUdp) MarshalJSON() ([]byte, error)

func (*NullableV1ProtocolUdp) Set

func (v *NullableV1ProtocolUdp) Set(val *V1ProtocolUdp)

func (*NullableV1ProtocolUdp) UnmarshalJSON

func (v *NullableV1ProtocolUdp) UnmarshalJSON(src []byte) error

func (*NullableV1ProtocolUdp) Unset

func (v *NullableV1ProtocolUdp) Unset()

type NullableV1Protocols

type NullableV1Protocols struct {
	// contains filtered or unexported fields
}

func NewNullableV1Protocols

func NewNullableV1Protocols(val *V1Protocols) *NullableV1Protocols

func (NullableV1Protocols) Get

func (NullableV1Protocols) IsSet

func (v NullableV1Protocols) IsSet() bool

func (NullableV1Protocols) MarshalJSON

func (v NullableV1Protocols) MarshalJSON() ([]byte, error)

func (*NullableV1Protocols) Set

func (v *NullableV1Protocols) Set(val *V1Protocols)

func (*NullableV1Protocols) UnmarshalJSON

func (v *NullableV1Protocols) UnmarshalJSON(src []byte) error

func (*NullableV1Protocols) Unset

func (v *NullableV1Protocols) Unset()

type NullableV1UpdateNetworkPolicyRequest

type NullableV1UpdateNetworkPolicyRequest struct {
	// contains filtered or unexported fields
}

func (NullableV1UpdateNetworkPolicyRequest) Get

func (NullableV1UpdateNetworkPolicyRequest) IsSet

func (NullableV1UpdateNetworkPolicyRequest) MarshalJSON

func (v NullableV1UpdateNetworkPolicyRequest) MarshalJSON() ([]byte, error)

func (*NullableV1UpdateNetworkPolicyRequest) Set

func (*NullableV1UpdateNetworkPolicyRequest) UnmarshalJSON

func (v *NullableV1UpdateNetworkPolicyRequest) UnmarshalJSON(src []byte) error

func (*NullableV1UpdateNetworkPolicyRequest) Unset

type NullableV1UpdateNetworkPolicyResponse

type NullableV1UpdateNetworkPolicyResponse struct {
	// contains filtered or unexported fields
}

func (NullableV1UpdateNetworkPolicyResponse) Get

func (NullableV1UpdateNetworkPolicyResponse) IsSet

func (NullableV1UpdateNetworkPolicyResponse) MarshalJSON

func (v NullableV1UpdateNetworkPolicyResponse) MarshalJSON() ([]byte, error)

func (*NullableV1UpdateNetworkPolicyResponse) Set

func (*NullableV1UpdateNetworkPolicyResponse) UnmarshalJSON

func (v *NullableV1UpdateNetworkPolicyResponse) UnmarshalJSON(src []byte) error

func (*NullableV1UpdateNetworkPolicyResponse) Unset

type PaginationPageInfo

type PaginationPageInfo struct {
	// The total number of items in the dataset
	TotalCount *string `json:"totalCount,omitempty"`
	// Whether or not a previous page of data exists
	HasPreviousPage *bool `json:"hasPreviousPage,omitempty"`
	// Whether or not another page of data is available
	HasNextPage *bool `json:"hasNextPage,omitempty"`
	// The cursor for the first item in the set of data returned
	StartCursor *string `json:"startCursor,omitempty"`
	// The cursor for the last item in the set of data returned
	EndCursor *string `json:"endCursor,omitempty"`
}

PaginationPageInfo Information about a paginated response This is modeled after the GraphQL Relay spec to support both cursor based pagination and traditional offset based pagination.

func NewPaginationPageInfo

func NewPaginationPageInfo() *PaginationPageInfo

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

func NewPaginationPageInfoWithDefaults

func NewPaginationPageInfoWithDefaults() *PaginationPageInfo

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

func (*PaginationPageInfo) GetEndCursor

func (o *PaginationPageInfo) GetEndCursor() string

GetEndCursor returns the EndCursor field value if set, zero value otherwise.

func (*PaginationPageInfo) GetEndCursorOk

func (o *PaginationPageInfo) GetEndCursorOk() (*string, bool)

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

func (*PaginationPageInfo) GetHasNextPage

func (o *PaginationPageInfo) GetHasNextPage() bool

GetHasNextPage returns the HasNextPage field value if set, zero value otherwise.

func (*PaginationPageInfo) GetHasNextPageOk

func (o *PaginationPageInfo) GetHasNextPageOk() (*bool, bool)

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

func (*PaginationPageInfo) GetHasPreviousPage

func (o *PaginationPageInfo) GetHasPreviousPage() bool

GetHasPreviousPage returns the HasPreviousPage field value if set, zero value otherwise.

func (*PaginationPageInfo) GetHasPreviousPageOk

func (o *PaginationPageInfo) GetHasPreviousPageOk() (*bool, bool)

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

func (*PaginationPageInfo) GetStartCursor

func (o *PaginationPageInfo) GetStartCursor() string

GetStartCursor returns the StartCursor field value if set, zero value otherwise.

func (*PaginationPageInfo) GetStartCursorOk

func (o *PaginationPageInfo) GetStartCursorOk() (*string, bool)

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

func (*PaginationPageInfo) GetTotalCount

func (o *PaginationPageInfo) GetTotalCount() string

GetTotalCount returns the TotalCount field value if set, zero value otherwise.

func (*PaginationPageInfo) GetTotalCountOk

func (o *PaginationPageInfo) GetTotalCountOk() (*string, bool)

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

func (*PaginationPageInfo) HasEndCursor

func (o *PaginationPageInfo) HasEndCursor() bool

HasEndCursor returns a boolean if a field has been set.

func (*PaginationPageInfo) HasHasNextPage

func (o *PaginationPageInfo) HasHasNextPage() bool

HasHasNextPage returns a boolean if a field has been set.

func (*PaginationPageInfo) HasHasPreviousPage

func (o *PaginationPageInfo) HasHasPreviousPage() bool

HasHasPreviousPage returns a boolean if a field has been set.

func (*PaginationPageInfo) HasStartCursor

func (o *PaginationPageInfo) HasStartCursor() bool

HasStartCursor returns a boolean if a field has been set.

func (*PaginationPageInfo) HasTotalCount

func (o *PaginationPageInfo) HasTotalCount() bool

HasTotalCount returns a boolean if a field has been set.

func (PaginationPageInfo) MarshalJSON

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

func (*PaginationPageInfo) SetEndCursor

func (o *PaginationPageInfo) SetEndCursor(v string)

SetEndCursor gets a reference to the given string and assigns it to the EndCursor field.

func (*PaginationPageInfo) SetHasNextPage

func (o *PaginationPageInfo) SetHasNextPage(v bool)

SetHasNextPage gets a reference to the given bool and assigns it to the HasNextPage field.

func (*PaginationPageInfo) SetHasPreviousPage

func (o *PaginationPageInfo) SetHasPreviousPage(v bool)

SetHasPreviousPage gets a reference to the given bool and assigns it to the HasPreviousPage field.

func (*PaginationPageInfo) SetStartCursor

func (o *PaginationPageInfo) SetStartCursor(v string)

SetStartCursor gets a reference to the given string and assigns it to the StartCursor field.

func (*PaginationPageInfo) SetTotalCount

func (o *PaginationPageInfo) SetTotalCount(v string)

SetTotalCount gets a reference to the given string and assigns it to the TotalCount field.

type ServerConfiguration

type ServerConfiguration struct {
	URL         string
	Description string
	Variables   map[string]ServerVariable
}

ServerConfiguration stores the information about a server

type ServerConfigurations

type ServerConfigurations []ServerConfiguration

ServerConfigurations stores multiple ServerConfiguration items

func (ServerConfigurations) URL

func (sc ServerConfigurations) URL(index int, variables map[string]string) (string, error)

URL formats template on a index using given variables

type ServerVariable

type ServerVariable struct {
	Description  string
	DefaultValue string
	EnumValues   []string
}

ServerVariable stores the information about a server variable

type StackpathRpcBadRequest

type StackpathRpcBadRequest struct {
	ApiStatusDetail
	FieldViolations *[]StackpathRpcBadRequestFieldViolation `json:"fieldViolations,omitempty"`
}

StackpathRpcBadRequest struct for StackpathRpcBadRequest

func NewStackpathRpcBadRequest

func NewStackpathRpcBadRequest() *StackpathRpcBadRequest

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

func NewStackpathRpcBadRequestWithDefaults

func NewStackpathRpcBadRequestWithDefaults() *StackpathRpcBadRequest

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

func (*StackpathRpcBadRequest) GetFieldViolations

GetFieldViolations returns the FieldViolations field value if set, zero value otherwise.

func (*StackpathRpcBadRequest) GetFieldViolationsOk

func (o *StackpathRpcBadRequest) GetFieldViolationsOk() (*[]StackpathRpcBadRequestFieldViolation, bool)

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

func (*StackpathRpcBadRequest) HasFieldViolations

func (o *StackpathRpcBadRequest) HasFieldViolations() bool

HasFieldViolations returns a boolean if a field has been set.

func (StackpathRpcBadRequest) MarshalJSON

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

func (*StackpathRpcBadRequest) SetFieldViolations

SetFieldViolations gets a reference to the given []StackpathRpcBadRequestFieldViolation and assigns it to the FieldViolations field.

type StackpathRpcBadRequestAllOf

type StackpathRpcBadRequestAllOf struct {
	FieldViolations *[]StackpathRpcBadRequestFieldViolation `json:"fieldViolations,omitempty"`
}

StackpathRpcBadRequestAllOf struct for StackpathRpcBadRequestAllOf

func NewStackpathRpcBadRequestAllOf

func NewStackpathRpcBadRequestAllOf() *StackpathRpcBadRequestAllOf

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

func NewStackpathRpcBadRequestAllOfWithDefaults

func NewStackpathRpcBadRequestAllOfWithDefaults() *StackpathRpcBadRequestAllOf

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

func (*StackpathRpcBadRequestAllOf) GetFieldViolations

GetFieldViolations returns the FieldViolations field value if set, zero value otherwise.

func (*StackpathRpcBadRequestAllOf) GetFieldViolationsOk

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

func (*StackpathRpcBadRequestAllOf) HasFieldViolations

func (o *StackpathRpcBadRequestAllOf) HasFieldViolations() bool

HasFieldViolations returns a boolean if a field has been set.

func (StackpathRpcBadRequestAllOf) MarshalJSON

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

func (*StackpathRpcBadRequestAllOf) SetFieldViolations

SetFieldViolations gets a reference to the given []StackpathRpcBadRequestFieldViolation and assigns it to the FieldViolations field.

type StackpathRpcBadRequestFieldViolation

type StackpathRpcBadRequestFieldViolation struct {
	Field       *string `json:"field,omitempty"`
	Description *string `json:"description,omitempty"`
}

StackpathRpcBadRequestFieldViolation struct for StackpathRpcBadRequestFieldViolation

func NewStackpathRpcBadRequestFieldViolation

func NewStackpathRpcBadRequestFieldViolation() *StackpathRpcBadRequestFieldViolation

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

func NewStackpathRpcBadRequestFieldViolationWithDefaults

func NewStackpathRpcBadRequestFieldViolationWithDefaults() *StackpathRpcBadRequestFieldViolation

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

func (*StackpathRpcBadRequestFieldViolation) GetDescription

func (o *StackpathRpcBadRequestFieldViolation) GetDescription() string

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

func (*StackpathRpcBadRequestFieldViolation) GetDescriptionOk

func (o *StackpathRpcBadRequestFieldViolation) 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 (*StackpathRpcBadRequestFieldViolation) GetField

GetField returns the Field field value if set, zero value otherwise.

func (*StackpathRpcBadRequestFieldViolation) GetFieldOk

func (o *StackpathRpcBadRequestFieldViolation) GetFieldOk() (*string, bool)

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

func (*StackpathRpcBadRequestFieldViolation) HasDescription

func (o *StackpathRpcBadRequestFieldViolation) HasDescription() bool

HasDescription returns a boolean if a field has been set.

func (*StackpathRpcBadRequestFieldViolation) HasField

HasField returns a boolean if a field has been set.

func (StackpathRpcBadRequestFieldViolation) MarshalJSON

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

func (*StackpathRpcBadRequestFieldViolation) SetDescription

func (o *StackpathRpcBadRequestFieldViolation) SetDescription(v string)

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

func (*StackpathRpcBadRequestFieldViolation) SetField

SetField gets a reference to the given string and assigns it to the Field field.

type StackpathRpcHelp

type StackpathRpcHelp struct {
	ApiStatusDetail
	Links *[]StackpathRpcHelpLink `json:"links,omitempty"`
}

StackpathRpcHelp struct for StackpathRpcHelp

func NewStackpathRpcHelp

func NewStackpathRpcHelp() *StackpathRpcHelp

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

func NewStackpathRpcHelpWithDefaults

func NewStackpathRpcHelpWithDefaults() *StackpathRpcHelp

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

func (o *StackpathRpcHelp) GetLinks() []StackpathRpcHelpLink

GetLinks returns the Links field value if set, zero value otherwise.

func (*StackpathRpcHelp) GetLinksOk

func (o *StackpathRpcHelp) GetLinksOk() (*[]StackpathRpcHelpLink, bool)

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

func (o *StackpathRpcHelp) HasLinks() bool

HasLinks returns a boolean if a field has been set.

func (StackpathRpcHelp) MarshalJSON

func (o StackpathRpcHelp) MarshalJSON() ([]byte, error)
func (o *StackpathRpcHelp) SetLinks(v []StackpathRpcHelpLink)

SetLinks gets a reference to the given []StackpathRpcHelpLink and assigns it to the Links field.

type StackpathRpcHelpAllOf

type StackpathRpcHelpAllOf struct {
	Links *[]StackpathRpcHelpLink `json:"links,omitempty"`
}

StackpathRpcHelpAllOf struct for StackpathRpcHelpAllOf

func NewStackpathRpcHelpAllOf

func NewStackpathRpcHelpAllOf() *StackpathRpcHelpAllOf

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

func NewStackpathRpcHelpAllOfWithDefaults

func NewStackpathRpcHelpAllOfWithDefaults() *StackpathRpcHelpAllOf

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

GetLinks returns the Links field value if set, zero value otherwise.

func (*StackpathRpcHelpAllOf) GetLinksOk

func (o *StackpathRpcHelpAllOf) GetLinksOk() (*[]StackpathRpcHelpLink, bool)

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

func (o *StackpathRpcHelpAllOf) HasLinks() bool

HasLinks returns a boolean if a field has been set.

func (StackpathRpcHelpAllOf) MarshalJSON

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

SetLinks gets a reference to the given []StackpathRpcHelpLink and assigns it to the Links field.

type StackpathRpcHelpLink struct {
	Description *string `json:"description,omitempty"`
	Url         *string `json:"url,omitempty"`
}

StackpathRpcHelpLink struct for StackpathRpcHelpLink

func NewStackpathRpcHelpLink() *StackpathRpcHelpLink

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

func NewStackpathRpcHelpLinkWithDefaults

func NewStackpathRpcHelpLinkWithDefaults() *StackpathRpcHelpLink

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

func (*StackpathRpcHelpLink) GetDescription

func (o *StackpathRpcHelpLink) GetDescription() string

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

func (*StackpathRpcHelpLink) GetDescriptionOk

func (o *StackpathRpcHelpLink) 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 (*StackpathRpcHelpLink) GetUrl

func (o *StackpathRpcHelpLink) GetUrl() string

GetUrl returns the Url field value if set, zero value otherwise.

func (*StackpathRpcHelpLink) GetUrlOk

func (o *StackpathRpcHelpLink) GetUrlOk() (*string, bool)

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

func (*StackpathRpcHelpLink) HasDescription

func (o *StackpathRpcHelpLink) HasDescription() bool

HasDescription returns a boolean if a field has been set.

func (*StackpathRpcHelpLink) HasUrl

func (o *StackpathRpcHelpLink) HasUrl() bool

HasUrl returns a boolean if a field has been set.

func (StackpathRpcHelpLink) MarshalJSON

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

func (*StackpathRpcHelpLink) SetDescription

func (o *StackpathRpcHelpLink) SetDescription(v string)

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

func (*StackpathRpcHelpLink) SetUrl

func (o *StackpathRpcHelpLink) SetUrl(v string)

SetUrl gets a reference to the given string and assigns it to the Url field.

type StackpathRpcLocalizedMessage

type StackpathRpcLocalizedMessage struct {
	ApiStatusDetail
	Locale  *string `json:"locale,omitempty"`
	Message *string `json:"message,omitempty"`
}

StackpathRpcLocalizedMessage struct for StackpathRpcLocalizedMessage

func NewStackpathRpcLocalizedMessage

func NewStackpathRpcLocalizedMessage() *StackpathRpcLocalizedMessage

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

func NewStackpathRpcLocalizedMessageWithDefaults

func NewStackpathRpcLocalizedMessageWithDefaults() *StackpathRpcLocalizedMessage

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

func (*StackpathRpcLocalizedMessage) GetLocale

func (o *StackpathRpcLocalizedMessage) GetLocale() string

GetLocale returns the Locale field value if set, zero value otherwise.

func (*StackpathRpcLocalizedMessage) GetLocaleOk

func (o *StackpathRpcLocalizedMessage) GetLocaleOk() (*string, bool)

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

func (*StackpathRpcLocalizedMessage) GetMessage

func (o *StackpathRpcLocalizedMessage) GetMessage() string

GetMessage returns the Message field value if set, zero value otherwise.

func (*StackpathRpcLocalizedMessage) GetMessageOk

func (o *StackpathRpcLocalizedMessage) 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 (*StackpathRpcLocalizedMessage) HasLocale

func (o *StackpathRpcLocalizedMessage) HasLocale() bool

HasLocale returns a boolean if a field has been set.

func (*StackpathRpcLocalizedMessage) HasMessage

func (o *StackpathRpcLocalizedMessage) HasMessage() bool

HasMessage returns a boolean if a field has been set.

func (StackpathRpcLocalizedMessage) MarshalJSON

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

func (*StackpathRpcLocalizedMessage) SetLocale

func (o *StackpathRpcLocalizedMessage) SetLocale(v string)

SetLocale gets a reference to the given string and assigns it to the Locale field.

func (*StackpathRpcLocalizedMessage) SetMessage

func (o *StackpathRpcLocalizedMessage) SetMessage(v string)

SetMessage gets a reference to the given string and assigns it to the Message field.

type StackpathRpcLocalizedMessageAllOf

type StackpathRpcLocalizedMessageAllOf struct {
	Locale  *string `json:"locale,omitempty"`
	Message *string `json:"message,omitempty"`
}

StackpathRpcLocalizedMessageAllOf struct for StackpathRpcLocalizedMessageAllOf

func NewStackpathRpcLocalizedMessageAllOf

func NewStackpathRpcLocalizedMessageAllOf() *StackpathRpcLocalizedMessageAllOf

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

func NewStackpathRpcLocalizedMessageAllOfWithDefaults

func NewStackpathRpcLocalizedMessageAllOfWithDefaults() *StackpathRpcLocalizedMessageAllOf

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

func (*StackpathRpcLocalizedMessageAllOf) GetLocale

GetLocale returns the Locale field value if set, zero value otherwise.

func (*StackpathRpcLocalizedMessageAllOf) GetLocaleOk

func (o *StackpathRpcLocalizedMessageAllOf) GetLocaleOk() (*string, bool)

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

func (*StackpathRpcLocalizedMessageAllOf) GetMessage

func (o *StackpathRpcLocalizedMessageAllOf) GetMessage() string

GetMessage returns the Message field value if set, zero value otherwise.

func (*StackpathRpcLocalizedMessageAllOf) GetMessageOk

func (o *StackpathRpcLocalizedMessageAllOf) 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 (*StackpathRpcLocalizedMessageAllOf) HasLocale

func (o *StackpathRpcLocalizedMessageAllOf) HasLocale() bool

HasLocale returns a boolean if a field has been set.

func (*StackpathRpcLocalizedMessageAllOf) HasMessage

func (o *StackpathRpcLocalizedMessageAllOf) HasMessage() bool

HasMessage returns a boolean if a field has been set.

func (StackpathRpcLocalizedMessageAllOf) MarshalJSON

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

func (*StackpathRpcLocalizedMessageAllOf) SetLocale

func (o *StackpathRpcLocalizedMessageAllOf) SetLocale(v string)

SetLocale gets a reference to the given string and assigns it to the Locale field.

func (*StackpathRpcLocalizedMessageAllOf) SetMessage

func (o *StackpathRpcLocalizedMessageAllOf) SetMessage(v string)

SetMessage gets a reference to the given string and assigns it to the Message field.

type StackpathRpcPreconditionFailure

type StackpathRpcPreconditionFailure struct {
	ApiStatusDetail
	Violations *[]StackpathRpcPreconditionFailureViolation `json:"violations,omitempty"`
}

StackpathRpcPreconditionFailure struct for StackpathRpcPreconditionFailure

func NewStackpathRpcPreconditionFailure

func NewStackpathRpcPreconditionFailure() *StackpathRpcPreconditionFailure

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

func NewStackpathRpcPreconditionFailureWithDefaults

func NewStackpathRpcPreconditionFailureWithDefaults() *StackpathRpcPreconditionFailure

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

func (*StackpathRpcPreconditionFailure) GetViolations

GetViolations returns the Violations field value if set, zero value otherwise.

func (*StackpathRpcPreconditionFailure) GetViolationsOk

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

func (*StackpathRpcPreconditionFailure) HasViolations

func (o *StackpathRpcPreconditionFailure) HasViolations() bool

HasViolations returns a boolean if a field has been set.

func (StackpathRpcPreconditionFailure) MarshalJSON

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

func (*StackpathRpcPreconditionFailure) SetViolations

SetViolations gets a reference to the given []StackpathRpcPreconditionFailureViolation and assigns it to the Violations field.

type StackpathRpcPreconditionFailureAllOf

type StackpathRpcPreconditionFailureAllOf struct {
	Violations *[]StackpathRpcPreconditionFailureViolation `json:"violations,omitempty"`
}

StackpathRpcPreconditionFailureAllOf struct for StackpathRpcPreconditionFailureAllOf

func NewStackpathRpcPreconditionFailureAllOf

func NewStackpathRpcPreconditionFailureAllOf() *StackpathRpcPreconditionFailureAllOf

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

func NewStackpathRpcPreconditionFailureAllOfWithDefaults

func NewStackpathRpcPreconditionFailureAllOfWithDefaults() *StackpathRpcPreconditionFailureAllOf

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

func (*StackpathRpcPreconditionFailureAllOf) GetViolations

GetViolations returns the Violations field value if set, zero value otherwise.

func (*StackpathRpcPreconditionFailureAllOf) GetViolationsOk

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

func (*StackpathRpcPreconditionFailureAllOf) HasViolations

func (o *StackpathRpcPreconditionFailureAllOf) HasViolations() bool

HasViolations returns a boolean if a field has been set.

func (StackpathRpcPreconditionFailureAllOf) MarshalJSON

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

func (*StackpathRpcPreconditionFailureAllOf) SetViolations

SetViolations gets a reference to the given []StackpathRpcPreconditionFailureViolation and assigns it to the Violations field.

type StackpathRpcPreconditionFailureViolation

type StackpathRpcPreconditionFailureViolation struct {
	Type        *string `json:"type,omitempty"`
	Subject     *string `json:"subject,omitempty"`
	Description *string `json:"description,omitempty"`
}

StackpathRpcPreconditionFailureViolation struct for StackpathRpcPreconditionFailureViolation

func NewStackpathRpcPreconditionFailureViolation

func NewStackpathRpcPreconditionFailureViolation() *StackpathRpcPreconditionFailureViolation

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

func NewStackpathRpcPreconditionFailureViolationWithDefaults

func NewStackpathRpcPreconditionFailureViolationWithDefaults() *StackpathRpcPreconditionFailureViolation

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

func (*StackpathRpcPreconditionFailureViolation) GetDescription

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

func (*StackpathRpcPreconditionFailureViolation) GetDescriptionOk

func (o *StackpathRpcPreconditionFailureViolation) 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 (*StackpathRpcPreconditionFailureViolation) GetSubject

GetSubject returns the Subject field value if set, zero value otherwise.

func (*StackpathRpcPreconditionFailureViolation) GetSubjectOk

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

func (*StackpathRpcPreconditionFailureViolation) GetType

GetType returns the Type field value if set, zero value otherwise.

func (*StackpathRpcPreconditionFailureViolation) GetTypeOk

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

func (*StackpathRpcPreconditionFailureViolation) HasDescription

func (o *StackpathRpcPreconditionFailureViolation) HasDescription() bool

HasDescription returns a boolean if a field has been set.

func (*StackpathRpcPreconditionFailureViolation) HasSubject

HasSubject returns a boolean if a field has been set.

func (*StackpathRpcPreconditionFailureViolation) HasType

HasType returns a boolean if a field has been set.

func (StackpathRpcPreconditionFailureViolation) MarshalJSON

func (*StackpathRpcPreconditionFailureViolation) SetDescription

func (o *StackpathRpcPreconditionFailureViolation) SetDescription(v string)

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

func (*StackpathRpcPreconditionFailureViolation) SetSubject

SetSubject gets a reference to the given string and assigns it to the Subject field.

func (*StackpathRpcPreconditionFailureViolation) SetType

SetType gets a reference to the given string and assigns it to the Type field.

type StackpathRpcQuotaFailure

type StackpathRpcQuotaFailure struct {
	ApiStatusDetail
	Violations *[]StackpathRpcQuotaFailureViolation `json:"violations,omitempty"`
}

StackpathRpcQuotaFailure struct for StackpathRpcQuotaFailure

func NewStackpathRpcQuotaFailure

func NewStackpathRpcQuotaFailure() *StackpathRpcQuotaFailure

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

func NewStackpathRpcQuotaFailureWithDefaults

func NewStackpathRpcQuotaFailureWithDefaults() *StackpathRpcQuotaFailure

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

func (*StackpathRpcQuotaFailure) GetViolations

GetViolations returns the Violations field value if set, zero value otherwise.

func (*StackpathRpcQuotaFailure) GetViolationsOk

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

func (*StackpathRpcQuotaFailure) HasViolations

func (o *StackpathRpcQuotaFailure) HasViolations() bool

HasViolations returns a boolean if a field has been set.

func (StackpathRpcQuotaFailure) MarshalJSON

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

func (*StackpathRpcQuotaFailure) SetViolations

SetViolations gets a reference to the given []StackpathRpcQuotaFailureViolation and assigns it to the Violations field.

type StackpathRpcQuotaFailureAllOf

type StackpathRpcQuotaFailureAllOf struct {
	Violations *[]StackpathRpcQuotaFailureViolation `json:"violations,omitempty"`
}

StackpathRpcQuotaFailureAllOf struct for StackpathRpcQuotaFailureAllOf

func NewStackpathRpcQuotaFailureAllOf

func NewStackpathRpcQuotaFailureAllOf() *StackpathRpcQuotaFailureAllOf

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

func NewStackpathRpcQuotaFailureAllOfWithDefaults

func NewStackpathRpcQuotaFailureAllOfWithDefaults() *StackpathRpcQuotaFailureAllOf

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

func (*StackpathRpcQuotaFailureAllOf) GetViolations

GetViolations returns the Violations field value if set, zero value otherwise.

func (*StackpathRpcQuotaFailureAllOf) GetViolationsOk

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

func (*StackpathRpcQuotaFailureAllOf) HasViolations

func (o *StackpathRpcQuotaFailureAllOf) HasViolations() bool

HasViolations returns a boolean if a field has been set.

func (StackpathRpcQuotaFailureAllOf) MarshalJSON

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

func (*StackpathRpcQuotaFailureAllOf) SetViolations

SetViolations gets a reference to the given []StackpathRpcQuotaFailureViolation and assigns it to the Violations field.

type StackpathRpcQuotaFailureViolation

type StackpathRpcQuotaFailureViolation struct {
	Subject     *string `json:"subject,omitempty"`
	Description *string `json:"description,omitempty"`
}

StackpathRpcQuotaFailureViolation struct for StackpathRpcQuotaFailureViolation

func NewStackpathRpcQuotaFailureViolation

func NewStackpathRpcQuotaFailureViolation() *StackpathRpcQuotaFailureViolation

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

func NewStackpathRpcQuotaFailureViolationWithDefaults

func NewStackpathRpcQuotaFailureViolationWithDefaults() *StackpathRpcQuotaFailureViolation

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

func (*StackpathRpcQuotaFailureViolation) GetDescription

func (o *StackpathRpcQuotaFailureViolation) GetDescription() string

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

func (*StackpathRpcQuotaFailureViolation) GetDescriptionOk

func (o *StackpathRpcQuotaFailureViolation) 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 (*StackpathRpcQuotaFailureViolation) GetSubject

func (o *StackpathRpcQuotaFailureViolation) GetSubject() string

GetSubject returns the Subject field value if set, zero value otherwise.

func (*StackpathRpcQuotaFailureViolation) GetSubjectOk

func (o *StackpathRpcQuotaFailureViolation) GetSubjectOk() (*string, bool)

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

func (*StackpathRpcQuotaFailureViolation) HasDescription

func (o *StackpathRpcQuotaFailureViolation) HasDescription() bool

HasDescription returns a boolean if a field has been set.

func (*StackpathRpcQuotaFailureViolation) HasSubject

func (o *StackpathRpcQuotaFailureViolation) HasSubject() bool

HasSubject returns a boolean if a field has been set.

func (StackpathRpcQuotaFailureViolation) MarshalJSON

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

func (*StackpathRpcQuotaFailureViolation) SetDescription

func (o *StackpathRpcQuotaFailureViolation) SetDescription(v string)

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

func (*StackpathRpcQuotaFailureViolation) SetSubject

func (o *StackpathRpcQuotaFailureViolation) SetSubject(v string)

SetSubject gets a reference to the given string and assigns it to the Subject field.

type StackpathRpcRequestInfo

type StackpathRpcRequestInfo struct {
	ApiStatusDetail
	RequestId   *string `json:"requestId,omitempty"`
	ServingData *string `json:"servingData,omitempty"`
}

StackpathRpcRequestInfo struct for StackpathRpcRequestInfo

func NewStackpathRpcRequestInfo

func NewStackpathRpcRequestInfo() *StackpathRpcRequestInfo

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

func NewStackpathRpcRequestInfoWithDefaults

func NewStackpathRpcRequestInfoWithDefaults() *StackpathRpcRequestInfo

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

func (*StackpathRpcRequestInfo) GetRequestId

func (o *StackpathRpcRequestInfo) GetRequestId() string

GetRequestId returns the RequestId field value if set, zero value otherwise.

func (*StackpathRpcRequestInfo) GetRequestIdOk

func (o *StackpathRpcRequestInfo) GetRequestIdOk() (*string, bool)

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

func (*StackpathRpcRequestInfo) GetServingData

func (o *StackpathRpcRequestInfo) GetServingData() string

GetServingData returns the ServingData field value if set, zero value otherwise.

func (*StackpathRpcRequestInfo) GetServingDataOk

func (o *StackpathRpcRequestInfo) GetServingDataOk() (*string, bool)

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

func (*StackpathRpcRequestInfo) HasRequestId

func (o *StackpathRpcRequestInfo) HasRequestId() bool

HasRequestId returns a boolean if a field has been set.

func (*StackpathRpcRequestInfo) HasServingData

func (o *StackpathRpcRequestInfo) HasServingData() bool

HasServingData returns a boolean if a field has been set.

func (StackpathRpcRequestInfo) MarshalJSON

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

func (*StackpathRpcRequestInfo) SetRequestId

func (o *StackpathRpcRequestInfo) SetRequestId(v string)

SetRequestId gets a reference to the given string and assigns it to the RequestId field.

func (*StackpathRpcRequestInfo) SetServingData

func (o *StackpathRpcRequestInfo) SetServingData(v string)

SetServingData gets a reference to the given string and assigns it to the ServingData field.

type StackpathRpcRequestInfoAllOf

type StackpathRpcRequestInfoAllOf struct {
	RequestId   *string `json:"requestId,omitempty"`
	ServingData *string `json:"servingData,omitempty"`
}

StackpathRpcRequestInfoAllOf struct for StackpathRpcRequestInfoAllOf

func NewStackpathRpcRequestInfoAllOf

func NewStackpathRpcRequestInfoAllOf() *StackpathRpcRequestInfoAllOf

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

func NewStackpathRpcRequestInfoAllOfWithDefaults

func NewStackpathRpcRequestInfoAllOfWithDefaults() *StackpathRpcRequestInfoAllOf

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

func (*StackpathRpcRequestInfoAllOf) GetRequestId

func (o *StackpathRpcRequestInfoAllOf) GetRequestId() string

GetRequestId returns the RequestId field value if set, zero value otherwise.

func (*StackpathRpcRequestInfoAllOf) GetRequestIdOk

func (o *StackpathRpcRequestInfoAllOf) GetRequestIdOk() (*string, bool)

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

func (*StackpathRpcRequestInfoAllOf) GetServingData

func (o *StackpathRpcRequestInfoAllOf) GetServingData() string

GetServingData returns the ServingData field value if set, zero value otherwise.

func (*StackpathRpcRequestInfoAllOf) GetServingDataOk

func (o *StackpathRpcRequestInfoAllOf) GetServingDataOk() (*string, bool)

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

func (*StackpathRpcRequestInfoAllOf) HasRequestId

func (o *StackpathRpcRequestInfoAllOf) HasRequestId() bool

HasRequestId returns a boolean if a field has been set.

func (*StackpathRpcRequestInfoAllOf) HasServingData

func (o *StackpathRpcRequestInfoAllOf) HasServingData() bool

HasServingData returns a boolean if a field has been set.

func (StackpathRpcRequestInfoAllOf) MarshalJSON

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

func (*StackpathRpcRequestInfoAllOf) SetRequestId

func (o *StackpathRpcRequestInfoAllOf) SetRequestId(v string)

SetRequestId gets a reference to the given string and assigns it to the RequestId field.

func (*StackpathRpcRequestInfoAllOf) SetServingData

func (o *StackpathRpcRequestInfoAllOf) SetServingData(v string)

SetServingData gets a reference to the given string and assigns it to the ServingData field.

type StackpathRpcResourceInfo

type StackpathRpcResourceInfo struct {
	ApiStatusDetail
	ResourceType *string `json:"resourceType,omitempty"`
	ResourceName *string `json:"resourceName,omitempty"`
	Owner        *string `json:"owner,omitempty"`
	Description  *string `json:"description,omitempty"`
}

StackpathRpcResourceInfo struct for StackpathRpcResourceInfo

func NewStackpathRpcResourceInfo

func NewStackpathRpcResourceInfo() *StackpathRpcResourceInfo

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

func NewStackpathRpcResourceInfoWithDefaults

func NewStackpathRpcResourceInfoWithDefaults() *StackpathRpcResourceInfo

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

func (*StackpathRpcResourceInfo) GetDescription

func (o *StackpathRpcResourceInfo) GetDescription() string

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

func (*StackpathRpcResourceInfo) GetDescriptionOk

func (o *StackpathRpcResourceInfo) 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 (*StackpathRpcResourceInfo) GetOwner

func (o *StackpathRpcResourceInfo) GetOwner() string

GetOwner returns the Owner field value if set, zero value otherwise.

func (*StackpathRpcResourceInfo) GetOwnerOk

func (o *StackpathRpcResourceInfo) GetOwnerOk() (*string, bool)

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

func (*StackpathRpcResourceInfo) GetResourceName

func (o *StackpathRpcResourceInfo) GetResourceName() string

GetResourceName returns the ResourceName field value if set, zero value otherwise.

func (*StackpathRpcResourceInfo) GetResourceNameOk

func (o *StackpathRpcResourceInfo) GetResourceNameOk() (*string, bool)

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

func (*StackpathRpcResourceInfo) GetResourceType

func (o *StackpathRpcResourceInfo) GetResourceType() string

GetResourceType returns the ResourceType field value if set, zero value otherwise.

func (*StackpathRpcResourceInfo) GetResourceTypeOk

func (o *StackpathRpcResourceInfo) GetResourceTypeOk() (*string, bool)

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

func (*StackpathRpcResourceInfo) HasDescription

func (o *StackpathRpcResourceInfo) HasDescription() bool

HasDescription returns a boolean if a field has been set.

func (*StackpathRpcResourceInfo) HasOwner

func (o *StackpathRpcResourceInfo) HasOwner() bool

HasOwner returns a boolean if a field has been set.

func (*StackpathRpcResourceInfo) HasResourceName

func (o *StackpathRpcResourceInfo) HasResourceName() bool

HasResourceName returns a boolean if a field has been set.

func (*StackpathRpcResourceInfo) HasResourceType

func (o *StackpathRpcResourceInfo) HasResourceType() bool

HasResourceType returns a boolean if a field has been set.

func (StackpathRpcResourceInfo) MarshalJSON

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

func (*StackpathRpcResourceInfo) SetDescription

func (o *StackpathRpcResourceInfo) SetDescription(v string)

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

func (*StackpathRpcResourceInfo) SetOwner

func (o *StackpathRpcResourceInfo) SetOwner(v string)

SetOwner gets a reference to the given string and assigns it to the Owner field.

func (*StackpathRpcResourceInfo) SetResourceName

func (o *StackpathRpcResourceInfo) SetResourceName(v string)

SetResourceName gets a reference to the given string and assigns it to the ResourceName field.

func (*StackpathRpcResourceInfo) SetResourceType

func (o *StackpathRpcResourceInfo) SetResourceType(v string)

SetResourceType gets a reference to the given string and assigns it to the ResourceType field.

type StackpathRpcResourceInfoAllOf

type StackpathRpcResourceInfoAllOf struct {
	ResourceType *string `json:"resourceType,omitempty"`
	ResourceName *string `json:"resourceName,omitempty"`
	Owner        *string `json:"owner,omitempty"`
	Description  *string `json:"description,omitempty"`
}

StackpathRpcResourceInfoAllOf struct for StackpathRpcResourceInfoAllOf

func NewStackpathRpcResourceInfoAllOf

func NewStackpathRpcResourceInfoAllOf() *StackpathRpcResourceInfoAllOf

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

func NewStackpathRpcResourceInfoAllOfWithDefaults

func NewStackpathRpcResourceInfoAllOfWithDefaults() *StackpathRpcResourceInfoAllOf

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

func (*StackpathRpcResourceInfoAllOf) GetDescription

func (o *StackpathRpcResourceInfoAllOf) GetDescription() string

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

func (*StackpathRpcResourceInfoAllOf) GetDescriptionOk

func (o *StackpathRpcResourceInfoAllOf) 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 (*StackpathRpcResourceInfoAllOf) GetOwner

func (o *StackpathRpcResourceInfoAllOf) GetOwner() string

GetOwner returns the Owner field value if set, zero value otherwise.

func (*StackpathRpcResourceInfoAllOf) GetOwnerOk

func (o *StackpathRpcResourceInfoAllOf) GetOwnerOk() (*string, bool)

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

func (*StackpathRpcResourceInfoAllOf) GetResourceName

func (o *StackpathRpcResourceInfoAllOf) GetResourceName() string

GetResourceName returns the ResourceName field value if set, zero value otherwise.

func (*StackpathRpcResourceInfoAllOf) GetResourceNameOk

func (o *StackpathRpcResourceInfoAllOf) GetResourceNameOk() (*string, bool)

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

func (*StackpathRpcResourceInfoAllOf) GetResourceType

func (o *StackpathRpcResourceInfoAllOf) GetResourceType() string

GetResourceType returns the ResourceType field value if set, zero value otherwise.

func (*StackpathRpcResourceInfoAllOf) GetResourceTypeOk

func (o *StackpathRpcResourceInfoAllOf) GetResourceTypeOk() (*string, bool)

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

func (*StackpathRpcResourceInfoAllOf) HasDescription

func (o *StackpathRpcResourceInfoAllOf) HasDescription() bool

HasDescription returns a boolean if a field has been set.

func (*StackpathRpcResourceInfoAllOf) HasOwner

func (o *StackpathRpcResourceInfoAllOf) HasOwner() bool

HasOwner returns a boolean if a field has been set.

func (*StackpathRpcResourceInfoAllOf) HasResourceName

func (o *StackpathRpcResourceInfoAllOf) HasResourceName() bool

HasResourceName returns a boolean if a field has been set.

func (*StackpathRpcResourceInfoAllOf) HasResourceType

func (o *StackpathRpcResourceInfoAllOf) HasResourceType() bool

HasResourceType returns a boolean if a field has been set.

func (StackpathRpcResourceInfoAllOf) MarshalJSON

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

func (*StackpathRpcResourceInfoAllOf) SetDescription

func (o *StackpathRpcResourceInfoAllOf) SetDescription(v string)

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

func (*StackpathRpcResourceInfoAllOf) SetOwner

func (o *StackpathRpcResourceInfoAllOf) SetOwner(v string)

SetOwner gets a reference to the given string and assigns it to the Owner field.

func (*StackpathRpcResourceInfoAllOf) SetResourceName

func (o *StackpathRpcResourceInfoAllOf) SetResourceName(v string)

SetResourceName gets a reference to the given string and assigns it to the ResourceName field.

func (*StackpathRpcResourceInfoAllOf) SetResourceType

func (o *StackpathRpcResourceInfoAllOf) SetResourceType(v string)

SetResourceType gets a reference to the given string and assigns it to the ResourceType field.

type StackpathRpcRetryInfo

type StackpathRpcRetryInfo struct {
	ApiStatusDetail
	RetryDelay *string `json:"retryDelay,omitempty"`
}

StackpathRpcRetryInfo struct for StackpathRpcRetryInfo

func NewStackpathRpcRetryInfo

func NewStackpathRpcRetryInfo() *StackpathRpcRetryInfo

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

func NewStackpathRpcRetryInfoWithDefaults

func NewStackpathRpcRetryInfoWithDefaults() *StackpathRpcRetryInfo

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

func (*StackpathRpcRetryInfo) GetRetryDelay

func (o *StackpathRpcRetryInfo) GetRetryDelay() string

GetRetryDelay returns the RetryDelay field value if set, zero value otherwise.

func (*StackpathRpcRetryInfo) GetRetryDelayOk

func (o *StackpathRpcRetryInfo) GetRetryDelayOk() (*string, bool)

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

func (*StackpathRpcRetryInfo) HasRetryDelay

func (o *StackpathRpcRetryInfo) HasRetryDelay() bool

HasRetryDelay returns a boolean if a field has been set.

func (StackpathRpcRetryInfo) MarshalJSON

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

func (*StackpathRpcRetryInfo) SetRetryDelay

func (o *StackpathRpcRetryInfo) SetRetryDelay(v string)

SetRetryDelay gets a reference to the given string and assigns it to the RetryDelay field.

type StackpathRpcRetryInfoAllOf

type StackpathRpcRetryInfoAllOf struct {
	RetryDelay *string `json:"retryDelay,omitempty"`
}

StackpathRpcRetryInfoAllOf struct for StackpathRpcRetryInfoAllOf

func NewStackpathRpcRetryInfoAllOf

func NewStackpathRpcRetryInfoAllOf() *StackpathRpcRetryInfoAllOf

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

func NewStackpathRpcRetryInfoAllOfWithDefaults

func NewStackpathRpcRetryInfoAllOfWithDefaults() *StackpathRpcRetryInfoAllOf

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

func (*StackpathRpcRetryInfoAllOf) GetRetryDelay

func (o *StackpathRpcRetryInfoAllOf) GetRetryDelay() string

GetRetryDelay returns the RetryDelay field value if set, zero value otherwise.

func (*StackpathRpcRetryInfoAllOf) GetRetryDelayOk

func (o *StackpathRpcRetryInfoAllOf) GetRetryDelayOk() (*string, bool)

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

func (*StackpathRpcRetryInfoAllOf) HasRetryDelay

func (o *StackpathRpcRetryInfoAllOf) HasRetryDelay() bool

HasRetryDelay returns a boolean if a field has been set.

func (StackpathRpcRetryInfoAllOf) MarshalJSON

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

func (*StackpathRpcRetryInfoAllOf) SetRetryDelay

func (o *StackpathRpcRetryInfoAllOf) SetRetryDelay(v string)

SetRetryDelay gets a reference to the given string and assigns it to the RetryDelay field.

type V1Action

type V1Action string

V1Action Which action to apply

const (
	V1ACTION_UNDEFINED V1Action = "UNDEFINED"
	V1ACTION_BLOCK     V1Action = "BLOCK"
	V1ACTION_ALLOW     V1Action = "ALLOW"
)

List of v1Action

func (V1Action) Ptr

func (v V1Action) Ptr() *V1Action

Ptr returns reference to v1Action value

type V1CreateNetworkPolicyRequest

type V1CreateNetworkPolicyRequest struct {
	NetworkPolicy *V1NetworkPolicy `json:"networkPolicy,omitempty"`
}

V1CreateNetworkPolicyRequest struct for V1CreateNetworkPolicyRequest

func NewV1CreateNetworkPolicyRequest

func NewV1CreateNetworkPolicyRequest() *V1CreateNetworkPolicyRequest

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

func NewV1CreateNetworkPolicyRequestWithDefaults

func NewV1CreateNetworkPolicyRequestWithDefaults() *V1CreateNetworkPolicyRequest

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

func (*V1CreateNetworkPolicyRequest) GetNetworkPolicy

func (o *V1CreateNetworkPolicyRequest) GetNetworkPolicy() V1NetworkPolicy

GetNetworkPolicy returns the NetworkPolicy field value if set, zero value otherwise.

func (*V1CreateNetworkPolicyRequest) GetNetworkPolicyOk

func (o *V1CreateNetworkPolicyRequest) GetNetworkPolicyOk() (*V1NetworkPolicy, bool)

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

func (*V1CreateNetworkPolicyRequest) HasNetworkPolicy

func (o *V1CreateNetworkPolicyRequest) HasNetworkPolicy() bool

HasNetworkPolicy returns a boolean if a field has been set.

func (V1CreateNetworkPolicyRequest) MarshalJSON

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

func (*V1CreateNetworkPolicyRequest) SetNetworkPolicy

func (o *V1CreateNetworkPolicyRequest) SetNetworkPolicy(v V1NetworkPolicy)

SetNetworkPolicy gets a reference to the given V1NetworkPolicy and assigns it to the NetworkPolicy field.

type V1CreateNetworkPolicyResponse

type V1CreateNetworkPolicyResponse struct {
	NetworkPolicy *V1NetworkPolicy `json:"networkPolicy,omitempty"`
}

V1CreateNetworkPolicyResponse A response from a request to add a network policy to a stack

func NewV1CreateNetworkPolicyResponse

func NewV1CreateNetworkPolicyResponse() *V1CreateNetworkPolicyResponse

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

func NewV1CreateNetworkPolicyResponseWithDefaults

func NewV1CreateNetworkPolicyResponseWithDefaults() *V1CreateNetworkPolicyResponse

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

func (*V1CreateNetworkPolicyResponse) GetNetworkPolicy

func (o *V1CreateNetworkPolicyResponse) GetNetworkPolicy() V1NetworkPolicy

GetNetworkPolicy returns the NetworkPolicy field value if set, zero value otherwise.

func (*V1CreateNetworkPolicyResponse) GetNetworkPolicyOk

func (o *V1CreateNetworkPolicyResponse) GetNetworkPolicyOk() (*V1NetworkPolicy, bool)

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

func (*V1CreateNetworkPolicyResponse) HasNetworkPolicy

func (o *V1CreateNetworkPolicyResponse) HasNetworkPolicy() bool

HasNetworkPolicy returns a boolean if a field has been set.

func (V1CreateNetworkPolicyResponse) MarshalJSON

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

func (*V1CreateNetworkPolicyResponse) SetNetworkPolicy

func (o *V1CreateNetworkPolicyResponse) SetNetworkPolicy(v V1NetworkPolicy)

SetNetworkPolicy gets a reference to the given V1NetworkPolicy and assigns it to the NetworkPolicy field.

type V1Egress

type V1Egress struct {
	// Detailed summary of what the egress rule does
	Description *string      `json:"description,omitempty"`
	Action      *V1Action    `json:"action,omitempty"`
	To          *V1HostRule  `json:"to,omitempty"`
	Protocols   *V1Protocols `json:"protocols,omitempty"`
}

V1Egress An outbound rule from workload instances

func NewV1Egress

func NewV1Egress() *V1Egress

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

func NewV1EgressWithDefaults

func NewV1EgressWithDefaults() *V1Egress

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

func (*V1Egress) GetAction

func (o *V1Egress) GetAction() V1Action

GetAction returns the Action field value if set, zero value otherwise.

func (*V1Egress) GetActionOk

func (o *V1Egress) GetActionOk() (*V1Action, bool)

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

func (*V1Egress) GetDescription

func (o *V1Egress) GetDescription() string

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

func (*V1Egress) GetDescriptionOk

func (o *V1Egress) 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 (*V1Egress) GetProtocols

func (o *V1Egress) GetProtocols() V1Protocols

GetProtocols returns the Protocols field value if set, zero value otherwise.

func (*V1Egress) GetProtocolsOk

func (o *V1Egress) GetProtocolsOk() (*V1Protocols, bool)

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

func (*V1Egress) GetTo

func (o *V1Egress) GetTo() V1HostRule

GetTo returns the To field value if set, zero value otherwise.

func (*V1Egress) GetToOk

func (o *V1Egress) GetToOk() (*V1HostRule, bool)

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

func (*V1Egress) HasAction

func (o *V1Egress) HasAction() bool

HasAction returns a boolean if a field has been set.

func (*V1Egress) HasDescription

func (o *V1Egress) HasDescription() bool

HasDescription returns a boolean if a field has been set.

func (*V1Egress) HasProtocols

func (o *V1Egress) HasProtocols() bool

HasProtocols returns a boolean if a field has been set.

func (*V1Egress) HasTo

func (o *V1Egress) HasTo() bool

HasTo returns a boolean if a field has been set.

func (V1Egress) MarshalJSON

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

func (*V1Egress) SetAction

func (o *V1Egress) SetAction(v V1Action)

SetAction gets a reference to the given V1Action and assigns it to the Action field.

func (*V1Egress) SetDescription

func (o *V1Egress) SetDescription(v string)

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

func (*V1Egress) SetProtocols

func (o *V1Egress) SetProtocols(v V1Protocols)

SetProtocols gets a reference to the given V1Protocols and assigns it to the Protocols field.

func (*V1Egress) SetTo

func (o *V1Egress) SetTo(v V1HostRule)

SetTo gets a reference to the given V1HostRule and assigns it to the To field.

type V1GetNetworkPoliciesResponse

type V1GetNetworkPoliciesResponse struct {
	PageInfo *PaginationPageInfo `json:"pageInfo,omitempty"`
	// The requested network policies
	Results *[]V1NetworkPolicy `json:"results,omitempty"`
}

V1GetNetworkPoliciesResponse A response from a request to retrieve a stack's network policies

func NewV1GetNetworkPoliciesResponse

func NewV1GetNetworkPoliciesResponse() *V1GetNetworkPoliciesResponse

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

func NewV1GetNetworkPoliciesResponseWithDefaults

func NewV1GetNetworkPoliciesResponseWithDefaults() *V1GetNetworkPoliciesResponse

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

func (*V1GetNetworkPoliciesResponse) GetPageInfo

GetPageInfo returns the PageInfo field value if set, zero value otherwise.

func (*V1GetNetworkPoliciesResponse) GetPageInfoOk

func (o *V1GetNetworkPoliciesResponse) GetPageInfoOk() (*PaginationPageInfo, bool)

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

func (*V1GetNetworkPoliciesResponse) GetResults

GetResults returns the Results field value if set, zero value otherwise.

func (*V1GetNetworkPoliciesResponse) GetResultsOk

func (o *V1GetNetworkPoliciesResponse) GetResultsOk() (*[]V1NetworkPolicy, bool)

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

func (*V1GetNetworkPoliciesResponse) HasPageInfo

func (o *V1GetNetworkPoliciesResponse) HasPageInfo() bool

HasPageInfo returns a boolean if a field has been set.

func (*V1GetNetworkPoliciesResponse) HasResults

func (o *V1GetNetworkPoliciesResponse) HasResults() bool

HasResults returns a boolean if a field has been set.

func (V1GetNetworkPoliciesResponse) MarshalJSON

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

func (*V1GetNetworkPoliciesResponse) SetPageInfo

SetPageInfo gets a reference to the given PaginationPageInfo and assigns it to the PageInfo field.

func (*V1GetNetworkPoliciesResponse) SetResults

func (o *V1GetNetworkPoliciesResponse) SetResults(v []V1NetworkPolicy)

SetResults gets a reference to the given []V1NetworkPolicy and assigns it to the Results field.

type V1GetNetworkPolicyResponse

type V1GetNetworkPolicyResponse struct {
	NetworkPolicy *V1NetworkPolicy `json:"networkPolicy,omitempty"`
}

V1GetNetworkPolicyResponse A response from a request to get a network policy to a stack

func NewV1GetNetworkPolicyResponse

func NewV1GetNetworkPolicyResponse() *V1GetNetworkPolicyResponse

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

func NewV1GetNetworkPolicyResponseWithDefaults

func NewV1GetNetworkPolicyResponseWithDefaults() *V1GetNetworkPolicyResponse

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

func (*V1GetNetworkPolicyResponse) GetNetworkPolicy

func (o *V1GetNetworkPolicyResponse) GetNetworkPolicy() V1NetworkPolicy

GetNetworkPolicy returns the NetworkPolicy field value if set, zero value otherwise.

func (*V1GetNetworkPolicyResponse) GetNetworkPolicyOk

func (o *V1GetNetworkPolicyResponse) GetNetworkPolicyOk() (*V1NetworkPolicy, bool)

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

func (*V1GetNetworkPolicyResponse) HasNetworkPolicy

func (o *V1GetNetworkPolicyResponse) HasNetworkPolicy() bool

HasNetworkPolicy returns a boolean if a field has been set.

func (V1GetNetworkPolicyResponse) MarshalJSON

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

func (*V1GetNetworkPolicyResponse) SetNetworkPolicy

func (o *V1GetNetworkPolicyResponse) SetNetworkPolicy(v V1NetworkPolicy)

SetNetworkPolicy gets a reference to the given V1NetworkPolicy and assigns it to the NetworkPolicy field.

type V1HostRule

type V1HostRule struct {
	// List of ip blocks
	IpBlock *[]V1IpBlock `json:"ipBlock,omitempty"`
	// List of instance selectors
	InstanceSelectors *[]V1MatchExpression `json:"instanceSelectors,omitempty"`
	// List of network selectors
	NetworkSelectors *[]V1MatchExpression `json:"networkSelectors,omitempty"`
}

V1HostRule Defines IPs, instances, or networks

func NewV1HostRule

func NewV1HostRule() *V1HostRule

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

func NewV1HostRuleWithDefaults

func NewV1HostRuleWithDefaults() *V1HostRule

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

func (*V1HostRule) GetInstanceSelectors

func (o *V1HostRule) GetInstanceSelectors() []V1MatchExpression

GetInstanceSelectors returns the InstanceSelectors field value if set, zero value otherwise.

func (*V1HostRule) GetInstanceSelectorsOk

func (o *V1HostRule) GetInstanceSelectorsOk() (*[]V1MatchExpression, bool)

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

func (*V1HostRule) GetIpBlock

func (o *V1HostRule) GetIpBlock() []V1IpBlock

GetIpBlock returns the IpBlock field value if set, zero value otherwise.

func (*V1HostRule) GetIpBlockOk

func (o *V1HostRule) GetIpBlockOk() (*[]V1IpBlock, bool)

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

func (*V1HostRule) GetNetworkSelectors

func (o *V1HostRule) GetNetworkSelectors() []V1MatchExpression

GetNetworkSelectors returns the NetworkSelectors field value if set, zero value otherwise.

func (*V1HostRule) GetNetworkSelectorsOk

func (o *V1HostRule) GetNetworkSelectorsOk() (*[]V1MatchExpression, bool)

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

func (*V1HostRule) HasInstanceSelectors

func (o *V1HostRule) HasInstanceSelectors() bool

HasInstanceSelectors returns a boolean if a field has been set.

func (*V1HostRule) HasIpBlock

func (o *V1HostRule) HasIpBlock() bool

HasIpBlock returns a boolean if a field has been set.

func (*V1HostRule) HasNetworkSelectors

func (o *V1HostRule) HasNetworkSelectors() bool

HasNetworkSelectors returns a boolean if a field has been set.

func (V1HostRule) MarshalJSON

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

func (*V1HostRule) SetInstanceSelectors

func (o *V1HostRule) SetInstanceSelectors(v []V1MatchExpression)

SetInstanceSelectors gets a reference to the given []V1MatchExpression and assigns it to the InstanceSelectors field.

func (*V1HostRule) SetIpBlock

func (o *V1HostRule) SetIpBlock(v []V1IpBlock)

SetIpBlock gets a reference to the given []V1IpBlock and assigns it to the IpBlock field.

func (*V1HostRule) SetNetworkSelectors

func (o *V1HostRule) SetNetworkSelectors(v []V1MatchExpression)

SetNetworkSelectors gets a reference to the given []V1MatchExpression and assigns it to the NetworkSelectors field.

type V1Ingress

type V1Ingress struct {
	// Detailed summary of what the ingress rule does
	Description *string      `json:"description,omitempty"`
	Action      *V1Action    `json:"action,omitempty"`
	From        *V1HostRule  `json:"from,omitempty"`
	Protocols   *V1Protocols `json:"protocols,omitempty"`
}

V1Ingress An inbound rule to workload instances

func NewV1Ingress

func NewV1Ingress() *V1Ingress

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

func NewV1IngressWithDefaults

func NewV1IngressWithDefaults() *V1Ingress

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

func (*V1Ingress) GetAction

func (o *V1Ingress) GetAction() V1Action

GetAction returns the Action field value if set, zero value otherwise.

func (*V1Ingress) GetActionOk

func (o *V1Ingress) GetActionOk() (*V1Action, bool)

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

func (*V1Ingress) GetDescription

func (o *V1Ingress) GetDescription() string

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

func (*V1Ingress) GetDescriptionOk

func (o *V1Ingress) 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 (*V1Ingress) GetFrom

func (o *V1Ingress) GetFrom() V1HostRule

GetFrom returns the From field value if set, zero value otherwise.

func (*V1Ingress) GetFromOk

func (o *V1Ingress) GetFromOk() (*V1HostRule, bool)

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

func (*V1Ingress) GetProtocols

func (o *V1Ingress) GetProtocols() V1Protocols

GetProtocols returns the Protocols field value if set, zero value otherwise.

func (*V1Ingress) GetProtocolsOk

func (o *V1Ingress) GetProtocolsOk() (*V1Protocols, bool)

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

func (*V1Ingress) HasAction

func (o *V1Ingress) HasAction() bool

HasAction returns a boolean if a field has been set.

func (*V1Ingress) HasDescription

func (o *V1Ingress) HasDescription() bool

HasDescription returns a boolean if a field has been set.

func (*V1Ingress) HasFrom

func (o *V1Ingress) HasFrom() bool

HasFrom returns a boolean if a field has been set.

func (*V1Ingress) HasProtocols

func (o *V1Ingress) HasProtocols() bool

HasProtocols returns a boolean if a field has been set.

func (V1Ingress) MarshalJSON

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

func (*V1Ingress) SetAction

func (o *V1Ingress) SetAction(v V1Action)

SetAction gets a reference to the given V1Action and assigns it to the Action field.

func (*V1Ingress) SetDescription

func (o *V1Ingress) SetDescription(v string)

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

func (*V1Ingress) SetFrom

func (o *V1Ingress) SetFrom(v V1HostRule)

SetFrom gets a reference to the given V1HostRule and assigns it to the From field.

func (*V1Ingress) SetProtocols

func (o *V1Ingress) SetProtocols(v V1Protocols)

SetProtocols gets a reference to the given V1Protocols and assigns it to the Protocols field.

type V1IpBlock

type V1IpBlock struct {
	// A subnet that will define all the IPs allowed by a rule
	Cidr *string `json:"cidr,omitempty"`
	// A list of subnets that will be excluded from the above subnet  This allows a convenient way to allow multiple ip ranges in a single expression
	Except *[]string `json:"except,omitempty"`
}

V1IpBlock Defines an IP block

func NewV1IpBlock

func NewV1IpBlock() *V1IpBlock

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

func NewV1IpBlockWithDefaults

func NewV1IpBlockWithDefaults() *V1IpBlock

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

func (*V1IpBlock) GetCidr

func (o *V1IpBlock) GetCidr() string

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

func (*V1IpBlock) GetCidrOk

func (o *V1IpBlock) 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 (*V1IpBlock) GetExcept

func (o *V1IpBlock) GetExcept() []string

GetExcept returns the Except field value if set, zero value otherwise.

func (*V1IpBlock) GetExceptOk

func (o *V1IpBlock) GetExceptOk() (*[]string, bool)

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

func (*V1IpBlock) HasCidr

func (o *V1IpBlock) HasCidr() bool

HasCidr returns a boolean if a field has been set.

func (*V1IpBlock) HasExcept

func (o *V1IpBlock) HasExcept() bool

HasExcept returns a boolean if a field has been set.

func (V1IpBlock) MarshalJSON

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

func (*V1IpBlock) SetCidr

func (o *V1IpBlock) SetCidr(v string)

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

func (*V1IpBlock) SetExcept

func (o *V1IpBlock) SetExcept(v []string)

SetExcept gets a reference to the given []string and assigns it to the Except field.

type V1MatchExpression

type V1MatchExpression struct {
	// The name of the selector to perform a match against
	Key *string `json:"key,omitempty"`
	// The operation to perform to match a selector  Valid values are \"in\" with support for more possible in the future
	Operator *string `json:"operator,omitempty"`
	// The values to match in the selector
	Values *[]string `json:"values,omitempty"`
}

V1MatchExpression An expression to match selectors against a set of values

func NewV1MatchExpression

func NewV1MatchExpression() *V1MatchExpression

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

func NewV1MatchExpressionWithDefaults

func NewV1MatchExpressionWithDefaults() *V1MatchExpression

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

func (*V1MatchExpression) GetKey

func (o *V1MatchExpression) GetKey() string

GetKey returns the Key field value if set, zero value otherwise.

func (*V1MatchExpression) GetKeyOk

func (o *V1MatchExpression) GetKeyOk() (*string, bool)

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

func (*V1MatchExpression) GetOperator

func (o *V1MatchExpression) GetOperator() string

GetOperator returns the Operator field value if set, zero value otherwise.

func (*V1MatchExpression) GetOperatorOk

func (o *V1MatchExpression) GetOperatorOk() (*string, bool)

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

func (*V1MatchExpression) GetValues

func (o *V1MatchExpression) GetValues() []string

GetValues returns the Values field value if set, zero value otherwise.

func (*V1MatchExpression) GetValuesOk

func (o *V1MatchExpression) GetValuesOk() (*[]string, bool)

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

func (*V1MatchExpression) HasKey

func (o *V1MatchExpression) HasKey() bool

HasKey returns a boolean if a field has been set.

func (*V1MatchExpression) HasOperator

func (o *V1MatchExpression) HasOperator() bool

HasOperator returns a boolean if a field has been set.

func (*V1MatchExpression) HasValues

func (o *V1MatchExpression) HasValues() bool

HasValues returns a boolean if a field has been set.

func (V1MatchExpression) MarshalJSON

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

func (*V1MatchExpression) SetKey

func (o *V1MatchExpression) SetKey(v string)

SetKey gets a reference to the given string and assigns it to the Key field.

func (*V1MatchExpression) SetOperator

func (o *V1MatchExpression) SetOperator(v string)

SetOperator gets a reference to the given string and assigns it to the Operator field.

func (*V1MatchExpression) SetValues

func (o *V1MatchExpression) SetValues(v []string)

SetValues gets a reference to the given []string and assigns it to the Values field.

type V1NetworkPolicy

type V1NetworkPolicy struct {
	// The ID of the stack that a network policy belongs to
	StackId *string `json:"stackId,omitempty"`
	// A network policy's unique identifier
	Id *string `json:"id,omitempty"`
	// A network policy's name as it appears in the StackPath portal
	Name *string `json:"name,omitempty"`
	// A network policy's programmatic name  Network policy slugs are used to build its instances names
	Slug *string `json:"slug,omitempty"`
	// Detailed summary of what the policy does
	Description *string              `json:"description,omitempty"`
	Metadata    *NetworkMetadata     `json:"metadata,omitempty"`
	Spec        *V1NetworkPolicySpec `json:"spec,omitempty"`
}

V1NetworkPolicy A network policy Network policies define an ACL that applies to one or many workload instances

func NewV1NetworkPolicy

func NewV1NetworkPolicy() *V1NetworkPolicy

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

func NewV1NetworkPolicyWithDefaults

func NewV1NetworkPolicyWithDefaults() *V1NetworkPolicy

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

func (*V1NetworkPolicy) GetDescription

func (o *V1NetworkPolicy) GetDescription() string

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

func (*V1NetworkPolicy) GetDescriptionOk

func (o *V1NetworkPolicy) 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 (*V1NetworkPolicy) GetId

func (o *V1NetworkPolicy) GetId() string

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

func (*V1NetworkPolicy) GetIdOk

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

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

func (*V1NetworkPolicy) GetMetadata

func (o *V1NetworkPolicy) GetMetadata() NetworkMetadata

GetMetadata returns the Metadata field value if set, zero value otherwise.

func (*V1NetworkPolicy) GetMetadataOk

func (o *V1NetworkPolicy) GetMetadataOk() (*NetworkMetadata, bool)

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

func (*V1NetworkPolicy) GetName

func (o *V1NetworkPolicy) GetName() string

GetName returns the Name field value if set, zero value otherwise.

func (*V1NetworkPolicy) GetNameOk

func (o *V1NetworkPolicy) 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 (*V1NetworkPolicy) GetSlug

func (o *V1NetworkPolicy) GetSlug() string

GetSlug returns the Slug field value if set, zero value otherwise.

func (*V1NetworkPolicy) GetSlugOk

func (o *V1NetworkPolicy) GetSlugOk() (*string, bool)

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

func (*V1NetworkPolicy) GetSpec

func (o *V1NetworkPolicy) GetSpec() V1NetworkPolicySpec

GetSpec returns the Spec field value if set, zero value otherwise.

func (*V1NetworkPolicy) GetSpecOk

func (o *V1NetworkPolicy) GetSpecOk() (*V1NetworkPolicySpec, bool)

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

func (*V1NetworkPolicy) GetStackId

func (o *V1NetworkPolicy) GetStackId() string

GetStackId returns the StackId field value if set, zero value otherwise.

func (*V1NetworkPolicy) GetStackIdOk

func (o *V1NetworkPolicy) GetStackIdOk() (*string, bool)

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

func (*V1NetworkPolicy) HasDescription

func (o *V1NetworkPolicy) HasDescription() bool

HasDescription returns a boolean if a field has been set.

func (*V1NetworkPolicy) HasId

func (o *V1NetworkPolicy) HasId() bool

HasId returns a boolean if a field has been set.

func (*V1NetworkPolicy) HasMetadata

func (o *V1NetworkPolicy) HasMetadata() bool

HasMetadata returns a boolean if a field has been set.

func (*V1NetworkPolicy) HasName

func (o *V1NetworkPolicy) HasName() bool

HasName returns a boolean if a field has been set.

func (*V1NetworkPolicy) HasSlug

func (o *V1NetworkPolicy) HasSlug() bool

HasSlug returns a boolean if a field has been set.

func (*V1NetworkPolicy) HasSpec

func (o *V1NetworkPolicy) HasSpec() bool

HasSpec returns a boolean if a field has been set.

func (*V1NetworkPolicy) HasStackId

func (o *V1NetworkPolicy) HasStackId() bool

HasStackId returns a boolean if a field has been set.

func (V1NetworkPolicy) MarshalJSON

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

func (*V1NetworkPolicy) SetDescription

func (o *V1NetworkPolicy) SetDescription(v string)

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

func (*V1NetworkPolicy) SetId

func (o *V1NetworkPolicy) SetId(v string)

SetId gets a reference to the given string and assigns it to the Id field.

func (*V1NetworkPolicy) SetMetadata

func (o *V1NetworkPolicy) SetMetadata(v NetworkMetadata)

SetMetadata gets a reference to the given NetworkMetadata and assigns it to the Metadata field.

func (*V1NetworkPolicy) SetName

func (o *V1NetworkPolicy) SetName(v string)

SetName gets a reference to the given string and assigns it to the Name field.

func (*V1NetworkPolicy) SetSlug

func (o *V1NetworkPolicy) SetSlug(v string)

SetSlug gets a reference to the given string and assigns it to the Slug field.

func (*V1NetworkPolicy) SetSpec

func (o *V1NetworkPolicy) SetSpec(v V1NetworkPolicySpec)

SetSpec gets a reference to the given V1NetworkPolicySpec and assigns it to the Spec field.

func (*V1NetworkPolicy) SetStackId

func (o *V1NetworkPolicy) SetStackId(v string)

SetStackId gets a reference to the given string and assigns it to the StackId field.

type V1NetworkPolicySpec

type V1NetworkPolicySpec struct {
	// A selector to match workload instances
	InstanceSelectors *[]V1MatchExpression `json:"instanceSelectors,omitempty"`
	// A selector to match networks
	NetworkSelectors *[]V1MatchExpression `json:"networkSelectors,omitempty"`
	// A list of policy types  Policy types are used to specify what rules will be defined. If a policy type is given but not defined it will default. If it is not provided then no action will be used.
	PolicyTypes *[]NetworkPolicySpecPolicyType `json:"policyTypes,omitempty"`
	// A policy's priority among other network policies. 1 - 65535  Network policies apply to all compute workloads on the stack. Lower values have a higher priority, and priorities must be unique across the stack. Use the special value 65534 to apply the same priority to different workload instances in the same stack.
	Priority *int32 `json:"priority,omitempty"`
	// A list of rules for inbound traffic to instances  If the ingress policy type is given but not defined here the default is to block all
	Ingress *[]V1Ingress `json:"ingress,omitempty"`
	// A list of rules for outbound traffic from instances  If the egress policy type is given but not defined here the default is to allow all
	Egress *[]V1Egress `json:"egress,omitempty"`
}

V1NetworkPolicySpec The specification for the desired state of a network policy

func NewV1NetworkPolicySpec

func NewV1NetworkPolicySpec() *V1NetworkPolicySpec

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

func NewV1NetworkPolicySpecWithDefaults

func NewV1NetworkPolicySpecWithDefaults() *V1NetworkPolicySpec

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

func (*V1NetworkPolicySpec) GetEgress

func (o *V1NetworkPolicySpec) GetEgress() []V1Egress

GetEgress returns the Egress field value if set, zero value otherwise.

func (*V1NetworkPolicySpec) GetEgressOk

func (o *V1NetworkPolicySpec) GetEgressOk() (*[]V1Egress, bool)

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

func (*V1NetworkPolicySpec) GetIngress

func (o *V1NetworkPolicySpec) GetIngress() []V1Ingress

GetIngress returns the Ingress field value if set, zero value otherwise.

func (*V1NetworkPolicySpec) GetIngressOk

func (o *V1NetworkPolicySpec) GetIngressOk() (*[]V1Ingress, bool)

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

func (*V1NetworkPolicySpec) GetInstanceSelectors

func (o *V1NetworkPolicySpec) GetInstanceSelectors() []V1MatchExpression

GetInstanceSelectors returns the InstanceSelectors field value if set, zero value otherwise.

func (*V1NetworkPolicySpec) GetInstanceSelectorsOk

func (o *V1NetworkPolicySpec) GetInstanceSelectorsOk() (*[]V1MatchExpression, bool)

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

func (*V1NetworkPolicySpec) GetNetworkSelectors

func (o *V1NetworkPolicySpec) GetNetworkSelectors() []V1MatchExpression

GetNetworkSelectors returns the NetworkSelectors field value if set, zero value otherwise.

func (*V1NetworkPolicySpec) GetNetworkSelectorsOk

func (o *V1NetworkPolicySpec) GetNetworkSelectorsOk() (*[]V1MatchExpression, bool)

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

func (*V1NetworkPolicySpec) GetPolicyTypes

func (o *V1NetworkPolicySpec) GetPolicyTypes() []NetworkPolicySpecPolicyType

GetPolicyTypes returns the PolicyTypes field value if set, zero value otherwise.

func (*V1NetworkPolicySpec) GetPolicyTypesOk

func (o *V1NetworkPolicySpec) GetPolicyTypesOk() (*[]NetworkPolicySpecPolicyType, bool)

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

func (*V1NetworkPolicySpec) GetPriority

func (o *V1NetworkPolicySpec) GetPriority() int32

GetPriority returns the Priority field value if set, zero value otherwise.

func (*V1NetworkPolicySpec) GetPriorityOk

func (o *V1NetworkPolicySpec) GetPriorityOk() (*int32, bool)

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

func (*V1NetworkPolicySpec) HasEgress

func (o *V1NetworkPolicySpec) HasEgress() bool

HasEgress returns a boolean if a field has been set.

func (*V1NetworkPolicySpec) HasIngress

func (o *V1NetworkPolicySpec) HasIngress() bool

HasIngress returns a boolean if a field has been set.

func (*V1NetworkPolicySpec) HasInstanceSelectors

func (o *V1NetworkPolicySpec) HasInstanceSelectors() bool

HasInstanceSelectors returns a boolean if a field has been set.

func (*V1NetworkPolicySpec) HasNetworkSelectors

func (o *V1NetworkPolicySpec) HasNetworkSelectors() bool

HasNetworkSelectors returns a boolean if a field has been set.

func (*V1NetworkPolicySpec) HasPolicyTypes

func (o *V1NetworkPolicySpec) HasPolicyTypes() bool

HasPolicyTypes returns a boolean if a field has been set.

func (*V1NetworkPolicySpec) HasPriority

func (o *V1NetworkPolicySpec) HasPriority() bool

HasPriority returns a boolean if a field has been set.

func (V1NetworkPolicySpec) MarshalJSON

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

func (*V1NetworkPolicySpec) SetEgress

func (o *V1NetworkPolicySpec) SetEgress(v []V1Egress)

SetEgress gets a reference to the given []V1Egress and assigns it to the Egress field.

func (*V1NetworkPolicySpec) SetIngress

func (o *V1NetworkPolicySpec) SetIngress(v []V1Ingress)

SetIngress gets a reference to the given []V1Ingress and assigns it to the Ingress field.

func (*V1NetworkPolicySpec) SetInstanceSelectors

func (o *V1NetworkPolicySpec) SetInstanceSelectors(v []V1MatchExpression)

SetInstanceSelectors gets a reference to the given []V1MatchExpression and assigns it to the InstanceSelectors field.

func (*V1NetworkPolicySpec) SetNetworkSelectors

func (o *V1NetworkPolicySpec) SetNetworkSelectors(v []V1MatchExpression)

SetNetworkSelectors gets a reference to the given []V1MatchExpression and assigns it to the NetworkSelectors field.

func (*V1NetworkPolicySpec) SetPolicyTypes

func (o *V1NetworkPolicySpec) SetPolicyTypes(v []NetworkPolicySpecPolicyType)

SetPolicyTypes gets a reference to the given []NetworkPolicySpecPolicyType and assigns it to the PolicyTypes field.

func (*V1NetworkPolicySpec) SetPriority

func (o *V1NetworkPolicySpec) SetPriority(v int32)

SetPriority gets a reference to the given int32 and assigns it to the Priority field.

type V1ProtocolTcp

type V1ProtocolTcp struct {
	// List of destination ports to allow 1-65535
	DestinationPorts *[]string `json:"destinationPorts,omitempty"`
	// List of source ports to allow 1-65535, defaults to 1000-65535
	SourcePorts *[]string `json:"sourcePorts,omitempty"`
}

V1ProtocolTcp TCP protocol matching

func NewV1ProtocolTcp

func NewV1ProtocolTcp() *V1ProtocolTcp

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

func NewV1ProtocolTcpWithDefaults

func NewV1ProtocolTcpWithDefaults() *V1ProtocolTcp

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

func (*V1ProtocolTcp) GetDestinationPorts

func (o *V1ProtocolTcp) GetDestinationPorts() []string

GetDestinationPorts returns the DestinationPorts field value if set, zero value otherwise.

func (*V1ProtocolTcp) GetDestinationPortsOk

func (o *V1ProtocolTcp) GetDestinationPortsOk() (*[]string, bool)

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

func (*V1ProtocolTcp) GetSourcePorts

func (o *V1ProtocolTcp) GetSourcePorts() []string

GetSourcePorts returns the SourcePorts field value if set, zero value otherwise.

func (*V1ProtocolTcp) GetSourcePortsOk

func (o *V1ProtocolTcp) GetSourcePortsOk() (*[]string, bool)

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

func (*V1ProtocolTcp) HasDestinationPorts

func (o *V1ProtocolTcp) HasDestinationPorts() bool

HasDestinationPorts returns a boolean if a field has been set.

func (*V1ProtocolTcp) HasSourcePorts

func (o *V1ProtocolTcp) HasSourcePorts() bool

HasSourcePorts returns a boolean if a field has been set.

func (V1ProtocolTcp) MarshalJSON

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

func (*V1ProtocolTcp) SetDestinationPorts

func (o *V1ProtocolTcp) SetDestinationPorts(v []string)

SetDestinationPorts gets a reference to the given []string and assigns it to the DestinationPorts field.

func (*V1ProtocolTcp) SetSourcePorts

func (o *V1ProtocolTcp) SetSourcePorts(v []string)

SetSourcePorts gets a reference to the given []string and assigns it to the SourcePorts field.

type V1ProtocolTcpUdp

type V1ProtocolTcpUdp struct {
	// List of destination ports to allow 1-65535
	DestinationPorts *[]string `json:"destinationPorts,omitempty"`
	// List of source ports to allow 1-65535, defaults to 1000-65535
	SourcePorts *[]string `json:"sourcePorts,omitempty"`
}

V1ProtocolTcpUdp TCP or UDP protocol convenience matching

func NewV1ProtocolTcpUdp

func NewV1ProtocolTcpUdp() *V1ProtocolTcpUdp

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

func NewV1ProtocolTcpUdpWithDefaults

func NewV1ProtocolTcpUdpWithDefaults() *V1ProtocolTcpUdp

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

func (*V1ProtocolTcpUdp) GetDestinationPorts

func (o *V1ProtocolTcpUdp) GetDestinationPorts() []string

GetDestinationPorts returns the DestinationPorts field value if set, zero value otherwise.

func (*V1ProtocolTcpUdp) GetDestinationPortsOk

func (o *V1ProtocolTcpUdp) GetDestinationPortsOk() (*[]string, bool)

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

func (*V1ProtocolTcpUdp) GetSourcePorts

func (o *V1ProtocolTcpUdp) GetSourcePorts() []string

GetSourcePorts returns the SourcePorts field value if set, zero value otherwise.

func (*V1ProtocolTcpUdp) GetSourcePortsOk

func (o *V1ProtocolTcpUdp) GetSourcePortsOk() (*[]string, bool)

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

func (*V1ProtocolTcpUdp) HasDestinationPorts

func (o *V1ProtocolTcpUdp) HasDestinationPorts() bool

HasDestinationPorts returns a boolean if a field has been set.

func (*V1ProtocolTcpUdp) HasSourcePorts

func (o *V1ProtocolTcpUdp) HasSourcePorts() bool

HasSourcePorts returns a boolean if a field has been set.

func (V1ProtocolTcpUdp) MarshalJSON

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

func (*V1ProtocolTcpUdp) SetDestinationPorts

func (o *V1ProtocolTcpUdp) SetDestinationPorts(v []string)

SetDestinationPorts gets a reference to the given []string and assigns it to the DestinationPorts field.

func (*V1ProtocolTcpUdp) SetSourcePorts

func (o *V1ProtocolTcpUdp) SetSourcePorts(v []string)

SetSourcePorts gets a reference to the given []string and assigns it to the SourcePorts field.

type V1ProtocolUdp

type V1ProtocolUdp struct {
	// List of destination ports to allow 1-65535
	DestinationPorts *[]string `json:"destinationPorts,omitempty"`
	// List of source ports to allow 1-65535, defaults to 1000-65535
	SourcePorts *[]string `json:"sourcePorts,omitempty"`
}

V1ProtocolUdp UDP protocol matching

func NewV1ProtocolUdp

func NewV1ProtocolUdp() *V1ProtocolUdp

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

func NewV1ProtocolUdpWithDefaults

func NewV1ProtocolUdpWithDefaults() *V1ProtocolUdp

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

func (*V1ProtocolUdp) GetDestinationPorts

func (o *V1ProtocolUdp) GetDestinationPorts() []string

GetDestinationPorts returns the DestinationPorts field value if set, zero value otherwise.

func (*V1ProtocolUdp) GetDestinationPortsOk

func (o *V1ProtocolUdp) GetDestinationPortsOk() (*[]string, bool)

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

func (*V1ProtocolUdp) GetSourcePorts

func (o *V1ProtocolUdp) GetSourcePorts() []string

GetSourcePorts returns the SourcePorts field value if set, zero value otherwise.

func (*V1ProtocolUdp) GetSourcePortsOk

func (o *V1ProtocolUdp) GetSourcePortsOk() (*[]string, bool)

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

func (*V1ProtocolUdp) HasDestinationPorts

func (o *V1ProtocolUdp) HasDestinationPorts() bool

HasDestinationPorts returns a boolean if a field has been set.

func (*V1ProtocolUdp) HasSourcePorts

func (o *V1ProtocolUdp) HasSourcePorts() bool

HasSourcePorts returns a boolean if a field has been set.

func (V1ProtocolUdp) MarshalJSON

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

func (*V1ProtocolUdp) SetDestinationPorts

func (o *V1ProtocolUdp) SetDestinationPorts(v []string)

SetDestinationPorts gets a reference to the given []string and assigns it to the DestinationPorts field.

func (*V1ProtocolUdp) SetSourcePorts

func (o *V1ProtocolUdp) SetSourcePorts(v []string)

SetSourcePorts gets a reference to the given []string and assigns it to the SourcePorts field.

type V1Protocols

type V1Protocols struct {
	Tcp    *V1ProtocolTcp    `json:"tcp,omitempty"`
	Udp    *V1ProtocolUdp    `json:"udp,omitempty"`
	TcpUdp *V1ProtocolTcpUdp `json:"tcpUdp,omitempty"`
	// ICMP protocol matching
	Icmp *map[string]interface{} `json:"icmp,omitempty"`
	// Authentication Header (AH) protocol matching
	Ah *map[string]interface{} `json:"ah,omitempty"`
	// Encapsulating Security Payload (ESP) protocol matching
	Esp *map[string]interface{} `json:"esp,omitempty"`
	// Generic Routing Encapsulation (GRE) protocol matching
	Gre *map[string]interface{} `json:"gre,omitempty"`
}

V1Protocols An object of all supported protocols and any attributes for them

func NewV1Protocols

func NewV1Protocols() *V1Protocols

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

func NewV1ProtocolsWithDefaults

func NewV1ProtocolsWithDefaults() *V1Protocols

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

func (*V1Protocols) GetAh

func (o *V1Protocols) GetAh() map[string]interface{}

GetAh returns the Ah field value if set, zero value otherwise.

func (*V1Protocols) GetAhOk

func (o *V1Protocols) GetAhOk() (*map[string]interface{}, bool)

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

func (*V1Protocols) GetEsp

func (o *V1Protocols) GetEsp() map[string]interface{}

GetEsp returns the Esp field value if set, zero value otherwise.

func (*V1Protocols) GetEspOk

func (o *V1Protocols) GetEspOk() (*map[string]interface{}, bool)

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

func (*V1Protocols) GetGre

func (o *V1Protocols) GetGre() map[string]interface{}

GetGre returns the Gre field value if set, zero value otherwise.

func (*V1Protocols) GetGreOk

func (o *V1Protocols) GetGreOk() (*map[string]interface{}, bool)

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

func (*V1Protocols) GetIcmp

func (o *V1Protocols) GetIcmp() map[string]interface{}

GetIcmp returns the Icmp field value if set, zero value otherwise.

func (*V1Protocols) GetIcmpOk

func (o *V1Protocols) GetIcmpOk() (*map[string]interface{}, bool)

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

func (*V1Protocols) GetTcp

func (o *V1Protocols) GetTcp() V1ProtocolTcp

GetTcp returns the Tcp field value if set, zero value otherwise.

func (*V1Protocols) GetTcpOk

func (o *V1Protocols) GetTcpOk() (*V1ProtocolTcp, bool)

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

func (*V1Protocols) GetTcpUdp

func (o *V1Protocols) GetTcpUdp() V1ProtocolTcpUdp

GetTcpUdp returns the TcpUdp field value if set, zero value otherwise.

func (*V1Protocols) GetTcpUdpOk

func (o *V1Protocols) GetTcpUdpOk() (*V1ProtocolTcpUdp, bool)

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

func (*V1Protocols) GetUdp

func (o *V1Protocols) GetUdp() V1ProtocolUdp

GetUdp returns the Udp field value if set, zero value otherwise.

func (*V1Protocols) GetUdpOk

func (o *V1Protocols) GetUdpOk() (*V1ProtocolUdp, bool)

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

func (*V1Protocols) HasAh

func (o *V1Protocols) HasAh() bool

HasAh returns a boolean if a field has been set.

func (*V1Protocols) HasEsp

func (o *V1Protocols) HasEsp() bool

HasEsp returns a boolean if a field has been set.

func (*V1Protocols) HasGre

func (o *V1Protocols) HasGre() bool

HasGre returns a boolean if a field has been set.

func (*V1Protocols) HasIcmp

func (o *V1Protocols) HasIcmp() bool

HasIcmp returns a boolean if a field has been set.

func (*V1Protocols) HasTcp

func (o *V1Protocols) HasTcp() bool

HasTcp returns a boolean if a field has been set.

func (*V1Protocols) HasTcpUdp

func (o *V1Protocols) HasTcpUdp() bool

HasTcpUdp returns a boolean if a field has been set.

func (*V1Protocols) HasUdp

func (o *V1Protocols) HasUdp() bool

HasUdp returns a boolean if a field has been set.

func (V1Protocols) MarshalJSON

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

func (*V1Protocols) SetAh

func (o *V1Protocols) SetAh(v map[string]interface{})

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

func (*V1Protocols) SetEsp

func (o *V1Protocols) SetEsp(v map[string]interface{})

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

func (*V1Protocols) SetGre

func (o *V1Protocols) SetGre(v map[string]interface{})

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

func (*V1Protocols) SetIcmp

func (o *V1Protocols) SetIcmp(v map[string]interface{})

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

func (*V1Protocols) SetTcp

func (o *V1Protocols) SetTcp(v V1ProtocolTcp)

SetTcp gets a reference to the given V1ProtocolTcp and assigns it to the Tcp field.

func (*V1Protocols) SetTcpUdp

func (o *V1Protocols) SetTcpUdp(v V1ProtocolTcpUdp)

SetTcpUdp gets a reference to the given V1ProtocolTcpUdp and assigns it to the TcpUdp field.

func (*V1Protocols) SetUdp

func (o *V1Protocols) SetUdp(v V1ProtocolUdp)

SetUdp gets a reference to the given V1ProtocolUdp and assigns it to the Udp field.

type V1UpdateNetworkPolicyRequest

type V1UpdateNetworkPolicyRequest struct {
	NetworkPolicy *V1NetworkPolicy `json:"networkPolicy,omitempty"`
}

V1UpdateNetworkPolicyRequest struct for V1UpdateNetworkPolicyRequest

func NewV1UpdateNetworkPolicyRequest

func NewV1UpdateNetworkPolicyRequest() *V1UpdateNetworkPolicyRequest

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

func NewV1UpdateNetworkPolicyRequestWithDefaults

func NewV1UpdateNetworkPolicyRequestWithDefaults() *V1UpdateNetworkPolicyRequest

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

func (*V1UpdateNetworkPolicyRequest) GetNetworkPolicy

func (o *V1UpdateNetworkPolicyRequest) GetNetworkPolicy() V1NetworkPolicy

GetNetworkPolicy returns the NetworkPolicy field value if set, zero value otherwise.

func (*V1UpdateNetworkPolicyRequest) GetNetworkPolicyOk

func (o *V1UpdateNetworkPolicyRequest) GetNetworkPolicyOk() (*V1NetworkPolicy, bool)

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

func (*V1UpdateNetworkPolicyRequest) HasNetworkPolicy

func (o *V1UpdateNetworkPolicyRequest) HasNetworkPolicy() bool

HasNetworkPolicy returns a boolean if a field has been set.

func (V1UpdateNetworkPolicyRequest) MarshalJSON

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

func (*V1UpdateNetworkPolicyRequest) SetNetworkPolicy

func (o *V1UpdateNetworkPolicyRequest) SetNetworkPolicy(v V1NetworkPolicy)

SetNetworkPolicy gets a reference to the given V1NetworkPolicy and assigns it to the NetworkPolicy field.

type V1UpdateNetworkPolicyResponse

type V1UpdateNetworkPolicyResponse struct {
	NetworkPolicy *V1NetworkPolicy `json:"networkPolicy,omitempty"`
}

V1UpdateNetworkPolicyResponse A response from a request to update a network policy

func NewV1UpdateNetworkPolicyResponse

func NewV1UpdateNetworkPolicyResponse() *V1UpdateNetworkPolicyResponse

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

func NewV1UpdateNetworkPolicyResponseWithDefaults

func NewV1UpdateNetworkPolicyResponseWithDefaults() *V1UpdateNetworkPolicyResponse

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

func (*V1UpdateNetworkPolicyResponse) GetNetworkPolicy

func (o *V1UpdateNetworkPolicyResponse) GetNetworkPolicy() V1NetworkPolicy

GetNetworkPolicy returns the NetworkPolicy field value if set, zero value otherwise.

func (*V1UpdateNetworkPolicyResponse) GetNetworkPolicyOk

func (o *V1UpdateNetworkPolicyResponse) GetNetworkPolicyOk() (*V1NetworkPolicy, bool)

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

func (*V1UpdateNetworkPolicyResponse) HasNetworkPolicy

func (o *V1UpdateNetworkPolicyResponse) HasNetworkPolicy() bool

HasNetworkPolicy returns a boolean if a field has been set.

func (V1UpdateNetworkPolicyResponse) MarshalJSON

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

func (*V1UpdateNetworkPolicyResponse) SetNetworkPolicy

func (o *V1UpdateNetworkPolicyResponse) SetNetworkPolicy(v V1NetworkPolicy)

SetNetworkPolicy gets a reference to the given V1NetworkPolicy and assigns it to the NetworkPolicy field.

Source Files

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL