libregraph

package module
v1.0.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 24, 2022 License: Apache-2.0 Imports: 22 Imported by: 27

README

Go API client for libregraph

No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)

Overview

This API client was generated by the OpenAPI Generator project. By using the OpenAPI-spec from a remote server, you can easily generate an API client.

  • API version: v1.0.0
  • Package version: 1.0.0
  • Build package: org.openapitools.codegen.languages.GoClientCodegen

Installation

Install the following dependencies:

go get github.com/stretchr/testify/assert
go get golang.org/x/oauth2
go get golang.org/x/net/context

Put the package under your project folder and add the following in import:

import libregraph "github.com/owncloud/libre-graph-api-go"

To use a proxy, set the environment variable HTTP_PROXY:

os.Setenv("HTTP_PROXY", "http://proxy_name:proxy_port")

Configuration of Server URL

Default configuration comes with Servers field that contains server objects as defined in the OpenAPI specification.

Select Server Configuration

For using other server than the one defined on index 0 set context value sw.ContextServerIndex of type int.

ctx := context.WithValue(context.Background(), libregraph.ContextServerIndex, 1)
Templated Server URL

Templated server URL is formatted using default variables from configuration or from context value sw.ContextServerVariables of type map[string]string.

ctx := context.WithValue(context.Background(), libregraph.ContextServerVariables, map[string]string{
	"basePath": "v2",
})

Note, enum values are always validated and all unused variables are silently ignored.

URLs Configuration per Operation

Each operation can use different server URL defined using OperationServers map in the Configuration. An operation is uniquely identified by "{classname}Service.{nickname}" string. Similar rules for overriding default operation server index and variables applies by using sw.ContextOperationServerIndices and sw.ContextOperationServerVariables context maps.

ctx := context.WithValue(context.Background(), libregraph.ContextOperationServerIndices, map[string]int{
	"{classname}Service.{nickname}": 2,
})
ctx = context.WithValue(context.Background(), libregraph.ContextOperationServerVariables, map[string]map[string]string{
	"{classname}Service.{nickname}": {
		"port": "8443",
	},
})

Documentation for API Endpoints

All URIs are relative to https://ocis.ocis-traefik.latest.owncloud.works

Class Method HTTP request Description
DrivesApi CreateDrive Post /drives Create a new space of a specific type
DrivesApi DeleteDrive Delete /drives/{drive-id} Delete a specific space
DrivesApi GetDrive Get /drives/{drive-id} Get drive by id
DrivesApi UpdateDrive Patch /drives/{drive-id} Update the space
DrivesGetDrivesApi ListAllDrives Get /drives Get All drives
DrivesRootApi GetRoot Get /drives/{drive-id}/root Get root from arbitrary space
GroupApi AddMember Post /groups/{group-id}/members/$ref Add a member to a group
GroupApi DeleteGroup Delete /groups/{group-id} Delete entity from groups
GroupApi DeleteMember Delete /groups/{group-id}/members/{directory-object-id}/$ref Delete member from a group
GroupApi GetGroup Get /groups/{group-id} Get entity from groups by key
GroupApi UpdateGroup Patch /groups/{group-id} Update entity in groups
GroupsApi CreateGroup Post /groups Add new entity to groups
GroupsApi ListGroups Get /groups Get entities from groups
MeChangepasswordApi ChangeOwnPassword Post /me/changePassword Chanage your own password
MeDriveApi GetHome Get /me/drive Get personal space for user
MeDriveRootApi HomeGetRoot Get /me/drive/root Get root from personal space
MeDriveRootChildrenApi HomeGetChildren Get /me/drive/root/children Get children from drive
MeDrivesApi ListMyDrives Get /me/drives Get drives from me
MeUserApi GetOwnUser Get /me Get current user
UserApi DeleteUser Delete /users/{user-id} Delete entity from users
UserApi GetUser Get /users/{user-id} Get entity from users by key
UserApi UpdateUser Patch /users/{user-id} Update entity in users
UsersApi CreateUser Post /users Add new entity to users
UsersApi ListUsers Get /users Get entities from users

Documentation For Models

Documentation For Authorization

Endpoints do not require authorization.

Documentation for Utility Methods

Due to the fact that model structure members are all pointers, this package contains a number of utility functions to easily obtain pointers to values of basic types. Each of these functions takes a value of the given basic type and returns a pointer to it:

  • PtrBool
  • PtrInt
  • PtrInt32
  • PtrInt64
  • PtrFloat
  • PtrFloat32
  • PtrFloat64
  • PtrString
  • PtrTime

Author

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	// ContextOAuth2 takes an oauth2.TokenSource as authentication for the request.
	ContextOAuth2 = contextKey("token")

	// ContextBasicAuth takes BasicAuth as authentication for the request.
	ContextBasicAuth = contextKey("basic")

	// ContextAccessToken takes a string oauth2 access token as authentication for the request.
	ContextAccessToken = contextKey("accesstoken")

	// ContextAPIKeys takes a string apikey as authentication for the request
	ContextAPIKeys = contextKey("apiKeys")

	// ContextHttpSignatureAuth takes HttpSignatureAuth as authentication for the request.
	ContextHttpSignatureAuth = contextKey("httpsignature")

	// ContextServerIndex uses a server configuration from the index.
	ContextServerIndex = contextKey("serverIndex")

	// ContextOperationServerIndices uses a server configuration from the index mapping.
	ContextOperationServerIndices = contextKey("serverOperationIndices")

	// ContextServerVariables overrides a server configuration variables.
	ContextServerVariables = contextKey("serverVariables")

	// ContextOperationServerVariables overrides a server configuration variables using operation specific values.
	ContextOperationServerVariables = contextKey("serverOperationVariables")
)

Functions

func CacheExpires

func CacheExpires(r *http.Response) time.Time

CacheExpires helper function to determine remaining time before repeating a request.

func PtrBool

func PtrBool(v bool) *bool

PtrBool is a helper routine that returns a pointer to given boolean value.

func PtrFloat32

func PtrFloat32(v float32) *float32

PtrFloat32 is a helper routine that returns a pointer to given float value.

func PtrFloat64

func PtrFloat64(v float64) *float64

PtrFloat64 is a helper routine that returns a pointer to given float value.

func PtrInt

func PtrInt(v int) *int

PtrInt is a helper routine that returns a pointer to given integer value.

func PtrInt32

func PtrInt32(v int32) *int32

PtrInt32 is a helper routine that returns a pointer to given integer value.

func PtrInt64

func PtrInt64(v int64) *int64

PtrInt64 is a helper routine that returns a pointer to given integer value.

func PtrString

func PtrString(v string) *string

PtrString is a helper routine that returns a pointer to given string value.

func PtrTime

func PtrTime(v time.Time) *time.Time

PtrTime is helper routine that returns a pointer to given Time value.

Types

type APIClient

type APIClient struct {
	DrivesApi *DrivesApiService

	DrivesGetDrivesApi *DrivesGetDrivesApiService

	DrivesRootApi *DrivesRootApiService

	GroupApi *GroupApiService

	GroupsApi *GroupsApiService

	MeChangepasswordApi *MeChangepasswordApiService

	MeDriveApi *MeDriveApiService

	MeDriveRootApi *MeDriveRootApiService

	MeDriveRootChildrenApi *MeDriveRootChildrenApiService

	MeDrivesApi *MeDrivesApiService

	MeUserApi *MeUserApiService

	UserApi *UserApiService

	UsersApi *UsersApiService
	// contains filtered or unexported fields
}

APIClient manages communication with the Libre Graph API API vv1.0.0 In most cases there should be only one, shared, APIClient.

func NewAPIClient

func NewAPIClient(cfg *Configuration) *APIClient

NewAPIClient creates a new API client. Requires a userAgent string describing your application. optionally a custom http.Client to allow for advanced features such as caching.

func (*APIClient) GetConfig

func (c *APIClient) GetConfig() *Configuration

Allow modification of underlying config for alternate implementations and testing Caution: modifying the configuration while live can cause data races and potentially unwanted behavior

type APIKey

type APIKey struct {
	Key    string
	Prefix string
}

APIKey provides API key based authentication to a request passed via context using ContextAPIKey

type APIResponse

type APIResponse struct {
	*http.Response `json:"-"`
	Message        string `json:"message,omitempty"`
	// Operation is the name of the OpenAPI operation.
	Operation string `json:"operation,omitempty"`
	// RequestURL is the request URL. This value is always available, even if the
	// embedded *http.Response is nil.
	RequestURL string `json:"url,omitempty"`
	// Method is the HTTP method used for the request.  This value is always
	// available, even if the embedded *http.Response is nil.
	Method string `json:"method,omitempty"`
	// Payload holds the contents of the response body (which may be nil or empty).
	// This is provided here as the raw response.Body() reader will have already
	// been drained.
	Payload []byte `json:"-"`
}

APIResponse stores the API response returned by the server.

func NewAPIResponse

func NewAPIResponse(r *http.Response) *APIResponse

NewAPIResponse returns a new APIResponse object.

func NewAPIResponseWithError

func NewAPIResponseWithError(errorMessage string) *APIResponse

NewAPIResponseWithError returns a new APIResponse object with the provided error message.

type ApiAddMemberRequest

type ApiAddMemberRequest struct {
	ApiService *GroupApiService
	// contains filtered or unexported fields
}

func (ApiAddMemberRequest) Execute

func (r ApiAddMemberRequest) Execute() (*http.Response, error)

func (ApiAddMemberRequest) MemberReference

func (r ApiAddMemberRequest) MemberReference(memberReference MemberReference) ApiAddMemberRequest

type ApiChangeOwnPasswordRequest added in v0.14.2

type ApiChangeOwnPasswordRequest struct {
	ApiService *MeChangepasswordApiService
	// contains filtered or unexported fields
}

func (ApiChangeOwnPasswordRequest) Execute added in v0.14.2

func (ApiChangeOwnPasswordRequest) PasswordChange added in v0.14.2

type ApiCreateDriveRequest

type ApiCreateDriveRequest struct {
	ApiService *DrivesApiService
	// contains filtered or unexported fields
}

func (ApiCreateDriveRequest) Drive

New space property values

func (ApiCreateDriveRequest) Execute

func (r ApiCreateDriveRequest) Execute() (*Drive, *http.Response, error)

type ApiCreateGroupRequest

type ApiCreateGroupRequest struct {
	ApiService *GroupsApiService
	// contains filtered or unexported fields
}

func (ApiCreateGroupRequest) Execute

func (r ApiCreateGroupRequest) Execute() (*Group, *http.Response, error)

func (ApiCreateGroupRequest) Group

New entity

type ApiCreateUserRequest

type ApiCreateUserRequest struct {
	ApiService *UsersApiService
	// contains filtered or unexported fields
}

func (ApiCreateUserRequest) Execute

func (r ApiCreateUserRequest) Execute() (*User, *http.Response, error)

func (ApiCreateUserRequest) User

New entity

type ApiDeleteDriveRequest

type ApiDeleteDriveRequest struct {
	ApiService *DrivesApiService
	// contains filtered or unexported fields
}

func (ApiDeleteDriveRequest) Execute

func (r ApiDeleteDriveRequest) Execute() (*http.Response, error)

func (ApiDeleteDriveRequest) IfMatch

ETag

type ApiDeleteGroupRequest

type ApiDeleteGroupRequest struct {
	ApiService *GroupApiService
	// contains filtered or unexported fields
}

func (ApiDeleteGroupRequest) Execute

func (r ApiDeleteGroupRequest) Execute() (*http.Response, error)

func (ApiDeleteGroupRequest) IfMatch

ETag

type ApiDeleteMemberRequest

type ApiDeleteMemberRequest struct {
	ApiService *GroupApiService
	// contains filtered or unexported fields
}

func (ApiDeleteMemberRequest) Execute

func (r ApiDeleteMemberRequest) Execute() (*http.Response, error)

func (ApiDeleteMemberRequest) IfMatch

ETag

type ApiDeleteUserRequest

type ApiDeleteUserRequest struct {
	ApiService *UserApiService
	// contains filtered or unexported fields
}

func (ApiDeleteUserRequest) Execute

func (r ApiDeleteUserRequest) Execute() (*http.Response, error)

func (ApiDeleteUserRequest) IfMatch

ETag

type ApiGetDriveRequest

type ApiGetDriveRequest struct {
	ApiService *DrivesApiService
	// contains filtered or unexported fields
}

func (ApiGetDriveRequest) Execute

func (r ApiGetDriveRequest) Execute() (*Drive, *http.Response, error)

func (ApiGetDriveRequest) Expand

func (r ApiGetDriveRequest) Expand(expand []string) ApiGetDriveRequest

Expand related entities

func (ApiGetDriveRequest) Select_

func (r ApiGetDriveRequest) Select_(select_ []string) ApiGetDriveRequest

Select properties to be returned

type ApiGetGroupRequest

type ApiGetGroupRequest struct {
	ApiService *GroupApiService
	// contains filtered or unexported fields
}

func (ApiGetGroupRequest) Execute

func (r ApiGetGroupRequest) Execute() (*Group, *http.Response, error)

func (ApiGetGroupRequest) Expand added in v0.16.0

func (r ApiGetGroupRequest) Expand(expand []string) ApiGetGroupRequest

Expand related entities

func (ApiGetGroupRequest) Select_

func (r ApiGetGroupRequest) Select_(select_ []string) ApiGetGroupRequest

Select properties to be returned

type ApiGetHomeRequest

type ApiGetHomeRequest struct {
	ApiService *MeDriveApiService
	// contains filtered or unexported fields
}

func (ApiGetHomeRequest) Execute

func (r ApiGetHomeRequest) Execute() (*Drive, *http.Response, error)

type ApiGetOwnUserRequest added in v0.17.0

type ApiGetOwnUserRequest struct {
	ApiService *MeUserApiService
	// contains filtered or unexported fields
}

func (ApiGetOwnUserRequest) Execute added in v0.17.0

func (r ApiGetOwnUserRequest) Execute() (*User, *http.Response, error)

func (ApiGetOwnUserRequest) Expand added in v0.17.0

Expand related entities

type ApiGetRootRequest

type ApiGetRootRequest struct {
	ApiService *DrivesRootApiService
	// contains filtered or unexported fields
}

func (ApiGetRootRequest) Execute

func (r ApiGetRootRequest) Execute() (*DriveItem, *http.Response, error)

type ApiGetUserRequest

type ApiGetUserRequest struct {
	ApiService *UserApiService
	// contains filtered or unexported fields
}

func (ApiGetUserRequest) Execute

func (r ApiGetUserRequest) Execute() (*User, *http.Response, error)

func (ApiGetUserRequest) Expand

func (r ApiGetUserRequest) Expand(expand []string) ApiGetUserRequest

Expand related entities

func (ApiGetUserRequest) Select_

func (r ApiGetUserRequest) Select_(select_ []string) ApiGetUserRequest

Select properties to be returned

type ApiHomeGetChildrenRequest

type ApiHomeGetChildrenRequest struct {
	ApiService *MeDriveRootChildrenApiService
	// contains filtered or unexported fields
}

func (ApiHomeGetChildrenRequest) Execute

type ApiHomeGetRootRequest

type ApiHomeGetRootRequest struct {
	ApiService *MeDriveRootApiService
	// contains filtered or unexported fields
}

func (ApiHomeGetRootRequest) Execute

type ApiListAllDrivesRequest

type ApiListAllDrivesRequest struct {
	ApiService *DrivesGetDrivesApiService
	// contains filtered or unexported fields
}

func (ApiListAllDrivesRequest) Count

Include count of items

func (ApiListAllDrivesRequest) Execute

func (ApiListAllDrivesRequest) Expand

Expand related entities

func (ApiListAllDrivesRequest) Filter

Filter items by property values

func (ApiListAllDrivesRequest) Orderby

The $orderby system query option allows clients to request resources in either ascending order using asc or descending order using desc.

func (ApiListAllDrivesRequest) Select_

Select properties to be returned

func (ApiListAllDrivesRequest) Skip

Skip the first n items

func (ApiListAllDrivesRequest) Top

Show only the first n items

type ApiListGroupsRequest

type ApiListGroupsRequest struct {
	ApiService *GroupsApiService
	// contains filtered or unexported fields
}

func (ApiListGroupsRequest) Count

Include count of items

func (ApiListGroupsRequest) Execute

func (ApiListGroupsRequest) Expand added in v0.16.0

Expand related entities

func (ApiListGroupsRequest) Filter

Filter items by property values

func (ApiListGroupsRequest) Orderby

func (r ApiListGroupsRequest) Orderby(orderby []string) ApiListGroupsRequest

Order items by property values

func (ApiListGroupsRequest) Search

Search items by search phrases

func (ApiListGroupsRequest) Select_

func (r ApiListGroupsRequest) Select_(select_ []string) ApiListGroupsRequest

Select properties to be returned

func (ApiListGroupsRequest) Skip

Skip the first n items

func (ApiListGroupsRequest) Top

Show only the first n items

type ApiListMyDrivesRequest

type ApiListMyDrivesRequest struct {
	ApiService *MeDrivesApiService
	// contains filtered or unexported fields
}

func (ApiListMyDrivesRequest) Count

Include count of items

func (ApiListMyDrivesRequest) Execute

func (ApiListMyDrivesRequest) Expand

Expand related entities

func (ApiListMyDrivesRequest) Filter

Filter items by property values

func (ApiListMyDrivesRequest) Orderby

The $orderby system query option allows clients to request resources in either ascending order using asc or descending order using desc.

func (ApiListMyDrivesRequest) Select_

Select properties to be returned

func (ApiListMyDrivesRequest) Skip

Skip the first n items

func (ApiListMyDrivesRequest) Top

Show only the first n items

type ApiListUsersRequest

type ApiListUsersRequest struct {
	ApiService *UsersApiService
	// contains filtered or unexported fields
}

func (ApiListUsersRequest) Count

Include count of items

func (ApiListUsersRequest) Execute

func (ApiListUsersRequest) Expand

func (r ApiListUsersRequest) Expand(expand []string) ApiListUsersRequest

Expand related entities

func (ApiListUsersRequest) Filter

Filter items by property values

func (ApiListUsersRequest) Orderby

func (r ApiListUsersRequest) Orderby(orderby []string) ApiListUsersRequest

Order items by property values

func (ApiListUsersRequest) Search

Search items by search phrases

func (ApiListUsersRequest) Select_

func (r ApiListUsersRequest) Select_(select_ []string) ApiListUsersRequest

Select properties to be returned

func (ApiListUsersRequest) Skip

Skip the first n items

func (ApiListUsersRequest) Top

Show only the first n items

type ApiUpdateDriveRequest

type ApiUpdateDriveRequest struct {
	ApiService *DrivesApiService
	// contains filtered or unexported fields
}

func (ApiUpdateDriveRequest) Drive

New space values

func (ApiUpdateDriveRequest) Execute

func (r ApiUpdateDriveRequest) Execute() (*Drive, *http.Response, error)

type ApiUpdateGroupRequest

type ApiUpdateGroupRequest struct {
	ApiService *GroupApiService
	// contains filtered or unexported fields
}

func (ApiUpdateGroupRequest) Execute

func (r ApiUpdateGroupRequest) Execute() (*http.Response, error)

func (ApiUpdateGroupRequest) Group

New property values

type ApiUpdateUserRequest

type ApiUpdateUserRequest struct {
	ApiService *UserApiService
	// contains filtered or unexported fields
}

func (ApiUpdateUserRequest) Execute

func (r ApiUpdateUserRequest) Execute() (*User, *http.Response, error)

func (ApiUpdateUserRequest) User

New property values

type BasicAuth

type BasicAuth struct {
	UserName string `json:"userName,omitempty"`
	Password string `json:"password,omitempty"`
}

BasicAuth provides basic http authentication to a request passed via context using ContextBasicAuth

type CollectionOfDriveItems

type CollectionOfDriveItems struct {
	Value         []DriveItem `json:"value,omitempty"`
	OdataNextLink *string     `json:"@odata.nextLink,omitempty"`
}

CollectionOfDriveItems struct for CollectionOfDriveItems

func NewCollectionOfDriveItems

func NewCollectionOfDriveItems() *CollectionOfDriveItems

NewCollectionOfDriveItems instantiates a new CollectionOfDriveItems object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewCollectionOfDriveItemsWithDefaults

func NewCollectionOfDriveItemsWithDefaults() *CollectionOfDriveItems

NewCollectionOfDriveItemsWithDefaults instantiates a new CollectionOfDriveItems object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (o *CollectionOfDriveItems) GetOdataNextLink() string

GetOdataNextLink returns the OdataNextLink field value if set, zero value otherwise.

func (*CollectionOfDriveItems) GetOdataNextLinkOk

func (o *CollectionOfDriveItems) GetOdataNextLinkOk() (*string, bool)

GetOdataNextLinkOk returns a tuple with the OdataNextLink field value if set, nil otherwise and a boolean to check if the value has been set.

func (*CollectionOfDriveItems) GetValue

func (o *CollectionOfDriveItems) GetValue() []DriveItem

GetValue returns the Value field value if set, zero value otherwise.

func (*CollectionOfDriveItems) GetValueOk

func (o *CollectionOfDriveItems) GetValueOk() ([]DriveItem, bool)

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 *CollectionOfDriveItems) HasOdataNextLink() bool

HasOdataNextLink returns a boolean if a field has been set.

func (*CollectionOfDriveItems) HasValue

func (o *CollectionOfDriveItems) HasValue() bool

HasValue returns a boolean if a field has been set.

func (CollectionOfDriveItems) MarshalJSON

func (o CollectionOfDriveItems) MarshalJSON() ([]byte, error)
func (o *CollectionOfDriveItems) SetOdataNextLink(v string)

SetOdataNextLink gets a reference to the given string and assigns it to the OdataNextLink field.

func (*CollectionOfDriveItems) SetValue

func (o *CollectionOfDriveItems) SetValue(v []DriveItem)

SetValue gets a reference to the given []DriveItem and assigns it to the Value field.

type CollectionOfDrives

type CollectionOfDrives struct {
	Value         []Drive `json:"value,omitempty"`
	OdataNextLink *string `json:"@odata.nextLink,omitempty"`
}

CollectionOfDrives struct for CollectionOfDrives

func NewCollectionOfDrives

func NewCollectionOfDrives() *CollectionOfDrives

NewCollectionOfDrives instantiates a new CollectionOfDrives object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewCollectionOfDrivesWithDefaults

func NewCollectionOfDrivesWithDefaults() *CollectionOfDrives

NewCollectionOfDrivesWithDefaults instantiates a new CollectionOfDrives object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (o *CollectionOfDrives) GetOdataNextLink() string

GetOdataNextLink returns the OdataNextLink field value if set, zero value otherwise.

func (*CollectionOfDrives) GetOdataNextLinkOk

func (o *CollectionOfDrives) GetOdataNextLinkOk() (*string, bool)

GetOdataNextLinkOk returns a tuple with the OdataNextLink field value if set, nil otherwise and a boolean to check if the value has been set.

func (*CollectionOfDrives) GetValue

func (o *CollectionOfDrives) GetValue() []Drive

GetValue returns the Value field value if set, zero value otherwise.

func (*CollectionOfDrives) GetValueOk

func (o *CollectionOfDrives) GetValueOk() ([]Drive, bool)

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 *CollectionOfDrives) HasOdataNextLink() bool

HasOdataNextLink returns a boolean if a field has been set.

