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
+23 -12
View File
@@ -15,6 +15,9 @@ import (
"time"
)
// checks if the DirectoryObject type satisfies the MappedNullable interface at compile time
var _ MappedNullable = &DirectoryObject{}
// DirectoryObject Represents a Directory object. Read-only.
type DirectoryObject struct {
// The unique identifier for the object. 12345678-9abc-def0-1234-56789abcde. The value of the ID property is often, but not exclusively, in the form of a GUID. The value should be treated as an opaque identifier and not based in being a GUID. Null values are not allowed. Read-only.
@@ -41,7 +44,7 @@ func NewDirectoryObjectWithDefaults() *DirectoryObject {
// GetId returns the Id field value if set, zero value otherwise.
func (o *DirectoryObject) GetId() string {
if o == nil || o.Id == nil {
if o == nil || IsNil(o.Id) {
var ret string
return ret
}
@@ -51,7 +54,7 @@ func (o *DirectoryObject) GetId() string {
// GetIdOk returns a tuple with the Id field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *DirectoryObject) GetIdOk() (*string, bool) {
if o == nil || o.Id == nil {
if o == nil || IsNil(o.Id) {
return nil, false
}
return o.Id, true
@@ -59,7 +62,7 @@ func (o *DirectoryObject) GetIdOk() (*string, bool) {
// HasId returns a boolean if a field has been set.
func (o *DirectoryObject) HasId() bool {
if o != nil && o.Id != nil {
if o != nil && !IsNil(o.Id) {
return true
}
@@ -73,7 +76,7 @@ func (o *DirectoryObject) SetId(v string) {
// GetDeletedDateTime returns the DeletedDateTime field value if set, zero value otherwise.
func (o *DirectoryObject) GetDeletedDateTime() time.Time {
if o == nil || o.DeletedDateTime == nil {
if o == nil || IsNil(o.DeletedDateTime) {
var ret time.Time
return ret
}
@@ -83,7 +86,7 @@ func (o *DirectoryObject) GetDeletedDateTime() time.Time {
// GetDeletedDateTimeOk returns a tuple with the DeletedDateTime field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *DirectoryObject) GetDeletedDateTimeOk() (*time.Time, bool) {
if o == nil || o.DeletedDateTime == nil {
if o == nil || IsNil(o.DeletedDateTime) {
return nil, false
}
return o.DeletedDateTime, true
@@ -91,7 +94,7 @@ func (o *DirectoryObject) GetDeletedDateTimeOk() (*time.Time, bool) {
// HasDeletedDateTime returns a boolean if a field has been set.
func (o *DirectoryObject) HasDeletedDateTime() bool {
if o != nil && o.DeletedDateTime != nil {
if o != nil && !IsNil(o.DeletedDateTime) {
return true
}
@@ -104,16 +107,24 @@ func (o *DirectoryObject) SetDeletedDateTime(v time.Time) {
}
func (o DirectoryObject) MarshalJSON() ([]byte, error) {
toSerialize := map[string]interface{}{}
if o.Id != nil {
toSerialize["id"] = o.Id
}
if o.DeletedDateTime != nil {
toSerialize["deletedDateTime"] = o.DeletedDateTime
toSerialize, err := o.ToMap()
if err != nil {
return []byte{}, err
}
return json.Marshal(toSerialize)
}
func (o DirectoryObject) ToMap() (map[string]interface{}, error) {
toSerialize := map[string]interface{}{}
if !IsNil(o.Id) {
toSerialize["id"] = o.Id
}
if !IsNil(o.DeletedDateTime) {
toSerialize["deletedDateTime"] = o.DeletedDateTime
}
return toSerialize, nil
}
type NullableDirectoryObject struct {
value *DirectoryObject
isSet bool