base

package
v0.5.3 Latest Latest
Warning

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

Go to latest
Published: Jan 11, 2022 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Action

type Action struct {
	Name                 string `json:"name"`
	AdditionalProperties map[string]interface{}
}

Action struct for Action

func NewAction

func NewAction(name string) *Action

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 (in *Action) DeepCopyInto(out *Action)

func (*Action) GetName

func (o *Action) GetName() string

GetName returns the Name field value

func (*Action) GetNameOk

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

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

func (Action) MarshalJSON

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

func (*Action) SetName

func (o *Action) SetName(v string)

SetName sets field value

func (*Action) UnmarshalJSON

func (o *Action) UnmarshalJSON(bytes []byte) (err error)

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 (NullablePolicyManagerRequest) IsSet

func (NullablePolicyManagerRequest) MarshalJSON

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

func (*NullablePolicyManagerRequest) Set

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 (NullablePolicyManagerRequestAction) Get

func (NullablePolicyManagerRequestAction) IsSet

func (NullablePolicyManagerRequestAction) MarshalJSON

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

func (*NullablePolicyManagerRequestAction) Set

func (*NullablePolicyManagerRequestAction) UnmarshalJSON

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

func (*NullablePolicyManagerRequestAction) Unset

type NullablePolicyManagerResponse

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

func (NullablePolicyManagerResponse) Get

func (NullablePolicyManagerResponse) IsSet

func (NullablePolicyManagerResponse) MarshalJSON

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

func (*NullablePolicyManagerResponse) Set

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 (NullablePolicyManagerResultItem) IsSet added in v0.5.0

func (NullablePolicyManagerResultItem) MarshalJSON added in v0.5.0

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

func (*NullablePolicyManagerResultItem) Set added in v0.5.0

func (*NullablePolicyManagerResultItem) UnmarshalJSON added in v0.5.0

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

func (*NullablePolicyManagerResultItem) Unset added in v0.5.0

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 (NullableResourceColumns) IsSet

func (v NullableResourceColumns) IsSet() bool

func (NullableResourceColumns) MarshalJSON

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

func (*NullableResourceColumns) Set

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

GetAction returns the Action field value

func (*PolicyManagerRequest) GetActionOk

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

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

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

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

func NewResource(name string) *Resource

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

func (o *Resource) GetName() string

GetName returns the Name field value

func (*Resource) GetNameOk

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

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

func (*Resource) GetTags

func (o *Resource) GetTags() map[string]interface{}

GetTags returns the Tags field value if set, zero value otherwise.

func (*Resource) GetTagsOk

func (o *Resource) 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 (*Resource) HasColumns

func (o *Resource) HasColumns() bool

HasColumns returns a boolean if a field has been set.

func (*Resource) HasTags

func (o *Resource) HasTags() bool

HasTags returns a boolean if a field has been set.

func (Resource) MarshalJSON

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

func (*Resource) SetColumns

func (o *Resource) SetColumns(v []ResourceColumns)

SetColumns gets a reference to the given []ResourceColumns and assigns it to the Columns field.

func (*Resource) SetName

func (o *Resource) SetName(v string)

SetName sets field value

func (*Resource) SetTags

func (o *Resource) SetTags(v map[string]interface{})

SetTags gets a reference to the given map[string]interface{} and assigns it to the Tags 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.

Jump to

Keyboard shortcuts

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