func (*CollectionOfDrives) HasValue

func (o *CollectionOfDrives) HasValue() bool

HasValue returns a boolean if a field has been set.

func (CollectionOfDrives) MarshalJSON

func (o CollectionOfDrives) MarshalJSON() ([]byte, error)
func (o *CollectionOfDrives) SetOdataNextLink(v string)

SetOdataNextLink gets a reference to the given string and assigns it to the OdataNextLink field.

func (*CollectionOfDrives) SetValue

func (o *CollectionOfDrives) SetValue(v []Drive)

SetValue gets a reference to the given []Drive and assigns it to the Value field.

type CollectionOfGroup

type CollectionOfGroup struct {
	Value         []Group `json:"value,omitempty"`
	OdataNextLink *string `json:"@odata.nextLink,omitempty"`
}

CollectionOfGroup struct for CollectionOfGroup

func NewCollectionOfGroup

func NewCollectionOfGroup() *CollectionOfGroup

NewCollectionOfGroup instantiates a new CollectionOfGroup object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewCollectionOfGroupWithDefaults

func NewCollectionOfGroupWithDefaults() *CollectionOfGroup

NewCollectionOfGroupWithDefaults instantiates a new CollectionOfGroup object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (o *CollectionOfGroup) GetOdataNextLink() string

GetOdataNextLink returns the OdataNextLink field value if set, zero value otherwise.

func (*CollectionOfGroup) GetOdataNextLinkOk

func (o *CollectionOfGroup) GetOdataNextLinkOk() (*string, bool)

GetOdataNextLinkOk returns a tuple with the OdataNextLink field value if set, nil otherwise and a boolean to check if the value has been set.

func (*CollectionOfGroup) GetValue

func (o *CollectionOfGroup) GetValue() []Group

GetValue returns the Value field value if set, zero value otherwise.

func (*CollectionOfGroup) GetValueOk

func (o *CollectionOfGroup) GetValueOk() ([]Group, bool)

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 *CollectionOfGroup) HasOdataNextLink() bool

HasOdataNextLink returns a boolean if a field has been set.

func (*CollectionOfGroup) HasValue

func (o *CollectionOfGroup) HasValue() bool

HasValue returns a boolean if a field has been set.

func (CollectionOfGroup) MarshalJSON

func (o CollectionOfGroup) MarshalJSON() ([]byte, error)
func (o *CollectionOfGroup) SetOdataNextLink(v string)

SetOdataNextLink gets a reference to the given string and assigns it to the OdataNextLink field.

func (*CollectionOfGroup) SetValue

func (o *CollectionOfGroup) SetValue(v []Group)

SetValue gets a reference to the given []Group and assigns it to the Value field.

type CollectionOfUser

type CollectionOfUser struct {
	Value         []User  `json:"value,omitempty"`
	OdataNextLink *string `json:"@odata.nextLink,omitempty"`
}

CollectionOfUser struct for CollectionOfUser

func NewCollectionOfUser

func NewCollectionOfUser() *CollectionOfUser

NewCollectionOfUser instantiates a new CollectionOfUser object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewCollectionOfUserWithDefaults

func NewCollectionOfUserWithDefaults() *CollectionOfUser

NewCollectionOfUserWithDefaults instantiates a new CollectionOfUser object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (o *CollectionOfUser) GetOdataNextLink() string

GetOdataNextLink returns the OdataNextLink field value if set, zero value otherwise.

func (*CollectionOfUser) GetOdataNextLinkOk

func (o *CollectionOfUser) GetOdataNextLinkOk() (*string, bool)

GetOdataNextLinkOk returns a tuple with the OdataNextLink field value if set, nil otherwise and a boolean to check if the value has been set.

func (*CollectionOfUser) GetValue

func (o *CollectionOfUser) GetValue() []User

GetValue returns the Value field value if set, zero value otherwise.

func (*CollectionOfUser) GetValueOk

func (o *CollectionOfUser) GetValueOk() ([]User, bool)

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 *CollectionOfUser) HasOdataNextLink() bool

HasOdataNextLink returns a boolean if a field has been set.

func (*CollectionOfUser) HasValue

func (o *CollectionOfUser) HasValue() bool

HasValue returns a boolean if a field has been set.

func (CollectionOfUser) MarshalJSON

func (o CollectionOfUser) MarshalJSON() ([]byte, error)
func (o *CollectionOfUser) SetOdataNextLink(v string)

SetOdataNextLink gets a reference to the given string and assigns it to the OdataNextLink field.

func (*CollectionOfUser) SetValue

func (o *CollectionOfUser) SetValue(v []User)

SetValue gets a reference to the given []User and assigns it to the Value field.

type Configuration

type Configuration struct {
	Host             string            `json:"host,omitempty"`
	Scheme           string            `json:"scheme,omitempty"`
	DefaultHeader    map[string]string `json:"defaultHeader,omitempty"`
	UserAgent        string            `json:"userAgent,omitempty"`
	Debug            bool              `json:"debug,omitempty"`
	Servers          ServerConfigurations
	OperationServers map[string]ServerConfigurations
	HTTPClient       *http.Client
}

Configuration stores the configuration of the API client

func NewConfiguration

func NewConfiguration() *Configuration

NewConfiguration returns a new Configuration object

func (*Configuration) AddDefaultHeader

func (c *Configuration) AddDefaultHeader(key string, value string)

AddDefaultHeader adds a new HTTP header to the default header in the request

func (*Configuration) ServerURL

func (c *Configuration) ServerURL(index int, variables map[string]string) (string, error)

ServerURL returns URL based on server settings

func (*Configuration) ServerURLWithContext

func (c *Configuration) ServerURLWithContext(ctx context.Context, endpoint string) (string, error)

ServerURLWithContext returns a new server URL given an endpoint

type Deleted

type Deleted struct {
	// Represents the state of the deleted item.
	State *string `json:"state,omitempty"`
}

Deleted Information about the deleted state of the item. Read-only.

func NewDeleted

func NewDeleted() *Deleted

NewDeleted instantiates a new Deleted object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewDeletedWithDefaults

func NewDeletedWithDefaults() *Deleted

NewDeletedWithDefaults instantiates a new Deleted object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*Deleted) GetState

func (o *Deleted) GetState() string

GetState returns the State field value if set, zero value otherwise.

func (*Deleted) GetStateOk

func (o *Deleted) GetStateOk() (*string, bool)

GetStateOk returns a tuple with the State field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Deleted) HasState

func (o *Deleted) HasState() bool

HasState returns a boolean if a field has been set.

func (Deleted) MarshalJSON

func (o Deleted) MarshalJSON() ([]byte, error)

func (*Deleted) SetState

func (o *Deleted) SetState(v string)

SetState gets a reference to the given string and assigns it to the State field.

type DirectoryObject

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.
	Id              *string    `json:"id,omitempty"`
	DeletedDateTime *time.Time `json:"deletedDateTime,omitempty"`
}

DirectoryObject Represents a Directory object. Read-only.

func NewDirectoryObject

func NewDirectoryObject() *DirectoryObject

NewDirectoryObject instantiates a new DirectoryObject object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewDirectoryObjectWithDefaults

func NewDirectoryObjectWithDefaults() *DirectoryObject

NewDirectoryObjectWithDefaults instantiates a new DirectoryObject object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*DirectoryObject) GetDeletedDateTime

func (o *DirectoryObject) GetDeletedDateTime() time.Time

GetDeletedDateTime returns the DeletedDateTime field value if set, zero value otherwise.

func (*DirectoryObject) GetDeletedDateTimeOk

func (o *DirectoryObject) GetDeletedDateTimeOk() (*time.Time, bool)

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 (*DirectoryObject) GetId

func (o *DirectoryObject) GetId() string

GetId returns the Id field value if set, zero value otherwise.

func (*DirectoryObject) GetIdOk

func (o *DirectoryObject) GetIdOk() (*string, bool)

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 (*DirectoryObject) HasDeletedDateTime

func (o *DirectoryObject) HasDeletedDateTime() bool

HasDeletedDateTime returns a boolean if a field has been set.

func (*DirectoryObject) HasId

func (o *DirectoryObject) HasId() bool

HasId returns a boolean if a field has been set.

func (DirectoryObject) MarshalJSON

func (o DirectoryObject) MarshalJSON() ([]byte, error)

func (*DirectoryObject) SetDeletedDateTime

func (o *DirectoryObject) SetDeletedDateTime(v time.Time)

SetDeletedDateTime gets a reference to the given time.Time and assigns it to the DeletedDateTime field.

func (*DirectoryObject) SetId

func (o *DirectoryObject) SetId(v string)

SetId gets a reference to the given string and assigns it to the Id field.

type Drive

type Drive struct {
	// Read-only.
	Id        *string      `json:"id,omitempty"`
	CreatedBy *IdentitySet `json:"createdBy,omitempty"`
	// Date and time of item creation. Read-only.
	CreatedDateTime *time.Time `json:"createdDateTime,omitempty"`
	// Provides a user-visible description of the item. Optional.
	Description *string `json:"description,omitempty"`
	// ETag for the item. Read-only.
	ETag           *string      `json:"eTag,omitempty"`
	LastModifiedBy *IdentitySet `json:"lastModifiedBy,omitempty"`
	// Date and time the item was last modified. Read-only.
	LastModifiedDateTime *time.Time `json:"lastModifiedDateTime,omitempty"`
	// The name of the item. Read-write.
	Name            *string        `json:"name,omitempty"`
	ParentReference *ItemReference `json:"parentReference,omitempty"`
	// URL that displays the resource in the browser. Read-only.
	WebUrl             *string `json:"webUrl,omitempty"`
	CreatedByUser      *User   `json:"createdByUser,omitempty"`
	LastModifiedByUser *User   `json:"lastModifiedByUser,omitempty"`
	// Describes the type of drive represented by this resource. Values are \"personal\" for users home spaces, \"project\", \"virtual\" or \"share\". Read-only.
	DriveType *string `json:"driveType,omitempty"`
	// The drive alias can be used in clients to make the urls user friendly. Example: 'personal/einstein'. This will be used to resolve to the correct driveID.
	DriveAlias *string      `json:"driveAlias,omitempty"`
	Owner      *IdentitySet `json:"owner,omitempty"`
	Quota      *Quota       `json:"quota,omitempty"`
	// All items contained in the drive. Read-only. Nullable.
	Items []DriveItem `json:"items,omitempty"`
	Root  *DriveItem  `json:"root,omitempty"`
	// A collection of special drive resources.
	Special []DriveItem `json:"special,omitempty"`
}

Drive Storage Space. Read-only.

func NewDrive

func NewDrive() *Drive

NewDrive instantiates a new Drive object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewDriveWithDefaults

func NewDriveWithDefaults() *Drive

NewDriveWithDefaults instantiates a new Drive object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*Drive) GetCreatedBy

func (o *Drive) GetCreatedBy() IdentitySet

GetCreatedBy returns the CreatedBy field value if set, zero value otherwise.

func (*Drive) GetCreatedByOk

func (o *Drive) GetCreatedByOk() (*IdentitySet, bool)

GetCreatedByOk returns a tuple with the CreatedBy field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Drive) GetCreatedByUser

func (o *Drive) GetCreatedByUser() User

GetCreatedByUser returns the CreatedByUser field value if set, zero value otherwise.

func (*Drive) GetCreatedByUserOk

func (o *Drive) GetCreatedByUserOk() (*User, bool)

GetCreatedByUserOk returns a tuple with the CreatedByUser field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Drive) GetCreatedDateTime

func (o *Drive) GetCreatedDateTime() time.Time

GetCreatedDateTime returns the CreatedDateTime field value if set, zero value otherwise.

func (*Drive) GetCreatedDateTimeOk

func (o *Drive) GetCreatedDateTimeOk() (*time.Time, bool)

GetCreatedDateTimeOk returns a tuple with the CreatedDateTime field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Drive) GetDescription

func (o *Drive) GetDescription() string

GetDescription returns the Description field value if set, zero value otherwise.

func (*Drive) GetDescriptionOk

func (o *Drive) GetDescriptionOk() (*string, bool)

GetDescriptionOk returns a tuple with the Description field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Drive) GetDriveAlias

func (o *Drive) GetDriveAlias() string

GetDriveAlias returns the DriveAlias field value if set, zero value otherwise.

func (*Drive) GetDriveAliasOk

func (o *Drive) GetDriveAliasOk() (*string, bool)

GetDriveAliasOk returns a tuple with the DriveAlias field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Drive) GetDriveType

func (o *Drive) GetDriveType() string

GetDriveType returns the DriveType field value if set, zero value otherwise.

func (*Drive) GetDriveTypeOk

func (o *Drive) GetDriveTypeOk() (*string, bool)

GetDriveTypeOk returns a tuple with the DriveType field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Drive) GetETag

func (o *Drive) GetETag() string

GetETag returns the ETag field value if set, zero value otherwise.

func (*Drive) GetETagOk

func (o *Drive) GetETagOk() (*string, bool)

GetETagOk returns a tuple with the ETag field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Drive) GetId

func (o *Drive) GetId() string

GetId returns the Id field value if set, zero value otherwise.

func (*Drive) GetIdOk

func (o *Drive) GetIdOk() (*string, bool)

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 (*Drive) GetItems

func (o *Drive) GetItems() []DriveItem

GetItems returns the Items field value if set, zero value otherwise.

func (*Drive) GetItemsOk

func (o *Drive) GetItemsOk() ([]DriveItem, bool)

GetItemsOk returns a tuple with the Items field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Drive) GetLastModifiedBy

func (o *Drive) GetLastModifiedBy() IdentitySet

GetLastModifiedBy returns the LastModifiedBy field value if set, zero value otherwise.

func (*Drive) GetLastModifiedByOk

func (o *Drive) GetLastModifiedByOk() (*IdentitySet, bool)

GetLastModifiedByOk returns a tuple with the LastModifiedBy field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Drive) GetLastModifiedByUser

func (o *Drive) GetLastModifiedByUser() User

GetLastModifiedByUser returns the LastModifiedByUser field value if set, zero value otherwise.

func (*Drive) GetLastModifiedByUserOk

func (o *Drive) GetLastModifiedByUserOk() (*User, bool)

GetLastModifiedByUserOk returns a tuple with the LastModifiedByUser field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Drive) GetLastModifiedDateTime

func (o *Drive) GetLastModifiedDateTime() time.Time

GetLastModifiedDateTime returns the LastModifiedDateTime field value if set, zero value otherwise.

func (*Drive) GetLastModifiedDateTimeOk

func (o *Drive) GetLastModifiedDateTimeOk() (*time.Time, bool)

GetLastModifiedDateTimeOk returns a tuple with the LastModifiedDateTime field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Drive) GetName

func (o *Drive) GetName() string

GetName returns the Name field value if set, zero value otherwise.

func (*Drive) GetNameOk

func (o *Drive) GetNameOk() (*string, bool)

GetNameOk returns a tuple with the Name field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Drive) GetOwner

func (o *Drive) GetOwner() IdentitySet

GetOwner returns the Owner field value if set, zero value otherwise.

func (*Drive) GetOwnerOk

func (o *Drive) GetOwnerOk() (*IdentitySet, bool)

GetOwnerOk returns a tuple with the Owner field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Drive) GetParentReference

func (o *Drive) GetParentReference() ItemReference

GetParentReference returns the ParentReference field value if set, zero value otherwise.

func (*Drive) GetParentReferenceOk

func (o *Drive) GetParentReferenceOk() (*ItemReference, bool)

GetParentReferenceOk returns a tuple with the ParentReference field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Drive) GetQuota

func (o *Drive) GetQuota() Quota

GetQuota returns the Quota field value if set, zero value otherwise.

func (*Drive) GetQuotaOk

func (o *Drive) GetQuotaOk() (*Quota, bool)

GetQuotaOk returns a tuple with the Quota field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Drive) GetRoot

func (o *Drive) GetRoot() DriveItem

GetRoot returns the Root field value if set, zero value otherwise.

func (*Drive) GetRootOk

func (o *Drive) GetRootOk() (*DriveItem, bool)

GetRootOk returns a tuple with the Root field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Drive) GetSpecial

func (o *Drive) GetSpecial() []DriveItem

GetSpecial returns the Special field value if set, zero value otherwise.

func (*Drive) GetSpecialOk

func (o *Drive) GetSpecialOk() ([]DriveItem, bool)

GetSpecialOk returns a tuple with the Special field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Drive) GetWebUrl

func (o *Drive) GetWebUrl() string

GetWebUrl returns the WebUrl field value if set, zero value otherwise.

func (*Drive) GetWebUrlOk

func (o *Drive) GetWebUrlOk() (*string, bool)

GetWebUrlOk returns a tuple with the WebUrl field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Drive) HasCreatedBy

func (o *Drive) HasCreatedBy() bool

HasCreatedBy returns a boolean if a field has been set.

func (*Drive) HasCreatedByUser

func (o *Drive) HasCreatedByUser() bool

HasCreatedByUser returns a boolean if a field has been set.

func (*Drive) HasCreatedDateTime

func (o *Drive) HasCreatedDateTime() bool

HasCreatedDateTime returns a boolean if a field has been set.

func (*Drive) HasDescription

func (o *Drive) HasDescription() bool

HasDescription returns a boolean if a field has been set.

func (*Drive) HasDriveAlias

func (o *Drive) HasDriveAlias() bool

HasDriveAlias returns a boolean if a field has been set.

func (*Drive) HasDriveType

func (o *Drive) HasDriveType() bool

HasDriveType returns a boolean if a field has been set.

func (*Drive) HasETag

func (o *Drive) HasETag() bool

HasETag returns a boolean if a field has been set.

func (*Drive) HasId

func (o *Drive) HasId() bool

HasId returns a boolean if a field has been set.

func (*Drive) HasItems

func (o *Drive) HasItems() bool

HasItems returns a boolean if a field has been set.

func (*Drive) HasLastModifiedBy

func (o *Drive) HasLastModifiedBy() bool

HasLastModifiedBy returns a boolean if a field has been set.

func (*Drive) HasLastModifiedByUser

func (o *Drive) HasLastModifiedByUser() bool

HasLastModifiedByUser returns a boolean if a field has been set.

func (*Drive) HasLastModifiedDateTime

func (o *Drive) HasLastModifiedDateTime() bool

HasLastModifiedDateTime returns a boolean if a field has been set.

func (*Drive) HasName

func (o *Drive) HasName() bool

HasName returns a boolean if a field has been set.

func (*Drive) HasOwner

func (o *Drive) HasOwner() bool

HasOwner returns a boolean if a field has been set.

func (*Drive) HasParentReference

func (o *Drive) HasParentReference() bool

HasParentReference returns a boolean if a field has been set.

func (*Drive) HasQuota

func (o *Drive) HasQuota() bool

HasQuota returns a boolean if a field has been set.

func (*Drive) HasRoot

func (o *Drive) HasRoot() bool

HasRoot returns a boolean if a field has been set.

func (*Drive) HasSpecial

func (o *Drive) HasSpecial() bool

HasSpecial returns a boolean if a field has been set.

func (*Drive) HasWebUrl

func (o *Drive) HasWebUrl() bool

HasWebUrl returns a boolean if a field has been set.

func (Drive) MarshalJSON

func (o Drive) MarshalJSON() ([]byte, error)

func (*Drive) SetCreatedBy

func (o *Drive) SetCreatedBy(v IdentitySet)

SetCreatedBy gets a reference to the given IdentitySet and assigns it to the CreatedBy field.

func (*Drive) SetCreatedByUser

func (o *Drive) SetCreatedByUser(v User)

SetCreatedByUser gets a reference to the given User and assigns it to the CreatedByUser field.

func (*Drive) SetCreatedDateTime

func (o *Drive) SetCreatedDateTime(v time.Time)

SetCreatedDateTime gets a reference to the given time.Time and assigns it to the CreatedDateTime field.

func (*Drive) SetDescription

func (o *Drive) SetDescription(v string)

SetDescription gets a reference to the given string and assigns it to the Description field.

func (*Drive) SetDriveAlias

func (o *Drive) SetDriveAlias(v string)

SetDriveAlias gets a reference to the given string and assigns it to the DriveAlias field.

func (*Drive) SetDriveType

func (o *Drive) SetDriveType(v string)

SetDriveType gets a reference to the given string and assigns it to the DriveType field.

func (*Drive) SetETag

func (o *Drive) SetETag(v string)

SetETag gets a reference to the given string and assigns it to the ETag field.

func (*Drive) SetId

func (o *Drive) SetId(v string)

SetId gets a reference to the given string and assigns it to the Id field.

func (*Drive) SetItems

func (o *Drive) SetItems(v []DriveItem)

SetItems gets a reference to the given []DriveItem and assigns it to the Items field.

func (*Drive) SetLastModifiedBy

func (o *Drive) SetLastModifiedBy(v IdentitySet)

SetLastModifiedBy gets a reference to the given IdentitySet and assigns it to the LastModifiedBy field.

func (*Drive) SetLastModifiedByUser

func (o *Drive) SetLastModifiedByUser(v User)

SetLastModifiedByUser gets a reference to the given User and assigns it to the LastModifiedByUser field.

func (*Drive) SetLastModifiedDateTime

func (o *Drive) SetLastModifiedDateTime(v time.Time)

SetLastModifiedDateTime gets a reference to the given time.Time and assigns it to the LastModifiedDateTime field.

func (*Drive) SetName

func (o *Drive) SetName(v string)

SetName gets a reference to the given string and assigns it to the Name field.

func (*Drive) SetOwner

func (o *Drive) SetOwner(v IdentitySet)

SetOwner gets a reference to the given IdentitySet and assigns it to the Owner field.

func (*Drive) SetParentReference

func (o *Drive) SetParentReference(v ItemReference)

SetParentReference gets a reference to the given ItemReference and assigns it to the ParentReference field.

func (*Drive) SetQuota

func (o *Drive) SetQuota(v Quota)

SetQuota gets a reference to the given Quota and assigns it to the Quota field.

func (*Drive) SetRoot

func (o *Drive) SetRoot(v DriveItem)

SetRoot gets a reference to the given DriveItem and assigns it to the Root field.

func (*Drive) SetSpecial

func (o *Drive) SetSpecial(v []DriveItem)

SetSpecial gets a reference to the given []DriveItem and assigns it to the Special field.

func (*Drive) SetWebUrl

func (o *Drive) SetWebUrl(v string)

SetWebUrl gets a reference to the given string and assigns it to the WebUrl field.

type DriveItem

