Name | Type | Description | Notes |
---|---|---|---|
Users | []User | The list of users the access applies to | |
Statements | []Statement | A list of statements which match roles to resources. |
func NewAccessTemplate(users []User, statements []Statement, ) *AccessTemplate
NewAccessTemplate instantiates a new AccessTemplate 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 NewAccessTemplateWithDefaults() *AccessTemplate
NewAccessTemplateWithDefaults instantiates a new AccessTemplate 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 *AccessTemplate) GetUsers() []User
GetUsers returns the Users field if non-nil, zero value otherwise.
func (o *AccessTemplate) GetUsersOk() (*[]User, bool)
GetUsersOk returns a tuple with the Users field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *AccessTemplate) SetUsers(v []User)
SetUsers sets Users field to given value.
func (o *AccessTemplate) GetStatements() []Statement
GetStatements returns the Statements field if non-nil, zero value otherwise.
func (o *AccessTemplate) GetStatementsOk() (*[]Statement, bool)
GetStatementsOk returns a tuple with the Statements field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *AccessTemplate) SetStatements(v []Statement)
SetStatements sets Statements field to given value.