Documentation
¶
Index ¶
- type DeleteNpaRulesID200ApplicationJSON
- type DeleteNpaRulesID200ApplicationJSONStatus
- type DeleteNpaRulesIDRequest
- type DeleteNpaRulesIDResponse
- type GetNpaRulesID200ApplicationJSON
- type GetNpaRulesID200ApplicationJSONStatus
- type GetNpaRulesIDRequest
- type GetNpaRulesIDResponse
- type GetNpaRulesRequest
- type GetNpaRulesResponse
- type PatchNpaRulesID200ApplicationJSON
- type PatchNpaRulesID200ApplicationJSONStatus
- type PatchNpaRulesIDRequest
- type PatchNpaRulesIDResponse
- type PatchNpaRulesIDSilent
- type PostNpaRulesRequest
- type PostNpaRulesResponse
- type PostNpaRulesSilent
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DeleteNpaRulesID200ApplicationJSON ¶
type DeleteNpaRulesID200ApplicationJSON struct { Data *shared.NpaPolicyResponseItem `json:"data,omitempty"` Status *DeleteNpaRulesID200ApplicationJSONStatus `json:"status,omitempty"` }
DeleteNpaRulesID200ApplicationJSON - successful operation
func (*DeleteNpaRulesID200ApplicationJSON) GetData ¶
func (o *DeleteNpaRulesID200ApplicationJSON) GetData() *shared.NpaPolicyResponseItem
func (*DeleteNpaRulesID200ApplicationJSON) GetStatus ¶
func (o *DeleteNpaRulesID200ApplicationJSON) GetStatus() *DeleteNpaRulesID200ApplicationJSONStatus
type DeleteNpaRulesID200ApplicationJSONStatus ¶
type DeleteNpaRulesID200ApplicationJSONStatus string
const ( DeleteNpaRulesID200ApplicationJSONStatusSuccess DeleteNpaRulesID200ApplicationJSONStatus = "success" DeleteNpaRulesID200ApplicationJSONStatusError DeleteNpaRulesID200ApplicationJSONStatus = "error" )
func (DeleteNpaRulesID200ApplicationJSONStatus) ToPointer ¶
func (e DeleteNpaRulesID200ApplicationJSONStatus) ToPointer() *DeleteNpaRulesID200ApplicationJSONStatus
func (*DeleteNpaRulesID200ApplicationJSONStatus) UnmarshalJSON ¶
func (e *DeleteNpaRulesID200ApplicationJSONStatus) UnmarshalJSON(data []byte) error
type DeleteNpaRulesIDRequest ¶
type DeleteNpaRulesIDRequest struct { // npa policy id ID int `pathParam:"style=simple,explode=false,name=id"` }
func (*DeleteNpaRulesIDRequest) GetID ¶
func (o *DeleteNpaRulesIDRequest) GetID() int
type DeleteNpaRulesIDResponse ¶
type DeleteNpaRulesIDResponse struct { // HTTP response content type for this operation ContentType string // HTTP response status code for this operation StatusCode int // Raw HTTP response; suitable for custom response parsing RawResponse *http.Response // successful operation DeleteNpaRulesID200ApplicationJSONObject *DeleteNpaRulesID200ApplicationJSON }
func (*DeleteNpaRulesIDResponse) GetContentType ¶
func (o *DeleteNpaRulesIDResponse) GetContentType() string
func (*DeleteNpaRulesIDResponse) GetDeleteNpaRulesID200ApplicationJSONObject ¶
func (o *DeleteNpaRulesIDResponse) GetDeleteNpaRulesID200ApplicationJSONObject() *DeleteNpaRulesID200ApplicationJSON
func (*DeleteNpaRulesIDResponse) GetRawResponse ¶
func (o *DeleteNpaRulesIDResponse) GetRawResponse() *http.Response
func (*DeleteNpaRulesIDResponse) GetStatusCode ¶
func (o *DeleteNpaRulesIDResponse) GetStatusCode() int
type GetNpaRulesID200ApplicationJSON ¶
type GetNpaRulesID200ApplicationJSON struct { Data *shared.NpaPolicyResponseItem `json:"data,omitempty"` Status *GetNpaRulesID200ApplicationJSONStatus `json:"status,omitempty"` }
GetNpaRulesID200ApplicationJSON - successful operation
func (*GetNpaRulesID200ApplicationJSON) GetData ¶
func (o *GetNpaRulesID200ApplicationJSON) GetData() *shared.NpaPolicyResponseItem
func (*GetNpaRulesID200ApplicationJSON) GetStatus ¶
func (o *GetNpaRulesID200ApplicationJSON) GetStatus() *GetNpaRulesID200ApplicationJSONStatus
type GetNpaRulesID200ApplicationJSONStatus ¶
type GetNpaRulesID200ApplicationJSONStatus string
const ( GetNpaRulesID200ApplicationJSONStatusSuccess GetNpaRulesID200ApplicationJSONStatus = "success" GetNpaRulesID200ApplicationJSONStatusError GetNpaRulesID200ApplicationJSONStatus = "error" )
func (GetNpaRulesID200ApplicationJSONStatus) ToPointer ¶
func (e GetNpaRulesID200ApplicationJSONStatus) ToPointer() *GetNpaRulesID200ApplicationJSONStatus
func (*GetNpaRulesID200ApplicationJSONStatus) UnmarshalJSON ¶
func (e *GetNpaRulesID200ApplicationJSONStatus) UnmarshalJSON(data []byte) error
type GetNpaRulesIDRequest ¶
type GetNpaRulesIDRequest struct { // Return values only from specified fields Fields *string `queryParam:"style=form,explode=true,name=fields"` // npa policy id ID int `pathParam:"style=simple,explode=false,name=id"` }
func (*GetNpaRulesIDRequest) GetFields ¶
func (o *GetNpaRulesIDRequest) GetFields() *string
func (*GetNpaRulesIDRequest) GetID ¶
func (o *GetNpaRulesIDRequest) GetID() int
type GetNpaRulesIDResponse ¶
type GetNpaRulesIDResponse struct { // HTTP response content type for this operation ContentType string // HTTP response status code for this operation StatusCode int // Raw HTTP response; suitable for custom response parsing RawResponse *http.Response // successful operation GetNpaRulesID200ApplicationJSONObject *GetNpaRulesID200ApplicationJSON }
func (*GetNpaRulesIDResponse) GetContentType ¶
func (o *GetNpaRulesIDResponse) GetContentType() string
func (*GetNpaRulesIDResponse) GetGetNpaRulesID200ApplicationJSONObject ¶
func (o *GetNpaRulesIDResponse) GetGetNpaRulesID200ApplicationJSONObject() *GetNpaRulesID200ApplicationJSON
func (*GetNpaRulesIDResponse) GetRawResponse ¶
func (o *GetNpaRulesIDResponse) GetRawResponse() *http.Response
func (*GetNpaRulesIDResponse) GetStatusCode ¶
func (o *GetNpaRulesIDResponse) GetStatusCode() int
type GetNpaRulesRequest ¶
type GetNpaRulesRequest struct { // Return values only from specified fields Fields *string `queryParam:"style=form,explode=true,name=fields"` // Query string based on query operaters Filter *string `queryParam:"style=form,explode=true,name=filter"` // Max number of policies to retrieve. Default will be all policies. Limit *int64 `queryParam:"style=form,explode=true,name=limit"` // The offset of the first policy in the list to retrieve. Offset *int64 `queryParam:"style=form,explode=true,name=offset"` // Sort retrieved policies by specified field. Default is policy id Sortby *string `queryParam:"style=form,explode=true,name=sortby"` // Sort in either asc or desc order. The default is asc order Sortorder *string `queryParam:"style=form,explode=true,name=sortorder"` }
func (*GetNpaRulesRequest) GetFields ¶
func (o *GetNpaRulesRequest) GetFields() *string
func (*GetNpaRulesRequest) GetFilter ¶
func (o *GetNpaRulesRequest) GetFilter() *string
func (*GetNpaRulesRequest) GetLimit ¶
func (o *GetNpaRulesRequest) GetLimit() *int64
func (*GetNpaRulesRequest) GetOffset ¶
func (o *GetNpaRulesRequest) GetOffset() *int64
func (*GetNpaRulesRequest) GetSortby ¶
func (o *GetNpaRulesRequest) GetSortby() *string
func (*GetNpaRulesRequest) GetSortorder ¶
func (o *GetNpaRulesRequest) GetSortorder() *string
type GetNpaRulesResponse ¶
type GetNpaRulesResponse struct { // HTTP response content type for this operation ContentType string // HTTP response status code for this operation StatusCode int // Raw HTTP response; suitable for custom response parsing RawResponse *http.Response // successful operation NpaPolicyResponse []shared.NpaPolicyResponseItem }
func (*GetNpaRulesResponse) GetContentType ¶
func (o *GetNpaRulesResponse) GetContentType() string
func (*GetNpaRulesResponse) GetNpaPolicyResponse ¶
func (o *GetNpaRulesResponse) GetNpaPolicyResponse() []shared.NpaPolicyResponseItem
func (*GetNpaRulesResponse) GetRawResponse ¶
func (o *GetNpaRulesResponse) GetRawResponse() *http.Response
func (*GetNpaRulesResponse) GetStatusCode ¶
func (o *GetNpaRulesResponse) GetStatusCode() int
type PatchNpaRulesID200ApplicationJSON ¶
type PatchNpaRulesID200ApplicationJSON struct { Data *shared.NpaPolicyResponseItem `json:"data,omitempty"` Status *PatchNpaRulesID200ApplicationJSONStatus `json:"status,omitempty"` }
PatchNpaRulesID200ApplicationJSON - successful operation
func (*PatchNpaRulesID200ApplicationJSON) GetData ¶
func (o *PatchNpaRulesID200ApplicationJSON) GetData() *shared.NpaPolicyResponseItem
func (*PatchNpaRulesID200ApplicationJSON) GetStatus ¶
func (o *PatchNpaRulesID200ApplicationJSON) GetStatus() *PatchNpaRulesID200ApplicationJSONStatus
type PatchNpaRulesID200ApplicationJSONStatus ¶
type PatchNpaRulesID200ApplicationJSONStatus string
const ( PatchNpaRulesID200ApplicationJSONStatusSuccess PatchNpaRulesID200ApplicationJSONStatus = "success" PatchNpaRulesID200ApplicationJSONStatusError PatchNpaRulesID200ApplicationJSONStatus = "error" )
func (PatchNpaRulesID200ApplicationJSONStatus) ToPointer ¶
func (e PatchNpaRulesID200ApplicationJSONStatus) ToPointer() *PatchNpaRulesID200ApplicationJSONStatus
func (*PatchNpaRulesID200ApplicationJSONStatus) UnmarshalJSON ¶
func (e *PatchNpaRulesID200ApplicationJSONStatus) UnmarshalJSON(data []byte) error
type PatchNpaRulesIDRequest ¶
type PatchNpaRulesIDRequest struct { // policy rule id ID int `pathParam:"style=simple,explode=false,name=id"` NpaPolicyRequest shared.NpaPolicyRequest `request:"mediaType=application/json"` // flag to skip output except status code Silent *PatchNpaRulesIDSilent `queryParam:"style=form,explode=true,name=silent"` }
func (*PatchNpaRulesIDRequest) GetID ¶
func (o *PatchNpaRulesIDRequest) GetID() int
func (*PatchNpaRulesIDRequest) GetNpaPolicyRequest ¶
func (o *PatchNpaRulesIDRequest) GetNpaPolicyRequest() shared.NpaPolicyRequest
func (*PatchNpaRulesIDRequest) GetSilent ¶
func (o *PatchNpaRulesIDRequest) GetSilent() *PatchNpaRulesIDSilent
type PatchNpaRulesIDResponse ¶
type PatchNpaRulesIDResponse struct { // HTTP response content type for this operation ContentType string // HTTP response status code for this operation StatusCode int // Raw HTTP response; suitable for custom response parsing RawResponse *http.Response // successful operation PatchNpaRulesID200ApplicationJSONObject *PatchNpaRulesID200ApplicationJSON }
func (*PatchNpaRulesIDResponse) GetContentType ¶
func (o *PatchNpaRulesIDResponse) GetContentType() string
func (*PatchNpaRulesIDResponse) GetPatchNpaRulesID200ApplicationJSONObject ¶
func (o *PatchNpaRulesIDResponse) GetPatchNpaRulesID200ApplicationJSONObject() *PatchNpaRulesID200ApplicationJSON
func (*PatchNpaRulesIDResponse) GetRawResponse ¶
func (o *PatchNpaRulesIDResponse) GetRawResponse() *http.Response
func (*PatchNpaRulesIDResponse) GetStatusCode ¶
func (o *PatchNpaRulesIDResponse) GetStatusCode() int
type PatchNpaRulesIDSilent ¶
type PatchNpaRulesIDSilent string
PatchNpaRulesIDSilent - flag to skip output except status code
const ( PatchNpaRulesIDSilentOne PatchNpaRulesIDSilent = "1" PatchNpaRulesIDSilentZero PatchNpaRulesIDSilent = "0" )
func (PatchNpaRulesIDSilent) ToPointer ¶
func (e PatchNpaRulesIDSilent) ToPointer() *PatchNpaRulesIDSilent
func (*PatchNpaRulesIDSilent) UnmarshalJSON ¶
func (e *PatchNpaRulesIDSilent) UnmarshalJSON(data []byte) error
type PostNpaRulesRequest ¶
type PostNpaRulesRequest struct { NpaPolicyRequest shared.NpaPolicyRequest `request:"mediaType=application/json"` // flag to skip output except status code Silent *PostNpaRulesSilent `queryParam:"style=form,explode=true,name=silent"` }
func (*PostNpaRulesRequest) GetNpaPolicyRequest ¶
func (o *PostNpaRulesRequest) GetNpaPolicyRequest() shared.NpaPolicyRequest
func (*PostNpaRulesRequest) GetSilent ¶
func (o *PostNpaRulesRequest) GetSilent() *PostNpaRulesSilent
type PostNpaRulesResponse ¶
type PostNpaRulesResponse struct { // HTTP response content type for this operation ContentType string // HTTP response status code for this operation StatusCode int // Raw HTTP response; suitable for custom response parsing RawResponse *http.Response // successful operation NpaPolicyResponseItem *shared.NpaPolicyResponseItem }
func (*PostNpaRulesResponse) GetContentType ¶
func (o *PostNpaRulesResponse) GetContentType() string
func (*PostNpaRulesResponse) GetNpaPolicyResponseItem ¶
func (o *PostNpaRulesResponse) GetNpaPolicyResponseItem() *shared.NpaPolicyResponseItem
func (*PostNpaRulesResponse) GetRawResponse ¶
func (o *PostNpaRulesResponse) GetRawResponse() *http.Response
func (*PostNpaRulesResponse) GetStatusCode ¶
func (o *PostNpaRulesResponse) GetStatusCode() int
type PostNpaRulesSilent ¶
type PostNpaRulesSilent string
PostNpaRulesSilent - flag to skip output except status code
const ( PostNpaRulesSilentOne PostNpaRulesSilent = "1" PostNpaRulesSilentZero PostNpaRulesSilent = "0" )
func (PostNpaRulesSilent) ToPointer ¶
func (e PostNpaRulesSilent) ToPointer() *PostNpaRulesSilent
func (*PostNpaRulesSilent) UnmarshalJSON ¶
func (e *PostNpaRulesSilent) UnmarshalJSON(data []byte) error
Click to show internal directories.
Click to hide internal directories.