type DriveItem struct {
	// Read-only.
	Id        *string      `json:"id,omitempty"`
	CreatedBy *IdentitySet `json:"createdBy,omitempty"`
	// Date and time of item creation. Read-only.
	CreatedDateTime *time.Time `json:"createdDateTime,omitempty"`
	// Provides a user-visible description of the item. Optional.
	Description *string `json:"description,omitempty"`
	// ETag for the item. Read-only.
	ETag           *string      `json:"eTag,omitempty"`
	LastModifiedBy *IdentitySet `json:"lastModifiedBy,omitempty"`
	// Date and time the item was last modified. Read-only.
	LastModifiedDateTime *time.Time `json:"lastModifiedDateTime,omitempty"`
	// The name of the item. Read-write.
	Name            *string        `json:"name,omitempty"`
	ParentReference *ItemReference `json:"parentReference,omitempty"`
	// URL that displays the resource in the browser. Read-only.
	WebUrl             *string `json:"webUrl,omitempty"`
	CreatedByUser      *User   `json:"createdByUser,omitempty"`
	LastModifiedByUser *User   `json:"lastModifiedByUser,omitempty"`
	// The content stream, if the item represents a file.
	Content *string `json:"content,omitempty"`
	// An eTag for the content of the item. This eTag is not changed if only the metadata is changed. Note This property is not returned if the item is a folder. Read-only.
	CTag           *string         `json:"cTag,omitempty"`
	Deleted        *Deleted        `json:"deleted,omitempty"`
	File           *OpenGraphFile  `json:"file,omitempty"`
	FileSystemInfo *FileSystemInfo `json:"fileSystemInfo,omitempty"`
	Folder         *Folder         `json:"folder,omitempty"`
	Image          *Image          `json:"image,omitempty"`
	// If this property is non-null, it indicates that the driveItem is the top-most driveItem in the drive.
	Root          map[string]interface{} `json:"root,omitempty"`
	Trash         *Trash                 `json:"trash,omitempty"`
	SpecialFolder *SpecialFolder         `json:"specialFolder,omitempty"`
	RemoteItem    *RemoteItem            `json:"remoteItem,omitempty"`
	// Size of the item in bytes. Read-only.
	Size *int64 `json:"size,omitempty"`
	// WebDAV compatible URL for the item. Read-only.
	WebDavUrl *string `json:"webDavUrl,omitempty"`
	// Collection containing Item objects for the immediate children of Item. Only items representing folders have children. Read-only. Nullable.
	Children []DriveItem `json:"children,omitempty"`
	// The set of permissions for the item. Read-only. Nullable.
	Permissions []Permission `json:"permissions,omitempty"`
}

DriveItem Reprensents a resource inside a drive. Read-only.

func NewDriveItem

func NewDriveItem() *DriveItem

NewDriveItem instantiates a new DriveItem object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewDriveItemWithDefaults

func NewDriveItemWithDefaults() *DriveItem

NewDriveItemWithDefaults instantiates a new DriveItem object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*DriveItem) GetCTag

func (o *DriveItem) GetCTag() string

GetCTag returns the CTag field value if set, zero value otherwise.

func (*DriveItem) GetCTagOk

func (o *DriveItem) GetCTagOk() (*string, bool)

GetCTagOk returns a tuple with the CTag field value if set, nil otherwise and a boolean to check if the value has been set.

func (*DriveItem) GetChildren

func (o *DriveItem) GetChildren() []DriveItem

GetChildren returns the Children field value if set, zero value otherwise.

func (*DriveItem) GetChildrenOk

func (o *DriveItem) GetChildrenOk() ([]DriveItem, bool)

GetChildrenOk returns a tuple with the Children field value if set, nil otherwise and a boolean to check if the value has been set.

func (*DriveItem) GetContent

func (o *DriveItem) GetContent() string

GetContent returns the Content field value if set, zero value otherwise.

func (*DriveItem) GetContentOk

func (o *DriveItem) GetContentOk() (*string, bool)

GetContentOk returns a tuple with the Content field value if set, nil otherwise and a boolean to check if the value has been set.

func (*DriveItem) GetCreatedBy

func (o *DriveItem) GetCreatedBy() IdentitySet

GetCreatedBy returns the CreatedBy field value if set, zero value otherwise.

func (*DriveItem) GetCreatedByOk

func (o *DriveItem) GetCreatedByOk() (*IdentitySet, bool)

GetCreatedByOk returns a tuple with the CreatedBy field value if set, nil otherwise and a boolean to check if the value has been set.

func (*DriveItem) GetCreatedByUser

func (o *DriveItem) GetCreatedByUser() User

GetCreatedByUser returns the CreatedByUser field value if set, zero value otherwise.

func (*DriveItem) GetCreatedByUserOk

func (o *DriveItem) GetCreatedByUserOk() (*User, bool)

GetCreatedByUserOk returns a tuple with the CreatedByUser field value if set, nil otherwise and a boolean to check if the value has been set.

func (*DriveItem) GetCreatedDateTime

func (o *DriveItem) GetCreatedDateTime() time.Time

GetCreatedDateTime returns the CreatedDateTime field value if set, zero value otherwise.

func (*DriveItem) GetCreatedDateTimeOk

func (o *DriveItem) GetCreatedDateTimeOk() (*time.Time, bool)

GetCreatedDateTimeOk returns a tuple with the CreatedDateTime field value if set, nil otherwise and a boolean to check if the value has been set.

func (*DriveItem) GetDeleted

func (o *DriveItem) GetDeleted() Deleted

GetDeleted returns the Deleted field value if set, zero value otherwise.

func (*DriveItem) GetDeletedOk

func (o *DriveItem) GetDeletedOk() (*Deleted, bool)

GetDeletedOk returns a tuple with the Deleted field value if set, nil otherwise and a boolean to check if the value has been set.

func (*DriveItem) GetDescription

func (o *DriveItem) GetDescription() string

GetDescription returns the Description field value if set, zero value otherwise.

func (*DriveItem) GetDescriptionOk

func (o *DriveItem) GetDescriptionOk() (*string, bool)

GetDescriptionOk returns a tuple with the Description field value if set, nil otherwise and a boolean to check if the value has been set.

func (*DriveItem) GetETag

func (o *DriveItem) GetETag() string

GetETag returns the ETag field value if set, zero value otherwise.

func (*DriveItem) GetETagOk

func (o *DriveItem) GetETagOk() (*string, bool)

GetETagOk returns a tuple with the ETag field value if set, nil otherwise and a boolean to check if the value has been set.

func (*DriveItem) GetFile

func (o *DriveItem) GetFile() OpenGraphFile

GetFile returns the File field value if set, zero value otherwise.

func (*DriveItem) GetFileOk

func (o *DriveItem) GetFileOk() (*OpenGraphFile, bool)

GetFileOk returns a tuple with the File field value if set, nil otherwise and a boolean to check if the value has been set.

func (*DriveItem) GetFileSystemInfo

func (o *DriveItem) GetFileSystemInfo() FileSystemInfo

GetFileSystemInfo returns the FileSystemInfo field value if set, zero value otherwise.

func (*DriveItem) GetFileSystemInfoOk

func (o *DriveItem) GetFileSystemInfoOk() (*FileSystemInfo, bool)

GetFileSystemInfoOk returns a tuple with the FileSystemInfo field value if set, nil otherwise and a boolean to check if the value has been set.

func (*DriveItem) GetFolder

func (o *DriveItem) GetFolder() Folder

GetFolder returns the Folder field value if set, zero value otherwise.

func (*DriveItem) GetFolderOk

func (o *DriveItem) GetFolderOk() (*Folder, bool)

GetFolderOk returns a tuple with the Folder field value if set, nil otherwise and a boolean to check if the value has been set.

func (*DriveItem) GetId

func (o *DriveItem) GetId() string

GetId returns the Id field value if set, zero value otherwise.

func (*DriveItem) GetIdOk

func (o *DriveItem) GetIdOk() (*string, bool)

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 (*DriveItem) GetImage

func (o *DriveItem) GetImage() Image

GetImage returns the Image field value if set, zero value otherwise.

func (*DriveItem) GetImageOk

func (o *DriveItem) GetImageOk() (*Image, bool)

GetImageOk returns a tuple with the Image field value if set, nil otherwise and a boolean to check if the value has been set.

func (*DriveItem) GetLastModifiedBy

func (o *DriveItem) GetLastModifiedBy() IdentitySet

GetLastModifiedBy returns the LastModifiedBy field value if set, zero value otherwise.

func (*DriveItem) GetLastModifiedByOk

func (o *DriveItem) GetLastModifiedByOk() (*IdentitySet, bool)

GetLastModifiedByOk returns a tuple with the LastModifiedBy field value if set, nil otherwise and a boolean to check if the value has been set.

func (*DriveItem) GetLastModifiedByUser

func (o *DriveItem) GetLastModifiedByUser() User

GetLastModifiedByUser returns the LastModifiedByUser field value if set, zero value otherwise.

func (*DriveItem) GetLastModifiedByUserOk

func (o *DriveItem) GetLastModifiedByUserOk() (*User, bool)

GetLastModifiedByUserOk returns a tuple with the LastModifiedByUser field value if set, nil otherwise and a boolean to check if the value has been set.

func (*DriveItem) GetLastModifiedDateTime

func (o *DriveItem) GetLastModifiedDateTime() time.Time

GetLastModifiedDateTime returns the LastModifiedDateTime field value if set, zero value otherwise.

func (*DriveItem) GetLastModifiedDateTimeOk

func (o *DriveItem) GetLastModifiedDateTimeOk() (*time.Time, bool)

GetLastModifiedDateTimeOk returns a tuple with the LastModifiedDateTime field value if set, nil otherwise and a boolean to check if the value has been set.

func (*DriveItem) GetName

func (o *DriveItem) GetName() string

GetName returns the Name field value if set, zero value otherwise.

func (*DriveItem) GetNameOk

func (o *DriveItem) GetNameOk() (*string, bool)

GetNameOk returns a tuple with the Name field value if set, nil otherwise and a boolean to check if the value has been set.

func (*DriveItem) GetParentReference

func (o *DriveItem) GetParentReference() ItemReference

GetParentReference returns the ParentReference field value if set, zero value otherwise.

func (*DriveItem) GetParentReferenceOk

func (o *DriveItem) GetParentReferenceOk() (*ItemReference, bool)

GetParentReferenceOk returns a tuple with the ParentReference field value if set, nil otherwise and a boolean to check if the value has been set.

func (*DriveItem) GetPermissions

func (o *DriveItem) GetPermissions() []Permission

GetPermissions returns the Permissions field value if set, zero value otherwise.

func (*DriveItem) GetPermissionsOk

func (o *DriveItem) GetPermissionsOk() ([]Permission, bool)

GetPermissionsOk returns a tuple with the Permissions field value if set, nil otherwise and a boolean to check if the value has been set.

func (*DriveItem) GetRemoteItem

func (o *DriveItem) GetRemoteItem() RemoteItem

GetRemoteItem returns the RemoteItem field value if set, zero value otherwise.

func (*DriveItem) GetRemoteItemOk

func (o *DriveItem) GetRemoteItemOk() (*RemoteItem, bool)

GetRemoteItemOk returns a tuple with the RemoteItem field value if set, nil otherwise and a boolean to check if the value has been set.

func (*DriveItem) GetRoot

func (o *DriveItem) GetRoot() map[string]interface{}

GetRoot returns the Root field value if set, zero value otherwise.

func (*DriveItem) GetRootOk

func (o *DriveItem) GetRootOk() (map[string]interface{}, bool)

GetRootOk returns a tuple with the Root field value if set, nil otherwise and a boolean to check if the value has been set.

func (*DriveItem) GetSize

func (o *DriveItem) GetSize() int64

GetSize returns the Size field value if set, zero value otherwise.

func (*DriveItem) GetSizeOk

func (o *DriveItem) GetSizeOk() (*int64, bool)

GetSizeOk returns a tuple with the Size field value if set, nil otherwise and a boolean to check if the value has been set.

func (*DriveItem) GetSpecialFolder

func (o *DriveItem) GetSpecialFolder() SpecialFolder

GetSpecialFolder returns the SpecialFolder field value if set, zero value otherwise.

func (*DriveItem) GetSpecialFolderOk

func (o *DriveItem) GetSpecialFolderOk() (*SpecialFolder, bool)

GetSpecialFolderOk returns a tuple with the SpecialFolder field value if set, nil otherwise and a boolean to check if the value has been set.

func (*DriveItem) GetTrash

func (o *DriveItem) GetTrash() Trash

GetTrash returns the Trash field value if set, zero value otherwise.

func (*DriveItem) GetTrashOk

func (o *DriveItem) GetTrashOk() (*Trash, bool)

GetTrashOk returns a tuple with the Trash field value if set, nil otherwise and a boolean to check if the value has been set.

func (*DriveItem) GetWebDavUrl

func (o *DriveItem) GetWebDavUrl() string

GetWebDavUrl returns the WebDavUrl field value if set, zero value otherwise.

func (*DriveItem) GetWebDavUrlOk

func (o *DriveItem) GetWebDavUrlOk() (*string, bool)

GetWebDavUrlOk returns a tuple with the WebDavUrl field value if set, nil otherwise and a boolean to check if the value has been set.

func (*DriveItem) GetWebUrl

func (o *DriveItem) GetWebUrl() string

GetWebUrl returns the WebUrl field value if set, zero value otherwise.

func (*DriveItem) GetWebUrlOk

func (o *DriveItem) GetWebUrlOk() (*string, bool)

GetWebUrlOk returns a tuple with the WebUrl field value if set, nil otherwise and a boolean to check if the value has been set.

func (*DriveItem) HasCTag

func (o *DriveItem) HasCTag() bool

HasCTag returns a boolean if a field has been set.

func (*DriveItem) HasChildren

func (o *DriveItem) HasChildren() bool

HasChildren returns a boolean if a field has been set.

func (*DriveItem) HasContent

func (o *DriveItem) HasContent() bool

HasContent returns a boolean if a field has been set.

func (*DriveItem) HasCreatedBy

func (o *DriveItem) HasCreatedBy() bool

HasCreatedBy returns a boolean if a field has been set.

func (*DriveItem) HasCreatedByUser

func (o *DriveItem) HasCreatedByUser() bool

HasCreatedByUser returns a boolean if a field has been set.

func (*DriveItem) HasCreatedDateTime

func (o *DriveItem) HasCreatedDateTime() bool

HasCreatedDateTime returns a boolean if a field has been set.

func (*DriveItem) HasDeleted

func (o *DriveItem) HasDeleted() bool

HasDeleted returns a boolean if a field has been set.

func (*DriveItem) HasDescription

func (o *DriveItem) HasDescription() bool

HasDescription returns a boolean if a field has been set.

func (*DriveItem) HasETag

func (o *DriveItem) HasETag() bool

HasETag returns a boolean if a field has been set.

func (*DriveItem) HasFile

func (o *DriveItem) HasFile() bool

HasFile returns a boolean if a field has been set.

func (*DriveItem) HasFileSystemInfo

func (o *DriveItem) HasFileSystemInfo() bool

HasFileSystemInfo returns a boolean if a field has been set.

func (*DriveItem) HasFolder

func (o *DriveItem) HasFolder() bool

HasFolder returns a boolean if a field has been set.

func (*DriveItem) HasId

func (o *DriveItem) HasId() bool

HasId returns a boolean if a field has been set.

func (*DriveItem) HasImage

func (o *DriveItem) HasImage() bool

HasImage returns a boolean if a field has been set.

func (*DriveItem) HasLastModifiedBy

func (o *DriveItem) HasLastModifiedBy() bool

HasLastModifiedBy returns a boolean if a field has been set.

func (*DriveItem) HasLastModifiedByUser

func (o *DriveItem) HasLastModifiedByUser() bool

HasLastModifiedByUser returns a boolean if a field has been set.

func (*DriveItem) HasLastModifiedDateTime

func (o *DriveItem) HasLastModifiedDateTime() bool

HasLastModifiedDateTime returns a boolean if a field has been set.

func (*DriveItem) HasName

func (o *DriveItem) HasName() bool

HasName returns a boolean if a field has been set.

func (*DriveItem) HasParentReference

func (o *DriveItem) HasParentReference() bool

HasParentReference returns a boolean if a field has been set.

func (*DriveItem) HasPermissions

func (o *DriveItem) HasPermissions() bool

HasPermissions returns a boolean if a field has been set.

func (*DriveItem) HasRemoteItem

func (o *DriveItem) HasRemoteItem() bool

HasRemoteItem returns a boolean if a field has been set.

func (*DriveItem) HasRoot

func (o *DriveItem) HasRoot() bool

HasRoot returns a boolean if a field has been set.

func (*DriveItem) HasSize

func (o *DriveItem) HasSize() bool

HasSize returns a boolean if a field has been set.

func (*DriveItem) HasSpecialFolder

func (o *DriveItem) HasSpecialFolder() bool

HasSpecialFolder returns a boolean if a field has been set.

func (*DriveItem) HasTrash

func (o *DriveItem) HasTrash() bool

HasTrash returns a boolean if a field has been set.

func (*DriveItem) HasWebDavUrl

func (o *DriveItem) HasWebDavUrl() bool

HasWebDavUrl returns a boolean if a field has been set.

func (*DriveItem) HasWebUrl

func (o *DriveItem) HasWebUrl() bool

HasWebUrl returns a boolean if a field has been set.

func (DriveItem) MarshalJSON

func (o DriveItem) MarshalJSON() ([]byte, error)

func (*DriveItem) SetCTag

func (o *DriveItem) SetCTag(v string)

SetCTag gets a reference to the given string and assigns it to the CTag field.

func (*DriveItem) SetChildren

func (o *DriveItem) SetChildren(v []DriveItem)

SetChildren gets a reference to the given []DriveItem and assigns it to the Children field.

func (*DriveItem) SetContent

func (o *DriveItem) SetContent(v string)

SetContent gets a reference to the given string and assigns it to the Content field.

func (*DriveItem) SetCreatedBy

func (o *DriveItem) SetCreatedBy(v IdentitySet)

SetCreatedBy gets a reference to the given IdentitySet and assigns it to the CreatedBy field.

func (*DriveItem) SetCreatedByUser

func (o *DriveItem) SetCreatedByUser(v User)

SetCreatedByUser gets a reference to the given User and assigns it to the CreatedByUser field.

func (*DriveItem) SetCreatedDateTime

func (o *DriveItem) SetCreatedDateTime(v time.Time)

SetCreatedDateTime gets a reference to the given time.Time and assigns it to the CreatedDateTime field.

func (*DriveItem) SetDeleted

func (o *DriveItem) SetDeleted(v Deleted)

SetDeleted gets a reference to the given Deleted and assigns it to the Deleted field.

func (*DriveItem) SetDescription

func (o *DriveItem) SetDescription(v string)

SetDescription gets a reference to the given string and assigns it to the Description field.

func (*DriveItem) SetETag

func (o *DriveItem) SetETag(v string)

SetETag gets a reference to the given string and assigns it to the ETag field.

func (*DriveItem) SetFile

func (o *DriveItem) SetFile(v OpenGraphFile)

SetFile gets a reference to the given OpenGraphFile and assigns it to the File field.

func (*DriveItem) SetFileSystemInfo

func (o *DriveItem) SetFileSystemInfo(v FileSystemInfo)

SetFileSystemInfo gets a reference to the given FileSystemInfo and assigns it to the FileSystemInfo field.

func (*DriveItem) SetFolder

func (o *DriveItem) SetFolder(v Folder)

SetFolder gets a reference to the given Folder and assigns it to the Folder field.

func (*DriveItem) SetId

func (o *DriveItem) SetId(v string)

SetId gets a reference to the given string and assigns it to the Id field.

func (*DriveItem) SetImage

func (o *DriveItem) SetImage(v Image)

SetImage gets a reference to the given Image and assigns it to the Image field.

func (*DriveItem) SetLastModifiedBy

func (o *DriveItem) SetLastModifiedBy(v IdentitySet)

SetLastModifiedBy gets a reference to the given IdentitySet and assigns it to the LastModifiedBy field.

func (*DriveItem) SetLastModifiedByUser

func (o *DriveItem) SetLastModifiedByUser(v User)

SetLastModifiedByUser gets a reference to the given User and assigns it to the LastModifiedByUser field.

func (*DriveItem) SetLastModifiedDateTime

func (o *DriveItem) SetLastModifiedDateTime(v time.Time)

SetLastModifiedDateTime gets a reference to the given time.Time and assigns it to the LastModifiedDateTime field.

func (*DriveItem) SetName

func (o *DriveItem) SetName(v string)

SetName gets a reference to the given string and assigns it to the Name field.

func (*DriveItem) SetParentReference

func (o *DriveItem) SetParentReference(v ItemReference)

SetParentReference gets a reference to the given ItemReference and assigns it to the ParentReference field.

func (*DriveItem) SetPermissions

func (o *DriveItem) SetPermissions(v []Permission)

SetPermissions gets a reference to the given []Permission and assigns it to the Permissions field.

func (*DriveItem) SetRemoteItem

func (o *DriveItem) SetRemoteItem(v RemoteItem)

SetRemoteItem gets a reference to the given RemoteItem and assigns it to the RemoteItem field.

func (*DriveItem) SetRoot

func (o *DriveItem) SetRoot(v map[string]interface{})

SetRoot gets a reference to the given map[string]interface{} and assigns it to the Root field.

func (*DriveItem) SetSize

func (o *DriveItem) SetSize(v int64)

SetSize gets a reference to the given int64 and assigns it to the Size field.

func (*DriveItem) SetSpecialFolder

func (o *DriveItem) SetSpecialFolder(v SpecialFolder)

SetSpecialFolder gets a reference to the given SpecialFolder and assigns it to the SpecialFolder field.

func (*DriveItem) SetTrash

func (o *DriveItem) SetTrash(v Trash)

SetTrash gets a reference to the given Trash and assigns it to the Trash field.

func (*DriveItem) SetWebDavUrl

func (o *DriveItem) SetWebDavUrl(v string)

SetWebDavUrl gets a reference to the given string and assigns it to the WebDavUrl field.

func (*DriveItem) SetWebUrl

func (o *DriveItem) SetWebUrl(v string)

SetWebUrl gets a reference to the given string and assigns it to the WebUrl field.

type DrivesApiService

type DrivesApiService service

DrivesApiService DrivesApi service

func (*DrivesApiService) CreateDrive

CreateDrive Create a new space of a specific type

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@return ApiCreateDriveRequest

func (*DrivesApiService) CreateDriveExecute

func (a *DrivesApiService) CreateDriveExecute(r ApiCreateDriveRequest) (*Drive, *http.Response, error)

Execute executes the request

@return Drive

func (*DrivesApiService) DeleteDrive

func (a *DrivesApiService) DeleteDrive(ctx context.Context, driveId string) ApiDeleteDriveRequest

DeleteDrive Delete a specific space

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param driveId key: id of drive
@return ApiDeleteDriveRequest

func (*DrivesApiService) DeleteDriveExecute

func (a *DrivesApiService) DeleteDriveExecute(r ApiDeleteDriveRequest) (*http.Response, error)

Execute executes the request

func (*DrivesApiService) GetDrive

func (a *DrivesApiService) GetDrive(ctx context.Context, driveId string) ApiGetDriveRequest

GetDrive Get drive by id

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param driveId key: id of drive
@return ApiGetDriveRequest

func (*DrivesApiService) GetDriveExecute

func (a *DrivesApiService) GetDriveExecute(r ApiGetDriveRequest) (*Drive, *http.Response, error)

Execute executes the request

@return Drive

func (*DrivesApiService) UpdateDrive

func (a *DrivesApiService) UpdateDrive(ctx context.Context, driveId string) ApiUpdateDriveRequest

UpdateDrive Update the space

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param driveId key: id of drive
@return ApiUpdateDriveRequest

func (*DrivesApiService) UpdateDriveExecute

func (a *DrivesApiService) UpdateDriveExecute(r ApiUpdateDriveRequest) (*Drive, *http.Response, error)

Execute executes the request

@return Drive

type DrivesGetDrivesApiService

type DrivesGetDrivesApiService service

DrivesGetDrivesApiService DrivesGetDrivesApi service

func (*DrivesGetDrivesApiService) ListAllDrives

ListAllDrives Get All drives

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@return ApiListAllDrivesRequest

func (*DrivesGetDrivesApiService) ListAllDrivesExecute

Execute executes the request

@return CollectionOfDrives

type DrivesRootApiService

type DrivesRootApiService service

DrivesRootApiService DrivesRootApi service

func (*DrivesRootApiService) GetRoot

GetRoot Get root from arbitrary space

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@return ApiGetRootRequest

func (*DrivesRootApiService) GetRootExecute

Execute executes the request

@return DriveItem

type FileSystemInfo

type FileSystemInfo struct {
	// The UTC date and time the file was created on a client.
	CreatedDateTime *time.Time `json:"createdDateTime,omitempty"`
	// The UTC date and time the file was last accessed. Available for the recent file list only.
	LastAccessedDateTime *time.Time `json:"lastAccessedDateTime,omitempty"`
	// The UTC date and time the file was last modified on a client.
	LastModifiedDateTime *time.Time `json:"lastModifiedDateTime,omitempty"`
}

FileSystemInfo File system information on client. Read-write.

func NewFileSystemInfo

func NewFileSystemInfo() *FileSystemInfo

NewFileSystemInfo instantiates a new FileSystemInfo object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewFileSystemInfoWithDefaults

func NewFileSystemInfoWithDefaults() *FileSystemInfo

NewFileSystemInfoWithDefaults instantiates a new FileSystemInfo object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*FileSystemInfo) GetCreatedDateTime

func (o *FileSystemInfo) GetCreatedDateTime() time.Time

GetCreatedDateTime returns the CreatedDateTime field value if set, zero value otherwise.

func (*FileSystemInfo) GetCreatedDateTimeOk

func (o *FileSystemInfo) GetCreatedDateTimeOk() (*time.Time, bool)

GetCreatedDateTimeOk returns a tuple with the CreatedDateTime field value if set, nil otherwise and a boolean to check if the value has been set.

func (*FileSystemInfo) GetLastAccessedDateTime

func (o *FileSystemInfo) GetLastAccessedDateTime() time.Time

GetLastAccessedDateTime returns the LastAccessedDateTime field value if set, zero value otherwise.

func (*FileSystemInfo) GetLastAccessedDateTimeOk

func (o *FileSystemInfo) GetLastAccessedDateTimeOk() (*time.Time, bool)

GetLastAccessedDateTimeOk returns a tuple with the LastAccessedDateTime field value if set, nil otherwise and a boolean to check if the value has been set.

func (*FileSystemInfo) GetLastModifiedDateTime

func (o *FileSystemInfo) GetLastModifiedDateTime() time.Time

GetLastModifiedDateTime returns the LastModifiedDateTime field value if set, zero value otherwise.

func (*FileSystemInfo) GetLastModifiedDateTimeOk

func (o *FileSystemInfo) GetLastModifiedDateTimeOk() (*time.Time, bool)

GetLastModifiedDateTimeOk returns a tuple with the LastModifiedDateTime field value if set, nil otherwise and a boolean to check if the value has been set.

func (*FileSystemInfo) HasCreatedDateTime

func (o *FileSystemInfo) HasCreatedDateTime() bool

HasCreatedDateTime returns a boolean if a field has been set.

func (*FileSystemInfo) HasLastAccessedDateTime

func (o *FileSystemInfo) HasLastAccessedDateTime() bool

HasLastAccessedDateTime returns a boolean if a field has been set.

func (*FileSystemInfo) HasLastModifiedDateTime

func (o *FileSystemInfo) HasLastModifiedDateTime() bool

HasLastModifiedDateTime returns a boolean if a field has been set.

func (FileSystemInfo) MarshalJSON

func (o FileSystemInfo) MarshalJSON() ([]byte, error)

func (*FileSystemInfo) SetCreatedDateTime

func (o *FileSystemInfo) SetCreatedDateTime(v time.Time)

SetCreatedDateTime gets a reference to the given time.Time and assigns it to the CreatedDateTime field.

func (*FileSystemInfo) SetLastAccessedDateTime

func (o *FileSystemInfo) SetLastAccessedDateTime(v time.Time)

SetLastAccessedDateTime gets a reference to the given time.Time and assigns it to the LastAccessedDateTime field.

func (*FileSystemInfo) SetLastModifiedDateTime

func (o *FileSystemInfo) SetLastModifiedDateTime(v time.Time)

SetLastModifiedDateTime gets a reference to the given time.Time and assigns it to the LastModifiedDateTime field.

type Folder

type Folder struct {
	// Number of children contained immediately within this container.
	ChildCount *int32      `json:"childCount,omitempty"`
	View       *FolderView `json:"view,omitempty"`
}

Folder Folder metadata, if the item is a folder. Read-only.

func NewFolder

func NewFolder() *Folder

NewFolder instantiates a new Folder object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewFolderWithDefaults

func NewFolderWithDefaults() *Folder

NewFolderWithDefaults instantiates a new Folder object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*Folder) GetChildCount

func (o *Folder) GetChildCount() int32

GetChildCount returns the ChildCount field value if set, zero value otherwise.

func (*Folder) GetChildCountOk

func (o *Folder) GetChildCountOk() (*int32, bool)

GetChildCountOk returns a tuple with the ChildCount field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Folder) GetView

func (o *Folder) GetView() FolderView

GetView returns the View field value if set, zero value otherwise.

func (*Folder) GetViewOk

func (o *Folder) GetViewOk() (*FolderView, bool)

GetViewOk returns a tuple with the View field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Folder) HasChildCount

func (o *Folder) HasChildCount() bool

HasChildCount returns a boolean if a field has been set.

func (*Folder) HasView

func (o *Folder) HasView() bool

HasView returns a boolean if a field has been set.

func (Folder) MarshalJSON

func (o Folder) MarshalJSON() ([]byte, error)

func (*Folder) SetChildCount

func (o *Folder) SetChildCount(v int32)

SetChildCount gets a reference to the given int32 and assigns it to the ChildCount field.

func (*Folder) SetView

func (o *Folder) SetView(v FolderView)

SetView gets a reference to the given FolderView and assigns it to the View field.

type FolderView

type FolderView struct {
	// The method by which the folder should be sorted.
	SortBy *string `json:"sortBy,omitempty"`
	// If true, indicates that items should be sorted in descending order. Otherwise, items should be sorted ascending.
	SortOrder *string `json:"sortOrder,omitempty"`
	// The type of view that should be used to represent the folder.
	ViewType *string `json:"viewType,omitempty"`
}

FolderView A collection of properties defining the recommended view for the folder.

func NewFolderView

func NewFolderView() *FolderView

NewFolderView instantiates a new FolderView object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewFolderViewWithDefaults

func NewFolderViewWithDefaults() *FolderView

NewFolderViewWithDefaults instantiates a new FolderView object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*FolderView) GetSortBy

func (o *FolderView) GetSortBy() string

GetSortBy returns the SortBy field value if set, zero value otherwise.

func (*FolderView) GetSortByOk

func (o *FolderView) GetSortByOk() (*string, bool)

GetSortByOk returns a tuple with the SortBy field value if set, nil otherwise and a boolean to check if the value has been set.

func (*FolderView) GetSortOrder

func (o *FolderView) GetSortOrder() string

GetSortOrder returns the SortOrder field value if set, zero value otherwise.

func (*FolderView) GetSortOrderOk

func (o *FolderView) GetSortOrderOk() (*string, bool)

GetSortOrderOk returns a tuple with the SortOrder field value if set, nil otherwise and a boolean to check if the value has been set.

func (*FolderView) GetViewType

func (o *FolderView) GetViewType() string

GetViewType returns the ViewType field value if set, zero value otherwise.

func (*FolderView) GetViewTypeOk

func (o *FolderView) GetViewTypeOk() (*string, bool)

GetViewTypeOk returns a tuple with the ViewType field value if set, nil otherwise and a boolean to check if the value has been set.

func (*FolderView) HasSortBy

func (o *FolderView) HasSortBy() bool

HasSortBy returns a boolean if a field has been set.

func (*FolderView) HasSortOrder

func (o *FolderView) HasSortOrder() bool

HasSortOrder returns a boolean if a field has been set.

func (*FolderView) HasViewType

func (o *FolderView) HasViewType() bool

HasViewType returns a boolean if a field has been set.

func (FolderView) MarshalJSON

func (o FolderView) MarshalJSON() ([]byte, error)

func (*FolderView) SetSortBy

func (o *FolderView) SetSortBy(v string)

SetSortBy gets a reference to the given string and assigns it to the SortBy field.

func (*FolderView) SetSortOrder

func (o *FolderView) SetSortOrder(v string)

SetSortOrder gets a reference to the given string and assigns it to the SortOrder field.

func (*FolderView) SetViewType

func (o *FolderView) SetViewType(v string)

SetViewType gets a reference to the given string and assigns it to the ViewType field.

type GenericOpenAPIError

type GenericOpenAPIError struct {
	// contains filtered or unexported fields
}

GenericOpenAPIError Provides access to the body, error and model on returned errors.

func (GenericOpenAPIError) Body

func (e GenericOpenAPIError) Body() []byte

Body returns the raw bytes of the response

func (GenericOpenAPIError) Error

func (e GenericOpenAPIError) Error() string

Error returns non-empty string if there was an error.

func (GenericOpenAPIError) Model

func (e GenericOpenAPIError) Model() interface{}

Model returns the unpacked model of the error

type Group

type Group struct {
	// Read-only.
	Id *string `json:"id,omitempty"`
	// An optional description for the group. Returned by default. Supports $filter (eq, ne, not, ge, le, startsWith) and $search.
	Description *string `json:"description,omitempty"`
	// The display name for the group. This property is required when a group is created and cannot be cleared during updates. Returned by default. Supports $filter (eq, ne, not, ge, le, in, startsWith, and eq on null values), $search, and $orderBy.
	DisplayName *string `json:"displayName,omitempty"`
	// Users and groups that are members of this group. HTTP Methods: GET (supported for all groups), Nullable. Supports $expand.
	Members []User `json:"members,omitempty"`
	// Contains the on-premises domainFQDN, also called dnsDomainName synchronized from the on-premises directory. The property is only populated for customers who are synchronizing their on-premises directory to Azure Active Directory via Azure AD Connect. Read-only. Returned only on $select.
	OnPremisesDomainName *string `json:"onPremisesDomainName,omitempty"`
	// Contains the on-premises SAM account name synchronized from the on-premises directory. Read-only.
	OnPremisesSamAccountName *string `json:"onPremisesSamAccountName,omitempty"`
	// A list of member references to the members to be added. Up to 20 members can be added with a single request
	MembersodataBind []string `json:"members@odata.bind,omitempty"`
}

Group struct for Group

func NewGroup

func NewGroup() *Group

NewGroup instantiates a new Group object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewGroupWithDefaults

func NewGroupWithDefaults() *Group

NewGroupWithDefaults instantiates a new Group object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*Group) GetDescription

func (o *Group) GetDescription() string

GetDescription returns the Description field value if set, zero value otherwise.

func (*Group) GetDescriptionOk

func (o *Group) GetDescriptionOk() (*string, bool)

GetDescriptionOk returns a tuple with the Description field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Group) GetDisplayName

func (o *Group) GetDisplayName() string

GetDisplayName returns the DisplayName field value if set, zero value otherwise.

func (*Group) GetDisplayNameOk

func (o *Group) GetDisplayNameOk() (*string, bool)

GetDisplayNameOk returns a tuple with the DisplayName field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Group) GetId

func (o *Group) GetId() string

GetId returns the Id field value if set, zero value otherwise.

func (*Group) GetIdOk

func (o *Group) GetIdOk() (*string, bool)

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 (*Group) GetMembers

func (o *Group) GetMembers() []User

GetMembers returns the Members field value if set, zero value otherwise.

func (*Group) GetMembersOk

func (o *Group) GetMembersOk() ([]User, bool)

GetMembersOk returns a tuple with the Members field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Group) GetMembersodataBind

func (o *Group) GetMembersodataBind() []string

GetMembersodataBind returns the MembersodataBind field value if set, zero value otherwise.

func (*Group) GetMembersodataBindOk

func (o *Group) GetMembersodataBindOk() ([]string, bool)

GetMembersodataBindOk returns a tuple with the MembersodataBind field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Group) GetOnPremisesDomainName

func (o *Group) GetOnPremisesDomainName() string

GetOnPremisesDomainName returns the OnPremisesDomainName field value if set, zero value otherwise.

func (*Group) GetOnPremisesDomainNameOk

func (o *Group) GetOnPremisesDomainNameOk() (*string, bool)

GetOnPremisesDomainNameOk returns a tuple with the OnPremisesDomainName field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Group) GetOnPremisesSamAccountName

func (o *Group) GetOnPremisesSamAccountName() string

GetOnPremisesSamAccountName returns the OnPremisesSamAccountName field value if set, zero value otherwise.

func (*Group) GetOnPremisesSamAccountNameOk

func (o *Group) GetOnPremisesSamAccountNameOk() (*string, bool)

GetOnPremisesSamAccountNameOk returns a tuple with the OnPremisesSamAccountName field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Group) HasDescription

func (o *Group) HasDescription() bool

HasDescription returns a boolean if a field has been set.

func (*Group) HasDisplayName

func (o *Group) HasDisplayName() bool

HasDisplayName returns a boolean if a field has been set.

func (*Group) HasId

func (o *Group) HasId() bool

HasId returns a boolean if a field has been set.

func (*Group) HasMembers

func (o *Group) HasMembers() bool

HasMembers returns a boolean if a field has been set.

func (*Group) HasMembersodataBind

func (o *Group) HasMembersodataBind() bool

HasMembersodataBind returns a boolean if a field has been set.

func (*Group) HasOnPremisesDomainName

func (o *Group) HasOnPremisesDomainName() bool

HasOnPremisesDomainName returns a boolean if a field has been set.

func (*Group) HasOnPremisesSamAccountName

func (o *Group) HasOnPremisesSamAccountName() bool

HasOnPremisesSamAccountName returns a boolean if a field has been set.

func (Group) MarshalJSON

func (o Group) MarshalJSON() ([]byte, error)

func (*Group) SetDescription

func (o *Group) SetDescription(v string)

SetDescription gets a reference to the given string and assigns it to the Description field.

func (*Group) SetDisplayName

func (o *Group) SetDisplayName(v string)

SetDisplayName gets a reference to the given string and assigns it to the DisplayName field.

func (*Group) SetId

func (o *Group) SetId(v string)

SetId gets a reference to the given string and assigns it to the Id field.

func (*Group) SetMembers

func (o *Group) SetMembers(v []User)

SetMembers gets a reference to the given []User and assigns it to the Members field.

func (*Group) SetMembersodataBind

func (o *Group) SetMembersodataBind(v []string)

SetMembersodataBind gets a reference to the given []string and assigns it to the MembersodataBind field.

func (*Group) SetOnPremisesDomainName

func (o *Group) SetOnPremisesDomainName(v string)

SetOnPremisesDomainName gets a reference to the given string and assigns it to the OnPremisesDomainName field.

func (*Group) SetOnPremisesSamAccountName

func (o *Group) SetOnPremisesSamAccountName(v string)

SetOnPremisesSamAccountName gets a reference to the given string and assigns it to the OnPremisesSamAccountName field.

type GroupApiService

type GroupApiService service

GroupApiService GroupApi service

func (*GroupApiService) AddMember

func (a *GroupApiService) AddMember(ctx context.Context, groupId string) ApiAddMemberRequest

AddMember Add a member to a group

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param groupId key: id of group
@return ApiAddMemberRequest

func (*GroupApiService) AddMemberExecute

func (a *GroupApiService) AddMemberExecute(r ApiAddMemberRequest) (*http.Response, error)

Execute executes the request

func (*GroupApiService) DeleteGroup

func (a *GroupApiService) DeleteGroup(ctx context.Context, groupId string) ApiDeleteGroupRequest

DeleteGroup Delete entity from groups

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param groupId key: id of group
@return ApiDeleteGroupRequest

func (*GroupApiService) DeleteGroupExecute

func (a *GroupApiService) DeleteGroupExecute(r ApiDeleteGroupRequest) (*http.Response, error)

Execute executes the request

func (*GroupApiService) DeleteMember

func (a *GroupApiService) DeleteMember(ctx context.Context, groupId string, directoryObjectId string) ApiDeleteMemberRequest

DeleteMember Delete member from a group

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param groupId key: id of group
@param directoryObjectId key: id of group member to remove
@return ApiDeleteMemberRequest

func (*GroupApiService) DeleteMemberExecute

func (a *GroupApiService) DeleteMemberExecute(r ApiDeleteMemberRequest) (*http.Response, error)

Execute executes the request

func (*GroupApiService) GetGroup

func (a *GroupApiService) GetGroup(ctx context.Context, groupId string) ApiGetGroupRequest

GetGroup Get entity from groups by key

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param groupId key: id of group
@return ApiGetGroupRequest

func (*GroupApiService) GetGroupExecute

func (a *GroupApiService) GetGroupExecute(r ApiGetGroupRequest) (*Group, *http.Response, error)

Execute executes the request

@return Group

func (*GroupApiService) UpdateGroup

func (a *GroupApiService) UpdateGroup(ctx context.Context, groupId string) ApiUpdateGroupRequest

UpdateGroup Update entity in groups

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param groupId key: id of group
@return ApiUpdateGroupRequest

func (*GroupApiService) UpdateGroupExecute

func (a *GroupApiService) UpdateGroupExecute(r ApiUpdateGroupRequest) (*http.Response, error)

Execute executes the request

type GroupsApiService

type GroupsApiService service

GroupsApiService GroupsApi service

func (*GroupsApiService) CreateGroup

CreateGroup Add new entity to groups

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@return ApiCreateGroupRequest

func (*GroupsApiService) CreateGroupExecute

func (a *GroupsApiService) CreateGroupExecute(r ApiCreateGroupRequest) (*Group, *http.Response, error)

Execute executes the request

@return Group

func (*GroupsApiService) ListGroups

ListGroups Get entities from groups

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@return ApiListGroupsRequest

func (*GroupsApiService) ListGroupsExecute

Execute executes the request

@return CollectionOfGroup

type Hashes

type Hashes struct {
	// The CRC32 value of the file (if available). Read-only.
	Crc32Hash *string `json:"crc32Hash,omitempty"`
	// A proprietary hash of the file that can be used to determine if the contents of the file have changed (if available). Read-only.
	QuickXorHash *string `json:"quickXorHash,omitempty"`
	// SHA1 hash for the contents of the file (if available). Read-only.
	Sha1Hash *string `json:"sha1Hash,omitempty"`
	// SHA256 hash for the contents of the file (if available). Read-only.
	Sha256Hash *string `json:"sha256Hash,omitempty"`
}

Hashes Hashes of the file's binary content, if available. Read-only.

func NewHashes

func NewHashes() *Hashes

NewHashes instantiates a new Hashes object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewHashesWithDefaults

func NewHashesWithDefaults() *Hashes

NewHashesWithDefaults instantiates a new Hashes object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*Hashes) GetCrc32Hash

func (o *Hashes) GetCrc32Hash() string

GetCrc32Hash returns the Crc32Hash field value if set, zero value otherwise.

func (*Hashes) GetCrc32HashOk

func (o *Hashes) GetCrc32HashOk() (*string, bool)

GetCrc32HashOk returns a tuple with the Crc32Hash field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Hashes) GetQuickXorHash

func (o *Hashes) GetQuickXorHash() string

GetQuickXorHash returns the QuickXorHash field value if set, zero value otherwise.

func (*Hashes) GetQuickXorHashOk

func (o *Hashes) GetQuickXorHashOk() (*string, bool)

GetQuickXorHashOk returns a tuple with the QuickXorHash field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Hashes) GetSha1Hash

func (o *Hashes) GetSha1Hash() string

GetSha1Hash returns the Sha1Hash field value if set, zero value otherwise.

func (*Hashes) GetSha1HashOk

func (o *Hashes) GetSha1HashOk() (*string, bool)

GetSha1HashOk returns a tuple with the Sha1Hash field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Hashes) GetSha256Hash

func (o *Hashes) GetSha256Hash() string

GetSha256Hash returns the Sha256Hash field value if set, zero value otherwise.

func (*Hashes) GetSha256HashOk

func (o *Hashes) GetSha256HashOk() (*string, bool)

GetSha256HashOk returns a tuple with the Sha256Hash field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Hashes) HasCrc32Hash

func (o *Hashes) HasCrc32Hash() bool

HasCrc32Hash returns a boolean if a field has been set.

func (*Hashes) HasQuickXorHash

func (o *Hashes) HasQuickXorHash() bool

HasQuickXorHash returns a boolean if a field has been set.

func (*Hashes) HasSha1Hash

func (o *Hashes) HasSha1Hash() bool

HasSha1Hash returns a boolean if a field has been set.

func (*Hashes) HasSha256Hash

func (o *Hashes) HasSha256Hash() bool

HasSha256Hash returns a boolean if a field has been set.

func (Hashes) MarshalJSON

func (o Hashes) MarshalJSON() ([]byte, error)

func (*Hashes) SetCrc32Hash

func (o *Hashes) SetCrc32Hash(v string)

SetCrc32Hash gets a reference to the given string and assigns it to the Crc32Hash field.

func (*Hashes) SetQuickXorHash

func (o *Hashes) SetQuickXorHash(v string)

SetQuickXorHash gets a reference to the given string and assigns it to the QuickXorHash field.

func (*Hashes) SetSha1Hash

func (o *Hashes) SetSha1Hash(v string)

SetSha1Hash gets a reference to the given string and assigns it to the Sha1Hash field.

func (*Hashes) SetSha256Hash

func (o *Hashes) SetSha256Hash(v string)

SetSha256Hash gets a reference to the given string and assigns it to the Sha256Hash field.

type Identity

type Identity struct {
	// The identity's display name. Note that this may not always be available or up to date. For example, if a user changes their display name, the API may show the new value in a future response, but the items associated with the user won't show up as having changed when using delta.
	DisplayName *string `json:"displayName,omitempty"`
	// Unique identifier for the identity.
	Id *string `json:"id,omitempty"`
}

Identity struct for Identity

func NewIdentity

func NewIdentity() *Identity

NewIdentity instantiates a new Identity object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewIdentityWithDefaults

func NewIdentityWithDefaults() *Identity

NewIdentityWithDefaults instantiates a new Identity object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*Identity) GetDisplayName

func (o *Identity) GetDisplayName() string

GetDisplayName returns the DisplayName field value if set, zero value otherwise.

func (*Identity) GetDisplayNameOk

func (o *Identity) GetDisplayNameOk() (*string, bool)

GetDisplayNameOk returns a tuple with the DisplayName field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Identity) GetId

func (o *Identity) GetId() string

GetId returns the Id field value if set, zero value otherwise.

func (*Identity) GetIdOk

func (o *Identity) GetIdOk() (*string, bool)

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 (*Identity) HasDisplayName

func (o *Identity) HasDisplayName() bool

HasDisplayName returns a boolean if a field has been set.

func (*Identity) HasId

func (o *Identity) HasId() bool

HasId returns a boolean if a field has been set.

func (Identity) MarshalJSON

func (o Identity) MarshalJSON() ([]byte, error)

func (*Identity) SetDisplayName

func (o *Identity) SetDisplayName(v string)

SetDisplayName gets a reference to the given string and assigns it to the DisplayName field.

func (*Identity) SetId

func (o *Identity) SetId(v string)

