Name | Type | Description | Notes |
---|---|---|---|
CurrentAccountId | string | Идентификатор текущего рабочего аккаунта менеджера. Совпадает со значением переданного в заголовке `X-Manager-Account-Id` | |
IsPrimaryAccountBlocked | bool | Заблокирован ли главный рабочий аккаунт менеджера | |
Items | []ManagerAccount | Список рабочих аккаунтов менеджера | |
PrimaryAccountId | string | Идентификатор главного рабочего аккаунта менеджера |
func NewManagerAccounts(currentAccountId string, isPrimaryAccountBlocked bool, items []ManagerAccount, primaryAccountId string, ) *ManagerAccounts
NewManagerAccounts instantiates a new ManagerAccounts 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 NewManagerAccountsWithDefaults() *ManagerAccounts
NewManagerAccountsWithDefaults instantiates a new ManagerAccounts 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 *ManagerAccounts) GetCurrentAccountId() string
GetCurrentAccountId returns the CurrentAccountId field if non-nil, zero value otherwise.
func (o *ManagerAccounts) GetCurrentAccountIdOk() (*string, bool)
GetCurrentAccountIdOk returns a tuple with the CurrentAccountId field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *ManagerAccounts) SetCurrentAccountId(v string)
SetCurrentAccountId sets CurrentAccountId field to given value.
func (o *ManagerAccounts) GetIsPrimaryAccountBlocked() bool
GetIsPrimaryAccountBlocked returns the IsPrimaryAccountBlocked field if non-nil, zero value otherwise.
func (o *ManagerAccounts) GetIsPrimaryAccountBlockedOk() (*bool, bool)
GetIsPrimaryAccountBlockedOk returns a tuple with the IsPrimaryAccountBlocked field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *ManagerAccounts) SetIsPrimaryAccountBlocked(v bool)
SetIsPrimaryAccountBlocked sets IsPrimaryAccountBlocked field to given value.
func (o *ManagerAccounts) GetItems() []ManagerAccount
GetItems returns the Items field if non-nil, zero value otherwise.
func (o *ManagerAccounts) GetItemsOk() (*[]ManagerAccount, bool)
GetItemsOk returns a tuple with the Items field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *ManagerAccounts) SetItems(v []ManagerAccount)
SetItems sets Items field to given value.
func (o *ManagerAccounts) GetPrimaryAccountId() string
GetPrimaryAccountId returns the PrimaryAccountId field if non-nil, zero value otherwise.
func (o *ManagerAccounts) GetPrimaryAccountIdOk() (*string, bool)
GetPrimaryAccountIdOk returns a tuple with the PrimaryAccountId field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *ManagerAccounts) SetPrimaryAccountId(v string)
SetPrimaryAccountId sets PrimaryAccountId field to given value.