libregraph

package module
v1.0.4 Latest Latest
Warning

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

Go to latest
Published: May 2, 2023 License: Apache-2.0 Imports: 22 Imported by: 25

README

Go API client for libregraph

Libre Graph is a free API for cloud collaboration inspired by the MS Graph API.

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.4
  • 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/graph/v1.0

Class Method HTTP request Description
ApplicationsApi GetApplication Get /applications/{application-id} Get application by id
ApplicationsApi ListApplications Get /applications Get all applications
DrivesApi CreateDrive Post /drives Create a new drive 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 drive
DrivesGetDrivesApi ListAllDrives Get /drives Get all available drives
DrivesRootApi GetRoot Get /drives/{drive-id}/root Get root from arbitrary space
EducationClassApi AddUserToClass Post /education/classes/{class-id}/members/$ref Assign a user to a class
EducationClassApi CreateClass Post /education/classes Add new education class
EducationClassApi DeleteClass Delete /education/classes/{class-id} Delete education class
EducationClassApi DeleteUserFromClass Delete /education/classes/{class-id}/members/{user-id}/$ref Unassign user from a class
EducationClassApi GetClass Get /education/classes/{class-id} Get class by key
EducationClassApi ListClassMembers Get /education/classes/{class-id}/members Get the educationClass resources owned by an educationSchool
EducationClassApi ListClasses Get /education/classes list education classes
EducationClassApi UpdateClass Patch /education/classes/{class-id} Update properties of a education class
EducationClassTeachersApi AddTeacherToClass Post /education/classes/{class-id}/teachers/$ref Assign a teacher to a class
EducationClassTeachersApi DeleteTeacherFromClass Delete /education/classes/{class-id}/teachers/{user-id}/$ref Unassign user as teacher of a class
EducationClassTeachersApi GetTeachers Get /education/classes/{class-id}/teachers Get the teachers for a class
EducationSchoolApi AddClassToSchool Post /education/schools/{school-id}/classes/$ref Assign a class to a school
EducationSchoolApi AddUserToSchool Post /education/schools/{school-id}/users/$ref Assign a user to a school
EducationSchoolApi CreateSchool Post /education/schools Add new school
EducationSchoolApi DeleteClassFromSchool Delete /education/schools/{school-id}/classes/{class-id}/$ref Unassign class from a school
EducationSchoolApi DeleteSchool Delete /education/schools/{school-id} Delete school
EducationSchoolApi DeleteUserFromSchool Delete /education/schools/{school-id}/users/{user-id}/$ref Unassign user from a school
EducationSchoolApi GetSchool Get /education/schools/{school-id} Get the properties of a specific school
EducationSchoolApi ListSchoolClasses Get /education/schools/{school-id}/classes Get the educationClass resources owned by an educationSchool
EducationSchoolApi ListSchoolUsers Get /education/schools/{school-id}/users Get the educationUser resources associated with an educationSchool
EducationSchoolApi ListSchools Get /education/schools Get a list of schools and their properties
EducationSchoolApi UpdateSchool Patch /education/schools/{school-id} Update properties of a school
EducationUserApi CreateEducationUser Post /education/users Add new education user
EducationUserApi DeleteEducationUser Delete /education/users/{user-id} Delete educationUser
EducationUserApi GetEducationUser Get /education/users/{user-id} Get properties of educationUser
EducationUserApi ListEducationUsers Get /education/users Get entities from education users
EducationUserApi UpdateEducationUser Patch /education/users/{user-id} Update properties of educationUser
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 ListMembers Get /groups/{group-id}/members Get a list of the group's direct members
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 all drives where the current user is a regular member of
MeUserApi GetOwnUser Get /me Get current user
TagsApi AssignTags Put /extensions/org.libregraph/tags Assign tags to a resource
TagsApi GetTags Get /extensions/org.libregraph/tags Get all known tags
TagsApi UnassignTags Delete /extensions/org.libregraph/tags Unassign tags from a resource
UserApi DeleteUser Delete /users/{user-id} Delete entity from users
UserApi ExportPersonalData Post /users/{user-id}/exportPersonalData export personal data of a user
UserApi GetUser Get /users/{user-id} Get entity from users by key
UserApi UpdateUser Patch /users/{user-id} Update entity in users
UserAppRoleAssignmentApi UserCreateAppRoleAssignments Post /users/{user-id}/appRoleAssignments Grant an appRoleAssignment to a user
UserAppRoleAssignmentApi UserDeleteAppRoleAssignments Delete /users/{user-id}/appRoleAssignments/{appRoleAssignment-id} Delete the appRoleAssignment from a user
UserAppRoleAssignmentApi UserListAppRoleAssignments Get /users/{user-id}/appRoleAssignments Get appRoleAssignments from a user
UsersApi CreateUser Post /users Add new entity to users
UsersApi ListUsers Get /users Get entities from users

Documentation For Models

Documentation For Authorization

bearerAuth
  • Type: HTTP Bearer token authentication

Example

auth := context.WithValue(context.Background(), sw.ContextAccessToken, "BEARER_TOKEN_STRING")
r, err := client.Service.Operation(auth, args)

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 {
	ApplicationsApi *ApplicationsApiService

	DrivesApi *DrivesApiService

	DrivesGetDrivesApi *DrivesGetDrivesApiService

	DrivesRootApi *DrivesRootApiService

	EducationClassApi *EducationClassApiService

	EducationClassTeachersApi *EducationClassTeachersApiService

	EducationSchoolApi *EducationSchoolApiService

	EducationUserApi *EducationUserApiService

	GroupApi *GroupApiService

	GroupsApi *GroupsApiService

	MeChangepasswordApi *MeChangepasswordApiService

	MeDriveApi *MeDriveApiService

	MeDriveRootApi *MeDriveRootApiService

	MeDriveRootChildrenApi *MeDriveRootChildrenApiService

	MeDrivesApi *MeDrivesApiService

	MeUserApi *MeUserApiService

	TagsApi *TagsApiService

	UserApi *UserApiService

	UserAppRoleAssignmentApi *UserAppRoleAssignmentApiService

	UsersApi *UsersApiService
	// contains filtered or unexported fields
}

APIClient manages communication with the Libre Graph API API vv1.0.4 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 ApiAddClassToSchoolRequest added in v1.0.1

type ApiAddClassToSchoolRequest struct {
	ApiService *EducationSchoolApiService
	// contains filtered or unexported fields
}

func (ApiAddClassToSchoolRequest) ClassReference added in v1.0.1

func (r ApiAddClassToSchoolRequest) ClassReference(classReference ClassReference) ApiAddClassToSchoolRequest

educationClass to be added as member

func (ApiAddClassToSchoolRequest) Execute added in v1.0.1

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

Object to be added as member

type ApiAddTeacherToClassRequest added in v1.0.2

type ApiAddTeacherToClassRequest struct {
	ApiService *EducationClassTeachersApiService
	// contains filtered or unexported fields
}

func (ApiAddTeacherToClassRequest) ClassTeacherReference added in v1.0.2

func (r ApiAddTeacherToClassRequest) ClassTeacherReference(classTeacherReference ClassTeacherReference) ApiAddTeacherToClassRequest

educationUser to be added as teacher

func (ApiAddTeacherToClassRequest) Execute added in v1.0.2

type ApiAddUserToClassRequest added in v1.0.1

type ApiAddUserToClassRequest struct {
	ApiService *EducationClassApiService
	// contains filtered or unexported fields
}

func (ApiAddUserToClassRequest) ClassMemberReference added in v1.0.1

func (r ApiAddUserToClassRequest) ClassMemberReference(classMemberReference ClassMemberReference) ApiAddUserToClassRequest

educationUser to be added as member

func (ApiAddUserToClassRequest) Execute added in v1.0.1

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

type ApiAddUserToSchoolRequest added in v1.0.1

type ApiAddUserToSchoolRequest struct {
	ApiService *EducationSchoolApiService
	// contains filtered or unexported fields
}

func (ApiAddUserToSchoolRequest) EducationUserReference added in v1.0.1

func (r ApiAddUserToSchoolRequest) EducationUserReference(educationUserReference EducationUserReference) ApiAddUserToSchoolRequest

educationUser to be added as member

func (ApiAddUserToSchoolRequest) Execute added in v1.0.1

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

type ApiAssignTagsRequest added in v1.0.1

type ApiAssignTagsRequest struct {
	ApiService *TagsApiService
	// contains filtered or unexported fields
}

func (ApiAssignTagsRequest) Execute added in v1.0.1

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

func (ApiAssignTagsRequest) TagAssignment added in v1.0.1

func (r ApiAssignTagsRequest) TagAssignment(tagAssignment TagAssignment) ApiAssignTagsRequest

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

Password change request

type ApiCreateClassRequest added in v1.0.1

type ApiCreateClassRequest struct {
	ApiService *EducationClassApiService
	// contains filtered or unexported fields
}

func (ApiCreateClassRequest) EducationClass added in v1.0.1

func (r ApiCreateClassRequest) EducationClass(educationClass EducationClass) ApiCreateClassRequest

New entity

func (ApiCreateClassRequest) Execute added in v1.0.1

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 ApiCreateEducationUserRequest added in v1.0.1

type ApiCreateEducationUserRequest struct {
	ApiService *EducationUserApiService
	// contains filtered or unexported fields
}

func (ApiCreateEducationUserRequest) EducationUser added in v1.0.1

New entity

func (ApiCreateEducationUserRequest) Execute added in v1.0.1

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 ApiCreateSchoolRequest added in v1.0.1

type ApiCreateSchoolRequest struct {
	ApiService *EducationSchoolApiService
	// contains filtered or unexported fields
}

func (ApiCreateSchoolRequest) EducationSchool added in v1.0.1

func (r ApiCreateSchoolRequest) EducationSchool(educationSchool EducationSchool) ApiCreateSchoolRequest

New school

func (ApiCreateSchoolRequest) Execute added in v1.0.1

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 ApiDeleteClassFromSchoolRequest added in v1.0.1

type ApiDeleteClassFromSchoolRequest struct {
	ApiService *EducationSchoolApiService
	// contains filtered or unexported fields
}

func (ApiDeleteClassFromSchoolRequest) Execute added in v1.0.1

type ApiDeleteClassRequest added in v1.0.1

type ApiDeleteClassRequest struct {
	ApiService *EducationClassApiService
	// contains filtered or unexported fields
}

func (ApiDeleteClassRequest) Execute added in v1.0.1

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

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 ApiDeleteEducationUserRequest added in v1.0.1

type ApiDeleteEducationUserRequest struct {
	ApiService *EducationUserApiService
	// contains filtered or unexported fields
}

func (ApiDeleteEducationUserRequest) Execute added in v1.0.1

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 ApiDeleteSchoolRequest added in v1.0.1

type ApiDeleteSchoolRequest struct {
	ApiService *EducationSchoolApiService
	// contains filtered or unexported fields
}

func (ApiDeleteSchoolRequest) Execute added in v1.0.1

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

type ApiDeleteTeacherFromClassRequest added in v1.0.2

type ApiDeleteTeacherFromClassRequest struct {
	ApiService *EducationClassTeachersApiService
	// contains filtered or unexported fields
}

func (ApiDeleteTeacherFromClassRequest) Execute added in v1.0.2

type ApiDeleteUserFromClassRequest added in v1.0.1

type ApiDeleteUserFromClassRequest struct {
	ApiService *EducationClassApiService
	// contains filtered or unexported fields
}

func (ApiDeleteUserFromClassRequest) Execute added in v1.0.1

type ApiDeleteUserFromSchoolRequest added in v1.0.1

type ApiDeleteUserFromSchoolRequest struct {
	ApiService *EducationSchoolApiService
	// contains filtered or unexported fields
}

func (ApiDeleteUserFromSchoolRequest) Execute added in v1.0.1

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 ApiExportPersonalDataRequest added in v1.0.2

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

func (ApiExportPersonalDataRequest) Execute added in v1.0.2

func (ApiExportPersonalDataRequest) ExportPersonalDataRequest added in v1.0.2

func (r ApiExportPersonalDataRequest) ExportPersonalDataRequest(exportPersonalDataRequest ExportPersonalDataRequest) ApiExportPersonalDataRequest

destination the file should be created at

type ApiGetApplicationRequest added in v1.0.2

type ApiGetApplicationRequest struct {
	ApiService *ApplicationsApiService
	// contains filtered or unexported fields
}

func (ApiGetApplicationRequest) Execute added in v1.0.2

type ApiGetClassRequest added in v1.0.1

type ApiGetClassRequest struct {
	ApiService *EducationClassApiService
	// contains filtered or unexported fields
}

func (ApiGetClassRequest) Execute added in v1.0.1

type ApiGetDriveRequest

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

func (ApiGetDriveRequest) Execute

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

type ApiGetEducationUserRequest added in v1.0.1

type ApiGetEducationUserRequest struct {
	ApiService *EducationUserApiService
	// contains filtered or unexported fields
}

func (ApiGetEducationUserRequest) Execute added in v1.0.1

func (ApiGetEducationUserRequest) Expand added in v1.0.1

Expand related entities

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 ApiGetSchoolRequest added in v1.0.1

type ApiGetSchoolRequest struct {
	ApiService *EducationSchoolApiService
	// contains filtered or unexported fields
}

func (ApiGetSchoolRequest) Execute added in v1.0.1

type ApiGetTagsRequest added in v1.0.1

type ApiGetTagsRequest struct {
	ApiService *TagsApiService
	// contains filtered or unexported fields
}

func (ApiGetTagsRequest) Execute added in v1.0.1

type ApiGetTeachersRequest added in v1.0.2

type ApiGetTeachersRequest struct {
	ApiService *EducationClassTeachersApiService
	// contains filtered or unexported fields
}

func (ApiGetTeachersRequest) Execute added in v1.0.2

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) Execute

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.

type ApiListApplicationsRequest added in v1.0.2

type ApiListApplicationsRequest struct {
	ApiService *ApplicationsApiService
	// contains filtered or unexported fields
}

func (ApiListApplicationsRequest) Execute added in v1.0.2

type ApiListClassMembersRequest added in v1.0.2

type ApiListClassMembersRequest struct {
	ApiService *EducationClassApiService
	// contains filtered or unexported fields
}

func (ApiListClassMembersRequest) Execute added in v1.0.2

type ApiListClassesRequest added in v1.0.1

type ApiListClassesRequest struct {
	ApiService *EducationClassApiService
	// contains filtered or unexported fields
}

func (ApiListClassesRequest) Execute added in v1.0.1

type ApiListEducationUsersRequest added in v1.0.1

type ApiListEducationUsersRequest struct {
	ApiService *EducationUserApiService
	// contains filtered or unexported fields
}

func (ApiListEducationUsersRequest) Execute added in v1.0.1

func (ApiListEducationUsersRequest) Expand added in v1.0.1

Expand related entities

func (ApiListEducationUsersRequest) Orderby added in v1.0.1

Order items by property values

type ApiListGroupsRequest

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

func (ApiListGroupsRequest) Execute

func (ApiListGroupsRequest) Expand added in v0.16.0

Expand related entities

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

type ApiListMembersRequest added in v1.0.2

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

func (ApiListMembersRequest) Execute added in v1.0.2

type ApiListMyDrivesRequest

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

