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
+17 -6
View File
@@ -14,6 +14,9 @@ import (
"encoding/json"
)
// checks if the CollectionOfClass type satisfies the MappedNullable interface at compile time
var _ MappedNullable = &CollectionOfClass{}
// CollectionOfClass struct for CollectionOfClass
type CollectionOfClass struct {
Value []EducationClass `json:"value,omitempty"`
@@ -38,7 +41,7 @@ func NewCollectionOfClassWithDefaults() *CollectionOfClass {
// GetValue returns the Value field value if set, zero value otherwise.
func (o *CollectionOfClass) GetValue() []EducationClass {
if o == nil || o.Value == nil {
if o == nil || IsNil(o.Value) {
var ret []EducationClass
return ret
}
@@ -48,7 +51,7 @@ func (o *CollectionOfClass) GetValue() []EducationClass {
// GetValueOk returns a tuple with the Value field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *CollectionOfClass) GetValueOk() ([]EducationClass, bool) {
if o == nil || o.Value == nil {
if o == nil || IsNil(o.Value) {
return nil, false
}
return o.Value, true
@@ -56,7 +59,7 @@ func (o *CollectionOfClass) GetValueOk() ([]EducationClass, bool) {
// HasValue returns a boolean if a field has been set.
func (o *CollectionOfClass) HasValue() bool {
if o != nil && o.Value != nil {
if o != nil && !IsNil(o.Value) {
return true
}
@@ -69,13 +72,21 @@ func (o *CollectionOfClass) SetValue(v []EducationClass) {
}
func (o CollectionOfClass) MarshalJSON() ([]byte, error) {
toSerialize := map[string]interface{}{}
if o.Value != nil {
toSerialize["value"] = o.Value
toSerialize, err := o.ToMap()
if err != nil {
return []byte{}, err
}
return json.Marshal(toSerialize)
}
func (o CollectionOfClass) ToMap() (map[string]interface{}, error) {
toSerialize := map[string]interface{}{}
if !IsNil(o.Value) {
toSerialize["value"] = o.Value
}
return toSerialize, nil
}
type NullableCollectionOfClass struct {
value *CollectionOfClass
isSet bool