73 lines
2.1 KiB
Markdown
73 lines
2.1 KiB
Markdown
# SchemaUpdateUserRoleReq
|
|
|
|
## Properties
|
|
|
|
Name | Type | Description | Notes
|
|
------------ | ------------- | ------------- | -------------
|
|
**RoleId** | **int32** | role id |
|
|
**UserId** | **string** | user id |
|
|
|
|
## Methods
|
|
|
|
### NewSchemaUpdateUserRoleReq
|
|
|
|
`func NewSchemaUpdateUserRoleReq(roleId int32, userId string, ) *SchemaUpdateUserRoleReq`
|
|
|
|
NewSchemaUpdateUserRoleReq instantiates a new SchemaUpdateUserRoleReq 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
|
|
|
|
### NewSchemaUpdateUserRoleReqWithDefaults
|
|
|
|
`func NewSchemaUpdateUserRoleReqWithDefaults() *SchemaUpdateUserRoleReq`
|
|
|
|
NewSchemaUpdateUserRoleReqWithDefaults instantiates a new SchemaUpdateUserRoleReq 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
|
|
|
|
### GetRoleId
|
|
|
|
`func (o *SchemaUpdateUserRoleReq) GetRoleId() int32`
|
|
|
|
GetRoleId returns the RoleId field if non-nil, zero value otherwise.
|
|
|
|
### GetRoleIdOk
|
|
|
|
`func (o *SchemaUpdateUserRoleReq) GetRoleIdOk() (*int32, bool)`
|
|
|
|
GetRoleIdOk returns a tuple with the RoleId field if it's non-nil, zero value otherwise
|
|
and a boolean to check if the value has been set.
|
|
|
|
### SetRoleId
|
|
|
|
`func (o *SchemaUpdateUserRoleReq) SetRoleId(v int32)`
|
|
|
|
SetRoleId sets RoleId field to given value.
|
|
|
|
|
|
### GetUserId
|
|
|
|
`func (o *SchemaUpdateUserRoleReq) GetUserId() string`
|
|
|
|
GetUserId returns the UserId field if non-nil, zero value otherwise.
|
|
|
|
### GetUserIdOk
|
|
|
|
`func (o *SchemaUpdateUserRoleReq) GetUserIdOk() (*string, bool)`
|
|
|
|
GetUserIdOk returns a tuple with the UserId field if it's non-nil, zero value otherwise
|
|
and a boolean to check if the value has been set.
|
|
|
|
### SetUserId
|
|
|
|
`func (o *SchemaUpdateUserRoleReq) SetUserId(v string)`
|
|
|
|
SetUserId sets UserId field to given value.
|
|
|
|
|
|
|
|
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
|
|
|
|
|