Skip to content

Latest commit

 

History

History
316 lines (171 loc) · 8.7 KB

OrganizationInvitation.md

File metadata and controls

316 lines (171 loc) · 8.7 KB

OrganizationInvitation

Properties

Name Type Description Notes
Id Pointer to string [optional]
Email Pointer to string [optional]
Role Pointer to UserRoleRole [optional] [default to USERROLEROLE_INVALID]
Status Pointer to OrganizationInvitationStatus [optional] [default to ORGANIZATIONINVITATIONSTATUS_INVALID]
ExpiresAt Pointer to time.Time [optional]
OrganizationId Pointer to string [optional]
Organization Pointer to PublicOrganization [optional]
InviteeId Pointer to string [optional]
Invitee Pointer to PublicUser [optional]
InviterId Pointer to string [optional]
Inviter Pointer to PublicUser [optional]

Methods

NewOrganizationInvitation

func NewOrganizationInvitation() *OrganizationInvitation

NewOrganizationInvitation instantiates a new OrganizationInvitation 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

NewOrganizationInvitationWithDefaults

func NewOrganizationInvitationWithDefaults() *OrganizationInvitation

NewOrganizationInvitationWithDefaults instantiates a new OrganizationInvitation 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

GetId

func (o *OrganizationInvitation) GetId() string

GetId returns the Id field if non-nil, zero value otherwise.

GetIdOk

func (o *OrganizationInvitation) 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 *OrganizationInvitation) SetId(v string)

SetId sets Id field to given value.

HasId

func (o *OrganizationInvitation) HasId() bool

HasId returns a boolean if a field has been set.

GetEmail

func (o *OrganizationInvitation) GetEmail() string

GetEmail returns the Email field if non-nil, zero value otherwise.

GetEmailOk

func (o *OrganizationInvitation) GetEmailOk() (*string, bool)

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

SetEmail

func (o *OrganizationInvitation) SetEmail(v string)

SetEmail sets Email field to given value.

HasEmail

func (o *OrganizationInvitation) HasEmail() bool

HasEmail returns a boolean if a field has been set.

GetRole

func (o *OrganizationInvitation) GetRole() UserRoleRole

GetRole returns the Role field if non-nil, zero value otherwise.

GetRoleOk

func (o *OrganizationInvitation) GetRoleOk() (*UserRoleRole, bool)

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

SetRole

func (o *OrganizationInvitation) SetRole(v UserRoleRole)

SetRole sets Role field to given value.

HasRole

func (o *OrganizationInvitation) HasRole() bool

HasRole returns a boolean if a field has been set.

GetStatus

func (o *OrganizationInvitation) GetStatus() OrganizationInvitationStatus

GetStatus returns the Status field if non-nil, zero value otherwise.

GetStatusOk

func (o *OrganizationInvitation) GetStatusOk() (*OrganizationInvitationStatus, bool)

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

SetStatus

func (o *OrganizationInvitation) SetStatus(v OrganizationInvitationStatus)

SetStatus sets Status field to given value.

HasStatus

func (o *OrganizationInvitation) HasStatus() bool

HasStatus returns a boolean if a field has been set.

GetExpiresAt

func (o *OrganizationInvitation) GetExpiresAt() time.Time

GetExpiresAt returns the ExpiresAt field if non-nil, zero value otherwise.

GetExpiresAtOk

func (o *OrganizationInvitation) GetExpiresAtOk() (*time.Time, bool)

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

SetExpiresAt

func (o *OrganizationInvitation) SetExpiresAt(v time.Time)

SetExpiresAt sets ExpiresAt field to given value.

HasExpiresAt

func (o *OrganizationInvitation) HasExpiresAt() bool

HasExpiresAt returns a boolean if a field has been set.

GetOrganizationId

func (o *OrganizationInvitation) GetOrganizationId() string

GetOrganizationId returns the OrganizationId field if non-nil, zero value otherwise.

GetOrganizationIdOk

func (o *OrganizationInvitation) GetOrganizationIdOk() (*string, bool)

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

SetOrganizationId

func (o *OrganizationInvitation) SetOrganizationId(v string)

SetOrganizationId sets OrganizationId field to given value.

HasOrganizationId

func (o *OrganizationInvitation) HasOrganizationId() bool

HasOrganizationId returns a boolean if a field has been set.

GetOrganization

func (o *OrganizationInvitation) GetOrganization() PublicOrganization

GetOrganization returns the Organization field if non-nil, zero value otherwise.

GetOrganizationOk

func (o *OrganizationInvitation) GetOrganizationOk() (*PublicOrganization, bool)

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

SetOrganization

func (o *OrganizationInvitation) SetOrganization(v PublicOrganization)

SetOrganization sets Organization field to given value.

HasOrganization

func (o *OrganizationInvitation) HasOrganization() bool

HasOrganization returns a boolean if a field has been set.

GetInviteeId

func (o *OrganizationInvitation) GetInviteeId() string

GetInviteeId returns the InviteeId field if non-nil, zero value otherwise.

GetInviteeIdOk

func (o *OrganizationInvitation) GetInviteeIdOk() (*string, bool)

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

SetInviteeId

func (o *OrganizationInvitation) SetInviteeId(v string)

SetInviteeId sets InviteeId field to given value.

HasInviteeId

func (o *OrganizationInvitation) HasInviteeId() bool

HasInviteeId returns a boolean if a field has been set.

GetInvitee

func (o *OrganizationInvitation) GetInvitee() PublicUser

GetInvitee returns the Invitee field if non-nil, zero value otherwise.

GetInviteeOk

func (o *OrganizationInvitation) GetInviteeOk() (*PublicUser, bool)

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

SetInvitee

func (o *OrganizationInvitation) SetInvitee(v PublicUser)

SetInvitee sets Invitee field to given value.

HasInvitee

func (o *OrganizationInvitation) HasInvitee() bool

HasInvitee returns a boolean if a field has been set.

GetInviterId

func (o *OrganizationInvitation) GetInviterId() string

GetInviterId returns the InviterId field if non-nil, zero value otherwise.

GetInviterIdOk

func (o *OrganizationInvitation) GetInviterIdOk() (*string, bool)

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

SetInviterId

func (o *OrganizationInvitation) SetInviterId(v string)

SetInviterId sets InviterId field to given value.

HasInviterId

func (o *OrganizationInvitation) HasInviterId() bool

HasInviterId returns a boolean if a field has been set.

GetInviter

func (o *OrganizationInvitation) GetInviter() PublicUser

GetInviter returns the Inviter field if non-nil, zero value otherwise.

GetInviterOk

func (o *OrganizationInvitation) GetInviterOk() (*PublicUser, bool)

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

SetInviter

func (o *OrganizationInvitation) SetInviter(v PublicUser)

SetInviter sets Inviter field to given value.

HasInviter

func (o *OrganizationInvitation) HasInviter() bool

HasInviter returns a boolean if a field has been set.

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