SetId gets a reference to the given string and assigns it to the Id field.

type IdentitySet

type IdentitySet struct {
	Application *Identity `json:"application,omitempty"`
	Device      *Identity `json:"device,omitempty"`
	User        *Identity `json:"user,omitempty"`
}

IdentitySet Optional. User account.

func NewIdentitySet

func NewIdentitySet() *IdentitySet

NewIdentitySet instantiates a new IdentitySet object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewIdentitySetWithDefaults

func NewIdentitySetWithDefaults() *IdentitySet

NewIdentitySetWithDefaults instantiates a new IdentitySet object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*IdentitySet) GetApplication

func (o *IdentitySet) GetApplication() Identity

GetApplication returns the Application field value if set, zero value otherwise.

func (*IdentitySet) GetApplicationOk

func (o *IdentitySet) GetApplicationOk() (*Identity, bool)

GetApplicationOk returns a tuple with the Application field value if set, nil otherwise and a boolean to check if the value has been set.

func (*IdentitySet) GetDevice

func (o *IdentitySet) GetDevice() Identity

GetDevice returns the Device field value if set, zero value otherwise.

func (*IdentitySet) GetDeviceOk

func (o *IdentitySet) GetDeviceOk() (*Identity, bool)

GetDeviceOk returns a tuple with the Device field value if set, nil otherwise and a boolean to check if the value has been set.

func (*IdentitySet) GetUser

func (o *IdentitySet) GetUser() Identity

GetUser returns the User field value if set, zero value otherwise.

func (*IdentitySet) GetUserOk

func (o *IdentitySet) GetUserOk() (*Identity, bool)

GetUserOk returns a tuple with the User field value if set, nil otherwise and a boolean to check if the value has been set.

func (*IdentitySet) HasApplication

func (o *IdentitySet) HasApplication() bool

HasApplication returns a boolean if a field has been set.

func (*IdentitySet) HasDevice

func (o *IdentitySet) HasDevice() bool

HasDevice returns a boolean if a field has been set.

func (*IdentitySet) HasUser

func (o *IdentitySet) HasUser() bool

HasUser returns a boolean if a field has been set.

func (IdentitySet) MarshalJSON

func (o IdentitySet) MarshalJSON() ([]byte, error)

func (*IdentitySet) SetApplication

func (o *IdentitySet) SetApplication(v Identity)

SetApplication gets a reference to the given Identity and assigns it to the Application field.

func (*IdentitySet) SetDevice

func (o *IdentitySet) SetDevice(v Identity)

SetDevice gets a reference to the given Identity and assigns it to the Device field.

func (*IdentitySet) SetUser

func (o *IdentitySet) SetUser(v Identity)

SetUser gets a reference to the given Identity and assigns it to the User field.

type Image

type Image struct {
	// Optional. Height of the image, in pixels. Read-only.
	Height *int32 `json:"height,omitempty"`
	// Optional. Width of the image, in pixels. Read-only.
	Width *int32 `json:"width,omitempty"`
}

Image Image metadata, if the item is an image. Read-only.

func NewImage

func NewImage() *Image

NewImage instantiates a new Image object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewImageWithDefaults

func NewImageWithDefaults() *Image

NewImageWithDefaults instantiates a new Image object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*Image) GetHeight

func (o *Image) GetHeight() int32

GetHeight returns the Height field value if set, zero value otherwise.

func (*Image) GetHeightOk

func (o *Image) GetHeightOk() (*int32, bool)

GetHeightOk returns a tuple with the Height field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Image) GetWidth

func (o *Image) GetWidth() int32

GetWidth returns the Width field value if set, zero value otherwise.

func (*Image) GetWidthOk

func (o *Image) GetWidthOk() (*int32, bool)

GetWidthOk returns a tuple with the Width field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Image) HasHeight

func (o *Image) HasHeight() bool

HasHeight returns a boolean if a field has been set.

func (*Image) HasWidth

func (o *Image) HasWidth() bool

HasWidth returns a boolean if a field has been set.

func (Image) MarshalJSON

func (o Image) MarshalJSON() ([]byte, error)

func (*Image) SetHeight

func (o *Image) SetHeight(v int32)

SetHeight gets a reference to the given int32 and assigns it to the Height field.

func (*Image) SetWidth

func (o *Image) SetWidth(v int32)

SetWidth gets a reference to the given int32 and assigns it to the Width field.

type ItemReference

type ItemReference struct {
	// Unique identifier of the drive instance that contains the item. Read-only.
	DriveId *string `json:"driveId,omitempty"`
	// Identifies the type of drive. See [drive][] resource for values. Read-only.
	DriveType *string `json:"driveType,omitempty"`
	// Unique identifier of the item in the drive. Read-only.
	Id *string `json:"id,omitempty"`
	// The name of the item being referenced. Read-only.
	Name *string `json:"name,omitempty"`
	// Path that can be used to navigate to the item. Read-only.
	Path *string `json:"path,omitempty"`
	// A unique identifier for a shared resource that can be accessed via the [Shares][] API.
	ShareId *string `json:"shareId,omitempty"`
}

ItemReference struct for ItemReference

func NewItemReference

func NewItemReference() *ItemReference

NewItemReference instantiates a new ItemReference object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewItemReferenceWithDefaults

func NewItemReferenceWithDefaults() *ItemReference

NewItemReferenceWithDefaults instantiates a new ItemReference object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*ItemReference) GetDriveId

func (o *ItemReference) GetDriveId() string

GetDriveId returns the DriveId field value if set, zero value otherwise.

func (*ItemReference) GetDriveIdOk

func (o *ItemReference) GetDriveIdOk() (*string, bool)

GetDriveIdOk returns a tuple with the DriveId field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ItemReference) GetDriveType

func (o *ItemReference) GetDriveType() string

GetDriveType returns the DriveType field value if set, zero value otherwise.

func (*ItemReference) GetDriveTypeOk

func (o *ItemReference) GetDriveTypeOk() (*string, bool)

GetDriveTypeOk returns a tuple with the DriveType field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ItemReference) GetId

func (o *ItemReference) GetId() string

GetId returns the Id field value if set, zero value otherwise.

func (*ItemReference) GetIdOk

func (o *ItemReference) GetIdOk() (*string, bool)

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 (*ItemReference) GetName

func (o *ItemReference) GetName() string

GetName returns the Name field value if set, zero value otherwise.

func (*ItemReference) GetNameOk

func (o *ItemReference) GetNameOk() (*string, bool)

GetNameOk returns a tuple with the Name field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ItemReference) GetPath

func (o *ItemReference) GetPath() string

GetPath returns the Path field value if set, zero value otherwise.

func (*ItemReference) GetPathOk

func (o *ItemReference) GetPathOk() (*string, bool)

GetPathOk returns a tuple with the Path field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ItemReference) GetShareId

func (o *ItemReference) GetShareId() string

GetShareId returns the ShareId field value if set, zero value otherwise.

func (*ItemReference) GetShareIdOk

func (o *ItemReference) GetShareIdOk() (*string, bool)

GetShareIdOk returns a tuple with the ShareId field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ItemReference) HasDriveId

func (o *ItemReference) HasDriveId() bool

HasDriveId returns a boolean if a field has been set.

func (*ItemReference) HasDriveType

func (o *ItemReference) HasDriveType() bool

HasDriveType returns a boolean if a field has been set.

func (*ItemReference) HasId

func (o *ItemReference) HasId() bool

HasId returns a boolean if a field has been set.

func (*ItemReference) HasName

func (o *ItemReference) HasName() bool

HasName returns a boolean if a field has been set.

func (*ItemReference) HasPath

func (o *ItemReference) HasPath() bool

HasPath returns a boolean if a field has been set.

func (*ItemReference) HasShareId

func (o *ItemReference) HasShareId() bool

HasShareId returns a boolean if a field has been set.

func (ItemReference) MarshalJSON

func (o ItemReference) MarshalJSON() ([]byte, error)

func (*ItemReference) SetDriveId

func (o *ItemReference) SetDriveId(v string)

SetDriveId gets a reference to the given string and assigns it to the DriveId field.

func (*ItemReference) SetDriveType

func (o *ItemReference) SetDriveType(v string)

SetDriveType gets a reference to the given string and assigns it to the DriveType field.

func (*ItemReference) SetId

func (o *ItemReference) SetId(v string)

SetId gets a reference to the given string and assigns it to the Id field.

func (*ItemReference) SetName

func (o *ItemReference) SetName(v string)

SetName gets a reference to the given string and assigns it to the Name field.

func (*ItemReference) SetPath

func (o *ItemReference) SetPath(v string)

SetPath gets a reference to the given string and assigns it to the Path field.

func (*ItemReference) SetShareId

func (o *ItemReference) SetShareId(v string)

SetShareId gets a reference to the given string and assigns it to the ShareId field.

type MeChangepasswordApiService added in v0.14.2

type MeChangepasswordApiService service

MeChangepasswordApiService MeChangepasswordApi service

func (*MeChangepasswordApiService) ChangeOwnPassword added in v0.14.2

ChangeOwnPassword Chanage your own password

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@return ApiChangeOwnPasswordRequest

func (*MeChangepasswordApiService) ChangeOwnPasswordExecute added in v0.14.2

func (a *MeChangepasswordApiService) ChangeOwnPasswordExecute(r ApiChangeOwnPasswordRequest) (*http.Response, error)

Execute executes the request

type MeDriveApiService

type MeDriveApiService service

MeDriveApiService MeDriveApi service

func (*MeDriveApiService) GetHome

GetHome Get personal space for user

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@return ApiGetHomeRequest

func (*MeDriveApiService) GetHomeExecute

func (a *MeDriveApiService) GetHomeExecute(r ApiGetHomeRequest) (*Drive, *http.Response, error)

Execute executes the request

@return Drive

type MeDriveRootApiService

type MeDriveRootApiService service

MeDriveRootApiService MeDriveRootApi service

func (*MeDriveRootApiService) HomeGetRoot

HomeGetRoot Get root from personal space

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@return ApiHomeGetRootRequest

func (*MeDriveRootApiService) HomeGetRootExecute

Execute executes the request

@return DriveItem

type MeDriveRootChildrenApiService

type MeDriveRootChildrenApiService service

MeDriveRootChildrenApiService MeDriveRootChildrenApi service

func (*MeDriveRootChildrenApiService) HomeGetChildren

HomeGetChildren Get children from drive

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@return ApiHomeGetChildrenRequest

func (*MeDriveRootChildrenApiService) HomeGetChildrenExecute

Execute executes the request

@return CollectionOfDriveItems

type MeDrivesApiService

type MeDrivesApiService service

MeDrivesApiService MeDrivesApi service

func (*MeDrivesApiService) ListMyDrives

ListMyDrives Get drives from me

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@return ApiListMyDrivesRequest

func (*MeDrivesApiService) ListMyDrivesExecute

Execute executes the request

@return CollectionOfDrives

type MeUserApiService

type MeUserApiService service

MeUserApiService MeUserApi service

func (*MeUserApiService) GetOwnUser added in v0.17.0

GetOwnUser Get current user

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@return ApiGetOwnUserRequest

func (*MeUserApiService) GetOwnUserExecute added in v0.17.0

func (a *MeUserApiService) GetOwnUserExecute(r ApiGetOwnUserRequest) (*User, *http.Response, error)

Execute executes the request

@return User

type MemberReference

type MemberReference struct {
	OdataId *string `json:"@odata.id,omitempty"`
}

MemberReference struct for MemberReference

func NewMemberReference

func NewMemberReference() *MemberReference

NewMemberReference instantiates a new MemberReference object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewMemberReferenceWithDefaults

func NewMemberReferenceWithDefaults() *MemberReference

NewMemberReferenceWithDefaults instantiates a new MemberReference object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*MemberReference) GetOdataId

func (o *MemberReference) GetOdataId() string

GetOdataId returns the OdataId field value if set, zero value otherwise.

func (*MemberReference) GetOdataIdOk

func (o *MemberReference) GetOdataIdOk() (*string, bool)

GetOdataIdOk returns a tuple with the OdataId field value if set, nil otherwise and a boolean to check if the value has been set.

func (*MemberReference) HasOdataId

func (o *MemberReference) HasOdataId() bool

HasOdataId returns a boolean if a field has been set.

func (MemberReference) MarshalJSON

func (o MemberReference) MarshalJSON() ([]byte, error)

func (*MemberReference) SetOdataId

func (o *MemberReference) SetOdataId(v string)

SetOdataId gets a reference to the given string and assigns it to the OdataId field.

type NullableBool

type NullableBool struct {
	// contains filtered or unexported fields
}

func NewNullableBool

func NewNullableBool(val *bool) *NullableBool

func (NullableBool) Get

func (v NullableBool) Get() *bool

func (NullableBool) IsSet

func (v NullableBool) IsSet() bool

func (NullableBool) MarshalJSON

func (v NullableBool) MarshalJSON() ([]byte, error)

func (*NullableBool) Set

func (v *NullableBool) Set(val *bool)

func (*NullableBool) UnmarshalJSON

func (v *NullableBool) UnmarshalJSON(src []byte) error

func (*NullableBool) Unset

func (v *NullableBool) Unset()

type NullableCollectionOfDriveItems

type NullableCollectionOfDriveItems struct {
	// contains filtered or unexported fields
}

func (NullableCollectionOfDriveItems) Get

func (NullableCollectionOfDriveItems) IsSet

func (NullableCollectionOfDriveItems) MarshalJSON

func (v NullableCollectionOfDriveItems) MarshalJSON() ([]byte, error)

func (*NullableCollectionOfDriveItems) Set

func (*NullableCollectionOfDriveItems) UnmarshalJSON

func (v *NullableCollectionOfDriveItems) UnmarshalJSON(src []byte) error

func (*NullableCollectionOfDriveItems) Unset

func (v *NullableCollectionOfDriveItems) Unset()

type NullableCollectionOfDrives

type NullableCollectionOfDrives struct {
	// contains filtered or unexported fields
}

func NewNullableCollectionOfDrives

func NewNullableCollectionOfDrives(val *CollectionOfDrives) *NullableCollectionOfDrives

func (NullableCollectionOfDrives) Get

func (NullableCollectionOfDrives) IsSet

func (v NullableCollectionOfDrives) IsSet() bool

func (NullableCollectionOfDrives) MarshalJSON

func (v NullableCollectionOfDrives) MarshalJSON() ([]byte, error)

func (*NullableCollectionOfDrives) Set

func (*NullableCollectionOfDrives) UnmarshalJSON

func (v *NullableCollectionOfDrives) UnmarshalJSON(src []byte) error

func (*NullableCollectionOfDrives) Unset

func (v *NullableCollectionOfDrives) Unset()

type NullableCollectionOfGroup

type NullableCollectionOfGroup struct {
	// contains filtered or unexported fields
}

func NewNullableCollectionOfGroup

func NewNullableCollectionOfGroup(val *CollectionOfGroup) *NullableCollectionOfGroup

func (NullableCollectionOfGroup) Get

func (NullableCollectionOfGroup) IsSet

func (v NullableCollectionOfGroup) IsSet() bool

func (NullableCollectionOfGroup) MarshalJSON

func (v NullableCollectionOfGroup) MarshalJSON() ([]byte, error)

func (*NullableCollectionOfGroup) Set

func (*NullableCollectionOfGroup) UnmarshalJSON

func (v *NullableCollectionOfGroup) UnmarshalJSON(src []byte) error

func (*NullableCollectionOfGroup) Unset

func (v *NullableCollectionOfGroup) Unset()

type NullableCollectionOfUser

type NullableCollectionOfUser struct {
	// contains filtered or unexported fields
}

func NewNullableCollectionOfUser

func NewNullableCollectionOfUser(val *CollectionOfUser) *NullableCollectionOfUser

func (NullableCollectionOfUser) Get

func (NullableCollectionOfUser) IsSet

func (v NullableCollectionOfUser) IsSet() bool

func (NullableCollectionOfUser) MarshalJSON

func (v NullableCollectionOfUser) MarshalJSON() ([]byte, error)

func (*NullableCollectionOfUser) Set

func (*NullableCollectionOfUser) UnmarshalJSON

func (v *NullableCollectionOfUser) UnmarshalJSON(src []byte) error

func (*NullableCollectionOfUser) Unset

func (v *NullableCollectionOfUser) Unset()

type NullableDeleted

type NullableDeleted struct {
	// contains filtered or unexported fields
}

func NewNullableDeleted

func NewNullableDeleted(val *Deleted) *NullableDeleted

func (NullableDeleted) Get

func (v NullableDeleted) Get() *Deleted

func (NullableDeleted) IsSet

func (v NullableDeleted) IsSet() bool

func (NullableDeleted) MarshalJSON

func (v NullableDeleted) MarshalJSON() ([]byte, error)

func (*NullableDeleted) Set

func (v *NullableDeleted) Set(val *Deleted)

func (*NullableDeleted) UnmarshalJSON

func (v *NullableDeleted) UnmarshalJSON(src []byte) error

func (*NullableDeleted) Unset

func (v *NullableDeleted) Unset()

type NullableDirectoryObject

type NullableDirectoryObject struct {
	// contains filtered or unexported fields
}

func NewNullableDirectoryObject

func NewNullableDirectoryObject(val *DirectoryObject) *NullableDirectoryObject

func (NullableDirectoryObject) Get

func (NullableDirectoryObject) IsSet

func (v NullableDirectoryObject) IsSet() bool

func (NullableDirectoryObject) MarshalJSON

func (v NullableDirectoryObject) MarshalJSON() ([]byte, error)

func (*NullableDirectoryObject) Set

func (*NullableDirectoryObject) UnmarshalJSON

func (v *NullableDirectoryObject) UnmarshalJSON(src []byte) error

func (*NullableDirectoryObject) Unset

func (v *NullableDirectoryObject) Unset()

type NullableDrive

type NullableDrive struct {
	// contains filtered or unexported fields
}

func NewNullableDrive

func NewNullableDrive(val *Drive) *NullableDrive

func (NullableDrive) Get

func (v NullableDrive) Get() *Drive

func (NullableDrive) IsSet

func (v NullableDrive) IsSet() bool

func (NullableDrive) MarshalJSON

func (v NullableDrive) MarshalJSON() ([]byte, error)

func (*NullableDrive) Set

func (v *NullableDrive) Set(val *Drive)

func (*NullableDrive) UnmarshalJSON

func (v *NullableDrive) UnmarshalJSON(src []byte) error

func (*NullableDrive) Unset

func (v *NullableDrive) Unset()

type NullableDriveItem

type NullableDriveItem struct {
	// contains filtered or unexported fields
}

func NewNullableDriveItem

func NewNullableDriveItem(val *DriveItem) *NullableDriveItem

func (NullableDriveItem) Get

func (v NullableDriveItem) Get() *DriveItem

func (NullableDriveItem) IsSet

func (v NullableDriveItem) IsSet() bool

func (NullableDriveItem) MarshalJSON

func (v NullableDriveItem) MarshalJSON() ([]byte, error)

func (*NullableDriveItem) Set

func (v *NullableDriveItem) Set(val *DriveItem)

func (*NullableDriveItem) UnmarshalJSON

func (v *NullableDriveItem) UnmarshalJSON(src []byte) error

func (*NullableDriveItem) Unset

func (v *NullableDriveItem) Unset()

type NullableFileSystemInfo

type NullableFileSystemInfo struct {
	// contains filtered or unexported fields
}

func NewNullableFileSystemInfo

func NewNullableFileSystemInfo(val *FileSystemInfo) *NullableFileSystemInfo

func (NullableFileSystemInfo) Get

func (NullableFileSystemInfo) IsSet

func (v NullableFileSystemInfo) IsSet() bool

func (NullableFileSystemInfo) MarshalJSON

func (v NullableFileSystemInfo) MarshalJSON() ([]byte, error)

func (*NullableFileSystemInfo) Set

func (*NullableFileSystemInfo) UnmarshalJSON

func (v *NullableFileSystemInfo) UnmarshalJSON(src []byte) error

func (*NullableFileSystemInfo) Unset

func (v *NullableFileSystemInfo) Unset()

type NullableFloat32

type NullableFloat32 struct {
	// contains filtered or unexported fields
}

func NewNullableFloat32

func NewNullableFloat32(val *float32) *NullableFloat32

func (NullableFloat32) Get

func (v NullableFloat32) Get() *float32

func (NullableFloat32) IsSet

func (v NullableFloat32) IsSet() bool

func (NullableFloat32) MarshalJSON

func (v NullableFloat32) MarshalJSON() ([]byte, error)

func (*NullableFloat32) Set

func (v *NullableFloat32) Set(val *float32)

func (*NullableFloat32) UnmarshalJSON

func (v *NullableFloat32) UnmarshalJSON(src []byte) error

func (*NullableFloat32) Unset

func (v *NullableFloat32) Unset()

type NullableFloat64

type NullableFloat64 struct {
	// contains filtered or unexported fields
}

func NewNullableFloat64

func NewNullableFloat64(val *float64) *NullableFloat64

func (NullableFloat64) Get

func (v NullableFloat64) Get() *float64

func (NullableFloat64) IsSet

func (v NullableFloat64) IsSet() bool

func (NullableFloat64) MarshalJSON

func (v NullableFloat64) MarshalJSON() ([]byte, error)

func (*NullableFloat64) Set

func (v *NullableFloat64) Set(val *float64)

func (*NullableFloat64) UnmarshalJSON

func (v *NullableFloat64) UnmarshalJSON(src []byte) error

func (*NullableFloat64) Unset

func (v *NullableFloat64) Unset()

type NullableFolder

type NullableFolder struct {
	// contains filtered or unexported fields
}

func NewNullableFolder

func NewNullableFolder(val *Folder) *NullableFolder

func (NullableFolder) Get

func (v NullableFolder) Get() *Folder

func (NullableFolder) IsSet

func (v NullableFolder) IsSet() bool

func (NullableFolder) MarshalJSON

func (v NullableFolder) MarshalJSON() ([]byte, error)

func (*NullableFolder) Set

func (v *NullableFolder) Set(val *Folder)

func (*NullableFolder) UnmarshalJSON

func (v *NullableFolder) UnmarshalJSON(src []byte) error

func (*NullableFolder) Unset

func (v *NullableFolder) Unset()

type NullableFolderView

type NullableFolderView struct {
	// contains filtered or unexported fields
}

func NewNullableFolderView

func NewNullableFolderView(val *FolderView) *NullableFolderView

func (NullableFolderView) Get

func (v NullableFolderView) Get() *FolderView

func (NullableFolderView) IsSet

func (v NullableFolderView) IsSet() bool

func (NullableFolderView) MarshalJSON

func (v NullableFolderView) MarshalJSON() ([]byte, error)

func (*NullableFolderView) Set

func (v *NullableFolderView) Set(val *FolderView)

func (*NullableFolderView) UnmarshalJSON

func (v *NullableFolderView) UnmarshalJSON(src []byte) error

func (*NullableFolderView) Unset

func (v *NullableFolderView) Unset()

type NullableGroup

type NullableGroup struct {
	// contains filtered or unexported fields
}

func NewNullableGroup

func NewNullableGroup(val *Group) *NullableGroup

func (NullableGroup) Get

func (v NullableGroup) Get() *Group

func (NullableGroup) IsSet

func (v NullableGroup) IsSet() bool

func (NullableGroup) MarshalJSON

func (v NullableGroup) MarshalJSON() ([]byte, error)

