firewall

package
v3.0.3 Latest Latest
Warning

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

Go to latest
Published: Nov 4, 2025 License: MIT Imports: 19 Imported by: 0

README

Go API client for firewall

SCP Network Service

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: 0.0.1.dev6882
  • Package version: 1.0.0
  • Generator version: 7.10.0
  • Build package: org.openapitools.codegen.languages.GoClientCodegen

Installation

Install the following dependencies:

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

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

import firewall "github.com/GIT_USER_ID/GIT_REPO_ID"

To use a proxy, set the environment variable HTTP_PROXY:

os.Setenv("HTTP_PROXY", "http://proxy_name:proxy_port")

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 firewall.ContextServerIndex of type int.

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

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

ctx := context.WithValue(context.Background(), firewall.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 identified by "{classname}Service.{nickname}" string. Similar rules for overriding default operation server index and variables applies by using firewall.ContextOperationServerIndices and firewall.ContextOperationServerVariables context maps.

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

Documentation for API Endpoints

All URIs are relative to http://localhost

Class Method HTTP request Description
FirewallV1FirewallApiAPI ListFirewalls Get /v1/firewalls List Firewalls
FirewallV1FirewallApiAPI SetFirewall Put /v1/firewalls/{firewall_id} Set Firewall
FirewallV1FirewallApiAPI SetFirewallStatus Put /v1/firewalls/{firewall_id}/status Set Firewall Status.
FirewallV1FirewallApiAPI ShowFirewall Get /v1/firewalls/{firewall_id} Show Firewall
FirewallV1FirewallRulesApiAPI CreateFirewallRule Post /v1/firewalls/rules Create Firewall Rule
FirewallV1FirewallRulesApiAPI CreateFirewallRuleBulk Post /v1/firewalls/rules/bulk Create Firewall Rule Bulk
FirewallV1FirewallRulesApiAPI DeleteFirewallRule Delete /v1/firewalls/rules/{firewall_rule_id} Delete Firewall Rule
FirewallV1FirewallRulesApiAPI DeleteFirewallRuleBulk Delete /v1/firewalls/rules/bulk Delete Firewall Rule Bulk
FirewallV1FirewallRulesApiAPI DownloadFirewallRules Get /v1/firewalls/rules/downloads Download Firewall Rules
FirewallV1FirewallRulesApiAPI ListFirewallRules Get /v1/firewalls/rules List Firewall Rules
FirewallV1FirewallRulesApiAPI SetFirewallRule Put /v1/firewalls/rules/{firewall_rule_id} Set Firewall Rule
FirewallV1FirewallRulesApiAPI SetFirewallRuleBulk Put /v1/firewalls/rules/bulk Set Firewall Rule Bulk
FirewallV1FirewallRulesApiAPI SetFirewallRuleOrder Put /v1/firewalls/rules/{firewall_rule_id}/order Set Firewall Rule Order
FirewallV1FirewallRulesApiAPI ShowFirewallRule Get /v1/firewalls/rules/{firewall_rule_id} Show Firewall Rule

Documentation For Models

Documentation For Authorization

Authentication schemes defined for the API:

X-Auth-Token
  • Type: API key
  • API key parameter name: X-Auth-Token
  • Location: HTTP header

Note, each API key must be added to a map of map[string]APIKey where the key is: X-Auth-Token and passed in as the auth context for each request.

Example

auth := context.WithValue(
		context.Background(),
		firewall.ContextAPIKeys,
		map[string]firewall.APIKey{
			"X-Auth-Token": {Key: "API_KEY_STRING"},
		},
	)
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 (
	JsonCheck = regexp.MustCompile(`(?i:(?:application|text)/(?:[^;]+\+)?json)`)
	XmlCheck  = regexp.MustCompile(`(?i:(?:application|text)/(?:[^;]+\+)?xml)`)
)
View Source
var (
	// ContextAPIKeys takes a string apikey as authentication for the request
	ContextAPIKeys = contextKey("apiKeys")

	// ContextSCP takes an Access Key and a Secret Key for signing SCP
	ContextSCP = contextKey("scpCredential")

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

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

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

	// ContextOperationServerVariables overrides a server configuration variables using operation specific values.
	ContextOperationServerVariables = contextKey("serverOperationVariables")
)
View Source
var AllowedFirewallFlavorTypeEnumValues = []FirewallFlavorType{
	"EXSMALL",
	"SMALL",
	"MEDIUM",
	"LARGE",
	"EXLARGE",
}

All allowed values of FirewallFlavorType enum

View Source
var AllowedFirewallProductTypeEnumValues = []FirewallProductType{
	"IGW",
	"GGW",
	"DGW",
	"LB",
	"SIGW",
	"TGW_IGW",
	"TGW_GGW",
	"TGW_DGW",
	"TGW_SIGW",
	"TGW_BM",
}

All allowed values of FirewallProductType enum

View Source
var AllowedFirewallRuleActionEnumValues = []FirewallRuleAction{
	"ALLOW",
	"DENY",
}

All allowed values of FirewallRuleAction enum

View Source
var AllowedFirewallRuleDirectionEnumValues = []FirewallRuleDirection{
	"INBOUND",
	"OUTBOUND",
}

All allowed values of FirewallRuleDirection enum

View Source
var AllowedFirewallRuleOrderDirectionEnumValues = []FirewallRuleOrderDirection{
	"BEFORE",
	"AFTER",
	"BOTTOM",
}

All allowed values of FirewallRuleOrderDirection enum

View Source
var AllowedFirewallRuleStateEnumValues = []FirewallRuleState{
	"CREATING",
	"ACTIVE",
	"DELETING",
	"DELETED",
	"EDITING",
	"ERROR",
}

All allowed values of FirewallRuleState enum

View Source
var AllowedFirewallServiceTypeEnumValues = []FirewallServiceType{
	"TCP",
	"UDP",
	"ICMP",
	"IP",
	"TCP_ALL",
	"UDP_ALL",
	"ICMP_ALL",
	"ALL",
}

All allowed values of FirewallServiceType enum

View Source
var AllowedFirewallStateEnumValues = []FirewallState{
	"CREATING",
	"ACTIVE",
	"DELETING",
	"DELETED",
	"EDITING",
	"ERROR",
	"DEPLOYING",
}

All allowed values of FirewallState enum

View Source
var AllowedFirewallStatusTypeEnumValues = []FirewallStatusType{
	"ENABLE",
	"DISABLE",
}

All allowed values of FirewallStatusType enum

Functions

func CacheExpires

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

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

func IsNil

func IsNil(i interface{}) bool

IsNil checks if an input is nil

func PtrBool

func PtrBool(v bool) *bool

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

func PtrFloat32

func PtrFloat32(v float32) *float32

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

func PtrFloat64

func PtrFloat64(v float64) *float64

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

func PtrInt

func PtrInt(v int) *int

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

func PtrInt32

func PtrInt32(v int32) *int32

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

func PtrInt64

func PtrInt64(v int64) *int64

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

func PtrString

func PtrString(v string) *string

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

func PtrTime

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

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

Types

type APIClient

type APIClient struct {
	FirewallV1FirewallApiAPI *FirewallV1FirewallApiAPIService

	FirewallV1FirewallRulesApiAPI *FirewallV1FirewallRulesApiAPIService
	// contains filtered or unexported fields
}

APIClient manages communication with the SCP Network Service API v0.0.1.dev6882 In most cases there should be only one, shared, APIClient.

func NewAPIClient

func NewAPIClient(cfg *scpsdk.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() *scpsdk.Configuration

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

type APIKey

type APIKey struct {
	Key    string
	Prefix string
}

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

type APIResponse

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

APIResponse stores the API response returned by the server.

func NewAPIResponse

func NewAPIResponse(r *http.Response) *APIResponse

NewAPIResponse returns a new APIResponse object.

func NewAPIResponseWithError

func NewAPIResponseWithError(errorMessage string) *APIResponse

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

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

type Firewall struct {
	// Account ID
	AccountId string `json:"account_id"`
	// Created At
	CreatedAt time.Time `json:"created_at"`
	// Created By
	CreatedBy string `json:"created_by"`
	// Firewall Size Name
	FlavorName *string `json:"flavor_name,omitempty"`
	// Firewall Rule Quota
	FlavorRuleQuota *int32 `json:"flavor_rule_quota,omitempty"`
	// Fw Resource ID
	FwResourceId string `json:"fw_resource_id"`
	// Firewall ID
	Id string `json:"id"`
	// Logging Use
	Loggable bool `json:"loggable"`
	// Modified At
	ModifiedAt time.Time `json:"modified_at"`
	// Modified By
	ModifiedBy string `json:"modified_by"`
	// Firewall Name
	Name string `json:"name"`
	// Pre Product ID
	PreProductId *string `json:"pre_product_id,omitempty"`
	// Firewall Product Type
	ProductType FirewallProductType `json:"product_type"`
	// Firewall State
	State FirewallState `json:"state"`
	// Firewall Status
	Status FirewallStatusType `json:"status"`
	// Total Rule Count
	TotalRuleCount *int32         `json:"total_rule_count,omitempty"`
	VpcId          NullableString `json:"vpc_id"`
	VpcName        NullableString `json:"vpc_name"`
}

Firewall struct for Firewall

func NewFirewall

func NewFirewall(accountId string, createdAt time.Time, createdBy string, fwResourceId string, id string, loggable bool, modifiedAt time.Time, modifiedBy string, name string, productType FirewallProductType, state FirewallState, status FirewallStatusType, vpcId NullableString, vpcName NullableString) *Firewall

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

func NewFirewallWithDefaults

func NewFirewallWithDefaults() *Firewall

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

func (*Firewall) GetAccountId

func (o *Firewall) GetAccountId() string

GetAccountId returns the AccountId field value

func (*Firewall) GetAccountIdOk

func (o *Firewall) GetAccountIdOk() (*string, bool)

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

func (*Firewall) GetCreatedAt

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

GetCreatedAt returns the CreatedAt field value

func (*Firewall) GetCreatedAtOk

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

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

func (*Firewall) GetCreatedBy

func (o *Firewall) GetCreatedBy() string

GetCreatedBy returns the CreatedBy field value

func (*Firewall) GetCreatedByOk

func (o *Firewall) GetCreatedByOk() (*string, bool)

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

func (*Firewall) GetFlavorName

func (o *Firewall) GetFlavorName() string

GetFlavorName returns the FlavorName field value if set, zero value otherwise.

func (*Firewall) GetFlavorNameOk

func (o *Firewall) GetFlavorNameOk() (*string, bool)

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

func (*Firewall) GetFlavorRuleQuota

func (o *Firewall) GetFlavorRuleQuota() int32

GetFlavorRuleQuota returns the FlavorRuleQuota field value if set, zero value otherwise.

func (*Firewall) GetFlavorRuleQuotaOk

func (o *Firewall) GetFlavorRuleQuotaOk() (*int32, bool)

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

func (*Firewall) GetFwResourceId

func (o *Firewall) GetFwResourceId() string

GetFwResourceId returns the FwResourceId field value

func (*Firewall) GetFwResourceIdOk

func (o *Firewall) GetFwResourceIdOk() (*string, bool)

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

func (*Firewall) GetId

func (o *Firewall) GetId() string

GetId returns the Id field value

func (*Firewall) GetIdOk

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

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

func (*Firewall) GetLoggable

func (o *Firewall) GetLoggable() bool

GetLoggable returns the Loggable field value

func (*Firewall) GetLoggableOk

func (o *Firewall) GetLoggableOk() (*bool, bool)

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

func (*Firewall) GetModifiedAt

func (o *Firewall) GetModifiedAt() time.Time

GetModifiedAt returns the ModifiedAt field value

func (*Firewall) GetModifiedAtOk

func (o *Firewall) GetModifiedAtOk() (*time.Time, bool)

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

func (*Firewall) GetModifiedBy

func (o *Firewall) GetModifiedBy() string

GetModifiedBy returns the ModifiedBy field value

func (*Firewall) GetModifiedByOk

func (o *Firewall) GetModifiedByOk() (*string, bool)

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

func (*Firewall) GetName

func (o *Firewall) GetName() string

GetName returns the Name field value

func (*Firewall) GetNameOk

func (o *Firewall) GetNameOk() (*string, bool)

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

func (*Firewall) GetPreProductId

func (o *Firewall) GetPreProductId() string

GetPreProductId returns the PreProductId field value if set, zero value otherwise.

func (*Firewall) GetPreProductIdOk

func (o *Firewall) GetPreProductIdOk() (*string, bool)

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

func (*Firewall) GetProductType

func (o *Firewall) GetProductType() FirewallProductType

GetProductType returns the ProductType field value

func (*Firewall) GetProductTypeOk

func (o *Firewall) GetProductTypeOk() (*FirewallProductType, bool)

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

func (*Firewall) GetState

func (o *Firewall) GetState() FirewallState

GetState returns the State field value

func (*Firewall) GetStateOk

func (o *Firewall) GetStateOk() (*FirewallState, bool)

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

func (*Firewall) GetStatus

func (o *Firewall) GetStatus() FirewallStatusType

GetStatus returns the Status field value

func (*Firewall) GetStatusOk

func (o *Firewall) GetStatusOk() (*FirewallStatusType, bool)

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

func (*Firewall) GetTotalRuleCount

func (o *Firewall) GetTotalRuleCount() int32

GetTotalRuleCount returns the TotalRuleCount field value if set, zero value otherwise.

func (*Firewall) GetTotalRuleCountOk

func (o *Firewall) GetTotalRuleCountOk() (*int32, bool)

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

func (*Firewall) GetVpcId

func (o *Firewall) GetVpcId() string

GetVpcId returns the VpcId field value If the value is explicit nil, the zero value for string will be returned

func (*Firewall) GetVpcIdOk

func (o *Firewall) GetVpcIdOk() (*string, bool)

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

func (*Firewall) GetVpcName

func (o *Firewall) GetVpcName() string

GetVpcName returns the VpcName field value If the value is explicit nil, the zero value for string will be returned

func (*Firewall) GetVpcNameOk

func (o *Firewall) GetVpcNameOk() (*string, bool)

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

func (*Firewall) HasFlavorName

func (o *Firewall) HasFlavorName() bool

HasFlavorName returns a boolean if a field has been set.

func (*Firewall) HasFlavorRuleQuota

func (o *Firewall) HasFlavorRuleQuota() bool

HasFlavorRuleQuota returns a boolean if a field has been set.

func (*Firewall) HasPreProductId

func (o *Firewall) HasPreProductId() bool

HasPreProductId returns a boolean if a field has been set.

func (*Firewall) HasTotalRuleCount

func (o *Firewall) HasTotalRuleCount() bool

HasTotalRuleCount returns a boolean if a field has been set.

func (Firewall) MarshalJSON

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

func (*Firewall) SetAccountId

func (o *Firewall) SetAccountId(v string)

SetAccountId sets field value

func (*Firewall) SetCreatedAt

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

SetCreatedAt sets field value

func (*Firewall) SetCreatedBy

func (o *Firewall) SetCreatedBy(v string)

SetCreatedBy sets field value

func (*Firewall) SetFlavorName

func (o *Firewall) SetFlavorName(v string)

SetFlavorName gets a reference to the given string and assigns it to the FlavorName field.

func (*Firewall) SetFlavorRuleQuota

func (o *Firewall) SetFlavorRuleQuota(v int32)

SetFlavorRuleQuota gets a reference to the given int32 and assigns it to the FlavorRuleQuota field.

func (*Firewall) SetFwResourceId

func (o *Firewall) SetFwResourceId(v string)

SetFwResourceId sets field value

func (*Firewall) SetId

func (o *Firewall) SetId(v string)

SetId sets field value

func (*Firewall) SetLoggable

func (o *Firewall) SetLoggable(v bool)

SetLoggable sets field value

func (*Firewall) SetModifiedAt

func (o *Firewall) SetModifiedAt(v time.Time)

SetModifiedAt sets field value

func (*Firewall) SetModifiedBy

func (o *Firewall) SetModifiedBy(v string)

SetModifiedBy sets field value

func (*Firewall) SetName

func (o *Firewall) SetName(v string)

SetName sets field value

func (*Firewall) SetPreProductId

func (o *Firewall) SetPreProductId(v string)

SetPreProductId gets a reference to the given string and assigns it to the PreProductId field.

func (*Firewall) SetProductType

func (o *Firewall) SetProductType(v FirewallProductType)

SetProductType sets field value

func (*Firewall) SetState

func (o *Firewall) SetState(v FirewallState)

SetState sets field value

func (*Firewall) SetStatus

func (o *Firewall) SetStatus(v FirewallStatusType)

SetStatus sets field value

func (*Firewall) SetTotalRuleCount

func (o *Firewall) SetTotalRuleCount(v int32)

SetTotalRuleCount gets a reference to the given int32 and assigns it to the TotalRuleCount field.

func (*Firewall) SetVpcId

func (o *Firewall) SetVpcId(v string)

SetVpcId sets field value

func (*Firewall) SetVpcName

func (o *Firewall) SetVpcName(v string)

SetVpcName sets field value

func (Firewall) ToMap

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

func (*Firewall) UnmarshalJSON

func (o *Firewall) UnmarshalJSON(data []byte) (err error)

type FirewallFlavorType

type FirewallFlavorType string

FirewallFlavorType the model 'FirewallFlavorType'

const (
	FIREWALLFLAVORTYPE_EXSMALL FirewallFlavorType = "EXSMALL"
	FIREWALLFLAVORTYPE_SMALL   FirewallFlavorType = "SMALL"
	FIREWALLFLAVORTYPE_MEDIUM  FirewallFlavorType = "MEDIUM"
	FIREWALLFLAVORTYPE_LARGE   FirewallFlavorType = "LARGE"
	FIREWALLFLAVORTYPE_EXLARGE FirewallFlavorType = "EXLARGE"
)

List of FirewallFlavorType

func NewFirewallFlavorTypeFromValue

func NewFirewallFlavorTypeFromValue(v string) (*FirewallFlavorType, error)

NewFirewallFlavorTypeFromValue returns a pointer to a valid FirewallFlavorType for the value passed as argument, or an error if the value passed is not allowed by the enum

func (FirewallFlavorType) IsValid

func (v FirewallFlavorType) IsValid() bool

IsValid return true if the value is valid for the enum, false otherwise

func (FirewallFlavorType) Ptr

Ptr returns reference to FirewallFlavorType value

func (*FirewallFlavorType) UnmarshalJSON

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

type FirewallListResponse

type FirewallListResponse struct {
	// count
	Count     int32      `json:"count"`
	Firewalls []Firewall `json:"firewalls"`
	// page
	Page int32 `json:"page"`
	// size
	Size int32    `json:"size"`
	Sort []string `json:"sort,omitempty"`
}

FirewallListResponse struct for FirewallListResponse

func NewFirewallListResponse

func NewFirewallListResponse(count int32, firewalls []Firewall, page int32, size int32) *FirewallListResponse

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

func NewFirewallListResponseWithDefaults

func NewFirewallListResponseWithDefaults() *FirewallListResponse

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

func (*FirewallListResponse) GetCount

func (o *FirewallListResponse) GetCount() int32

GetCount returns the Count field value

func (*FirewallListResponse) GetCountOk

func (o *FirewallListResponse) GetCountOk() (*int32, bool)

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

func (*FirewallListResponse) GetFirewalls

func (o *FirewallListResponse) GetFirewalls() []Firewall

GetFirewalls returns the Firewalls field value

func (*FirewallListResponse) GetFirewallsOk

func (o *FirewallListResponse) GetFirewallsOk() ([]Firewall, bool)

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

func (*FirewallListResponse) GetPage

func (o *FirewallListResponse) GetPage() int32

GetPage returns the Page field value

func (*FirewallListResponse) GetPageOk

func (o *FirewallListResponse) GetPageOk() (*int32, bool)

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

func (*FirewallListResponse) GetSize

func (o *FirewallListResponse) GetSize() int32

GetSize returns the Size field value

func (*FirewallListResponse) GetSizeOk

func (o *FirewallListResponse) GetSizeOk() (*int32, bool)

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

func (*FirewallListResponse) GetSort

func (o *FirewallListResponse) GetSort() []string

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

func (*FirewallListResponse) GetSortOk

func (o *FirewallListResponse) GetSortOk() ([]string, bool)

GetSortOk returns a tuple with the Sort 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 (*FirewallListResponse) HasSort

func (o *FirewallListResponse) HasSort() bool

HasSort returns a boolean if a field has been set.

func (FirewallListResponse) MarshalJSON

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

func (*FirewallListResponse) SetCount

func (o *FirewallListResponse) SetCount(v int32)

SetCount sets field value

func (*FirewallListResponse) SetFirewalls

func (o *FirewallListResponse) SetFirewalls(v []Firewall)

SetFirewalls sets field value

func (*FirewallListResponse) SetPage

func (o *FirewallListResponse) SetPage(v int32)

SetPage sets field value

func (*FirewallListResponse) SetSize

func (o *FirewallListResponse) SetSize(v int32)

SetSize sets field value

func (*FirewallListResponse) SetSort

func (o *FirewallListResponse) SetSort(v []string)

SetSort gets a reference to the given []string and assigns it to the Sort field.

func (FirewallListResponse) ToMap

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

func (*FirewallListResponse) UnmarshalJSON

func (o *FirewallListResponse) UnmarshalJSON(data []byte) (err error)

type FirewallPort

type FirewallPort struct {
	// Service Protocol Type
	ServiceType FirewallServiceType `json:"service_type"`
	// Service Port Value
	ServiceValue *string `json:"service_value,omitempty"`
}

FirewallPort struct for FirewallPort

func NewFirewallPort

func NewFirewallPort(serviceType FirewallServiceType) *FirewallPort

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

func NewFirewallPortWithDefaults

func NewFirewallPortWithDefaults() *FirewallPort

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

func (*FirewallPort) GetServiceType

func (o *FirewallPort) GetServiceType() FirewallServiceType

GetServiceType returns the ServiceType field value

func (*FirewallPort) GetServiceTypeOk

func (o *FirewallPort) GetServiceTypeOk() (*FirewallServiceType, bool)

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

func (*FirewallPort) GetServiceValue

func (o *FirewallPort) GetServiceValue() string

GetServiceValue returns the ServiceValue field value if set, zero value otherwise.

func (*FirewallPort) GetServiceValueOk

func (o *FirewallPort) GetServiceValueOk() (*string, bool)

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

func (*FirewallPort) HasServiceValue

func (o *FirewallPort) HasServiceValue() bool

HasServiceValue returns a boolean if a field has been set.

func (FirewallPort) MarshalJSON

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

func (*FirewallPort) SetServiceType

func (o *FirewallPort) SetServiceType(v FirewallServiceType)

SetServiceType sets field value

func (*FirewallPort) SetServiceValue

func (o *FirewallPort) SetServiceValue(v string)

SetServiceValue gets a reference to the given string and assigns it to the ServiceValue field.

func (FirewallPort) ToMap

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

func (*FirewallPort) UnmarshalJSON

func (o *FirewallPort) UnmarshalJSON(data []byte) (err error)

type FirewallProductType

type FirewallProductType string

FirewallProductType the model 'FirewallProductType'

const (
	FIREWALLPRODUCTTYPE_IGW      FirewallProductType = "IGW"
	FIREWALLPRODUCTTYPE_GGW      FirewallProductType = "GGW"
	FIREWALLPRODUCTTYPE_DGW      FirewallProductType = "DGW"
	FIREWALLPRODUCTTYPE_LB       FirewallProductType = "LB"
	FIREWALLPRODUCTTYPE_SIGW     FirewallProductType = "SIGW"
	FIREWALLPRODUCTTYPE_TGW_IGW  FirewallProductType = "TGW_IGW"
	FIREWALLPRODUCTTYPE_TGW_GGW  FirewallProductType = "TGW_GGW"
	FIREWALLPRODUCTTYPE_TGW_DGW  FirewallProductType = "TGW_DGW"
	FIREWALLPRODUCTTYPE_TGW_SIGW FirewallProductType = "TGW_SIGW"
	FIREWALLPRODUCTTYPE_TGW_BM   FirewallProductType = "TGW_BM"
)

List of FirewallProductType

func NewFirewallProductTypeFromValue

func NewFirewallProductTypeFromValue(v string) (*FirewallProductType, error)

NewFirewallProductTypeFromValue returns a pointer to a valid FirewallProductType for the value passed as argument, or an error if the value passed is not allowed by the enum

func (FirewallProductType) IsValid

func (v FirewallProductType) IsValid() bool

IsValid return true if the value is valid for the enum, false otherwise

func (FirewallProductType) Ptr

Ptr returns reference to FirewallProductType value

func (*FirewallProductType) UnmarshalJSON

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

type FirewallRule

type FirewallRule struct {
	// Firewall Rule Action
	Action FirewallRuleAction `json:"action"`
	// Created At
	CreatedAt time.Time `json:"created_at"`
	// Created By
	CreatedBy   string         `json:"created_by"`
	Description NullableString `json:"description,omitempty"`
	// Destination Address
	DestinationAddress []string `json:"destination_address"`
	// Destination Interface Name
	DestinationInterface string `json:"destination_interface"`
	// Firewall Rule Direction
	Direction FirewallRuleDirection `json:"direction"`
	// Firewall ID
	FirewallId string `json:"firewall_id"`
	// Firewall Rule ID
	Id string `json:"id"`
	// Modified At
	ModifiedAt time.Time `json:"modified_at"`
	// Modified By
	ModifiedBy string         `json:"modified_by"`
	Name       NullableString `json:"name,omitempty"`
	// Firewall Rule Sequence
	Sequence int32 `json:"sequence"`
	// Service Port
	Service []FirewallPort `json:"service"`
	// Source Address
	SourceAddress []string `json:"source_address"`
	// Source Interface Name
	SourceInterface string `json:"source_interface"`
	// Firewall Rule State
	State FirewallRuleState `json:"state"`
	// Firewall Rule Status
	Status FirewallStatusType `json:"status"`
	// Vendor Rule ID
	VendorRuleId string `json:"vendor_rule_id"`
}

FirewallRule struct for FirewallRule

func NewFirewallRule

func NewFirewallRule(action FirewallRuleAction, createdAt time.Time, createdBy string, destinationAddress []string, destinationInterface string, direction FirewallRuleDirection, firewallId string, id string, modifiedAt time.Time, modifiedBy string, sequence int32, service []FirewallPort, sourceAddress []string, sourceInterface string, state FirewallRuleState, status FirewallStatusType, vendorRuleId string) *FirewallRule

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

func NewFirewallRuleWithDefaults

func NewFirewallRuleWithDefaults() *FirewallRule

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

func (*FirewallRule) GetAction

func (o *FirewallRule) GetAction() FirewallRuleAction

GetAction returns the Action field value

func (*FirewallRule) GetActionOk

func (o *FirewallRule) GetActionOk() (*FirewallRuleAction, bool)

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

func (*FirewallRule) GetCreatedAt

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

GetCreatedAt returns the CreatedAt field value

func (*FirewallRule) GetCreatedAtOk

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

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

func (*FirewallRule) GetCreatedBy

func (o *FirewallRule) GetCreatedBy() string

GetCreatedBy returns the CreatedBy field value

func (*FirewallRule) GetCreatedByOk

func (o *FirewallRule) GetCreatedByOk() (*string, bool)

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

func (*FirewallRule) GetDescription

func (o *FirewallRule) GetDescription() string

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

func (*FirewallRule) GetDescriptionOk

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

func (*FirewallRule) GetDestinationAddress

func (o *FirewallRule) GetDestinationAddress() []string

GetDestinationAddress returns the DestinationAddress field value

func (*FirewallRule) GetDestinationAddressOk

func (o *FirewallRule) GetDestinationAddressOk() ([]string, bool)

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

func (*FirewallRule) GetDestinationInterface

func (o *FirewallRule) GetDestinationInterface() string

GetDestinationInterface returns the DestinationInterface field value

func (*FirewallRule) GetDestinationInterfaceOk

func (o *FirewallRule) GetDestinationInterfaceOk() (*string, bool)

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

func (*FirewallRule) GetDirection

func (o *FirewallRule) GetDirection() FirewallRuleDirection

GetDirection returns the Direction field value

func (*FirewallRule) GetDirectionOk

func (o *FirewallRule) GetDirectionOk() (*FirewallRuleDirection, bool)

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

func (*FirewallRule) GetFirewallId

func (o *FirewallRule) GetFirewallId() string

GetFirewallId returns the FirewallId field value

func (*FirewallRule) GetFirewallIdOk

func (o *FirewallRule) GetFirewallIdOk() (*string, bool)

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

func (*FirewallRule) GetId

func (o *FirewallRule) GetId() string

GetId returns the Id field value

func (*FirewallRule) GetIdOk

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

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

func (*FirewallRule) GetModifiedAt

func (o *FirewallRule) GetModifiedAt() time.Time

GetModifiedAt returns the ModifiedAt field value

func (*FirewallRule) GetModifiedAtOk

func (o *FirewallRule) GetModifiedAtOk() (*time.Time, bool)

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

func (*FirewallRule) GetModifiedBy

func (o *FirewallRule) GetModifiedBy() string

GetModifiedBy returns the ModifiedBy field value

func (*FirewallRule) GetModifiedByOk

func (o *FirewallRule) GetModifiedByOk() (*string, bool)

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

func (*FirewallRule) GetName

func (o *FirewallRule) GetName() string

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

func (*FirewallRule) GetNameOk

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

func (*FirewallRule) GetSequence

func (o *FirewallRule) GetSequence() int32

GetSequence returns the Sequence field value

func (*FirewallRule) GetSequenceOk

func (o *FirewallRule) GetSequenceOk() (*int32, bool)

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

func (*FirewallRule) GetService

func (o *FirewallRule) GetService() []FirewallPort

GetService returns the Service field value

func (*FirewallRule) GetServiceOk

func (o *FirewallRule) GetServiceOk() ([]FirewallPort, bool)

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

func (*FirewallRule) GetSourceAddress

func (o *FirewallRule) GetSourceAddress() []string

GetSourceAddress returns the SourceAddress field value

func (*FirewallRule) GetSourceAddressOk

func (o *FirewallRule) GetSourceAddressOk() ([]string, bool)

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

func (*FirewallRule) GetSourceInterface

func (o *FirewallRule) GetSourceInterface() string

GetSourceInterface returns the SourceInterface field value

func (*FirewallRule) GetSourceInterfaceOk

func (o *FirewallRule) GetSourceInterfaceOk() (*string, bool)

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

func (*FirewallRule) GetState

func (o *FirewallRule) GetState() FirewallRuleState

GetState returns the State field value

func (*FirewallRule) GetStateOk

func (o *FirewallRule) GetStateOk() (*FirewallRuleState, bool)

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

func (*FirewallRule) GetStatus

func (o *FirewallRule) GetStatus() FirewallStatusType

GetStatus returns the Status field value

func (*FirewallRule) GetStatusOk

func (o *FirewallRule) GetStatusOk() (*FirewallStatusType, bool)

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

func (*FirewallRule) GetVendorRuleId

func (o *FirewallRule) GetVendorRuleId() string

GetVendorRuleId returns the VendorRuleId field value

func (*FirewallRule) GetVendorRuleIdOk

func (o *FirewallRule) GetVendorRuleIdOk() (*string, bool)

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

func (*FirewallRule) HasDescription

func (o *FirewallRule) HasDescription() bool

HasDescription returns a boolean if a field has been set.

func (*FirewallRule) HasName

func (o *FirewallRule) HasName() bool

HasName returns a boolean if a field has been set.

func (FirewallRule) MarshalJSON

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

func (*FirewallRule) SetAction

func (o *FirewallRule) SetAction(v FirewallRuleAction)

SetAction sets field value

func (*FirewallRule) SetCreatedAt

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

SetCreatedAt sets field value

func (*FirewallRule) SetCreatedBy

func (o *FirewallRule) SetCreatedBy(v string)

SetCreatedBy sets field value

func (*FirewallRule) SetDescription

func (o *FirewallRule) SetDescription(v string)

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

func (*FirewallRule) SetDescriptionNil

func (o *FirewallRule) SetDescriptionNil()

SetDescriptionNil sets the value for Description to be an explicit nil

func (*FirewallRule) SetDestinationAddress

func (o *FirewallRule) SetDestinationAddress(v []string)

SetDestinationAddress sets field value

func (*FirewallRule) SetDestinationInterface

func (o *FirewallRule) SetDestinationInterface(v string)

SetDestinationInterface sets field value

func (*FirewallRule) SetDirection

func (o *FirewallRule) SetDirection(v FirewallRuleDirection)

SetDirection sets field value

func (*FirewallRule) SetFirewallId

func (o *FirewallRule) SetFirewallId(v string)

SetFirewallId sets field value

func (*FirewallRule) SetId

func (o *FirewallRule) SetId(v string)

SetId sets field value

func (*FirewallRule) SetModifiedAt

func (o *FirewallRule) SetModifiedAt(v time.Time)

SetModifiedAt sets field value

func (*FirewallRule) SetModifiedBy

func (o *FirewallRule) SetModifiedBy(v string)

SetModifiedBy sets field value

func (*FirewallRule) SetName

func (o *FirewallRule) SetName(v string)

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

func (*FirewallRule) SetNameNil

func (o *FirewallRule) SetNameNil()

SetNameNil sets the value for Name to be an explicit nil

func (*FirewallRule) SetSequence

func (o *FirewallRule) SetSequence(v int32)

SetSequence sets field value

func (*FirewallRule) SetService

func (o *FirewallRule) SetService(v []FirewallPort)

SetService sets field value

func (*FirewallRule) SetSourceAddress

func (o *FirewallRule) SetSourceAddress(v []string)

SetSourceAddress sets field value

func (*FirewallRule) SetSourceInterface

func (o *FirewallRule) SetSourceInterface(v string)

SetSourceInterface sets field value

func (*FirewallRule) SetState

func (o *FirewallRule) SetState(v FirewallRuleState)

SetState sets field value

func (*FirewallRule) SetStatus

func (o *FirewallRule) SetStatus(v FirewallStatusType)

SetStatus sets field value

func (*FirewallRule) SetVendorRuleId

func (o *FirewallRule) SetVendorRuleId(v string)

SetVendorRuleId sets field value

func (FirewallRule) ToMap

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

func (*FirewallRule) UnmarshalJSON

func (o *FirewallRule) UnmarshalJSON(data []byte) (err error)

func (*FirewallRule) UnsetDescription

func (o *FirewallRule) UnsetDescription()

UnsetDescription ensures that no value is present for Description, not even an explicit nil

func (*FirewallRule) UnsetName

func (o *FirewallRule) UnsetName()

UnsetName ensures that no value is present for Name, not even an explicit nil

type FirewallRuleAction

type FirewallRuleAction string

FirewallRuleAction the model 'FirewallRuleAction'

const (
	FIREWALLRULEACTION_ALLOW FirewallRuleAction = "ALLOW"
	FIREWALLRULEACTION_DENY  FirewallRuleAction = "DENY"
)

List of FirewallRuleAction

func NewFirewallRuleActionFromValue

func NewFirewallRuleActionFromValue(v string) (*FirewallRuleAction, error)

NewFirewallRuleActionFromValue returns a pointer to a valid FirewallRuleAction for the value passed as argument, or an error if the value passed is not allowed by the enum

func (FirewallRuleAction) IsValid

func (v FirewallRuleAction) IsValid() bool

IsValid return true if the value is valid for the enum, false otherwise

func (FirewallRuleAction) Ptr

Ptr returns reference to FirewallRuleAction value

func (*FirewallRuleAction) UnmarshalJSON

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

type FirewallRuleCreateBulkRequest

type FirewallRuleCreateBulkRequest struct {
	// Firewall ID
	FirewallId string `json:"firewall_id"`
	// Firewall Rule List
	FirewallRuleList []FirewallRuleCreateRequest `json:"firewall_rule_list"`
}

FirewallRuleCreateBulkRequest struct for FirewallRuleCreateBulkRequest

func NewFirewallRuleCreateBulkRequest

func NewFirewallRuleCreateBulkRequest(firewallId string, firewallRuleList []FirewallRuleCreateRequest) *FirewallRuleCreateBulkRequest

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

func NewFirewallRuleCreateBulkRequestWithDefaults

func NewFirewallRuleCreateBulkRequestWithDefaults() *FirewallRuleCreateBulkRequest

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

func (*FirewallRuleCreateBulkRequest) GetFirewallId

func (o *FirewallRuleCreateBulkRequest) GetFirewallId() string

GetFirewallId returns the FirewallId field value

func (*FirewallRuleCreateBulkRequest) GetFirewallIdOk

func (o *FirewallRuleCreateBulkRequest) GetFirewallIdOk() (*string, bool)

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

func (*FirewallRuleCreateBulkRequest) GetFirewallRuleList

func (o *FirewallRuleCreateBulkRequest) GetFirewallRuleList() []FirewallRuleCreateRequest

GetFirewallRuleList returns the FirewallRuleList field value

func (*FirewallRuleCreateBulkRequest) GetFirewallRuleListOk

func (o *FirewallRuleCreateBulkRequest) GetFirewallRuleListOk() ([]FirewallRuleCreateRequest, bool)

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

func (FirewallRuleCreateBulkRequest) MarshalJSON

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

func (*FirewallRuleCreateBulkRequest) SetFirewallId

func (o *FirewallRuleCreateBulkRequest) SetFirewallId(v string)

SetFirewallId sets field value

func (*FirewallRuleCreateBulkRequest) SetFirewallRuleList

func (o *FirewallRuleCreateBulkRequest) SetFirewallRuleList(v []FirewallRuleCreateRequest)

SetFirewallRuleList sets field value

func (FirewallRuleCreateBulkRequest) ToMap

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

func (*FirewallRuleCreateBulkRequest) UnmarshalJSON

func (o *FirewallRuleCreateBulkRequest) UnmarshalJSON(data []byte) (err error)

type FirewallRuleCreateRequest

type FirewallRuleCreateRequest struct {
	// Firewall Rule Action
	Action      FirewallRuleAction `json:"action"`
	Description NullableString     `json:"description,omitempty"`
	// Destination Address
	DestinationAddress []string `json:"destination_address"`
	// Firewall Rule Direction
	Direction FirewallRuleDirection `json:"direction"`
	// Order Direction
	OrderDirection *FirewallRuleOrderDirection `json:"order_direction,omitempty"`
	// Order Rule ID
	OrderRuleId *string `json:"order_rule_id,omitempty"`
	// Service Port
	Service []FirewallPort `json:"service"`
	// Source Address
	SourceAddress []string `json:"source_address"`
	// Firewall Rule Status
	Status FirewallStatusType `json:"status"`
}

FirewallRuleCreateRequest struct for FirewallRuleCreateRequest

func NewFirewallRuleCreateRequest

func NewFirewallRuleCreateRequest(action FirewallRuleAction, destinationAddress []string, direction FirewallRuleDirection, service []FirewallPort, sourceAddress []string, status FirewallStatusType) *FirewallRuleCreateRequest

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

func NewFirewallRuleCreateRequestWithDefaults

func NewFirewallRuleCreateRequestWithDefaults() *FirewallRuleCreateRequest

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

func (*FirewallRuleCreateRequest) GetAction

GetAction returns the Action field value

func (*FirewallRuleCreateRequest) GetActionOk

func (o *FirewallRuleCreateRequest) GetActionOk() (*FirewallRuleAction, bool)

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

func (*FirewallRuleCreateRequest) GetDescription

func (o *FirewallRuleCreateRequest) GetDescription() string

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

func (*FirewallRuleCreateRequest) GetDescriptionOk

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

func (*FirewallRuleCreateRequest) GetDestinationAddress

func (o *FirewallRuleCreateRequest) GetDestinationAddress() []string

GetDestinationAddress returns the DestinationAddress field value

func (*FirewallRuleCreateRequest) GetDestinationAddressOk

func (o *FirewallRuleCreateRequest) GetDestinationAddressOk() ([]string, bool)

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

func (*FirewallRuleCreateRequest) GetDirection

GetDirection returns the Direction field value

func (*FirewallRuleCreateRequest) GetDirectionOk

func (o *FirewallRuleCreateRequest) GetDirectionOk() (*FirewallRuleDirection, bool)

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

func (*FirewallRuleCreateRequest) GetOrderDirection

GetOrderDirection returns the OrderDirection field value if set, zero value otherwise.

func (*FirewallRuleCreateRequest) GetOrderDirectionOk

func (o *FirewallRuleCreateRequest) GetOrderDirectionOk() (*FirewallRuleOrderDirection, bool)

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

func (*FirewallRuleCreateRequest) GetOrderRuleId

func (o *FirewallRuleCreateRequest) GetOrderRuleId() string

GetOrderRuleId returns the OrderRuleId field value if set, zero value otherwise.

func (*FirewallRuleCreateRequest) GetOrderRuleIdOk

func (o *FirewallRuleCreateRequest) GetOrderRuleIdOk() (*string, bool)

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

func (*FirewallRuleCreateRequest) GetService

func (o *FirewallRuleCreateRequest) GetService() []FirewallPort

GetService returns the Service field value

func (*FirewallRuleCreateRequest) GetServiceOk

func (o *FirewallRuleCreateRequest) GetServiceOk() ([]FirewallPort, bool)

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

func (*FirewallRuleCreateRequest) GetSourceAddress

func (o *FirewallRuleCreateRequest) GetSourceAddress() []string

GetSourceAddress returns the SourceAddress field value

func (*FirewallRuleCreateRequest) GetSourceAddressOk

func (o *FirewallRuleCreateRequest) GetSourceAddressOk() ([]string, bool)

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

func (*FirewallRuleCreateRequest) GetStatus

GetStatus returns the Status field value

func (*FirewallRuleCreateRequest) GetStatusOk

func (o *FirewallRuleCreateRequest) GetStatusOk() (*FirewallStatusType, bool)

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

func (*FirewallRuleCreateRequest) HasDescription

func (o *FirewallRuleCreateRequest) HasDescription() bool

HasDescription returns a boolean if a field has been set.

func (*FirewallRuleCreateRequest) HasOrderDirection

func (o *FirewallRuleCreateRequest) HasOrderDirection() bool

HasOrderDirection returns a boolean if a field has been set.

func (*FirewallRuleCreateRequest) HasOrderRuleId

func (o *FirewallRuleCreateRequest) HasOrderRuleId() bool

HasOrderRuleId returns a boolean if a field has been set.

func (FirewallRuleCreateRequest) MarshalJSON

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

func (*FirewallRuleCreateRequest) SetAction

SetAction sets field value

func (*FirewallRuleCreateRequest) SetDescription

func (o *FirewallRuleCreateRequest) SetDescription(v string)

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

func (*FirewallRuleCreateRequest) SetDescriptionNil

func (o *FirewallRuleCreateRequest) SetDescriptionNil()

SetDescriptionNil sets the value for Description to be an explicit nil

func (*FirewallRuleCreateRequest) SetDestinationAddress

func (o *FirewallRuleCreateRequest) SetDestinationAddress(v []string)

SetDestinationAddress sets field value

func (*FirewallRuleCreateRequest) SetDirection

SetDirection sets field value

func (*FirewallRuleCreateRequest) SetOrderDirection

func (o *FirewallRuleCreateRequest) SetOrderDirection(v FirewallRuleOrderDirection)

SetOrderDirection gets a reference to the given FirewallRuleOrderDirection and assigns it to the OrderDirection field.

func (*FirewallRuleCreateRequest) SetOrderRuleId

func (o *FirewallRuleCreateRequest) SetOrderRuleId(v string)

SetOrderRuleId gets a reference to the given string and assigns it to the OrderRuleId field.

func (*FirewallRuleCreateRequest) SetService

func (o *FirewallRuleCreateRequest) SetService(v []FirewallPort)

SetService sets field value

func (*FirewallRuleCreateRequest) SetSourceAddress

func (o *FirewallRuleCreateRequest) SetSourceAddress(v []string)

SetSourceAddress sets field value

func (*FirewallRuleCreateRequest) SetStatus

SetStatus sets field value

func (FirewallRuleCreateRequest) ToMap

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

func (*FirewallRuleCreateRequest) UnmarshalJSON

func (o *FirewallRuleCreateRequest) UnmarshalJSON(data []byte) (err error)

func (*FirewallRuleCreateRequest) UnsetDescription

func (o *FirewallRuleCreateRequest) UnsetDescription()

UnsetDescription ensures that no value is present for Description, not even an explicit nil

type FirewallRuleCreateSingleRequest

type FirewallRuleCreateSingleRequest struct {
	// Firewall ID
	FirewallId string `json:"firewall_id"`
	// Firewall Rule List
	FirewallRule FirewallRuleCreateRequest `json:"firewall_rule"`
}

FirewallRuleCreateSingleRequest struct for FirewallRuleCreateSingleRequest

func NewFirewallRuleCreateSingleRequest

func NewFirewallRuleCreateSingleRequest(firewallId string, firewallRule FirewallRuleCreateRequest) *FirewallRuleCreateSingleRequest

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

func NewFirewallRuleCreateSingleRequestWithDefaults

func NewFirewallRuleCreateSingleRequestWithDefaults() *FirewallRuleCreateSingleRequest

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

func (*FirewallRuleCreateSingleRequest) GetFirewallId

func (o *FirewallRuleCreateSingleRequest) GetFirewallId() string

GetFirewallId returns the FirewallId field value

func (*FirewallRuleCreateSingleRequest) GetFirewallIdOk

func (o *FirewallRuleCreateSingleRequest) GetFirewallIdOk() (*string, bool)

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

func (*FirewallRuleCreateSingleRequest) GetFirewallRule

GetFirewallRule returns the FirewallRule field value

func (*FirewallRuleCreateSingleRequest) GetFirewallRuleOk

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

func (FirewallRuleCreateSingleRequest) MarshalJSON

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

func (*FirewallRuleCreateSingleRequest) SetFirewallId

func (o *FirewallRuleCreateSingleRequest) SetFirewallId(v string)

SetFirewallId sets field value

func (*FirewallRuleCreateSingleRequest) SetFirewallRule

SetFirewallRule sets field value

func (FirewallRuleCreateSingleRequest) ToMap

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

func (*FirewallRuleCreateSingleRequest) UnmarshalJSON

func (o *FirewallRuleCreateSingleRequest) UnmarshalJSON(data []byte) (err error)

type FirewallRuleDeleteBulkRequest

type FirewallRuleDeleteBulkRequest struct {
	// Firewall Rule ID
	FirewallRuleId []string `json:"firewall_rule_id"`
}

FirewallRuleDeleteBulkRequest struct for FirewallRuleDeleteBulkRequest

func NewFirewallRuleDeleteBulkRequest

func NewFirewallRuleDeleteBulkRequest(firewallRuleId []string) *FirewallRuleDeleteBulkRequest

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

func NewFirewallRuleDeleteBulkRequestWithDefaults

func NewFirewallRuleDeleteBulkRequestWithDefaults() *FirewallRuleDeleteBulkRequest

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

func (*FirewallRuleDeleteBulkRequest) GetFirewallRuleId

func (o *FirewallRuleDeleteBulkRequest) GetFirewallRuleId() []string

GetFirewallRuleId returns the FirewallRuleId field value

func (*FirewallRuleDeleteBulkRequest) GetFirewallRuleIdOk

func (o *FirewallRuleDeleteBulkRequest) GetFirewallRuleIdOk() ([]string, bool)

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

func (FirewallRuleDeleteBulkRequest) MarshalJSON

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

func (*FirewallRuleDeleteBulkRequest) SetFirewallRuleId

func (o *FirewallRuleDeleteBulkRequest) SetFirewallRuleId(v []string)

SetFirewallRuleId sets field value

func (FirewallRuleDeleteBulkRequest) ToMap

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

func (*FirewallRuleDeleteBulkRequest) UnmarshalJSON

func (o *FirewallRuleDeleteBulkRequest) UnmarshalJSON(data []byte) (err error)

type FirewallRuleDirection

type FirewallRuleDirection string

FirewallRuleDirection the model 'FirewallRuleDirection'

const (
	FIREWALLRULEDIRECTION_INBOUND  FirewallRuleDirection = "INBOUND"
	FIREWALLRULEDIRECTION_OUTBOUND FirewallRuleDirection = "OUTBOUND"
)

List of FirewallRuleDirection

func NewFirewallRuleDirectionFromValue

func NewFirewallRuleDirectionFromValue(v string) (*FirewallRuleDirection, error)

NewFirewallRuleDirectionFromValue returns a pointer to a valid FirewallRuleDirection for the value passed as argument, or an error if the value passed is not allowed by the enum

func (FirewallRuleDirection) IsValid

func (v FirewallRuleDirection) IsValid() bool

IsValid return true if the value is valid for the enum, false otherwise

func (FirewallRuleDirection) Ptr

Ptr returns reference to FirewallRuleDirection value

func (*FirewallRuleDirection) UnmarshalJSON

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

type FirewallRuleListResponse

type FirewallRuleListResponse struct {
	// count
	Count         int32          `json:"count"`
	FirewallRules []FirewallRule `json:"firewall_rules"`
	// page
	Page int32 `json:"page"`
	// size
	Size int32    `json:"size"`
	Sort []string `json:"sort,omitempty"`
}

FirewallRuleListResponse struct for FirewallRuleListResponse

func NewFirewallRuleListResponse

func NewFirewallRuleListResponse(count int32, firewallRules []FirewallRule, page int32, size int32) *FirewallRuleListResponse

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

func NewFirewallRuleListResponseWithDefaults

func NewFirewallRuleListResponseWithDefaults() *FirewallRuleListResponse

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

func (*FirewallRuleListResponse) GetCount

func (o *FirewallRuleListResponse) GetCount() int32

GetCount returns the Count field value

func (*FirewallRuleListResponse) GetCountOk

func (o *FirewallRuleListResponse) GetCountOk() (*int32, bool)

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

func (*FirewallRuleListResponse) GetFirewallRules

func (o *FirewallRuleListResponse) GetFirewallRules() []FirewallRule

GetFirewallRules returns the FirewallRules field value

func (*FirewallRuleListResponse) GetFirewallRulesOk

func (o *FirewallRuleListResponse) GetFirewallRulesOk() ([]FirewallRule, bool)

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

func (*FirewallRuleListResponse) GetPage

func (o *FirewallRuleListResponse) GetPage() int32

GetPage returns the Page field value

func (*FirewallRuleListResponse) GetPageOk

func (o *FirewallRuleListResponse) GetPageOk() (*int32, bool)

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

func (*FirewallRuleListResponse) GetSize

func (o *FirewallRuleListResponse) GetSize() int32

GetSize returns the Size field value

func (*FirewallRuleListResponse) GetSizeOk

func (o *FirewallRuleListResponse) GetSizeOk() (*int32, bool)

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

func (*FirewallRuleListResponse) GetSort

func (o *FirewallRuleListResponse) GetSort() []string

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

func (*FirewallRuleListResponse) GetSortOk

func (o *FirewallRuleListResponse) GetSortOk() ([]string, bool)

GetSortOk returns a tuple with the Sort 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 (*FirewallRuleListResponse) HasSort

func (o *FirewallRuleListResponse) HasSort() bool

HasSort returns a boolean if a field has been set.

func (FirewallRuleListResponse) MarshalJSON

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

func (*FirewallRuleListResponse) SetCount

func (o *FirewallRuleListResponse) SetCount(v int32)

SetCount sets field value

func (*FirewallRuleListResponse) SetFirewallRules

func (o *FirewallRuleListResponse) SetFirewallRules(v []FirewallRule)

SetFirewallRules sets field value

func (*FirewallRuleListResponse) SetPage

func (o *FirewallRuleListResponse) SetPage(v int32)

SetPage sets field value

func (*FirewallRuleListResponse) SetSize

func (o *FirewallRuleListResponse) SetSize(v int32)

SetSize sets field value

func (*FirewallRuleListResponse) SetSort

func (o *FirewallRuleListResponse) SetSort(v []string)

SetSort gets a reference to the given []string and assigns it to the Sort field.

func (FirewallRuleListResponse) ToMap

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

func (*FirewallRuleListResponse) UnmarshalJSON

func (o *FirewallRuleListResponse) UnmarshalJSON(data []byte) (err error)

type FirewallRuleOrderDirection

type FirewallRuleOrderDirection string

FirewallRuleOrderDirection the model 'FirewallRuleOrderDirection'

const (
	FIREWALLRULEORDERDIRECTION_BEFORE FirewallRuleOrderDirection = "BEFORE"
	FIREWALLRULEORDERDIRECTION_AFTER  FirewallRuleOrderDirection = "AFTER"
	FIREWALLRULEORDERDIRECTION_BOTTOM FirewallRuleOrderDirection = "BOTTOM"
)

List of FirewallRuleOrderDirection

func NewFirewallRuleOrderDirectionFromValue

func NewFirewallRuleOrderDirectionFromValue(v string) (*FirewallRuleOrderDirection, error)

NewFirewallRuleOrderDirectionFromValue returns a pointer to a valid FirewallRuleOrderDirection for the value passed as argument, or an error if the value passed is not allowed by the enum

func (FirewallRuleOrderDirection) IsValid

func (v FirewallRuleOrderDirection) IsValid() bool

IsValid return true if the value is valid for the enum, false otherwise

func (FirewallRuleOrderDirection) Ptr

Ptr returns reference to FirewallRuleOrderDirection value

func (*FirewallRuleOrderDirection) UnmarshalJSON

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

type FirewallRuleSetOrderRequest

type FirewallRuleSetOrderRequest struct {
	// Order Direction
	OrderDirection FirewallRuleOrderDirection `json:"order_direction"`
	// Order Rule ID
	OrderRuleId *string `json:"order_rule_id,omitempty"`
}

FirewallRuleSetOrderRequest struct for FirewallRuleSetOrderRequest

func NewFirewallRuleSetOrderRequest

func NewFirewallRuleSetOrderRequest(orderDirection FirewallRuleOrderDirection) *FirewallRuleSetOrderRequest

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

func NewFirewallRuleSetOrderRequestWithDefaults

func NewFirewallRuleSetOrderRequestWithDefaults() *FirewallRuleSetOrderRequest

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

func (*FirewallRuleSetOrderRequest) GetOrderDirection

GetOrderDirection returns the OrderDirection field value

func (*FirewallRuleSetOrderRequest) GetOrderDirectionOk

func (o *FirewallRuleSetOrderRequest) GetOrderDirectionOk() (*FirewallRuleOrderDirection, bool)

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

func (*FirewallRuleSetOrderRequest) GetOrderRuleId

func (o *FirewallRuleSetOrderRequest) GetOrderRuleId() string

GetOrderRuleId returns the OrderRuleId field value if set, zero value otherwise.

func (*FirewallRuleSetOrderRequest) GetOrderRuleIdOk

func (o *FirewallRuleSetOrderRequest) GetOrderRuleIdOk() (*string, bool)

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

func (*FirewallRuleSetOrderRequest) HasOrderRuleId

func (o *FirewallRuleSetOrderRequest) HasOrderRuleId() bool

HasOrderRuleId returns a boolean if a field has been set.

func (FirewallRuleSetOrderRequest) MarshalJSON

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

func (*FirewallRuleSetOrderRequest) SetOrderDirection

SetOrderDirection sets field value

func (*FirewallRuleSetOrderRequest) SetOrderRuleId

func (o *FirewallRuleSetOrderRequest) SetOrderRuleId(v string)

SetOrderRuleId gets a reference to the given string and assigns it to the OrderRuleId field.

func (FirewallRuleSetOrderRequest) ToMap

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

func (*FirewallRuleSetOrderRequest) UnmarshalJSON

func (o *FirewallRuleSetOrderRequest) UnmarshalJSON(data []byte) (err error)

type FirewallRuleSetRequest

type FirewallRuleSetRequest struct {
	// Firewall Rule Action
	Action      FirewallRuleAction `json:"action"`
	Description NullableString     `json:"description,omitempty"`
	// Destination Address
	DestinationAddress []string `json:"destination_address"`
	// Firewall Rule Direction
	Direction FirewallRuleDirection `json:"direction"`
	// Service Port
	Service []FirewallPort `json:"service"`
	// Source Address
	SourceAddress []string `json:"source_address"`
}

FirewallRuleSetRequest struct for FirewallRuleSetRequest

func NewFirewallRuleSetRequest

func NewFirewallRuleSetRequest(action FirewallRuleAction, destinationAddress []string, direction FirewallRuleDirection, service []FirewallPort, sourceAddress []string) *FirewallRuleSetRequest

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

func NewFirewallRuleSetRequestWithDefaults

func NewFirewallRuleSetRequestWithDefaults() *FirewallRuleSetRequest

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

func (*FirewallRuleSetRequest) GetAction

GetAction returns the Action field value

func (*FirewallRuleSetRequest) GetActionOk

func (o *FirewallRuleSetRequest) GetActionOk() (*FirewallRuleAction, bool)

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

func (*FirewallRuleSetRequest) GetDescription

func (o *FirewallRuleSetRequest) GetDescription() string

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

func (*FirewallRuleSetRequest) GetDescriptionOk

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

func (*FirewallRuleSetRequest) GetDestinationAddress

func (o *FirewallRuleSetRequest) GetDestinationAddress() []string

GetDestinationAddress returns the DestinationAddress field value

func (*FirewallRuleSetRequest) GetDestinationAddressOk

func (o *FirewallRuleSetRequest) GetDestinationAddressOk() ([]string, bool)

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

func (*FirewallRuleSetRequest) GetDirection

GetDirection returns the Direction field value

func (*FirewallRuleSetRequest) GetDirectionOk

func (o *FirewallRuleSetRequest) GetDirectionOk() (*FirewallRuleDirection, bool)

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

func (*FirewallRuleSetRequest) GetService

func (o *FirewallRuleSetRequest) GetService() []FirewallPort

GetService returns the Service field value

func (*FirewallRuleSetRequest) GetServiceOk

func (o *FirewallRuleSetRequest) GetServiceOk() ([]FirewallPort, bool)

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

func (*FirewallRuleSetRequest) GetSourceAddress

func (o *FirewallRuleSetRequest) GetSourceAddress() []string

GetSourceAddress returns the SourceAddress field value

func (*FirewallRuleSetRequest) GetSourceAddressOk

func (o *FirewallRuleSetRequest) GetSourceAddressOk() ([]string, bool)

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

func (*FirewallRuleSetRequest) HasDescription

func (o *FirewallRuleSetRequest) HasDescription() bool

HasDescription returns a boolean if a field has been set.

func (FirewallRuleSetRequest) MarshalJSON

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

func (*FirewallRuleSetRequest) SetAction

SetAction sets field value

func (*FirewallRuleSetRequest) SetDescription

func (o *FirewallRuleSetRequest) SetDescription(v string)

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

func (*FirewallRuleSetRequest) SetDescriptionNil

func (o *FirewallRuleSetRequest) SetDescriptionNil()

SetDescriptionNil sets the value for Description to be an explicit nil

func (*FirewallRuleSetRequest) SetDestinationAddress

func (o *FirewallRuleSetRequest) SetDestinationAddress(v []string)

SetDestinationAddress sets field value

func (*FirewallRuleSetRequest) SetDirection

func (o *FirewallRuleSetRequest) SetDirection(v FirewallRuleDirection)

SetDirection sets field value

func (*FirewallRuleSetRequest) SetService

func (o *FirewallRuleSetRequest) SetService(v []FirewallPort)

SetService sets field value

func (*FirewallRuleSetRequest) SetSourceAddress

func (o *FirewallRuleSetRequest) SetSourceAddress(v []string)

SetSourceAddress sets field value

func (FirewallRuleSetRequest) ToMap

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

func (*FirewallRuleSetRequest) UnmarshalJSON

func (o *FirewallRuleSetRequest) UnmarshalJSON(data []byte) (err error)

func (*FirewallRuleSetRequest) UnsetDescription

func (o *FirewallRuleSetRequest) UnsetDescription()

UnsetDescription ensures that no value is present for Description, not even an explicit nil

type FirewallRuleShowResponse

type FirewallRuleShowResponse struct {
	FirewallRule FirewallRule `json:"firewall_rule"`
}

FirewallRuleShowResponse struct for FirewallRuleShowResponse

func NewFirewallRuleShowResponse

func NewFirewallRuleShowResponse(firewallRule FirewallRule) *FirewallRuleShowResponse

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

func NewFirewallRuleShowResponseWithDefaults

func NewFirewallRuleShowResponseWithDefaults() *FirewallRuleShowResponse

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

func (*FirewallRuleShowResponse) GetFirewallRule

func (o *FirewallRuleShowResponse) GetFirewallRule() FirewallRule

GetFirewallRule returns the FirewallRule field value

func (*FirewallRuleShowResponse) GetFirewallRuleOk

func (o *FirewallRuleShowResponse) GetFirewallRuleOk() (*FirewallRule, bool)

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

func (FirewallRuleShowResponse) MarshalJSON

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

func (*FirewallRuleShowResponse) SetFirewallRule

func (o *FirewallRuleShowResponse) SetFirewallRule(v FirewallRule)

SetFirewallRule sets field value

func (FirewallRuleShowResponse) ToMap

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

func (*FirewallRuleShowResponse) UnmarshalJSON

func (o *FirewallRuleShowResponse) UnmarshalJSON(data []byte) (err error)

type FirewallRuleState

type FirewallRuleState string

FirewallRuleState the model 'FirewallRuleState'

const (
	FIREWALLRULESTATE_CREATING FirewallRuleState = "CREATING"
	FIREWALLRULESTATE_ACTIVE   FirewallRuleState = "ACTIVE"
	FIREWALLRULESTATE_DELETING FirewallRuleState = "DELETING"
	FIREWALLRULESTATE_DELETED  FirewallRuleState = "DELETED"
	FIREWALLRULESTATE_EDITING  FirewallRuleState = "EDITING"
	FIREWALLRULESTATE_ERROR    FirewallRuleState = "ERROR"
)

List of FirewallRuleState

func NewFirewallRuleStateFromValue

func NewFirewallRuleStateFromValue(v string) (*FirewallRuleState, error)

NewFirewallRuleStateFromValue returns a pointer to a valid FirewallRuleState for the value passed as argument, or an error if the value passed is not allowed by the enum

func (FirewallRuleState) IsValid

func (v FirewallRuleState) IsValid() bool

IsValid return true if the value is valid for the enum, false otherwise

func (FirewallRuleState) Ptr

Ptr returns reference to FirewallRuleState value

func (*FirewallRuleState) UnmarshalJSON

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

type FirewallRuleUpdateBulkRequest

type FirewallRuleUpdateBulkRequest struct {
	// Firewall Rule ID
	FirewallRuleId []string `json:"firewall_rule_id"`
	// Firewall Rule Status
	Status FirewallStatusType `json:"status"`
}

FirewallRuleUpdateBulkRequest struct for FirewallRuleUpdateBulkRequest

func NewFirewallRuleUpdateBulkRequest

func NewFirewallRuleUpdateBulkRequest(firewallRuleId []string, status FirewallStatusType) *FirewallRuleUpdateBulkRequest

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

func NewFirewallRuleUpdateBulkRequestWithDefaults

func NewFirewallRuleUpdateBulkRequestWithDefaults() *FirewallRuleUpdateBulkRequest

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

func (*FirewallRuleUpdateBulkRequest) GetFirewallRuleId

func (o *FirewallRuleUpdateBulkRequest) GetFirewallRuleId() []string

GetFirewallRuleId returns the FirewallRuleId field value

func (*FirewallRuleUpdateBulkRequest) GetFirewallRuleIdOk

func (o *FirewallRuleUpdateBulkRequest) GetFirewallRuleIdOk() ([]string, bool)

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

func (*FirewallRuleUpdateBulkRequest) GetStatus

GetStatus returns the Status field value

func (*FirewallRuleUpdateBulkRequest) GetStatusOk

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

func (FirewallRuleUpdateBulkRequest) MarshalJSON

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

func (*FirewallRuleUpdateBulkRequest) SetFirewallRuleId

func (o *FirewallRuleUpdateBulkRequest) SetFirewallRuleId(v []string)

SetFirewallRuleId sets field value

func (*FirewallRuleUpdateBulkRequest) SetStatus

SetStatus sets field value

func (FirewallRuleUpdateBulkRequest) ToMap

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

func (*FirewallRuleUpdateBulkRequest) UnmarshalJSON

func (o *FirewallRuleUpdateBulkRequest) UnmarshalJSON(data []byte) (err error)

type FirewallServiceType

type FirewallServiceType string

FirewallServiceType the model 'FirewallServiceType'

const (
	FIREWALLSERVICETYPE_TCP      FirewallServiceType = "TCP"
	FIREWALLSERVICETYPE_UDP      FirewallServiceType = "UDP"
	FIREWALLSERVICETYPE_ICMP     FirewallServiceType = "ICMP"
	FIREWALLSERVICETYPE_IP       FirewallServiceType = "IP"
	FIREWALLSERVICETYPE_TCP_ALL  FirewallServiceType = "TCP_ALL"
	FIREWALLSERVICETYPE_UDP_ALL  FirewallServiceType = "UDP_ALL"
	FIREWALLSERVICETYPE_ICMP_ALL FirewallServiceType = "ICMP_ALL"
	FIREWALLSERVICETYPE_ALL      FirewallServiceType = "ALL"
)

List of FirewallServiceType

func NewFirewallServiceTypeFromValue

func NewFirewallServiceTypeFromValue(v string) (*FirewallServiceType, error)

NewFirewallServiceTypeFromValue returns a pointer to a valid FirewallServiceType for the value passed as argument, or an error if the value passed is not allowed by the enum

func (FirewallServiceType) IsValid

func (v FirewallServiceType) IsValid() bool

IsValid return true if the value is valid for the enum, false otherwise

func (FirewallServiceType) Ptr

Ptr returns reference to FirewallServiceType value

func (*FirewallServiceType) UnmarshalJSON

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

type FirewallSetRequest

type FirewallSetRequest struct {
	// Firewall Size Name
	FlavorName *FirewallFlavorType `json:"flavor_name,omitempty"`
	// Logging Use
	Loggable *bool `json:"loggable,omitempty"`
}

FirewallSetRequest struct for FirewallSetRequest

func NewFirewallSetRequest

func NewFirewallSetRequest() *FirewallSetRequest

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

func NewFirewallSetRequestWithDefaults

func NewFirewallSetRequestWithDefaults() *FirewallSetRequest

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

func (*FirewallSetRequest) GetFlavorName

func (o *FirewallSetRequest) GetFlavorName() FirewallFlavorType

GetFlavorName returns the FlavorName field value if set, zero value otherwise.

func (*FirewallSetRequest) GetFlavorNameOk

func (o *FirewallSetRequest) GetFlavorNameOk() (*FirewallFlavorType, bool)

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

func (*FirewallSetRequest) GetLoggable

func (o *FirewallSetRequest) GetLoggable() bool

GetLoggable returns the Loggable field value if set, zero value otherwise.

func (*FirewallSetRequest) GetLoggableOk

func (o *FirewallSetRequest) GetLoggableOk() (*bool, bool)

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

func (*FirewallSetRequest) HasFlavorName

func (o *FirewallSetRequest) HasFlavorName() bool

HasFlavorName returns a boolean if a field has been set.

func (*FirewallSetRequest) HasLoggable

func (o *FirewallSetRequest) HasLoggable() bool

HasLoggable returns a boolean if a field has been set.

func (FirewallSetRequest) MarshalJSON

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

func (*FirewallSetRequest) SetFlavorName

func (o *FirewallSetRequest) SetFlavorName(v FirewallFlavorType)

SetFlavorName gets a reference to the given FirewallFlavorType and assigns it to the FlavorName field.

func (*FirewallSetRequest) SetLoggable

func (o *FirewallSetRequest) SetLoggable(v bool)

SetLoggable gets a reference to the given bool and assigns it to the Loggable field.

func (FirewallSetRequest) ToMap

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

type FirewallSetStatusRequest

type FirewallSetStatusRequest struct {
	// Firewall Status
	Status FirewallStatusType `json:"status"`
}

FirewallSetStatusRequest struct for FirewallSetStatusRequest

func NewFirewallSetStatusRequest

func NewFirewallSetStatusRequest(status FirewallStatusType) *FirewallSetStatusRequest

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

func NewFirewallSetStatusRequestWithDefaults

func NewFirewallSetStatusRequestWithDefaults() *FirewallSetStatusRequest

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

func (*FirewallSetStatusRequest) GetStatus

GetStatus returns the Status field value

func (*FirewallSetStatusRequest) GetStatusOk

func (o *FirewallSetStatusRequest) GetStatusOk() (*FirewallStatusType, bool)

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

func (FirewallSetStatusRequest) MarshalJSON

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

func (*FirewallSetStatusRequest) SetStatus

SetStatus sets field value

func (FirewallSetStatusRequest) ToMap

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

func (*FirewallSetStatusRequest) UnmarshalJSON

func (o *FirewallSetStatusRequest) UnmarshalJSON(data []byte) (err error)

type FirewallShowResponse

type FirewallShowResponse struct {
	Firewall Firewall `json:"firewall"`
}

FirewallShowResponse struct for FirewallShowResponse

func NewFirewallShowResponse

func NewFirewallShowResponse(firewall Firewall) *FirewallShowResponse

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

func NewFirewallShowResponseWithDefaults

func NewFirewallShowResponseWithDefaults() *FirewallShowResponse

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

func (*FirewallShowResponse) GetFirewall

func (o *FirewallShowResponse) GetFirewall() Firewall

GetFirewall returns the Firewall field value

func (*FirewallShowResponse) GetFirewallOk

func (o *FirewallShowResponse) GetFirewallOk() (*Firewall, bool)

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

func (FirewallShowResponse) MarshalJSON

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

func (*FirewallShowResponse) SetFirewall

func (o *FirewallShowResponse) SetFirewall(v Firewall)

SetFirewall sets field value

func (FirewallShowResponse) ToMap

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

func (*FirewallShowResponse) UnmarshalJSON

func (o *FirewallShowResponse) UnmarshalJSON(data []byte) (err error)

type FirewallState

type FirewallState string

FirewallState the model 'FirewallState'

const (
	FIREWALLSTATE_CREATING  FirewallState = "CREATING"
	FIREWALLSTATE_ACTIVE    FirewallState = "ACTIVE"
	FIREWALLSTATE_DELETING  FirewallState = "DELETING"
	FIREWALLSTATE_DELETED   FirewallState = "DELETED"
	FIREWALLSTATE_EDITING   FirewallState = "EDITING"
	FIREWALLSTATE_ERROR     FirewallState = "ERROR"
	FIREWALLSTATE_DEPLOYING FirewallState = "DEPLOYING"
)

List of FirewallState

func NewFirewallStateFromValue

func NewFirewallStateFromValue(v string) (*FirewallState, error)

NewFirewallStateFromValue returns a pointer to a valid FirewallState for the value passed as argument, or an error if the value passed is not allowed by the enum

func (FirewallState) IsValid

func (v FirewallState) IsValid() bool

IsValid return true if the value is valid for the enum, false otherwise

func (FirewallState) Ptr

func (v FirewallState) Ptr() *FirewallState

Ptr returns reference to FirewallState value

func (*FirewallState) UnmarshalJSON

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

type FirewallStatusType

type FirewallStatusType string

FirewallStatusType the model 'FirewallStatusType'

const (
	FIREWALLSTATUSTYPE_ENABLE  FirewallStatusType = "ENABLE"
	FIREWALLSTATUSTYPE_DISABLE FirewallStatusType = "DISABLE"
)

List of FirewallStatusType

func NewFirewallStatusTypeFromValue

func NewFirewallStatusTypeFromValue(v string) (*FirewallStatusType, error)

NewFirewallStatusTypeFromValue returns a pointer to a valid FirewallStatusType for the value passed as argument, or an error if the value passed is not allowed by the enum

func (FirewallStatusType) IsValid

func (v FirewallStatusType) IsValid() bool

IsValid return true if the value is valid for the enum, false otherwise

func (FirewallStatusType) Ptr

Ptr returns reference to FirewallStatusType value

func (*FirewallStatusType) UnmarshalJSON

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

type FirewallV1FirewallApiAPIListFirewallsRequest

type FirewallV1FirewallApiAPIListFirewallsRequest struct {
	ApiService *FirewallV1FirewallApiAPIService
	// contains filtered or unexported fields
}

func (FirewallV1FirewallApiAPIListFirewallsRequest) Execute

func (FirewallV1FirewallApiAPIListFirewallsRequest) Name

Firewall Name

func (FirewallV1FirewallApiAPIListFirewallsRequest) Page

page

func (FirewallV1FirewallApiAPIListFirewallsRequest) ProductType

Firewall Product Type

func (FirewallV1FirewallApiAPIListFirewallsRequest) Size

size

func (FirewallV1FirewallApiAPIListFirewallsRequest) Sort

sort

func (FirewallV1FirewallApiAPIListFirewallsRequest) State

Firewall State

func (FirewallV1FirewallApiAPIListFirewallsRequest) VpcName

VPC Name

type FirewallV1FirewallApiAPIService

type FirewallV1FirewallApiAPIService service

FirewallV1FirewallApiAPIService FirewallV1FirewallApiAPI service

func (*FirewallV1FirewallApiAPIService) ListFirewalls

ListFirewalls List Firewalls

Get firewall list.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@return FirewallV1FirewallApiAPIListFirewallsRequest

func (*FirewallV1FirewallApiAPIService) ListFirewallsExecute

Execute executes the request

@return FirewallListResponse

func (*FirewallV1FirewallApiAPIService) SetFirewall

SetFirewall Set Firewall

Set firewall.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param firewallId Firewall ID
@return FirewallV1FirewallApiAPISetFirewallRequest

func (*FirewallV1FirewallApiAPIService) SetFirewallExecute

Execute executes the request

@return FirewallShowResponse

func (*FirewallV1FirewallApiAPIService) SetFirewallStatus

SetFirewallStatus Set Firewall Status.

Set firewall status.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param firewallId Firewall ID
@return FirewallV1FirewallApiAPISetFirewallStatusRequest

func (*FirewallV1FirewallApiAPIService) SetFirewallStatusExecute

Execute executes the request

@return FirewallShowResponse

func (*FirewallV1FirewallApiAPIService) ShowFirewall

ShowFirewall Show Firewall

Show firewall.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param firewallId Firewall ID
@return FirewallV1FirewallApiAPIShowFirewallRequest

func (*FirewallV1FirewallApiAPIService) ShowFirewallExecute

Execute executes the request

@return FirewallShowResponse

type FirewallV1FirewallApiAPISetFirewallRequest

type FirewallV1FirewallApiAPISetFirewallRequest struct {
	ApiService *FirewallV1FirewallApiAPIService
	// contains filtered or unexported fields
}

func (FirewallV1FirewallApiAPISetFirewallRequest) Execute

func (FirewallV1FirewallApiAPISetFirewallRequest) FirewallSetRequest

type FirewallV1FirewallApiAPISetFirewallStatusRequest

type FirewallV1FirewallApiAPISetFirewallStatusRequest struct {
	ApiService *FirewallV1FirewallApiAPIService
	// contains filtered or unexported fields
}

func (FirewallV1FirewallApiAPISetFirewallStatusRequest) Execute

func (FirewallV1FirewallApiAPISetFirewallStatusRequest) FirewallSetStatusRequest

type FirewallV1FirewallApiAPIShowFirewallRequest

type FirewallV1FirewallApiAPIShowFirewallRequest struct {
	ApiService *FirewallV1FirewallApiAPIService
	// contains filtered or unexported fields
}

func (FirewallV1FirewallApiAPIShowFirewallRequest) Execute

type FirewallV1FirewallRulesApiAPICreateFirewallRuleBulkRequest

type FirewallV1FirewallRulesApiAPICreateFirewallRuleBulkRequest struct {
	ApiService *FirewallV1FirewallRulesApiAPIService
	// contains filtered or unexported fields
}

func (FirewallV1FirewallRulesApiAPICreateFirewallRuleBulkRequest) Execute

func (FirewallV1FirewallRulesApiAPICreateFirewallRuleBulkRequest) FirewallRuleCreateBulkRequest

type FirewallV1FirewallRulesApiAPICreateFirewallRuleRequest

type FirewallV1FirewallRulesApiAPICreateFirewallRuleRequest struct {
	ApiService *FirewallV1FirewallRulesApiAPIService
	// contains filtered or unexported fields
}

func (FirewallV1FirewallRulesApiAPICreateFirewallRuleRequest) Execute

func (FirewallV1FirewallRulesApiAPICreateFirewallRuleRequest) FirewallRuleCreateSingleRequest

type FirewallV1FirewallRulesApiAPIDeleteFirewallRuleBulkRequest

type FirewallV1FirewallRulesApiAPIDeleteFirewallRuleBulkRequest struct {
	ApiService *FirewallV1FirewallRulesApiAPIService
	// contains filtered or unexported fields
}

func (FirewallV1FirewallRulesApiAPIDeleteFirewallRuleBulkRequest) Execute

func (FirewallV1FirewallRulesApiAPIDeleteFirewallRuleBulkRequest) FirewallRuleDeleteBulkRequest

type FirewallV1FirewallRulesApiAPIDeleteFirewallRuleRequest

type FirewallV1FirewallRulesApiAPIDeleteFirewallRuleRequest struct {
	ApiService *FirewallV1FirewallRulesApiAPIService
	// contains filtered or unexported fields
}

func (FirewallV1FirewallRulesApiAPIDeleteFirewallRuleRequest) Execute

type FirewallV1FirewallRulesApiAPIDownloadFirewallRulesRequest

type FirewallV1FirewallRulesApiAPIDownloadFirewallRulesRequest struct {
	ApiService *FirewallV1FirewallRulesApiAPIService
	// contains filtered or unexported fields
}

func (FirewallV1FirewallRulesApiAPIDownloadFirewallRulesRequest) Execute

func (FirewallV1FirewallRulesApiAPIDownloadFirewallRulesRequest) FirewallId

Firewall ID

type FirewallV1FirewallRulesApiAPIListFirewallRulesRequest

type FirewallV1FirewallRulesApiAPIListFirewallRulesRequest struct {
	ApiService *FirewallV1FirewallRulesApiAPIService
	// contains filtered or unexported fields
}

func (FirewallV1FirewallRulesApiAPIListFirewallRulesRequest) Description

Firewall Rule Description

func (FirewallV1FirewallRulesApiAPIListFirewallRulesRequest) DstIp

Destination IP

func (FirewallV1FirewallRulesApiAPIListFirewallRulesRequest) Execute

func (FirewallV1FirewallRulesApiAPIListFirewallRulesRequest) FetchAll

Firewall Rule Fetch ALL

func (FirewallV1FirewallRulesApiAPIListFirewallRulesRequest) FirewallId

Firewall ID

func (FirewallV1FirewallRulesApiAPIListFirewallRulesRequest) Page

page

func (FirewallV1FirewallRulesApiAPIListFirewallRulesRequest) Size

size

func (FirewallV1FirewallRulesApiAPIListFirewallRulesRequest) Sort

sort

func (FirewallV1FirewallRulesApiAPIListFirewallRulesRequest) SrcIp

Source IP

func (FirewallV1FirewallRulesApiAPIListFirewallRulesRequest) State

Firewall Rule State

func (FirewallV1FirewallRulesApiAPIListFirewallRulesRequest) Status

Firewall Rule Status

type FirewallV1FirewallRulesApiAPIService

type FirewallV1FirewallRulesApiAPIService service

FirewallV1FirewallRulesApiAPIService FirewallV1FirewallRulesApiAPI service

func (*FirewallV1FirewallRulesApiAPIService) CreateFirewallRule

CreateFirewallRule Create Firewall Rule

Create firewall rule.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@return FirewallV1FirewallRulesApiAPICreateFirewallRuleRequest

func (*FirewallV1FirewallRulesApiAPIService) CreateFirewallRuleBulk

CreateFirewallRuleBulk Create Firewall Rule Bulk

Create firewall rule bulk.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@return FirewallV1FirewallRulesApiAPICreateFirewallRuleBulkRequest

func (*FirewallV1FirewallRulesApiAPIService) CreateFirewallRuleBulkExecute

Execute executes the request

func (*FirewallV1FirewallRulesApiAPIService) CreateFirewallRuleExecute

Execute executes the request

@return FirewallRuleShowResponse

func (*FirewallV1FirewallRulesApiAPIService) DeleteFirewallRule

DeleteFirewallRule Delete Firewall Rule

Delete firewall rule.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param firewallRuleId Firewall Rule ID
@return FirewallV1FirewallRulesApiAPIDeleteFirewallRuleRequest

func (*FirewallV1FirewallRulesApiAPIService) DeleteFirewallRuleBulk

DeleteFirewallRuleBulk Delete Firewall Rule Bulk

Delete firewall rule bulk.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@return FirewallV1FirewallRulesApiAPIDeleteFirewallRuleBulkRequest

func (*FirewallV1FirewallRulesApiAPIService) DeleteFirewallRuleBulkExecute

Execute executes the request

func (*FirewallV1FirewallRulesApiAPIService) DeleteFirewallRuleExecute

Execute executes the request

func (*FirewallV1FirewallRulesApiAPIService) DownloadFirewallRules

DownloadFirewallRules Download Firewall Rules

Download firewall rule list.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@return FirewallV1FirewallRulesApiAPIDownloadFirewallRulesRequest

func (*FirewallV1FirewallRulesApiAPIService) DownloadFirewallRulesExecute

Execute executes the request

func (*FirewallV1FirewallRulesApiAPIService) ListFirewallRules

ListFirewallRules List Firewall Rules

Get firewall rule list.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@return FirewallV1FirewallRulesApiAPIListFirewallRulesRequest

func (*FirewallV1FirewallRulesApiAPIService) ListFirewallRulesExecute

Execute executes the request

@return FirewallRuleListResponse

func (*FirewallV1FirewallRulesApiAPIService) SetFirewallRule

SetFirewallRule Set Firewall Rule

Set firewall rule.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param firewallRuleId Firewall Rule ID
@return FirewallV1FirewallRulesApiAPISetFirewallRuleRequest

func (*FirewallV1FirewallRulesApiAPIService) SetFirewallRuleBulk

SetFirewallRuleBulk Set Firewall Rule Bulk

Set firewall rule bulk.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@return FirewallV1FirewallRulesApiAPISetFirewallRuleBulkRequest

func (*FirewallV1FirewallRulesApiAPIService) SetFirewallRuleBulkExecute

Execute executes the request

func (*FirewallV1FirewallRulesApiAPIService) SetFirewallRuleExecute

Execute executes the request

@return FirewallRuleShowResponse

func (*FirewallV1FirewallRulesApiAPIService) SetFirewallRuleOrder

SetFirewallRuleOrder Set Firewall Rule Order

Set firewall rule order.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param firewallRuleId Firewall Rule ID
@return FirewallV1FirewallRulesApiAPISetFirewallRuleOrderRequest

func (*FirewallV1FirewallRulesApiAPIService) SetFirewallRuleOrderExecute

Execute executes the request

@return FirewallRuleShowResponse

func (*FirewallV1FirewallRulesApiAPIService) ShowFirewallRule

ShowFirewallRule Show Firewall Rule

Show firewall rule.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param firewallRuleId Firewall Rule ID
@return FirewallV1FirewallRulesApiAPIShowFirewallRuleRequest

func (*FirewallV1FirewallRulesApiAPIService) ShowFirewallRuleExecute

Execute executes the request

@return FirewallRuleShowResponse

type FirewallV1FirewallRulesApiAPISetFirewallRuleBulkRequest

type FirewallV1FirewallRulesApiAPISetFirewallRuleBulkRequest struct {
	ApiService *FirewallV1FirewallRulesApiAPIService
	// contains filtered or unexported fields
}

func (FirewallV1FirewallRulesApiAPISetFirewallRuleBulkRequest) Execute

func (FirewallV1FirewallRulesApiAPISetFirewallRuleBulkRequest) FirewallRuleUpdateBulkRequest

type FirewallV1FirewallRulesApiAPISetFirewallRuleOrderRequest

type FirewallV1FirewallRulesApiAPISetFirewallRuleOrderRequest struct {
	ApiService *FirewallV1FirewallRulesApiAPIService
	// contains filtered or unexported fields
}

func (FirewallV1FirewallRulesApiAPISetFirewallRuleOrderRequest) Execute

func (FirewallV1FirewallRulesApiAPISetFirewallRuleOrderRequest) FirewallRuleSetOrderRequest

type FirewallV1FirewallRulesApiAPISetFirewallRuleRequest

type FirewallV1FirewallRulesApiAPISetFirewallRuleRequest struct {
	ApiService *FirewallV1FirewallRulesApiAPIService
	// contains filtered or unexported fields
}

func (FirewallV1FirewallRulesApiAPISetFirewallRuleRequest) Execute

func (FirewallV1FirewallRulesApiAPISetFirewallRuleRequest) FirewallRuleSetRequest

type FirewallV1FirewallRulesApiAPIShowFirewallRuleRequest

type FirewallV1FirewallRulesApiAPIShowFirewallRuleRequest struct {
	ApiService *FirewallV1FirewallRulesApiAPIService
	// contains filtered or unexported fields
}

func (FirewallV1FirewallRulesApiAPIShowFirewallRuleRequest) Execute

type GenericOpenAPIError

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

GenericOpenAPIError Provides access to the body, error and model on returned errors.

func (GenericOpenAPIError) Body

func (e GenericOpenAPIError) Body() []byte

Body returns the raw bytes of the response

func (GenericOpenAPIError) Error

func (e GenericOpenAPIError) Error() string

Error returns non-empty string if there was an error.

func (GenericOpenAPIError) Model

func (e GenericOpenAPIError) Model() interface{}

Model returns the unpacked model of the error

type MappedNullable

type MappedNullable interface {
	ToMap() (map[string]interface{}, error)
}

type NullableBool

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

func NewNullableBool

func NewNullableBool(val *bool) *NullableBool

func (NullableBool) Get

func (v NullableBool) Get() *bool

func (NullableBool) IsSet

func (v NullableBool) IsSet() bool

func (NullableBool) MarshalJSON

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

func (*NullableBool) Set

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

func (*NullableBool) UnmarshalJSON

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

func (*NullableBool) Unset

func (v *NullableBool) Unset()

type NullableFirewall

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

func NewNullableFirewall

func NewNullableFirewall(val *Firewall) *NullableFirewall

func (NullableFirewall) Get

func (v NullableFirewall) Get() *Firewall

func (NullableFirewall) IsSet

func (v NullableFirewall) IsSet() bool

func (NullableFirewall) MarshalJSON

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

func (*NullableFirewall) Set

func (v *NullableFirewall) Set(val *Firewall)

func (*NullableFirewall) UnmarshalJSON

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

func (*NullableFirewall) Unset

func (v *NullableFirewall) Unset()

type NullableFirewallFlavorType

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

func NewNullableFirewallFlavorType

func NewNullableFirewallFlavorType(val *FirewallFlavorType) *NullableFirewallFlavorType

func (NullableFirewallFlavorType) Get

func (NullableFirewallFlavorType) IsSet

func (v NullableFirewallFlavorType) IsSet() bool

func (NullableFirewallFlavorType) MarshalJSON

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

func (*NullableFirewallFlavorType) Set

func (*NullableFirewallFlavorType) UnmarshalJSON

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

func (*NullableFirewallFlavorType) Unset

func (v *NullableFirewallFlavorType) Unset()

type NullableFirewallListResponse

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

func NewNullableFirewallListResponse

func NewNullableFirewallListResponse(val *FirewallListResponse) *NullableFirewallListResponse

func (NullableFirewallListResponse) Get

func (NullableFirewallListResponse) IsSet

func (NullableFirewallListResponse) MarshalJSON

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

func (*NullableFirewallListResponse) Set

func (*NullableFirewallListResponse) UnmarshalJSON

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

func (*NullableFirewallListResponse) Unset

func (v *NullableFirewallListResponse) Unset()

type NullableFirewallPort

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

func NewNullableFirewallPort

func NewNullableFirewallPort(val *FirewallPort) *NullableFirewallPort

func (NullableFirewallPort) Get

func (NullableFirewallPort) IsSet

func (v NullableFirewallPort) IsSet() bool

func (NullableFirewallPort) MarshalJSON

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

func (*NullableFirewallPort) Set

func (v *NullableFirewallPort) Set(val *FirewallPort)

func (*NullableFirewallPort) UnmarshalJSON

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

func (*NullableFirewallPort) Unset

func (v *NullableFirewallPort) Unset()

type NullableFirewallProductType

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

func NewNullableFirewallProductType

func NewNullableFirewallProductType(val *FirewallProductType) *NullableFirewallProductType

func (NullableFirewallProductType) Get

func (NullableFirewallProductType) IsSet

func (NullableFirewallProductType) MarshalJSON

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

func (*NullableFirewallProductType) Set

func (*NullableFirewallProductType) UnmarshalJSON

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

func (*NullableFirewallProductType) Unset

func (v *NullableFirewallProductType) Unset()

type NullableFirewallRule

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

func NewNullableFirewallRule

func NewNullableFirewallRule(val *FirewallRule) *NullableFirewallRule

func (NullableFirewallRule) Get

func (NullableFirewallRule) IsSet

func (v NullableFirewallRule) IsSet() bool

func (NullableFirewallRule) MarshalJSON

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

func (*NullableFirewallRule) Set

func (v *NullableFirewallRule) Set(val *FirewallRule)

func (*NullableFirewallRule) UnmarshalJSON

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

func (*NullableFirewallRule) Unset

func (v *NullableFirewallRule) Unset()

type NullableFirewallRuleAction

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

func NewNullableFirewallRuleAction

func NewNullableFirewallRuleAction(val *FirewallRuleAction) *NullableFirewallRuleAction

func (NullableFirewallRuleAction) Get

func (NullableFirewallRuleAction) IsSet

func (v NullableFirewallRuleAction) IsSet() bool

func (NullableFirewallRuleAction) MarshalJSON

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

func (*NullableFirewallRuleAction) Set

func (*NullableFirewallRuleAction) UnmarshalJSON

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

func (*NullableFirewallRuleAction) Unset

func (v *NullableFirewallRuleAction) Unset()

type NullableFirewallRuleCreateBulkRequest

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

func (NullableFirewallRuleCreateBulkRequest) Get

func (NullableFirewallRuleCreateBulkRequest) IsSet

func (NullableFirewallRuleCreateBulkRequest) MarshalJSON

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

func (*NullableFirewallRuleCreateBulkRequest) Set

func (*NullableFirewallRuleCreateBulkRequest) UnmarshalJSON

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

func (*NullableFirewallRuleCreateBulkRequest) Unset

type NullableFirewallRuleCreateRequest

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

func (NullableFirewallRuleCreateRequest) Get

func (NullableFirewallRuleCreateRequest) IsSet

func (NullableFirewallRuleCreateRequest) MarshalJSON

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

func (*NullableFirewallRuleCreateRequest) Set

func (*NullableFirewallRuleCreateRequest) UnmarshalJSON

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

func (*NullableFirewallRuleCreateRequest) Unset

type NullableFirewallRuleCreateSingleRequest

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

func (NullableFirewallRuleCreateSingleRequest) Get

func (NullableFirewallRuleCreateSingleRequest) IsSet

func (NullableFirewallRuleCreateSingleRequest) MarshalJSON

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

func (*NullableFirewallRuleCreateSingleRequest) Set

func (*NullableFirewallRuleCreateSingleRequest) UnmarshalJSON

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

func (*NullableFirewallRuleCreateSingleRequest) Unset

type NullableFirewallRuleDeleteBulkRequest

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

func (NullableFirewallRuleDeleteBulkRequest) Get

func (NullableFirewallRuleDeleteBulkRequest) IsSet

func (NullableFirewallRuleDeleteBulkRequest) MarshalJSON

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

func (*NullableFirewallRuleDeleteBulkRequest) Set

func (*NullableFirewallRuleDeleteBulkRequest) UnmarshalJSON

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

func (*NullableFirewallRuleDeleteBulkRequest) Unset

type NullableFirewallRuleDirection

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

func (NullableFirewallRuleDirection) Get

func (NullableFirewallRuleDirection) IsSet

func (NullableFirewallRuleDirection) MarshalJSON

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

func (*NullableFirewallRuleDirection) Set

func (*NullableFirewallRuleDirection) UnmarshalJSON

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

func (*NullableFirewallRuleDirection) Unset

func (v *NullableFirewallRuleDirection) Unset()

type NullableFirewallRuleListResponse

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

func (NullableFirewallRuleListResponse) Get

func (NullableFirewallRuleListResponse) IsSet

func (NullableFirewallRuleListResponse) MarshalJSON

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

func (*NullableFirewallRuleListResponse) Set

func (*NullableFirewallRuleListResponse) UnmarshalJSON

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

func (*NullableFirewallRuleListResponse) Unset

type NullableFirewallRuleOrderDirection

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

func (NullableFirewallRuleOrderDirection) Get

func (NullableFirewallRuleOrderDirection) IsSet

func (NullableFirewallRuleOrderDirection) MarshalJSON

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

func (*NullableFirewallRuleOrderDirection) Set

func (*NullableFirewallRuleOrderDirection) UnmarshalJSON

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

func (*NullableFirewallRuleOrderDirection) Unset

type NullableFirewallRuleSetOrderRequest

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

func (NullableFirewallRuleSetOrderRequest) Get

func (NullableFirewallRuleSetOrderRequest) IsSet

func (NullableFirewallRuleSetOrderRequest) MarshalJSON

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

func (*NullableFirewallRuleSetOrderRequest) Set

func (*NullableFirewallRuleSetOrderRequest) UnmarshalJSON

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

func (*NullableFirewallRuleSetOrderRequest) Unset

type NullableFirewallRuleSetRequest

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

func (NullableFirewallRuleSetRequest) Get

func (NullableFirewallRuleSetRequest) IsSet

func (NullableFirewallRuleSetRequest) MarshalJSON

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

func (*NullableFirewallRuleSetRequest) Set

func (*NullableFirewallRuleSetRequest) UnmarshalJSON

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

func (*NullableFirewallRuleSetRequest) Unset

func (v *NullableFirewallRuleSetRequest) Unset()

type NullableFirewallRuleShowResponse

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

func (NullableFirewallRuleShowResponse) Get

func (NullableFirewallRuleShowResponse) IsSet

func (NullableFirewallRuleShowResponse) MarshalJSON

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

func (*NullableFirewallRuleShowResponse) Set

func (*NullableFirewallRuleShowResponse) UnmarshalJSON

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

func (*NullableFirewallRuleShowResponse) Unset

type NullableFirewallRuleState

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

func NewNullableFirewallRuleState

func NewNullableFirewallRuleState(val *FirewallRuleState) *NullableFirewallRuleState

func (NullableFirewallRuleState) Get

func (NullableFirewallRuleState) IsSet

func (v NullableFirewallRuleState) IsSet() bool

func (NullableFirewallRuleState) MarshalJSON

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

func (*NullableFirewallRuleState) Set

func (*NullableFirewallRuleState) UnmarshalJSON

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

func (*NullableFirewallRuleState) Unset

func (v *NullableFirewallRuleState) Unset()

type NullableFirewallRuleUpdateBulkRequest

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

func (NullableFirewallRuleUpdateBulkRequest) Get

func (NullableFirewallRuleUpdateBulkRequest) IsSet

func (NullableFirewallRuleUpdateBulkRequest) MarshalJSON

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

func (*NullableFirewallRuleUpdateBulkRequest) Set

func (*NullableFirewallRuleUpdateBulkRequest) UnmarshalJSON

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

func (*NullableFirewallRuleUpdateBulkRequest) Unset

type NullableFirewallServiceType

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

func NewNullableFirewallServiceType

func NewNullableFirewallServiceType(val *FirewallServiceType) *NullableFirewallServiceType

func (NullableFirewallServiceType) Get

func (NullableFirewallServiceType) IsSet

func (NullableFirewallServiceType) MarshalJSON

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

func (*NullableFirewallServiceType) Set

func (*NullableFirewallServiceType) UnmarshalJSON

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

func (*NullableFirewallServiceType) Unset

func (v *NullableFirewallServiceType) Unset()

type NullableFirewallSetRequest

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

func NewNullableFirewallSetRequest

func NewNullableFirewallSetRequest(val *FirewallSetRequest) *NullableFirewallSetRequest

func (NullableFirewallSetRequest) Get

func (NullableFirewallSetRequest) IsSet

func (v NullableFirewallSetRequest) IsSet() bool

func (NullableFirewallSetRequest) MarshalJSON

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

func (*NullableFirewallSetRequest) Set

func (*NullableFirewallSetRequest) UnmarshalJSON

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

func (*NullableFirewallSetRequest) Unset

func (v *NullableFirewallSetRequest) Unset()

type NullableFirewallSetStatusRequest

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

func (NullableFirewallSetStatusRequest) Get

func (NullableFirewallSetStatusRequest) IsSet

func (NullableFirewallSetStatusRequest) MarshalJSON

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

func (*NullableFirewallSetStatusRequest) Set

func (*NullableFirewallSetStatusRequest) UnmarshalJSON

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

func (*NullableFirewallSetStatusRequest) Unset

type NullableFirewallShowResponse

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

func NewNullableFirewallShowResponse

func NewNullableFirewallShowResponse(val *FirewallShowResponse) *NullableFirewallShowResponse

func (NullableFirewallShowResponse) Get

func (NullableFirewallShowResponse) IsSet

func (NullableFirewallShowResponse) MarshalJSON

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

func (*NullableFirewallShowResponse) Set

func (*NullableFirewallShowResponse) UnmarshalJSON

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

func (*NullableFirewallShowResponse) Unset

func (v *NullableFirewallShowResponse) Unset()

type NullableFirewallState

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

func NewNullableFirewallState

func NewNullableFirewallState(val *FirewallState) *NullableFirewallState

func (NullableFirewallState) Get

func (NullableFirewallState) IsSet

func (v NullableFirewallState) IsSet() bool

func (NullableFirewallState) MarshalJSON

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

func (*NullableFirewallState) Set

func (v *NullableFirewallState) Set(val *FirewallState)

func (*NullableFirewallState) UnmarshalJSON

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

func (*NullableFirewallState) Unset

func (v *NullableFirewallState) Unset()

type NullableFirewallStatusType

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

func NewNullableFirewallStatusType

func NewNullableFirewallStatusType(val *FirewallStatusType) *NullableFirewallStatusType

func (NullableFirewallStatusType) Get

func (NullableFirewallStatusType) IsSet

func (v NullableFirewallStatusType) IsSet() bool

func (NullableFirewallStatusType) MarshalJSON

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

func (*NullableFirewallStatusType) Set

func (*NullableFirewallStatusType) UnmarshalJSON

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

func (*NullableFirewallStatusType) Unset

func (v *NullableFirewallStatusType) 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 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 NullableValidationErrorModel

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

func NewNullableValidationErrorModel

func NewNullableValidationErrorModel(val *ValidationErrorModel) *NullableValidationErrorModel

func (NullableValidationErrorModel) Get

func (NullableValidationErrorModel) IsSet

func (NullableValidationErrorModel) MarshalJSON

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

func (*NullableValidationErrorModel) Set

func (*NullableValidationErrorModel) UnmarshalJSON

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

func (*NullableValidationErrorModel) Unset

func (v *NullableValidationErrorModel) Unset()

type SCPCredential

type SCPCredential struct {
	AccessKey string
	SecretKey string
}

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 ValidationErrorModel

type ValidationErrorModel struct {
	Ctx  map[string]interface{} `json:"ctx,omitempty"`
	Loc  []string               `json:"loc,omitempty"`
	Msg  NullableString         `json:"msg,omitempty"`
	Type NullableString         `json:"type_,omitempty"`
}

ValidationErrorModel struct for ValidationErrorModel

func NewValidationErrorModel

func NewValidationErrorModel() *ValidationErrorModel

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

func NewValidationErrorModelWithDefaults

func NewValidationErrorModelWithDefaults() *ValidationErrorModel

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

func (*ValidationErrorModel) GetCtx

func (o *ValidationErrorModel) GetCtx() map[string]interface{}

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

func (*ValidationErrorModel) GetCtxOk

func (o *ValidationErrorModel) GetCtxOk() (map[string]interface{}, bool)

GetCtxOk returns a tuple with the Ctx 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 (*ValidationErrorModel) GetLoc

func (o *ValidationErrorModel) GetLoc() []string

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

func (*ValidationErrorModel) GetLocOk

func (o *ValidationErrorModel) GetLocOk() ([]string, bool)

GetLocOk returns a tuple with the Loc 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 (*ValidationErrorModel) GetMsg

func (o *ValidationErrorModel) GetMsg() string

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

func (*ValidationErrorModel) GetMsgOk

func (o *ValidationErrorModel) GetMsgOk() (*string, bool)

GetMsgOk returns a tuple with the Msg 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 (*ValidationErrorModel) GetType

func (o *ValidationErrorModel) GetType() string

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

func (*ValidationErrorModel) GetTypeOk

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

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

func (*ValidationErrorModel) HasCtx

func (o *ValidationErrorModel) HasCtx() bool

HasCtx returns a boolean if a field has been set.

func (*ValidationErrorModel) HasLoc

func (o *ValidationErrorModel) HasLoc() bool

HasLoc returns a boolean if a field has been set.

func (*ValidationErrorModel) HasMsg

func (o *ValidationErrorModel) HasMsg() bool

HasMsg returns a boolean if a field has been set.

func (*ValidationErrorModel) HasType

func (o *ValidationErrorModel) HasType() bool

HasType returns a boolean if a field has been set.

func (ValidationErrorModel) MarshalJSON

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

func (*ValidationErrorModel) SetCtx

func (o *ValidationErrorModel) SetCtx(v map[string]interface{})

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

func (*ValidationErrorModel) SetLoc

func (o *ValidationErrorModel) SetLoc(v []string)

SetLoc gets a reference to the given []string and assigns it to the Loc field.

func (*ValidationErrorModel) SetMsg

func (o *ValidationErrorModel) SetMsg(v string)

SetMsg gets a reference to the given NullableString and assigns it to the Msg field.

func (*ValidationErrorModel) SetMsgNil

func (o *ValidationErrorModel) SetMsgNil()

SetMsgNil sets the value for Msg to be an explicit nil

func (*ValidationErrorModel) SetType

func (o *ValidationErrorModel) SetType(v string)

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

func (*ValidationErrorModel) SetTypeNil

func (o *ValidationErrorModel) SetTypeNil()

SetTypeNil sets the value for Type to be an explicit nil

func (ValidationErrorModel) ToMap

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

func (*ValidationErrorModel) UnsetMsg

func (o *ValidationErrorModel) UnsetMsg()

UnsetMsg ensures that no value is present for Msg, not even an explicit nil

func (*ValidationErrorModel) UnsetType

func (o *ValidationErrorModel) UnsetType()

UnsetType ensures that no value is present for Type, not even an explicit nil

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL