Name | Type | Description | Notes |
---|---|---|---|
User | int32 | ||
Context | Pointer to map[string]interface{} | [optional] |
func NewPolicyTestRequest(user int32, ) *PolicyTestRequest
NewPolicyTestRequest instantiates a new PolicyTestRequest 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 NewPolicyTestRequestWithDefaults() *PolicyTestRequest
NewPolicyTestRequestWithDefaults instantiates a new PolicyTestRequest 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 (o *PolicyTestRequest) GetUser() int32
GetUser returns the User field if non-nil, zero value otherwise.
func (o *PolicyTestRequest) GetUserOk() (*int32, bool)
GetUserOk returns a tuple with the User field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *PolicyTestRequest) SetUser(v int32)
SetUser sets User field to given value.
func (o *PolicyTestRequest) GetContext() map[string]interface{}
GetContext returns the Context field if non-nil, zero value otherwise.
func (o *PolicyTestRequest) GetContextOk() (*map[string]interface{}, bool)
GetContextOk returns a tuple with the Context field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *PolicyTestRequest) SetContext(v map[string]interface{})
SetContext sets Context field to given value.
func (o *PolicyTestRequest) HasContext() bool
HasContext returns a boolean if a field has been set.