func (*NullableGroup) Set

func (v *NullableGroup) Set(val *Group)

func (*NullableGroup) UnmarshalJSON

func (v *NullableGroup) UnmarshalJSON(src []byte) error

func (*NullableGroup) Unset

func (v *NullableGroup) Unset()

type NullableHashes

type NullableHashes struct {
	// contains filtered or unexported fields
}

func NewNullableHashes

func NewNullableHashes(val *Hashes) *NullableHashes

func (NullableHashes) Get

func (v NullableHashes) Get() *Hashes

func (NullableHashes) IsSet

func (v NullableHashes) IsSet() bool

func (NullableHashes) MarshalJSON

func (v NullableHashes) MarshalJSON() ([]byte, error)

func (*NullableHashes) Set

func (v *NullableHashes) Set(val *Hashes)

func (*NullableHashes) UnmarshalJSON

func (v *NullableHashes) UnmarshalJSON(src []byte) error

func (*NullableHashes) Unset

func (v *NullableHashes) Unset()

type NullableIdentity

type NullableIdentity struct {
	// contains filtered or unexported fields
}

func NewNullableIdentity

func NewNullableIdentity(val *Identity) *NullableIdentity

func (NullableIdentity) Get

func (v NullableIdentity) Get() *Identity

func (NullableIdentity) IsSet

func (v NullableIdentity) IsSet() bool

func (NullableIdentity) MarshalJSON

func (v NullableIdentity) MarshalJSON() ([]byte, error)

func (*NullableIdentity) Set

func (v *NullableIdentity) Set(val *Identity)

func (*NullableIdentity) UnmarshalJSON

func (v *NullableIdentity) UnmarshalJSON(src []byte) error

func (*NullableIdentity) Unset

func (v *NullableIdentity) Unset()

type NullableIdentitySet

type NullableIdentitySet struct {
	// contains filtered or unexported fields
}

func NewNullableIdentitySet

func NewNullableIdentitySet(val *IdentitySet) *NullableIdentitySet

func (NullableIdentitySet) Get

func (NullableIdentitySet) IsSet

func (v NullableIdentitySet) IsSet() bool

func (NullableIdentitySet) MarshalJSON

func (v NullableIdentitySet) MarshalJSON() ([]byte, error)

func (*NullableIdentitySet) Set

func (v *NullableIdentitySet) Set(val *IdentitySet)

func (*NullableIdentitySet) UnmarshalJSON

func (v *NullableIdentitySet) UnmarshalJSON(src []byte) error

func (*NullableIdentitySet) Unset

func (v *NullableIdentitySet) Unset()

type NullableImage

type NullableImage struct {
	// contains filtered or unexported fields
}

func NewNullableImage

func NewNullableImage(val *Image) *NullableImage

func (NullableImage) Get

func (v NullableImage) Get() *Image

func (NullableImage) IsSet

func (v NullableImage) IsSet() bool

func (NullableImage) MarshalJSON

func (v NullableImage) MarshalJSON() ([]byte, error)

func (*NullableImage) Set

func (v *NullableImage) Set(val *Image)

func (*NullableImage) UnmarshalJSON

func (v *NullableImage) UnmarshalJSON(src []byte) error

func (*NullableImage) Unset

func (v *NullableImage) Unset()

type NullableInt

type NullableInt struct {
	// contains filtered or unexported fields
}

func NewNullableInt

func NewNullableInt(val *int) *NullableInt

func (NullableInt) Get

func (v NullableInt) Get() *int

func (NullableInt) IsSet

func (v NullableInt) IsSet() bool

func (NullableInt) MarshalJSON

func (v NullableInt) MarshalJSON() ([]byte, error)

func (*NullableInt) Set

func (v *NullableInt) Set(val *int)

func (*NullableInt) UnmarshalJSON

func (v *NullableInt) UnmarshalJSON(src []byte) error

func (*NullableInt) Unset

func (v *NullableInt) Unset()

type NullableInt32

type NullableInt32 struct {
	// contains filtered or unexported fields
}

func NewNullableInt32

func NewNullableInt32(val *int32) *NullableInt32

func (NullableInt32) Get

func (v NullableInt32) Get() *int32

func (NullableInt32) IsSet

func (v NullableInt32) IsSet() bool

func (NullableInt32) MarshalJSON

func (v NullableInt32) MarshalJSON() ([]byte, error)

func (*NullableInt32) Set

func (v *NullableInt32) Set(val *int32)

func (*NullableInt32) UnmarshalJSON

func (v *NullableInt32) UnmarshalJSON(src []byte) error

func (*NullableInt32) Unset

func (v *NullableInt32) Unset()

type NullableInt64

type NullableInt64 struct {
	// contains filtered or unexported fields
}

func NewNullableInt64

func NewNullableInt64(val *int64) *NullableInt64

func (NullableInt64) Get

func (v NullableInt64) Get() *int64

func (NullableInt64) IsSet

func (v NullableInt64) IsSet() bool

func (NullableInt64) MarshalJSON

func (v NullableInt64) MarshalJSON() ([]byte, error)

func (*NullableInt64) Set

func (v *NullableInt64) Set(val *int64)

func (*NullableInt64) UnmarshalJSON

func (v *NullableInt64) UnmarshalJSON(src []byte) error

func (*NullableInt64) Unset

func (v *NullableInt64) Unset()

type NullableItemReference

type NullableItemReference struct {
	// contains filtered or unexported fields
}

func NewNullableItemReference

func NewNullableItemReference(val *ItemReference) *NullableItemReference

func (NullableItemReference) Get

func (NullableItemReference) IsSet

func (v NullableItemReference) IsSet() bool

func (NullableItemReference) MarshalJSON

func (v NullableItemReference) MarshalJSON() ([]byte, error)

func (*NullableItemReference) Set

func (v *NullableItemReference) Set(val *ItemReference)

func (*NullableItemReference) UnmarshalJSON

func (v *NullableItemReference) UnmarshalJSON(src []byte) error

func (*NullableItemReference) Unset

func (v *NullableItemReference) Unset()

type NullableMemberReference

type NullableMemberReference struct {
	// contains filtered or unexported fields
}

func NewNullableMemberReference

func NewNullableMemberReference(val *MemberReference) *NullableMemberReference

func (NullableMemberReference) Get

func (NullableMemberReference) IsSet

func (v NullableMemberReference) IsSet() bool

func (NullableMemberReference) MarshalJSON

func (v NullableMemberReference) MarshalJSON() ([]byte, error)

func (*NullableMemberReference) Set

func (*NullableMemberReference) UnmarshalJSON

func (v *NullableMemberReference) UnmarshalJSON(src []byte) error

func (*NullableMemberReference) Unset

func (v *NullableMemberReference) Unset()

type NullableOdataError

type NullableOdataError struct {
	// contains filtered or unexported fields
}

func NewNullableOdataError

func NewNullableOdataError(val *OdataError) *NullableOdataError

func (NullableOdataError) Get

func (v NullableOdataError) Get() *OdataError

func (NullableOdataError) IsSet

func (v NullableOdataError) IsSet() bool

func (NullableOdataError) MarshalJSON

func (v NullableOdataError) MarshalJSON() ([]byte, error)

func (*NullableOdataError) Set

func (v *NullableOdataError) Set(val *OdataError)

func (*NullableOdataError) UnmarshalJSON

func (v *NullableOdataError) UnmarshalJSON(src []byte) error

func (*NullableOdataError) Unset

func (v *NullableOdataError) Unset()

type NullableOdataErrorDetail

type NullableOdataErrorDetail struct {
	// contains filtered or unexported fields
}

func NewNullableOdataErrorDetail

func NewNullableOdataErrorDetail(val *OdataErrorDetail) *NullableOdataErrorDetail

func (NullableOdataErrorDetail) Get

func (NullableOdataErrorDetail) IsSet

func (v NullableOdataErrorDetail) IsSet() bool

func (NullableOdataErrorDetail) MarshalJSON

func (v NullableOdataErrorDetail) MarshalJSON() ([]byte, error)

func (*NullableOdataErrorDetail) Set

func (*NullableOdataErrorDetail) UnmarshalJSON

func (v *NullableOdataErrorDetail) UnmarshalJSON(src []byte) error

func (*NullableOdataErrorDetail) Unset

func (v *NullableOdataErrorDetail) Unset()

type NullableOdataErrorMain

type NullableOdataErrorMain struct {
	// contains filtered or unexported fields
}

func NewNullableOdataErrorMain

func NewNullableOdataErrorMain(val *OdataErrorMain) *NullableOdataErrorMain

func (NullableOdataErrorMain) Get

func (NullableOdataErrorMain) IsSet

func (v NullableOdataErrorMain) IsSet() bool

func (NullableOdataErrorMain) MarshalJSON

func (v NullableOdataErrorMain) MarshalJSON() ([]byte, error)

func (*NullableOdataErrorMain) Set

func (*NullableOdataErrorMain) UnmarshalJSON

func (v *NullableOdataErrorMain) UnmarshalJSON(src []byte) error

func (*NullableOdataErrorMain) Unset

func (v *NullableOdataErrorMain) Unset()

type NullableOpenGraphFile

type NullableOpenGraphFile struct {
	// contains filtered or unexported fields
}

func NewNullableOpenGraphFile

func NewNullableOpenGraphFile(val *OpenGraphFile) *NullableOpenGraphFile

func (NullableOpenGraphFile) Get

func (NullableOpenGraphFile) IsSet

func (v NullableOpenGraphFile) IsSet() bool

func (NullableOpenGraphFile) MarshalJSON

func (v NullableOpenGraphFile) MarshalJSON() ([]byte, error)

func (*NullableOpenGraphFile) Set

func (v *NullableOpenGraphFile) Set(val *OpenGraphFile)

func (*NullableOpenGraphFile) UnmarshalJSON

func (v *NullableOpenGraphFile) UnmarshalJSON(src []byte) error

func (*NullableOpenGraphFile) Unset

func (v *NullableOpenGraphFile) Unset()

type NullablePasswordChange added in v0.14.2

type NullablePasswordChange struct {
	// contains filtered or unexported fields
}

func NewNullablePasswordChange added in v0.14.2

func NewNullablePasswordChange(val *PasswordChange) *NullablePasswordChange

func (NullablePasswordChange) Get added in v0.14.2

func (NullablePasswordChange) IsSet added in v0.14.2

func (v NullablePasswordChange) IsSet() bool

func (NullablePasswordChange) MarshalJSON added in v0.14.2

func (v NullablePasswordChange) MarshalJSON() ([]byte, error)

func (*NullablePasswordChange) Set added in v0.14.2

func (*NullablePasswordChange) UnmarshalJSON added in v0.14.2

func (v *NullablePasswordChange) UnmarshalJSON(src []byte) error

func (*NullablePasswordChange) Unset added in v0.14.2

func (v *NullablePasswordChange) Unset()

type NullablePasswordProfile

type NullablePasswordProfile struct {
	// contains filtered or unexported fields
}

func NewNullablePasswordProfile

func NewNullablePasswordProfile(val *PasswordProfile) *NullablePasswordProfile

func (NullablePasswordProfile) Get

func (NullablePasswordProfile) IsSet

func (v NullablePasswordProfile) IsSet() bool

func (NullablePasswordProfile) MarshalJSON

func (v NullablePasswordProfile) MarshalJSON() ([]byte, error)

func (*NullablePasswordProfile) Set

func (*NullablePasswordProfile) UnmarshalJSON

func (v *NullablePasswordProfile) UnmarshalJSON(src []byte) error

func (*NullablePasswordProfile) Unset

func (v *NullablePasswordProfile) Unset()

type NullablePermission

type NullablePermission struct {
	// contains filtered or unexported fields
}

func NewNullablePermission

func NewNullablePermission(val *Permission) *NullablePermission

func (NullablePermission) Get

func (v NullablePermission) Get() *Permission

func (NullablePermission) IsSet

func (v NullablePermission) IsSet() bool

func (NullablePermission) MarshalJSON

func (v NullablePermission) MarshalJSON() ([]byte, error)

func (*NullablePermission) Set

func (v *NullablePermission) Set(val *Permission)

func (*NullablePermission) UnmarshalJSON

func (v *NullablePermission) UnmarshalJSON(src []byte) error

func (*NullablePermission) Unset

func (v *NullablePermission) Unset()

type NullableQuota

type NullableQuota struct {
	// contains filtered or unexported fields
}

func NewNullableQuota

func NewNullableQuota(val *Quota) *NullableQuota

func (NullableQuota) Get

func (v NullableQuota) Get() *Quota

func (NullableQuota) IsSet

func (v NullableQuota) IsSet() bool

func (NullableQuota) MarshalJSON

func (v NullableQuota) MarshalJSON() ([]byte, error)

func (*NullableQuota) Set

func (v *NullableQuota) Set(val *Quota)

func (*NullableQuota) UnmarshalJSON

func (v *NullableQuota) UnmarshalJSON(src []byte) error

func (*NullableQuota) Unset

func (v *NullableQuota) Unset()

type NullableRemoteItem

type NullableRemoteItem struct {
	// contains filtered or unexported fields
}

func NewNullableRemoteItem

func NewNullableRemoteItem(val *RemoteItem) *NullableRemoteItem

func (NullableRemoteItem) Get

func (v NullableRemoteItem) Get() *RemoteItem

func (NullableRemoteItem) IsSet

func (v NullableRemoteItem) IsSet() bool

func (NullableRemoteItem) MarshalJSON

func (v NullableRemoteItem) MarshalJSON() ([]byte, error)

func (*NullableRemoteItem) Set

func (v *NullableRemoteItem) Set(val *RemoteItem)

func (*NullableRemoteItem) UnmarshalJSON

func (v *NullableRemoteItem) UnmarshalJSON(src []byte) error

func (*NullableRemoteItem) Unset

func (v *NullableRemoteItem) Unset()

type NullableShared

type NullableShared struct {
	// contains filtered or unexported fields
}

func NewNullableShared

func NewNullableShared(val *Shared) *NullableShared

func (NullableShared) Get

func (v NullableShared) Get() *Shared

func (NullableShared) IsSet

func (v NullableShared) IsSet() bool

func (NullableShared) MarshalJSON

func (v NullableShared) MarshalJSON() ([]byte, error)

func (*NullableShared) Set

func (v *NullableShared) Set(val *Shared)

func (*NullableShared) UnmarshalJSON

func (v *NullableShared) UnmarshalJSON(src []byte) error

func (*NullableShared) Unset

func (v *NullableShared) Unset()

type NullableSpecialFolder

type NullableSpecialFolder struct {
	// contains filtered or unexported fields
}

func NewNullableSpecialFolder

func NewNullableSpecialFolder(val *SpecialFolder) *NullableSpecialFolder

func (NullableSpecialFolder) Get

func (NullableSpecialFolder) IsSet

func (v NullableSpecialFolder) IsSet() bool

func (NullableSpecialFolder) MarshalJSON

func (v NullableSpecialFolder) MarshalJSON() ([]byte, error)

func (*NullableSpecialFolder) Set

func (v *NullableSpecialFolder) Set(val *SpecialFolder)

func (*NullableSpecialFolder) UnmarshalJSON

func (v *NullableSpecialFolder) UnmarshalJSON(src []byte) error

func (*NullableSpecialFolder) Unset

func (v *NullableSpecialFolder) Unset()

type NullableString

type NullableString struct {
	// contains filtered or unexported fields
}

func NewNullableString

func NewNullableString(val *string) *NullableString

func (NullableString) Get

func (v NullableString) Get() *string

func (NullableString) IsSet

func (v NullableString) IsSet() bool

func (NullableString) MarshalJSON

func (v NullableString) MarshalJSON() ([]byte, error)

func (*NullableString) Set

func (v *NullableString) Set(val *string)

func (*NullableString) UnmarshalJSON

func (v *NullableString) UnmarshalJSON(src []byte) error

func (*NullableString) Unset

func (v *NullableString) Unset()

type NullableTime

type NullableTime struct {
	// contains filtered or unexported fields
}

func NewNullableTime

func NewNullableTime(val *time.Time) *NullableTime

func (NullableTime) Get

func (v NullableTime) Get() *time.Time

func (NullableTime) IsSet

func (v NullableTime) IsSet() bool

func (NullableTime) MarshalJSON

func (v NullableTime) MarshalJSON() ([]byte, error)

func (*NullableTime) Set

func (v *NullableTime) Set(val *time.Time)

func (*NullableTime) UnmarshalJSON

func (v *NullableTime) UnmarshalJSON(src []byte) error

func (*NullableTime) Unset

func (v *NullableTime) Unset()

type NullableTrash

type NullableTrash struct {
	// contains filtered or unexported fields
}

func NewNullableTrash

func NewNullableTrash(val *Trash) *NullableTrash

func (NullableTrash) Get

func (v NullableTrash) Get() *Trash

func (NullableTrash) IsSet

func (v NullableTrash) IsSet() bool

func (NullableTrash) MarshalJSON

func (v NullableTrash) MarshalJSON() ([]byte, error)

func (*NullableTrash) Set

func (v *NullableTrash) Set(val *Trash)

func (*NullableTrash) UnmarshalJSON

func (v *NullableTrash) UnmarshalJSON(src []byte) error

func (*NullableTrash) Unset

func (v *NullableTrash) Unset()

type NullableUser

type NullableUser struct {
	// contains filtered or unexported fields
}

func NewNullableUser

func NewNullableUser(val *User) *NullableUser

func (NullableUser) Get

func (v NullableUser) Get() *User

func (NullableUser) IsSet

func (v NullableUser) IsSet() bool

func (NullableUser) MarshalJSON

func (v NullableUser) MarshalJSON() ([]byte, error)

func (*NullableUser) Set

func (v *NullableUser) Set(val *User)

func (*NullableUser) UnmarshalJSON

func (v *NullableUser) UnmarshalJSON(src []byte) error

func (*NullableUser) Unset

func (v *NullableUser) Unset()

type OdataError

type OdataError struct {
	Error OdataErrorMain `json:"error"`
}

OdataError struct for OdataError

func NewOdataError

func NewOdataError(error_ OdataErrorMain) *OdataError

NewOdataError instantiates a new OdataError object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewOdataErrorWithDefaults

func NewOdataErrorWithDefaults() *OdataError

NewOdataErrorWithDefaults instantiates a new OdataError object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*OdataError) GetError

func (o *OdataError) GetError() OdataErrorMain

GetError returns the Error field value

func (*OdataError) GetErrorOk

func (o *OdataError) GetErrorOk() (*OdataErrorMain, bool)

GetErrorOk returns a tuple with the Error field value and a boolean to check if the value has been set.

func (OdataError) MarshalJSON

func (o OdataError) MarshalJSON() ([]byte, error)

func (*OdataError) SetError

func (o *OdataError) SetError(v OdataErrorMain)

SetError sets field value

type OdataErrorDetail

type OdataErrorDetail struct {
	Code    string  `json:"code"`
	Message string  `json:"message"`
	Target  *string `json:"target,omitempty"`
}

OdataErrorDetail struct for OdataErrorDetail

func NewOdataErrorDetail

func NewOdataErrorDetail(code string, message string) *OdataErrorDetail

NewOdataErrorDetail instantiates a new OdataErrorDetail object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewOdataErrorDetailWithDefaults

func NewOdataErrorDetailWithDefaults() *OdataErrorDetail

NewOdataErrorDetailWithDefaults instantiates a new OdataErrorDetail object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*OdataErrorDetail) GetCode

func (o *OdataErrorDetail) GetCode() string

GetCode returns the Code field value

func (*OdataErrorDetail) GetCodeOk

func (o *OdataErrorDetail) GetCodeOk() (*string, bool)

GetCodeOk returns a tuple with the Code field value and a boolean to check if the value has been set.

func (*OdataErrorDetail) GetMessage

func (o *OdataErrorDetail) GetMessage() string

GetMessage returns the Message field value

func (*OdataErrorDetail) GetMessageOk

func (o *OdataErrorDetail) GetMessageOk() (*string, bool)

GetMessageOk returns a tuple with the Message field value and a boolean to check if the value has been set.

func (*OdataErrorDetail) GetTarget

func (o *OdataErrorDetail) GetTarget() string

GetTarget returns the Target field value if set, zero value otherwise.

func (*OdataErrorDetail) GetTargetOk

func (o *OdataErrorDetail) GetTargetOk() (*string, bool)

GetTargetOk returns a tuple with the Target field value if set, nil otherwise and a boolean to check if the value has been set.

func (*OdataErrorDetail) HasTarget

func (o *OdataErrorDetail) HasTarget() bool

HasTarget returns a boolean if a field has been set.

func (OdataErrorDetail) MarshalJSON

func (o OdataErrorDetail) MarshalJSON() ([]byte, error)

func (*OdataErrorDetail) SetCode

func (o *OdataErrorDetail) SetCode(v string)

SetCode sets field value

func (*OdataErrorDetail) SetMessage

func (o *OdataErrorDetail) SetMessage(v string)

SetMessage sets field value

func (*OdataErrorDetail) SetTarget

func (o *OdataErrorDetail) SetTarget(v string)

SetTarget gets a reference to the given string and assigns it to the Target field.

type OdataErrorMain

type OdataErrorMain struct {
	Code    string             `json:"code"`
	Message string             `json:"message"`
	Target  *string            `json:"target,omitempty"`
	Details []OdataErrorDetail `json:"details,omitempty"`
	// The structure of this object is service-specific
	Innererror map[string]interface{} `json:"innererror,omitempty"`
}

OdataErrorMain struct for OdataErrorMain

func NewOdataErrorMain

func NewOdataErrorMain(code string, message string) *OdataErrorMain

NewOdataErrorMain instantiates a new OdataErrorMain object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewOdataErrorMainWithDefaults

func NewOdataErrorMainWithDefaults() *OdataErrorMain

NewOdataErrorMainWithDefaults instantiates a new OdataErrorMain object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*OdataErrorMain) GetCode

func (o *OdataErrorMain) GetCode() string

GetCode returns the Code field value

func (*OdataErrorMain) GetCodeOk

func (o *OdataErrorMain) GetCodeOk() (*string, bool)

GetCodeOk returns a tuple with the Code field value and a boolean to check if the value has been set.

func (*OdataErrorMain) GetDetails

func (o *OdataErrorMain) GetDetails() []OdataErrorDetail

GetDetails returns the Details field value if set, zero value otherwise.

func (*OdataErrorMain) GetDetailsOk

func (o *OdataErrorMain) GetDetailsOk() ([]OdataErrorDetail, bool)

GetDetailsOk returns a tuple with the Details field value if set, nil otherwise and a boolean to check if the value has been set.

func (*OdataErrorMain) GetInnererror

func (o *OdataErrorMain) GetInnererror() map[string]interface{}

GetInnererror returns the Innererror field value if set, zero value otherwise.

func (*OdataErrorMain) GetInnererrorOk

func (o *OdataErrorMain) GetInnererrorOk() (map[string]interface{}, bool)

GetInnererrorOk returns a tuple with the Innererror field value if set, nil otherwise and a boolean to check if the value has been set.

func (*OdataErrorMain) GetMessage

func (o *OdataErrorMain) GetMessage() string

GetMessage returns the Message field value

func (*OdataErrorMain) GetMessageOk

func (o *OdataErrorMain) GetMessageOk() (*string, bool)

GetMessageOk returns a tuple with the Message field value and a boolean to check if the value has been set.

func (*OdataErrorMain) GetTarget

