mirror of
https://github.com/owncloud/ocis
synced 2026-04-28 10:37:42 +02:00
feat: bump libre-graph-api-go
Signed-off-by: Julian Koberg <julian.koberg@kiteworks.com>
This commit is contained in:
37
vendor/github.com/owncloud/libre-graph-api-go/model_user_update.go
generated
vendored
37
vendor/github.com/owncloud/libre-graph-api-go/model_user_update.go
generated
vendored
@@ -48,6 +48,8 @@ type UserUpdate struct {
|
||||
// Represents the users language setting, ISO-639-1 Code
|
||||
PreferredLanguage *string `json:"preferredLanguage,omitempty"`
|
||||
SignInActivity *SignInActivity `json:"signInActivity,omitempty"`
|
||||
// A unique identifier assigned to the user by the organization.
|
||||
ExternalID *string `json:"externalID,omitempty"`
|
||||
}
|
||||
|
||||
// NewUserUpdate instantiates a new UserUpdate object
|
||||
@@ -579,6 +581,38 @@ func (o *UserUpdate) SetSignInActivity(v SignInActivity) {
|
||||
o.SignInActivity = &v
|
||||
}
|
||||
|
||||
// GetExternalID returns the ExternalID field value if set, zero value otherwise.
|
||||
func (o *UserUpdate) GetExternalID() string {
|
||||
if o == nil || IsNil(o.ExternalID) {
|
||||
var ret string
|
||||
return ret
|
||||
}
|
||||
return *o.ExternalID
|
||||
}
|
||||
|
||||
// GetExternalIDOk returns a tuple with the ExternalID field value if set, nil otherwise
|
||||
// and a boolean to check if the value has been set.
|
||||
func (o *UserUpdate) GetExternalIDOk() (*string, bool) {
|
||||
if o == nil || IsNil(o.ExternalID) {
|
||||
return nil, false
|
||||
}
|
||||
return o.ExternalID, true
|
||||
}
|
||||
|
||||
// HasExternalID returns a boolean if a field has been set.
|
||||
func (o *UserUpdate) HasExternalID() bool {
|
||||
if o != nil && !IsNil(o.ExternalID) {
|
||||
return true
|
||||
}
|
||||
|
||||
return false
|
||||
}
|
||||
|
||||
// SetExternalID gets a reference to the given string and assigns it to the ExternalID field.
|
||||
func (o *UserUpdate) SetExternalID(v string) {
|
||||
o.ExternalID = &v
|
||||
}
|
||||
|
||||
func (o UserUpdate) MarshalJSON() ([]byte, error) {
|
||||
toSerialize, err := o.ToMap()
|
||||
if err != nil {
|
||||
@@ -637,6 +671,9 @@ func (o UserUpdate) ToMap() (map[string]interface{}, error) {
|
||||
if !IsNil(o.SignInActivity) {
|
||||
toSerialize["signInActivity"] = o.SignInActivity
|
||||
}
|
||||
if !IsNil(o.ExternalID) {
|
||||
toSerialize["externalID"] = o.ExternalID
|
||||
}
|
||||
return toSerialize, nil
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user