7.5 KiB
Organization
Properties
| Name | Type | Description | Notes |
|---|---|---|---|
| Name | string | Organization name | |
| DefaultOrganizationAccess | Pointer to Role | [optional] | |
| DefaultStackAccess | Pointer to Role | [optional] | |
| Domain | Pointer to string | Organization domain | [optional] |
| Id | string | Organization ID | |
| OwnerId | string | Owner ID | |
| AvailableStacks | Pointer to int32 | Number of available stacks | [optional] |
| AvailableSandboxes | Pointer to int32 | Number of available sandboxes | [optional] |
| CreatedAt | Pointer to time.Time | [optional] | |
| UpdatedAt | Pointer to time.Time | [optional] |
Methods
NewOrganization
func NewOrganization(name string, id string, ownerId string, ) *Organization
NewOrganization instantiates a new Organization 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
NewOrganizationWithDefaults
func NewOrganizationWithDefaults() *Organization
NewOrganizationWithDefaults instantiates a new Organization 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
GetName
func (o *Organization) GetName() string
GetName returns the Name field if non-nil, zero value otherwise.
GetNameOk
func (o *Organization) 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.
SetName
func (o *Organization) SetName(v string)
SetName sets Name field to given value.
GetDefaultOrganizationAccess
func (o *Organization) GetDefaultOrganizationAccess() Role
GetDefaultOrganizationAccess returns the DefaultOrganizationAccess field if non-nil, zero value otherwise.
GetDefaultOrganizationAccessOk
func (o *Organization) GetDefaultOrganizationAccessOk() (*Role, bool)
GetDefaultOrganizationAccessOk returns a tuple with the DefaultOrganizationAccess field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
SetDefaultOrganizationAccess
func (o *Organization) SetDefaultOrganizationAccess(v Role)
SetDefaultOrganizationAccess sets DefaultOrganizationAccess field to given value.
HasDefaultOrganizationAccess
func (o *Organization) HasDefaultOrganizationAccess() bool
HasDefaultOrganizationAccess returns a boolean if a field has been set.
GetDefaultStackAccess
func (o *Organization) GetDefaultStackAccess() Role
GetDefaultStackAccess returns the DefaultStackAccess field if non-nil, zero value otherwise.
GetDefaultStackAccessOk
func (o *Organization) GetDefaultStackAccessOk() (*Role, bool)
GetDefaultStackAccessOk returns a tuple with the DefaultStackAccess field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
SetDefaultStackAccess
func (o *Organization) SetDefaultStackAccess(v Role)
SetDefaultStackAccess sets DefaultStackAccess field to given value.
HasDefaultStackAccess
func (o *Organization) HasDefaultStackAccess() bool
HasDefaultStackAccess returns a boolean if a field has been set.
GetDomain
func (o *Organization) GetDomain() string
GetDomain returns the Domain field if non-nil, zero value otherwise.
GetDomainOk
func (o *Organization) GetDomainOk() (*string, bool)
GetDomainOk returns a tuple with the Domain field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
SetDomain
func (o *Organization) SetDomain(v string)
SetDomain sets Domain field to given value.
HasDomain
func (o *Organization) HasDomain() bool
HasDomain returns a boolean if a field has been set.
GetId
func (o *Organization) GetId() string
GetId returns the Id field if non-nil, zero value otherwise.
GetIdOk
func (o *Organization) 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.
SetId
func (o *Organization) SetId(v string)
SetId sets Id field to given value.
GetOwnerId
func (o *Organization) GetOwnerId() string
GetOwnerId returns the OwnerId field if non-nil, zero value otherwise.
GetOwnerIdOk
func (o *Organization) GetOwnerIdOk() (*string, bool)
GetOwnerIdOk returns a tuple with the OwnerId field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
SetOwnerId
func (o *Organization) SetOwnerId(v string)
SetOwnerId sets OwnerId field to given value.
GetAvailableStacks
func (o *Organization) GetAvailableStacks() int32
GetAvailableStacks returns the AvailableStacks field if non-nil, zero value otherwise.
GetAvailableStacksOk
func (o *Organization) GetAvailableStacksOk() (*int32, bool)
GetAvailableStacksOk returns a tuple with the AvailableStacks field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
SetAvailableStacks
func (o *Organization) SetAvailableStacks(v int32)
SetAvailableStacks sets AvailableStacks field to given value.
HasAvailableStacks
func (o *Organization) HasAvailableStacks() bool
HasAvailableStacks returns a boolean if a field has been set.
GetAvailableSandboxes
func (o *Organization) GetAvailableSandboxes() int32
GetAvailableSandboxes returns the AvailableSandboxes field if non-nil, zero value otherwise.
GetAvailableSandboxesOk
func (o *Organization) GetAvailableSandboxesOk() (*int32, bool)
GetAvailableSandboxesOk returns a tuple with the AvailableSandboxes field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
SetAvailableSandboxes
func (o *Organization) SetAvailableSandboxes(v int32)
SetAvailableSandboxes sets AvailableSandboxes field to given value.
HasAvailableSandboxes
func (o *Organization) HasAvailableSandboxes() bool
HasAvailableSandboxes returns a boolean if a field has been set.
GetCreatedAt
func (o *Organization) GetCreatedAt() time.Time
GetCreatedAt returns the CreatedAt field if non-nil, zero value otherwise.
GetCreatedAtOk
func (o *Organization) 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.
SetCreatedAt
func (o *Organization) SetCreatedAt(v time.Time)
SetCreatedAt sets CreatedAt field to given value.
HasCreatedAt
func (o *Organization) HasCreatedAt() bool
HasCreatedAt returns a boolean if a field has been set.
GetUpdatedAt
func (o *Organization) GetUpdatedAt() time.Time
GetUpdatedAt returns the UpdatedAt field if non-nil, zero value otherwise.
GetUpdatedAtOk
func (o *Organization) 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.
SetUpdatedAt
func (o *Organization) SetUpdatedAt(v time.Time)
SetUpdatedAt sets UpdatedAt field to given value.
HasUpdatedAt
func (o *Organization) HasUpdatedAt() bool
HasUpdatedAt returns a boolean if a field has been set.