Documentation
¶
Overview ¶
Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT.
Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT.
Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT.
Index ¶
- Variables
- func CacheExpires(r *http.Response) time.Time
- func IsNil(i interface{}) bool
- func NewConfiguration() *config.Configuration
- func PtrBool(v bool) *bool
- func PtrFloat32(v float32) *float32
- func PtrFloat64(v float64) *float64
- func PtrInt(v int) *int
- func PtrInt32(v int32) *int32
- func PtrInt64(v int64) *int64
- func PtrString(v string) *string
- func PtrTime(v time.Time) *time.Time
- type APIClient
- type APIResponse
- type ApiCreateRuleRequest
- type ApiDeleteRuleRequest
- type ApiGetRuleRequest
- type ApiListFolderContainersRequest
- type ApiListOrganizationContainersRequest
- type ApiListProviderOptionsRequest
- type ApiListRulesRequest
- func (r ApiListRulesRequest) Cursor(cursor string) ApiListRulesRequest
- func (r ApiListRulesRequest) Direction(direction ListRulesDirectionParameter) ApiListRulesRequest
- func (r ApiListRulesRequest) EtherType(etherType string) ApiListRulesRequest
- func (r ApiListRulesRequest) Execute() (*ListRulesResponse, error)
- func (r ApiListRulesRequest) InstanceId(instanceId string) ApiListRulesRequest
- func (r ApiListRulesRequest) Limit(limit int32) ApiListRulesRequest
- func (r ApiListRulesRequest) PortRange(portRange string) ApiListRulesRequest
- func (r ApiListRulesRequest) Product(product string) ApiListRulesRequest
- func (r ApiListRulesRequest) Protocol(protocol string) ApiListRulesRequest
- func (r ApiListRulesRequest) SecurityGroupId(securityGroupId string) ApiListRulesRequest
- func (r ApiListRulesRequest) SortBy(sortBy string) ApiListRulesRequest
- func (r ApiListRulesRequest) SortOrder(sortOrder ListRulesSortOrderParameter) ApiListRulesRequest
- func (r ApiListRulesRequest) SourceIP(sourceIP string) ApiListRulesRequest
- func (r ApiListRulesRequest) Type_(type_ string) ApiListRulesRequest
- type ApiUpdateRuleRequest
- type ContainerResponse
- func (o *ContainerResponse) GetId() string
- func (o *ContainerResponse) GetIdOk() (*string, bool)
- func (o *ContainerResponse) GetName() string
- func (o *ContainerResponse) GetNameOk() (*string, bool)
- func (o *ContainerResponse) GetType() string
- func (o *ContainerResponse) GetTypeOk() (*string, bool)
- func (o ContainerResponse) MarshalJSON() ([]byte, error)
- func (o *ContainerResponse) SetId(v string)
- func (o *ContainerResponse) SetName(v string)
- func (o *ContainerResponse) SetType(v string)
- func (o ContainerResponse) ToMap() (map[string]interface{}, error)
- func (o *ContainerResponse) UnmarshalJSON(data []byte) (err error)
- type CreateRulePayload
- func (o *CreateRulePayload) GetDescription() string
- func (o *CreateRulePayload) GetDescriptionOk() (*string, bool)
- func (o *CreateRulePayload) GetDirection() string
- func (o *CreateRulePayload) GetDirectionOk() (*string, bool)
- func (o *CreateRulePayload) GetEtherType() string
- func (o *CreateRulePayload) GetEtherTypeOk() (*string, bool)
- func (o *CreateRulePayload) GetInstanceId() string
- func (o *CreateRulePayload) GetInstanceIdOk() (*string, bool)
- func (o *CreateRulePayload) GetOffset() int32
- func (o *CreateRulePayload) GetOffsetOk() (*int32, bool)
- func (o *CreateRulePayload) GetPortRange() string
- func (o *CreateRulePayload) GetPortRangeOk() (*string, bool)
- func (o *CreateRulePayload) GetProduct() string
- func (o *CreateRulePayload) GetProductOk() (*string, bool)
- func (o *CreateRulePayload) GetProtocol() string
- func (o *CreateRulePayload) GetProtocolOk() (*string, bool)
- func (o *CreateRulePayload) GetSecurityGroupId() string
- func (o *CreateRulePayload) GetSecurityGroupIdOk() (*string, bool)
- func (o *CreateRulePayload) GetSourceIP() string
- func (o *CreateRulePayload) GetSourceIPOk() (*string, bool)
- func (o *CreateRulePayload) GetType() string
- func (o *CreateRulePayload) GetTypeOk() (*string, bool)
- func (o *CreateRulePayload) HasDescription() bool
- func (o *CreateRulePayload) HasDirection() bool
- func (o *CreateRulePayload) HasEtherType() bool
- func (o *CreateRulePayload) HasOffset() bool
- func (o *CreateRulePayload) HasPortRange() bool
- func (o *CreateRulePayload) HasProtocol() bool
- func (o *CreateRulePayload) HasSecurityGroupId() bool
- func (o CreateRulePayload) MarshalJSON() ([]byte, error)
- func (o *CreateRulePayload) SetDescription(v string)
- func (o *CreateRulePayload) SetDirection(v string)
- func (o *CreateRulePayload) SetEtherType(v string)
- func (o *CreateRulePayload) SetInstanceId(v string)
- func (o *CreateRulePayload) SetOffset(v int32)
- func (o *CreateRulePayload) SetPortRange(v string)
- func (o *CreateRulePayload) SetProduct(v string)
- func (o *CreateRulePayload) SetProtocol(v string)
- func (o *CreateRulePayload) SetSecurityGroupId(v string)
- func (o *CreateRulePayload) SetSourceIP(v string)
- func (o *CreateRulePayload) SetType(v string)
- func (o CreateRulePayload) ToMap() (map[string]interface{}, error)
- func (o *CreateRulePayload) UnmarshalJSON(data []byte) (err error)
- type CreateRuleResponse
- func (o *CreateRuleResponse) GetRefId() string
- func (o *CreateRuleResponse) GetRefIdOk() (*string, bool)
- func (o *CreateRuleResponse) HasRefId() bool
- func (o CreateRuleResponse) MarshalJSON() ([]byte, error)
- func (o *CreateRuleResponse) SetRefId(v string)
- func (o CreateRuleResponse) ToMap() (map[string]interface{}, error)
- func (o *CreateRuleResponse) UnmarshalJSON(data []byte) (err error)
- type DefaultAPI
- type DefaultAPIService
- func (a *DefaultAPIService) CreateRule(ctx context.Context, projectId string, regionId string) ApiCreateRuleRequest
- func (a *DefaultAPIService) CreateRuleExecute(r ApiCreateRuleRequest) (*CreateRuleResponse, error)
- func (a *DefaultAPIService) DeleteRule(ctx context.Context, projectId string, regionId string, ruleId string) ApiDeleteRuleRequest
- func (a *DefaultAPIService) DeleteRuleExecute(r ApiDeleteRuleRequest) (*DeleteRuleResponse, error)
- func (a *DefaultAPIService) GetRule(ctx context.Context, projectId string, regionId string, ruleId string) ApiGetRuleRequest
- func (a *DefaultAPIService) GetRuleExecute(r ApiGetRuleRequest) (*RuleResponse, error)
- func (a *DefaultAPIService) ListFolderContainers(ctx context.Context, folderId string) ApiListFolderContainersRequest
- func (a *DefaultAPIService) ListFolderContainersExecute(r ApiListFolderContainersRequest) (*ListContainersResponse, error)
- func (a *DefaultAPIService) ListOrganizationContainers(ctx context.Context, organizationId string) ApiListOrganizationContainersRequest
- func (a *DefaultAPIService) ListOrganizationContainersExecute(r ApiListOrganizationContainersRequest) (*ListContainersResponse, error)
- func (a *DefaultAPIService) ListProviderOptions(ctx context.Context, regionId string) ApiListProviderOptionsRequest
- func (a *DefaultAPIService) ListProviderOptionsExecute(r ApiListProviderOptionsRequest) ([]ProviderOptionsResponse, error)
- func (a *DefaultAPIService) ListRules(ctx context.Context, projectId string, regionId string) ApiListRulesRequest
- func (a *DefaultAPIService) ListRulesExecute(r ApiListRulesRequest) (*ListRulesResponse, error)
- func (a *DefaultAPIService) UpdateRule(ctx context.Context, projectId string, regionId string, ruleId string) ApiUpdateRuleRequest
- func (a *DefaultAPIService) UpdateRuleExecute(r ApiUpdateRuleRequest) (*UpdateRuleResponse, error)
- type DefaultAPIServiceMock
- func (a DefaultAPIServiceMock) CreateRule(ctx context.Context, projectId string, regionId string) ApiCreateRuleRequest
- func (a DefaultAPIServiceMock) CreateRuleExecute(r ApiCreateRuleRequest) (*CreateRuleResponse, error)
- func (a DefaultAPIServiceMock) DeleteRule(ctx context.Context, projectId string, regionId string, ruleId string) ApiDeleteRuleRequest
- func (a DefaultAPIServiceMock) DeleteRuleExecute(r ApiDeleteRuleRequest) (*DeleteRuleResponse, error)
- func (a DefaultAPIServiceMock) GetRule(ctx context.Context, projectId string, regionId string, ruleId string) ApiGetRuleRequest
- func (a DefaultAPIServiceMock) GetRuleExecute(r ApiGetRuleRequest) (*RuleResponse, error)
- func (a DefaultAPIServiceMock) ListFolderContainers(ctx context.Context, folderId string) ApiListFolderContainersRequest
- func (a DefaultAPIServiceMock) ListFolderContainersExecute(r ApiListFolderContainersRequest) (*ListContainersResponse, error)
- func (a DefaultAPIServiceMock) ListOrganizationContainers(ctx context.Context, organizationId string) ApiListOrganizationContainersRequest
- func (a DefaultAPIServiceMock) ListOrganizationContainersExecute(r ApiListOrganizationContainersRequest) (*ListContainersResponse, error)
- func (a DefaultAPIServiceMock) ListProviderOptions(ctx context.Context, regionId string) ApiListProviderOptionsRequest
- func (a DefaultAPIServiceMock) ListProviderOptionsExecute(r ApiListProviderOptionsRequest) ([]ProviderOptionsResponse, error)
- func (a DefaultAPIServiceMock) ListRules(ctx context.Context, projectId string, regionId string) ApiListRulesRequest
- func (a DefaultAPIServiceMock) ListRulesExecute(r ApiListRulesRequest) (*ListRulesResponse, error)
- func (a DefaultAPIServiceMock) UpdateRule(ctx context.Context, projectId string, regionId string, ruleId string) ApiUpdateRuleRequest
- func (a DefaultAPIServiceMock) UpdateRuleExecute(r ApiUpdateRuleRequest) (*UpdateRuleResponse, error)
- type DeleteRuleResponse
- func (o *DeleteRuleResponse) GetSuccess() bool
- func (o *DeleteRuleResponse) GetSuccessOk() (*bool, bool)
- func (o *DeleteRuleResponse) HasSuccess() bool
- func (o DeleteRuleResponse) MarshalJSON() ([]byte, error)
- func (o *DeleteRuleResponse) SetSuccess(v bool)
- func (o DeleteRuleResponse) ToMap() (map[string]interface{}, error)
- func (o *DeleteRuleResponse) UnmarshalJSON(data []byte) (err error)
- type ErrorResponse
- func (o *ErrorResponse) GetCode() int32
- func (o *ErrorResponse) GetCodeOk() (*int32, bool)
- func (o *ErrorResponse) GetMessage() string
- func (o *ErrorResponse) GetMessageOk() (*string, bool)
- func (o *ErrorResponse) HasCode() bool
- func (o *ErrorResponse) HasMessage() bool
- func (o ErrorResponse) MarshalJSON() ([]byte, error)
- func (o *ErrorResponse) SetCode(v int32)
- func (o *ErrorResponse) SetMessage(v string)
- func (o ErrorResponse) ToMap() (map[string]interface{}, error)
- func (o *ErrorResponse) UnmarshalJSON(data []byte) (err error)
- type ListContainersResponse
- func (o *ListContainersResponse) GetCursor() string
- func (o *ListContainersResponse) GetCursorOk() (*string, bool)
- func (o *ListContainersResponse) GetItems() []ContainerResponse
- func (o *ListContainersResponse) GetItemsOk() ([]ContainerResponse, bool)
- func (o *ListContainersResponse) GetLimit() int32
- func (o *ListContainersResponse) GetLimitOk() (*int32, bool)
- func (o ListContainersResponse) MarshalJSON() ([]byte, error)
- func (o *ListContainersResponse) SetCursor(v string)
- func (o *ListContainersResponse) SetItems(v []ContainerResponse)
- func (o *ListContainersResponse) SetLimit(v int32)
- func (o ListContainersResponse) ToMap() (map[string]interface{}, error)
- func (o *ListContainersResponse) UnmarshalJSON(data []byte) (err error)
- type ListRulesDirectionParameter
- type ListRulesResponse
- func (o *ListRulesResponse) GetErrors() []string
- func (o *ListRulesResponse) GetErrorsOk() ([]string, bool)
- func (o *ListRulesResponse) GetRules() []RuleResponse
- func (o *ListRulesResponse) GetRulesOk() ([]RuleResponse, bool)
- func (o *ListRulesResponse) HasErrors() bool
- func (o ListRulesResponse) MarshalJSON() ([]byte, error)
- func (o *ListRulesResponse) SetErrors(v []string)
- func (o *ListRulesResponse) SetRules(v []RuleResponse)
- func (o ListRulesResponse) ToMap() (map[string]interface{}, error)
- func (o *ListRulesResponse) UnmarshalJSON(data []byte) (err error)
- type ListRulesSortOrderParameter
- type MappedNullable
- type NullableBool
- type NullableContainerResponse
- func (v NullableContainerResponse) Get() *ContainerResponse
- func (v NullableContainerResponse) IsSet() bool
- func (v NullableContainerResponse) MarshalJSON() ([]byte, error)
- func (v *NullableContainerResponse) Set(val *ContainerResponse)
- func (v *NullableContainerResponse) UnmarshalJSON(src []byte) error
- func (v *NullableContainerResponse) Unset()
- type NullableCreateRulePayload
- func (v NullableCreateRulePayload) Get() *CreateRulePayload
- func (v NullableCreateRulePayload) IsSet() bool
- func (v NullableCreateRulePayload) MarshalJSON() ([]byte, error)
- func (v *NullableCreateRulePayload) Set(val *CreateRulePayload)
- func (v *NullableCreateRulePayload) UnmarshalJSON(src []byte) error
- func (v *NullableCreateRulePayload) Unset()
- type NullableCreateRuleResponse
- func (v NullableCreateRuleResponse) Get() *CreateRuleResponse
- func (v NullableCreateRuleResponse) IsSet() bool
- func (v NullableCreateRuleResponse) MarshalJSON() ([]byte, error)
- func (v *NullableCreateRuleResponse) Set(val *CreateRuleResponse)
- func (v *NullableCreateRuleResponse) UnmarshalJSON(src []byte) error
- func (v *NullableCreateRuleResponse) Unset()
- type NullableDeleteRuleResponse
- func (v NullableDeleteRuleResponse) Get() *DeleteRuleResponse
- func (v NullableDeleteRuleResponse) IsSet() bool
- func (v NullableDeleteRuleResponse) MarshalJSON() ([]byte, error)
- func (v *NullableDeleteRuleResponse) Set(val *DeleteRuleResponse)
- func (v *NullableDeleteRuleResponse) UnmarshalJSON(src []byte) error
- func (v *NullableDeleteRuleResponse) Unset()
- type NullableErrorResponse
- func (v NullableErrorResponse) Get() *ErrorResponse
- func (v NullableErrorResponse) IsSet() bool
- func (v NullableErrorResponse) MarshalJSON() ([]byte, error)
- func (v *NullableErrorResponse) Set(val *ErrorResponse)
- func (v *NullableErrorResponse) UnmarshalJSON(src []byte) error
- func (v *NullableErrorResponse) Unset()
- type NullableFloat32
- type NullableFloat64
- type NullableInt
- type NullableInt32
- type NullableInt64
- type NullableListContainersResponse
- func (v NullableListContainersResponse) Get() *ListContainersResponse
- func (v NullableListContainersResponse) IsSet() bool
- func (v NullableListContainersResponse) MarshalJSON() ([]byte, error)
- func (v *NullableListContainersResponse) Set(val *ListContainersResponse)
- func (v *NullableListContainersResponse) UnmarshalJSON(src []byte) error
- func (v *NullableListContainersResponse) Unset()
- type NullableListRulesDirectionParameter
- func (v NullableListRulesDirectionParameter) Get() *ListRulesDirectionParameter
- func (v NullableListRulesDirectionParameter) IsSet() bool
- func (v NullableListRulesDirectionParameter) MarshalJSON() ([]byte, error)
- func (v *NullableListRulesDirectionParameter) Set(val *ListRulesDirectionParameter)
- func (v *NullableListRulesDirectionParameter) UnmarshalJSON(src []byte) error
- func (v *NullableListRulesDirectionParameter) Unset()
- type NullableListRulesResponse
- func (v NullableListRulesResponse) Get() *ListRulesResponse
- func (v NullableListRulesResponse) IsSet() bool
- func (v NullableListRulesResponse) MarshalJSON() ([]byte, error)
- func (v *NullableListRulesResponse) Set(val *ListRulesResponse)
- func (v *NullableListRulesResponse) UnmarshalJSON(src []byte) error
- func (v *NullableListRulesResponse) Unset()
- type NullableListRulesSortOrderParameter
- func (v NullableListRulesSortOrderParameter) Get() *ListRulesSortOrderParameter
- func (v NullableListRulesSortOrderParameter) IsSet() bool
- func (v NullableListRulesSortOrderParameter) MarshalJSON() ([]byte, error)
- func (v *NullableListRulesSortOrderParameter) Set(val *ListRulesSortOrderParameter)
- func (v *NullableListRulesSortOrderParameter) UnmarshalJSON(src []byte) error
- func (v *NullableListRulesSortOrderParameter) Unset()
- type NullableProviderOptionsProductMeta
- func (v NullableProviderOptionsProductMeta) Get() *ProviderOptionsProductMeta
- func (v NullableProviderOptionsProductMeta) IsSet() bool
- func (v NullableProviderOptionsProductMeta) MarshalJSON() ([]byte, error)
- func (v *NullableProviderOptionsProductMeta) Set(val *ProviderOptionsProductMeta)
- func (v *NullableProviderOptionsProductMeta) UnmarshalJSON(src []byte) error
- func (v *NullableProviderOptionsProductMeta) Unset()
- type NullableProviderOptionsResponse
- func (v NullableProviderOptionsResponse) Get() *ProviderOptionsResponse
- func (v NullableProviderOptionsResponse) IsSet() bool
- func (v NullableProviderOptionsResponse) MarshalJSON() ([]byte, error)
- func (v *NullableProviderOptionsResponse) Set(val *ProviderOptionsResponse)
- func (v *NullableProviderOptionsResponse) UnmarshalJSON(src []byte) error
- func (v *NullableProviderOptionsResponse) Unset()
- type NullableRuleResponse
- func (v NullableRuleResponse) Get() *RuleResponse
- func (v NullableRuleResponse) IsSet() bool
- func (v NullableRuleResponse) MarshalJSON() ([]byte, error)
- func (v *NullableRuleResponse) Set(val *RuleResponse)
- func (v *NullableRuleResponse) UnmarshalJSON(src []byte) error
- func (v *NullableRuleResponse) Unset()
- type NullableRuleResponseStatus
- func (v NullableRuleResponseStatus) Get() *RuleResponseStatus
- func (v NullableRuleResponseStatus) IsSet() bool
- func (v NullableRuleResponseStatus) MarshalJSON() ([]byte, error)
- func (v *NullableRuleResponseStatus) Set(val *RuleResponseStatus)
- func (v *NullableRuleResponseStatus) UnmarshalJSON(src []byte) error
- func (v *NullableRuleResponseStatus) Unset()
- type NullableString
- type NullableTime
- type NullableUpdateRulePayload
- func (v NullableUpdateRulePayload) Get() *UpdateRulePayload
- func (v NullableUpdateRulePayload) IsSet() bool
- func (v NullableUpdateRulePayload) MarshalJSON() ([]byte, error)
- func (v *NullableUpdateRulePayload) Set(val *UpdateRulePayload)
- func (v *NullableUpdateRulePayload) UnmarshalJSON(src []byte) error
- func (v *NullableUpdateRulePayload) Unset()
- type NullableUpdateRuleResponse
- func (v NullableUpdateRuleResponse) Get() *UpdateRuleResponse
- func (v NullableUpdateRuleResponse) IsSet() bool
- func (v NullableUpdateRuleResponse) MarshalJSON() ([]byte, error)
- func (v *NullableUpdateRuleResponse) Set(val *UpdateRuleResponse)
- func (v *NullableUpdateRuleResponse) UnmarshalJSON(src []byte) error
- func (v *NullableUpdateRuleResponse) Unset()
- type NullableUpdateUfwRequest
- func (v NullableUpdateUfwRequest) Get() *UpdateUfwRequest
- func (v NullableUpdateUfwRequest) IsSet() bool
- func (v NullableUpdateUfwRequest) MarshalJSON() ([]byte, error)
- func (v *NullableUpdateUfwRequest) Set(val *UpdateUfwRequest)
- func (v *NullableUpdateUfwRequest) UnmarshalJSON(src []byte) error
- func (v *NullableUpdateUfwRequest) Unset()
- type NullableVersionResponse
- func (v NullableVersionResponse) Get() *VersionResponse
- func (v NullableVersionResponse) IsSet() bool
- func (v NullableVersionResponse) MarshalJSON() ([]byte, error)
- func (v *NullableVersionResponse) Set(val *VersionResponse)
- func (v *NullableVersionResponse) UnmarshalJSON(src []byte) error
- func (v *NullableVersionResponse) Unset()
- type ProviderOptionsProductMeta
- func (o *ProviderOptionsProductMeta) GetActions() []string
- func (o *ProviderOptionsProductMeta) GetActionsOk() ([]string, bool)
- func (o *ProviderOptionsProductMeta) GetTypes() []string
- func (o *ProviderOptionsProductMeta) GetTypesOk() ([]string, bool)
- func (o ProviderOptionsProductMeta) MarshalJSON() ([]byte, error)
- func (o *ProviderOptionsProductMeta) SetActions(v []string)
- func (o *ProviderOptionsProductMeta) SetTypes(v []string)
- func (o ProviderOptionsProductMeta) ToMap() (map[string]interface{}, error)
- func (o *ProviderOptionsProductMeta) UnmarshalJSON(data []byte) (err error)
- type ProviderOptionsResponse
- func (o *ProviderOptionsResponse) GetProductMeta() map[string]ProviderOptionsProductMeta
- func (o *ProviderOptionsResponse) GetProductMetaOk() (*map[string]ProviderOptionsProductMeta, bool)
- func (o *ProviderOptionsResponse) GetProducts() []string
- func (o *ProviderOptionsResponse) GetProductsOk() ([]string, bool)
- func (o *ProviderOptionsResponse) GetTypes() []string
- func (o *ProviderOptionsResponse) GetTypesOk() ([]string, bool)
- func (o ProviderOptionsResponse) MarshalJSON() ([]byte, error)
- func (o *ProviderOptionsResponse) SetProductMeta(v map[string]ProviderOptionsProductMeta)
- func (o *ProviderOptionsResponse) SetProducts(v []string)
- func (o *ProviderOptionsResponse) SetTypes(v []string)
- func (o ProviderOptionsResponse) ToMap() (map[string]interface{}, error)
- func (o *ProviderOptionsResponse) UnmarshalJSON(data []byte) (err error)
- type RuleResponse
- func (o *RuleResponse) GetDescription() string
- func (o *RuleResponse) GetDescriptionOk() (*string, bool)
- func (o *RuleResponse) GetDestination() string
- func (o *RuleResponse) GetDestinationOk() (*string, bool)
- func (o *RuleResponse) GetDirection() string
- func (o *RuleResponse) GetDirectionOk() (*string, bool)
- func (o *RuleResponse) GetErrorMessage() string
- func (o *RuleResponse) GetErrorMessageOk() (*string, bool)
- func (o *RuleResponse) GetEtherType() string
- func (o *RuleResponse) GetEtherTypeOk() (*string, bool)
- func (o *RuleResponse) GetInstanceId() string
- func (o *RuleResponse) GetInstanceIdOk() (*string, bool)
- func (o *RuleResponse) GetInstanceName() string
- func (o *RuleResponse) GetInstanceNameOk() (*string, bool)
- func (o *RuleResponse) GetIpRange() string
- func (o *RuleResponse) GetIpRangeOk() (*string, bool)
- func (o *RuleResponse) GetOffset() int32
- func (o *RuleResponse) GetOffsetOk() (*int32, bool)
- func (o *RuleResponse) GetPortRange() string
- func (o *RuleResponse) GetPortRangeOk() (*string, bool)
- func (o *RuleResponse) GetProduct() string
- func (o *RuleResponse) GetProductOk() (*string, bool)
- func (o *RuleResponse) GetProtocol() string
- func (o *RuleResponse) GetProtocolOk() (*string, bool)
- func (o *RuleResponse) GetRegion() string
- func (o *RuleResponse) GetRegionOk() (*string, bool)
- func (o *RuleResponse) GetRemoteSecurityGroupId() string
- func (o *RuleResponse) GetRemoteSecurityGroupIdOk() (*string, bool)
- func (o *RuleResponse) GetSecurityGroup() string
- func (o *RuleResponse) GetSecurityGroupId() string
- func (o *RuleResponse) GetSecurityGroupIdOk() (*string, bool)
- func (o *RuleResponse) GetSecurityGroupOk() (*string, bool)
- func (o *RuleResponse) GetSourceIP() string
- func (o *RuleResponse) GetSourceIPOk() (*string, bool)
- func (o *RuleResponse) GetStatus() RuleResponseStatus
- func (o *RuleResponse) GetStatusOk() (*RuleResponseStatus, bool)
- func (o *RuleResponse) GetType() string
- func (o *RuleResponse) GetTypeOk() (*string, bool)
- func (o *RuleResponse) HasDescription() bool
- func (o *RuleResponse) HasDirection() bool
- func (o *RuleResponse) HasErrorMessage() bool
- func (o *RuleResponse) HasEtherType() bool
- func (o *RuleResponse) HasInstanceName() bool
- func (o *RuleResponse) HasIpRange() bool
- func (o *RuleResponse) HasOffset() bool
- func (o *RuleResponse) HasPortRange() bool
- func (o *RuleResponse) HasProtocol() bool
- func (o *RuleResponse) HasRegion() bool
- func (o *RuleResponse) HasRemoteSecurityGroupId() bool
- func (o *RuleResponse) HasSecurityGroup() bool
- func (o *RuleResponse) HasSecurityGroupId() bool
- func (o RuleResponse) MarshalJSON() ([]byte, error)
- func (o *RuleResponse) SetDescription(v string)
- func (o *RuleResponse) SetDestination(v string)
- func (o *RuleResponse) SetDirection(v string)
- func (o *RuleResponse) SetErrorMessage(v string)
- func (o *RuleResponse) SetEtherType(v string)
- func (o *RuleResponse) SetInstanceId(v string)
- func (o *RuleResponse) SetInstanceName(v string)
- func (o *RuleResponse) SetIpRange(v string)
- func (o *RuleResponse) SetOffset(v int32)
- func (o *RuleResponse) SetPortRange(v string)
- func (o *RuleResponse) SetProduct(v string)
- func (o *RuleResponse) SetProtocol(v string)
- func (o *RuleResponse) SetRegion(v string)
- func (o *RuleResponse) SetRemoteSecurityGroupId(v string)
- func (o *RuleResponse) SetSecurityGroup(v string)
- func (o *RuleResponse) SetSecurityGroupId(v string)
- func (o *RuleResponse) SetSourceIP(v string)
- func (o *RuleResponse) SetStatus(v RuleResponseStatus)
- func (o *RuleResponse) SetType(v string)
- func (o RuleResponse) ToMap() (map[string]interface{}, error)
- func (o *RuleResponse) UnmarshalJSON(data []byte) (err error)
- type RuleResponseStatus
- type UpdateRulePayload
- func (o *UpdateRulePayload) GetDirection() string
- func (o *UpdateRulePayload) GetDirectionOk() (*string, bool)
- func (o *UpdateRulePayload) GetEtherType() string
- func (o *UpdateRulePayload) GetEtherTypeOk() (*string, bool)
- func (o *UpdateRulePayload) GetPortRange() string
- func (o *UpdateRulePayload) GetPortRangeOk() (*string, bool)
- func (o *UpdateRulePayload) GetProtocol() string
- func (o *UpdateRulePayload) GetProtocolOk() (*string, bool)
- func (o *UpdateRulePayload) GetSecurityGroupId() string
- func (o *UpdateRulePayload) GetSecurityGroupIdOk() (*string, bool)
- func (o *UpdateRulePayload) GetSourceIP() string
- func (o *UpdateRulePayload) GetSourceIPOk() (*string, bool)
- func (o *UpdateRulePayload) HasDirection() bool
- func (o *UpdateRulePayload) HasEtherType() bool
- func (o *UpdateRulePayload) HasPortRange() bool
- func (o *UpdateRulePayload) HasProtocol() bool
- func (o *UpdateRulePayload) HasSecurityGroupId() bool
- func (o UpdateRulePayload) MarshalJSON() ([]byte, error)
- func (o *UpdateRulePayload) SetDirection(v string)
- func (o *UpdateRulePayload) SetEtherType(v string)
- func (o *UpdateRulePayload) SetPortRange(v string)
- func (o *UpdateRulePayload) SetProtocol(v string)
- func (o *UpdateRulePayload) SetSecurityGroupId(v string)
- func (o *UpdateRulePayload) SetSourceIP(v string)
- func (o UpdateRulePayload) ToMap() (map[string]interface{}, error)
- func (o *UpdateRulePayload) UnmarshalJSON(data []byte) (err error)
- type UpdateRuleResponse
- func (o *UpdateRuleResponse) GetRefId() string
- func (o *UpdateRuleResponse) GetRefIdOk() (*string, bool)
- func (o *UpdateRuleResponse) HasRefId() bool
- func (o UpdateRuleResponse) MarshalJSON() ([]byte, error)
- func (o *UpdateRuleResponse) SetRefId(v string)
- func (o UpdateRuleResponse) ToMap() (map[string]interface{}, error)
- func (o *UpdateRuleResponse) UnmarshalJSON(data []byte) (err error)
- type UpdateUfwRequest
- func (o *UpdateUfwRequest) GetCidrs() []string
- func (o *UpdateUfwRequest) GetCidrsOk() ([]string, bool)
- func (o UpdateUfwRequest) MarshalJSON() ([]byte, error)
- func (o *UpdateUfwRequest) SetCidrs(v []string)
- func (o UpdateUfwRequest) ToMap() (map[string]interface{}, error)
- func (o *UpdateUfwRequest) UnmarshalJSON(data []byte) (err error)
- type VersionResponse
- func (o *VersionResponse) GetName() string
- func (o *VersionResponse) GetNameOk() (*string, bool)
- func (o *VersionResponse) GetVersion() string
- func (o *VersionResponse) GetVersionOk() (*string, bool)
- func (o *VersionResponse) HasName() bool
- func (o *VersionResponse) HasVersion() bool
- func (o VersionResponse) MarshalJSON() ([]byte, error)
- func (o *VersionResponse) SetName(v string)
- func (o *VersionResponse) SetVersion(v string)
- func (o VersionResponse) ToMap() (map[string]interface{}, error)
- func (o *VersionResponse) UnmarshalJSON(data []byte) (err error)
Constants ¶
This section is empty.
Variables ¶
var ( JsonCheck = regexp.MustCompile(`(?i:(?:application|text)/(?:[^;]+\+)?json)`) XmlCheck = regexp.MustCompile(`(?i:(?:application|text)/(?:[^;]+\+)?xml)`) )
var AllowedListRulesDirectionParameterEnumValues = []ListRulesDirectionParameter{
"ingress",
"egress",
"unknown_default_open_api",
}
All allowed values of ListRulesDirectionParameter enum
var AllowedListRulesSortOrderParameterEnumValues = []ListRulesSortOrderParameter{
"asc",
"desc",
"unknown_default_open_api",
}
All allowed values of ListRulesSortOrderParameter enum
var AllowedRuleResponseStatusEnumValues = []RuleResponseStatus{
"Active",
"Error",
"Pending",
"Updating",
"Deleting",
"Creating",
"unknown_default_open_api",
}
All allowed values of RuleResponseStatus enum
Functions ¶
func CacheExpires ¶
CacheExpires helper function to determine remaining time before repeating a request.
func NewConfiguration ¶
func NewConfiguration() *config.Configuration
NewConfiguration returns a new Configuration object
func PtrFloat32 ¶
PtrFloat32 is a helper routine that returns a pointer to given float value.
func PtrFloat64 ¶
PtrFloat64 is a helper routine that returns a pointer to given float value.
Types ¶
type APIClient ¶
type APIClient struct {
DefaultAPI DefaultAPI
// contains filtered or unexported fields
}
APIClient manages communication with the STACKIT Unified Firewall API API v1.0.0 In most cases there should be only one, shared, APIClient.
func NewAPIClient ¶
func NewAPIClient(opts ...config.ConfigurationOption) (*APIClient, error)
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() *config.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 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 ApiCreateRuleRequest ¶
type ApiCreateRuleRequest struct {
ApiService DefaultAPI
// contains filtered or unexported fields
}
func (ApiCreateRuleRequest) CreateRulePayload ¶
func (r ApiCreateRuleRequest) CreateRulePayload(createRulePayload CreateRulePayload) ApiCreateRuleRequest
Request an Rule creation.
func (ApiCreateRuleRequest) Execute ¶
func (r ApiCreateRuleRequest) Execute() (*CreateRuleResponse, error)
type ApiDeleteRuleRequest ¶
type ApiDeleteRuleRequest struct {
ApiService DefaultAPI
// contains filtered or unexported fields
}
func (ApiDeleteRuleRequest) Execute ¶
func (r ApiDeleteRuleRequest) Execute() (*DeleteRuleResponse, error)
type ApiGetRuleRequest ¶
type ApiGetRuleRequest struct {
ApiService DefaultAPI
// contains filtered or unexported fields
}
func (ApiGetRuleRequest) Execute ¶
func (r ApiGetRuleRequest) Execute() (*RuleResponse, error)
type ApiListFolderContainersRequest ¶
type ApiListFolderContainersRequest struct {
ApiService DefaultAPI
// contains filtered or unexported fields
}
func (ApiListFolderContainersRequest) Cursor ¶
func (r ApiListFolderContainersRequest) Cursor(cursor string) ApiListFolderContainersRequest
A pagination cursor that represents a position in the dataset. If given, results will be returned from the item after the cursor. If not given, results will be returned from the beginning.
func (ApiListFolderContainersRequest) Execute ¶
func (r ApiListFolderContainersRequest) Execute() (*ListContainersResponse, error)
func (ApiListFolderContainersRequest) Limit ¶
func (r ApiListFolderContainersRequest) Limit(limit int32) ApiListFolderContainersRequest
The maximum number of items to return in the response. If maximum is exceeded, maximum is used.
type ApiListOrganizationContainersRequest ¶
type ApiListOrganizationContainersRequest struct {
ApiService DefaultAPI
// contains filtered or unexported fields
}
func (ApiListOrganizationContainersRequest) Cursor ¶
func (r ApiListOrganizationContainersRequest) Cursor(cursor string) ApiListOrganizationContainersRequest
A pagination cursor that represents a position in the dataset. If given, results will be returned from the item after the cursor. If not given, results will be returned from the beginning.
func (ApiListOrganizationContainersRequest) Execute ¶
func (r ApiListOrganizationContainersRequest) Execute() (*ListContainersResponse, error)
func (ApiListOrganizationContainersRequest) Limit ¶
func (r ApiListOrganizationContainersRequest) Limit(limit int32) ApiListOrganizationContainersRequest
The maximum number of items to return in the response. If maximum is exceeded, maximum is used.
type ApiListProviderOptionsRequest ¶
type ApiListProviderOptionsRequest struct {
ApiService DefaultAPI
// contains filtered or unexported fields
}
func (ApiListProviderOptionsRequest) Execute ¶
func (r ApiListProviderOptionsRequest) Execute() ([]ProviderOptionsResponse, error)
type ApiListRulesRequest ¶
type ApiListRulesRequest struct {
ApiService DefaultAPI
// contains filtered or unexported fields
}
func (ApiListRulesRequest) Cursor ¶
func (r ApiListRulesRequest) Cursor(cursor string) ApiListRulesRequest
A pagination cursor that represents a position in the dataset. If given, results will be returned from the item after the cursor. If not given, results will be returned from the beginning.
func (ApiListRulesRequest) Direction ¶
func (r ApiListRulesRequest) Direction(direction ListRulesDirectionParameter) ApiListRulesRequest
The direction of the rule (e.g., \"ingress\", \"egress\").
func (ApiListRulesRequest) EtherType ¶
func (r ApiListRulesRequest) EtherType(etherType string) ApiListRulesRequest
The ether type for the rule.
func (ApiListRulesRequest) Execute ¶
func (r ApiListRulesRequest) Execute() (*ListRulesResponse, error)
func (ApiListRulesRequest) InstanceId ¶
func (r ApiListRulesRequest) InstanceId(instanceId string) ApiListRulesRequest
The ID of the source, similar to a project ID but for the product service instance.
func (ApiListRulesRequest) Limit ¶
func (r ApiListRulesRequest) Limit(limit int32) ApiListRulesRequest
The maximum number of items to return in the response. If maximum is exceeded, maximum is used.
func (ApiListRulesRequest) PortRange ¶
func (r ApiListRulesRequest) PortRange(portRange string) ApiListRulesRequest
The port range for the rule.
func (ApiListRulesRequest) Product ¶
func (r ApiListRulesRequest) Product(product string) ApiListRulesRequest
The product service (e.g., Load Balancer, Redis).
func (ApiListRulesRequest) Protocol ¶
func (r ApiListRulesRequest) Protocol(protocol string) ApiListRulesRequest
The protocol for the rule (e.g., \"tcp\", \"udp\").
func (ApiListRulesRequest) SecurityGroupId ¶
func (r ApiListRulesRequest) SecurityGroupId(securityGroupId string) ApiListRulesRequest
The UUID of the group.
func (ApiListRulesRequest) SortBy ¶
func (r ApiListRulesRequest) SortBy(sortBy string) ApiListRulesRequest
The field to sort the response by.
func (ApiListRulesRequest) SortOrder ¶
func (r ApiListRulesRequest) SortOrder(sortOrder ListRulesSortOrderParameter) ApiListRulesRequest
The order to sort the response by.
func (ApiListRulesRequest) SourceIP ¶
func (r ApiListRulesRequest) SourceIP(sourceIP string) ApiListRulesRequest
The IP for the rule.
func (ApiListRulesRequest) Type_ ¶
func (r ApiListRulesRequest) Type_(type_ string) ApiListRulesRequest
The type of the rule (e.g., \"ACL\", \"PublicIP\", \"SecurityRule\").
type ApiUpdateRuleRequest ¶
type ApiUpdateRuleRequest struct {
ApiService DefaultAPI
// contains filtered or unexported fields
}
func (ApiUpdateRuleRequest) Execute ¶
func (r ApiUpdateRuleRequest) Execute() (*UpdateRuleResponse, error)
func (ApiUpdateRuleRequest) UpdateRulePayload ¶
func (r ApiUpdateRuleRequest) UpdateRulePayload(updateRulePayload UpdateRulePayload) ApiUpdateRuleRequest
Request an Rule update.
type ContainerResponse ¶
type ContainerResponse struct {
Id string `json:"id"`
Name string `json:"name"`
Type string `json:"type"`
AdditionalProperties map[string]interface{}
}
ContainerResponse struct for ContainerResponse
func NewContainerResponse ¶
func NewContainerResponse(id string, name string, types string) *ContainerResponse
NewContainerResponse instantiates a new ContainerResponse object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewContainerResponseWithDefaults ¶
func NewContainerResponseWithDefaults() *ContainerResponse
NewContainerResponseWithDefaults instantiates a new ContainerResponse object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*ContainerResponse) GetId ¶
func (o *ContainerResponse) GetId() string
GetId returns the Id field value
func (*ContainerResponse) GetIdOk ¶
func (o *ContainerResponse) GetIdOk() (*string, bool)
GetIdOk returns a tuple with the Id field value and a boolean to check if the value has been set.
func (*ContainerResponse) GetName ¶
func (o *ContainerResponse) GetName() string
GetName returns the Name field value
func (*ContainerResponse) GetNameOk ¶
func (o *ContainerResponse) GetNameOk() (*string, bool)
GetNameOk returns a tuple with the Name field value and a boolean to check if the value has been set.
func (*ContainerResponse) GetType ¶
func (o *ContainerResponse) GetType() string
GetType returns the Type field value
func (*ContainerResponse) GetTypeOk ¶
func (o *ContainerResponse) GetTypeOk() (*string, bool)
GetTypeOk returns a tuple with the Type field value and a boolean to check if the value has been set.
func (ContainerResponse) MarshalJSON ¶
func (o ContainerResponse) MarshalJSON() ([]byte, error)
func (*ContainerResponse) SetId ¶
func (o *ContainerResponse) SetId(v string)
SetId sets field value
func (*ContainerResponse) SetName ¶
func (o *ContainerResponse) SetName(v string)
SetName sets field value
func (*ContainerResponse) SetType ¶
func (o *ContainerResponse) SetType(v string)
SetType sets field value
func (ContainerResponse) ToMap ¶
func (o ContainerResponse) ToMap() (map[string]interface{}, error)
func (*ContainerResponse) UnmarshalJSON ¶
func (o *ContainerResponse) UnmarshalJSON(data []byte) (err error)
type CreateRulePayload ¶
type CreateRulePayload struct {
// A description for the rule.
Description *string `json:"description,omitempty"`
// The direction of the traffic, typically \"ingress\" or \"egress\".
Direction *string `json:"direction,omitempty"`
// Specifies the bound of the rule.
EtherType *string `json:"etherType,omitempty"`
// The ID of the product, similar to a project ID.
InstanceId string `json:"instanceId"`
// Position in the list.
Offset *int32 `json:"offset,omitempty"`
// The Port range to which the rule applies.
PortRange *string `json:"portRange,omitempty"`
// The source service (e.g., Load Balancer, Redis).
Product string `json:"product"`
// The network protocol (e.g., \"TCP\", \"UDP\", \"ICMP\").
Protocol *string `json:"protocol,omitempty"`
// The ID of the Group.
SecurityGroupId *string `json:"securityGroupId,omitempty"`
// The IP (CIDR) to which the rule applies.
SourceIP string `json:"sourceIP"`
// The type of the rule (e.g., \"ACL\", \"PublicIP\", \"SecurityRule\").
Type string `json:"type"`
AdditionalProperties map[string]interface{}
}
CreateRulePayload The request body for creating a new security rule.
func NewCreateRulePayload ¶
func NewCreateRulePayload(instanceId string, product string, sourceIP string, types string) *CreateRulePayload
NewCreateRulePayload instantiates a new CreateRulePayload object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewCreateRulePayloadWithDefaults ¶
func NewCreateRulePayloadWithDefaults() *CreateRulePayload
NewCreateRulePayloadWithDefaults instantiates a new CreateRulePayload object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*CreateRulePayload) GetDescription ¶
func (o *CreateRulePayload) GetDescription() string
GetDescription returns the Description field value if set, zero value otherwise.
func (*CreateRulePayload) GetDescriptionOk ¶
func (o *CreateRulePayload) GetDescriptionOk() (*string, bool)
GetDescriptionOk returns a tuple with the Description field value if set, nil otherwise and a boolean to check if the value has been set.
func (*CreateRulePayload) GetDirection ¶
func (o *CreateRulePayload) GetDirection() string
GetDirection returns the Direction field value if set, zero value otherwise.
func (*CreateRulePayload) GetDirectionOk ¶
func (o *CreateRulePayload) GetDirectionOk() (*string, bool)
GetDirectionOk returns a tuple with the Direction field value if set, nil otherwise and a boolean to check if the value has been set.
func (*CreateRulePayload) GetEtherType ¶
func (o *CreateRulePayload) GetEtherType() string
GetEtherType returns the EtherType field value if set, zero value otherwise.
func (*CreateRulePayload) GetEtherTypeOk ¶
func (o *CreateRulePayload) GetEtherTypeOk() (*string, bool)
GetEtherTypeOk returns a tuple with the EtherType field value if set, nil otherwise and a boolean to check if the value has been set.
func (*CreateRulePayload) GetInstanceId ¶
func (o *CreateRulePayload) GetInstanceId() string
GetInstanceId returns the InstanceId field value
func (*CreateRulePayload) GetInstanceIdOk ¶
func (o *CreateRulePayload) GetInstanceIdOk() (*string, bool)
GetInstanceIdOk returns a tuple with the InstanceId field value and a boolean to check if the value has been set.
func (*CreateRulePayload) GetOffset ¶
func (o *CreateRulePayload) GetOffset() int32
GetOffset returns the Offset field value if set, zero value otherwise.
func (*CreateRulePayload) GetOffsetOk ¶
func (o *CreateRulePayload) GetOffsetOk() (*int32, bool)
GetOffsetOk returns a tuple with the Offset field value if set, nil otherwise and a boolean to check if the value has been set.
func (*CreateRulePayload) GetPortRange ¶
func (o *CreateRulePayload) GetPortRange() string
GetPortRange returns the PortRange field value if set, zero value otherwise.
func (*CreateRulePayload) GetPortRangeOk ¶
func (o *CreateRulePayload) GetPortRangeOk() (*string, bool)
GetPortRangeOk returns a tuple with the PortRange field value if set, nil otherwise and a boolean to check if the value has been set.
func (*CreateRulePayload) GetProduct ¶
func (o *CreateRulePayload) GetProduct() string
GetProduct returns the Product field value
func (*CreateRulePayload) GetProductOk ¶
func (o *CreateRulePayload) GetProductOk() (*string, bool)
GetProductOk returns a tuple with the Product field value and a boolean to check if the value has been set.
func (*CreateRulePayload) GetProtocol ¶
func (o *CreateRulePayload) GetProtocol() string
GetProtocol returns the Protocol field value if set, zero value otherwise.
func (*CreateRulePayload) GetProtocolOk ¶
func (o *CreateRulePayload) GetProtocolOk() (*string, bool)
GetProtocolOk returns a tuple with the Protocol field value if set, nil otherwise and a boolean to check if the value has been set.
func (*CreateRulePayload) GetSecurityGroupId ¶
func (o *CreateRulePayload) GetSecurityGroupId() string
GetSecurityGroupId returns the SecurityGroupId field value if set, zero value otherwise.
func (*CreateRulePayload) GetSecurityGroupIdOk ¶
func (o *CreateRulePayload) GetSecurityGroupIdOk() (*string, bool)
GetSecurityGroupIdOk returns a tuple with the SecurityGroupId field value if set, nil otherwise and a boolean to check if the value has been set.
func (*CreateRulePayload) GetSourceIP ¶
func (o *CreateRulePayload) GetSourceIP() string
GetSourceIP returns the SourceIP field value
func (*CreateRulePayload) GetSourceIPOk ¶
func (o *CreateRulePayload) GetSourceIPOk() (*string, bool)
GetSourceIPOk returns a tuple with the SourceIP field value and a boolean to check if the value has been set.
func (*CreateRulePayload) GetType ¶
func (o *CreateRulePayload) GetType() string
GetType returns the Type field value
func (*CreateRulePayload) GetTypeOk ¶
func (o *CreateRulePayload) GetTypeOk() (*string, bool)
GetTypeOk returns a tuple with the Type field value and a boolean to check if the value has been set.
func (*CreateRulePayload) HasDescription ¶
func (o *CreateRulePayload) HasDescription() bool
HasDescription returns a boolean if a field has been set.
func (*CreateRulePayload) HasDirection ¶
func (o *CreateRulePayload) HasDirection() bool
HasDirection returns a boolean if a field has been set.
func (*CreateRulePayload) HasEtherType ¶
func (o *CreateRulePayload) HasEtherType() bool
HasEtherType returns a boolean if a field has been set.
func (*CreateRulePayload) HasOffset ¶
func (o *CreateRulePayload) HasOffset() bool
HasOffset returns a boolean if a field has been set.
func (*CreateRulePayload) HasPortRange ¶
func (o *CreateRulePayload) HasPortRange() bool
HasPortRange returns a boolean if a field has been set.
func (*CreateRulePayload) HasProtocol ¶
func (o *CreateRulePayload) HasProtocol() bool
HasProtocol returns a boolean if a field has been set.
func (*CreateRulePayload) HasSecurityGroupId ¶
func (o *CreateRulePayload) HasSecurityGroupId() bool
HasSecurityGroupId returns a boolean if a field has been set.
func (CreateRulePayload) MarshalJSON ¶
func (o CreateRulePayload) MarshalJSON() ([]byte, error)
func (*CreateRulePayload) SetDescription ¶
func (o *CreateRulePayload) SetDescription(v string)
SetDescription gets a reference to the given string and assigns it to the Description field.
func (*CreateRulePayload) SetDirection ¶
func (o *CreateRulePayload) SetDirection(v string)
SetDirection gets a reference to the given string and assigns it to the Direction field.
func (*CreateRulePayload) SetEtherType ¶
func (o *CreateRulePayload) SetEtherType(v string)
SetEtherType gets a reference to the given string and assigns it to the EtherType field.
func (*CreateRulePayload) SetInstanceId ¶
func (o *CreateRulePayload) SetInstanceId(v string)
SetInstanceId sets field value
func (*CreateRulePayload) SetOffset ¶
func (o *CreateRulePayload) SetOffset(v int32)
SetOffset gets a reference to the given int32 and assigns it to the Offset field.
func (*CreateRulePayload) SetPortRange ¶
func (o *CreateRulePayload) SetPortRange(v string)
SetPortRange gets a reference to the given string and assigns it to the PortRange field.
func (*CreateRulePayload) SetProduct ¶
func (o *CreateRulePayload) SetProduct(v string)
SetProduct sets field value
func (*CreateRulePayload) SetProtocol ¶
func (o *CreateRulePayload) SetProtocol(v string)
SetProtocol gets a reference to the given string and assigns it to the Protocol field.
func (*CreateRulePayload) SetSecurityGroupId ¶
func (o *CreateRulePayload) SetSecurityGroupId(v string)
SetSecurityGroupId gets a reference to the given string and assigns it to the SecurityGroupId field.
func (*CreateRulePayload) SetSourceIP ¶
func (o *CreateRulePayload) SetSourceIP(v string)
SetSourceIP sets field value
func (*CreateRulePayload) SetType ¶
func (o *CreateRulePayload) SetType(v string)
SetType sets field value
func (CreateRulePayload) ToMap ¶
func (o CreateRulePayload) ToMap() (map[string]interface{}, error)
func (*CreateRulePayload) UnmarshalJSON ¶
func (o *CreateRulePayload) UnmarshalJSON(data []byte) (err error)
type CreateRuleResponse ¶
type CreateRuleResponse struct {
// Represents the uuid of the created rule
RefId *string `json:"refId,omitempty"`
AdditionalProperties map[string]interface{}
}
CreateRuleResponse struct for CreateRuleResponse
func NewCreateRuleResponse ¶
func NewCreateRuleResponse() *CreateRuleResponse
NewCreateRuleResponse instantiates a new CreateRuleResponse object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewCreateRuleResponseWithDefaults ¶
func NewCreateRuleResponseWithDefaults() *CreateRuleResponse
NewCreateRuleResponseWithDefaults instantiates a new CreateRuleResponse object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*CreateRuleResponse) GetRefId ¶
func (o *CreateRuleResponse) GetRefId() string
GetRefId returns the RefId field value if set, zero value otherwise.
func (*CreateRuleResponse) GetRefIdOk ¶
func (o *CreateRuleResponse) GetRefIdOk() (*string, bool)
GetRefIdOk returns a tuple with the RefId field value if set, nil otherwise and a boolean to check if the value has been set.
func (*CreateRuleResponse) HasRefId ¶
func (o *CreateRuleResponse) HasRefId() bool
HasRefId returns a boolean if a field has been set.
func (CreateRuleResponse) MarshalJSON ¶
func (o CreateRuleResponse) MarshalJSON() ([]byte, error)
func (*CreateRuleResponse) SetRefId ¶
func (o *CreateRuleResponse) SetRefId(v string)
SetRefId gets a reference to the given string and assigns it to the RefId field.
func (CreateRuleResponse) ToMap ¶
func (o CreateRuleResponse) ToMap() (map[string]interface{}, error)
func (*CreateRuleResponse) UnmarshalJSON ¶
func (o *CreateRuleResponse) UnmarshalJSON(data []byte) (err error)
type DefaultAPI ¶
type DefaultAPI interface {
/*
CreateRule Create rule for a project
Returns the created rule for a specific project
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param projectId The STACKIT portal project UUID
@param regionId The STACKIT region name the resource is located in.
@return ApiCreateRuleRequest
*/
CreateRule(ctx context.Context, projectId string, regionId string) ApiCreateRuleRequest
// CreateRuleExecute executes the request
// @return CreateRuleResponse
CreateRuleExecute(r ApiCreateRuleRequest) (*CreateRuleResponse, error)
/*
DeleteRule Delete rule by UUID for a project
Returns success
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param projectId The STACKIT portal project UUID
@param regionId The STACKIT region name the resource is located in.
@param ruleId The STACKIT security rule UUID.
@return ApiDeleteRuleRequest
*/
DeleteRule(ctx context.Context, projectId string, regionId string, ruleId string) ApiDeleteRuleRequest
// DeleteRuleExecute executes the request
// @return DeleteRuleResponse
DeleteRuleExecute(r ApiDeleteRuleRequest) (*DeleteRuleResponse, error)
/*
GetRule Get rule by UUID for a project
Returns the specific rule
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param projectId The STACKIT portal project UUID
@param regionId The STACKIT region name the resource is located in.
@param ruleId The STACKIT security rule UUID.
@return ApiGetRuleRequest
*/
GetRule(ctx context.Context, projectId string, regionId string, ruleId string) ApiGetRuleRequest
// GetRuleExecute executes the request
// @return RuleResponse
GetRuleExecute(r ApiGetRuleRequest) (*RuleResponse, error)
/*
ListFolderContainers Get containers from a folder
Returns a list of containers for a specific folder
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param folderId The STACKIT portal folder UUID
@return ApiListFolderContainersRequest
*/
ListFolderContainers(ctx context.Context, folderId string) ApiListFolderContainersRequest
// ListFolderContainersExecute executes the request
// @return ListContainersResponse
ListFolderContainersExecute(r ApiListFolderContainersRequest) (*ListContainersResponse, error)
/*
ListOrganizationContainers Get containers from an organization
Returns a list of containers for a specific organization
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param organizationId The STACKIT portal organization UUID
@return ApiListOrganizationContainersRequest
*/
ListOrganizationContainers(ctx context.Context, organizationId string) ApiListOrganizationContainersRequest
// ListOrganizationContainersExecute executes the request
// @return ListContainersResponse
ListOrganizationContainersExecute(r ApiListOrganizationContainersRequest) (*ListContainersResponse, error)
/*
ListProviderOptions Get Provider Options
Returns a list of supported configuration options for this region.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param regionId The STACKIT region name the resource is located in.
@return ApiListProviderOptionsRequest
*/
ListProviderOptions(ctx context.Context, regionId string) ApiListProviderOptionsRequest
// ListProviderOptionsExecute executes the request
// @return []ProviderOptionsResponse
ListProviderOptionsExecute(r ApiListProviderOptionsRequest) ([]ProviderOptionsResponse, error)
/*
ListRules Get rules for a project
Returns a list of rules for a specific project
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param projectId The STACKIT portal project UUID
@param regionId The STACKIT region name the resource is located in.
@return ApiListRulesRequest
*/
ListRules(ctx context.Context, projectId string, regionId string) ApiListRulesRequest
// ListRulesExecute executes the request
// @return ListRulesResponse
ListRulesExecute(r ApiListRulesRequest) (*ListRulesResponse, error)
/*
UpdateRule Update rule by UUID for a project
Returns the updated rule for a specific project
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param projectId The STACKIT portal project UUID
@param regionId The STACKIT region name the resource is located in.
@param ruleId The STACKIT security rule UUID.
@return ApiUpdateRuleRequest
*/
UpdateRule(ctx context.Context, projectId string, regionId string, ruleId string) ApiUpdateRuleRequest
// UpdateRuleExecute executes the request
// @return UpdateRuleResponse
UpdateRuleExecute(r ApiUpdateRuleRequest) (*UpdateRuleResponse, error)
}
type DefaultAPIService ¶
type DefaultAPIService service
DefaultAPIService DefaultAPI service
func (*DefaultAPIService) CreateRule ¶
func (a *DefaultAPIService) CreateRule(ctx context.Context, projectId string, regionId string) ApiCreateRuleRequest
CreateRule Create rule for a project
Returns the created rule for a specific project
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param projectId The STACKIT portal project UUID @param regionId The STACKIT region name the resource is located in. @return ApiCreateRuleRequest
func (*DefaultAPIService) CreateRuleExecute ¶
func (a *DefaultAPIService) CreateRuleExecute(r ApiCreateRuleRequest) (*CreateRuleResponse, error)
Execute executes the request
@return CreateRuleResponse
func (*DefaultAPIService) DeleteRule ¶
func (a *DefaultAPIService) DeleteRule(ctx context.Context, projectId string, regionId string, ruleId string) ApiDeleteRuleRequest
DeleteRule Delete rule by UUID for a project
Returns success
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param projectId The STACKIT portal project UUID @param regionId The STACKIT region name the resource is located in. @param ruleId The STACKIT security rule UUID. @return ApiDeleteRuleRequest
func (*DefaultAPIService) DeleteRuleExecute ¶
func (a *DefaultAPIService) DeleteRuleExecute(r ApiDeleteRuleRequest) (*DeleteRuleResponse, error)
Execute executes the request
@return DeleteRuleResponse
func (*DefaultAPIService) GetRule ¶
func (a *DefaultAPIService) GetRule(ctx context.Context, projectId string, regionId string, ruleId string) ApiGetRuleRequest
GetRule Get rule by UUID for a project
Returns the specific rule
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param projectId The STACKIT portal project UUID @param regionId The STACKIT region name the resource is located in. @param ruleId The STACKIT security rule UUID. @return ApiGetRuleRequest
func (*DefaultAPIService) GetRuleExecute ¶
func (a *DefaultAPIService) GetRuleExecute(r ApiGetRuleRequest) (*RuleResponse, error)
Execute executes the request
@return RuleResponse
func (*DefaultAPIService) ListFolderContainers ¶
func (a *DefaultAPIService) ListFolderContainers(ctx context.Context, folderId string) ApiListFolderContainersRequest
ListFolderContainers Get containers from a folder
Returns a list of containers for a specific folder
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param folderId The STACKIT portal folder UUID @return ApiListFolderContainersRequest
func (*DefaultAPIService) ListFolderContainersExecute ¶
func (a *DefaultAPIService) ListFolderContainersExecute(r ApiListFolderContainersRequest) (*ListContainersResponse, error)
Execute executes the request
@return ListContainersResponse
func (*DefaultAPIService) ListOrganizationContainers ¶
func (a *DefaultAPIService) ListOrganizationContainers(ctx context.Context, organizationId string) ApiListOrganizationContainersRequest
ListOrganizationContainers Get containers from an organization
Returns a list of containers for a specific organization
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param organizationId The STACKIT portal organization UUID @return ApiListOrganizationContainersRequest
func (*DefaultAPIService) ListOrganizationContainersExecute ¶
func (a *DefaultAPIService) ListOrganizationContainersExecute(r ApiListOrganizationContainersRequest) (*ListContainersResponse, error)
Execute executes the request
@return ListContainersResponse
func (*DefaultAPIService) ListProviderOptions ¶
func (a *DefaultAPIService) ListProviderOptions(ctx context.Context, regionId string) ApiListProviderOptionsRequest
ListProviderOptions Get Provider Options
Returns a list of supported configuration options for this region.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param regionId The STACKIT region name the resource is located in. @return ApiListProviderOptionsRequest
func (*DefaultAPIService) ListProviderOptionsExecute ¶
func (a *DefaultAPIService) ListProviderOptionsExecute(r ApiListProviderOptionsRequest) ([]ProviderOptionsResponse, error)
Execute executes the request
@return []ProviderOptionsResponse
func (*DefaultAPIService) ListRules ¶
func (a *DefaultAPIService) ListRules(ctx context.Context, projectId string, regionId string) ApiListRulesRequest
ListRules Get rules for a project
Returns a list of rules for a specific project
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param projectId The STACKIT portal project UUID @param regionId The STACKIT region name the resource is located in. @return ApiListRulesRequest
func (*DefaultAPIService) ListRulesExecute ¶
func (a *DefaultAPIService) ListRulesExecute(r ApiListRulesRequest) (*ListRulesResponse, error)
Execute executes the request
@return ListRulesResponse
func (*DefaultAPIService) UpdateRule ¶
func (a *DefaultAPIService) UpdateRule(ctx context.Context, projectId string, regionId string, ruleId string) ApiUpdateRuleRequest
UpdateRule Update rule by UUID for a project
Returns the updated rule for a specific project
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param projectId The STACKIT portal project UUID @param regionId The STACKIT region name the resource is located in. @param ruleId The STACKIT security rule UUID. @return ApiUpdateRuleRequest
func (*DefaultAPIService) UpdateRuleExecute ¶
func (a *DefaultAPIService) UpdateRuleExecute(r ApiUpdateRuleRequest) (*UpdateRuleResponse, error)
Execute executes the request
@return UpdateRuleResponse
type DefaultAPIServiceMock ¶
type DefaultAPIServiceMock struct {
// CreateRuleExecuteMock can be populated to implement the behavior of the CreateRuleExecute function of this mock
CreateRuleExecuteMock *func(r ApiCreateRuleRequest) (*CreateRuleResponse, error)
// DeleteRuleExecuteMock can be populated to implement the behavior of the DeleteRuleExecute function of this mock
DeleteRuleExecuteMock *func(r ApiDeleteRuleRequest) (*DeleteRuleResponse, error)
// GetRuleExecuteMock can be populated to implement the behavior of the GetRuleExecute function of this mock
GetRuleExecuteMock *func(r ApiGetRuleRequest) (*RuleResponse, error)
// ListFolderContainersExecuteMock can be populated to implement the behavior of the ListFolderContainersExecute function of this mock
ListFolderContainersExecuteMock *func(r ApiListFolderContainersRequest) (*ListContainersResponse, error)
// ListOrganizationContainersExecuteMock can be populated to implement the behavior of the ListOrganizationContainersExecute function of this mock
ListOrganizationContainersExecuteMock *func(r ApiListOrganizationContainersRequest) (*ListContainersResponse, error)
// ListProviderOptionsExecuteMock can be populated to implement the behavior of the ListProviderOptionsExecute function of this mock
ListProviderOptionsExecuteMock *func(r ApiListProviderOptionsRequest) ([]ProviderOptionsResponse, error)
// ListRulesExecuteMock can be populated to implement the behavior of the ListRulesExecute function of this mock
ListRulesExecuteMock *func(r ApiListRulesRequest) (*ListRulesResponse, error)
// UpdateRuleExecuteMock can be populated to implement the behavior of the UpdateRuleExecute function of this mock
UpdateRuleExecuteMock *func(r ApiUpdateRuleRequest) (*UpdateRuleResponse, error)
}
DefaultAPIServiceMock is meant to be used for testing only as a replacement for DefaultAPIService. By default all FooExecute() implementations are a no-op. Behavior of the mock can be customized by populating the callbacks in this struct.
func (DefaultAPIServiceMock) CreateRule ¶
func (a DefaultAPIServiceMock) CreateRule(ctx context.Context, projectId string, regionId string) ApiCreateRuleRequest
func (DefaultAPIServiceMock) CreateRuleExecute ¶
func (a DefaultAPIServiceMock) CreateRuleExecute(r ApiCreateRuleRequest) (*CreateRuleResponse, error)
CreateRuleExecute is a no-op by default and will return only return nil values. Behavior can be controlled by populating the CreateRuleExecuteMock field in the DefaultAPIServiceMock struct.
func (DefaultAPIServiceMock) DeleteRule ¶
func (a DefaultAPIServiceMock) DeleteRule(ctx context.Context, projectId string, regionId string, ruleId string) ApiDeleteRuleRequest
func (DefaultAPIServiceMock) DeleteRuleExecute ¶
func (a DefaultAPIServiceMock) DeleteRuleExecute(r ApiDeleteRuleRequest) (*DeleteRuleResponse, error)
DeleteRuleExecute is a no-op by default and will return only return nil values. Behavior can be controlled by populating the DeleteRuleExecuteMock field in the DefaultAPIServiceMock struct.
func (DefaultAPIServiceMock) GetRule ¶
func (a DefaultAPIServiceMock) GetRule(ctx context.Context, projectId string, regionId string, ruleId string) ApiGetRuleRequest
func (DefaultAPIServiceMock) GetRuleExecute ¶
func (a DefaultAPIServiceMock) GetRuleExecute(r ApiGetRuleRequest) (*RuleResponse, error)
GetRuleExecute is a no-op by default and will return only return nil values. Behavior can be controlled by populating the GetRuleExecuteMock field in the DefaultAPIServiceMock struct.
func (DefaultAPIServiceMock) ListFolderContainers ¶
func (a DefaultAPIServiceMock) ListFolderContainers(ctx context.Context, folderId string) ApiListFolderContainersRequest
func (DefaultAPIServiceMock) ListFolderContainersExecute ¶
func (a DefaultAPIServiceMock) ListFolderContainersExecute(r ApiListFolderContainersRequest) (*ListContainersResponse, error)
ListFolderContainersExecute is a no-op by default and will return only return nil values. Behavior can be controlled by populating the ListFolderContainersExecuteMock field in the DefaultAPIServiceMock struct.
func (DefaultAPIServiceMock) ListOrganizationContainers ¶
func (a DefaultAPIServiceMock) ListOrganizationContainers(ctx context.Context, organizationId string) ApiListOrganizationContainersRequest
func (DefaultAPIServiceMock) ListOrganizationContainersExecute ¶
func (a DefaultAPIServiceMock) ListOrganizationContainersExecute(r ApiListOrganizationContainersRequest) (*ListContainersResponse, error)
ListOrganizationContainersExecute is a no-op by default and will return only return nil values. Behavior can be controlled by populating the ListOrganizationContainersExecuteMock field in the DefaultAPIServiceMock struct.
func (DefaultAPIServiceMock) ListProviderOptions ¶
func (a DefaultAPIServiceMock) ListProviderOptions(ctx context.Context, regionId string) ApiListProviderOptionsRequest
func (DefaultAPIServiceMock) ListProviderOptionsExecute ¶
func (a DefaultAPIServiceMock) ListProviderOptionsExecute(r ApiListProviderOptionsRequest) ([]ProviderOptionsResponse, error)
ListProviderOptionsExecute is a no-op by default and will return only return nil values. Behavior can be controlled by populating the ListProviderOptionsExecuteMock field in the DefaultAPIServiceMock struct.
func (DefaultAPIServiceMock) ListRules ¶
func (a DefaultAPIServiceMock) ListRules(ctx context.Context, projectId string, regionId string) ApiListRulesRequest
func (DefaultAPIServiceMock) ListRulesExecute ¶
func (a DefaultAPIServiceMock) ListRulesExecute(r ApiListRulesRequest) (*ListRulesResponse, error)
ListRulesExecute is a no-op by default and will return only return nil values. Behavior can be controlled by populating the ListRulesExecuteMock field in the DefaultAPIServiceMock struct.
func (DefaultAPIServiceMock) UpdateRule ¶
func (a DefaultAPIServiceMock) UpdateRule(ctx context.Context, projectId string, regionId string, ruleId string) ApiUpdateRuleRequest
func (DefaultAPIServiceMock) UpdateRuleExecute ¶
func (a DefaultAPIServiceMock) UpdateRuleExecute(r ApiUpdateRuleRequest) (*UpdateRuleResponse, error)
UpdateRuleExecute is a no-op by default and will return only return nil values. Behavior can be controlled by populating the UpdateRuleExecuteMock field in the DefaultAPIServiceMock struct.
type DeleteRuleResponse ¶
type DeleteRuleResponse struct {
// Represents if the call was successfully made
Success *bool `json:"success,omitempty"`
AdditionalProperties map[string]interface{}
}
DeleteRuleResponse struct for DeleteRuleResponse
func NewDeleteRuleResponse ¶
func NewDeleteRuleResponse() *DeleteRuleResponse
NewDeleteRuleResponse instantiates a new DeleteRuleResponse object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewDeleteRuleResponseWithDefaults ¶
func NewDeleteRuleResponseWithDefaults() *DeleteRuleResponse
NewDeleteRuleResponseWithDefaults instantiates a new DeleteRuleResponse object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*DeleteRuleResponse) GetSuccess ¶
func (o *DeleteRuleResponse) GetSuccess() bool
GetSuccess returns the Success field value if set, zero value otherwise.
func (*DeleteRuleResponse) GetSuccessOk ¶
func (o *DeleteRuleResponse) GetSuccessOk() (*bool, bool)
GetSuccessOk returns a tuple with the Success field value if set, nil otherwise and a boolean to check if the value has been set.
func (*DeleteRuleResponse) HasSuccess ¶
func (o *DeleteRuleResponse) HasSuccess() bool
HasSuccess returns a boolean if a field has been set.
func (DeleteRuleResponse) MarshalJSON ¶
func (o DeleteRuleResponse) MarshalJSON() ([]byte, error)
func (*DeleteRuleResponse) SetSuccess ¶
func (o *DeleteRuleResponse) SetSuccess(v bool)
SetSuccess gets a reference to the given bool and assigns it to the Success field.
func (DeleteRuleResponse) ToMap ¶
func (o DeleteRuleResponse) ToMap() (map[string]interface{}, error)
func (*DeleteRuleResponse) UnmarshalJSON ¶
func (o *DeleteRuleResponse) UnmarshalJSON(data []byte) (err error)
type ErrorResponse ¶
type ErrorResponse struct {
Code *int32 `json:"code,omitempty"`
Message *string `json:"message,omitempty"`
AdditionalProperties map[string]interface{}
}
ErrorResponse struct for ErrorResponse
func NewErrorResponse ¶
func NewErrorResponse() *ErrorResponse
NewErrorResponse instantiates a new ErrorResponse object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewErrorResponseWithDefaults ¶
func NewErrorResponseWithDefaults() *ErrorResponse
NewErrorResponseWithDefaults instantiates a new ErrorResponse object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*ErrorResponse) GetCode ¶
func (o *ErrorResponse) GetCode() int32
GetCode returns the Code field value if set, zero value otherwise.
func (*ErrorResponse) GetCodeOk ¶
func (o *ErrorResponse) GetCodeOk() (*int32, bool)
GetCodeOk returns a tuple with the Code field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ErrorResponse) GetMessage ¶
func (o *ErrorResponse) GetMessage() string
GetMessage returns the Message field value if set, zero value otherwise.
func (*ErrorResponse) GetMessageOk ¶
func (o *ErrorResponse) GetMessageOk() (*string, bool)
GetMessageOk returns a tuple with the Message field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ErrorResponse) HasCode ¶
func (o *ErrorResponse) HasCode() bool
HasCode returns a boolean if a field has been set.
func (*ErrorResponse) HasMessage ¶
func (o *ErrorResponse) HasMessage() bool
HasMessage returns a boolean if a field has been set.
func (ErrorResponse) MarshalJSON ¶
func (o ErrorResponse) MarshalJSON() ([]byte, error)
func (*ErrorResponse) SetCode ¶
func (o *ErrorResponse) SetCode(v int32)
SetCode gets a reference to the given int32 and assigns it to the Code field.
func (*ErrorResponse) SetMessage ¶
func (o *ErrorResponse) SetMessage(v string)
SetMessage gets a reference to the given string and assigns it to the Message field.
func (ErrorResponse) ToMap ¶
func (o ErrorResponse) ToMap() (map[string]interface{}, error)
func (*ErrorResponse) UnmarshalJSON ¶
func (o *ErrorResponse) UnmarshalJSON(data []byte) (err error)
type ListContainersResponse ¶
type ListContainersResponse struct {
Cursor string `json:"cursor"`
Items []ContainerResponse `json:"items"`
Limit int32 `json:"limit"`
AdditionalProperties map[string]interface{}
}
ListContainersResponse struct for ListContainersResponse
func NewListContainersResponse ¶
func NewListContainersResponse(cursor string, items []ContainerResponse, limit int32) *ListContainersResponse
NewListContainersResponse instantiates a new ListContainersResponse object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewListContainersResponseWithDefaults ¶
func NewListContainersResponseWithDefaults() *ListContainersResponse
NewListContainersResponseWithDefaults instantiates a new ListContainersResponse object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*ListContainersResponse) GetCursor ¶
func (o *ListContainersResponse) GetCursor() string
GetCursor returns the Cursor field value
func (*ListContainersResponse) GetCursorOk ¶
func (o *ListContainersResponse) GetCursorOk() (*string, bool)
GetCursorOk returns a tuple with the Cursor field value and a boolean to check if the value has been set.
func (*ListContainersResponse) GetItems ¶
func (o *ListContainersResponse) GetItems() []ContainerResponse
GetItems returns the Items field value
func (*ListContainersResponse) GetItemsOk ¶
func (o *ListContainersResponse) GetItemsOk() ([]ContainerResponse, bool)
GetItemsOk returns a tuple with the Items field value and a boolean to check if the value has been set.
func (*ListContainersResponse) GetLimit ¶
func (o *ListContainersResponse) GetLimit() int32
GetLimit returns the Limit field value
func (*ListContainersResponse) GetLimitOk ¶
func (o *ListContainersResponse) GetLimitOk() (*int32, bool)
GetLimitOk returns a tuple with the Limit field value and a boolean to check if the value has been set.
func (ListContainersResponse) MarshalJSON ¶
func (o ListContainersResponse) MarshalJSON() ([]byte, error)
func (*ListContainersResponse) SetCursor ¶
func (o *ListContainersResponse) SetCursor(v string)
SetCursor sets field value
func (*ListContainersResponse) SetItems ¶
func (o *ListContainersResponse) SetItems(v []ContainerResponse)
SetItems sets field value
func (*ListContainersResponse) SetLimit ¶
func (o *ListContainersResponse) SetLimit(v int32)
SetLimit sets field value
func (ListContainersResponse) ToMap ¶
func (o ListContainersResponse) ToMap() (map[string]interface{}, error)
func (*ListContainersResponse) UnmarshalJSON ¶
func (o *ListContainersResponse) UnmarshalJSON(data []byte) (err error)
type ListRulesDirectionParameter ¶
type ListRulesDirectionParameter string
ListRulesDirectionParameter the model 'ListRulesDirectionParameter'
const ( LISTRULESDIRECTIONPARAMETER_INGRESS ListRulesDirectionParameter = "ingress" LISTRULESDIRECTIONPARAMETER_EGRESS ListRulesDirectionParameter = "egress" LISTRULESDIRECTIONPARAMETER_UNKNOWN_DEFAULT_OPEN_API ListRulesDirectionParameter = "unknown_default_open_api" )
List of ListRules_direction_parameter
func NewListRulesDirectionParameterFromValue ¶
func NewListRulesDirectionParameterFromValue(v string) (*ListRulesDirectionParameter, error)
NewListRulesDirectionParameterFromValue returns a pointer to a valid ListRulesDirectionParameter for the value passed as argument, or an error if the value passed is not allowed by the enum
func (ListRulesDirectionParameter) IsValid ¶
func (v ListRulesDirectionParameter) IsValid() bool
IsValid return true if the value is valid for the enum, false otherwise
func (ListRulesDirectionParameter) Ptr ¶
func (v ListRulesDirectionParameter) Ptr() *ListRulesDirectionParameter
Ptr returns reference to ListRules_direction_parameter value
func (*ListRulesDirectionParameter) UnmarshalJSON ¶
func (v *ListRulesDirectionParameter) UnmarshalJSON(src []byte) error
type ListRulesResponse ¶
type ListRulesResponse struct {
Errors []string `json:"errors,omitempty"`
Rules []RuleResponse `json:"rules"`
AdditionalProperties map[string]interface{}
}
ListRulesResponse struct for ListRulesResponse
func NewListRulesResponse ¶
func NewListRulesResponse(rules []RuleResponse) *ListRulesResponse
NewListRulesResponse instantiates a new ListRulesResponse object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewListRulesResponseWithDefaults ¶
func NewListRulesResponseWithDefaults() *ListRulesResponse
NewListRulesResponseWithDefaults instantiates a new ListRulesResponse object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*ListRulesResponse) GetErrors ¶
func (o *ListRulesResponse) GetErrors() []string
GetErrors returns the Errors field value if set, zero value otherwise.
func (*ListRulesResponse) GetErrorsOk ¶
func (o *ListRulesResponse) GetErrorsOk() ([]string, bool)
GetErrorsOk returns a tuple with the Errors field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ListRulesResponse) GetRules ¶
func (o *ListRulesResponse) GetRules() []RuleResponse
GetRules returns the Rules field value
func (*ListRulesResponse) GetRulesOk ¶
func (o *ListRulesResponse) GetRulesOk() ([]RuleResponse, bool)
GetRulesOk returns a tuple with the Rules field value and a boolean to check if the value has been set.
func (*ListRulesResponse) HasErrors ¶
func (o *ListRulesResponse) HasErrors() bool
HasErrors returns a boolean if a field has been set.
func (ListRulesResponse) MarshalJSON ¶
func (o ListRulesResponse) MarshalJSON() ([]byte, error)
func (*ListRulesResponse) SetErrors ¶
func (o *ListRulesResponse) SetErrors(v []string)
SetErrors gets a reference to the given []string and assigns it to the Errors field.
func (*ListRulesResponse) SetRules ¶
func (o *ListRulesResponse) SetRules(v []RuleResponse)
SetRules sets field value
func (ListRulesResponse) ToMap ¶
func (o ListRulesResponse) ToMap() (map[string]interface{}, error)
func (*ListRulesResponse) UnmarshalJSON ¶
func (o *ListRulesResponse) UnmarshalJSON(data []byte) (err error)
type ListRulesSortOrderParameter ¶
type ListRulesSortOrderParameter string
ListRulesSortOrderParameter the model 'ListRulesSortOrderParameter'
const ( LISTRULESSORTORDERPARAMETER_ASC ListRulesSortOrderParameter = "asc" LISTRULESSORTORDERPARAMETER_DESC ListRulesSortOrderParameter = "desc" LISTRULESSORTORDERPARAMETER_UNKNOWN_DEFAULT_OPEN_API ListRulesSortOrderParameter = "unknown_default_open_api" )
List of ListRules_sortOrder_parameter
func NewListRulesSortOrderParameterFromValue ¶
func NewListRulesSortOrderParameterFromValue(v string) (*ListRulesSortOrderParameter, error)
NewListRulesSortOrderParameterFromValue returns a pointer to a valid ListRulesSortOrderParameter for the value passed as argument, or an error if the value passed is not allowed by the enum
func (ListRulesSortOrderParameter) IsValid ¶
func (v ListRulesSortOrderParameter) IsValid() bool
IsValid return true if the value is valid for the enum, false otherwise
func (ListRulesSortOrderParameter) Ptr ¶
func (v ListRulesSortOrderParameter) Ptr() *ListRulesSortOrderParameter
Ptr returns reference to ListRules_sortOrder_parameter value
func (*ListRulesSortOrderParameter) UnmarshalJSON ¶
func (v *ListRulesSortOrderParameter) UnmarshalJSON(src []byte) error
type MappedNullable ¶
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 NullableContainerResponse ¶
type NullableContainerResponse struct {
// contains filtered or unexported fields
}
func NewNullableContainerResponse ¶
func NewNullableContainerResponse(val *ContainerResponse) *NullableContainerResponse
func (NullableContainerResponse) Get ¶
func (v NullableContainerResponse) Get() *ContainerResponse
func (NullableContainerResponse) IsSet ¶
func (v NullableContainerResponse) IsSet() bool
func (NullableContainerResponse) MarshalJSON ¶
func (v NullableContainerResponse) MarshalJSON() ([]byte, error)
func (*NullableContainerResponse) Set ¶
func (v *NullableContainerResponse) Set(val *ContainerResponse)
func (*NullableContainerResponse) UnmarshalJSON ¶
func (v *NullableContainerResponse) UnmarshalJSON(src []byte) error
func (*NullableContainerResponse) Unset ¶
func (v *NullableContainerResponse) Unset()
type NullableCreateRulePayload ¶
type NullableCreateRulePayload struct {
// contains filtered or unexported fields
}
func NewNullableCreateRulePayload ¶
func NewNullableCreateRulePayload(val *CreateRulePayload) *NullableCreateRulePayload
func (NullableCreateRulePayload) Get ¶
func (v NullableCreateRulePayload) Get() *CreateRulePayload
func (NullableCreateRulePayload) IsSet ¶
func (v NullableCreateRulePayload) IsSet() bool
func (NullableCreateRulePayload) MarshalJSON ¶
func (v NullableCreateRulePayload) MarshalJSON() ([]byte, error)
func (*NullableCreateRulePayload) Set ¶
func (v *NullableCreateRulePayload) Set(val *CreateRulePayload)
func (*NullableCreateRulePayload) UnmarshalJSON ¶
func (v *NullableCreateRulePayload) UnmarshalJSON(src []byte) error
func (*NullableCreateRulePayload) Unset ¶
func (v *NullableCreateRulePayload) Unset()
type NullableCreateRuleResponse ¶
type NullableCreateRuleResponse struct {
// contains filtered or unexported fields
}
func NewNullableCreateRuleResponse ¶
func NewNullableCreateRuleResponse(val *CreateRuleResponse) *NullableCreateRuleResponse
func (NullableCreateRuleResponse) Get ¶
func (v NullableCreateRuleResponse) Get() *CreateRuleResponse
func (NullableCreateRuleResponse) IsSet ¶
func (v NullableCreateRuleResponse) IsSet() bool
func (NullableCreateRuleResponse) MarshalJSON ¶
func (v NullableCreateRuleResponse) MarshalJSON() ([]byte, error)
func (*NullableCreateRuleResponse) Set ¶
func (v *NullableCreateRuleResponse) Set(val *CreateRuleResponse)
func (*NullableCreateRuleResponse) UnmarshalJSON ¶
func (v *NullableCreateRuleResponse) UnmarshalJSON(src []byte) error
func (*NullableCreateRuleResponse) Unset ¶
func (v *NullableCreateRuleResponse) Unset()
type NullableDeleteRuleResponse ¶
type NullableDeleteRuleResponse struct {
// contains filtered or unexported fields
}
func NewNullableDeleteRuleResponse ¶
func NewNullableDeleteRuleResponse(val *DeleteRuleResponse) *NullableDeleteRuleResponse
func (NullableDeleteRuleResponse) Get ¶
func (v NullableDeleteRuleResponse) Get() *DeleteRuleResponse
func (NullableDeleteRuleResponse) IsSet ¶
func (v NullableDeleteRuleResponse) IsSet() bool
func (NullableDeleteRuleResponse) MarshalJSON ¶
func (v NullableDeleteRuleResponse) MarshalJSON() ([]byte, error)
func (*NullableDeleteRuleResponse) Set ¶
func (v *NullableDeleteRuleResponse) Set(val *DeleteRuleResponse)
func (*NullableDeleteRuleResponse) UnmarshalJSON ¶
func (v *NullableDeleteRuleResponse) UnmarshalJSON(src []byte) error
func (*NullableDeleteRuleResponse) Unset ¶
func (v *NullableDeleteRuleResponse) Unset()
type NullableErrorResponse ¶
type NullableErrorResponse struct {
// contains filtered or unexported fields
}
func NewNullableErrorResponse ¶
func NewNullableErrorResponse(val *ErrorResponse) *NullableErrorResponse
func (NullableErrorResponse) Get ¶
func (v NullableErrorResponse) Get() *ErrorResponse
func (NullableErrorResponse) IsSet ¶
func (v NullableErrorResponse) IsSet() bool
func (NullableErrorResponse) MarshalJSON ¶
func (v NullableErrorResponse) MarshalJSON() ([]byte, error)
func (*NullableErrorResponse) Set ¶
func (v *NullableErrorResponse) Set(val *ErrorResponse)
func (*NullableErrorResponse) UnmarshalJSON ¶
func (v *NullableErrorResponse) UnmarshalJSON(src []byte) error
func (*NullableErrorResponse) Unset ¶
func (v *NullableErrorResponse) 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 NullableListContainersResponse ¶
type NullableListContainersResponse struct {
// contains filtered or unexported fields
}
func NewNullableListContainersResponse ¶
func NewNullableListContainersResponse(val *ListContainersResponse) *NullableListContainersResponse
func (NullableListContainersResponse) Get ¶
func (v NullableListContainersResponse) Get() *ListContainersResponse
func (NullableListContainersResponse) IsSet ¶
func (v NullableListContainersResponse) IsSet() bool
func (NullableListContainersResponse) MarshalJSON ¶
func (v NullableListContainersResponse) MarshalJSON() ([]byte, error)
func (*NullableListContainersResponse) Set ¶
func (v *NullableListContainersResponse) Set(val *ListContainersResponse)
func (*NullableListContainersResponse) UnmarshalJSON ¶
func (v *NullableListContainersResponse) UnmarshalJSON(src []byte) error
func (*NullableListContainersResponse) Unset ¶
func (v *NullableListContainersResponse) Unset()
type NullableListRulesDirectionParameter ¶
type NullableListRulesDirectionParameter struct {
// contains filtered or unexported fields
}
func NewNullableListRulesDirectionParameter ¶
func NewNullableListRulesDirectionParameter(val *ListRulesDirectionParameter) *NullableListRulesDirectionParameter
func (NullableListRulesDirectionParameter) Get ¶
func (v NullableListRulesDirectionParameter) Get() *ListRulesDirectionParameter
func (NullableListRulesDirectionParameter) IsSet ¶
func (v NullableListRulesDirectionParameter) IsSet() bool
func (NullableListRulesDirectionParameter) MarshalJSON ¶
func (v NullableListRulesDirectionParameter) MarshalJSON() ([]byte, error)
func (*NullableListRulesDirectionParameter) Set ¶
func (v *NullableListRulesDirectionParameter) Set(val *ListRulesDirectionParameter)
func (*NullableListRulesDirectionParameter) UnmarshalJSON ¶
func (v *NullableListRulesDirectionParameter) UnmarshalJSON(src []byte) error
func (*NullableListRulesDirectionParameter) Unset ¶
func (v *NullableListRulesDirectionParameter) Unset()
type NullableListRulesResponse ¶
type NullableListRulesResponse struct {
// contains filtered or unexported fields
}
func NewNullableListRulesResponse ¶
func NewNullableListRulesResponse(val *ListRulesResponse) *NullableListRulesResponse
func (NullableListRulesResponse) Get ¶
func (v NullableListRulesResponse) Get() *ListRulesResponse
func (NullableListRulesResponse) IsSet ¶
func (v NullableListRulesResponse) IsSet() bool
func (NullableListRulesResponse) MarshalJSON ¶
func (v NullableListRulesResponse) MarshalJSON() ([]byte, error)
func (*NullableListRulesResponse) Set ¶
func (v *NullableListRulesResponse) Set(val *ListRulesResponse)
func (*NullableListRulesResponse) UnmarshalJSON ¶
func (v *NullableListRulesResponse) UnmarshalJSON(src []byte) error
func (*NullableListRulesResponse) Unset ¶
func (v *NullableListRulesResponse) Unset()
type NullableListRulesSortOrderParameter ¶
type NullableListRulesSortOrderParameter struct {
// contains filtered or unexported fields
}
func NewNullableListRulesSortOrderParameter ¶
func NewNullableListRulesSortOrderParameter(val *ListRulesSortOrderParameter) *NullableListRulesSortOrderParameter
func (NullableListRulesSortOrderParameter) Get ¶
func (v NullableListRulesSortOrderParameter) Get() *ListRulesSortOrderParameter
func (NullableListRulesSortOrderParameter) IsSet ¶
func (v NullableListRulesSortOrderParameter) IsSet() bool
func (NullableListRulesSortOrderParameter) MarshalJSON ¶
func (v NullableListRulesSortOrderParameter) MarshalJSON() ([]byte, error)
func (*NullableListRulesSortOrderParameter) Set ¶
func (v *NullableListRulesSortOrderParameter) Set(val *ListRulesSortOrderParameter)
func (*NullableListRulesSortOrderParameter) UnmarshalJSON ¶
func (v *NullableListRulesSortOrderParameter) UnmarshalJSON(src []byte) error
func (*NullableListRulesSortOrderParameter) Unset ¶
func (v *NullableListRulesSortOrderParameter) Unset()
type NullableProviderOptionsProductMeta ¶
type NullableProviderOptionsProductMeta struct {
// contains filtered or unexported fields
}
func NewNullableProviderOptionsProductMeta ¶
func NewNullableProviderOptionsProductMeta(val *ProviderOptionsProductMeta) *NullableProviderOptionsProductMeta
func (NullableProviderOptionsProductMeta) Get ¶
func (v NullableProviderOptionsProductMeta) Get() *ProviderOptionsProductMeta
func (NullableProviderOptionsProductMeta) IsSet ¶
func (v NullableProviderOptionsProductMeta) IsSet() bool
func (NullableProviderOptionsProductMeta) MarshalJSON ¶
func (v NullableProviderOptionsProductMeta) MarshalJSON() ([]byte, error)
func (*NullableProviderOptionsProductMeta) Set ¶
func (v *NullableProviderOptionsProductMeta) Set(val *ProviderOptionsProductMeta)
func (*NullableProviderOptionsProductMeta) UnmarshalJSON ¶
func (v *NullableProviderOptionsProductMeta) UnmarshalJSON(src []byte) error
func (*NullableProviderOptionsProductMeta) Unset ¶
func (v *NullableProviderOptionsProductMeta) Unset()
type NullableProviderOptionsResponse ¶
type NullableProviderOptionsResponse struct {
// contains filtered or unexported fields
}
func NewNullableProviderOptionsResponse ¶
func NewNullableProviderOptionsResponse(val *ProviderOptionsResponse) *NullableProviderOptionsResponse
func (NullableProviderOptionsResponse) Get ¶
func (v NullableProviderOptionsResponse) Get() *ProviderOptionsResponse
func (NullableProviderOptionsResponse) IsSet ¶
func (v NullableProviderOptionsResponse) IsSet() bool
func (NullableProviderOptionsResponse) MarshalJSON ¶
func (v NullableProviderOptionsResponse) MarshalJSON() ([]byte, error)
func (*NullableProviderOptionsResponse) Set ¶
func (v *NullableProviderOptionsResponse) Set(val *ProviderOptionsResponse)
func (*NullableProviderOptionsResponse) UnmarshalJSON ¶
func (v *NullableProviderOptionsResponse) UnmarshalJSON(src []byte) error
func (*NullableProviderOptionsResponse) Unset ¶
func (v *NullableProviderOptionsResponse) Unset()
type NullableRuleResponse ¶
type NullableRuleResponse struct {
// contains filtered or unexported fields
}
func NewNullableRuleResponse ¶
func NewNullableRuleResponse(val *RuleResponse) *NullableRuleResponse
func (NullableRuleResponse) Get ¶
func (v NullableRuleResponse) Get() *RuleResponse
func (NullableRuleResponse) IsSet ¶
func (v NullableRuleResponse) IsSet() bool
func (NullableRuleResponse) MarshalJSON ¶
func (v NullableRuleResponse) MarshalJSON() ([]byte, error)
func (*NullableRuleResponse) Set ¶
func (v *NullableRuleResponse) Set(val *RuleResponse)
func (*NullableRuleResponse) UnmarshalJSON ¶
func (v *NullableRuleResponse) UnmarshalJSON(src []byte) error
func (*NullableRuleResponse) Unset ¶
func (v *NullableRuleResponse) Unset()
type NullableRuleResponseStatus ¶
type NullableRuleResponseStatus struct {
// contains filtered or unexported fields
}
func NewNullableRuleResponseStatus ¶
func NewNullableRuleResponseStatus(val *RuleResponseStatus) *NullableRuleResponseStatus
func (NullableRuleResponseStatus) Get ¶
func (v NullableRuleResponseStatus) Get() *RuleResponseStatus
func (NullableRuleResponseStatus) IsSet ¶
func (v NullableRuleResponseStatus) IsSet() bool
func (NullableRuleResponseStatus) MarshalJSON ¶
func (v NullableRuleResponseStatus) MarshalJSON() ([]byte, error)
func (*NullableRuleResponseStatus) Set ¶
func (v *NullableRuleResponseStatus) Set(val *RuleResponseStatus)
func (*NullableRuleResponseStatus) UnmarshalJSON ¶
func (v *NullableRuleResponseStatus) UnmarshalJSON(src []byte) error
func (*NullableRuleResponseStatus) Unset ¶
func (v *NullableRuleResponseStatus) 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 NullableUpdateRulePayload ¶
type NullableUpdateRulePayload struct {
// contains filtered or unexported fields
}
func NewNullableUpdateRulePayload ¶
func NewNullableUpdateRulePayload(val *UpdateRulePayload) *NullableUpdateRulePayload
func (NullableUpdateRulePayload) Get ¶
func (v NullableUpdateRulePayload) Get() *UpdateRulePayload
func (NullableUpdateRulePayload) IsSet ¶
func (v NullableUpdateRulePayload) IsSet() bool
func (NullableUpdateRulePayload) MarshalJSON ¶
func (v NullableUpdateRulePayload) MarshalJSON() ([]byte, error)
func (*NullableUpdateRulePayload) Set ¶
func (v *NullableUpdateRulePayload) Set(val *UpdateRulePayload)
func (*NullableUpdateRulePayload) UnmarshalJSON ¶
func (v *NullableUpdateRulePayload) UnmarshalJSON(src []byte) error
func (*NullableUpdateRulePayload) Unset ¶
func (v *NullableUpdateRulePayload) Unset()
type NullableUpdateRuleResponse ¶
type NullableUpdateRuleResponse struct {
// contains filtered or unexported fields
}
func NewNullableUpdateRuleResponse ¶
func NewNullableUpdateRuleResponse(val *UpdateRuleResponse) *NullableUpdateRuleResponse
func (NullableUpdateRuleResponse) Get ¶
func (v NullableUpdateRuleResponse) Get() *UpdateRuleResponse
func (NullableUpdateRuleResponse) IsSet ¶
func (v NullableUpdateRuleResponse) IsSet() bool
func (NullableUpdateRuleResponse) MarshalJSON ¶
func (v NullableUpdateRuleResponse) MarshalJSON() ([]byte, error)
func (*NullableUpdateRuleResponse) Set ¶
func (v *NullableUpdateRuleResponse) Set(val *UpdateRuleResponse)
func (*NullableUpdateRuleResponse) UnmarshalJSON ¶
func (v *NullableUpdateRuleResponse) UnmarshalJSON(src []byte) error
func (*NullableUpdateRuleResponse) Unset ¶
func (v *NullableUpdateRuleResponse) Unset()
type NullableUpdateUfwRequest ¶
type NullableUpdateUfwRequest struct {
// contains filtered or unexported fields
}
func NewNullableUpdateUfwRequest ¶
func NewNullableUpdateUfwRequest(val *UpdateUfwRequest) *NullableUpdateUfwRequest
func (NullableUpdateUfwRequest) Get ¶
func (v NullableUpdateUfwRequest) Get() *UpdateUfwRequest
func (NullableUpdateUfwRequest) IsSet ¶
func (v NullableUpdateUfwRequest) IsSet() bool
func (NullableUpdateUfwRequest) MarshalJSON ¶
func (v NullableUpdateUfwRequest) MarshalJSON() ([]byte, error)
func (*NullableUpdateUfwRequest) Set ¶
func (v *NullableUpdateUfwRequest) Set(val *UpdateUfwRequest)
func (*NullableUpdateUfwRequest) UnmarshalJSON ¶
func (v *NullableUpdateUfwRequest) UnmarshalJSON(src []byte) error
func (*NullableUpdateUfwRequest) Unset ¶
func (v *NullableUpdateUfwRequest) Unset()
type NullableVersionResponse ¶
type NullableVersionResponse struct {
// contains filtered or unexported fields
}
func NewNullableVersionResponse ¶
func NewNullableVersionResponse(val *VersionResponse) *NullableVersionResponse
func (NullableVersionResponse) Get ¶
func (v NullableVersionResponse) Get() *VersionResponse
func (NullableVersionResponse) IsSet ¶
func (v NullableVersionResponse) IsSet() bool
func (NullableVersionResponse) MarshalJSON ¶
func (v NullableVersionResponse) MarshalJSON() ([]byte, error)
func (*NullableVersionResponse) Set ¶
func (v *NullableVersionResponse) Set(val *VersionResponse)
func (*NullableVersionResponse) UnmarshalJSON ¶
func (v *NullableVersionResponse) UnmarshalJSON(src []byte) error
func (*NullableVersionResponse) Unset ¶
func (v *NullableVersionResponse) Unset()
type ProviderOptionsProductMeta ¶
type ProviderOptionsProductMeta struct {
Actions []string `json:"actions"`
Types []string `json:"types"`
AdditionalProperties map[string]interface{}
}
ProviderOptionsProductMeta struct for ProviderOptionsProductMeta
func NewProviderOptionsProductMeta ¶
func NewProviderOptionsProductMeta(actions []string, types []string) *ProviderOptionsProductMeta
NewProviderOptionsProductMeta instantiates a new ProviderOptionsProductMeta object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewProviderOptionsProductMetaWithDefaults ¶
func NewProviderOptionsProductMetaWithDefaults() *ProviderOptionsProductMeta
NewProviderOptionsProductMetaWithDefaults instantiates a new ProviderOptionsProductMeta object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*ProviderOptionsProductMeta) GetActions ¶
func (o *ProviderOptionsProductMeta) GetActions() []string
GetActions returns the Actions field value
func (*ProviderOptionsProductMeta) GetActionsOk ¶
func (o *ProviderOptionsProductMeta) GetActionsOk() ([]string, bool)
GetActionsOk returns a tuple with the Actions field value and a boolean to check if the value has been set.
func (*ProviderOptionsProductMeta) GetTypes ¶
func (o *ProviderOptionsProductMeta) GetTypes() []string
GetTypes returns the Types field value
func (*ProviderOptionsProductMeta) GetTypesOk ¶
func (o *ProviderOptionsProductMeta) GetTypesOk() ([]string, bool)
GetTypesOk returns a tuple with the Types field value and a boolean to check if the value has been set.
func (ProviderOptionsProductMeta) MarshalJSON ¶
func (o ProviderOptionsProductMeta) MarshalJSON() ([]byte, error)
func (*ProviderOptionsProductMeta) SetActions ¶
func (o *ProviderOptionsProductMeta) SetActions(v []string)
SetActions sets field value
func (*ProviderOptionsProductMeta) SetTypes ¶
func (o *ProviderOptionsProductMeta) SetTypes(v []string)
SetTypes sets field value
func (ProviderOptionsProductMeta) ToMap ¶
func (o ProviderOptionsProductMeta) ToMap() (map[string]interface{}, error)
func (*ProviderOptionsProductMeta) UnmarshalJSON ¶
func (o *ProviderOptionsProductMeta) UnmarshalJSON(data []byte) (err error)
type ProviderOptionsResponse ¶
type ProviderOptionsResponse struct {
ProductMeta map[string]ProviderOptionsProductMeta `json:"productMeta"`
Products []string `json:"products"`
Types []string `json:"types"`
AdditionalProperties map[string]interface{}
}
ProviderOptionsResponse struct for ProviderOptionsResponse
func NewProviderOptionsResponse ¶
func NewProviderOptionsResponse(productMeta map[string]ProviderOptionsProductMeta, products []string, types []string) *ProviderOptionsResponse
NewProviderOptionsResponse instantiates a new ProviderOptionsResponse object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewProviderOptionsResponseWithDefaults ¶
func NewProviderOptionsResponseWithDefaults() *ProviderOptionsResponse
NewProviderOptionsResponseWithDefaults instantiates a new ProviderOptionsResponse object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*ProviderOptionsResponse) GetProductMeta ¶
func (o *ProviderOptionsResponse) GetProductMeta() map[string]ProviderOptionsProductMeta
GetProductMeta returns the ProductMeta field value
func (*ProviderOptionsResponse) GetProductMetaOk ¶
func (o *ProviderOptionsResponse) GetProductMetaOk() (*map[string]ProviderOptionsProductMeta, bool)
GetProductMetaOk returns a tuple with the ProductMeta field value and a boolean to check if the value has been set.
func (*ProviderOptionsResponse) GetProducts ¶
func (o *ProviderOptionsResponse) GetProducts() []string
GetProducts returns the Products field value
func (*ProviderOptionsResponse) GetProductsOk ¶
func (o *ProviderOptionsResponse) GetProductsOk() ([]string, bool)
GetProductsOk returns a tuple with the Products field value and a boolean to check if the value has been set.
func (*ProviderOptionsResponse) GetTypes ¶
func (o *ProviderOptionsResponse) GetTypes() []string
GetTypes returns the Types field value
func (*ProviderOptionsResponse) GetTypesOk ¶
func (o *ProviderOptionsResponse) GetTypesOk() ([]string, bool)
GetTypesOk returns a tuple with the Types field value and a boolean to check if the value has been set.
func (ProviderOptionsResponse) MarshalJSON ¶
func (o ProviderOptionsResponse) MarshalJSON() ([]byte, error)
func (*ProviderOptionsResponse) SetProductMeta ¶
func (o *ProviderOptionsResponse) SetProductMeta(v map[string]ProviderOptionsProductMeta)
SetProductMeta sets field value
func (*ProviderOptionsResponse) SetProducts ¶
func (o *ProviderOptionsResponse) SetProducts(v []string)
SetProducts sets field value
func (*ProviderOptionsResponse) SetTypes ¶
func (o *ProviderOptionsResponse) SetTypes(v []string)
SetTypes sets field value
func (ProviderOptionsResponse) ToMap ¶
func (o ProviderOptionsResponse) ToMap() (map[string]interface{}, error)
func (*ProviderOptionsResponse) UnmarshalJSON ¶
func (o *ProviderOptionsResponse) UnmarshalJSON(data []byte) (err error)
type RuleResponse ¶
type RuleResponse struct {
Description *string `json:"description,omitempty"`
Destination string `json:"destination"`
Direction *string `json:"direction,omitempty"`
ErrorMessage *string `json:"errorMessage,omitempty"`
EtherType *string `json:"etherType,omitempty"`
InstanceId string `json:"instanceId"`
InstanceName *string `json:"instanceName,omitempty"`
IpRange *string `json:"ipRange,omitempty"`
Offset *int32 `json:"offset,omitempty"`
PortRange *string `json:"portRange,omitempty"`
Product string `json:"product"`
Protocol *string `json:"protocol,omitempty"`
Region *string `json:"region,omitempty"`
RemoteSecurityGroupId *string `json:"remoteSecurityGroupId,omitempty"`
SecurityGroup *string `json:"securityGroup,omitempty"`
SecurityGroupId *string `json:"securityGroupId,omitempty"`
SourceIP string `json:"sourceIP"`
Status RuleResponseStatus `json:"status"`
Type string `json:"type"`
AdditionalProperties map[string]interface{}
}
RuleResponse struct for RuleResponse
func NewRuleResponse ¶
func NewRuleResponse(destination string, instanceId string, product string, sourceIP string, status RuleResponseStatus, types string) *RuleResponse
NewRuleResponse instantiates a new RuleResponse object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewRuleResponseWithDefaults ¶
func NewRuleResponseWithDefaults() *RuleResponse
NewRuleResponseWithDefaults instantiates a new RuleResponse object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*RuleResponse) GetDescription ¶
func (o *RuleResponse) GetDescription() string
GetDescription returns the Description field value if set, zero value otherwise.
func (*RuleResponse) GetDescriptionOk ¶
func (o *RuleResponse) GetDescriptionOk() (*string, bool)
GetDescriptionOk returns a tuple with the Description field value if set, nil otherwise and a boolean to check if the value has been set.
func (*RuleResponse) GetDestination ¶
func (o *RuleResponse) GetDestination() string
GetDestination returns the Destination field value
func (*RuleResponse) GetDestinationOk ¶
func (o *RuleResponse) GetDestinationOk() (*string, bool)
GetDestinationOk returns a tuple with the Destination field value and a boolean to check if the value has been set.
func (*RuleResponse) GetDirection ¶
func (o *RuleResponse) GetDirection() string
GetDirection returns the Direction field value if set, zero value otherwise.
func (*RuleResponse) GetDirectionOk ¶
func (o *RuleResponse) GetDirectionOk() (*string, bool)
GetDirectionOk returns a tuple with the Direction field value if set, nil otherwise and a boolean to check if the value has been set.
func (*RuleResponse) GetErrorMessage ¶
func (o *RuleResponse) GetErrorMessage() string
GetErrorMessage returns the ErrorMessage field value if set, zero value otherwise.
func (*RuleResponse) GetErrorMessageOk ¶
func (o *RuleResponse) GetErrorMessageOk() (*string, bool)
GetErrorMessageOk returns a tuple with the ErrorMessage field value if set, nil otherwise and a boolean to check if the value has been set.
func (*RuleResponse) GetEtherType ¶
func (o *RuleResponse) GetEtherType() string
GetEtherType returns the EtherType field value if set, zero value otherwise.
func (*RuleResponse) GetEtherTypeOk ¶
func (o *RuleResponse) GetEtherTypeOk() (*string, bool)
GetEtherTypeOk returns a tuple with the EtherType field value if set, nil otherwise and a boolean to check if the value has been set.
func (*RuleResponse) GetInstanceId ¶
func (o *RuleResponse) GetInstanceId() string
GetInstanceId returns the InstanceId field value
func (*RuleResponse) GetInstanceIdOk ¶
func (o *RuleResponse) GetInstanceIdOk() (*string, bool)
GetInstanceIdOk returns a tuple with the InstanceId field value and a boolean to check if the value has been set.
func (*RuleResponse) GetInstanceName ¶
func (o *RuleResponse) GetInstanceName() string
GetInstanceName returns the InstanceName field value if set, zero value otherwise.
func (*RuleResponse) GetInstanceNameOk ¶
func (o *RuleResponse) GetInstanceNameOk() (*string, bool)
GetInstanceNameOk returns a tuple with the InstanceName field value if set, nil otherwise and a boolean to check if the value has been set.
func (*RuleResponse) GetIpRange ¶
func (o *RuleResponse) GetIpRange() string
GetIpRange returns the IpRange field value if set, zero value otherwise.
func (*RuleResponse) GetIpRangeOk ¶
func (o *RuleResponse) GetIpRangeOk() (*string, bool)
GetIpRangeOk returns a tuple with the IpRange field value if set, nil otherwise and a boolean to check if the value has been set.
func (*RuleResponse) GetOffset ¶
func (o *RuleResponse) GetOffset() int32
GetOffset returns the Offset field value if set, zero value otherwise.
func (*RuleResponse) GetOffsetOk ¶
func (o *RuleResponse) GetOffsetOk() (*int32, bool)
GetOffsetOk returns a tuple with the Offset field value if set, nil otherwise and a boolean to check if the value has been set.
func (*RuleResponse) GetPortRange ¶
func (o *RuleResponse) GetPortRange() string
GetPortRange returns the PortRange field value if set, zero value otherwise.
func (*RuleResponse) GetPortRangeOk ¶
func (o *RuleResponse) GetPortRangeOk() (*string, bool)
GetPortRangeOk returns a tuple with the PortRange field value if set, nil otherwise and a boolean to check if the value has been set.
func (*RuleResponse) GetProduct ¶
func (o *RuleResponse) GetProduct() string
GetProduct returns the Product field value
func (*RuleResponse) GetProductOk ¶
func (o *RuleResponse) GetProductOk() (*string, bool)
GetProductOk returns a tuple with the Product field value and a boolean to check if the value has been set.
func (*RuleResponse) GetProtocol ¶
func (o *RuleResponse) GetProtocol() string
GetProtocol returns the Protocol field value if set, zero value otherwise.
func (*RuleResponse) GetProtocolOk ¶
func (o *RuleResponse) GetProtocolOk() (*string, bool)
GetProtocolOk returns a tuple with the Protocol field value if set, nil otherwise and a boolean to check if the value has been set.
func (*RuleResponse) GetRegion ¶
func (o *RuleResponse) GetRegion() string
GetRegion returns the Region field value if set, zero value otherwise.
func (*RuleResponse) GetRegionOk ¶
func (o *RuleResponse) GetRegionOk() (*string, bool)
GetRegionOk returns a tuple with the Region field value if set, nil otherwise and a boolean to check if the value has been set.
func (*RuleResponse) GetRemoteSecurityGroupId ¶
func (o *RuleResponse) GetRemoteSecurityGroupId() string
GetRemoteSecurityGroupId returns the RemoteSecurityGroupId field value if set, zero value otherwise.
func (*RuleResponse) GetRemoteSecurityGroupIdOk ¶
func (o *RuleResponse) GetRemoteSecurityGroupIdOk() (*string, bool)
GetRemoteSecurityGroupIdOk returns a tuple with the RemoteSecurityGroupId field value if set, nil otherwise and a boolean to check if the value has been set.
func (*RuleResponse) GetSecurityGroup ¶
func (o *RuleResponse) GetSecurityGroup() string
GetSecurityGroup returns the SecurityGroup field value if set, zero value otherwise.
func (*RuleResponse) GetSecurityGroupId ¶
func (o *RuleResponse) GetSecurityGroupId() string
GetSecurityGroupId returns the SecurityGroupId field value if set, zero value otherwise.
func (*RuleResponse) GetSecurityGroupIdOk ¶
func (o *RuleResponse) GetSecurityGroupIdOk() (*string, bool)
GetSecurityGroupIdOk returns a tuple with the SecurityGroupId field value if set, nil otherwise and a boolean to check if the value has been set.
func (*RuleResponse) GetSecurityGroupOk ¶
func (o *RuleResponse) GetSecurityGroupOk() (*string, bool)
GetSecurityGroupOk returns a tuple with the SecurityGroup field value if set, nil otherwise and a boolean to check if the value has been set.
func (*RuleResponse) GetSourceIP ¶
func (o *RuleResponse) GetSourceIP() string
GetSourceIP returns the SourceIP field value
func (*RuleResponse) GetSourceIPOk ¶
func (o *RuleResponse) GetSourceIPOk() (*string, bool)
GetSourceIPOk returns a tuple with the SourceIP field value and a boolean to check if the value has been set.
func (*RuleResponse) GetStatus ¶
func (o *RuleResponse) GetStatus() RuleResponseStatus
GetStatus returns the Status field value
func (*RuleResponse) GetStatusOk ¶
func (o *RuleResponse) GetStatusOk() (*RuleResponseStatus, bool)
GetStatusOk returns a tuple with the Status field value and a boolean to check if the value has been set.
func (*RuleResponse) GetType ¶
func (o *RuleResponse) GetType() string
GetType returns the Type field value
func (*RuleResponse) GetTypeOk ¶
func (o *RuleResponse) GetTypeOk() (*string, bool)
GetTypeOk returns a tuple with the Type field value and a boolean to check if the value has been set.
func (*RuleResponse) HasDescription ¶
func (o *RuleResponse) HasDescription() bool
HasDescription returns a boolean if a field has been set.
func (*RuleResponse) HasDirection ¶
func (o *RuleResponse) HasDirection() bool
HasDirection returns a boolean if a field has been set.
func (*RuleResponse) HasErrorMessage ¶
func (o *RuleResponse) HasErrorMessage() bool
HasErrorMessage returns a boolean if a field has been set.
func (*RuleResponse) HasEtherType ¶
func (o *RuleResponse) HasEtherType() bool
HasEtherType returns a boolean if a field has been set.
func (*RuleResponse) HasInstanceName ¶
func (o *RuleResponse) HasInstanceName() bool
HasInstanceName returns a boolean if a field has been set.
func (*RuleResponse) HasIpRange ¶
func (o *RuleResponse) HasIpRange() bool
HasIpRange returns a boolean if a field has been set.
func (*RuleResponse) HasOffset ¶
func (o *RuleResponse) HasOffset() bool
HasOffset returns a boolean if a field has been set.
func (*RuleResponse) HasPortRange ¶
func (o *RuleResponse) HasPortRange() bool
HasPortRange returns a boolean if a field has been set.
func (*RuleResponse) HasProtocol ¶
func (o *RuleResponse) HasProtocol() bool
HasProtocol returns a boolean if a field has been set.
func (*RuleResponse) HasRegion ¶
func (o *RuleResponse) HasRegion() bool
HasRegion returns a boolean if a field has been set.
func (*RuleResponse) HasRemoteSecurityGroupId ¶
func (o *RuleResponse) HasRemoteSecurityGroupId() bool
HasRemoteSecurityGroupId returns a boolean if a field has been set.
func (*RuleResponse) HasSecurityGroup ¶
func (o *RuleResponse) HasSecurityGroup() bool
HasSecurityGroup returns a boolean if a field has been set.
func (*RuleResponse) HasSecurityGroupId ¶
func (o *RuleResponse) HasSecurityGroupId() bool
HasSecurityGroupId returns a boolean if a field has been set.
func (RuleResponse) MarshalJSON ¶
func (o RuleResponse) MarshalJSON() ([]byte, error)
func (*RuleResponse) SetDescription ¶
func (o *RuleResponse) SetDescription(v string)
SetDescription gets a reference to the given string and assigns it to the Description field.
func (*RuleResponse) SetDestination ¶
func (o *RuleResponse) SetDestination(v string)
SetDestination sets field value
func (*RuleResponse) SetDirection ¶
func (o *RuleResponse) SetDirection(v string)
SetDirection gets a reference to the given string and assigns it to the Direction field.
func (*RuleResponse) SetErrorMessage ¶
func (o *RuleResponse) SetErrorMessage(v string)
SetErrorMessage gets a reference to the given string and assigns it to the ErrorMessage field.
func (*RuleResponse) SetEtherType ¶
func (o *RuleResponse) SetEtherType(v string)
SetEtherType gets a reference to the given string and assigns it to the EtherType field.
func (*RuleResponse) SetInstanceId ¶
func (o *RuleResponse) SetInstanceId(v string)
SetInstanceId sets field value
func (*RuleResponse) SetInstanceName ¶
func (o *RuleResponse) SetInstanceName(v string)
SetInstanceName gets a reference to the given string and assigns it to the InstanceName field.
func (*RuleResponse) SetIpRange ¶
func (o *RuleResponse) SetIpRange(v string)
SetIpRange gets a reference to the given string and assigns it to the IpRange field.
func (*RuleResponse) SetOffset ¶
func (o *RuleResponse) SetOffset(v int32)
SetOffset gets a reference to the given int32 and assigns it to the Offset field.
func (*RuleResponse) SetPortRange ¶
func (o *RuleResponse) SetPortRange(v string)
SetPortRange gets a reference to the given string and assigns it to the PortRange field.
func (*RuleResponse) SetProduct ¶
func (o *RuleResponse) SetProduct(v string)
SetProduct sets field value
func (*RuleResponse) SetProtocol ¶
func (o *RuleResponse) SetProtocol(v string)
SetProtocol gets a reference to the given string and assigns it to the Protocol field.
func (*RuleResponse) SetRegion ¶
func (o *RuleResponse) SetRegion(v string)
SetRegion gets a reference to the given string and assigns it to the Region field.
func (*RuleResponse) SetRemoteSecurityGroupId ¶
func (o *RuleResponse) SetRemoteSecurityGroupId(v string)
SetRemoteSecurityGroupId gets a reference to the given string and assigns it to the RemoteSecurityGroupId field.
func (*RuleResponse) SetSecurityGroup ¶
func (o *RuleResponse) SetSecurityGroup(v string)
SetSecurityGroup gets a reference to the given string and assigns it to the SecurityGroup field.
func (*RuleResponse) SetSecurityGroupId ¶
func (o *RuleResponse) SetSecurityGroupId(v string)
SetSecurityGroupId gets a reference to the given string and assigns it to the SecurityGroupId field.
func (*RuleResponse) SetSourceIP ¶
func (o *RuleResponse) SetSourceIP(v string)
SetSourceIP sets field value
func (*RuleResponse) SetStatus ¶
func (o *RuleResponse) SetStatus(v RuleResponseStatus)
SetStatus sets field value
func (RuleResponse) ToMap ¶
func (o RuleResponse) ToMap() (map[string]interface{}, error)
func (*RuleResponse) UnmarshalJSON ¶
func (o *RuleResponse) UnmarshalJSON(data []byte) (err error)
type RuleResponseStatus ¶
type RuleResponseStatus string
RuleResponseStatus The current state of the resource.
const ( RULERESPONSESTATUS_ACTIVE RuleResponseStatus = "Active" RULERESPONSESTATUS_ERROR RuleResponseStatus = "Error" RULERESPONSESTATUS_PENDING RuleResponseStatus = "Pending" RULERESPONSESTATUS_UPDATING RuleResponseStatus = "Updating" RULERESPONSESTATUS_DELETING RuleResponseStatus = "Deleting" RULERESPONSESTATUS_CREATING RuleResponseStatus = "Creating" RULERESPONSESTATUS_UNKNOWN_DEFAULT_OPEN_API RuleResponseStatus = "unknown_default_open_api" )
List of RuleResponse_status
func NewRuleResponseStatusFromValue ¶
func NewRuleResponseStatusFromValue(v string) (*RuleResponseStatus, error)
NewRuleResponseStatusFromValue returns a pointer to a valid RuleResponseStatus for the value passed as argument, or an error if the value passed is not allowed by the enum
func (RuleResponseStatus) IsValid ¶
func (v RuleResponseStatus) IsValid() bool
IsValid return true if the value is valid for the enum, false otherwise
func (RuleResponseStatus) Ptr ¶
func (v RuleResponseStatus) Ptr() *RuleResponseStatus
Ptr returns reference to RuleResponse_status value
func (*RuleResponseStatus) UnmarshalJSON ¶
func (v *RuleResponseStatus) UnmarshalJSON(src []byte) error
type UpdateRulePayload ¶
type UpdateRulePayload struct {
// The direction of the traffic, typically \"ingress\" or \"egress\".
Direction *string `json:"direction,omitempty"`
// Specifies the bound of the rule.
EtherType *string `json:"etherType,omitempty"`
// The Port range to which the rule applies.
PortRange *string `json:"portRange,omitempty"`
// The network protocol (e.g., \"TCP\", \"UDP\", \"ICMP\").
Protocol *string `json:"protocol,omitempty"`
// The ID of the Group.
SecurityGroupId *string `json:"securityGroupId,omitempty"`
// The IP (CIDR) to which the rule applies.
SourceIP string `json:"sourceIP"`
AdditionalProperties map[string]interface{}
}
UpdateRulePayload The request body for updating a security rule.
func NewUpdateRulePayload ¶
func NewUpdateRulePayload(sourceIP string) *UpdateRulePayload
NewUpdateRulePayload instantiates a new UpdateRulePayload object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewUpdateRulePayloadWithDefaults ¶
func NewUpdateRulePayloadWithDefaults() *UpdateRulePayload
NewUpdateRulePayloadWithDefaults instantiates a new UpdateRulePayload object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*UpdateRulePayload) GetDirection ¶
func (o *UpdateRulePayload) GetDirection() string
GetDirection returns the Direction field value if set, zero value otherwise.
func (*UpdateRulePayload) GetDirectionOk ¶
func (o *UpdateRulePayload) GetDirectionOk() (*string, bool)
GetDirectionOk returns a tuple with the Direction field value if set, nil otherwise and a boolean to check if the value has been set.
func (*UpdateRulePayload) GetEtherType ¶
func (o *UpdateRulePayload) GetEtherType() string
GetEtherType returns the EtherType field value if set, zero value otherwise.
func (*UpdateRulePayload) GetEtherTypeOk ¶
func (o *UpdateRulePayload) GetEtherTypeOk() (*string, bool)
GetEtherTypeOk returns a tuple with the EtherType field value if set, nil otherwise and a boolean to check if the value has been set.
func (*UpdateRulePayload) GetPortRange ¶
func (o *UpdateRulePayload) GetPortRange() string
GetPortRange returns the PortRange field value if set, zero value otherwise.
func (*UpdateRulePayload) GetPortRangeOk ¶
func (o *UpdateRulePayload) GetPortRangeOk() (*string, bool)
GetPortRangeOk returns a tuple with the PortRange field value if set, nil otherwise and a boolean to check if the value has been set.
func (*UpdateRulePayload) GetProtocol ¶
func (o *UpdateRulePayload) GetProtocol() string
GetProtocol returns the Protocol field value if set, zero value otherwise.
func (*UpdateRulePayload) GetProtocolOk ¶
func (o *UpdateRulePayload) GetProtocolOk() (*string, bool)
GetProtocolOk returns a tuple with the Protocol field value if set, nil otherwise and a boolean to check if the value has been set.
func (*UpdateRulePayload) GetSecurityGroupId ¶
func (o *UpdateRulePayload) GetSecurityGroupId() string
GetSecurityGroupId returns the SecurityGroupId field value if set, zero value otherwise.
func (*UpdateRulePayload) GetSecurityGroupIdOk ¶
func (o *UpdateRulePayload) GetSecurityGroupIdOk() (*string, bool)
GetSecurityGroupIdOk returns a tuple with the SecurityGroupId field value if set, nil otherwise and a boolean to check if the value has been set.
func (*UpdateRulePayload) GetSourceIP ¶
func (o *UpdateRulePayload) GetSourceIP() string
GetSourceIP returns the SourceIP field value
func (*UpdateRulePayload) GetSourceIPOk ¶
func (o *UpdateRulePayload) GetSourceIPOk() (*string, bool)
GetSourceIPOk returns a tuple with the SourceIP field value and a boolean to check if the value has been set.
func (*UpdateRulePayload) HasDirection ¶
func (o *UpdateRulePayload) HasDirection() bool
HasDirection returns a boolean if a field has been set.
func (*UpdateRulePayload) HasEtherType ¶
func (o *UpdateRulePayload) HasEtherType() bool
HasEtherType returns a boolean if a field has been set.
func (*UpdateRulePayload) HasPortRange ¶
func (o *UpdateRulePayload) HasPortRange() bool
HasPortRange returns a boolean if a field has been set.
func (*UpdateRulePayload) HasProtocol ¶
func (o *UpdateRulePayload) HasProtocol() bool
HasProtocol returns a boolean if a field has been set.
func (*UpdateRulePayload) HasSecurityGroupId ¶
func (o *UpdateRulePayload) HasSecurityGroupId() bool
HasSecurityGroupId returns a boolean if a field has been set.
func (UpdateRulePayload) MarshalJSON ¶
func (o UpdateRulePayload) MarshalJSON() ([]byte, error)
func (*UpdateRulePayload) SetDirection ¶
func (o *UpdateRulePayload) SetDirection(v string)
SetDirection gets a reference to the given string and assigns it to the Direction field.
func (*UpdateRulePayload) SetEtherType ¶
func (o *UpdateRulePayload) SetEtherType(v string)
SetEtherType gets a reference to the given string and assigns it to the EtherType field.
func (*UpdateRulePayload) SetPortRange ¶
func (o *UpdateRulePayload) SetPortRange(v string)
SetPortRange gets a reference to the given string and assigns it to the PortRange field.
func (*UpdateRulePayload) SetProtocol ¶
func (o *UpdateRulePayload) SetProtocol(v string)
SetProtocol gets a reference to the given string and assigns it to the Protocol field.
func (*UpdateRulePayload) SetSecurityGroupId ¶
func (o *UpdateRulePayload) SetSecurityGroupId(v string)
SetSecurityGroupId gets a reference to the given string and assigns it to the SecurityGroupId field.
func (*UpdateRulePayload) SetSourceIP ¶
func (o *UpdateRulePayload) SetSourceIP(v string)
SetSourceIP sets field value
func (UpdateRulePayload) ToMap ¶
func (o UpdateRulePayload) ToMap() (map[string]interface{}, error)
func (*UpdateRulePayload) UnmarshalJSON ¶
func (o *UpdateRulePayload) UnmarshalJSON(data []byte) (err error)
type UpdateRuleResponse ¶
type UpdateRuleResponse struct {
// Represents the uuid of the updated rule
RefId *string `json:"refId,omitempty"`
AdditionalProperties map[string]interface{}
}
UpdateRuleResponse struct for UpdateRuleResponse
func NewUpdateRuleResponse ¶
func NewUpdateRuleResponse() *UpdateRuleResponse
NewUpdateRuleResponse instantiates a new UpdateRuleResponse object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewUpdateRuleResponseWithDefaults ¶
func NewUpdateRuleResponseWithDefaults() *UpdateRuleResponse
NewUpdateRuleResponseWithDefaults instantiates a new UpdateRuleResponse object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*UpdateRuleResponse) GetRefId ¶
func (o *UpdateRuleResponse) GetRefId() string
GetRefId returns the RefId field value if set, zero value otherwise.
func (*UpdateRuleResponse) GetRefIdOk ¶
func (o *UpdateRuleResponse) GetRefIdOk() (*string, bool)
GetRefIdOk returns a tuple with the RefId field value if set, nil otherwise and a boolean to check if the value has been set.
func (*UpdateRuleResponse) HasRefId ¶
func (o *UpdateRuleResponse) HasRefId() bool
HasRefId returns a boolean if a field has been set.
func (UpdateRuleResponse) MarshalJSON ¶
func (o UpdateRuleResponse) MarshalJSON() ([]byte, error)
func (*UpdateRuleResponse) SetRefId ¶
func (o *UpdateRuleResponse) SetRefId(v string)
SetRefId gets a reference to the given string and assigns it to the RefId field.
func (UpdateRuleResponse) ToMap ¶
func (o UpdateRuleResponse) ToMap() (map[string]interface{}, error)
func (*UpdateRuleResponse) UnmarshalJSON ¶
func (o *UpdateRuleResponse) UnmarshalJSON(data []byte) (err error)
type UpdateUfwRequest ¶
type UpdateUfwRequest struct {
// The list of CIDRs currently set on the instance.
Cidrs []string `json:"cidrs"`
AdditionalProperties map[string]interface{}
}
UpdateUfwRequest struct for UpdateUfwRequest
func NewUpdateUfwRequest ¶
func NewUpdateUfwRequest(cidrs []string) *UpdateUfwRequest
NewUpdateUfwRequest instantiates a new UpdateUfwRequest object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewUpdateUfwRequestWithDefaults ¶
func NewUpdateUfwRequestWithDefaults() *UpdateUfwRequest
NewUpdateUfwRequestWithDefaults instantiates a new UpdateUfwRequest object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*UpdateUfwRequest) GetCidrs ¶
func (o *UpdateUfwRequest) GetCidrs() []string
GetCidrs returns the Cidrs field value
func (*UpdateUfwRequest) GetCidrsOk ¶
func (o *UpdateUfwRequest) GetCidrsOk() ([]string, bool)
GetCidrsOk returns a tuple with the Cidrs field value and a boolean to check if the value has been set.
func (UpdateUfwRequest) MarshalJSON ¶
func (o UpdateUfwRequest) MarshalJSON() ([]byte, error)
func (*UpdateUfwRequest) SetCidrs ¶
func (o *UpdateUfwRequest) SetCidrs(v []string)
SetCidrs sets field value
func (UpdateUfwRequest) ToMap ¶
func (o UpdateUfwRequest) ToMap() (map[string]interface{}, error)
func (*UpdateUfwRequest) UnmarshalJSON ¶
func (o *UpdateUfwRequest) UnmarshalJSON(data []byte) (err error)
type VersionResponse ¶
type VersionResponse struct {
Name *string `json:"name,omitempty"`
Version *string `json:"version,omitempty"`
AdditionalProperties map[string]interface{}
}
VersionResponse struct for VersionResponse
func NewVersionResponse ¶
func NewVersionResponse() *VersionResponse
NewVersionResponse instantiates a new VersionResponse object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewVersionResponseWithDefaults ¶
func NewVersionResponseWithDefaults() *VersionResponse
NewVersionResponseWithDefaults instantiates a new VersionResponse object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*VersionResponse) GetName ¶
func (o *VersionResponse) GetName() string
GetName returns the Name field value if set, zero value otherwise.
func (*VersionResponse) GetNameOk ¶
func (o *VersionResponse) GetNameOk() (*string, bool)
GetNameOk returns a tuple with the Name field value if set, nil otherwise and a boolean to check if the value has been set.
func (*VersionResponse) GetVersion ¶
func (o *VersionResponse) GetVersion() string
GetVersion returns the Version field value if set, zero value otherwise.
func (*VersionResponse) GetVersionOk ¶
func (o *VersionResponse) GetVersionOk() (*string, bool)
GetVersionOk returns a tuple with the Version field value if set, nil otherwise and a boolean to check if the value has been set.
func (*VersionResponse) HasName ¶
func (o *VersionResponse) HasName() bool
HasName returns a boolean if a field has been set.
func (*VersionResponse) HasVersion ¶
func (o *VersionResponse) HasVersion() bool
HasVersion returns a boolean if a field has been set.
func (VersionResponse) MarshalJSON ¶
func (o VersionResponse) MarshalJSON() ([]byte, error)
func (*VersionResponse) SetName ¶
func (o *VersionResponse) SetName(v string)
SetName gets a reference to the given string and assigns it to the Name field.
func (*VersionResponse) SetVersion ¶
func (o *VersionResponse) SetVersion(v string)
SetVersion gets a reference to the given string and assigns it to the Version field.
func (VersionResponse) ToMap ¶
func (o VersionResponse) ToMap() (map[string]interface{}, error)
func (*VersionResponse) UnmarshalJSON ¶
func (o *VersionResponse) UnmarshalJSON(data []byte) (err error)
Source Files
¶
- api_default.go
- api_default_mock.go
- client.go
- configuration.go
- model_container_response.go
- model_create_rule_payload.go
- model_create_rule_response.go
- model_delete_rule_response.go
- model_error_response.go
- model_list_containers_response.go
- model_list_rules_direction_parameter.go
- model_list_rules_response.go
- model_list_rules_sort_order_parameter.go
- model_provider_options_product_meta.go
- model_provider_options_response.go
- model_rule_response.go
- model_rule_response_status.go
- model_update_rule_payload.go
- model_update_rule_response.go
- model_update_ufw_request.go
- model_version_response.go
- response.go
- utils.go