UserResponse Model
UserResponse Model documentation for Go SDK
Properties
| Name | Type | Description | Notes |
|---|---|---|---|
| UserId | string | The unique identifier of the user | |
| string | The user's email address | ||
| DisplayName | string | The user's display name | |
| Username | Pointer to string | The user's username (optional) | [optional] |
| CreatedAt | int64 | Timestamp when the user was created (milliseconds since epoch) | |
| UpdatedAt | int64 | Timestamp when the user was last updated (milliseconds since epoch) |
Methods
NewUserResponse
func NewUserResponse(userId string, email string, displayName string, createdAt int64, updatedAt int64, ) *UserResponse
NewUserResponse instantiates a new UserResponse 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
NewUserResponseWithDefaults
func NewUserResponseWithDefaults() *UserResponse
NewUserResponseWithDefaults instantiates a new UserResponse 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
GetUserId
func (o *UserResponse) GetUserId() string
GetUserId returns the UserId field if non-nil, zero value otherwise.
GetUserIdOk
func (o *UserResponse) 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 *UserResponse) SetUserId(v string)
SetUserId sets UserId field to given value.
GetEmail
func (o *UserResponse) GetEmail() string
GetEmail returns the Email field if non-nil, zero value otherwise.
GetEmailOk
func (o *UserResponse) GetEmailOk() (*string, bool)
GetEmailOk returns a tuple with the Email field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
SetEmail
func (o *UserResponse) SetEmail(v string)
SetEmail sets Email field to given value.
GetDisplayName
func (o *UserResponse) GetDisplayName() string
GetDisplayName returns the DisplayName field if non-nil, zero value otherwise.
GetDisplayNameOk
func (o *UserResponse) GetDisplayNameOk() (*string, bool)
GetDisplayNameOk returns a tuple with the DisplayName field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
SetDisplayName
func (o *UserResponse) SetDisplayName(v string)
SetDisplayName sets DisplayName field to given value.
GetUsername
func (o *UserResponse) GetUsername() string
GetUsername returns the Username field if non-nil, zero value otherwise.
GetUsernameOk
func (o *UserResponse) GetUsernameOk() (*string, bool)
GetUsernameOk returns a tuple with the Username field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
SetUsername
func (o *UserResponse) SetUsername(v string)
SetUsername sets Username field to given value.
HasUsername
func (o *UserResponse) HasUsername() bool
HasUsername returns a boolean if a field has been set.
GetCreatedAt
func (o *UserResponse) GetCreatedAt() int64
GetCreatedAt returns the CreatedAt field if non-nil, zero value otherwise.
GetCreatedAtOk
func (o *UserResponse) GetCreatedAtOk() (*int64, bool)
GetCreatedAtOk returns a tuple with the CreatedAt field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
SetCreatedAt
func (o *UserResponse) SetCreatedAt(v int64)
SetCreatedAt sets CreatedAt field to given value.
GetUpdatedAt
func (o *UserResponse) GetUpdatedAt() int64
GetUpdatedAt returns the UpdatedAt field if non-nil, zero value otherwise.
GetUpdatedAtOk
func (o *UserResponse) GetUpdatedAtOk() (*int64, bool)
GetUpdatedAtOk returns a tuple with the UpdatedAt field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
SetUpdatedAt
func (o *UserResponse) SetUpdatedAt(v int64)
SetUpdatedAt sets UpdatedAt field to given value.