Skip to content

Latest commit

 

History

History
202 lines (109 loc) · 5.29 KB

File metadata and controls

202 lines (109 loc) · 5.29 KB

V2Organization

Properties

Name Type Description Notes
Name string Organization name
MachineName string Organization machine name
Type Pointer to string Organization type [optional]
Region Pointer to string Organization region [optional]
Subscription Pointer to string Subscription type [optional]
CreatedAt Pointer to time.Time Creation timestamp [optional]
UpdatedAt Pointer to time.Time Last update timestamp [optional]

Methods

NewV2Organization

func NewV2Organization(name string, machineName string, ) *V2Organization

NewV2Organization instantiates a new V2Organization 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

NewV2OrganizationWithDefaults

func NewV2OrganizationWithDefaults() *V2Organization

NewV2OrganizationWithDefaults instantiates a new V2Organization 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 *V2Organization) GetName() string

GetName returns the Name field if non-nil, zero value otherwise.

GetNameOk

func (o *V2Organization) 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 *V2Organization) SetName(v string)

SetName sets Name field to given value.

GetMachineName

func (o *V2Organization) GetMachineName() string

GetMachineName returns the MachineName field if non-nil, zero value otherwise.

GetMachineNameOk

func (o *V2Organization) GetMachineNameOk() (*string, bool)

GetMachineNameOk returns a tuple with the MachineName field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

SetMachineName

func (o *V2Organization) SetMachineName(v string)

SetMachineName sets MachineName field to given value.

GetType

func (o *V2Organization) GetType() string

GetType returns the Type field if non-nil, zero value otherwise.

GetTypeOk

func (o *V2Organization) 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.

SetType

func (o *V2Organization) SetType(v string)

SetType sets Type field to given value.

HasType

func (o *V2Organization) HasType() bool

HasType returns a boolean if a field has been set.

GetRegion

func (o *V2Organization) GetRegion() string

GetRegion returns the Region field if non-nil, zero value otherwise.

GetRegionOk

func (o *V2Organization) GetRegionOk() (*string, bool)

GetRegionOk returns a tuple with the Region field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

SetRegion

func (o *V2Organization) SetRegion(v string)

SetRegion sets Region field to given value.

HasRegion

func (o *V2Organization) HasRegion() bool

HasRegion returns a boolean if a field has been set.

GetSubscription

func (o *V2Organization) GetSubscription() string

GetSubscription returns the Subscription field if non-nil, zero value otherwise.

GetSubscriptionOk

func (o *V2Organization) GetSubscriptionOk() (*string, bool)

GetSubscriptionOk returns a tuple with the Subscription field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

SetSubscription

func (o *V2Organization) SetSubscription(v string)

SetSubscription sets Subscription field to given value.

HasSubscription

func (o *V2Organization) HasSubscription() bool

HasSubscription returns a boolean if a field has been set.

GetCreatedAt

func (o *V2Organization) GetCreatedAt() time.Time

GetCreatedAt returns the CreatedAt field if non-nil, zero value otherwise.

GetCreatedAtOk

func (o *V2Organization) 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 *V2Organization) SetCreatedAt(v time.Time)

SetCreatedAt sets CreatedAt field to given value.

HasCreatedAt

func (o *V2Organization) HasCreatedAt() bool

HasCreatedAt returns a boolean if a field has been set.

GetUpdatedAt

func (o *V2Organization) GetUpdatedAt() time.Time

GetUpdatedAt returns the UpdatedAt field if non-nil, zero value otherwise.

GetUpdatedAtOk

func (o *V2Organization) 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 *V2Organization) SetUpdatedAt(v time.Time)

SetUpdatedAt sets UpdatedAt field to given value.

HasUpdatedAt

func (o *V2Organization) HasUpdatedAt() bool

HasUpdatedAt returns a boolean if a field has been set.

[Back to Model list] [Back to API list] [Back to README]