Name | Type | Description | Notes |
---|---|---|---|
UserId | string | ピン留めしたユーザーUUID | |
PinnedAt | time.Time | ピン留めされた日時 |
func NewMessagePin(userId string, pinnedAt time.Time, ) *MessagePin
NewMessagePin instantiates a new MessagePin 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 NewMessagePinWithDefaults() *MessagePin
NewMessagePinWithDefaults instantiates a new MessagePin 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 *MessagePin) GetUserId() string
GetUserId returns the UserId field if non-nil, zero value otherwise.
func (o *MessagePin) 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.
func (o *MessagePin) SetUserId(v string)
SetUserId sets UserId field to given value.
func (o *MessagePin) GetPinnedAt() time.Time
GetPinnedAt returns the PinnedAt field if non-nil, zero value otherwise.
func (o *MessagePin) GetPinnedAtOk() (*time.Time, bool)
GetPinnedAtOk returns a tuple with the PinnedAt field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *MessagePin) SetPinnedAt(v time.Time)
SetPinnedAt sets PinnedAt field to given value.