Documentation
¶
Index ¶
- func CreateUserFromDiscriminatorValue(...) (i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, ...)
- type User
- func (m *User) GetAccountId() *string
- func (m *User) GetAdditionalData() map[string]any
- func (m *User) GetBalance() *float64
- func (m *User) GetBillingEmail() *string
- func (m *User) GetBillingFreeUntilDate() *i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time
- func (m *User) GetBillingType() *float64
- func (m *User) GetCity() *string
- func (m *User) GetCompanyName() *string
- func (m *User) GetCountry() *string
- func (m *User) GetDateJoined() *i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time
- func (m *User) GetDpaAccepted() *bool
- func (m *User) GetDpaDateAccepted() *i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time
- func (m *User) GetDpaVersionAccepted() *int32
- func (m *User) GetEmail() *string
- func (m *User) GetEmailVerified() *bool
- func (m *User) GetEnabledPaymentTypes() []string
- func (m *User) GetFeatureFlags() []string
- func (m *User) GetFieldDeserializers() ...
- func (m *User) GetFirstName() *string
- func (m *User) GetFreeTrialExtendedDate() *i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time
- func (m *User) GetHasCompleteBillingProfile() *bool
- func (m *User) GetId() *string
- func (m *User) GetIsSsoAccount() *bool
- func (m *User) GetLastName() *string
- func (m *User) GetPaymentsDisabled() *bool
- func (m *User) GetReceiveNotificationEmails() *bool
- func (m *User) GetReceivePromotionalEmails() *bool
- func (m *User) GetRoles() []string
- func (m *User) GetStreetAddress() *string
- func (m *User) GetSuspended() *bool
- func (m *User) GetTotalBandwidthUsed() *int64
- func (m *User) GetTrialBandwidthLimit() *int64
- func (m *User) GetTwoFactorAuthenticationEnabled() *bool
- func (m *User) GetUnreadSupportTicketCount() *int32
- func (m *User) GetVATNumber() *string
- func (m *User) GetZipCode() *string
- func (m *User) Serialize(...) error
- func (m *User) SetAccountId(value *string)
- func (m *User) SetAdditionalData(value map[string]any)
- func (m *User) SetBalance(value *float64)
- func (m *User) SetBillingEmail(value *string)
- func (m *User) SetBillingFreeUntilDate(value *i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time)
- func (m *User) SetBillingType(value *float64)
- func (m *User) SetCity(value *string)
- func (m *User) SetCompanyName(value *string)
- func (m *User) SetCountry(value *string)
- func (m *User) SetDateJoined(value *i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time)
- func (m *User) SetDpaAccepted(value *bool)
- func (m *User) SetDpaDateAccepted(value *i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time)
- func (m *User) SetDpaVersionAccepted(value *int32)
- func (m *User) SetEmail(value *string)
- func (m *User) SetEmailVerified(value *bool)
- func (m *User) SetEnabledPaymentTypes(value []string)
- func (m *User) SetFeatureFlags(value []string)
- func (m *User) SetFirstName(value *string)
- func (m *User) SetFreeTrialExtendedDate(value *i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time)
- func (m *User) SetHasCompleteBillingProfile(value *bool)
- func (m *User) SetId(value *string)
- func (m *User) SetIsSsoAccount(value *bool)
- func (m *User) SetLastName(value *string)
- func (m *User) SetPaymentsDisabled(value *bool)
- func (m *User) SetReceiveNotificationEmails(value *bool)
- func (m *User) SetReceivePromotionalEmails(value *bool)
- func (m *User) SetRoles(value []string)
- func (m *User) SetStreetAddress(value *string)
- func (m *User) SetSuspended(value *bool)
- func (m *User) SetTotalBandwidthUsed(value *int64)
- func (m *User) SetTrialBandwidthLimit(value *int64)
- func (m *User) SetTwoFactorAuthenticationEnabled(value *bool)
- func (m *User) SetUnreadSupportTicketCount(value *int32)
- func (m *User) SetVATNumber(value *string)
- func (m *User) SetZipCode(value *string)
- type Userable
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CreateUserFromDiscriminatorValue ¶
func CreateUserFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) (i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error)
CreateUserFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value returns a Parsable when successful
Types ¶
type User ¶
type User struct {
// contains filtered or unexported fields
}
func (*User) GetAccountId ¶
GetAccountId gets the AccountId property value. The Id of the user returns a *string when successful
func (*User) GetAdditionalData ¶
GetAdditionalData gets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. returns a map[string]any when successful
func (*User) GetBalance ¶
GetBalance gets the Balance property value. The remaining balance on the user's account returns a *float64 when successful
func (*User) GetBillingEmail ¶
GetBillingEmail gets the BillingEmail property value. The email where the invoices and billing messages will be sent returns a *string when successful
func (*User) GetBillingFreeUntilDate ¶
func (m *User) GetBillingFreeUntilDate() *i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time
GetBillingFreeUntilDate gets the BillingFreeUntilDate property value. The end date of the account's free trial. If this is in the past, the free trial has expired. returns a *Time when successful
func (*User) GetBillingType ¶
GetBillingType gets the BillingType property value. The BillingType property returns a *float64 when successful
func (*User) GetCity ¶
GetCity gets the City property value. The city of the user returns a *string when successful
func (*User) GetCompanyName ¶
GetCompanyName gets the CompanyName property value. The country name that the user is from returns a *string when successful
func (*User) GetCountry ¶
GetCountry gets the Country property value. The Alpha2 country code that the user is from returns a *string when successful
func (*User) GetDateJoined ¶
func (m *User) GetDateJoined() *i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time
GetDateJoined gets the DateJoined property value. The date when the user joined bunny.net returns a *Time when successful
func (*User) GetDpaAccepted ¶
GetDpaAccepted gets the DpaAccepted property value. Determines if the DPA was accepted by the user or not returns a *bool when successful
func (*User) GetDpaDateAccepted ¶
func (m *User) GetDpaDateAccepted() *i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time
GetDpaDateAccepted gets the DpaDateAccepted property value. Determines the date on which the DPA was accepted returns a *Time when successful
func (*User) GetDpaVersionAccepted ¶
GetDpaVersionAccepted gets the DpaVersionAccepted property value. Determines which version of the DPA was accepted returns a *int32 when successful
func (*User) GetEmail ¶
GetEmail gets the Email property value. The email of the user returns a *string when successful
func (*User) GetEmailVerified ¶
GetEmailVerified gets the EmailVerified property value. Determines if the account's email has been successfully verified returns a *bool when successful
func (*User) GetEnabledPaymentTypes ¶
GetEnabledPaymentTypes gets the EnabledPaymentTypes property value. Contains the list of available payment types for this account returns a []string when successful
func (*User) GetFeatureFlags ¶
GetFeatureFlags gets the FeatureFlags property value. The list of features that the user has enabled returns a []string when successful
func (*User) GetFieldDeserializers ¶
func (m *User) GetFieldDeserializers() map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error
GetFieldDeserializers the deserialization information for the current model returns a map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) when successful
func (*User) GetFirstName ¶
GetFirstName gets the FirstName property value. The first name of the user returns a *string when successful
func (*User) GetFreeTrialExtendedDate ¶
func (m *User) GetFreeTrialExtendedDate() *i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time
GetFreeTrialExtendedDate gets the FreeTrialExtendedDate property value. The FreeTrialExtendedDate property returns a *Time when successful
func (*User) GetHasCompleteBillingProfile ¶
GetHasCompleteBillingProfile gets the HasCompleteBillingProfile property value. The HasCompleteBillingProfile property returns a *bool when successful
func (*User) GetId ¶
GetId gets the Id property value. The Id of the user returns a *string when successful
func (*User) GetIsSsoAccount ¶
GetIsSsoAccount gets the IsSsoAccount property value. Determines whether the user used a Single Sign On account returns a *bool when successful
func (*User) GetLastName ¶
GetLastName gets the LastName property value. The last name of the user returns a *string when successful
func (*User) GetPaymentsDisabled ¶
GetPaymentsDisabled gets the PaymentsDisabled property value. Determines if the payments are disabled on this account returns a *bool when successful
func (*User) GetReceiveNotificationEmails ¶
GetReceiveNotificationEmails gets the ReceiveNotificationEmails property value. Determines if the account should receive notification emails from bunny.net returns a *bool when successful
func (*User) GetReceivePromotionalEmails ¶
GetReceivePromotionalEmails gets the ReceivePromotionalEmails property value. Determines if the account should receive promotional emails from bunny.net returns a *bool when successful
func (*User) GetRoles ¶
GetRoles gets the Roles property value. Determines the roles that the user belongs to returns a []string when successful
func (*User) GetStreetAddress ¶
GetStreetAddress gets the StreetAddress property value. The street address of the user returns a *string when successful
func (*User) GetSuspended ¶
GetSuspended gets the Suspended property value. Determines if the user's account is suspended returns a *bool when successful
func (*User) GetTotalBandwidthUsed ¶
GetTotalBandwidthUsed gets the TotalBandwidthUsed property value. The total bandwidth used by the account. returns a *int64 when successful
func (*User) GetTrialBandwidthLimit ¶
GetTrialBandwidthLimit gets the TrialBandwidthLimit property value. The total free trial bandwidth limit for this account returns a *int64 when successful
func (*User) GetTwoFactorAuthenticationEnabled ¶
GetTwoFactorAuthenticationEnabled gets the TwoFactorAuthenticationEnabled property value. Determines if the account has 2FA enabled returns a *bool when successful
func (*User) GetUnreadSupportTicketCount ¶
GetUnreadSupportTicketCount gets the UnreadSupportTicketCount property value. Returns the number of unread tickets on the user's account returns a *int32 when successful
func (*User) GetVATNumber ¶
GetVATNumber gets the VATNumber property value. The billing VAT number of the account returns a *string when successful
func (*User) GetZipCode ¶
GetZipCode gets the ZipCode property value. The address zip code of the user returns a *string when successful
func (*User) Serialize ¶
func (m *User) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter) error
Serialize serializes information the current object
func (*User) SetAccountId ¶
SetAccountId sets the AccountId property value. The Id of the user
func (*User) SetAdditionalData ¶
SetAdditionalData sets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well.
func (*User) SetBalance ¶
SetBalance sets the Balance property value. The remaining balance on the user's account
func (*User) SetBillingEmail ¶
SetBillingEmail sets the BillingEmail property value. The email where the invoices and billing messages will be sent
func (*User) SetBillingFreeUntilDate ¶
func (m *User) SetBillingFreeUntilDate(value *i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time)
SetBillingFreeUntilDate sets the BillingFreeUntilDate property value. The end date of the account's free trial. If this is in the past, the free trial has expired.
func (*User) SetBillingType ¶
SetBillingType sets the BillingType property value. The BillingType property
func (*User) SetCompanyName ¶
SetCompanyName sets the CompanyName property value. The country name that the user is from
func (*User) SetCountry ¶
SetCountry sets the Country property value. The Alpha2 country code that the user is from
func (*User) SetDateJoined ¶
func (m *User) SetDateJoined(value *i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time)
SetDateJoined sets the DateJoined property value. The date when the user joined bunny.net
func (*User) SetDpaAccepted ¶
SetDpaAccepted sets the DpaAccepted property value. Determines if the DPA was accepted by the user or not
func (*User) SetDpaDateAccepted ¶
func (m *User) SetDpaDateAccepted(value *i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time)
SetDpaDateAccepted sets the DpaDateAccepted property value. Determines the date on which the DPA was accepted
func (*User) SetDpaVersionAccepted ¶
SetDpaVersionAccepted sets the DpaVersionAccepted property value. Determines which version of the DPA was accepted
func (*User) SetEmailVerified ¶
SetEmailVerified sets the EmailVerified property value. Determines if the account's email has been successfully verified
func (*User) SetEnabledPaymentTypes ¶
SetEnabledPaymentTypes sets the EnabledPaymentTypes property value. Contains the list of available payment types for this account
func (*User) SetFeatureFlags ¶
SetFeatureFlags sets the FeatureFlags property value. The list of features that the user has enabled
func (*User) SetFirstName ¶
SetFirstName sets the FirstName property value. The first name of the user
func (*User) SetFreeTrialExtendedDate ¶
func (m *User) SetFreeTrialExtendedDate(value *i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time)
SetFreeTrialExtendedDate sets the FreeTrialExtendedDate property value. The FreeTrialExtendedDate property
func (*User) SetHasCompleteBillingProfile ¶
SetHasCompleteBillingProfile sets the HasCompleteBillingProfile property value. The HasCompleteBillingProfile property
func (*User) SetIsSsoAccount ¶
SetIsSsoAccount sets the IsSsoAccount property value. Determines whether the user used a Single Sign On account
func (*User) SetLastName ¶
SetLastName sets the LastName property value. The last name of the user
func (*User) SetPaymentsDisabled ¶
SetPaymentsDisabled sets the PaymentsDisabled property value. Determines if the payments are disabled on this account
func (*User) SetReceiveNotificationEmails ¶
SetReceiveNotificationEmails sets the ReceiveNotificationEmails property value. Determines if the account should receive notification emails from bunny.net
func (*User) SetReceivePromotionalEmails ¶
SetReceivePromotionalEmails sets the ReceivePromotionalEmails property value. Determines if the account should receive promotional emails from bunny.net
func (*User) SetRoles ¶
SetRoles sets the Roles property value. Determines the roles that the user belongs to
func (*User) SetStreetAddress ¶
SetStreetAddress sets the StreetAddress property value. The street address of the user
func (*User) SetSuspended ¶
SetSuspended sets the Suspended property value. Determines if the user's account is suspended
func (*User) SetTotalBandwidthUsed ¶
SetTotalBandwidthUsed sets the TotalBandwidthUsed property value. The total bandwidth used by the account.
func (*User) SetTrialBandwidthLimit ¶
SetTrialBandwidthLimit sets the TrialBandwidthLimit property value. The total free trial bandwidth limit for this account
func (*User) SetTwoFactorAuthenticationEnabled ¶
SetTwoFactorAuthenticationEnabled sets the TwoFactorAuthenticationEnabled property value. Determines if the account has 2FA enabled
func (*User) SetUnreadSupportTicketCount ¶
SetUnreadSupportTicketCount sets the UnreadSupportTicketCount property value. Returns the number of unread tickets on the user's account
func (*User) SetVATNumber ¶
SetVATNumber sets the VATNumber property value. The billing VAT number of the account
func (*User) SetZipCode ¶
SetZipCode sets the ZipCode property value. The address zip code of the user
type Userable ¶
type Userable interface { i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetAccountId() *string GetBalance() *float64 GetBillingEmail() *string GetBillingFreeUntilDate() *i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time GetBillingType() *float64 GetCity() *string GetCompanyName() *string GetCountry() *string GetDateJoined() *i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time GetDpaAccepted() *bool GetDpaDateAccepted() *i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time GetDpaVersionAccepted() *int32 GetEmail() *string GetEmailVerified() *bool GetEnabledPaymentTypes() []string GetFeatureFlags() []string GetFirstName() *string GetFreeTrialExtendedDate() *i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time GetHasCompleteBillingProfile() *bool GetId() *string GetIsSsoAccount() *bool GetLastName() *string GetPaymentsDisabled() *bool GetReceiveNotificationEmails() *bool GetReceivePromotionalEmails() *bool GetRoles() []string GetStreetAddress() *string GetSuspended() *bool GetTotalBandwidthUsed() *int64 GetTrialBandwidthLimit() *int64 GetTwoFactorAuthenticationEnabled() *bool GetUnreadSupportTicketCount() *int32 GetVATNumber() *string GetZipCode() *string SetAccountId(value *string) SetBalance(value *float64) SetBillingEmail(value *string) SetBillingFreeUntilDate(value *i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time) SetBillingType(value *float64) SetCity(value *string) SetCompanyName(value *string) SetCountry(value *string) SetDateJoined(value *i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time) SetDpaAccepted(value *bool) SetDpaDateAccepted(value *i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time) SetDpaVersionAccepted(value *int32) SetEmail(value *string) SetEmailVerified(value *bool) SetEnabledPaymentTypes(value []string) SetFeatureFlags(value []string) SetFirstName(value *string) SetFreeTrialExtendedDate(value *i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time) SetHasCompleteBillingProfile(value *bool) SetId(value *string) SetIsSsoAccount(value *bool) SetLastName(value *string) SetPaymentsDisabled(value *bool) SetReceiveNotificationEmails(value *bool) SetReceivePromotionalEmails(value *bool) SetRoles(value []string) SetStreetAddress(value *string) SetSuspended(value *bool) SetTotalBandwidthUsed(value *int64) SetTrialBandwidthLimit(value *int64) SetTwoFactorAuthenticationEnabled(value *bool) SetUnreadSupportTicketCount(value *int32) SetVATNumber(value *string) SetZipCode(value *string) }