Name | Type | Description | Notes |
---|---|---|---|
Id | string | グループUUID | |
Name | string | グループ名 | |
Description | string | グループ説明 | |
Type | string | グループタイプ | |
Icon | string | グループアイコンUUID | |
Members | []UserGroupMember | グループメンバーの配列 | |
CreatedAt | time.Time | 作成日時 | |
UpdatedAt | time.Time | 更新日時 | |
Admins | []string | グループ管理者のUUIDの配列 |
func NewUserGroup(id string, name string, description string, type_ string, icon string, members []UserGroupMember, createdAt time.Time, updatedAt time.Time, admins []string, ) *UserGroup
NewUserGroup instantiates a new UserGroup 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 NewUserGroupWithDefaults() *UserGroup
NewUserGroupWithDefaults instantiates a new UserGroup 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 *UserGroup) GetId() string
GetId returns the Id field if non-nil, zero value otherwise.
func (o *UserGroup) GetIdOk() (*string, bool)
GetIdOk returns a tuple with the Id field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *UserGroup) SetId(v string)
SetId sets Id field to given value.
func (o *UserGroup) GetName() string
GetName returns the Name field if non-nil, zero value otherwise.
func (o *UserGroup) GetNameOk() (*string, bool)
GetNameOk returns a tuple with the Name field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *UserGroup) SetName(v string)
SetName sets Name field to given value.
func (o *UserGroup) GetDescription() string
GetDescription returns the Description field if non-nil, zero value otherwise.
func (o *UserGroup) GetDescriptionOk() (*string, bool)
GetDescriptionOk returns a tuple with the Description field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *UserGroup) SetDescription(v string)
SetDescription sets Description field to given value.
func (o *UserGroup) GetType() string
GetType returns the Type field if non-nil, zero value otherwise.
func (o *UserGroup) GetTypeOk() (*string, bool)
GetTypeOk returns a tuple with the Type field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *UserGroup) SetType(v string)
SetType sets Type field to given value.
func (o *UserGroup) GetIcon() string
GetIcon returns the Icon field if non-nil, zero value otherwise.
func (o *UserGroup) GetIconOk() (*string, bool)
GetIconOk returns a tuple with the Icon field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *UserGroup) SetIcon(v string)
SetIcon sets Icon field to given value.
func (o *UserGroup) GetMembers() []UserGroupMember
GetMembers returns the Members field if non-nil, zero value otherwise.
func (o *UserGroup) GetMembersOk() (*[]UserGroupMember, bool)
GetMembersOk returns a tuple with the Members field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *UserGroup) SetMembers(v []UserGroupMember)
SetMembers sets Members field to given value.
func (o *UserGroup) GetCreatedAt() time.Time
GetCreatedAt returns the CreatedAt field if non-nil, zero value otherwise.
func (o *UserGroup) GetCreatedAtOk() (*time.Time, 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.
func (o *UserGroup) SetCreatedAt(v time.Time)
SetCreatedAt sets CreatedAt field to given value.
func (o *UserGroup) GetUpdatedAt() time.Time
GetUpdatedAt returns the UpdatedAt field if non-nil, zero value otherwise.
func (o *UserGroup) GetUpdatedAtOk() (*time.Time, 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.
func (o *UserGroup) SetUpdatedAt(v time.Time)
SetUpdatedAt sets UpdatedAt field to given value.
func (o *UserGroup) GetAdmins() []string
GetAdmins returns the Admins field if non-nil, zero value otherwise.
func (o *UserGroup) GetAdminsOk() (*[]string, bool)
GetAdminsOk returns a tuple with the Admins field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *UserGroup) SetAdmins(v []string)
SetAdmins sets Admins field to given value.