SystemInitResponse
SystemInitResponse documentation for Go SDK
Properties
| Name | Type | Description | Notes |
|---|---|---|---|
| AlreadyInitialized | bool | Indicates whether the system was already initialized before this request. | |
| Message | string | A human-readable message about the initialization status. | |
| RootApiKey | Pointer to NullableString | The API key for the root user. Only present if system was just initialized (not previously initialized). | [optional] |
| UserId | Pointer to NullableString | The user ID of the root user. Only present if system was just initialized (not previously initialized). | [optional] |
Methods
NewSystemInitResponse
func NewSystemInitResponse(alreadyInitialized bool, message string, ) *SystemInitResponse
NewSystemInitResponse instantiates a new SystemInitResponse 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
NewSystemInitResponseWithDefaults
func NewSystemInitResponseWithDefaults() *SystemInitResponse
NewSystemInitResponseWithDefaults instantiates a new SystemInitResponse 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
GetAlreadyInitialized
func (o *SystemInitResponse) GetAlreadyInitialized() bool
GetAlreadyInitialized returns the AlreadyInitialized field if non-nil, zero value otherwise.
GetAlreadyInitializedOk
func (o *SystemInitResponse) GetAlreadyInitializedOk() (*bool, bool)
GetAlreadyInitializedOk returns a tuple with the AlreadyInitialized field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
SetAlreadyInitialized
func (o *SystemInitResponse) SetAlreadyInitialized(v bool)
SetAlreadyInitialized sets AlreadyInitialized field to given value.
GetMessage
func (o *SystemInitResponse) GetMessage() string
GetMessage returns the Message field if non-nil, zero value otherwise.
GetMessageOk
func (o *SystemInitResponse) GetMessageOk() (*string, bool)
GetMessageOk returns a tuple with the Message field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
SetMessage
func (o *SystemInitResponse) SetMessage(v string)
SetMessage sets Message field to given value.
GetRootApiKey
func (o *SystemInitResponse) GetRootApiKey() string
GetRootApiKey returns the RootApiKey field if non-nil, zero value otherwise.
GetRootApiKeyOk
func (o *SystemInitResponse) GetRootApiKeyOk() (*string, bool)
GetRootApiKeyOk returns a tuple with the RootApiKey field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
SetRootApiKey
func (o *SystemInitResponse) SetRootApiKey(v string)
SetRootApiKey sets RootApiKey field to given value.
HasRootApiKey
func (o *SystemInitResponse) HasRootApiKey() bool
HasRootApiKey returns a boolean if a field has been set.
SetRootApiKeyNil
func (o *SystemInitResponse) SetRootApiKeyNil(b bool)
SetRootApiKeyNil sets the value for RootApiKey to be an explicit nil
UnsetRootApiKey
func (o *SystemInitResponse) UnsetRootApiKey()
UnsetRootApiKey ensures that no value is present for RootApiKey, not even an explicit nil
GetUserId
func (o *SystemInitResponse) GetUserId() string
GetUserId returns the UserId field if non-nil, zero value otherwise.
GetUserIdOk
func (o *SystemInitResponse) 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 *SystemInitResponse) SetUserId(v string)
SetUserId sets UserId field to given value.
HasUserId
func (o *SystemInitResponse) HasUserId() bool
HasUserId returns a boolean if a field has been set.
SetUserIdNil
func (o *SystemInitResponse) SetUserIdNil(b bool)
SetUserIdNil sets the value for UserId to be an explicit nil
UnsetUserId
func (o *SystemInitResponse) UnsetUserId()
UnsetUserId ensures that no value is present for UserId, not even an explicit nil