Bump libre-graph-go to latest main branch

To get sharing endpoints and audio/photo/location facets
This commit is contained in:
Ralf Haferkamp
2023-10-19 17:16:34 +02:00
committed by Ralf Haferkamp
parent 62d8a03400
commit b436e49f19
99 changed files with 7070 additions and 1527 deletions
+13 -6
View File
@@ -14,6 +14,9 @@ import (
"encoding/json"
)
// checks if the PasswordChange type satisfies the MappedNullable interface at compile time
var _ MappedNullable = &PasswordChange{}
// PasswordChange struct for PasswordChange
type PasswordChange struct {
CurrentPassword string `json:"currentPassword"`
@@ -88,16 +91,20 @@ func (o *PasswordChange) SetNewPassword(v string) {
}
func (o PasswordChange) MarshalJSON() ([]byte, error) {
toSerialize := map[string]interface{}{}
if true {
toSerialize["currentPassword"] = o.CurrentPassword
}
if true {
toSerialize["newPassword"] = o.NewPassword
toSerialize, err := o.ToMap()
if err != nil {
return []byte{}, err
}
return json.Marshal(toSerialize)
}
func (o PasswordChange) ToMap() (map[string]interface{}, error) {
toSerialize := map[string]interface{}{}
toSerialize["currentPassword"] = o.CurrentPassword
toSerialize["newPassword"] = o.NewPassword
return toSerialize, nil
}
type NullablePasswordChange struct {
value *PasswordChange
isSet bool