func (o *OdataErrorMain) GetTarget() string

GetTarget returns the Target field value if set, zero value otherwise.

func (*OdataErrorMain) GetTargetOk

func (o *OdataErrorMain) GetTargetOk() (*string, bool)

GetTargetOk returns a tuple with the Target field value if set, nil otherwise and a boolean to check if the value has been set.

func (*OdataErrorMain) HasDetails

func (o *OdataErrorMain) HasDetails() bool

HasDetails returns a boolean if a field has been set.

func (*OdataErrorMain) HasInnererror

func (o *OdataErrorMain) HasInnererror() bool

HasInnererror returns a boolean if a field has been set.

func (*OdataErrorMain) HasTarget

func (o *OdataErrorMain) HasTarget() bool

HasTarget returns a boolean if a field has been set.

func (OdataErrorMain) MarshalJSON

func (o OdataErrorMain) MarshalJSON() ([]byte, error)

func (*OdataErrorMain) SetCode

func (o *OdataErrorMain) SetCode(v string)

SetCode sets field value

func (*OdataErrorMain) SetDetails

func (o *OdataErrorMain) SetDetails(v []OdataErrorDetail)

SetDetails gets a reference to the given []OdataErrorDetail and assigns it to the Details field.

func (*OdataErrorMain) SetInnererror

func (o *OdataErrorMain) SetInnererror(v map[string]interface{})

SetInnererror gets a reference to the given map[string]interface{} and assigns it to the Innererror field.

func (*OdataErrorMain) SetMessage

func (o *OdataErrorMain) SetMessage(v string)

SetMessage sets field value

func (*OdataErrorMain) SetTarget

func (o *OdataErrorMain) SetTarget(v string)

SetTarget gets a reference to the given string and assigns it to the Target field.

type OpenGraphFile

type OpenGraphFile struct {
	Hashes *Hashes `json:"hashes,omitempty"`
	// The MIME type for the file. This is determined by logic on the server and might not be the value provided when the file was uploaded. Read-only.
	MimeType           *string `json:"mimeType,omitempty"`
	ProcessingMetadata *bool   `json:"processingMetadata,omitempty"`
}

OpenGraphFile File metadata, if the item is a file. Read-only.

func NewOpenGraphFile

func NewOpenGraphFile() *OpenGraphFile

NewOpenGraphFile instantiates a new OpenGraphFile object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewOpenGraphFileWithDefaults

func NewOpenGraphFileWithDefaults() *OpenGraphFile

NewOpenGraphFileWithDefaults instantiates a new OpenGraphFile object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*OpenGraphFile) GetHashes

func (o *OpenGraphFile) GetHashes() Hashes

GetHashes returns the Hashes field value if set, zero value otherwise.

func (*OpenGraphFile) GetHashesOk

func (o *OpenGraphFile) GetHashesOk() (*Hashes, bool)

GetHashesOk returns a tuple with the Hashes field value if set, nil otherwise and a boolean to check if the value has been set.

func (*OpenGraphFile) GetMimeType

func (o *OpenGraphFile) GetMimeType() string

GetMimeType returns the MimeType field value if set, zero value otherwise.

func (*OpenGraphFile) GetMimeTypeOk

func (o *OpenGraphFile) GetMimeTypeOk() (*string, bool)

GetMimeTypeOk returns a tuple with the MimeType field value if set, nil otherwise and a boolean to check if the value has been set.

func (*OpenGraphFile) GetProcessingMetadata

func (o *OpenGraphFile) GetProcessingMetadata() bool

GetProcessingMetadata returns the ProcessingMetadata field value if set, zero value otherwise.

func (*OpenGraphFile) GetProcessingMetadataOk

func (o *OpenGraphFile) GetProcessingMetadataOk() (*bool, bool)

GetProcessingMetadataOk returns a tuple with the ProcessingMetadata field value if set, nil otherwise and a boolean to check if the value has been set.

func (*OpenGraphFile) HasHashes

func (o *OpenGraphFile) HasHashes() bool

HasHashes returns a boolean if a field has been set.

func (*OpenGraphFile) HasMimeType

func (o *OpenGraphFile) HasMimeType() bool

HasMimeType returns a boolean if a field has been set.

func (*OpenGraphFile) HasProcessingMetadata

func (o *OpenGraphFile) HasProcessingMetadata() bool

HasProcessingMetadata returns a boolean if a field has been set.

func (OpenGraphFile) MarshalJSON

func (o OpenGraphFile) MarshalJSON() ([]byte, error)

func (*OpenGraphFile) SetHashes

func (o *OpenGraphFile) SetHashes(v Hashes)

SetHashes gets a reference to the given Hashes and assigns it to the Hashes field.

func (*OpenGraphFile) SetMimeType

func (o *OpenGraphFile) SetMimeType(v string)

SetMimeType gets a reference to the given string and assigns it to the MimeType field.

func (*OpenGraphFile) SetProcessingMetadata

func (o *OpenGraphFile) SetProcessingMetadata(v bool)

SetProcessingMetadata gets a reference to the given bool and assigns it to the ProcessingMetadata field.

type PasswordChange added in v0.14.2

type PasswordChange struct {
	CurrentPassword *string `json:"currentPassword,omitempty"`
	NewPassword     *string `json:"newPassword,omitempty"`
}

PasswordChange struct for PasswordChange

func NewPasswordChange added in v0.14.2

func NewPasswordChange() *PasswordChange

NewPasswordChange instantiates a new PasswordChange object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewPasswordChangeWithDefaults added in v0.14.2

func NewPasswordChangeWithDefaults() *PasswordChange

NewPasswordChangeWithDefaults instantiates a new PasswordChange object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*PasswordChange) GetCurrentPassword added in v0.14.2

func (o *PasswordChange) GetCurrentPassword() string

GetCurrentPassword returns the CurrentPassword field value if set, zero value otherwise.

func (*PasswordChange) GetCurrentPasswordOk added in v0.14.2

func (o *PasswordChange) GetCurrentPasswordOk() (*string, bool)

GetCurrentPasswordOk returns a tuple with the CurrentPassword field value if set, nil otherwise and a boolean to check if the value has been set.

func (*PasswordChange) GetNewPassword added in v0.14.2

func (o *PasswordChange) GetNewPassword() string

GetNewPassword returns the NewPassword field value if set, zero value otherwise.

func (*PasswordChange) GetNewPasswordOk added in v0.14.2

func (o *PasswordChange) GetNewPasswordOk() (*string, bool)

GetNewPasswordOk returns a tuple with the NewPassword field value if set, nil otherwise and a boolean to check if the value has been set.

func (*PasswordChange) HasCurrentPassword added in v0.14.2

func (o *PasswordChange) HasCurrentPassword() bool

HasCurrentPassword returns a boolean if a field has been set.

func (*PasswordChange) HasNewPassword added in v0.14.2

func (o *PasswordChange) HasNewPassword() bool

HasNewPassword returns a boolean if a field has been set.

func (PasswordChange) MarshalJSON added in v0.14.2

func (o PasswordChange) MarshalJSON() ([]byte, error)

func (*PasswordChange) SetCurrentPassword added in v0.14.2

func (o *PasswordChange) SetCurrentPassword(v string)

SetCurrentPassword gets a reference to the given string and assigns it to the CurrentPassword field.

func (*PasswordChange) SetNewPassword added in v0.14.2

func (o *PasswordChange) SetNewPassword(v string)

SetNewPassword gets a reference to the given string and assigns it to the NewPassword field.

type PasswordProfile

type PasswordProfile struct {
	// If true the user is required to change their password upon the next login
	ForceChangePasswordNextSignIn *bool `json:"forceChangePasswordNextSignIn,omitempty"`
	// The user's password
	Password *string `json:"password,omitempty"`
}

PasswordProfile Password Profile associated with a user

func NewPasswordProfile

func NewPasswordProfile() *PasswordProfile

NewPasswordProfile instantiates a new PasswordProfile object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewPasswordProfileWithDefaults

func NewPasswordProfileWithDefaults() *PasswordProfile

NewPasswordProfileWithDefaults instantiates a new PasswordProfile object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*PasswordProfile) GetForceChangePasswordNextSignIn

func (o *PasswordProfile) GetForceChangePasswordNextSignIn() bool

GetForceChangePasswordNextSignIn returns the ForceChangePasswordNextSignIn field value if set, zero value otherwise.

func (*PasswordProfile) GetForceChangePasswordNextSignInOk

func (o *PasswordProfile) GetForceChangePasswordNextSignInOk() (*bool, bool)

GetForceChangePasswordNextSignInOk returns a tuple with the ForceChangePasswordNextSignIn field value if set, nil otherwise and a boolean to check if the value has been set.

func (*PasswordProfile) GetPassword

func (o *PasswordProfile) GetPassword() string

GetPassword returns the Password field value if set, zero value otherwise.

func (*PasswordProfile) GetPasswordOk

func (o *PasswordProfile) GetPasswordOk() (*string, bool)

GetPasswordOk returns a tuple with the Password field value if set, nil otherwise and a boolean to check if the value has been set.

func (*PasswordProfile) HasForceChangePasswordNextSignIn

func (o *PasswordProfile) HasForceChangePasswordNextSignIn() bool

HasForceChangePasswordNextSignIn returns a boolean if a field has been set.

func (*PasswordProfile) HasPassword

func (o *PasswordProfile) HasPassword() bool

HasPassword returns a boolean if a field has been set.

func (PasswordProfile) MarshalJSON

func (o PasswordProfile) MarshalJSON() ([]byte, error)

func (*PasswordProfile) SetForceChangePasswordNextSignIn

func (o *PasswordProfile) SetForceChangePasswordNextSignIn(v bool)

SetForceChangePasswordNextSignIn gets a reference to the given bool and assigns it to the ForceChangePasswordNextSignIn field.

func (*PasswordProfile) SetPassword

func (o *PasswordProfile) SetPassword(v string)

SetPassword gets a reference to the given string and assigns it to the Password field.

type Permission

type Permission struct {
	GrantedTo []IdentitySet `json:"grantedTo,omitempty"`
	Roles     []string      `json:"roles,omitempty"`
}

Permission The Permission resource provides information about a sharing permission granted for a DriveItem resource.

func NewPermission

func NewPermission() *Permission

NewPermission instantiates a new Permission object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewPermissionWithDefaults

func NewPermissionWithDefaults() *Permission

NewPermissionWithDefaults instantiates a new Permission object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*Permission) GetGrantedTo

func (o *Permission) GetGrantedTo() []IdentitySet

GetGrantedTo returns the GrantedTo field value if set, zero value otherwise.

func (*Permission) GetGrantedToOk

func (o *Permission) GetGrantedToOk() ([]IdentitySet, bool)

GetGrantedToOk returns a tuple with the GrantedTo field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Permission) GetRoles

func (o *Permission) GetRoles() []string

GetRoles returns the Roles field value if set, zero value otherwise.

func (*Permission) GetRolesOk

func (o *Permission) GetRolesOk() ([]string, bool)

GetRolesOk returns a tuple with the Roles field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Permission) HasGrantedTo

func (o *Permission) HasGrantedTo() bool

HasGrantedTo returns a boolean if a field has been set.

func (*Permission) HasRoles

func (o *Permission) HasRoles() bool

HasRoles returns a boolean if a field has been set.

func (Permission) MarshalJSON

func (o Permission) MarshalJSON() ([]byte, error)

func (*Permission) SetGrantedTo

func (o *Permission) SetGrantedTo(v []IdentitySet)

SetGrantedTo gets a reference to the given []IdentitySet and assigns it to the GrantedTo field.

func (*Permission) SetRoles

func (o *Permission) SetRoles(v []string)

SetRoles gets a reference to the given []string and assigns it to the Roles field.

type Quota

type Quota struct {
	// Total space consumed by files in the recycle bin, in bytes. Read-only.
	Deleted *int64 `json:"deleted,omitempty"`
	// Total space remaining before reaching the quota limit, in bytes. Read-only.
	Remaining *int64 `json:"remaining,omitempty"`
	// Enumeration value that indicates the state of the storage space. Either \"normal\", \"nearing\", \"critical\" or \"exceeded\". Read-only.
	State *string `json:"state,omitempty"`
	// Total allowed storage space, in bytes. Read-only.
	Total *int64 `json:"total,omitempty"`
	// Total space used, in bytes. Read-only.
	Used *int64 `json:"used,omitempty"`
}

Quota Optional. Information about the drive's storage space quota. Read-only.

func NewQuota

func NewQuota() *Quota

NewQuota instantiates a new Quota object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewQuotaWithDefaults

func NewQuotaWithDefaults() *Quota

NewQuotaWithDefaults instantiates a new Quota object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*Quota) GetDeleted

func (o *Quota) GetDeleted() int64

GetDeleted returns the Deleted field value if set, zero value otherwise.

func (*Quota) GetDeletedOk

func (o *Quota) GetDeletedOk() (*int64, bool)

GetDeletedOk returns a tuple with the Deleted field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Quota) GetRemaining

func (o *Quota) GetRemaining() int64

GetRemaining returns the Remaining field value if set, zero value otherwise.

func (*Quota) GetRemainingOk

func (o *Quota) GetRemainingOk() (*int64, bool)

GetRemainingOk returns a tuple with the Remaining field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Quota) GetState

func (o *Quota) GetState() string

GetState returns the State field value if set, zero value otherwise.

func (*Quota) GetStateOk

func (o *Quota) GetStateOk() (*string, bool)

GetStateOk returns a tuple with the State field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Quota) GetTotal

func (o *Quota) GetTotal() int64

GetTotal returns the Total field value if set, zero value otherwise.

func (*Quota) GetTotalOk

func (o *Quota) GetTotalOk() (*int64, bool)

GetTotalOk returns a tuple with the Total field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Quota) GetUsed

func (o *Quota) GetUsed() int64

GetUsed returns the Used field value if set, zero value otherwise.

func (*Quota) GetUsedOk

func (o *Quota) GetUsedOk() (*int64, bool)

GetUsedOk returns a tuple with the Used field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Quota) HasDeleted

func (o *Quota) HasDeleted() bool

HasDeleted returns a boolean if a field has been set.

func (*Quota) HasRemaining

func (o *Quota) HasRemaining() bool

HasRemaining returns a boolean if a field has been set.

func (*Quota) HasState

func (o *Quota) HasState() bool

HasState returns a boolean if a field has been set.

func (*Quota) HasTotal

func (o *Quota) HasTotal() bool

HasTotal returns a boolean if a field has been set.

func (*Quota) HasUsed

func (o *Quota) HasUsed() bool

HasUsed returns a boolean if a field has been set.

func (Quota) MarshalJSON

func (o Quota) MarshalJSON() ([]byte, error)

func (*Quota) SetDeleted

func (o *Quota) SetDeleted(v int64)

SetDeleted gets a reference to the given int64 and assigns it to the Deleted field.

func (*Quota) SetRemaining

func (o *Quota) SetRemaining(v int64)

SetRemaining gets a reference to the given int64 and assigns it to the Remaining field.

func (*Quota) SetState

func (o *Quota) SetState(v string)

SetState gets a reference to the given string and assigns it to the State field.

func (*Quota) SetTotal

func (o *Quota) SetTotal(v int64)

SetTotal gets a reference to the given int64 and assigns it to the Total field.

func (*Quota) SetUsed

func (o *Quota) SetUsed(v int64)

SetUsed gets a reference to the given int64 and assigns it to the Used field.

type RemoteItem

type RemoteItem struct {
	CreatedBy *IdentitySet `json:"createdBy,omitempty"`
	// Date and time of item creation. Read-only.
	CreatedDateTime *time.Time      `json:"createdDateTime,omitempty"`
	File            *OpenGraphFile  `json:"file,omitempty"`
	FileSystemInfo  *FileSystemInfo `json:"fileSystemInfo,omitempty"`
	Folder          *Folder         `json:"folder,omitempty"`
	// Unique identifier for the remote item in its drive. Read-only.
	Id             *string      `json:"id,omitempty"`
	Image          *Image       `json:"image,omitempty"`
	LastModifiedBy *IdentitySet `json:"lastModifiedBy,omitempty"`
	// Date and time the item was last modified. Read-only.
	LastModifiedDateTime *time.Time `json:"lastModifiedDateTime,omitempty"`
	// Optional. Filename of the remote item. Read-only.
	Name *string `json:"name,omitempty"`
	// ETag for the item. Read-only.
	ETag *string `json:"eTag,omitempty"`
	// An eTag for the content of the item. This eTag is not changed if only the metadata is changed. Note This property is not returned if the item is a folder. Read-only.
	CTag            *string        `json:"cTag,omitempty"`
	ParentReference *ItemReference `json:"parentReference,omitempty"`
	Shared          *Shared        `json:"shared,omitempty"`
	// Size of the remote item. Read-only.
	Size          *int64         `json:"size,omitempty"`
	SpecialFolder *SpecialFolder `json:"specialFolder,omitempty"`
	// DAV compatible URL for the item.
	WebDavUrl *string `json:"webDavUrl,omitempty"`
	// URL that displays the resource in the browser. Read-only.
	WebUrl *string `json:"webUrl,omitempty"`
}

RemoteItem Remote item data, if the item is shared from a drive other than the one being accessed. Read-only.

func NewRemoteItem

func NewRemoteItem() *RemoteItem

NewRemoteItem instantiates a new RemoteItem object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewRemoteItemWithDefaults

func NewRemoteItemWithDefaults() *RemoteItem

NewRemoteItemWithDefaults instantiates a new RemoteItem object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*RemoteItem) GetCTag

func (o *RemoteItem) GetCTag() string

GetCTag returns the CTag field value if set, zero value otherwise.

func (*RemoteItem) GetCTagOk

func (o *RemoteItem) GetCTagOk() (*string, bool)

GetCTagOk returns a tuple with the CTag field value if set, nil otherwise and a boolean to check if the value has been set.

func (*RemoteItem) GetCreatedBy

func (o *RemoteItem) GetCreatedBy() IdentitySet

GetCreatedBy returns the CreatedBy field value if set, zero value otherwise.

func (*RemoteItem) GetCreatedByOk

func (o *RemoteItem) GetCreatedByOk() (*IdentitySet, bool)

GetCreatedByOk returns a tuple with the CreatedBy field value if set, nil otherwise and a boolean to check if the value has been set.

func (*RemoteItem) GetCreatedDateTime

func (o *RemoteItem) GetCreatedDateTime() time.Time

GetCreatedDateTime returns the CreatedDateTime field value if set, zero value otherwise.

func (*RemoteItem) GetCreatedDateTimeOk

func (o *RemoteItem) GetCreatedDateTimeOk() (*time.Time, bool)

GetCreatedDateTimeOk returns a tuple with the CreatedDateTime field value if set, nil otherwise and a boolean to check if the value has been set.

func (*RemoteItem) GetETag

func (o *RemoteItem) GetETag() string

GetETag returns the ETag field value if set, zero value otherwise.

func (*RemoteItem) GetETagOk

func (o *RemoteItem) GetETagOk() (*string, bool)

GetETagOk returns a tuple with the ETag field value if set, nil otherwise and a boolean to check if the value has been set.

func (*RemoteItem) GetFile

func (o *RemoteItem) GetFile() OpenGraphFile

GetFile returns the File field value if set, zero value otherwise.

func (*RemoteItem) GetFileOk

func (o *RemoteItem) GetFileOk() (*OpenGraphFile, bool)

GetFileOk returns a tuple with the File field value if set, nil otherwise and a boolean to check if the value has been set.

func (*RemoteItem) GetFileSystemInfo

func (o *RemoteItem) GetFileSystemInfo() FileSystemInfo

GetFileSystemInfo returns the FileSystemInfo field value if set, zero value otherwise.

func (*RemoteItem) GetFileSystemInfoOk

func (o *RemoteItem) GetFileSystemInfoOk() (*FileSystemInfo, bool)

GetFileSystemInfoOk returns a tuple with the FileSystemInfo field value if set, nil otherwise and a boolean to check if the value has been set.

func (*RemoteItem) GetFolder

func (o *RemoteItem) GetFolder() Folder

GetFolder returns the Folder field value if set, zero value otherwise.

func (*RemoteItem) GetFolderOk

func (o *RemoteItem) GetFolderOk() (*Folder, bool)

GetFolderOk returns a tuple with the Folder field value if set, nil otherwise and a boolean to check if the value has been set.

func (*RemoteItem) GetId

func (o *RemoteItem) GetId() string

GetId returns the Id field value if set, zero value otherwise.

func (*RemoteItem) GetIdOk

func (o *RemoteItem) GetIdOk() (*string, bool)

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 (*RemoteItem) GetImage

func (o *RemoteItem) GetImage() Image

GetImage returns the Image field value if set, zero value otherwise.

func (*RemoteItem) GetImageOk

func (o *RemoteItem) GetImageOk() (*Image, bool)

GetImageOk returns a tuple with the Image field value if set, nil otherwise and a boolean to check if the value has been set.

func (*RemoteItem) GetLastModifiedBy

func (o *RemoteItem) GetLastModifiedBy() IdentitySet

GetLastModifiedBy returns the LastModifiedBy field value if set, zero value otherwise.

func (*RemoteItem) GetLastModifiedByOk

func (o *RemoteItem) GetLastModifiedByOk() (*IdentitySet, bool)

GetLastModifiedByOk returns a tuple with the LastModifiedBy field value if set, nil otherwise and a boolean to check if the value has been set.

func (*RemoteItem) GetLastModifiedDateTime

func (o *RemoteItem) GetLastModifiedDateTime() time.Time

GetLastModifiedDateTime returns the LastModifiedDateTime field value if set, zero value otherwise.

func (*RemoteItem) GetLastModifiedDateTimeOk

func (o *RemoteItem) GetLastModifiedDateTimeOk() (*time.Time, bool)

GetLastModifiedDateTimeOk returns a tuple with the LastModifiedDateTime field value if set, nil otherwise and a boolean to check if the value has been set.

func (*RemoteItem) GetName

func (o *RemoteItem) GetName() string

GetName returns the Name field value if set, zero value otherwise.

func (*RemoteItem) GetNameOk

func (o *RemoteItem) GetNameOk() (*string, bool)

GetNameOk returns a tuple with the Name field value if set, nil otherwise and a boolean to check if the value has been set.

func (*RemoteItem) GetParentReference

func (o *RemoteItem) GetParentReference() ItemReference

GetParentReference returns the ParentReference field value if set, zero value otherwise.

func (*RemoteItem) GetParentReferenceOk

func (o *RemoteItem) GetParentReferenceOk() (*ItemReference, bool)

GetParentReferenceOk returns a tuple with the ParentReference field value if set, nil otherwise and a boolean to check if the value has been set.

func (*RemoteItem) GetShared

func (o *RemoteItem) GetShared() Shared

GetShared returns the Shared field value if set, zero value otherwise.

func (*RemoteItem) GetSharedOk

func (o *RemoteItem) GetSharedOk() (*Shared, bool)

GetSharedOk returns a tuple with the Shared field value if set, nil otherwise and a boolean to check if the value has been set.

func (*RemoteItem) GetSize

func (o *RemoteItem) GetSize() int64

GetSize returns the Size field value if set, zero value otherwise.

func (*RemoteItem) GetSizeOk

func (o *RemoteItem) GetSizeOk() (*int64, bool)

GetSizeOk returns a tuple with the Size field value if set, nil otherwise and a boolean to check if the value has been set.

