Documentation ¶
Index ¶
- type Action
- type ActionType
- type NullableAction
- type NullableActionType
- type NullablePolicyManagerRequest
- func (v NullablePolicyManagerRequest) Get() *PolicyManagerRequest
- func (v NullablePolicyManagerRequest) IsSet() bool
- func (v NullablePolicyManagerRequest) MarshalJSON() ([]byte, error)
- func (v *NullablePolicyManagerRequest) Set(val *PolicyManagerRequest)
- func (v *NullablePolicyManagerRequest) UnmarshalJSON(src []byte) error
- func (v *NullablePolicyManagerRequest) Unset()
- type NullablePolicyManagerRequestAction
- func (v NullablePolicyManagerRequestAction) Get() *PolicyManagerRequestAction
- func (v NullablePolicyManagerRequestAction) IsSet() bool
- func (v NullablePolicyManagerRequestAction) MarshalJSON() ([]byte, error)
- func (v *NullablePolicyManagerRequestAction) Set(val *PolicyManagerRequestAction)
- func (v *NullablePolicyManagerRequestAction) UnmarshalJSON(src []byte) error
- func (v *NullablePolicyManagerRequestAction) Unset()
- type NullablePolicyManagerResponse
- func (v NullablePolicyManagerResponse) Get() *PolicyManagerResponse
- func (v NullablePolicyManagerResponse) IsSet() bool
- func (v NullablePolicyManagerResponse) MarshalJSON() ([]byte, error)
- func (v *NullablePolicyManagerResponse) Set(val *PolicyManagerResponse)
- func (v *NullablePolicyManagerResponse) UnmarshalJSON(src []byte) error
- func (v *NullablePolicyManagerResponse) Unset()
- type NullablePolicyManagerResultItem
- func (v NullablePolicyManagerResultItem) Get() *PolicyManagerResultItem
- func (v NullablePolicyManagerResultItem) IsSet() bool
- func (v NullablePolicyManagerResultItem) MarshalJSON() ([]byte, error)
- func (v *NullablePolicyManagerResultItem) Set(val *PolicyManagerResultItem)
- func (v *NullablePolicyManagerResultItem) UnmarshalJSON(src []byte) error
- func (v *NullablePolicyManagerResultItem) Unset()
- type NullableResource
- type NullableResourceColumns
- func (v NullableResourceColumns) Get() *ResourceColumns
- func (v NullableResourceColumns) IsSet() bool
- func (v NullableResourceColumns) MarshalJSON() ([]byte, error)
- func (v *NullableResourceColumns) Set(val *ResourceColumns)
- func (v *NullableResourceColumns) UnmarshalJSON(src []byte) error
- func (v *NullableResourceColumns) Unset()
- type PolicyManagerRequest
- func (o *PolicyManagerRequest) GetAction() PolicyManagerRequestAction
- func (o *PolicyManagerRequest) GetActionOk() (*PolicyManagerRequestAction, bool)
- func (o *PolicyManagerRequest) GetContext() map[string]interface{}
- func (o *PolicyManagerRequest) GetContextOk() (*map[string]interface{}, bool)
- func (o *PolicyManagerRequest) GetResource() Resource
- func (o *PolicyManagerRequest) GetResourceOk() (*Resource, bool)
- func (o *PolicyManagerRequest) HasContext() bool
- func (o PolicyManagerRequest) MarshalJSON() ([]byte, error)
- func (o *PolicyManagerRequest) SetAction(v PolicyManagerRequestAction)
- func (o *PolicyManagerRequest) SetContext(v map[string]interface{})
- func (o *PolicyManagerRequest) SetResource(v Resource)
- type PolicyManagerRequestAction
- func (o *PolicyManagerRequestAction) GetActionType() ActionType
- func (o *PolicyManagerRequestAction) GetActionTypeOk() (*ActionType, bool)
- func (o *PolicyManagerRequestAction) GetDestination() string
- func (o *PolicyManagerRequestAction) GetDestinationOk() (*string, bool)
- func (o *PolicyManagerRequestAction) GetProcessingLocation() string
- func (o *PolicyManagerRequestAction) GetProcessingLocationOk() (*string, bool)
- func (o *PolicyManagerRequestAction) HasActionType() bool
- func (o *PolicyManagerRequestAction) HasDestination() bool
- func (o *PolicyManagerRequestAction) HasProcessingLocation() bool
- func (o PolicyManagerRequestAction) MarshalJSON() ([]byte, error)
- func (o *PolicyManagerRequestAction) SetActionType(v ActionType)
- func (o *PolicyManagerRequestAction) SetDestination(v string)
- func (o *PolicyManagerRequestAction) SetProcessingLocation(v string)
- type PolicyManagerResponse
- func (o *PolicyManagerResponse) GetDecisionId() string
- func (o *PolicyManagerResponse) GetDecisionIdOk() (*string, bool)
- func (o *PolicyManagerResponse) GetResult() []PolicyManagerResultItem
- func (o *PolicyManagerResponse) GetResultOk() (*[]PolicyManagerResultItem, bool)
- func (o *PolicyManagerResponse) HasDecisionId() bool
- func (o PolicyManagerResponse) MarshalJSON() ([]byte, error)
- func (o *PolicyManagerResponse) SetDecisionId(v string)
- func (o *PolicyManagerResponse) SetResult(v []PolicyManagerResultItem)
- type PolicyManagerResultItem
- func (o *PolicyManagerResultItem) GetAction() Action
- func (o *PolicyManagerResultItem) GetActionOk() (*Action, bool)
- func (o *PolicyManagerResultItem) GetPolicy() string
- func (o *PolicyManagerResultItem) GetPolicyOk() (*string, bool)
- func (o PolicyManagerResultItem) MarshalJSON() ([]byte, error)
- func (o *PolicyManagerResultItem) SetAction(v Action)
- func (o *PolicyManagerResultItem) SetPolicy(v string)
- type Resource
- func (o *Resource) GetColumns() []ResourceColumns
- func (o *Resource) GetColumnsOk() (*[]ResourceColumns, bool)
- func (o *Resource) GetName() string
- func (o *Resource) GetNameOk() (*string, bool)
- func (o *Resource) GetTags() map[string]interface{}
- func (o *Resource) GetTagsOk() (*map[string]interface{}, bool)
- func (o *Resource) HasColumns() bool
- func (o *Resource) HasTags() bool
- func (o Resource) MarshalJSON() ([]byte, error)
- func (o *Resource) SetColumns(v []ResourceColumns)
- func (o *Resource) SetName(v string)
- func (o *Resource) SetTags(v map[string]interface{})
- type ResourceColumns
- func (o *ResourceColumns) GetName() string
- func (o *ResourceColumns) GetNameOk() (*string, bool)
- func (o *ResourceColumns) GetTags() map[string]interface{}
- func (o *ResourceColumns) GetTagsOk() (*map[string]interface{}, bool)
- func (o *ResourceColumns) HasTags() bool
- func (o ResourceColumns) MarshalJSON() ([]byte, error)
- func (o *ResourceColumns) SetName(v string)
- func (o *ResourceColumns) SetTags(v map[string]interface{})
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Action ¶
Action struct for Action
func NewAction ¶
NewAction instantiates a new Action 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 NewActionWithDefaults ¶
func NewActionWithDefaults() *Action
NewActionWithDefaults instantiates a new Action 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 (*Action) DeepCopyInto ¶ added in v0.5.0
func (*Action) GetNameOk ¶
GetNameOk returns a tuple with the Name field value and a boolean to check if the value has been set.
func (Action) MarshalJSON ¶
func (*Action) UnmarshalJSON ¶
type ActionType ¶
type ActionType string
ActionType the model 'ActionType'
const ( READ ActionType = "read" WRITE ActionType = "write" DELETE ActionType = "delete" )
List of ActionType
func NewActionTypeFromValue ¶
func NewActionTypeFromValue(v string) (*ActionType, error)
NewActionTypeFromValue returns a pointer to a valid ActionType for the value passed as argument, or an error if the value passed is not allowed by the enum
func (ActionType) IsValid ¶
func (v ActionType) IsValid() bool
IsValid return true if the value is valid for the enum, false otherwise
func (ActionType) Ptr ¶
func (v ActionType) Ptr() *ActionType
Ptr returns reference to ActionType value
func (*ActionType) UnmarshalJSON ¶
func (v *ActionType) UnmarshalJSON(src []byte) error
type NullableAction ¶
type NullableAction struct {
// contains filtered or unexported fields
}
func NewNullableAction ¶
func NewNullableAction(val *Action) *NullableAction
func (NullableAction) Get ¶
func (v NullableAction) Get() *Action
func (NullableAction) IsSet ¶
func (v NullableAction) IsSet() bool
func (NullableAction) MarshalJSON ¶
func (v NullableAction) MarshalJSON() ([]byte, error)
func (*NullableAction) Set ¶
func (v *NullableAction) Set(val *Action)
func (*NullableAction) UnmarshalJSON ¶
func (v *NullableAction) UnmarshalJSON(src []byte) error
func (*NullableAction) Unset ¶
func (v *NullableAction) Unset()
type NullableActionType ¶
type NullableActionType struct {
// contains filtered or unexported fields
}
func NewNullableActionType ¶
func NewNullableActionType(val *ActionType) *NullableActionType
func (NullableActionType) Get ¶
func (v NullableActionType) Get() *ActionType
func (NullableActionType) IsSet ¶
func (v NullableActionType) IsSet() bool
func (NullableActionType) MarshalJSON ¶
func (v NullableActionType) MarshalJSON() ([]byte, error)
func (*NullableActionType) Set ¶
func (v *NullableActionType) Set(val *ActionType)
func (*NullableActionType) UnmarshalJSON ¶
func (v *NullableActionType) UnmarshalJSON(src []byte) error
func (*NullableActionType) Unset ¶
func (v *NullableActionType) Unset()
type NullablePolicyManagerRequest ¶
type NullablePolicyManagerRequest struct {
// contains filtered or unexported fields
}
func NewNullablePolicyManagerRequest ¶
func NewNullablePolicyManagerRequest(val *PolicyManagerRequest) *NullablePolicyManagerRequest
func (NullablePolicyManagerRequest) Get ¶
func (v NullablePolicyManagerRequest) Get() *PolicyManagerRequest
func (NullablePolicyManagerRequest) IsSet ¶
func (v NullablePolicyManagerRequest) IsSet() bool
func (NullablePolicyManagerRequest) MarshalJSON ¶
func (v NullablePolicyManagerRequest) MarshalJSON() ([]byte, error)
func (*NullablePolicyManagerRequest) Set ¶
func (v *NullablePolicyManagerRequest) Set(val *PolicyManagerRequest)
func (*NullablePolicyManagerRequest) UnmarshalJSON ¶
func (v *NullablePolicyManagerRequest) UnmarshalJSON(src []byte) error
func (*NullablePolicyManagerRequest) Unset ¶
func (v *NullablePolicyManagerRequest) Unset()
type NullablePolicyManagerRequestAction ¶
type NullablePolicyManagerRequestAction struct {
// contains filtered or unexported fields
}
func NewNullablePolicyManagerRequestAction ¶
func NewNullablePolicyManagerRequestAction(val *PolicyManagerRequestAction) *NullablePolicyManagerRequestAction
func (NullablePolicyManagerRequestAction) Get ¶
func (v NullablePolicyManagerRequestAction) Get() *PolicyManagerRequestAction
func (NullablePolicyManagerRequestAction) IsSet ¶
func (v NullablePolicyManagerRequestAction) IsSet() bool
func (NullablePolicyManagerRequestAction) MarshalJSON ¶
func (v NullablePolicyManagerRequestAction) MarshalJSON() ([]byte, error)
func (*NullablePolicyManagerRequestAction) Set ¶
func (v *NullablePolicyManagerRequestAction) Set(val *PolicyManagerRequestAction)
func (*NullablePolicyManagerRequestAction) UnmarshalJSON ¶
func (v *NullablePolicyManagerRequestAction) UnmarshalJSON(src []byte) error
func (*NullablePolicyManagerRequestAction) Unset ¶
func (v *NullablePolicyManagerRequestAction) Unset()
type NullablePolicyManagerResponse ¶
type NullablePolicyManagerResponse struct {
// contains filtered or unexported fields
}
func NewNullablePolicyManagerResponse ¶
func NewNullablePolicyManagerResponse(val *PolicyManagerResponse) *NullablePolicyManagerResponse
func (NullablePolicyManagerResponse) Get ¶
func (v NullablePolicyManagerResponse) Get() *PolicyManagerResponse
func (NullablePolicyManagerResponse) IsSet ¶
func (v NullablePolicyManagerResponse) IsSet() bool
func (NullablePolicyManagerResponse) MarshalJSON ¶
func (v NullablePolicyManagerResponse) MarshalJSON() ([]byte, error)
func (*NullablePolicyManagerResponse) Set ¶
func (v *NullablePolicyManagerResponse) Set(val *PolicyManagerResponse)
func (*NullablePolicyManagerResponse) UnmarshalJSON ¶
func (v *NullablePolicyManagerResponse) UnmarshalJSON(src []byte) error
func (*NullablePolicyManagerResponse) Unset ¶
func (v *NullablePolicyManagerResponse) Unset()
type NullablePolicyManagerResultItem ¶ added in v0.5.0
type NullablePolicyManagerResultItem struct {
// contains filtered or unexported fields
}
func NewNullablePolicyManagerResultItem ¶ added in v0.5.0
func NewNullablePolicyManagerResultItem(val *PolicyManagerResultItem) *NullablePolicyManagerResultItem
func (NullablePolicyManagerResultItem) Get ¶ added in v0.5.0
func (v NullablePolicyManagerResultItem) Get() *PolicyManagerResultItem
func (NullablePolicyManagerResultItem) IsSet ¶ added in v0.5.0
func (v NullablePolicyManagerResultItem) IsSet() bool
func (NullablePolicyManagerResultItem) MarshalJSON ¶ added in v0.5.0
func (v NullablePolicyManagerResultItem) MarshalJSON() ([]byte, error)
func (*NullablePolicyManagerResultItem) Set ¶ added in v0.5.0
func (v *NullablePolicyManagerResultItem) Set(val *PolicyManagerResultItem)
func (*NullablePolicyManagerResultItem) UnmarshalJSON ¶ added in v0.5.0
func (v *NullablePolicyManagerResultItem) UnmarshalJSON(src []byte) error
func (*NullablePolicyManagerResultItem) Unset ¶ added in v0.5.0
func (v *NullablePolicyManagerResultItem) Unset()
type NullableResource ¶
type NullableResource struct {
// contains filtered or unexported fields
}
func NewNullableResource ¶
func NewNullableResource(val *Resource) *NullableResource
func (NullableResource) Get ¶
func (v NullableResource) Get() *Resource
func (NullableResource) IsSet ¶
func (v NullableResource) IsSet() bool
func (NullableResource) MarshalJSON ¶
func (v NullableResource) MarshalJSON() ([]byte, error)
func (*NullableResource) Set ¶
func (v *NullableResource) Set(val *Resource)
func (*NullableResource) UnmarshalJSON ¶
func (v *NullableResource) UnmarshalJSON(src []byte) error
func (*NullableResource) Unset ¶
func (v *NullableResource) Unset()
type NullableResourceColumns ¶
type NullableResourceColumns struct {
// contains filtered or unexported fields
}
func NewNullableResourceColumns ¶
func NewNullableResourceColumns(val *ResourceColumns) *NullableResourceColumns
func (NullableResourceColumns) Get ¶
func (v NullableResourceColumns) Get() *ResourceColumns
func (NullableResourceColumns) IsSet ¶
func (v NullableResourceColumns) IsSet() bool
func (NullableResourceColumns) MarshalJSON ¶
func (v NullableResourceColumns) MarshalJSON() ([]byte, error)
func (*NullableResourceColumns) Set ¶
func (v *NullableResourceColumns) Set(val *ResourceColumns)
func (*NullableResourceColumns) UnmarshalJSON ¶
func (v *NullableResourceColumns) UnmarshalJSON(src []byte) error
func (*NullableResourceColumns) Unset ¶
func (v *NullableResourceColumns) Unset()
type PolicyManagerRequest ¶
type PolicyManagerRequest struct { Context *map[string]interface{} `json:"context,omitempty"` Action PolicyManagerRequestAction `json:"action"` Resource Resource `json:"resource"` }
PolicyManagerRequest struct for PolicyManagerRequest
func NewPolicyManagerRequest ¶
func NewPolicyManagerRequest(action PolicyManagerRequestAction, resource Resource) *PolicyManagerRequest
NewPolicyManagerRequest instantiates a new PolicyManagerRequest 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 NewPolicyManagerRequestWithDefaults ¶
func NewPolicyManagerRequestWithDefaults() *PolicyManagerRequest
NewPolicyManagerRequestWithDefaults instantiates a new PolicyManagerRequest 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 (*PolicyManagerRequest) GetAction ¶
func (o *PolicyManagerRequest) GetAction() PolicyManagerRequestAction
GetAction returns the Action field value
func (*PolicyManagerRequest) GetActionOk ¶
func (o *PolicyManagerRequest) GetActionOk() (*PolicyManagerRequestAction, bool)
GetActionOk returns a tuple with the Action field value and a boolean to check if the value has been set.
func (*PolicyManagerRequest) GetContext ¶
func (o *PolicyManagerRequest) GetContext() map[string]interface{}
GetContext returns the Context field value if set, zero value otherwise.
func (*PolicyManagerRequest) GetContextOk ¶
func (o *PolicyManagerRequest) GetContextOk() (*map[string]interface{}, bool)
GetContextOk returns a tuple with the Context field value if set, nil otherwise and a boolean to check if the value has been set.
func (*PolicyManagerRequest) GetResource ¶
func (o *PolicyManagerRequest) GetResource() Resource
GetResource returns the Resource field value
func (*PolicyManagerRequest) GetResourceOk ¶
func (o *PolicyManagerRequest) GetResourceOk() (*Resource, bool)
GetResourceOk returns a tuple with the Resource field value and a boolean to check if the value has been set.
func (*PolicyManagerRequest) HasContext ¶
func (o *PolicyManagerRequest) HasContext() bool
HasContext returns a boolean if a field has been set.
func (PolicyManagerRequest) MarshalJSON ¶
func (o PolicyManagerRequest) MarshalJSON() ([]byte, error)
func (*PolicyManagerRequest) SetAction ¶
func (o *PolicyManagerRequest) SetAction(v PolicyManagerRequestAction)
SetAction sets field value
func (*PolicyManagerRequest) SetContext ¶
func (o *PolicyManagerRequest) SetContext(v map[string]interface{})
SetContext gets a reference to the given map[string]interface{} and assigns it to the Context field.
func (*PolicyManagerRequest) SetResource ¶
func (o *PolicyManagerRequest) SetResource(v Resource)
SetResource sets field value
type PolicyManagerRequestAction ¶
type PolicyManagerRequestAction struct { ActionType *ActionType `json:"actionType,omitempty"` ProcessingLocation *string `json:"processingLocation,omitempty"` Destination *string `json:"destination,omitempty"` }
PolicyManagerRequestAction struct for PolicyManagerRequestAction
func NewPolicyManagerRequestAction ¶
func NewPolicyManagerRequestAction() *PolicyManagerRequestAction
NewPolicyManagerRequestAction instantiates a new PolicyManagerRequestAction 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 NewPolicyManagerRequestActionWithDefaults ¶
func NewPolicyManagerRequestActionWithDefaults() *PolicyManagerRequestAction
NewPolicyManagerRequestActionWithDefaults instantiates a new PolicyManagerRequestAction 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 (*PolicyManagerRequestAction) GetActionType ¶
func (o *PolicyManagerRequestAction) GetActionType() ActionType
GetActionType returns the ActionType field value if set, zero value otherwise.
func (*PolicyManagerRequestAction) GetActionTypeOk ¶
func (o *PolicyManagerRequestAction) GetActionTypeOk() (*ActionType, bool)
GetActionTypeOk returns a tuple with the ActionType field value if set, nil otherwise and a boolean to check if the value has been set.
func (*PolicyManagerRequestAction) GetDestination ¶ added in v0.5.0
func (o *PolicyManagerRequestAction) GetDestination() string
GetDestination returns the Destination field value if set, zero value otherwise.
func (*PolicyManagerRequestAction) GetDestinationOk ¶ added in v0.5.0
func (o *PolicyManagerRequestAction) GetDestinationOk() (*string, bool)
GetDestinationOk returns a tuple with the Destination field value if set, nil otherwise and a boolean to check if the value has been set.
func (*PolicyManagerRequestAction) GetProcessingLocation ¶
func (o *PolicyManagerRequestAction) GetProcessingLocation() string
GetProcessingLocation returns the ProcessingLocation field value if set, zero value otherwise.
func (*PolicyManagerRequestAction) GetProcessingLocationOk ¶
func (o *PolicyManagerRequestAction) GetProcessingLocationOk() (*string, bool)
GetProcessingLocationOk returns a tuple with the ProcessingLocation field value if set, nil otherwise and a boolean to check if the value has been set.
func (*PolicyManagerRequestAction) HasActionType ¶
func (o *PolicyManagerRequestAction) HasActionType() bool
HasActionType returns a boolean if a field has been set.
func (*PolicyManagerRequestAction) HasDestination ¶ added in v0.5.0
func (o *PolicyManagerRequestAction) HasDestination() bool
HasDestination returns a boolean if a field has been set.
func (*PolicyManagerRequestAction) HasProcessingLocation ¶
func (o *PolicyManagerRequestAction) HasProcessingLocation() bool
HasProcessingLocation returns a boolean if a field has been set.
func (PolicyManagerRequestAction) MarshalJSON ¶
func (o PolicyManagerRequestAction) MarshalJSON() ([]byte, error)
func (*PolicyManagerRequestAction) SetActionType ¶
func (o *PolicyManagerRequestAction) SetActionType(v ActionType)
SetActionType gets a reference to the given ActionType and assigns it to the ActionType field.
func (*PolicyManagerRequestAction) SetDestination ¶ added in v0.5.0
func (o *PolicyManagerRequestAction) SetDestination(v string)
SetDestination gets a reference to the given string and assigns it to the Destination field.
func (*PolicyManagerRequestAction) SetProcessingLocation ¶
func (o *PolicyManagerRequestAction) SetProcessingLocation(v string)
SetProcessingLocation gets a reference to the given string and assigns it to the ProcessingLocation field.
type PolicyManagerResponse ¶
type PolicyManagerResponse struct { DecisionId *string `json:"decision_id,omitempty"` Result []PolicyManagerResultItem `json:"result"` }
PolicyManagerResponse struct for PolicyManagerResponse
func NewPolicyManagerResponse ¶
func NewPolicyManagerResponse(result []PolicyManagerResultItem) *PolicyManagerResponse
NewPolicyManagerResponse instantiates a new PolicyManagerResponse 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 NewPolicyManagerResponseWithDefaults ¶
func NewPolicyManagerResponseWithDefaults() *PolicyManagerResponse
NewPolicyManagerResponseWithDefaults instantiates a new PolicyManagerResponse 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 (*PolicyManagerResponse) GetDecisionId ¶
func (o *PolicyManagerResponse) GetDecisionId() string
GetDecisionId returns the DecisionId field value if set, zero value otherwise.
func (*PolicyManagerResponse) GetDecisionIdOk ¶
func (o *PolicyManagerResponse) GetDecisionIdOk() (*string, bool)
GetDecisionIdOk returns a tuple with the DecisionId field value if set, nil otherwise and a boolean to check if the value has been set.
func (*PolicyManagerResponse) GetResult ¶
func (o *PolicyManagerResponse) GetResult() []PolicyManagerResultItem
GetResult returns the Result field value
func (*PolicyManagerResponse) GetResultOk ¶
func (o *PolicyManagerResponse) GetResultOk() (*[]PolicyManagerResultItem, bool)
GetResultOk returns a tuple with the Result field value and a boolean to check if the value has been set.
func (*PolicyManagerResponse) HasDecisionId ¶
func (o *PolicyManagerResponse) HasDecisionId() bool
HasDecisionId returns a boolean if a field has been set.
func (PolicyManagerResponse) MarshalJSON ¶
func (o PolicyManagerResponse) MarshalJSON() ([]byte, error)
func (*PolicyManagerResponse) SetDecisionId ¶
func (o *PolicyManagerResponse) SetDecisionId(v string)
SetDecisionId gets a reference to the given string and assigns it to the DecisionId field.
func (*PolicyManagerResponse) SetResult ¶
func (o *PolicyManagerResponse) SetResult(v []PolicyManagerResultItem)
SetResult sets field value
type PolicyManagerResultItem ¶ added in v0.5.0
type PolicyManagerResultItem struct { // The policy on which the decision was based. Policy string `json:"policy"` Action Action `json:"action"` }
PolicyManagerResultItem struct for PolicyManagerResultItem
func NewPolicyManagerResultItem ¶ added in v0.5.0
func NewPolicyManagerResultItem(policy string, action Action) *PolicyManagerResultItem
NewPolicyManagerResultItem instantiates a new PolicyManagerResultItem 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 NewPolicyManagerResultItemWithDefaults ¶ added in v0.5.0
func NewPolicyManagerResultItemWithDefaults() *PolicyManagerResultItem
NewPolicyManagerResultItemWithDefaults instantiates a new PolicyManagerResultItem 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 (*PolicyManagerResultItem) GetAction ¶ added in v0.5.0
func (o *PolicyManagerResultItem) GetAction() Action
GetAction returns the Action field value
func (*PolicyManagerResultItem) GetActionOk ¶ added in v0.5.0
func (o *PolicyManagerResultItem) GetActionOk() (*Action, bool)
GetActionOk returns a tuple with the Action field value and a boolean to check if the value has been set.
func (*PolicyManagerResultItem) GetPolicy ¶ added in v0.5.0
func (o *PolicyManagerResultItem) GetPolicy() string
GetPolicy returns the Policy field value
func (*PolicyManagerResultItem) GetPolicyOk ¶ added in v0.5.0
func (o *PolicyManagerResultItem) GetPolicyOk() (*string, bool)
GetPolicyOk returns a tuple with the Policy field value and a boolean to check if the value has been set.
func (PolicyManagerResultItem) MarshalJSON ¶ added in v0.5.0
func (o PolicyManagerResultItem) MarshalJSON() ([]byte, error)
func (*PolicyManagerResultItem) SetAction ¶ added in v0.5.0
func (o *PolicyManagerResultItem) SetAction(v Action)
SetAction sets field value
func (*PolicyManagerResultItem) SetPolicy ¶ added in v0.5.0
func (o *PolicyManagerResultItem) SetPolicy(v string)
SetPolicy sets field value
type Resource ¶
type Resource struct { // Name of the data set Name string `json:"name"` Tags *map[string]interface{} `json:"tags,omitempty"` Columns *[]ResourceColumns `json:"columns,omitempty"` }
Resource struct for Resource
func NewResource ¶
NewResource instantiates a new Resource 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 NewResourceWithDefaults ¶
func NewResourceWithDefaults() *Resource
NewResourceWithDefaults instantiates a new Resource 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 (*Resource) GetColumns ¶
func (o *Resource) GetColumns() []ResourceColumns
GetColumns returns the Columns field value if set, zero value otherwise.
func (*Resource) GetColumnsOk ¶
func (o *Resource) GetColumnsOk() (*[]ResourceColumns, bool)
GetColumnsOk returns a tuple with the Columns field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Resource) GetNameOk ¶
GetNameOk returns a tuple with the Name field value and a boolean to check if the value has been set.
func (*Resource) GetTagsOk ¶
GetTagsOk returns a tuple with the Tags field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Resource) HasColumns ¶
HasColumns returns a boolean if a field has been set.
func (Resource) MarshalJSON ¶
func (*Resource) SetColumns ¶
func (o *Resource) SetColumns(v []ResourceColumns)
SetColumns gets a reference to the given []ResourceColumns and assigns it to the Columns field.
type ResourceColumns ¶
type ResourceColumns struct { Name string `json:"name"` Tags *map[string]interface{} `json:"tags,omitempty"` }
ResourceColumns struct for ResourceColumns
func NewResourceColumns ¶
func NewResourceColumns(name string) *ResourceColumns
NewResourceColumns instantiates a new ResourceColumns 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 NewResourceColumnsWithDefaults ¶
func NewResourceColumnsWithDefaults() *ResourceColumns
NewResourceColumnsWithDefaults instantiates a new ResourceColumns 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 (*ResourceColumns) GetName ¶
func (o *ResourceColumns) GetName() string
GetName returns the Name field value
func (*ResourceColumns) GetNameOk ¶
func (o *ResourceColumns) GetNameOk() (*string, bool)
GetNameOk returns a tuple with the Name field value and a boolean to check if the value has been set.
func (*ResourceColumns) GetTags ¶
func (o *ResourceColumns) GetTags() map[string]interface{}
GetTags returns the Tags field value if set, zero value otherwise.
func (*ResourceColumns) GetTagsOk ¶
func (o *ResourceColumns) GetTagsOk() (*map[string]interface{}, bool)
GetTagsOk returns a tuple with the Tags field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ResourceColumns) HasTags ¶
func (o *ResourceColumns) HasTags() bool
HasTags returns a boolean if a field has been set.
func (ResourceColumns) MarshalJSON ¶
func (o ResourceColumns) MarshalJSON() ([]byte, error)
func (*ResourceColumns) SetName ¶
func (o *ResourceColumns) SetName(v string)
SetName sets field value
func (*ResourceColumns) SetTags ¶
func (o *ResourceColumns) SetTags(v map[string]interface{})
SetTags gets a reference to the given map[string]interface{} and assigns it to the Tags field.