func (ApiListMyDrivesRequest) Execute

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.

type ApiListSchoolClassesRequest added in v1.0.2

type ApiListSchoolClassesRequest struct {
	ApiService *EducationSchoolApiService
	// contains filtered or unexported fields
}

func (ApiListSchoolClassesRequest) Execute added in v1.0.2

type ApiListSchoolUsersRequest added in v1.0.2

type ApiListSchoolUsersRequest struct {
	ApiService *EducationSchoolApiService
	// contains filtered or unexported fields
}

func (ApiListSchoolUsersRequest) Execute added in v1.0.2

type ApiListSchoolsRequest added in v1.0.1

type ApiListSchoolsRequest struct {
	ApiService *EducationSchoolApiService
	// contains filtered or unexported fields
}

func (ApiListSchoolsRequest) Execute added in v1.0.1

type ApiListUsersRequest

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

func (ApiListUsersRequest) Execute

func (ApiListUsersRequest) Expand

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

Expand related entities

func (ApiListUsersRequest) Filter

Filter users by property values and relationship attributes

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

type ApiUnassignTagsRequest added in v1.0.1

type ApiUnassignTagsRequest struct {
	ApiService *TagsApiService
	// contains filtered or unexported fields
}

func (ApiUnassignTagsRequest) Execute added in v1.0.1

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

func (ApiUnassignTagsRequest) TagUnassignment added in v1.0.1

func (r ApiUnassignTagsRequest) TagUnassignment(tagUnassignment TagUnassignment) ApiUnassignTagsRequest

type ApiUpdateClassRequest added in v1.0.1

type ApiUpdateClassRequest struct {
	ApiService *EducationClassApiService
	// contains filtered or unexported fields
}

func (ApiUpdateClassRequest) EducationClass added in v1.0.1

func (r ApiUpdateClassRequest) EducationClass(educationClass EducationClass) ApiUpdateClassRequest

New property values

func (ApiUpdateClassRequest) Execute added in v1.0.1

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 ApiUpdateEducationUserRequest added in v1.0.1

type ApiUpdateEducationUserRequest struct {
	ApiService *EducationUserApiService
	// contains filtered or unexported fields
}

func (ApiUpdateEducationUserRequest) EducationUser added in v1.0.1

New property values

func (ApiUpdateEducationUserRequest) Execute added in v1.0.1

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 ApiUpdateSchoolRequest added in v1.0.1

type ApiUpdateSchoolRequest struct {
	ApiService *EducationSchoolApiService
	// contains filtered or unexported fields
}

func (ApiUpdateSchoolRequest) EducationSchool added in v1.0.1

func (r ApiUpdateSchoolRequest) EducationSchool(educationSchool EducationSchool) ApiUpdateSchoolRequest

New property values

func (ApiUpdateSchoolRequest) Execute added in v1.0.1

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 ApiUserCreateAppRoleAssignmentsRequest added in v1.0.2

type ApiUserCreateAppRoleAssignmentsRequest struct {
	ApiService *UserAppRoleAssignmentApiService
	// contains filtered or unexported fields
}

func (ApiUserCreateAppRoleAssignmentsRequest) AppRoleAssignment added in v1.0.2

New app role assignment value

func (ApiUserCreateAppRoleAssignmentsRequest) Execute added in v1.0.2

type ApiUserDeleteAppRoleAssignmentsRequest added in v1.0.2

type ApiUserDeleteAppRoleAssignmentsRequest struct {
	ApiService *UserAppRoleAssignmentApiService
	// contains filtered or unexported fields
}

func (ApiUserDeleteAppRoleAssignmentsRequest) Execute added in v1.0.2

func (ApiUserDeleteAppRoleAssignmentsRequest) IfMatch added in v1.0.2

ETag

type ApiUserListAppRoleAssignmentsRequest added in v1.0.2

type ApiUserListAppRoleAssignmentsRequest struct {
	ApiService *UserAppRoleAssignmentApiService
	// contains filtered or unexported fields
}

func (ApiUserListAppRoleAssignmentsRequest) Execute added in v1.0.2

type AppRole added in v1.0.2

type AppRole struct {
	// Specifies whether this app role can be assigned to users and groups (by setting to ['User']), to other application's (by setting to ['Application'], or both (by setting to ['User', 'Application']). App roles supporting assignment to other applications' service principals are also known as application permissions. The 'Application' value is only supported for app roles defined on application entities.
	AllowedMemberTypes []string `json:"allowedMemberTypes,omitempty"`
	// The description for the app role. This is displayed when the app role is being assigned and, if the app role functions as an application permission, during  consent experiences.
	Description NullableString `json:"description,omitempty"`
	// Display name for the permission that appears in the app role assignment and consent experiences.
	DisplayName NullableString `json:"displayName,omitempty"`
	// Unique role identifier inside the appRoles collection. When creating a new app role, a new GUID identifier must be provided.
	Id string `json:"id"`
}

AppRole struct for AppRole

func NewAppRole added in v1.0.2

func NewAppRole(id string) *AppRole

NewAppRole instantiates a new AppRole 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 NewAppRoleWithDefaults added in v1.0.2

func NewAppRoleWithDefaults() *AppRole

NewAppRoleWithDefaults instantiates a new AppRole 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 (*AppRole) GetAllowedMemberTypes added in v1.0.2

func (o *AppRole) GetAllowedMemberTypes() []string

GetAllowedMemberTypes returns the AllowedMemberTypes field value if set, zero value otherwise.

func (*AppRole) GetAllowedMemberTypesOk added in v1.0.2

func (o *AppRole) GetAllowedMemberTypesOk() ([]string, bool)

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

func (*AppRole) GetDescription added in v1.0.2

func (o *AppRole) GetDescription() string

GetDescription returns the Description field value if set, zero value otherwise (both if not set or set to explicit null).

func (*AppRole) GetDescriptionOk added in v1.0.2

func (o *AppRole) 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. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*AppRole) GetDisplayName added in v1.0.2

func (o *AppRole) GetDisplayName() string

GetDisplayName returns the DisplayName field value if set, zero value otherwise (both if not set or set to explicit null).

func (*AppRole) GetDisplayNameOk added in v1.0.2

func (o *AppRole) 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. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*AppRole) GetId added in v1.0.2

func (o *AppRole) GetId() string

GetId returns the Id field value

func (*AppRole) GetIdOk added in v1.0.2

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

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

func (*AppRole) HasAllowedMemberTypes added in v1.0.2

func (o *AppRole) HasAllowedMemberTypes() bool

HasAllowedMemberTypes returns a boolean if a field has been set.

func (*AppRole) HasDescription added in v1.0.2

func (o *AppRole) HasDescription() bool

HasDescription returns a boolean if a field has been set.

func (*AppRole) HasDisplayName added in v1.0.2

func (o *AppRole) HasDisplayName() bool

HasDisplayName returns a boolean if a field has been set.

func (AppRole) MarshalJSON added in v1.0.2

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

func (*AppRole) SetAllowedMemberTypes added in v1.0.2

func (o *AppRole) SetAllowedMemberTypes(v []string)

SetAllowedMemberTypes gets a reference to the given []string and assigns it to the AllowedMemberTypes field.

func (*AppRole) SetDescription added in v1.0.2

func (o *AppRole) SetDescription(v string)

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

func (*AppRole) SetDescriptionNil added in v1.0.2

func (o *AppRole) SetDescriptionNil()

SetDescriptionNil sets the value for Description to be an explicit nil

func (*AppRole) SetDisplayName added in v1.0.2

func (o *AppRole) SetDisplayName(v string)

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

func (*AppRole) SetDisplayNameNil added in v1.0.2

func (o *AppRole) SetDisplayNameNil()

SetDisplayNameNil sets the value for DisplayName to be an explicit nil

func (*AppRole) SetId added in v1.0.2

func (o *AppRole) SetId(v string)

SetId sets field value

func (*AppRole) UnsetDescription added in v1.0.2

func (o *AppRole) UnsetDescription()

UnsetDescription ensures that no value is present for Description, not even an explicit nil

func (*AppRole) UnsetDisplayName added in v1.0.2

func (o *AppRole) UnsetDisplayName()

UnsetDisplayName ensures that no value is present for DisplayName, not even an explicit nil

type AppRoleAssignment added in v1.0.2

type AppRoleAssignment 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"`
	// The identifier (id) for the app role which is assigned to the user. Required on create.
	AppRoleId string `json:"appRoleId"`
	// The time when the app role assignment was created. The Timestamp type represents date and time information using ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z. Read-only.
	CreatedDateTime NullableTime `json:"createdDateTime,omitempty"`
	// The display name of the user, group, or service principal that was granted the app role assignment. Read-only.
	PrincipalDisplayName NullableString `json:"principalDisplayName,omitempty"`
	// The unique identifier (id) for the user, security group, or service principal being granted the app role. Security groups with dynamic memberships are supported. Required on create.
	PrincipalId NullableString `json:"principalId"`
	// The type of the assigned principal. This can either be User, Group, or ServicePrincipal. Read-only.
	PrincipalType NullableString `json:"principalType,omitempty"`
	// The display name of the resource app's service principal to which the assignment is made.
	ResourceDisplayName NullableString `json:"resourceDisplayName,omitempty"`
	// The unique identifier (id) for the resource service principal for which the assignment is made. Required on create.
	ResourceId NullableString `json:"resourceId"`
}

AppRoleAssignment struct for AppRoleAssignment

func NewAppRoleAssignment added in v1.0.2

func NewAppRoleAssignment(appRoleId string, principalId NullableString, resourceId NullableString) *AppRoleAssignment

NewAppRoleAssignment instantiates a new AppRoleAssignment 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 NewAppRoleAssignmentWithDefaults added in v1.0.2

func NewAppRoleAssignmentWithDefaults() *AppRoleAssignment

NewAppRoleAssignmentWithDefaults instantiates a new AppRoleAssignment 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 (*AppRoleAssignment) GetAppRoleId added in v1.0.2

func (o *AppRoleAssignment) GetAppRoleId() string

GetAppRoleId returns the AppRoleId field value

func (*AppRoleAssignment) GetAppRoleIdOk added in v1.0.2

func (o *AppRoleAssignment) GetAppRoleIdOk() (*string, bool)

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

func (*AppRoleAssignment) GetCreatedDateTime added in v1.0.2

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

GetCreatedDateTime returns the CreatedDateTime field value if set, zero value otherwise (both if not set or set to explicit null).

func (*AppRoleAssignment) GetCreatedDateTimeOk added in v1.0.2

func (o *AppRoleAssignment) 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. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*AppRoleAssignment) GetDeletedDateTime added in v1.0.2

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

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

func (*AppRoleAssignment) GetDeletedDateTimeOk added in v1.0.2

func (o *AppRoleAssignment) 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 (*AppRoleAssignment) GetId added in v1.0.2

func (o *AppRoleAssignment) GetId() string

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

func (*AppRoleAssignment) GetIdOk added in v1.0.2

func (o *AppRoleAssignment) 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 (*AppRoleAssignment) GetPrincipalDisplayName added in v1.0.2

func (o *AppRoleAssignment) GetPrincipalDisplayName() string

GetPrincipalDisplayName returns the PrincipalDisplayName field value if set, zero value otherwise (both if not set or set to explicit null).

func (*AppRoleAssignment) GetPrincipalDisplayNameOk added in v1.0.2

func (o *AppRoleAssignment) GetPrincipalDisplayNameOk() (*string, bool)

GetPrincipalDisplayNameOk returns a tuple with the PrincipalDisplayName field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*AppRoleAssignment) GetPrincipalId added in v1.0.2

func (o *AppRoleAssignment) GetPrincipalId() string

GetPrincipalId returns the PrincipalId field value If the value is explicit nil, the zero value for string will be returned

func (*AppRoleAssignment) GetPrincipalIdOk added in v1.0.2

func (o *AppRoleAssignment) GetPrincipalIdOk() (*string, bool)

GetPrincipalIdOk returns a tuple with the PrincipalId field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*AppRoleAssignment) GetPrincipalType added in v1.0.2

func (o *AppRoleAssignment) GetPrincipalType() string

GetPrincipalType returns the PrincipalType field value if set, zero value otherwise (both if not set or set to explicit null).

func (*AppRoleAssignment) GetPrincipalTypeOk added in v1.0.2

func (o *AppRoleAssignment) GetPrincipalTypeOk() (*string, bool)

GetPrincipalTypeOk returns a tuple with the PrincipalType field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*AppRoleAssignment) GetResourceDisplayName added in v1.0.2

func (o *AppRoleAssignment) GetResourceDisplayName() string

GetResourceDisplayName returns the ResourceDisplayName field value if set, zero value otherwise (both if not set or set to explicit null).

func (*AppRoleAssignment) GetResourceDisplayNameOk added in v1.0.2

func (o *AppRoleAssignment) GetResourceDisplayNameOk() (*string, bool)

GetResourceDisplayNameOk returns a tuple with the ResourceDisplayName field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*AppRoleAssignment) GetResourceId added in v1.0.2

func (o *AppRoleAssignment) GetResourceId() string

GetResourceId returns the ResourceId field value If the value is explicit nil, the zero value for string will be returned

func (*AppRoleAssignment) GetResourceIdOk added in v1.0.2

func (o *AppRoleAssignment) GetResourceIdOk() (*string, bool)

GetResourceIdOk returns a tuple with the ResourceId field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*AppRoleAssignment) HasCreatedDateTime added in v1.0.2

func (o *AppRoleAssignment) HasCreatedDateTime() bool

HasCreatedDateTime returns a boolean if a field has been set.

func (*AppRoleAssignment) HasDeletedDateTime added in v1.0.2

func (o *AppRoleAssignment) HasDeletedDateTime() bool

HasDeletedDateTime returns a boolean if a field has been set.

func (*AppRoleAssignment) HasId added in v1.0.2

func (o *AppRoleAssignment) HasId() bool

HasId returns a boolean if a field has been set.

func (*AppRoleAssignment) HasPrincipalDisplayName added in v1.0.2

func (o *AppRoleAssignment) HasPrincipalDisplayName() bool

HasPrincipalDisplayName returns a boolean if a field has been set.

func (*AppRoleAssignment) HasPrincipalType added in v1.0.2

func (o *AppRoleAssignment) HasPrincipalType() bool

HasPrincipalType returns a boolean if a field has been set.

func (*AppRoleAssignment) HasResourceDisplayName added in v1.0.2

func (o *AppRoleAssignment) HasResourceDisplayName() bool

HasResourceDisplayName returns a boolean if a field has been set.

func (AppRoleAssignment) MarshalJSON added in v1.0.2

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

func (*AppRoleAssignment) SetAppRoleId added in v1.0.2

func (o *AppRoleAssignment) SetAppRoleId(v string)

SetAppRoleId sets field value

func (*AppRoleAssignment) SetCreatedDateTime added in v1.0.2

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

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

func (*AppRoleAssignment) SetCreatedDateTimeNil added in v1.0.2

func (o *AppRoleAssignment) SetCreatedDateTimeNil()

SetCreatedDateTimeNil sets the value for CreatedDateTime to be an explicit nil

func (*AppRoleAssignment) SetDeletedDateTime added in v1.0.2

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

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

func (*AppRoleAssignment) SetId added in v1.0.2