func (*RemoteItem) GetSpecialFolder

func (o *RemoteItem) GetSpecialFolder() SpecialFolder

GetSpecialFolder returns the SpecialFolder field value if set, zero value otherwise.

func (*RemoteItem) GetSpecialFolderOk

func (o *RemoteItem) GetSpecialFolderOk() (*SpecialFolder, bool)

GetSpecialFolderOk returns a tuple with the SpecialFolder field value if set, nil otherwise and a boolean to check if the value has been set.

func (*RemoteItem) GetWebDavUrl

func (o *RemoteItem) GetWebDavUrl() string

GetWebDavUrl returns the WebDavUrl field value if set, zero value otherwise.

func (*RemoteItem) GetWebDavUrlOk

func (o *RemoteItem) GetWebDavUrlOk() (*string, bool)

GetWebDavUrlOk returns a tuple with the WebDavUrl field value if set, nil otherwise and a boolean to check if the value has been set.

func (*RemoteItem) GetWebUrl

func (o *RemoteItem) GetWebUrl() string

GetWebUrl returns the WebUrl field value if set, zero value otherwise.

func (*RemoteItem) GetWebUrlOk

func (o *RemoteItem) GetWebUrlOk() (*string, bool)

GetWebUrlOk returns a tuple with the WebUrl field value if set, nil otherwise and a boolean to check if the value has been set.

func (*RemoteItem) HasCTag

func (o *RemoteItem) HasCTag() bool

HasCTag returns a boolean if a field has been set.

func (*RemoteItem) HasCreatedBy

func (o *RemoteItem) HasCreatedBy() bool

HasCreatedBy returns a boolean if a field has been set.

func (*RemoteItem) HasCreatedDateTime

func (o *RemoteItem) HasCreatedDateTime() bool

HasCreatedDateTime returns a boolean if a field has been set.

func (*RemoteItem) HasETag

func (o *RemoteItem) HasETag() bool

HasETag returns a boolean if a field has been set.

func (*RemoteItem) HasFile

func (o *RemoteItem) HasFile() bool

HasFile returns a boolean if a field has been set.

func (*RemoteItem) HasFileSystemInfo

func (o *RemoteItem) HasFileSystemInfo() bool

HasFileSystemInfo returns a boolean if a field has been set.

func (*RemoteItem) HasFolder

func (o *RemoteItem) HasFolder() bool

HasFolder returns a boolean if a field has been set.

func (*RemoteItem) HasId

func (o *RemoteItem) HasId() bool

HasId returns a boolean if a field has been set.

func (*RemoteItem) HasImage

func (o *RemoteItem) HasImage() bool

HasImage returns a boolean if a field has been set.

func (*RemoteItem) HasLastModifiedBy

func (o *RemoteItem) HasLastModifiedBy() bool

HasLastModifiedBy returns a boolean if a field has been set.

func (*RemoteItem) HasLastModifiedDateTime

func (o *RemoteItem) HasLastModifiedDateTime() bool

HasLastModifiedDateTime returns a boolean if a field has been set.

func (*RemoteItem) HasName

func (o *RemoteItem) HasName() bool

HasName returns a boolean if a field has been set.

func (*RemoteItem) HasParentReference

func (o *RemoteItem) HasParentReference() bool

HasParentReference returns a boolean if a field has been set.

func (*RemoteItem) HasShared

func (o *RemoteItem) HasShared() bool

HasShared returns a boolean if a field has been set.

func (*RemoteItem) HasSize

func (o *RemoteItem) HasSize() bool

HasSize returns a boolean if a field has been set.

func (*RemoteItem) HasSpecialFolder

func (o *RemoteItem) HasSpecialFolder() bool

HasSpecialFolder returns a boolean if a field has been set.

func (*RemoteItem) HasWebDavUrl

func (o *RemoteItem) HasWebDavUrl() bool

HasWebDavUrl returns a boolean if a field has been set.

func (*RemoteItem) HasWebUrl

func (o *RemoteItem) HasWebUrl() bool

HasWebUrl returns a boolean if a field has been set.

func (RemoteItem) MarshalJSON

func (o RemoteItem) MarshalJSON() ([]byte, error)

func (*RemoteItem) SetCTag

func (o *RemoteItem) SetCTag(v string)

SetCTag gets a reference to the given string and assigns it to the CTag field.

func (*RemoteItem) SetCreatedBy

func (o *RemoteItem) SetCreatedBy(v IdentitySet)

SetCreatedBy gets a reference to the given IdentitySet and assigns it to the CreatedBy field.

func (*RemoteItem) SetCreatedDateTime

func (o *RemoteItem) SetCreatedDateTime(v time.Time)

SetCreatedDateTime gets a reference to the given time.Time and assigns it to the CreatedDateTime field.

func (*RemoteItem) SetETag

func (o *RemoteItem) SetETag(v string)

SetETag gets a reference to the given string and assigns it to the ETag field.

func (*RemoteItem) SetFile

func (o *RemoteItem) SetFile(v OpenGraphFile)

SetFile gets a reference to the given OpenGraphFile and assigns it to the File field.

func (*RemoteItem) SetFileSystemInfo

func (o *RemoteItem) SetFileSystemInfo(v FileSystemInfo)

SetFileSystemInfo gets a reference to the given FileSystemInfo and assigns it to the FileSystemInfo field.

func (*RemoteItem) SetFolder

func (o *RemoteItem) SetFolder(v Folder)

SetFolder gets a reference to the given Folder and assigns it to the Folder field.

func (*RemoteItem) SetId

func (o *RemoteItem) SetId(v string)

SetId gets a reference to the given string and assigns it to the Id field.

func (*RemoteItem) SetImage

func (o *RemoteItem) SetImage(v Image)

SetImage gets a reference to the given Image and assigns it to the Image field.

func (*RemoteItem) SetLastModifiedBy

func (o *RemoteItem) SetLastModifiedBy(v IdentitySet)

SetLastModifiedBy gets a reference to the given IdentitySet and assigns it to the LastModifiedBy field.

func (*RemoteItem) SetLastModifiedDateTime

func (o *RemoteItem) SetLastModifiedDateTime(v time.Time)

SetLastModifiedDateTime gets a reference to the given time.Time and assigns it to the LastModifiedDateTime field.

func (*RemoteItem) SetName

func (o *RemoteItem) SetName(v string)

SetName gets a reference to the given string and assigns it to the Name field.

func (*RemoteItem) SetParentReference

func (o *RemoteItem) SetParentReference(v ItemReference)

SetParentReference gets a reference to the given ItemReference and assigns it to the ParentReference field.

func (*RemoteItem) SetShared

func (o *RemoteItem) SetShared(v Shared)

SetShared gets a reference to the given Shared and assigns it to the Shared field.

func (*RemoteItem) SetSize

func (o *RemoteItem) SetSize(v int64)

SetSize gets a reference to the given int64 and assigns it to the Size field.

func (*RemoteItem) SetSpecialFolder

func (o *RemoteItem) SetSpecialFolder(v SpecialFolder)

SetSpecialFolder gets a reference to the given SpecialFolder and assigns it to the SpecialFolder field.

func (*RemoteItem) SetWebDavUrl

func (o *RemoteItem) SetWebDavUrl(v string)

SetWebDavUrl gets a reference to the given string and assigns it to the WebDavUrl field.

func (*RemoteItem) SetWebUrl

func (o *RemoteItem) SetWebUrl(v string)

SetWebUrl gets a reference to the given string and assigns it to the WebUrl field.

type ServerConfiguration

type ServerConfiguration struct {
	URL         string
	Description string
	Variables   map[string]ServerVariable
}

ServerConfiguration stores the information about a server

type ServerConfigurations

type ServerConfigurations []ServerConfiguration

ServerConfigurations stores multiple ServerConfiguration items

func (ServerConfigurations) URL

func (sc ServerConfigurations) URL(index int, variables map[string]string) (string, error)

URL formats template on a index using given variables

type ServerVariable

type ServerVariable struct {
	Description  string
	DefaultValue string
	EnumValues   []string
}

ServerVariable stores the information about a server variable

type Shared

type Shared struct {
	Owner *IdentitySet `json:"owner,omitempty"`
	// Indicates the scope of how the item is shared: anonymous, organization, or users. Read-only.
	Scope    *string      `json:"scope,omitempty"`
	SharedBy *IdentitySet `json:"sharedBy,omitempty"`
	// The UTC date and time when the item was shared. Read-only.
	SharedDateTime *time.Time `json:"sharedDateTime,omitempty"`
}

Shared struct for Shared

func NewShared

func NewShared() *Shared

NewShared instantiates a new Shared object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewSharedWithDefaults

func NewSharedWithDefaults() *Shared

NewSharedWithDefaults instantiates a new Shared object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*Shared) GetOwner

func (o *Shared) GetOwner() IdentitySet

GetOwner returns the Owner field value if set, zero value otherwise.

func (*Shared) GetOwnerOk

func (o *Shared) GetOwnerOk() (*IdentitySet, bool)

GetOwnerOk returns a tuple with the Owner field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Shared) GetScope

func (o *Shared) GetScope() string

GetScope returns the Scope field value if set, zero value otherwise.

func (*Shared) GetScopeOk

func (o *Shared) GetScopeOk() (*string, bool)

GetScopeOk returns a tuple with the Scope field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Shared) GetSharedBy

func (o *Shared) GetSharedBy() IdentitySet

GetSharedBy returns the SharedBy field value if set, zero value otherwise.

func (*Shared) GetSharedByOk

func (o *Shared) GetSharedByOk() (*IdentitySet, bool)

GetSharedByOk returns a tuple with the SharedBy field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Shared) GetSharedDateTime

func (o *Shared) GetSharedDateTime() time.Time

GetSharedDateTime returns the SharedDateTime field value if set, zero value otherwise.

func (*Shared) GetSharedDateTimeOk

func (o *Shared) GetSharedDateTimeOk() (*time.Time, bool)

GetSharedDateTimeOk returns a tuple with the SharedDateTime field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Shared) HasOwner

func (o *Shared) HasOwner() bool

HasOwner returns a boolean if a field has been set.

func (*Shared) HasScope

func (o *Shared) HasScope() bool

HasScope returns a boolean if a field has been set.

func (*Shared) HasSharedBy

func (o *Shared) HasSharedBy() bool

HasSharedBy returns a boolean if a field has been set.

func (*Shared) HasSharedDateTime

func (o *Shared) HasSharedDateTime() bool

HasSharedDateTime returns a boolean if a field has been set.

func (Shared) MarshalJSON

func (o Shared) MarshalJSON() ([]byte, error)

func (*Shared) SetOwner

func (o *Shared) SetOwner(v IdentitySet)

SetOwner gets a reference to the given IdentitySet and assigns it to the Owner field.

func (*Shared) SetScope

func (o *Shared) SetScope(v string)

SetScope gets a reference to the given string and assigns it to the Scope field.

func (*Shared) SetSharedBy

func (o *Shared) SetSharedBy(v IdentitySet)

SetSharedBy gets a reference to the given IdentitySet and assigns it to the SharedBy field.

func (*Shared) SetSharedDateTime

func (o *Shared) SetSharedDateTime(v time.Time)

SetSharedDateTime gets a reference to the given time.Time and assigns it to the SharedDateTime field.

type SpecialFolder

type SpecialFolder struct {
	// The unique identifier for this item in the /drive/special collection
	Name *string `json:"name,omitempty"`
}

SpecialFolder If the current item is also available as a special folder, this facet is returned. Read-only

func NewSpecialFolder

func NewSpecialFolder() *SpecialFolder

NewSpecialFolder instantiates a new SpecialFolder object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewSpecialFolderWithDefaults

func NewSpecialFolderWithDefaults() *SpecialFolder

NewSpecialFolderWithDefaults instantiates a new SpecialFolder object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*SpecialFolder) GetName

func (o *SpecialFolder) GetName() string

GetName returns the Name field value if set, zero value otherwise.

func (*SpecialFolder) GetNameOk

func (o *SpecialFolder) GetNameOk() (*string, bool)

GetNameOk returns a tuple with the Name field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SpecialFolder) HasName

func (o *SpecialFolder) HasName() bool

HasName returns a boolean if a field has been set.

func (SpecialFolder) MarshalJSON

func (o SpecialFolder) MarshalJSON() ([]byte, error)

func (*SpecialFolder) SetName

func (o *SpecialFolder) SetName(v string)

SetName gets a reference to the given string and assigns it to the Name field.

type Trash

type Trash struct {
	TrashedBy *IdentitySet `json:"trashedBy,omitempty"`
	// The UTC date and time the folder was marked as trashed.
	TrashedDateTime *time.Time `json:"trashedDateTime,omitempty"`
}

Trash Metadata for trashed drive Items

func NewTrash

func NewTrash() *Trash

NewTrash instantiates a new Trash object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewTrashWithDefaults

func NewTrashWithDefaults() *Trash

NewTrashWithDefaults instantiates a new Trash object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*Trash) GetTrashedBy

func (o *Trash) GetTrashedBy() IdentitySet

GetTrashedBy returns the TrashedBy field value if set, zero value otherwise.

func (*Trash) GetTrashedByOk

func (o *Trash) GetTrashedByOk() (*IdentitySet, bool)

GetTrashedByOk returns a tuple with the TrashedBy field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Trash) GetTrashedDateTime

func (o *Trash) GetTrashedDateTime() time.Time

GetTrashedDateTime returns the TrashedDateTime field value if set, zero value otherwise.

func (*Trash) GetTrashedDateTimeOk

func (o *Trash) GetTrashedDateTimeOk() (*time.Time, bool)

GetTrashedDateTimeOk returns a tuple with the TrashedDateTime field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Trash) HasTrashedBy

func (o *Trash) HasTrashedBy() bool

HasTrashedBy returns a boolean if a field has been set.

func (*Trash) HasTrashedDateTime

func (o *Trash) HasTrashedDateTime() bool

HasTrashedDateTime returns a boolean if a field has been set.

func (Trash) MarshalJSON

func (o Trash) MarshalJSON() ([]byte, error)

func (*Trash) SetTrashedBy

func (o *Trash) SetTrashedBy(v IdentitySet)

SetTrashedBy gets a reference to the given IdentitySet and assigns it to the TrashedBy field.

func (*Trash) SetTrashedDateTime

func (o *Trash) SetTrashedDateTime(v time.Time)

SetTrashedDateTime gets a reference to the given time.Time and assigns it to the TrashedDateTime field.

type User

type User struct {
	// Read-only.
	Id *string `json:"id,omitempty"`
	// The name displayed in the address book for the user. This value is usually the combination of the user's first name, middle initial, and last name. This property is required when a user is created and it cannot be cleared during updates. Returned by default. Supports $filter and $orderby.
	DisplayName *string `json:"displayName,omitempty"`
	// A collection of drives available for this user. Read-only.
	Drives []Drive `json:"drives,omitempty"`
	Drive  *Drive  `json:"drive,omitempty"`
	// The SMTP address for the user, for example, 'jeff@contoso.onowncloud.com'. Returned by default. Supports $filter and endsWith.
	Mail *string `json:"mail,omitempty"`
	// Groups that this user is a member of. HTTP Methods: GET (supported for all groups). Read-only. Nullable. Supports $expand.
	MemberOf []Group `json:"memberOf,omitempty"`
	// Contains the on-premises SAM account name synchronized from the on-premises directory. Read-only.
	OnPremisesSamAccountName *string          `json:"onPremisesSamAccountName,omitempty"`
	PasswordProfile          *PasswordProfile `json:"passwordProfile,omitempty"`
	// The user's surname (family name or last name). Returned by default. Supports $filter.
	Surname *string `json:"surname,omitempty"`
}

User Represents an Active Directory user object.

func NewUser

func NewUser() *User

NewUser instantiates a new User object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewUserWithDefaults

func NewUserWithDefaults() *User

NewUserWithDefaults instantiates a new User object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*User) GetDisplayName

func (o *User) GetDisplayName() string

GetDisplayName returns the DisplayName field value if set, zero value otherwise.

func (*User) GetDisplayNameOk

func (o *User) GetDisplayNameOk() (*string, bool)

GetDisplayNameOk returns a tuple with the DisplayName field value if set, nil otherwise and a boolean to check if the value has been set.

func (*User) GetDrive

func (o *User) GetDrive() Drive

GetDrive returns the Drive field value if set, zero value otherwise.

func (*User) GetDriveOk

func (o *User) GetDriveOk() (*Drive, bool)

GetDriveOk returns a tuple with the Drive field value if set, nil otherwise and a boolean to check if the value has been set.

func (*User) GetDrives

func (o *User) GetDrives() []Drive

GetDrives returns the Drives field value if set, zero value otherwise.

func (*User) GetDrivesOk

func (o *User) GetDrivesOk() ([]Drive, bool)

GetDrivesOk returns a tuple with the Drives field value if set, nil otherwise and a boolean to check if the value has been set.

func (*User) GetId

func (o *User) GetId() string

GetId returns the Id field value if set, zero value otherwise.

func (*User) GetIdOk

func (o *User) GetIdOk() (*string, bool)

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 (*User) GetMail

func (o *User) GetMail() string

GetMail returns the Mail field value if set, zero value otherwise.

func (*User) GetMailOk

func (o *User) GetMailOk() (*string, bool)

GetMailOk returns a tuple with the Mail field value if set, nil otherwise and a boolean to check if the value has been set.

func (*User) GetMemberOf added in v0.14.3

func (o *User) GetMemberOf() []Group

GetMemberOf returns the MemberOf field value if set, zero value otherwise.

func (*User) GetMemberOfOk added in v0.14.3

func (o *User) GetMemberOfOk() ([]Group, bool)

GetMemberOfOk returns a tuple with the MemberOf field value if set, nil otherwise and a boolean to check if the value has been set.

func (*User) GetOnPremisesSamAccountName

func (o *User) GetOnPremisesSamAccountName() string

GetOnPremisesSamAccountName returns the OnPremisesSamAccountName field value if set, zero value otherwise.

func (*User) GetOnPremisesSamAccountNameOk

func (o *User) GetOnPremisesSamAccountNameOk() (*string, bool)

GetOnPremisesSamAccountNameOk returns a tuple with the OnPremisesSamAccountName field value if set, nil otherwise and a boolean to check if the value has been set.

func (*User) GetPasswordProfile

func (o *User) GetPasswordProfile() PasswordProfile

GetPasswordProfile returns the PasswordProfile field value if set, zero value otherwise.

func (*User) GetPasswordProfileOk

func (o *User) GetPasswordProfileOk() (*PasswordProfile, bool)

GetPasswordProfileOk returns a tuple with the PasswordProfile field value if set, nil otherwise and a boolean to check if the value has been set.

func (*User) GetSurname

func (o *User) GetSurname() string

GetSurname returns the Surname field value if set, zero value otherwise.

func (*User) GetSurnameOk

func (o *User) GetSurnameOk() (*string, bool)

GetSurnameOk returns a tuple with the Surname field value if set, nil otherwise and a boolean to check if the value has been set.

func (*User) HasDisplayName

func (o *User) HasDisplayName() bool

HasDisplayName returns a boolean if a field has been set.

func (*User) HasDrive

func (o *User) HasDrive() bool

HasDrive returns a boolean if a field has been set.

func (*User) HasDrives

func (o *User) HasDrives() bool

HasDrives returns a boolean if a field has been set.

func (*User) HasId

func (o *User) HasId() bool

HasId returns a boolean if a field has been set.

func (*User) HasMail

func (o *User) HasMail() bool

HasMail returns a boolean if a field has been set.

func (*User) HasMemberOf added in v0.14.3

func (o *User) HasMemberOf() bool

HasMemberOf returns a boolean if a field has been set.

func (*User) HasOnPremisesSamAccountName

func (o *User) HasOnPremisesSamAccountName() bool

HasOnPremisesSamAccountName returns a boolean if a field has been set.

func (*User) HasPasswordProfile

func (o *User) HasPasswordProfile() bool

HasPasswordProfile returns a boolean if a field has been set.

func (*User) HasSurname

func (o *User) HasSurname() bool

HasSurname returns a boolean if a field has been set.

func (User) MarshalJSON

func (o User) MarshalJSON() ([]byte, error)

func (*User) SetDisplayName

func (o *User) SetDisplayName(v string)

SetDisplayName gets a reference to the given string and assigns it to the DisplayName field.

func (*User) SetDrive

func (o *User) SetDrive(v Drive)

SetDrive gets a reference to the given Drive and assigns it to the Drive field.

func (*User) SetDrives

func (o *User) SetDrives(v []Drive)

SetDrives gets a reference to the given []Drive and assigns it to the Drives field.

func (*User) SetId

func (o *User) SetId(v string)

SetId gets a reference to the given string and assigns it to the Id field.

func (*User) SetMail

func (o *User) SetMail(v string)

SetMail gets a reference to the given string and assigns it to the Mail field.

func (*User) SetMemberOf added in v0.14.3

func (o *User) SetMemberOf(v []Group)

SetMemberOf gets a reference to the given []Group and assigns it to the MemberOf field.

func (*User) SetOnPremisesSamAccountName

func (o *User) SetOnPremisesSamAccountName(v string)

SetOnPremisesSamAccountName gets a reference to the given string and assigns it to the OnPremisesSamAccountName field.

func (*User) SetPasswordProfile

func (o *User) SetPasswordProfile(v PasswordProfile)

SetPasswordProfile gets a reference to the given PasswordProfile and assigns it to the PasswordProfile field.

func (*User) SetSurname

func (o *User) SetSurname(v string)

SetSurname gets a reference to the given string and assigns it to the Surname field.

type UserApiService

type UserApiService service

UserApiService UserApi service

func (*UserApiService) DeleteUser

func (a *UserApiService) DeleteUser(ctx context.Context, userId string) ApiDeleteUserRequest

DeleteUser Delete entity from users

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param userId key: id of user
@return ApiDeleteUserRequest

func (*UserApiService) DeleteUserExecute

func (a *UserApiService) DeleteUserExecute(r ApiDeleteUserRequest) (*http.Response, error)

Execute executes the request

func (*UserApiService) GetUser

func (a *UserApiService) GetUser(ctx context.Context, userId string) ApiGetUserRequest

GetUser Get entity from users by key

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param userId key: id of user
@return ApiGetUserRequest

func (*UserApiService) GetUserExecute

func (a *UserApiService) GetUserExecute(r ApiGetUserRequest) (*User, *http.Response, error)

Execute executes the request

@return User

func (*UserApiService) UpdateUser

func (a *UserApiService) UpdateUser(ctx context.Context, userId string) ApiUpdateUserRequest

UpdateUser Update entity in users

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param userId key: id of user
@return ApiUpdateUserRequest

func (*UserApiService) UpdateUserExecute

func (a *UserApiService) UpdateUserExecute(r ApiUpdateUserRequest) (*User, *http.Response, error)

Execute executes the request

@return User

type UsersApiService

type UsersApiService service

UsersApiService UsersApi service

func (*UsersApiService) CreateUser

CreateUser Add new entity to users

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@return ApiCreateUserRequest

func (*UsersApiService) CreateUserExecute

func (a *UsersApiService) CreateUserExecute(r ApiCreateUserRequest) (*User, *http.Response, error)

Execute executes the request

@return User

func (*UsersApiService) ListUsers

ListUsers Get entities from users

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@return ApiListUsersRequest

func (*UsersApiService) ListUsersExecute

Execute executes the request

@return CollectionOfUser

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL