Skip to content

Latest commit

 

History

History
181 lines (98 loc) · 4.57 KB

UserConsent.md

File metadata and controls

181 lines (98 loc) · 4.57 KB

UserConsent

Properties

Name Type Description Notes
Pk int32 [readonly]
Expires Pointer to NullableTime [optional]
Expiring Pointer to bool [optional]
User User
Application Application
Permissions Pointer to string [optional] [default to ""]

Methods

NewUserConsent

func NewUserConsent(pk int32, user User, application Application, ) *UserConsent

NewUserConsent instantiates a new UserConsent 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

NewUserConsentWithDefaults

func NewUserConsentWithDefaults() *UserConsent

NewUserConsentWithDefaults instantiates a new UserConsent 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

GetPk

func (o *UserConsent) GetPk() int32

GetPk returns the Pk field if non-nil, zero value otherwise.

GetPkOk

func (o *UserConsent) GetPkOk() (*int32, bool)

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

SetPk

func (o *UserConsent) SetPk(v int32)

SetPk sets Pk field to given value.

GetExpires

func (o *UserConsent) GetExpires() time.Time

GetExpires returns the Expires field if non-nil, zero value otherwise.

GetExpiresOk

func (o *UserConsent) GetExpiresOk() (*time.Time, bool)

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

SetExpires

func (o *UserConsent) SetExpires(v time.Time)

SetExpires sets Expires field to given value.

HasExpires

func (o *UserConsent) HasExpires() bool

HasExpires returns a boolean if a field has been set.

SetExpiresNil

func (o *UserConsent) SetExpiresNil(b bool)

SetExpiresNil sets the value for Expires to be an explicit nil

UnsetExpires

func (o *UserConsent) UnsetExpires()

UnsetExpires ensures that no value is present for Expires, not even an explicit nil

GetExpiring

func (o *UserConsent) GetExpiring() bool

GetExpiring returns the Expiring field if non-nil, zero value otherwise.

GetExpiringOk

func (o *UserConsent) GetExpiringOk() (*bool, bool)

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

SetExpiring

func (o *UserConsent) SetExpiring(v bool)

SetExpiring sets Expiring field to given value.

HasExpiring

func (o *UserConsent) HasExpiring() bool

HasExpiring returns a boolean if a field has been set.

GetUser

func (o *UserConsent) GetUser() User

GetUser returns the User field if non-nil, zero value otherwise.

GetUserOk

func (o *UserConsent) GetUserOk() (*User, bool)

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

SetUser

func (o *UserConsent) SetUser(v User)

SetUser sets User field to given value.

GetApplication

func (o *UserConsent) GetApplication() Application

GetApplication returns the Application field if non-nil, zero value otherwise.

GetApplicationOk

func (o *UserConsent) GetApplicationOk() (*Application, bool)

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

SetApplication

func (o *UserConsent) SetApplication(v Application)

SetApplication sets Application field to given value.

GetPermissions

func (o *UserConsent) GetPermissions() string

GetPermissions returns the Permissions field if non-nil, zero value otherwise.

GetPermissionsOk

func (o *UserConsent) GetPermissionsOk() (*string, bool)

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

SetPermissions

func (o *UserConsent) SetPermissions(v string)

SetPermissions sets Permissions field to given value.

HasPermissions

func (o *UserConsent) HasPermissions() bool

HasPermissions returns a boolean if a field has been set.

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