func (o *AppRoleAssignment) SetId(v string)

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

func (*AppRoleAssignment) SetPrincipalDisplayName added in v1.0.2

func (o *AppRoleAssignment) SetPrincipalDisplayName(v string)

SetPrincipalDisplayName gets a reference to the given NullableString and assigns it to the PrincipalDisplayName field.

func (*AppRoleAssignment) SetPrincipalDisplayNameNil added in v1.0.2

func (o *AppRoleAssignment) SetPrincipalDisplayNameNil()

SetPrincipalDisplayNameNil sets the value for PrincipalDisplayName to be an explicit nil

func (*AppRoleAssignment) SetPrincipalId added in v1.0.2

func (o *AppRoleAssignment) SetPrincipalId(v string)

SetPrincipalId sets field value

func (*AppRoleAssignment) SetPrincipalType added in v1.0.2

func (o *AppRoleAssignment) SetPrincipalType(v string)

SetPrincipalType gets a reference to the given NullableString and assigns it to the PrincipalType field.

func (*AppRoleAssignment) SetPrincipalTypeNil added in v1.0.2

func (o *AppRoleAssignment) SetPrincipalTypeNil()

SetPrincipalTypeNil sets the value for PrincipalType to be an explicit nil

func (*AppRoleAssignment) SetResourceDisplayName added in v1.0.2

func (o *AppRoleAssignment) SetResourceDisplayName(v string)

SetResourceDisplayName gets a reference to the given NullableString and assigns it to the ResourceDisplayName field.

func (*AppRoleAssignment) SetResourceDisplayNameNil added in v1.0.2

func (o *AppRoleAssignment) SetResourceDisplayNameNil()

SetResourceDisplayNameNil sets the value for ResourceDisplayName to be an explicit nil

func (*AppRoleAssignment) SetResourceId added in v1.0.2

func (o *AppRoleAssignment) SetResourceId(v string)

SetResourceId sets field value

func (*AppRoleAssignment) UnsetCreatedDateTime added in v1.0.2

func (o *AppRoleAssignment) UnsetCreatedDateTime()

UnsetCreatedDateTime ensures that no value is present for CreatedDateTime, not even an explicit nil

func (*AppRoleAssignment) UnsetPrincipalDisplayName added in v1.0.2

func (o *AppRoleAssignment) UnsetPrincipalDisplayName()

UnsetPrincipalDisplayName ensures that no value is present for PrincipalDisplayName, not even an explicit nil

func (*AppRoleAssignment) UnsetPrincipalType added in v1.0.2

func (o *AppRoleAssignment) UnsetPrincipalType()

UnsetPrincipalType ensures that no value is present for PrincipalType, not even an explicit nil

func (*AppRoleAssignment) UnsetResourceDisplayName added in v1.0.2

func (o *AppRoleAssignment) UnsetResourceDisplayName()

UnsetResourceDisplayName ensures that no value is present for ResourceDisplayName, not even an explicit nil

type Application added in v1.0.2

type Application 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"`
	// The collection of roles defined for the application. With app role assignments, these roles can be assigned to users, groups, or service principals associated with other applications. Not nullable.
	AppRoles []AppRole `json:"appRoles,omitempty"`
	// The display name for the application.
	DisplayName NullableString `json:"displayName,omitempty"`
}

Application struct for Application

func NewApplication added in v1.0.2

func NewApplication(id string) *Application

NewApplication instantiates a new Application 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 NewApplicationWithDefaults added in v1.0.2

func NewApplicationWithDefaults() *Application

NewApplicationWithDefaults instantiates a new Application 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 (*Application) GetAppRoles added in v1.0.2

func (o *Application) GetAppRoles() []AppRole

GetAppRoles returns the AppRoles field value if set, zero value otherwise.

func (*Application) GetAppRolesOk added in v1.0.2

func (o *Application) GetAppRolesOk() ([]AppRole, bool)

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

func (*Application) GetDisplayName added in v1.0.2

func (o *Application) GetDisplayName() string

GetDisplayName returns the DisplayName field value if set, zero value otherwise (both if not set or set to explicit null).

func (*Application) GetDisplayNameOk added in v1.0.2

func (o *Application) 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. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*Application) GetId added in v1.0.2

func (o *Application) GetId() string

GetId returns the Id field value

func (*Application) GetIdOk added in v1.0.2

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

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

func (*Application) HasAppRoles added in v1.0.2

func (o *Application) HasAppRoles() bool

HasAppRoles returns a boolean if a field has been set.

func (*Application) HasDisplayName added in v1.0.2

func (o *Application) HasDisplayName() bool

HasDisplayName returns a boolean if a field has been set.

func (Application) MarshalJSON added in v1.0.2

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

func (*Application) SetAppRoles added in v1.0.2

func (o *Application) SetAppRoles(v []AppRole)

SetAppRoles gets a reference to the given []AppRole and assigns it to the AppRoles field.

func (*Application) SetDisplayName added in v1.0.2

func (o *Application) SetDisplayName(v string)

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

func (*Application) SetDisplayNameNil added in v1.0.2

func (o *Application) SetDisplayNameNil()

SetDisplayNameNil sets the value for DisplayName to be an explicit nil

func (*Application) SetId added in v1.0.2

func (o *Application) SetId(v string)

SetId sets field value

func (*Application) UnsetDisplayName added in v1.0.2

func (o *Application) UnsetDisplayName()

UnsetDisplayName ensures that no value is present for DisplayName, not even an explicit nil

type ApplicationsApiService added in v1.0.2

type ApplicationsApiService service

ApplicationsApiService ApplicationsApi service

func (*ApplicationsApiService) GetApplication added in v1.0.2

func (a *ApplicationsApiService) GetApplication(ctx context.Context, applicationId string) ApiGetApplicationRequest

GetApplication Get application by id

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

func (*ApplicationsApiService) GetApplicationExecute added in v1.0.2

Execute executes the request

@return Application

func (*ApplicationsApiService) ListApplications added in v1.0.2

ListApplications Get all applications

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

func (*ApplicationsApiService) ListApplicationsExecute added in v1.0.2

Execute executes the request

@return CollectionOfApplications

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 ClassMemberReference added in v1.0.1

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

ClassMemberReference struct for ClassMemberReference

func NewClassMemberReference added in v1.0.1

func NewClassMemberReference() *ClassMemberReference

NewClassMemberReference instantiates a new ClassMemberReference 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 NewClassMemberReferenceWithDefaults added in v1.0.1

func NewClassMemberReferenceWithDefaults() *ClassMemberReference

NewClassMemberReferenceWithDefaults instantiates a new ClassMemberReference 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 (*ClassMemberReference) GetOdataId added in v1.0.1

func (o *ClassMemberReference) GetOdataId() string

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

func (*ClassMemberReference) GetOdataIdOk added in v1.0.1

func (o *ClassMemberReference) 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 (*ClassMemberReference) HasOdataId added in v1.0.1

func (o *ClassMemberReference) HasOdataId() bool

HasOdataId returns a boolean if a field has been set.

func (ClassMemberReference) MarshalJSON added in v1.0.1

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

func (*ClassMemberReference) SetOdataId added in v1.0.1

func (o *ClassMemberReference) SetOdataId(v string)

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

type ClassReference added in v1.0.1

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

ClassReference struct for ClassReference

func NewClassReference added in v1.0.1

func NewClassReference() *ClassReference

NewClassReference instantiates a new ClassReference 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 NewClassReferenceWithDefaults added in v1.0.1

func NewClassReferenceWithDefaults() *ClassReference

NewClassReferenceWithDefaults instantiates a new ClassReference 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 (*ClassReference) GetOdataId added in v1.0.1

func (o *ClassReference) GetOdataId() string

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

func (*ClassReference) GetOdataIdOk added in v1.0.1

func (o *ClassReference) 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 (*ClassReference) HasOdataId added in v1.0.1

func (o *ClassReference) HasOdataId() bool

HasOdataId returns a boolean if a field has been set.

func (ClassReference) MarshalJSON added in v1.0.1

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

func (*ClassReference) SetOdataId added in v1.0.1

func (o *ClassReference) SetOdataId(v string)

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

type ClassTeacherReference added in v1.0.2

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

ClassTeacherReference struct for ClassTeacherReference

func NewClassTeacherReference added in v1.0.2

func NewClassTeacherReference() *ClassTeacherReference

NewClassTeacherReference instantiates a new ClassTeacherReference 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 NewClassTeacherReferenceWithDefaults added in v1.0.2

func NewClassTeacherReferenceWithDefaults() *ClassTeacherReference

NewClassTeacherReferenceWithDefaults instantiates a new ClassTeacherReference 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 (*ClassTeacherReference) GetOdataId added in v1.0.2

func (o *ClassTeacherReference) GetOdataId() string

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

func (*ClassTeacherReference) GetOdataIdOk added in v1.0.2

func (o *ClassTeacherReference) 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 (*ClassTeacherReference) HasOdataId added in v1.0.2

func (o *ClassTeacherReference) HasOdataId() bool

HasOdataId returns a boolean if a field has been set.

func (ClassTeacherReference) MarshalJSON added in v1.0.2

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

func (*ClassTeacherReference) SetOdataId added in v1.0.2

func (o *ClassTeacherReference) SetOdataId(v string)

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

type CollectionOfAppRoleAssignments added in v1.0.2

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

CollectionOfAppRoleAssignments struct for CollectionOfAppRoleAssignments

func NewCollectionOfAppRoleAssignments added in v1.0.2

func NewCollectionOfAppRoleAssignments() *CollectionOfAppRoleAssignments

NewCollectionOfAppRoleAssignments instantiates a new CollectionOfAppRoleAssignments 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 NewCollectionOfAppRoleAssignmentsWithDefaults added in v1.0.2

func NewCollectionOfAppRoleAssignmentsWithDefaults() *CollectionOfAppRoleAssignments

NewCollectionOfAppRoleAssignmentsWithDefaults instantiates a new CollectionOfAppRoleAssignments 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 *CollectionOfAppRoleAssignments) GetOdataNextLink() string

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

func (*CollectionOfAppRoleAssignments) GetOdataNextLinkOk added in v1.0.2

func (o *CollectionOfAppRoleAssignments) 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 (*CollectionOfAppRoleAssignments) GetValue added in v1.0.2

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

func (*CollectionOfAppRoleAssignments) GetValueOk added in v1.0.2

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

HasOdataNextLink returns a boolean if a field has been set.

func (*CollectionOfAppRoleAssignments) HasValue added in v1.0.2

func (o *CollectionOfAppRoleAssignments) HasValue() bool

HasValue returns a boolean if a field has been set.

func (CollectionOfAppRoleAssignments) MarshalJSON added in v1.0.2

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

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

func (*CollectionOfAppRoleAssignments) SetValue added in v1.0.2

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

type CollectionOfApplications added in v1.0.2

type CollectionOfApplications struct {
	Value []Application `json:"value,omitempty"`
}

CollectionOfApplications struct for CollectionOfApplications

func NewCollectionOfApplications added in v1.0.2

func NewCollectionOfApplications() *CollectionOfApplications

NewCollectionOfApplications instantiates a new CollectionOfApplications 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 NewCollectionOfApplicationsWithDefaults added in v1.0.2

func NewCollectionOfApplicationsWithDefaults() *CollectionOfApplications

NewCollectionOfApplicationsWithDefaults instantiates a new CollectionOfApplications 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 (*CollectionOfApplications) GetValue added in v1.0.2

func (o *CollectionOfApplications) GetValue() []Application

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

func (*CollectionOfApplications) GetValueOk added in v1.0.2

func (o *CollectionOfApplications) GetValueOk() ([]Application, 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 (*CollectionOfApplications) HasValue added in v1.0.2

func (o *CollectionOfApplications) HasValue() bool

HasValue returns a boolean if a field has been set.

func (CollectionOfApplications) MarshalJSON added in v1.0.2

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

func (*CollectionOfApplications) SetValue added in v1.0.2

func (o *CollectionOfApplications) SetValue(v []Application)

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

type CollectionOfClass added in v1.0.1

type CollectionOfClass struct {
	Value []EducationClass `json:"value,omitempty"`
}

CollectionOfClass struct for CollectionOfClass

func NewCollectionOfClass added in v1.0.1

func NewCollectionOfClass() *CollectionOfClass

NewCollectionOfClass instantiates a new CollectionOfClass 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 NewCollectionOfClassWithDefaults added in v1.0.1

func NewCollectionOfClassWithDefaults() *CollectionOfClass

NewCollectionOfClassWithDefaults instantiates a new CollectionOfClass 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 (*CollectionOfClass) GetValue added in v1.0.1

func (o *CollectionOfClass) GetValue() []EducationClass

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

func (*CollectionOfClass) GetValueOk added in v1.0.1

func (o *CollectionOfClass) GetValueOk() ([]EducationClass, 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 (*CollectionOfClass) HasValue added in v1.0.1

func (o *CollectionOfClass) HasValue() bool

HasValue returns a boolean if a field has been set.

func (CollectionOfClass) MarshalJSON added in v1.0.1

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

func (*CollectionOfClass) SetValue added in v1.0.1

func (o *CollectionOfClass) SetValue(v []EducationClass)

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

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 CollectionOfDrives1 added in v1.0.1

type CollectionOfDrives1 struct {
	Value []Drive `json:"value,omitempty"`
}

CollectionOfDrives1 struct for CollectionOfDrives1

func NewCollectionOfDrives1 added in v1.0.1

func NewCollectionOfDrives1() *CollectionOfDrives1

NewCollectionOfDrives1 instantiates a new CollectionOfDrives1 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 NewCollectionOfDrives1WithDefaults added in v1.0.1

func NewCollectionOfDrives1WithDefaults() *CollectionOfDrives1

NewCollectionOfDrives1WithDefaults instantiates a new CollectionOfDrives1 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 (*CollectionOfDrives1) GetValue added in v1.0.1

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

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

func (*CollectionOfDrives1) GetValueOk added in v1.0.1

func (o *CollectionOfDrives1) 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 (*CollectionOfDrives1) HasValue added in v1.0.1

func (o *CollectionOfDrives1) HasValue() bool

HasValue returns a boolean if a field has been set.

func (CollectionOfDrives1) MarshalJSON added in v1.0.1

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

func (*CollectionOfDrives1) SetValue added in v1.0.1

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

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

type CollectionOfEducationClass added in v1.0.2

type CollectionOfEducationClass struct {
	Value []EducationClass `json:"value,omitempty"`
}

CollectionOfEducationClass struct for CollectionOfEducationClass

func NewCollectionOfEducationClass added in v1.0.2

func NewCollectionOfEducationClass() *CollectionOfEducationClass

NewCollectionOfEducationClass instantiates a new CollectionOfEducationClass 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 NewCollectionOfEducationClassWithDefaults added in v1.0.2

func NewCollectionOfEducationClassWithDefaults() *CollectionOfEducationClass

NewCollectionOfEducationClassWithDefaults instantiates a new CollectionOfEducationClass 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 (*CollectionOfEducationClass) GetValue added in v1.0.2

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

func (*CollectionOfEducationClass) GetValueOk added in v1.0.2

func (o *CollectionOfEducationClass) GetValueOk() ([]EducationClass, 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 (*CollectionOfEducationClass) HasValue added in v1.0.2

func (o *CollectionOfEducationClass) HasValue() bool

HasValue returns a boolean if a field has been set.

func (CollectionOfEducationClass) MarshalJSON added in v1.0.2

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

func (*CollectionOfEducationClass) SetValue added in v1.0.2

func (o *CollectionOfEducationClass) SetValue(v []EducationClass)

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

type CollectionOfEducationUser added in v1.0.1

type CollectionOfEducationUser struct {
	Value []EducationUser `json:"value,omitempty"`
}

CollectionOfEducationUser struct for CollectionOfEducationUser

func NewCollectionOfEducationUser added in v1.0.1

func NewCollectionOfEducationUser() *CollectionOfEducationUser

NewCollectionOfEducationUser instantiates a new CollectionOfEducationUser 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 NewCollectionOfEducationUserWithDefaults added in v1.0.1

func NewCollectionOfEducationUserWithDefaults() *CollectionOfEducationUser

NewCollectionOfEducationUserWithDefaults instantiates a new CollectionOfEducationUser 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 (*CollectionOfEducationUser) GetValue added in v1.0.1

func (o *CollectionOfEducationUser) GetValue() []EducationUser

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

func (*CollectionOfEducationUser) GetValueOk added in v1.0.1

func (o *CollectionOfEducationUser) GetValueOk() ([]EducationUser, 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 (*CollectionOfEducationUser) HasValue added in v1.0.1

func (o *CollectionOfEducationUser) HasValue() bool

HasValue returns a boolean if a field has been set.

func (CollectionOfEducationUser) MarshalJSON added in v1.0.1

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

func (*CollectionOfEducationUser) SetValue added in v1.0.1

func (o *CollectionOfEducationUser) SetValue(v []EducationUser)

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

type CollectionOfEducationUser1 added in v1.0.2

type CollectionOfEducationUser1 struct {
	Value []EducationClass `json:"value,omitempty"`
}

CollectionOfEducationUser1 struct for CollectionOfEducationUser1

func NewCollectionOfEducationUser1 added in v1.0.2

func NewCollectionOfEducationUser1() *CollectionOfEducationUser1

NewCollectionOfEducationUser1 instantiates a new CollectionOfEducationUser1 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 NewCollectionOfEducationUser1WithDefaults added in v1.0.2

func NewCollectionOfEducationUser1WithDefaults() *CollectionOfEducationUser1

NewCollectionOfEducationUser1WithDefaults instantiates a new CollectionOfEducationUser1 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 (*CollectionOfEducationUser1) GetValue added in v1.0.2

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

func (*CollectionOfEducationUser1) GetValueOk added in v1.0.2

func (o *CollectionOfEducationUser1) GetValueOk() ([]EducationClass, 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 (*CollectionOfEducationUser1) HasValue added in v1.0.2

func (o *CollectionOfEducationUser1) HasValue() bool

HasValue returns a boolean if a field has been set.

func (CollectionOfEducationUser1) MarshalJSON added in v1.0.2

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

func (*CollectionOfEducationUser1) SetValue added in v1.0.2

func (o *CollectionOfEducationUser1) SetValue(v []EducationClass)

SetValue gets a reference to the given []EducationClass 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 CollectionOfSchools added in v1.0.1

type CollectionOfSchools struct {
	Value []EducationSchool `json:"value,omitempty"`
}

CollectionOfSchools struct for CollectionOfSchools

func NewCollectionOfSchools added in v1.0.1

func NewCollectionOfSchools() *CollectionOfSchools

NewCollectionOfSchools instantiates a new CollectionOfSchools 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 NewCollectionOfSchoolsWithDefaults added in v1.0.1

func NewCollectionOfSchoolsWithDefaults() *CollectionOfSchools

NewCollectionOfSchoolsWithDefaults instantiates a new CollectionOfSchools 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 (*CollectionOfSchools) GetValue added in v1.0.1

func (o *CollectionOfSchools) GetValue() []EducationSchool

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

func (*CollectionOfSchools) GetValueOk added in v1.0.1

func (o *CollectionOfSchools) GetValueOk() ([]EducationSchool, 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 (*CollectionOfSchools) HasValue added in v1.0.1

func (o *CollectionOfSchools) HasValue() bool

HasValue returns a boolean if a field has been set.

func (CollectionOfSchools) MarshalJSON added in v1.0.1

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

func (*CollectionOfSchools) SetValue added in v1.0.1

func (o *CollectionOfSchools) SetValue(v []EducationSchool)

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

type CollectionOfTags added in v1.0.1

type CollectionOfTags struct {
	Value []string `json:"value,omitempty"`
}

CollectionOfTags struct for CollectionOfTags

func NewCollectionOfTags added in v1.0.1

func NewCollectionOfTags() *CollectionOfTags

NewCollectionOfTags instantiates a new CollectionOfTags 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 NewCollectionOfTagsWithDefaults added in v1.0.1

func NewCollectionOfTagsWithDefaults() *CollectionOfTags

NewCollectionOfTagsWithDefaults instantiates a new CollectionOfTags 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 (*CollectionOfTags) GetValue added in v1.0.1

func (o *CollectionOfTags) GetValue() []string

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

func (*CollectionOfTags) GetValueOk added in v1.0.1

func (o *CollectionOfTags) GetValueOk() ([]string, 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 (*CollectionOfTags) HasValue added in v1.0.1

func (o *CollectionOfTags) HasValue() bool

HasValue returns a boolean if a field has been set.

func (CollectionOfTags) MarshalJSON added in v1.0.1

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

func (*CollectionOfTags) SetValue added in v1.0.1

func (o *CollectionOfTags) SetValue(v []string)

SetValue gets a reference to the given []string 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 CollectionOfUsers added in v1.0.2

type CollectionOfUsers struct {
	Value []User `json:"value,omitempty"`
}

CollectionOfUsers struct for CollectionOfUsers

func NewCollectionOfUsers added in v1.0.2

func NewCollectionOfUsers() *CollectionOfUsers

NewCollectionOfUsers instantiates a new CollectionOfUsers 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 NewCollectionOfUsersWithDefaults added in v1.0.2

func NewCollectionOfUsersWithDefaults() *CollectionOfUsers

NewCollectionOfUsersWithDefaults instantiates a new CollectionOfUsers 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 (*CollectionOfUsers) GetValue added in v1.0.2

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

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

func (*CollectionOfUsers) GetValueOk added in v1.0.2

func (o *CollectionOfUsers) 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 (*CollectionOfUsers) HasValue added in v1.0.2

func (o *CollectionOfUsers) HasValue() bool

HasValue returns a boolean if a field has been set.

func (CollectionOfUsers) MarshalJSON added in v1.0.2

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

func (*CollectionOfUsers) SetValue added in v1.0.2

func (o *CollectionOfUsers) 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 {
	// The unique idenfier for this drive.
	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"`
	ParentReference *ItemReference `json:"parentReference,omitempty"`
	// URL that displays the resource in the browser. Read-only.
	WebUrl *string `json:"webUrl,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 The drive represents a space on the storage.

func NewDrive

func NewDrive(name string) *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) 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) 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

func (*Drive) GetNameOk

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

GetNameOk returns a tuple with the Name field value 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) 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) HasLastModifiedDateTime

func (o *Drive) HasLastModifiedDateTime() bool

HasLastModifiedDateTime 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) 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) 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 sets field value

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"`
	// 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) 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) 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) 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) 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) 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) 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 drive 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 drive

@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 available 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 CollectionOfDrives1

type DrivesRootApiService

type DrivesRootApiService service

DrivesRootApiService DrivesRootApi service

func (*DrivesRootApiService) GetRoot

func (a *DrivesRootApiService) GetRoot(ctx context.Context, driveId string) ApiGetRootRequest

GetRoot Get root from arbitrary 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 ApiGetRootRequest

func (*DrivesRootApiService) GetRootExecute

Execute executes the request

@return DriveItem

type EducationClass added in v1.0.1

type EducationClass struct {
	// Read-only.
	Id *string `json:"id,omitempty"`
	// An optional description for the group. Returned by default.
	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 $search and $orderBy.
	DisplayName string `json:"displayName"`
	// Users and groups that are members of this group. HTTP Methods: GET (supported for all groups), Nullable. Supports $expand.
	Members []User `json:"members,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"`
	// Classification of the group, i.e. \"class\" or \"course\"
	Classification string `json:"classification"`
	// An external unique ID for the class
	ExternalId *string `json:"externalId,omitempty"`
}

EducationClass And extension of group representing a class or course

func NewEducationClass added in v1.0.1

func NewEducationClass(displayName string, classification string) *EducationClass

NewEducationClass instantiates a new EducationClass 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 NewEducationClassWithDefaults added in v1.0.1

func NewEducationClassWithDefaults() *EducationClass

NewEducationClassWithDefaults instantiates a new EducationClass 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 (*EducationClass) GetClassification added in v1.0.1

func (o *EducationClass) GetClassification() string

GetClassification returns the Classification field value

func (*EducationClass) GetClassificationOk added in v1.0.1

func (o *EducationClass) GetClassificationOk() (*string, bool)

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

func (*EducationClass) GetDescription added in v1.0.1

func (o *EducationClass) GetDescription() string

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

func (*EducationClass) GetDescriptionOk added in v1.0.1

func (o *EducationClass) 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 (*EducationClass) GetDisplayName added in v1.0.1

func (o *EducationClass) GetDisplayName() string

GetDisplayName returns the DisplayName field value

func (*EducationClass) GetDisplayNameOk added in v1.0.1

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

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

func (*EducationClass) GetExternalId added in v1.0.1

func (o *EducationClass) GetExternalId() string

GetExternalId returns the ExternalId field value if set, zero value otherwise.

func (*EducationClass) GetExternalIdOk added in v1.0.1

func (o *EducationClass) GetExternalIdOk() (*string, bool)

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

func (*EducationClass) GetId added in v1.0.1

func (o *EducationClass) GetId() string

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

func (*EducationClass) GetIdOk added in v1.0.1

func (o *EducationClass) 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 (*EducationClass) GetMembers added in v1.0.1

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

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

func (*EducationClass) GetMembersOk added in v1.0.1

func (o *EducationClass) 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 (*EducationClass) GetMembersodataBind added in v1.0.1

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

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

func (*EducationClass) GetMembersodataBindOk added in v1.0.1

func (o *EducationClass) 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 (*EducationClass) HasDescription added in v1.0.1

func (o *EducationClass) HasDescription() bool

HasDescription returns a boolean if a field has been set.

func (*EducationClass) HasExternalId added in v1.0.1

func (o *EducationClass) HasExternalId() bool

HasExternalId returns a boolean if a field has been set.

func (*EducationClass) HasId added in v1.0.1

func (o *EducationClass) HasId() bool

HasId returns a boolean if a field has been set.

func (*EducationClass) HasMembers added in v1.0.1

func (o *EducationClass) HasMembers() bool

HasMembers returns a boolean if a field has been set.

func (*EducationClass) HasMembersodataBind added in v1.0.1

func (o *EducationClass) HasMembersodataBind() bool

HasMembersodataBind returns a boolean if a field has been set.

func (EducationClass) MarshalJSON added in v1.0.1

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

func (*EducationClass) SetClassification added in v1.0.1

func (o *EducationClass) SetClassification(v string)

SetClassification sets field value

func (*EducationClass) SetDescription added in v1.0.1

func (o *EducationClass) SetDescription(v string)

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

func (*EducationClass) SetDisplayName added in v1.0.1

func (o *EducationClass) SetDisplayName(v string)

SetDisplayName sets field value

func (*EducationClass) SetExternalId added in v1.0.1

func (o *EducationClass) SetExternalId(v string)

SetExternalId gets a reference to the given string and assigns it to the ExternalId field.

func (*EducationClass) SetId added in v1.0.1

func (o *EducationClass) SetId(v string)

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

func (*EducationClass) SetMembers added in v1.0.1

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

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

func (*EducationClass) SetMembersodataBind added in v1.0.1

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

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

type EducationClassApiService added in v1.0.1

type EducationClassApiService service

EducationClassApiService EducationClassApi service

func (*EducationClassApiService) AddUserToClass added in v1.0.1

AddUserToClass Assign a user to a class

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

func (*EducationClassApiService) AddUserToClassExecute added in v1.0.1

func (a *EducationClassApiService) AddUserToClassExecute(r ApiAddUserToClassRequest) (*http.Response, error)

Execute executes the request

func (*EducationClassApiService) CreateClass added in v1.0.1

CreateClass Add new education class

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

func (*EducationClassApiService) CreateClassExecute added in v1.0.1

Execute executes the request

@return EducationClass

func (*EducationClassApiService) DeleteClass added in v1.0.1

DeleteClass Delete education class

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

func (*EducationClassApiService) DeleteClassExecute added in v1.0.1

func (a *EducationClassApiService) DeleteClassExecute(r ApiDeleteClassRequest) (*http.Response, error)

Execute executes the request

func (*EducationClassApiService) DeleteUserFromClass added in v1.0.1

func (a *EducationClassApiService) DeleteUserFromClass(ctx context.Context, classId string, userId string) ApiDeleteUserFromClassRequest

DeleteUserFromClass Unassign user from a class

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param classId key: id or externalId of class
@param userId key: id or username of the user to unassign from class
@return ApiDeleteUserFromClassRequest

func (*EducationClassApiService) DeleteUserFromClassExecute added in v1.0.1

func (a *EducationClassApiService) DeleteUserFromClassExecute(r ApiDeleteUserFromClassRequest) (*http.Response, error)

Execute executes the request

func (*EducationClassApiService) GetClass added in v1.0.1

GetClass Get class by key

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

func (*EducationClassApiService) GetClassExecute added in v1.0.1

Execute executes the request

@return EducationClass

func (*EducationClassApiService) ListClassMembers added in v1.0.2

func (a *EducationClassApiService) ListClassMembers(ctx context.Context, classId string) ApiListClassMembersRequest

ListClassMembers Get the educationClass resources owned by an educationSchool

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

func (*EducationClassApiService) ListClassMembersExecute added in v1.0.2

Execute executes the request

@return CollectionOfEducationUser

func (*EducationClassApiService) ListClasses added in v1.0.1

ListClasses list education classes

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

func (*EducationClassApiService) ListClassesExecute added in v1.0.1

Execute executes the request

@return CollectionOfClass

func (*EducationClassApiService) UpdateClass added in v1.0.1

UpdateClass Update properties of a education class

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

func (*EducationClassApiService) UpdateClassExecute added in v1.0.1

Execute executes the request

@return EducationClass

type EducationClassTeachersApiService added in v1.0.2

type EducationClassTeachersApiService service

EducationClassTeachersApiService EducationClassTeachersApi service

func (*EducationClassTeachersApiService) AddTeacherToClass added in v1.0.2

AddTeacherToClass Assign a teacher to a class

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

func (*EducationClassTeachersApiService) AddTeacherToClassExecute added in v1.0.2

Execute executes the request

func (*EducationClassTeachersApiService) DeleteTeacherFromClass added in v1.0.2

func (a *EducationClassTeachersApiService) DeleteTeacherFromClass(ctx context.Context, classId string, userId string) ApiDeleteTeacherFromClassRequest

DeleteTeacherFromClass Unassign user as teacher of a class

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param classId key: id or externalId of class
@param userId key: id or username of the user to unassign as teacher
@return ApiDeleteTeacherFromClassRequest

func (*EducationClassTeachersApiService) DeleteTeacherFromClassExecute added in v1.0.2

Execute executes the request

func (*EducationClassTeachersApiService) GetTeachers added in v1.0.2

GetTeachers Get the teachers for a class

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

func (*EducationClassTeachersApiService) GetTeachersExecute added in v1.0.2

Execute executes the request

@return CollectionOfEducationUser

type EducationOrganization added in v1.0.1

type EducationOrganization struct {
	// The unique idenfier for an entity. Read-only.
	Id *string `json:"id,omitempty"`
	// The organization name
	DisplayName *string `json:"displayName,omitempty"`
}

EducationOrganization Abstract. Represents an organization in educational context

func NewEducationOrganization added in v1.0.1

func NewEducationOrganization() *EducationOrganization

NewEducationOrganization instantiates a new EducationOrganization 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 NewEducationOrganizationWithDefaults added in v1.0.1

func NewEducationOrganizationWithDefaults() *EducationOrganization

NewEducationOrganizationWithDefaults instantiates a new EducationOrganization 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 (*EducationOrganization) GetDisplayName added in v1.0.1

func (o *EducationOrganization) GetDisplayName() string

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

func (*EducationOrganization) GetDisplayNameOk added in v1.0.1

func (o *EducationOrganization) 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 (*EducationOrganization) GetId added in v1.0.1

func (o *EducationOrganization) GetId() string

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

func (*EducationOrganization) GetIdOk added in v1.0.1

func (o *EducationOrganization) 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 (*EducationOrganization) HasDisplayName added in v1.0.1

func (o *EducationOrganization) HasDisplayName() bool

HasDisplayName returns a boolean if a field has been set.

func (*EducationOrganization) HasId added in v1.0.1

func (o *EducationOrganization) HasId() bool

HasId returns a boolean if a field has been set.

func (EducationOrganization) MarshalJSON added in v1.0.1

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

func (*EducationOrganization) SetDisplayName added in v1.0.1

func (o *EducationOrganization) SetDisplayName(v string)

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

func (*EducationOrganization) SetId added in v1.0.1

func (o *EducationOrganization) SetId(v string)

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

type EducationSchool added in v1.0.1

type EducationSchool struct {
	// The unique idenfier for an entity. Read-only.
	Id *string `json:"id,omitempty"`
	// The organization name
	DisplayName *string `json:"displayName,omitempty"`
	// School number
	SchoolNumber *string `json:"schoolNumber,omitempty"`
}

EducationSchool Represents a school

func NewEducationSchool added in v1.0.1

func NewEducationSchool() *EducationSchool

NewEducationSchool instantiates a new EducationSchool 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 NewEducationSchoolWithDefaults added in v1.0.1

func NewEducationSchoolWithDefaults() *EducationSchool

NewEducationSchoolWithDefaults instantiates a new EducationSchool 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 (*EducationSchool) GetDisplayName added in v1.0.1

func (o *EducationSchool) GetDisplayName() string

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

func (*EducationSchool) GetDisplayNameOk added in v1.0.1

func (o *EducationSchool) 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 (*EducationSchool) GetId added in v1.0.1

func (o *EducationSchool) GetId() string

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

func (*EducationSchool) GetIdOk added in v1.0.1

func (o *EducationSchool) 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 (*EducationSchool) GetSchoolNumber added in v1.0.1

func (o *EducationSchool) GetSchoolNumber() string

GetSchoolNumber returns the SchoolNumber field value if set, zero value otherwise.

func (*EducationSchool) GetSchoolNumberOk added in v1.0.1

func (o *EducationSchool) GetSchoolNumberOk() (*string, bool)

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

func (*EducationSchool) HasDisplayName added in v1.0.1

func (o *EducationSchool) HasDisplayName() bool

HasDisplayName returns a boolean if a field has been set.

func (*EducationSchool) HasId added in v1.0.1

func (o *EducationSchool) HasId() bool

HasId returns a boolean if a field has been set.

func (*EducationSchool) HasSchoolNumber added in v1.0.1

func (o *EducationSchool) HasSchoolNumber() bool

HasSchoolNumber returns a boolean if a field has been set.

func (EducationSchool) MarshalJSON added in v1.0.1

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

func (*EducationSchool) SetDisplayName added in v1.0.1

func (o *EducationSchool) SetDisplayName(v string)

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

func (*EducationSchool) SetId added in v1.0.1

func (o *EducationSchool) SetId(v string)

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

func (*EducationSchool) SetSchoolNumber added in v1.0.1

func (o *EducationSchool) SetSchoolNumber(v string)

SetSchoolNumber gets a reference to the given string and assigns it to the SchoolNumber field.

type EducationSchoolApiService added in v1.0.1

type EducationSchoolApiService service

EducationSchoolApiService EducationSchoolApi service

func (*EducationSchoolApiService) AddClassToSchool added in v1.0.1

func (a *EducationSchoolApiService) AddClassToSchool(ctx context.Context, schoolId string) ApiAddClassToSchoolRequest

AddClassToSchool Assign a class to a school

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

func (*EducationSchoolApiService) AddClassToSchoolExecute added in v1.0.1

func (a *EducationSchoolApiService) AddClassToSchoolExecute(r ApiAddClassToSchoolRequest) (*http.Response, error)

Execute executes the request

func (*EducationSchoolApiService) AddUserToSchool added in v1.0.1

func (a *EducationSchoolApiService) AddUserToSchool(ctx context.Context, schoolId string) ApiAddUserToSchoolRequest

AddUserToSchool Assign a user to a school

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

func (*EducationSchoolApiService) AddUserToSchoolExecute added in v1.0.1

func (a *EducationSchoolApiService) AddUserToSchoolExecute(r ApiAddUserToSchoolRequest) (*http.Response, error)

Execute executes the request

func (*EducationSchoolApiService) CreateSchool added in v1.0.1

CreateSchool Add new school

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

func (*EducationSchoolApiService) CreateSchoolExecute added in v1.0.1

Execute executes the request

@return EducationSchool

func (*EducationSchoolApiService) DeleteClassFromSchool added in v1.0.1

func (a *EducationSchoolApiService) DeleteClassFromSchool(ctx context.Context, schoolId string, classId string) ApiDeleteClassFromSchoolRequest

DeleteClassFromSchool Unassign class from a school

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param schoolId key: id or schoolNumber of school
@param classId key: id or externalId of the class to unassign from school
@return ApiDeleteClassFromSchoolRequest

func (*EducationSchoolApiService) DeleteClassFromSchoolExecute added in v1.0.1

func (a *EducationSchoolApiService) DeleteClassFromSchoolExecute(r ApiDeleteClassFromSchoolRequest) (*http.Response, error)

Execute executes the request

func (*EducationSchoolApiService) DeleteSchool added in v1.0.1

DeleteSchool Delete school

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

func (*EducationSchoolApiService) DeleteSchoolExecute added in v1.0.1

func (a *EducationSchoolApiService) DeleteSchoolExecute(r ApiDeleteSchoolRequest) (*http.Response, error)

Execute executes the request

func (*EducationSchoolApiService) DeleteUserFromSchool added in v1.0.1

func (a *EducationSchoolApiService) DeleteUserFromSchool(ctx context.Context, schoolId string, userId string) ApiDeleteUserFromSchoolRequest

DeleteUserFromSchool Unassign user from a school

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param schoolId key: id or schoolNumber of school
@param userId key: id or username of the user to unassign from school
@return ApiDeleteUserFromSchoolRequest

func (*EducationSchoolApiService) DeleteUserFromSchoolExecute added in v1.0.1

func (a *EducationSchoolApiService) DeleteUserFromSchoolExecute(r ApiDeleteUserFromSchoolRequest) (*http.Response, error)

Execute executes the request

func (*EducationSchoolApiService) GetSchool added in v1.0.1

GetSchool Get the properties of a specific school

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

func (*EducationSchoolApiService) GetSchoolExecute added in v1.0.1

Execute executes the request

@return EducationSchool

func (*EducationSchoolApiService) ListSchoolClasses added in v1.0.2

func (a *EducationSchoolApiService) ListSchoolClasses(ctx context.Context, schoolId string) ApiListSchoolClassesRequest

ListSchoolClasses Get the educationClass resources owned by an educationSchool

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

func (*EducationSchoolApiService) ListSchoolClassesExecute added in v1.0.2

Execute executes the request

@return CollectionOfEducationClass

func (*EducationSchoolApiService) ListSchoolUsers added in v1.0.2

func (a *EducationSchoolApiService) ListSchoolUsers(ctx context.Context, schoolId string) ApiListSchoolUsersRequest

ListSchoolUsers Get the educationUser resources associated with an educationSchool

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

func (*EducationSchoolApiService) ListSchoolUsersExecute added in v1.0.2

Execute executes the request

@return CollectionOfEducationUser1

func (*EducationSchoolApiService) ListSchools added in v1.0.1

ListSchools Get a list of schools and their properties

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

func (*EducationSchoolApiService) ListSchoolsExecute added in v1.0.1

Execute executes the request

@return CollectionOfSchools

func (*EducationSchoolApiService) UpdateSchool added in v1.0.1

UpdateSchool Update properties of a school

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

func (*EducationSchoolApiService) UpdateSchoolExecute added in v1.0.1

Execute executes the request

@return EducationSchool

type EducationUser added in v1.0.1

type EducationUser struct {
	// Read-only.
	Id *string `json:"id,omitempty"`
	// Set to \"true\" when the account is enabled.
	AccountEnabled *bool `json:"accountEnabled,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 $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"`
	// Identities associated with this account.
	Identities []ObjectIdentity `json:"identities,omitempty"`
	// The SMTP address for the user, for example, 'jeff@contoso.onowncloud.com'. Returned by default.
	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.
	Surname *string `json:"surname,omitempty"`
	// The user's givenName. Returned by default.
	GivenName *string `json:"givenName,omitempty"`
	// The user`s default role. Such as \"student\" or \"teacher\"
	PrimaryRole *string `json:"primaryRole,omitempty"`
	// The user`s type. This can be either \"Member\" for regular user, or \"Guest\" for guest users.
	UserType *string `json:"userType,omitempty"`
}

EducationUser And extension of user with education specific attributes

func NewEducationUser added in v1.0.1

func NewEducationUser() *EducationUser

NewEducationUser instantiates a new EducationUser 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 NewEducationUserWithDefaults added in v1.0.1

func NewEducationUserWithDefaults() *EducationUser

NewEducationUserWithDefaults instantiates a new EducationUser 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 (*EducationUser) GetAccountEnabled added in v1.0.1

func (o *EducationUser) GetAccountEnabled() bool

GetAccountEnabled returns the AccountEnabled field value if set, zero value otherwise.

func (*EducationUser) GetAccountEnabledOk added in v1.0.1

func (o *EducationUser) GetAccountEnabledOk() (*bool, bool)

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

func (*EducationUser) GetDisplayName added in v1.0.1

func (o *EducationUser) GetDisplayName() string

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

func (*EducationUser) GetDisplayNameOk added in v1.0.1

func (o *EducationUser) 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 (*EducationUser) GetDrive added in v1.0.1

func (o *EducationUser) GetDrive() Drive

GetDrive returns the Drive field value if set, zero value otherwise.

func (*EducationUser) GetDriveOk added in v1.0.1

func (o *EducationUser) 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 (*EducationUser) GetDrives added in v1.0.1

func (o *EducationUser) GetDrives() []Drive

GetDrives returns the Drives field value if set, zero value otherwise.

func (*EducationUser) GetDrivesOk added in v1.0.1

func (o *EducationUser) 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 (*EducationUser) GetGivenName added in v1.0.1

func (o *EducationUser) GetGivenName() string

GetGivenName returns the GivenName field value if set, zero value otherwise.

func (*EducationUser) GetGivenNameOk added in v1.0.1

func (o *EducationUser) GetGivenNameOk() (*string, bool)

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

func (*EducationUser) GetId added in v1.0.1

func (o *EducationUser) GetId() string

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

func (*EducationUser) GetIdOk added in v1.0.1

func (o *EducationUser) 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 (*EducationUser) GetIdentities added in v1.0.1

func (o *EducationUser) GetIdentities() []ObjectIdentity

GetIdentities returns the Identities field value if set, zero value otherwise.

func (*EducationUser) GetIdentitiesOk added in v1.0.1

func (o *EducationUser) GetIdentitiesOk() ([]ObjectIdentity, bool)

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

func (*EducationUser) GetMail added in v1.0.1

func (o *EducationUser) GetMail() string

GetMail returns the Mail field value if set, zero value otherwise.

func (*EducationUser) GetMailOk added in v1.0.1

func (o *EducationUser) 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 (*EducationUser) GetMemberOf added in v1.0.1

func (o *EducationUser) GetMemberOf() []Group

GetMemberOf returns the MemberOf field value if set, zero value otherwise.

func (*EducationUser) GetMemberOfOk added in v1.0.1

func (o *EducationUser) 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 (*EducationUser) GetOnPremisesSamAccountName added in v1.0.1

func (o *EducationUser) GetOnPremisesSamAccountName() string

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

func (*EducationUser) GetOnPremisesSamAccountNameOk added in v1.0.1

func (o *EducationUser) 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 (*EducationUser) GetPasswordProfile added in v1.0.1

func (o *EducationUser) GetPasswordProfile() PasswordProfile

GetPasswordProfile returns the PasswordProfile field value if set, zero value otherwise.

func (*EducationUser) GetPasswordProfileOk added in v1.0.1

func (o *EducationUser) 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 (*EducationUser) GetPrimaryRole added in v1.0.1

func (o *EducationUser) GetPrimaryRole() string

GetPrimaryRole returns the PrimaryRole field value if set, zero value otherwise.

func (*EducationUser) GetPrimaryRoleOk added in v1.0.1

func (o *EducationUser) GetPrimaryRoleOk() (*string, bool)

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

func (*EducationUser) GetSurname added in v1.0.1

func (o *EducationUser) GetSurname() string

GetSurname returns the Surname field value if set, zero value otherwise.

func (*EducationUser) GetSurnameOk added in v1.0.1

func (o *EducationUser) 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 (*EducationUser) GetUserType added in v1.0.2

func (o *EducationUser) GetUserType() string

GetUserType returns the UserType field value if set, zero value otherwise.

func (*EducationUser) GetUserTypeOk added in v1.0.2

func (o *EducationUser) GetUserTypeOk() (*string, bool)

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

func (*EducationUser) HasAccountEnabled added in v1.0.1

func (o *EducationUser) HasAccountEnabled() bool

HasAccountEnabled returns a boolean if a field has been set.

func (*EducationUser) HasDisplayName added in v1.0.1

func (o *EducationUser) HasDisplayName() bool

HasDisplayName returns a boolean if a field has been set.

func (*EducationUser) HasDrive added in v1.0.1

func (o *EducationUser) HasDrive() bool

HasDrive returns a boolean if a field has been set.

func (*EducationUser) HasDrives added in v1.0.1

func (o *EducationUser) HasDrives() bool

HasDrives returns a boolean if a field has been set.

func (*EducationUser) HasGivenName added in v1.0.1

func (o *EducationUser) HasGivenName() bool

HasGivenName returns a boolean if a field has been set.

func (*EducationUser) HasId added in v1.0.1

func (o *EducationUser) HasId() bool

HasId returns a boolean if a field has been set.

func (*EducationUser) HasIdentities added in v1.0.1

func (o *EducationUser) HasIdentities() bool

HasIdentities returns a boolean if a field has been set.

func (*EducationUser) HasMail added in v1.0.1

func (o *EducationUser) HasMail() bool

HasMail returns a boolean if a field has been set.

func (*EducationUser) HasMemberOf added in v1.0.1

func (o *EducationUser) HasMemberOf() bool

HasMemberOf returns a boolean if a field has been set.

func (*EducationUser) HasOnPremisesSamAccountName added in v1.0.1

func (o *EducationUser) HasOnPremisesSamAccountName() bool

HasOnPremisesSamAccountName returns a boolean if a field has been set.

func (*EducationUser) HasPasswordProfile added in v1.0.1

func (o *EducationUser) HasPasswordProfile() bool

HasPasswordProfile returns a boolean if a field has been set.

func (*EducationUser) HasPrimaryRole added in v1.0.1

func (o *EducationUser) HasPrimaryRole() bool

HasPrimaryRole returns a boolean if a field has been set.

func (*EducationUser) HasSurname added in v1.0.1

func (o *EducationUser) HasSurname() bool

HasSurname returns a boolean if a field has been set.

func (*EducationUser) HasUserType added in v1.0.2

func (o *EducationUser) HasUserType() bool

HasUserType returns a boolean if a field has been set.

func (EducationUser) MarshalJSON added in v1.0.1

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

func (*EducationUser) SetAccountEnabled added in v1.0.1

func (o *EducationUser) SetAccountEnabled(v bool)

SetAccountEnabled gets a reference to the given bool and assigns it to the AccountEnabled field.

func (*EducationUser) SetDisplayName added in v1.0.1

func (o *EducationUser) SetDisplayName(v string)

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

func (*EducationUser) SetDrive added in v1.0.1

func (o *EducationUser) SetDrive(v Drive)

SetDrive gets a reference to the given Drive and assigns it to the Drive field.

func (*EducationUser) SetDrives added in v1.0.1

func (o *EducationUser) SetDrives(v []Drive)

SetDrives gets a reference to the given []Drive and assigns it to the Drives field.

func (*EducationUser) SetGivenName added in v1.0.1

func (o *EducationUser) SetGivenName(v string)

SetGivenName gets a reference to the given string and assigns it to the GivenName field.

func (*EducationUser) SetId added in v1.0.1

func (o *EducationUser) SetId(v string)

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

func (*EducationUser) SetIdentities added in v1.0.1

func (o *EducationUser) SetIdentities(v []ObjectIdentity)

SetIdentities gets a reference to the given []ObjectIdentity and assigns it to the Identities field.

func (*EducationUser) SetMail added in v1.0.1

func (o *EducationUser) SetMail(v string)

SetMail gets a reference to the given string and assigns it to the Mail field.

func (*EducationUser) SetMemberOf added in v1.0.1

func (o *EducationUser) SetMemberOf(v []Group)

SetMemberOf gets a reference to the given []Group and assigns it to the MemberOf field.

func (*EducationUser) SetOnPremisesSamAccountName added in v1.0.1

func (o *EducationUser) SetOnPremisesSamAccountName(v string)

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

func (*EducationUser) SetPasswordProfile added in v1.0.1

func (o *EducationUser) SetPasswordProfile(v PasswordProfile)

SetPasswordProfile gets a reference to the given PasswordProfile and assigns it to the PasswordProfile field.

func (*EducationUser) SetPrimaryRole added in v1.0.1

func (o *EducationUser) SetPrimaryRole(v string)

SetPrimaryRole gets a reference to the given string and assigns it to the PrimaryRole field.

func (*EducationUser) SetSurname added in v1.0.1

func (o *EducationUser) SetSurname(v string)

SetSurname gets a reference to the given string and assigns it to the Surname field.

func (*EducationUser) SetUserType added in v1.0.2

func (o *EducationUser) SetUserType(v string)

SetUserType gets a reference to the given string and assigns it to the UserType field.

type EducationUserApiService added in v1.0.1

type EducationUserApiService service

EducationUserApiService EducationUserApi service

func (*EducationUserApiService) CreateEducationUser added in v1.0.1

CreateEducationUser Add new education user

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

func (*EducationUserApiService) CreateEducationUserExecute added in v1.0.1

Execute executes the request

@return EducationUser

func (*EducationUserApiService) DeleteEducationUser added in v1.0.1

func (a *EducationUserApiService) DeleteEducationUser(ctx context.Context, userId string) ApiDeleteEducationUserRequest

DeleteEducationUser Delete educationUser

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

func (*EducationUserApiService) DeleteEducationUserExecute added in v1.0.1

func (a *EducationUserApiService) DeleteEducationUserExecute(r ApiDeleteEducationUserRequest) (*http.Response, error)

Execute executes the request

func (*EducationUserApiService) GetEducationUser added in v1.0.1

func (a *EducationUserApiService) GetEducationUser(ctx context.Context, userId string) ApiGetEducationUserRequest

GetEducationUser Get properties of educationUser

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

func (*EducationUserApiService) GetEducationUserExecute added in v1.0.1

Execute executes the request

@return EducationUser

func (*EducationUserApiService) ListEducationUsers added in v1.0.1

ListEducationUsers Get entities from education users

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

func (*EducationUserApiService) ListEducationUsersExecute added in v1.0.1

Execute executes the request

@return CollectionOfEducationUser

func (*EducationUserApiService) UpdateEducationUser added in v1.0.1

func (a *EducationUserApiService) UpdateEducationUser(ctx context.Context, userId string) ApiUpdateEducationUserRequest

UpdateEducationUser Update properties of educationUser

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

func (*EducationUserApiService) UpdateEducationUserExecute added in v1.0.1

Execute executes the request

@return EducationUser

type EducationUserReference added in v1.0.1

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

EducationUserReference struct for EducationUserReference

func NewEducationUserReference added in v1.0.1

func NewEducationUserReference() *EducationUserReference

NewEducationUserReference instantiates a new EducationUserReference 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 NewEducationUserReferenceWithDefaults added in v1.0.1

func NewEducationUserReferenceWithDefaults() *EducationUserReference

NewEducationUserReferenceWithDefaults instantiates a new EducationUserReference 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 (*EducationUserReference) GetOdataId added in v1.0.1

func (o *EducationUserReference) GetOdataId() string

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

func (*EducationUserReference) GetOdataIdOk added in v1.0.1

func (o *EducationUserReference) 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 (*EducationUserReference) HasOdataId added in v1.0.1

func (o *EducationUserReference) HasOdataId() bool

HasOdataId returns a boolean if a field has been set.

func (EducationUserReference) MarshalJSON added in v1.0.1

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

func (*EducationUserReference) SetOdataId added in v1.0.1

func (o *EducationUserReference) SetOdataId(v string)

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

type Entity added in v1.0.1

type Entity struct {
	// The unique idenfier for an entity. Read-only.
	Id *string `json:"id,omitempty"`
}

Entity Represents an entity.

func NewEntity added in v1.0.1

func NewEntity() *Entity

NewEntity instantiates a new Entity 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 NewEntityWithDefaults added in v1.0.1

func NewEntityWithDefaults() *Entity

NewEntityWithDefaults instantiates a new Entity 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 (*Entity) GetId added in v1.0.1

func (o *Entity) GetId() string

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

func (*Entity) GetIdOk added in v1.0.1

func (o *Entity) 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 (*Entity) HasId added in v1.0.1

func (o *Entity) HasId() bool

HasId returns a boolean if a field has been set.

func (Entity) MarshalJSON added in v1.0.1

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

func (*Entity) SetId added in v1.0.1

func (o *Entity) SetId(v string)

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

type ExportPersonalDataRequest added in v1.0.2

type ExportPersonalDataRequest struct {
	// the path where the file should be created in the users personal space
	StorageLocation *string `json:"storageLocation,omitempty"`
}

ExportPersonalDataRequest struct for ExportPersonalDataRequest

func NewExportPersonalDataRequest added in v1.0.2

func NewExportPersonalDataRequest() *ExportPersonalDataRequest

NewExportPersonalDataRequest instantiates a new ExportPersonalDataRequest 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 NewExportPersonalDataRequestWithDefaults added in v1.0.2

func NewExportPersonalDataRequestWithDefaults() *ExportPersonalDataRequest

NewExportPersonalDataRequestWithDefaults instantiates a new ExportPersonalDataRequest 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 (*ExportPersonalDataRequest) GetStorageLocation added in v1.0.2

func (o *ExportPersonalDataRequest) GetStorageLocation() string

GetStorageLocation returns the StorageLocation field value if set, zero value otherwise.

func (*ExportPersonalDataRequest) GetStorageLocationOk added in v1.0.2

func (o *ExportPersonalDataRequest) GetStorageLocationOk() (*string, bool)

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

func (*ExportPersonalDataRequest) HasStorageLocation added in v1.0.2

func (o *ExportPersonalDataRequest) HasStorageLocation() bool

HasStorageLocation returns a boolean if a field has been set.

func (ExportPersonalDataRequest) MarshalJSON added in v1.0.2

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

func (*ExportPersonalDataRequest) SetStorageLocation added in v1.0.2

func (o *ExportPersonalDataRequest) SetStorageLocation(v string)

SetStorageLocation gets a reference to the given string and assigns it to the StorageLocation field.

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.
	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 $search and $orderBy.
	DisplayName *string `json:"displayName,omitempty"`
	// Specifies the group types. In MS Graph a group can have multiple types, so this is an array. In libreGraph the possible group types deviate from the MS Graph. The only group type that we currently support is \"ReadOnly\", which is set for groups that cannot be modified on the current instance.
	GroupTypes []string `json:"groupTypes,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"`
	// 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) GetGroupTypes added in v1.0.2

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

GetGroupTypes returns the GroupTypes field value if set, zero value otherwise.

func (*Group) GetGroupTypesOk added in v1.0.2

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

GetGroupTypesOk returns a tuple with the GroupTypes 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) 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) HasGroupTypes added in v1.0.2

func (o *Group) HasGroupTypes() bool

HasGroupTypes 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) 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) SetGroupTypes added in v1.0.2

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

SetGroupTypes gets a reference to the given []string and assigns it to the GroupTypes 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.

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 or name 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) ListMembers added in v1.0.2

func (a *GroupApiService) ListMembers(ctx context.Context, groupId string) ApiListMembersRequest

ListMembers Get a list of the group's direct members

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

func (*GroupApiService) ListMembersExecute added in v1.0.2

Execute executes the request

@return CollectionOfUsers

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"`
	// Unique identifier for the identity.
	Id *string `json:"id,omitempty"`
}

Identity struct for Identity

func NewIdentity

func NewIdentity(displayName string) *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

func (*Identity) GetDisplayNameOk

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

GetDisplayNameOk returns a tuple with the DisplayName field value 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) 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 sets field value

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"`
	Group       *Identity `json:"group,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) GetGroup added in v1.0.1

func (o *IdentitySet) GetGroup() Identity

GetGroup returns the Group field value if set, zero value otherwise.

func (*IdentitySet) GetGroupOk added in v1.0.1

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

GetGroupOk returns a tuple with the Group 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) HasGroup added in v1.0.1

func (o *IdentitySet) HasGroup() bool

HasGroup 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) SetGroup added in v1.0.1

func (o *IdentitySet) SetGroup(v Identity)

SetGroup gets a reference to the given Identity and assigns it to the Group 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 all drives where the current user is a regular member of

@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 NullableAppRole added in v1.0.2

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

func NewNullableAppRole added in v1.0.2

func NewNullableAppRole(val *AppRole) *NullableAppRole

func (NullableAppRole) Get added in v1.0.2

func (v NullableAppRole) Get() *AppRole

func (NullableAppRole) IsSet added in v1.0.2

func (v NullableAppRole) IsSet() bool

func (NullableAppRole) MarshalJSON added in v1.0.2

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

func (*NullableAppRole) Set added in v1.0.2

func (v *NullableAppRole) Set(val *AppRole)

func (*NullableAppRole) UnmarshalJSON added in v1.0.2

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

func (*NullableAppRole) Unset added in v1.0.2

func (v *NullableAppRole) Unset()

type NullableAppRoleAssignment added in v1.0.2

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

func NewNullableAppRoleAssignment added in v1.0.2

func NewNullableAppRoleAssignment(val *AppRoleAssignment) *NullableAppRoleAssignment

func (NullableAppRoleAssignment) Get added in v1.0.2

func (NullableAppRoleAssignment) IsSet added in v1.0.2

func (v NullableAppRoleAssignment) IsSet() bool

func (NullableAppRoleAssignment) MarshalJSON added in v1.0.2

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

func (*NullableAppRoleAssignment) Set added in v1.0.2

func (*NullableAppRoleAssignment) UnmarshalJSON added in v1.0.2

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

func (*NullableAppRoleAssignment) Unset added in v1.0.2

func (v *NullableAppRoleAssignment) Unset()

type NullableApplication added in v1.0.2

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

func NewNullableApplication added in v1.0.2

func NewNullableApplication(val *Application) *NullableApplication

func (NullableApplication) Get added in v1.0.2

func (NullableApplication) IsSet added in v1.0.2

func (v NullableApplication) IsSet() bool

func (NullableApplication) MarshalJSON added in v1.0.2

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

func (*NullableApplication) Set added in v1.0.2

func (v *NullableApplication) Set(val *Application)

func (*NullableApplication) UnmarshalJSON added in v1.0.2

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

func (*NullableApplication) Unset added in v1.0.2

func (v *NullableApplication) Unset()

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 NullableClassMemberReference added in v1.0.1

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

func NewNullableClassMemberReference added in v1.0.1

func NewNullableClassMemberReference(val *ClassMemberReference) *NullableClassMemberReference

func (NullableClassMemberReference) Get added in v1.0.1

func (NullableClassMemberReference) IsSet added in v1.0.1

func (NullableClassMemberReference) MarshalJSON added in v1.0.1

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

func (*NullableClassMemberReference) Set added in v1.0.1

func (*NullableClassMemberReference) UnmarshalJSON added in v1.0.1

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

func (*NullableClassMemberReference) Unset added in v1.0.1

func (v *NullableClassMemberReference) Unset()

type NullableClassReference added in v1.0.1

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

func NewNullableClassReference added in v1.0.1

func NewNullableClassReference(val *ClassReference) *NullableClassReference

func (NullableClassReference) Get added in v1.0.1

func (NullableClassReference) IsSet added in v1.0.1

func (v NullableClassReference) IsSet() bool

func (NullableClassReference) MarshalJSON added in v1.0.1

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

func (*NullableClassReference) Set added in v1.0.1

func (*NullableClassReference) UnmarshalJSON added in v1.0.1

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

func (*NullableClassReference) Unset added in v1.0.1

func (v *NullableClassReference) Unset()

type NullableClassTeacherReference added in v1.0.2

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

func NewNullableClassTeacherReference added in v1.0.2

func NewNullableClassTeacherReference(val *ClassTeacherReference) *NullableClassTeacherReference

func (NullableClassTeacherReference) Get added in v1.0.2

func (NullableClassTeacherReference) IsSet added in v1.0.2

func (NullableClassTeacherReference) MarshalJSON added in v1.0.2

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

func (*NullableClassTeacherReference) Set added in v1.0.2

func (*NullableClassTeacherReference) UnmarshalJSON added in v1.0.2

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

func (*NullableClassTeacherReference) Unset added in v1.0.2

func (v *NullableClassTeacherReference) Unset()

type NullableCollectionOfAppRoleAssignments added in v1.0.2

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

func NewNullableCollectionOfAppRoleAssignments added in v1.0.2

func NewNullableCollectionOfAppRoleAssignments(val *CollectionOfAppRoleAssignments) *NullableCollectionOfAppRoleAssignments

func (NullableCollectionOfAppRoleAssignments) Get added in v1.0.2

func (NullableCollectionOfAppRoleAssignments) IsSet added in v1.0.2

func (NullableCollectionOfAppRoleAssignments) MarshalJSON added in v1.0.2

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

func (*NullableCollectionOfAppRoleAssignments) Set added in v1.0.2

func (*NullableCollectionOfAppRoleAssignments) UnmarshalJSON added in v1.0.2

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

func (*NullableCollectionOfAppRoleAssignments) Unset added in v1.0.2

type NullableCollectionOfApplications added in v1.0.2

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

func NewNullableCollectionOfApplications added in v1.0.2

func NewNullableCollectionOfApplications(val *CollectionOfApplications) *NullableCollectionOfApplications

func (NullableCollectionOfApplications) Get added in v1.0.2

func (NullableCollectionOfApplications) IsSet added in v1.0.2

func (NullableCollectionOfApplications) MarshalJSON added in v1.0.2

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

func (*NullableCollectionOfApplications) Set added in v1.0.2

func (*NullableCollectionOfApplications) UnmarshalJSON added in v1.0.2

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

func (*NullableCollectionOfApplications) Unset added in v1.0.2

type NullableCollectionOfClass added in v1.0.1

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

func NewNullableCollectionOfClass added in v1.0.1

func NewNullableCollectionOfClass(val *CollectionOfClass) *NullableCollectionOfClass

func (NullableCollectionOfClass) Get added in v1.0.1

func (NullableCollectionOfClass) IsSet added in v1.0.1

func (v NullableCollectionOfClass) IsSet() bool

func (NullableCollectionOfClass) MarshalJSON added in v1.0.1

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

func (*NullableCollectionOfClass) Set added in v1.0.1

func (*NullableCollectionOfClass) UnmarshalJSON added in v1.0.1

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

func (*NullableCollectionOfClass) Unset added in v1.0.1

func (v *NullableCollectionOfClass) 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 NullableCollectionOfDrives1 added in v1.0.1

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

func NewNullableCollectionOfDrives1 added in v1.0.1

func NewNullableCollectionOfDrives1(val *CollectionOfDrives1) *NullableCollectionOfDrives1

func (NullableCollectionOfDrives1) Get added in v1.0.1

func (NullableCollectionOfDrives1) IsSet added in v1.0.1

func (NullableCollectionOfDrives1) MarshalJSON added in v1.0.1

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

func (*NullableCollectionOfDrives1) Set added in v1.0.1

func (*NullableCollectionOfDrives1) UnmarshalJSON added in v1.0.1

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

func (*NullableCollectionOfDrives1) Unset added in v1.0.1

func (v *NullableCollectionOfDrives1) Unset()

type NullableCollectionOfEducationClass added in v1.0.2

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

func NewNullableCollectionOfEducationClass added in v1.0.2

func NewNullableCollectionOfEducationClass(val *CollectionOfEducationClass) *NullableCollectionOfEducationClass

func (NullableCollectionOfEducationClass) Get added in v1.0.2

func (NullableCollectionOfEducationClass) IsSet added in v1.0.2

func (NullableCollectionOfEducationClass) MarshalJSON added in v1.0.2

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

func (*NullableCollectionOfEducationClass) Set added in v1.0.2

func (*NullableCollectionOfEducationClass) UnmarshalJSON added in v1.0.2

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

func (*NullableCollectionOfEducationClass) Unset added in v1.0.2

type NullableCollectionOfEducationUser added in v1.0.1

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

func NewNullableCollectionOfEducationUser added in v1.0.1

func NewNullableCollectionOfEducationUser(val *CollectionOfEducationUser) *NullableCollectionOfEducationUser

func (NullableCollectionOfEducationUser) Get added in v1.0.1

func (NullableCollectionOfEducationUser) IsSet added in v1.0.1

func (NullableCollectionOfEducationUser) MarshalJSON added in v1.0.1

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

func (*NullableCollectionOfEducationUser) Set added in v1.0.1

func (*NullableCollectionOfEducationUser) UnmarshalJSON added in v1.0.1

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

func (*NullableCollectionOfEducationUser) Unset added in v1.0.1

type NullableCollectionOfEducationUser1 added in v1.0.2

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

func NewNullableCollectionOfEducationUser1 added in v1.0.2

func NewNullableCollectionOfEducationUser1(val *CollectionOfEducationUser1) *NullableCollectionOfEducationUser1

func (NullableCollectionOfEducationUser1) Get added in v1.0.2

func (NullableCollectionOfEducationUser1) IsSet added in v1.0.2

func (NullableCollectionOfEducationUser1) MarshalJSON added in v1.0.2

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

func (*NullableCollectionOfEducationUser1) Set added in v1.0.2

func (*NullableCollectionOfEducationUser1) UnmarshalJSON added in v1.0.2

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

func (*NullableCollectionOfEducationUser1) Unset added in v1.0.2

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 NullableCollectionOfSchools added in v1.0.1

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

func NewNullableCollectionOfSchools added in v1.0.1

func NewNullableCollectionOfSchools(val *CollectionOfSchools) *NullableCollectionOfSchools

func (NullableCollectionOfSchools) Get added in v1.0.1

func (NullableCollectionOfSchools) IsSet added in v1.0.1

func (NullableCollectionOfSchools) MarshalJSON added in v1.0.1

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

func (*NullableCollectionOfSchools) Set added in v1.0.1

func (*NullableCollectionOfSchools) UnmarshalJSON added in v1.0.1

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

func (*NullableCollectionOfSchools) Unset added in v1.0.1

func (v *NullableCollectionOfSchools) Unset()

type NullableCollectionOfTags added in v1.0.1

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

func NewNullableCollectionOfTags added in v1.0.1

func NewNullableCollectionOfTags(val *CollectionOfTags) *NullableCollectionOfTags

func (NullableCollectionOfTags) Get added in v1.0.1

func (NullableCollectionOfTags) IsSet added in v1.0.1

func (v NullableCollectionOfTags) IsSet() bool

func (NullableCollectionOfTags) MarshalJSON added in v1.0.1

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

func (*NullableCollectionOfTags) Set added in v1.0.1

func (*NullableCollectionOfTags) UnmarshalJSON added in v1.0.1

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

func (*NullableCollectionOfTags) Unset added in v1.0.1

func (v *NullableCollectionOfTags) 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 NullableCollectionOfUsers added in v1.0.2

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

func NewNullableCollectionOfUsers added in v1.0.2

func NewNullableCollectionOfUsers(val *CollectionOfUsers) *NullableCollectionOfUsers

func (NullableCollectionOfUsers) Get added in v1.0.2

func (NullableCollectionOfUsers) IsSet added in v1.0.2

func (v NullableCollectionOfUsers) IsSet() bool

func (NullableCollectionOfUsers) MarshalJSON added in v1.0.2

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

func (*NullableCollectionOfUsers) Set added in v1.0.2

func (*NullableCollectionOfUsers) UnmarshalJSON added in v1.0.2

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

func (*NullableCollectionOfUsers) Unset added in v1.0.2

func (v *NullableCollectionOfUsers) 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 NullableEducationClass added in v1.0.1

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

func NewNullableEducationClass added in v1.0.1

func NewNullableEducationClass(val *EducationClass) *NullableEducationClass

func (NullableEducationClass) Get added in v1.0.1

func (NullableEducationClass) IsSet added in v1.0.1

func (v NullableEducationClass) IsSet() bool

func (NullableEducationClass) MarshalJSON added in v1.0.1

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

func (*NullableEducationClass) Set added in v1.0.1

func (*NullableEducationClass) UnmarshalJSON added in v1.0.1

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

func (*NullableEducationClass) Unset added in v1.0.1

func (v *NullableEducationClass) Unset()

type NullableEducationOrganization added in v1.0.1

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

func NewNullableEducationOrganization added in v1.0.1

func NewNullableEducationOrganization(val *EducationOrganization) *NullableEducationOrganization

func (NullableEducationOrganization) Get added in v1.0.1

func (NullableEducationOrganization) IsSet added in v1.0.1

func (NullableEducationOrganization) MarshalJSON added in v1.0.1

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

func (*NullableEducationOrganization) Set added in v1.0.1

func (*NullableEducationOrganization) UnmarshalJSON added in v1.0.1

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

func (*NullableEducationOrganization) Unset added in v1.0.1

func (v *NullableEducationOrganization) Unset()

type NullableEducationSchool added in v1.0.1

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

func NewNullableEducationSchool added in v1.0.1

func NewNullableEducationSchool(val *EducationSchool) *NullableEducationSchool

func (NullableEducationSchool) Get added in v1.0.1

func (NullableEducationSchool) IsSet added in v1.0.1

func (v NullableEducationSchool) IsSet() bool

func (NullableEducationSchool) MarshalJSON added in v1.0.1

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

func (*NullableEducationSchool) Set added in v1.0.1

func (*NullableEducationSchool) UnmarshalJSON added in v1.0.1

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

func (*NullableEducationSchool) Unset added in v1.0.1

func (v *NullableEducationSchool) Unset()

type NullableEducationUser added in v1.0.1

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

func NewNullableEducationUser added in v1.0.1

func NewNullableEducationUser(val *EducationUser) *NullableEducationUser

func (NullableEducationUser) Get added in v1.0.1

func (NullableEducationUser) IsSet added in v1.0.1

func (v NullableEducationUser) IsSet() bool

func (NullableEducationUser) MarshalJSON added in v1.0.1

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

func (*NullableEducationUser) Set added in v1.0.1

func (v *NullableEducationUser) Set(val *EducationUser)

func (*NullableEducationUser) UnmarshalJSON added in v1.0.1

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

func (*NullableEducationUser) Unset added in v1.0.1

func (v *NullableEducationUser) Unset()

type NullableEducationUserReference added in v1.0.1

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

func NewNullableEducationUserReference added in v1.0.1

func NewNullableEducationUserReference(val *EducationUserReference) *NullableEducationUserReference

func (NullableEducationUserReference) Get added in v1.0.1

func (NullableEducationUserReference) IsSet added in v1.0.1

func (NullableEducationUserReference) MarshalJSON added in v1.0.1

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

func (*NullableEducationUserReference) Set added in v1.0.1

func (*NullableEducationUserReference) UnmarshalJSON added in v1.0.1

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

func (*NullableEducationUserReference) Unset added in v1.0.1

func (v *NullableEducationUserReference) Unset()

type NullableEntity added in v1.0.1

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

func NewNullableEntity added in v1.0.1

func NewNullableEntity(val *Entity) *NullableEntity

func (NullableEntity) Get added in v1.0.1

func (v NullableEntity) Get() *Entity

func (NullableEntity) IsSet added in v1.0.1

func (v NullableEntity) IsSet() bool

func (NullableEntity) MarshalJSON added in v1.0.1

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

func (*NullableEntity) Set added in v1.0.1

func (v *NullableEntity) Set(val *Entity)

func (*NullableEntity) UnmarshalJSON added in v1.0.1

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

func (*NullableEntity) Unset added in v1.0.1

func (v *NullableEntity) Unset()

type NullableExportPersonalDataRequest added in v1.0.2

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

func NewNullableExportPersonalDataRequest added in v1.0.2

func NewNullableExportPersonalDataRequest(val *ExportPersonalDataRequest) *NullableExportPersonalDataRequest

func (NullableExportPersonalDataRequest) Get added in v1.0.2

func (NullableExportPersonalDataRequest) IsSet added in v1.0.2

func (NullableExportPersonalDataRequest) MarshalJSON added in v1.0.2

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

func (*NullableExportPersonalDataRequest) Set added in v1.0.2

func (*NullableExportPersonalDataRequest) UnmarshalJSON added in v1.0.2

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

func (*NullableExportPersonalDataRequest) Unset added in v1.0.2

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 NullableObjectIdentity added in v1.0.1

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

func NewNullableObjectIdentity added in v1.0.1

func NewNullableObjectIdentity(val *ObjectIdentity) *NullableObjectIdentity

func (NullableObjectIdentity) Get added in v1.0.1

func (NullableObjectIdentity) IsSet added in v1.0.1

func (v NullableObjectIdentity) IsSet() bool

func (NullableObjectIdentity) MarshalJSON added in v1.0.1

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

func (*NullableObjectIdentity) Set added in v1.0.1

func (*NullableObjectIdentity) UnmarshalJSON added in v1.0.1

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

func (*NullableObjectIdentity) Unset added in v1.0.1

func (v *NullableObjectIdentity) 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 NullableTagAssignment added in v1.0.1

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

func NewNullableTagAssignment added in v1.0.1

func NewNullableTagAssignment(val *TagAssignment) *NullableTagAssignment

func (NullableTagAssignment) Get added in v1.0.1

func (NullableTagAssignment) IsSet added in v1.0.1

func (v NullableTagAssignment) IsSet() bool

func (NullableTagAssignment) MarshalJSON added in v1.0.1

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

func (*NullableTagAssignment) Set added in v1.0.1

func (v *NullableTagAssignment) Set(val *TagAssignment)

func (*NullableTagAssignment) UnmarshalJSON added in v1.0.1

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

func (*NullableTagAssignment) Unset added in v1.0.1

func (v *NullableTagAssignment) Unset()

type NullableTagUnassignment added in v1.0.1

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

func NewNullableTagUnassignment added in v1.0.1

func NewNullableTagUnassignment(val *TagUnassignment) *NullableTagUnassignment

func (NullableTagUnassignment) Get added in v1.0.1

func (NullableTagUnassignment) IsSet added in v1.0.1

func (v NullableTagUnassignment) IsSet() bool

func (NullableTagUnassignment) MarshalJSON added in v1.0.1

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

func (*NullableTagUnassignment) Set added in v1.0.1

func (*NullableTagUnassignment) UnmarshalJSON added in v1.0.1

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

func (*NullableTagUnassignment) Unset added in v1.0.1

func (v *NullableTagUnassignment) 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 ObjectIdentity added in v1.0.1

type ObjectIdentity struct {
	// domain of the Provider issuing the identity
	Issuer *string `json:"issuer,omitempty"`
	// The unique id assigned by the issuer to the account
	IssuerAssignedId *string `json:"issuerAssignedId,omitempty"`
}

ObjectIdentity Represents an identity used to sign in to a user account

func NewObjectIdentity added in v1.0.1

func NewObjectIdentity() *ObjectIdentity

NewObjectIdentity instantiates a new ObjectIdentity 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 NewObjectIdentityWithDefaults added in v1.0.1

func NewObjectIdentityWithDefaults() *ObjectIdentity

NewObjectIdentityWithDefaults instantiates a new ObjectIdentity 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 (*ObjectIdentity) GetIssuer added in v1.0.1

func (o *ObjectIdentity) GetIssuer() string

GetIssuer returns the Issuer field value if set, zero value otherwise.

func (*ObjectIdentity) GetIssuerAssignedId added in v1.0.1

func (o *ObjectIdentity) GetIssuerAssignedId() string

GetIssuerAssignedId returns the IssuerAssignedId field value if set, zero value otherwise.

func (*ObjectIdentity) GetIssuerAssignedIdOk added in v1.0.1

func (o *ObjectIdentity) GetIssuerAssignedIdOk() (*string, bool)

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

func (*ObjectIdentity) GetIssuerOk added in v1.0.1

func (o *ObjectIdentity) GetIssuerOk() (*string, bool)

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

func (*ObjectIdentity) HasIssuer added in v1.0.1

func (o *ObjectIdentity) HasIssuer() bool

HasIssuer returns a boolean if a field has been set.

func (*ObjectIdentity) HasIssuerAssignedId added in v1.0.1

func (o *ObjectIdentity) HasIssuerAssignedId() bool

HasIssuerAssignedId returns a boolean if a field has been set.

func (ObjectIdentity) MarshalJSON added in v1.0.1

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

func (*ObjectIdentity) SetIssuer added in v1.0.1

func (o *ObjectIdentity) SetIssuer(v string)

SetIssuer gets a reference to the given string and assigns it to the Issuer field.

func (*ObjectIdentity) SetIssuerAssignedId added in v1.0.1

func (o *ObjectIdentity) SetIssuerAssignedId(v string)

SetIssuerAssignedId gets a reference to the given string and assigns it to the IssuerAssignedId field.

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"`
	NewPassword     string `json:"newPassword"`
}

PasswordChange struct for PasswordChange

func NewPasswordChange added in v0.14.2

func NewPasswordChange(currentPassword string, newPassword string) *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

func (*PasswordChange) GetCurrentPasswordOk added in v0.14.2

func (o *PasswordChange) GetCurrentPasswordOk() (*string, bool)

GetCurrentPasswordOk returns a tuple with the CurrentPassword field value 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

func (*PasswordChange) GetNewPasswordOk added in v0.14.2

func (o *PasswordChange) GetNewPasswordOk() (*string, bool)

GetNewPasswordOk returns a tuple with the NewPassword field value and a boolean to check if the value 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 sets field value

func (*PasswordChange) SetNewPassword added in v0.14.2

func (o *PasswordChange) SetNewPassword(v string)

SetNewPassword sets field value

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 {
	// An optional expiration date which limits the permission in time.
	ExpirationDateTime  *time.Time    `json:"expirationDateTime,omitempty"`
	GrantedToIdentities []IdentitySet `json:"grantedToIdentities,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) GetExpirationDateTime added in v1.0.2

func (o *Permission) GetExpirationDateTime() time.Time

GetExpirationDateTime returns the ExpirationDateTime field value if set, zero value otherwise.

func (*Permission) GetExpirationDateTimeOk added in v1.0.2

func (o *Permission) GetExpirationDateTimeOk() (*time.Time, bool)

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

func (*Permission) GetGrantedToIdentities added in v1.0.1

func (o *Permission) GetGrantedToIdentities() []IdentitySet

GetGrantedToIdentities returns the GrantedToIdentities field value if set, zero value otherwise.

func (*Permission) GetGrantedToIdentitiesOk added in v1.0.1

func (o *Permission) GetGrantedToIdentitiesOk() ([]IdentitySet, bool)

GetGrantedToIdentitiesOk returns a tuple with the GrantedToIdentities 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) HasExpirationDateTime added in v1.0.2

func (o *Permission) HasExpirationDateTime() bool

HasExpirationDateTime returns a boolean if a field has been set.

func (*Permission) HasGrantedToIdentities added in v1.0.1

func (o *Permission) HasGrantedToIdentities() bool

HasGrantedToIdentities 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) SetExpirationDateTime added in v1.0.2

func (o *Permission) SetExpirationDateTime(v time.Time)

SetExpirationDateTime gets a reference to the given time.Time and assigns it to the ExpirationDateTime field.

func (*Permission) SetGrantedToIdentities added in v1.0.1

func (o *Permission) SetGrantedToIdentities(v []IdentitySet)

SetGrantedToIdentities gets a reference to the given []IdentitySet and assigns it to the GrantedToIdentities 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 TagAssignment added in v1.0.1

type TagAssignment struct {
	ResourceId string   `json:"resourceId"`
	Tags       []string `json:"tags"`
}

TagAssignment struct for TagAssignment

func NewTagAssignment added in v1.0.1

func NewTagAssignment(resourceId string, tags []string) *TagAssignment

NewTagAssignment instantiates a new TagAssignment 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 NewTagAssignmentWithDefaults added in v1.0.1

func NewTagAssignmentWithDefaults() *TagAssignment

NewTagAssignmentWithDefaults instantiates a new TagAssignment 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 (*TagAssignment) GetResourceId added in v1.0.1

func (o *TagAssignment) GetResourceId() string

GetResourceId returns the ResourceId field value

func (*TagAssignment) GetResourceIdOk added in v1.0.1

func (o *TagAssignment) GetResourceIdOk() (*string, bool)

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

func (*TagAssignment) GetTags added in v1.0.1

func (o *TagAssignment) GetTags() []string

GetTags returns the Tags field value

func (*TagAssignment) GetTagsOk added in v1.0.1

func (o *TagAssignment) GetTagsOk() ([]string, bool)

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

func (TagAssignment) MarshalJSON added in v1.0.1

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

func (*TagAssignment) SetResourceId added in v1.0.1

func (o *TagAssignment) SetResourceId(v string)

SetResourceId sets field value

func (*TagAssignment) SetTags added in v1.0.1

func (o *TagAssignment) SetTags(v []string)

SetTags sets field value

type TagUnassignment added in v1.0.1

type TagUnassignment struct {
	ResourceId string   `json:"resourceId"`
	Tags       []string `json:"tags"`
}

TagUnassignment struct for TagUnassignment

func NewTagUnassignment added in v1.0.1

func NewTagUnassignment(resourceId string, tags []string) *TagUnassignment

NewTagUnassignment instantiates a new TagUnassignment 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 NewTagUnassignmentWithDefaults added in v1.0.1

func NewTagUnassignmentWithDefaults() *TagUnassignment

NewTagUnassignmentWithDefaults instantiates a new TagUnassignment 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 (*TagUnassignment) GetResourceId added in v1.0.1

func (o *TagUnassignment) GetResourceId() string

GetResourceId returns the ResourceId field value

func (*TagUnassignment) GetResourceIdOk added in v1.0.1

func (o *TagUnassignment) GetResourceIdOk() (*string, bool)

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

func (*TagUnassignment) GetTags added in v1.0.1

func (o *TagUnassignment) GetTags() []string

GetTags returns the Tags field value

func (*TagUnassignment) GetTagsOk added in v1.0.1

func (o *TagUnassignment) GetTagsOk() ([]string, bool)

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

func (TagUnassignment) MarshalJSON added in v1.0.1

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

func (*TagUnassignment) SetResourceId added in v1.0.1

func (o *TagUnassignment) SetResourceId(v string)

SetResourceId sets field value

func (*TagUnassignment) SetTags added in v1.0.1

func (o *TagUnassignment) SetTags(v []string)

SetTags sets field value

type TagsApiService added in v1.0.1

type TagsApiService service

TagsApiService TagsApi service

func (*TagsApiService) AssignTags added in v1.0.1

AssignTags Assign tags to a resource

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

func (*TagsApiService) AssignTagsExecute added in v1.0.1

func (a *TagsApiService) AssignTagsExecute(r ApiAssignTagsRequest) (*http.Response, error)

Execute executes the request

func (*TagsApiService) GetTags added in v1.0.1

GetTags Get all known tags

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

func (*TagsApiService) GetTagsExecute added in v1.0.1

Execute executes the request

@return CollectionOfTags

func (*TagsApiService) UnassignTags added in v1.0.1

UnassignTags Unassign tags from a resource

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

func (*TagsApiService) UnassignTagsExecute added in v1.0.1

func (a *TagsApiService) UnassignTagsExecute(r ApiUnassignTagsRequest) (*http.Response, error)

Execute executes the request

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"`
	// Set to \"true\" when the account is enabled.
	AccountEnabled *bool `json:"accountEnabled,omitempty"`
	// The apps and app roles which this user has been assigned.
	AppRoleAssignments []AppRoleAssignment `json:"appRoleAssignments,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 $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"`
	// Identities associated with this account.
	Identities []ObjectIdentity `json:"identities,omitempty"`
	// The SMTP address for the user, for example, 'jeff@contoso.onowncloud.com'. Returned by default.
	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.
	Surname *string `json:"surname,omitempty"`
	// The user's givenName. Returned by default.
	GivenName *string `json:"givenName,omitempty"`
	// The user`s type. This can be either \"Member\" for regular user, or \"Guest\" for guest users.
	UserType *string `json:"userType,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) GetAccountEnabled

func (o *User) GetAccountEnabled() bool

GetAccountEnabled returns the AccountEnabled field value if set, zero value otherwise.

func (*User) GetAccountEnabledOk

func (o *User) GetAccountEnabledOk() (*bool, bool)

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

func (*User) GetAppRoleAssignments added in v1.0.2

func (o *User) GetAppRoleAssignments() []AppRoleAssignment

GetAppRoleAssignments returns the AppRoleAssignments field value if set, zero value otherwise.

func (*User) GetAppRoleAssignmentsOk added in v1.0.2

func (o *User) GetAppRoleAssignmentsOk() ([]AppRoleAssignment, bool)

GetAppRoleAssignmentsOk returns a tuple with the AppRoleAssignments field value if set, nil otherwise and a boolean to check if the value has been 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) GetGivenName

func (o *User) GetGivenName() string

GetGivenName returns the GivenName field value if set, zero value otherwise.

func (*User) GetGivenNameOk

func (o *User) GetGivenNameOk() (*string, bool)

GetGivenNameOk returns a tuple with the GivenName 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) GetIdentities added in v1.0.1

func (o *User) GetIdentities() []ObjectIdentity

GetIdentities returns the Identities field value if set, zero value otherwise.

func (*User) GetIdentitiesOk added in v1.0.1

func (o *User) GetIdentitiesOk() ([]ObjectIdentity, bool)

GetIdentitiesOk returns a tuple with the Identities 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) GetUserType

func (o *User) GetUserType() string

GetUserType returns the UserType field value if set, zero value otherwise.

func (*User) GetUserTypeOk

func (o *User) GetUserTypeOk() (*string, bool)

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

func (*User) HasAccountEnabled

func (o *User) HasAccountEnabled() bool

HasAccountEnabled returns a boolean if a field has been set.

func (*User) HasAppRoleAssignments added in v1.0.2

func (o *User) HasAppRoleAssignments() bool

HasAppRoleAssignments returns a boolean if a field 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) HasGivenName

func (o *User) HasGivenName() bool

HasGivenName 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) HasIdentities added in v1.0.1

func (o *User) HasIdentities() bool

HasIdentities 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) HasUserType

func (o *User) HasUserType() bool

HasUserType returns a boolean if a field has been set.

func (User) MarshalJSON

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

func (*User) SetAccountEnabled

func (o *User) SetAccountEnabled(v bool)

SetAccountEnabled gets a reference to the given bool and assigns it to the AccountEnabled field.

func (*User) SetAppRoleAssignments added in v1.0.2

func (o *User) SetAppRoleAssignments(v []AppRoleAssignment)

SetAppRoleAssignments gets a reference to the given []AppRoleAssignment and assigns it to the AppRoleAssignments field.

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) SetGivenName

func (o *User) SetGivenName(v string)

SetGivenName gets a reference to the given string and assigns it to the GivenName 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) SetIdentities added in v1.0.1

func (o *User) SetIdentities(v []ObjectIdentity)

SetIdentities gets a reference to the given []ObjectIdentity and assigns it to the Identities 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.

func (*User) SetUserType

func (o *User) SetUserType(v string)

SetUserType gets a reference to the given string and assigns it to the UserType 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 or name of user
@return ApiDeleteUserRequest

func (*UserApiService) DeleteUserExecute

func (a *UserApiService) DeleteUserExecute(r ApiDeleteUserRequest) (*http.Response, error)

Execute executes the request

func (*UserApiService) ExportPersonalData added in v1.0.2

func (a *UserApiService) ExportPersonalData(ctx context.Context, userId string) ApiExportPersonalDataRequest

ExportPersonalData export personal data of a user

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

func (*UserApiService) ExportPersonalDataExecute added in v1.0.2

func (a *UserApiService) ExportPersonalDataExecute(r ApiExportPersonalDataRequest) (*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 or name 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 UserAppRoleAssignmentApiService added in v1.0.2

type UserAppRoleAssignmentApiService service

UserAppRoleAssignmentApiService UserAppRoleAssignmentApi service

func (*UserAppRoleAssignmentApiService) UserCreateAppRoleAssignments added in v1.0.2

UserCreateAppRoleAssignments Grant an appRoleAssignment to a user

Use this API to assign a global role to a user. To grant an app role assignment to a user, you need three identifiers: * `principalId`: The `id` of the user to whom you are assigning the app role. * `resourceId`: The `id` of the resource `servicePrincipal` or `application` that has defined the app role. * `appRoleId`: The `id` of the `appRole` (defined on the resource service principal or application) to assign to the user.

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

func (*UserAppRoleAssignmentApiService) UserCreateAppRoleAssignmentsExecute added in v1.0.2

Execute executes the request

@return AppRoleAssignment

func (*UserAppRoleAssignmentApiService) UserDeleteAppRoleAssignments added in v1.0.2

func (a *UserAppRoleAssignmentApiService) UserDeleteAppRoleAssignments(ctx context.Context, userId string, appRoleAssignmentId string) ApiUserDeleteAppRoleAssignmentsRequest

UserDeleteAppRoleAssignments Delete the appRoleAssignment from a user

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param userId key: id of user
@param appRoleAssignmentId key: id of appRoleAssignment. This is the concatenated {user-id}:{appRole-id} separated by a colon.
@return ApiUserDeleteAppRoleAssignmentsRequest

func (*UserAppRoleAssignmentApiService) UserDeleteAppRoleAssignmentsExecute added in v1.0.2

func (a *UserAppRoleAssignmentApiService) UserDeleteAppRoleAssignmentsExecute(r ApiUserDeleteAppRoleAssignmentsRequest) (*http.Response, error)

Execute executes the request

func (*UserAppRoleAssignmentApiService) UserListAppRoleAssignments added in v1.0.2

UserListAppRoleAssignments Get appRoleAssignments from a user

Represents the global roles a user has been granted for an application.

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

func (*UserAppRoleAssignmentApiService) UserListAppRoleAssignmentsExecute added in v1.0.2

Execute executes the request

@return CollectionOfAppRoleAssignments

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

Source Files

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL