mirror of
https://github.com/owncloud/ocis
synced 2026-05-03 21:12:23 +02:00
chore: bump libre-graph-api-go
This commit is contained in:
committed by
Ralf Haferkamp
parent
10a67114f1
commit
fa023ab43a
38
vendor/github.com/owncloud/libre-graph-api-go/model_user_update.go
generated
vendored
38
vendor/github.com/owncloud/libre-graph-api-go/model_user_update.go
generated
vendored
@@ -46,7 +46,8 @@ type UserUpdate struct {
|
||||
// The user`s type. This can be either \"Member\" for regular user, \"Guest\" for guest users or \"Federated\" for users imported from a federated instance.
|
||||
UserType *string `json:"userType,omitempty"`
|
||||
// Represents the users language setting, ISO-639-1 Code
|
||||
PreferredLanguage *string `json:"preferredLanguage,omitempty"`
|
||||
PreferredLanguage *string `json:"preferredLanguage,omitempty"`
|
||||
SignInActivity *SignInActivity `json:"signInActivity,omitempty"`
|
||||
}
|
||||
|
||||
// NewUserUpdate instantiates a new UserUpdate object
|
||||
@@ -546,6 +547,38 @@ func (o *UserUpdate) SetPreferredLanguage(v string) {
|
||||
o.PreferredLanguage = &v
|
||||
}
|
||||
|
||||
// GetSignInActivity returns the SignInActivity field value if set, zero value otherwise.
|
||||
func (o *UserUpdate) GetSignInActivity() SignInActivity {
|
||||
if o == nil || IsNil(o.SignInActivity) {
|
||||
var ret SignInActivity
|
||||
return ret
|
||||
}
|
||||
return *o.SignInActivity
|
||||
}
|
||||
|
||||
// GetSignInActivityOk returns a tuple with the SignInActivity field value if set, nil otherwise
|
||||
// and a boolean to check if the value has been set.
|
||||
func (o *UserUpdate) GetSignInActivityOk() (*SignInActivity, bool) {
|
||||
if o == nil || IsNil(o.SignInActivity) {
|
||||
return nil, false
|
||||
}
|
||||
return o.SignInActivity, true
|
||||
}
|
||||
|
||||
// HasSignInActivity returns a boolean if a field has been set.
|
||||
func (o *UserUpdate) HasSignInActivity() bool {
|
||||
if o != nil && !IsNil(o.SignInActivity) {
|
||||
return true
|
||||
}
|
||||
|
||||
return false
|
||||
}
|
||||
|
||||
// SetSignInActivity gets a reference to the given SignInActivity and assigns it to the SignInActivity field.
|
||||
func (o *UserUpdate) SetSignInActivity(v SignInActivity) {
|
||||
o.SignInActivity = &v
|
||||
}
|
||||
|
||||
func (o UserUpdate) MarshalJSON() ([]byte, error) {
|
||||
toSerialize, err := o.ToMap()
|
||||
if err != nil {
|
||||
@@ -601,6 +634,9 @@ func (o UserUpdate) ToMap() (map[string]interface{}, error) {
|
||||
if !IsNil(o.PreferredLanguage) {
|
||||
toSerialize["preferredLanguage"] = o.PreferredLanguage
|
||||
}
|
||||
if !IsNil(o.SignInActivity) {
|
||||
toSerialize["signInActivity"] = o.SignInActivity
|
||||
}
|
||||
return toSerialize, nil
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user