feat: bump libre-graph-api-go

Signed-off-by: Julian Koberg <julian.koberg@kiteworks.com>
This commit is contained in:
Julian Koberg
2025-11-05 14:15:37 +01:00
parent 173347d9e7
commit 4d940649de
6 changed files with 115 additions and 6 deletions

View File

@@ -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
}