Name | Type | Description | Notes |
---|---|---|---|
Id | string | BOT UUID | |
BotUserId | string | BOTユーザーUUID | |
Description | string | 説明 | |
DeveloperId | string | BOT開発者UUID | |
SubscribeEvents | []string | BOTが購読しているイベントの配列 | |
Mode | BotMode | ||
State | BotState | ||
CreatedAt | time.Time | 作成日時 | |
UpdatedAt | time.Time | 更新日時 |
func NewBot(id string, botUserId string, description string, developerId string, subscribeEvents []string, mode BotMode, state BotState, createdAt time.Time, updatedAt time.Time, ) *Bot
NewBot instantiates a new Bot 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 NewBotWithDefaults() *Bot
NewBotWithDefaults instantiates a new Bot 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 *Bot) GetId() string
GetId returns the Id field if non-nil, zero value otherwise.
func (o *Bot) 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 *Bot) SetId(v string)
SetId sets Id field to given value.
func (o *Bot) GetBotUserId() string
GetBotUserId returns the BotUserId field if non-nil, zero value otherwise.
func (o *Bot) GetBotUserIdOk() (*string, bool)
GetBotUserIdOk returns a tuple with the BotUserId field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *Bot) SetBotUserId(v string)
SetBotUserId sets BotUserId field to given value.
func (o *Bot) GetDescription() string
GetDescription returns the Description field if non-nil, zero value otherwise.
func (o *Bot) 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 *Bot) SetDescription(v string)
SetDescription sets Description field to given value.
func (o *Bot) GetDeveloperId() string
GetDeveloperId returns the DeveloperId field if non-nil, zero value otherwise.
func (o *Bot) GetDeveloperIdOk() (*string, bool)
GetDeveloperIdOk returns a tuple with the DeveloperId field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *Bot) SetDeveloperId(v string)
SetDeveloperId sets DeveloperId field to given value.
func (o *Bot) GetSubscribeEvents() []string
GetSubscribeEvents returns the SubscribeEvents field if non-nil, zero value otherwise.
func (o *Bot) GetSubscribeEventsOk() (*[]string, bool)
GetSubscribeEventsOk returns a tuple with the SubscribeEvents field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *Bot) SetSubscribeEvents(v []string)
SetSubscribeEvents sets SubscribeEvents field to given value.
func (o *Bot) GetMode() BotMode
GetMode returns the Mode field if non-nil, zero value otherwise.
func (o *Bot) GetModeOk() (*BotMode, bool)
GetModeOk returns a tuple with the Mode field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *Bot) SetMode(v BotMode)
SetMode sets Mode field to given value.
func (o *Bot) GetState() BotState
GetState returns the State field if non-nil, zero value otherwise.
func (o *Bot) GetStateOk() (*BotState, bool)
GetStateOk returns a tuple with the State field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *Bot) SetState(v BotState)
SetState sets State field to given value.
func (o *Bot) GetCreatedAt() time.Time
GetCreatedAt returns the CreatedAt field if non-nil, zero value otherwise.
func (o *Bot) 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 *Bot) SetCreatedAt(v time.Time)
SetCreatedAt sets CreatedAt field to given value.
func (o *Bot) GetUpdatedAt() time.Time
GetUpdatedAt returns the UpdatedAt field if non-nil, zero value otherwise.
func (o *Bot) 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 *Bot) SetUpdatedAt(v time.Time)
SetUpdatedAt sets UpdatedAt field to given value.