openapi

package
v1.1.0 Latest Latest
Warning

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

Go to latest
Published: Jul 21, 2022 License: GPL-3.0 Imports: 21 Imported by: 0

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 {
	AuthApi *AuthApiService

	FileinfoApi *FileinfoApiService

	FilemanagerApi *FilemanagerApiService

	FileuploadApi *FileuploadApiService

	MultimediafileApi *MultimediafileApiService

	UserinfoApi *UserinfoApiService
	// contains filtered or unexported fields
}

APIClient manages communication with the xpan API v0.1 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 ApiApiquotaRequest

type ApiApiquotaRequest struct {
	ApiService *UserinfoApiService
	// contains filtered or unexported fields
}

func (ApiApiquotaRequest) AccessToken

func (r ApiApiquotaRequest) AccessToken(accessToken string) ApiApiquotaRequest

func (ApiApiquotaRequest) Checkexpire

func (r ApiApiquotaRequest) Checkexpire(checkexpire int32) ApiApiquotaRequest

func (ApiApiquotaRequest) Checkfree

func (r ApiApiquotaRequest) Checkfree(checkfree int32) ApiApiquotaRequest

func (ApiApiquotaRequest) Execute

type ApiFilemanagercopyRequest

type ApiFilemanagercopyRequest struct {
	ApiService *FilemanagerApiService
	// contains filtered or unexported fields
}

func (ApiFilemanagercopyRequest) AccessToken

func (r ApiFilemanagercopyRequest) AccessToken(accessToken string) ApiFilemanagercopyRequest

func (ApiFilemanagercopyRequest) Async

async

func (ApiFilemanagercopyRequest) Execute

func (ApiFilemanagercopyRequest) Filelist

filelist

func (ApiFilemanagercopyRequest) Ondup

ondup

type ApiFilemanagerdeleteRequest

type ApiFilemanagerdeleteRequest struct {
	ApiService *FilemanagerApiService
	// contains filtered or unexported fields
}

func (ApiFilemanagerdeleteRequest) AccessToken

func (ApiFilemanagerdeleteRequest) Async

async

func (ApiFilemanagerdeleteRequest) Execute

func (ApiFilemanagerdeleteRequest) Filelist

filelist

func (ApiFilemanagerdeleteRequest) Ondup

ondup

type ApiFilemanagermoveRequest

type ApiFilemanagermoveRequest struct {
	ApiService *FilemanagerApiService
	// contains filtered or unexported fields
}

func (ApiFilemanagermoveRequest) AccessToken

func (r ApiFilemanagermoveRequest) AccessToken(accessToken string) ApiFilemanagermoveRequest

func (ApiFilemanagermoveRequest) Async

async

func (ApiFilemanagermoveRequest) Execute

func (ApiFilemanagermoveRequest) Filelist

filelist

func (ApiFilemanagermoveRequest) Ondup

ondup

type ApiFilemanagerrenameRequest

type ApiFilemanagerrenameRequest struct {
	ApiService *FilemanagerApiService
	// contains filtered or unexported fields
}

func (ApiFilemanagerrenameRequest) AccessToken

func (ApiFilemanagerrenameRequest) Async

async

func (ApiFilemanagerrenameRequest) Execute

func (ApiFilemanagerrenameRequest) Filelist

filelist

func (ApiFilemanagerrenameRequest) Ondup

ondup

type ApiOauthTokenCode2tokenRequest

type ApiOauthTokenCode2tokenRequest struct {
	ApiService *AuthApiService
	// contains filtered or unexported fields
}

func (ApiOauthTokenCode2tokenRequest) ClientId

func (ApiOauthTokenCode2tokenRequest) ClientSecret

func (ApiOauthTokenCode2tokenRequest) Code

func (ApiOauthTokenCode2tokenRequest) Execute

func (ApiOauthTokenCode2tokenRequest) RedirectUri

type ApiOauthTokenDeviceCodeRequest

type ApiOauthTokenDeviceCodeRequest struct {
	ApiService *AuthApiService
	// contains filtered or unexported fields
}

func (ApiOauthTokenDeviceCodeRequest) ClientId

func (ApiOauthTokenDeviceCodeRequest) Execute

func (ApiOauthTokenDeviceCodeRequest) Scope

type ApiOauthTokenDeviceTokenRequest

type ApiOauthTokenDeviceTokenRequest struct {
	ApiService *AuthApiService
	// contains filtered or unexported fields
}

func (ApiOauthTokenDeviceTokenRequest) ClientId

func (ApiOauthTokenDeviceTokenRequest) ClientSecret

func (ApiOauthTokenDeviceTokenRequest) Code

func (ApiOauthTokenDeviceTokenRequest) Execute

type ApiOauthTokenRefreshTokenRequest

type ApiOauthTokenRefreshTokenRequest struct {
	ApiService *AuthApiService
	// contains filtered or unexported fields
}

func (ApiOauthTokenRefreshTokenRequest) ClientId

func (ApiOauthTokenRefreshTokenRequest) ClientSecret

func (ApiOauthTokenRefreshTokenRequest) Execute

func (ApiOauthTokenRefreshTokenRequest) RefreshToken

type ApiPcssuperfile2Request

type ApiPcssuperfile2Request struct {
	ApiService *FileuploadApiService
	// contains filtered or unexported fields
}

func (ApiPcssuperfile2Request) AccessToken

func (r ApiPcssuperfile2Request) AccessToken(accessToken string) ApiPcssuperfile2Request

func (ApiPcssuperfile2Request) Execute

func (ApiPcssuperfile2Request) File

要进行传送的本地文件分片

func (ApiPcssuperfile2Request) Partseq

func (ApiPcssuperfile2Request) Path

func (ApiPcssuperfile2Request) Type_

func (ApiPcssuperfile2Request) Uploadid

type ApiXpanfilecreateRequest

type ApiXpanfilecreateRequest struct {
	ApiService *FileuploadApiService
	// contains filtered or unexported fields
}

func (ApiXpanfilecreateRequest) AccessToken

func (r ApiXpanfilecreateRequest) AccessToken(accessToken string) ApiXpanfilecreateRequest

func (ApiXpanfilecreateRequest) BlockList

与precreate的block_list值保持一致

func (ApiXpanfilecreateRequest) Execute

func (ApiXpanfilecreateRequest) Isdir

isdir

func (ApiXpanfilecreateRequest) Path

与precreate的path值保持一致

func (ApiXpanfilecreateRequest) Rtype

rtype

func (ApiXpanfilecreateRequest) Size

与precreate的size值保持一致

func (ApiXpanfilecreateRequest) Uploadid

precreate返回的uploadid

type ApiXpanfiledoclistRequest

type ApiXpanfiledoclistRequest struct {
	ApiService *FileinfoApiService
	// contains filtered or unexported fields
}

func (ApiXpanfiledoclistRequest) AccessToken

func (r ApiXpanfiledoclistRequest) AccessToken(accessToken string) ApiXpanfiledoclistRequest

func (ApiXpanfiledoclistRequest) Desc

func (ApiXpanfiledoclistRequest) Execute

func (ApiXpanfiledoclistRequest) Num

func (ApiXpanfiledoclistRequest) Order

func (ApiXpanfiledoclistRequest) Page

func (ApiXpanfiledoclistRequest) ParentPath

func (ApiXpanfiledoclistRequest) Recursion

func (ApiXpanfiledoclistRequest) Web

type ApiXpanfileimagelistRequest

type ApiXpanfileimagelistRequest struct {
	ApiService *FileinfoApiService
	// contains filtered or unexported fields
}

func (ApiXpanfileimagelistRequest) AccessToken

func (ApiXpanfileimagelistRequest) Desc

func (ApiXpanfileimagelistRequest) Execute

func (ApiXpanfileimagelistRequest) Num

func (ApiXpanfileimagelistRequest) Order

func (ApiXpanfileimagelistRequest) Page

func (ApiXpanfileimagelistRequest) ParentPath

func (ApiXpanfileimagelistRequest) Recursion

func (ApiXpanfileimagelistRequest) Web

type ApiXpanfilelistRequest

type ApiXpanfilelistRequest struct {
	ApiService *FileinfoApiService
	// contains filtered or unexported fields
}

func (ApiXpanfilelistRequest) AccessToken

func (r ApiXpanfilelistRequest) AccessToken(accessToken string) ApiXpanfilelistRequest

func (ApiXpanfilelistRequest) Desc

func (ApiXpanfilelistRequest) Dir

func (ApiXpanfilelistRequest) Execute

func (ApiXpanfilelistRequest) Folder

func (ApiXpanfilelistRequest) Limit

func (ApiXpanfilelistRequest) Order

func (ApiXpanfilelistRequest) Showempty

func (r ApiXpanfilelistRequest) Showempty(showempty int32) ApiXpanfilelistRequest

func (ApiXpanfilelistRequest) Start

func (ApiXpanfilelistRequest) Web

type ApiXpanfilelistallRequest

type ApiXpanfilelistallRequest struct {
	ApiService *MultimediafileApiService
	// contains filtered or unexported fields
}

func (ApiXpanfilelistallRequest) AccessToken

func (r ApiXpanfilelistallRequest) AccessToken(accessToken string) ApiXpanfilelistallRequest

func (ApiXpanfilelistallRequest) Desc

func (ApiXpanfilelistallRequest) Execute

func (ApiXpanfilelistallRequest) Limit

func (ApiXpanfilelistallRequest) Order

func (ApiXpanfilelistallRequest) Path

func (ApiXpanfilelistallRequest) Recursion

func (ApiXpanfilelistallRequest) Start

func (ApiXpanfilelistallRequest) Web

type ApiXpanfileprecreateRequest

type ApiXpanfileprecreateRequest struct {
	ApiService *FileuploadApiService
	// contains filtered or unexported fields
}

func (ApiXpanfileprecreateRequest) AccessToken

func (ApiXpanfileprecreateRequest) Autoinit

autoinit

func (ApiXpanfileprecreateRequest) BlockList

由MD5字符串组成的list

func (ApiXpanfileprecreateRequest) Execute

func (ApiXpanfileprecreateRequest) Isdir

isdir

func (ApiXpanfileprecreateRequest) Path

对于一般的第三方软件应用,路径以 \\\"/apps/your-app-name/\\\" 开头。对于小度等硬件应用,路径一般 \\\"/来自:小度设备/\\\" 开头。对于定制化配置的硬件应用,根据配置情况进行填写。

func (ApiXpanfileprecreateRequest) Rtype

rtype

func (ApiXpanfileprecreateRequest) Size

size

type ApiXpanfilesearchRequest

type ApiXpanfilesearchRequest struct {
	ApiService *FileinfoApiService
	// contains filtered or unexported fields
}

func (ApiXpanfilesearchRequest) AccessToken

func (r ApiXpanfilesearchRequest) AccessToken(accessToken string) ApiXpanfilesearchRequest

func (ApiXpanfilesearchRequest) Dir

func (ApiXpanfilesearchRequest) Execute

func (ApiXpanfilesearchRequest) Key

func (ApiXpanfilesearchRequest) Num

func (ApiXpanfilesearchRequest) Page

func (ApiXpanfilesearchRequest) Recursion

func (ApiXpanfilesearchRequest) Web

type ApiXpanmultimediafilemetasRequest

type ApiXpanmultimediafilemetasRequest struct {
	ApiService *MultimediafileApiService
	// contains filtered or unexported fields
}

func (ApiXpanmultimediafilemetasRequest) AccessToken

下载地址。下载接口需要用到dlink。

func (ApiXpanmultimediafilemetasRequest) Execute

func (ApiXpanmultimediafilemetasRequest) Extra

func (ApiXpanmultimediafilemetasRequest) Fsids

func (ApiXpanmultimediafilemetasRequest) Needmedia

func (ApiXpanmultimediafilemetasRequest) Path

查询共享目录或专属空间内文件时需要。共享目录格式: /uk-fsid(其中uk为共享目录创建者id, fsid对应共享目录的fsid)。专属空间格式:/_pcs_.appdata/xpan/。

func (ApiXpanmultimediafilemetasRequest) Thumb

type ApiXpannasuinfoRequest

type ApiXpannasuinfoRequest struct {
	ApiService *UserinfoApiService
	// contains filtered or unexported fields
}

func (ApiXpannasuinfoRequest) AccessToken

func (r ApiXpannasuinfoRequest) AccessToken(accessToken string) ApiXpannasuinfoRequest

func (ApiXpannasuinfoRequest) Execute

type AuthApiService

type AuthApiService service

AuthApiService AuthApi service

func (*AuthApiService) OauthTokenCode2token

func (a *AuthApiService) OauthTokenCode2token(ctx _context.Context) ApiOauthTokenCode2tokenRequest

OauthTokenCode2token Method for OauthTokenCode2token

get accesstoken by authorization code

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

func (*AuthApiService) OauthTokenCode2tokenExecute

Execute executes the request

@return OauthTokenAuthorizationCodeResponse

func (*AuthApiService) OauthTokenDeviceCode

func (a *AuthApiService) OauthTokenDeviceCode(ctx _context.Context) ApiOauthTokenDeviceCodeRequest

OauthTokenDeviceCode Method for OauthTokenDeviceCode

get device code and user code

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

func (*AuthApiService) OauthTokenDeviceCodeExecute

Execute executes the request

@return OauthTokenDeviceCodeResponse

func (*AuthApiService) OauthTokenDeviceToken

func (a *AuthApiService) OauthTokenDeviceToken(ctx _context.Context) ApiOauthTokenDeviceTokenRequest

OauthTokenDeviceToken Method for OauthTokenDeviceToken

get access_token

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

func (*AuthApiService) OauthTokenDeviceTokenExecute

Execute executes the request

@return OauthTokenDeviceTokenResponse

func (*AuthApiService) OauthTokenRefreshToken

func (a *AuthApiService) OauthTokenRefreshToken(ctx _context.Context) ApiOauthTokenRefreshTokenRequest

OauthTokenRefreshToken Method for OauthTokenRefreshToken

authorization code

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

func (*AuthApiService) OauthTokenRefreshTokenExecute

Execute executes the request

@return OauthTokenRefreshTokenResponse

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 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 Filecreateresponse

type Filecreateresponse struct {
	Category       *int32  `json:"category,omitempty"`
	Ctime          *int32  `json:"ctime,omitempty"`
	FromType       *int32  `json:"from_type,omitempty"`
	FsId           *int64  `json:"fs_id,omitempty"`
	Isdir          *int32  `json:"isdir,omitempty"`
	Md5            *string `json:"md5,omitempty"`
	Mtime          *int32  `json:"mtime,omitempty"`
	Path           *string `json:"path,omitempty"`
	ServerFilename *string `json:"server_filename,omitempty"`
	Size           *int32  `json:"size,omitempty"`
	Errno          *int32  `json:"errno,omitempty"`
	Name           *string `json:"name,omitempty"`
}

Filecreateresponse struct for Filecreateresponse

func NewFilecreateresponse

func NewFilecreateresponse() *Filecreateresponse

NewFilecreateresponse instantiates a new Filecreateresponse 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 NewFilecreateresponseWithDefaults

func NewFilecreateresponseWithDefaults() *Filecreateresponse

NewFilecreateresponseWithDefaults instantiates a new Filecreateresponse 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 (*Filecreateresponse) GetCategory

func (o *Filecreateresponse) GetCategory() int32

GetCategory returns the Category field value if set, zero value otherwise.

func (*Filecreateresponse) GetCategoryOk

func (o *Filecreateresponse) GetCategoryOk() (*int32, bool)

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

func (*Filecreateresponse) GetCtime

func (o *Filecreateresponse) GetCtime() int32

GetCtime returns the Ctime field value if set, zero value otherwise.

func (*Filecreateresponse) GetCtimeOk

func (o *Filecreateresponse) GetCtimeOk() (*int32, bool)

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

func (*Filecreateresponse) GetErrno

func (o *Filecreateresponse) GetErrno() int32

GetErrno returns the Errno field value if set, zero value otherwise.

func (*Filecreateresponse) GetErrnoOk

func (o *Filecreateresponse) GetErrnoOk() (*int32, bool)

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

func (*Filecreateresponse) GetFromType

func (o *Filecreateresponse) GetFromType() int32

GetFromType returns the FromType field value if set, zero value otherwise.

func (*Filecreateresponse) GetFromTypeOk

func (o *Filecreateresponse) GetFromTypeOk() (*int32, bool)

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

func (*Filecreateresponse) GetFsId

func (o *Filecreateresponse) GetFsId() int64

GetFsId returns the FsId field value if set, zero value otherwise.

func (*Filecreateresponse) GetFsIdOk

func (o *Filecreateresponse) GetFsIdOk() (*int64, bool)

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

func (*Filecreateresponse) GetIsdir

func (o *Filecreateresponse) GetIsdir() int32

GetIsdir returns the Isdir field value if set, zero value otherwise.

func (*Filecreateresponse) GetIsdirOk

func (o *Filecreateresponse) GetIsdirOk() (*int32, bool)

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

func (*Filecreateresponse) GetMd5

func (o *Filecreateresponse) GetMd5() string

GetMd5 returns the Md5 field value if set, zero value otherwise.

func (*Filecreateresponse) GetMd5Ok

func (o *Filecreateresponse) GetMd5Ok() (*string, bool)

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

func (*Filecreateresponse) GetMtime

func (o *Filecreateresponse) GetMtime() int32

GetMtime returns the Mtime field value if set, zero value otherwise.

func (*Filecreateresponse) GetMtimeOk

func (o *Filecreateresponse) GetMtimeOk() (*int32, bool)

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

func (*Filecreateresponse) GetName

func (o *Filecreateresponse) GetName() string

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

func (*Filecreateresponse) GetNameOk

func (o *Filecreateresponse) 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 (*Filecreateresponse) GetPath

func (o *Filecreateresponse) GetPath() string

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

func (*Filecreateresponse) GetPathOk

func (o *Filecreateresponse) 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 (*Filecreateresponse) GetServerFilename

func (o *Filecreateresponse) GetServerFilename() string

GetServerFilename returns the ServerFilename field value if set, zero value otherwise.

func (*Filecreateresponse) GetServerFilenameOk

func (o *Filecreateresponse) GetServerFilenameOk() (*string, bool)

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

func (*Filecreateresponse) GetSize

func (o *Filecreateresponse) GetSize() int32

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

func (*Filecreateresponse) GetSizeOk

func (o *Filecreateresponse) GetSizeOk() (*int32, 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 (*Filecreateresponse) HasCategory

func (o *Filecreateresponse) HasCategory() bool

HasCategory returns a boolean if a field has been set.

func (*Filecreateresponse) HasCtime

func (o *Filecreateresponse) HasCtime() bool

HasCtime returns a boolean if a field has been set.

func (*Filecreateresponse) HasErrno

func (o *Filecreateresponse) HasErrno() bool

HasErrno returns a boolean if a field has been set.

func (*Filecreateresponse) HasFromType

func (o *Filecreateresponse) HasFromType() bool

HasFromType returns a boolean if a field has been set.

func (*Filecreateresponse) HasFsId

func (o *Filecreateresponse) HasFsId() bool

HasFsId returns a boolean if a field has been set.

func (*Filecreateresponse) HasIsdir

func (o *Filecreateresponse) HasIsdir() bool

HasIsdir returns a boolean if a field has been set.

func (*Filecreateresponse) HasMd5

func (o *Filecreateresponse) HasMd5() bool

HasMd5 returns a boolean if a field has been set.

func (*Filecreateresponse) HasMtime

func (o *Filecreateresponse) HasMtime() bool

HasMtime returns a boolean if a field has been set.

func (*Filecreateresponse) HasName

func (o *Filecreateresponse) HasName() bool

HasName returns a boolean if a field has been set.

func (*Filecreateresponse) HasPath

func (o *Filecreateresponse) HasPath() bool

HasPath returns a boolean if a field has been set.

func (*Filecreateresponse) HasServerFilename

func (o *Filecreateresponse) HasServerFilename() bool

HasServerFilename returns a boolean if a field has been set.

func (*Filecreateresponse) HasSize

func (o *Filecreateresponse) HasSize() bool

HasSize returns a boolean if a field has been set.

func (Filecreateresponse) MarshalJSON

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

func (*Filecreateresponse) SetCategory

func (o *Filecreateresponse) SetCategory(v int32)

SetCategory gets a reference to the given int32 and assigns it to the Category field.

func (*Filecreateresponse) SetCtime

func (o *Filecreateresponse) SetCtime(v int32)

SetCtime gets a reference to the given int32 and assigns it to the Ctime field.

func (*Filecreateresponse) SetErrno

func (o *Filecreateresponse) SetErrno(v int32)

SetErrno gets a reference to the given int32 and assigns it to the Errno field.

func (*Filecreateresponse) SetFromType

func (o *Filecreateresponse) SetFromType(v int32)

SetFromType gets a reference to the given int32 and assigns it to the FromType field.

func (*Filecreateresponse) SetFsId

func (o *Filecreateresponse) SetFsId(v int64)

SetFsId gets a reference to the given int64 and assigns it to the FsId field.

func (*Filecreateresponse) SetIsdir

func (o *Filecreateresponse) SetIsdir(v int32)

SetIsdir gets a reference to the given int32 and assigns it to the Isdir field.

func (*Filecreateresponse) SetMd5

func (o *Filecreateresponse) SetMd5(v string)

SetMd5 gets a reference to the given string and assigns it to the Md5 field.

func (*Filecreateresponse) SetMtime

func (o *Filecreateresponse) SetMtime(v int32)

SetMtime gets a reference to the given int32 and assigns it to the Mtime field.

func (*Filecreateresponse) SetName

func (o *Filecreateresponse) SetName(v string)

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

func (*Filecreateresponse) SetPath

func (o *Filecreateresponse) SetPath(v string)

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

func (*Filecreateresponse) SetServerFilename

func (o *Filecreateresponse) SetServerFilename(v string)

SetServerFilename gets a reference to the given string and assigns it to the ServerFilename field.

func (*Filecreateresponse) SetSize

func (o *Filecreateresponse) SetSize(v int32)

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

type FileinfoApiService

type FileinfoApiService service

FileinfoApiService FileinfoApi service

func (*FileinfoApiService) Xpanfiledoclist

Xpanfiledoclist Method for Xpanfiledoclist

file doclist

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

func (*FileinfoApiService) XpanfiledoclistExecute

func (a *FileinfoApiService) XpanfiledoclistExecute(r ApiXpanfiledoclistRequest) (string, *_nethttp.Response, error)

Execute executes the request

@return string

func (*FileinfoApiService) Xpanfileimagelist

Xpanfileimagelist Method for Xpanfileimagelist

file imagelist

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

func (*FileinfoApiService) XpanfileimagelistExecute

func (a *FileinfoApiService) XpanfileimagelistExecute(r ApiXpanfileimagelistRequest) (string, *_nethttp.Response, error)

Execute executes the request

@return string

func (*FileinfoApiService) Xpanfilelist

Xpanfilelist Method for Xpanfilelist

file list

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

func (*FileinfoApiService) XpanfilelistExecute

func (a *FileinfoApiService) XpanfilelistExecute(r ApiXpanfilelistRequest) (string, *_nethttp.Response, error)

Execute executes the request

@return string

func (*FileinfoApiService) Xpanfilesearch

Xpanfilesearch Method for Xpanfilesearch

file search

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

func (*FileinfoApiService) XpanfilesearchExecute

func (a *FileinfoApiService) XpanfilesearchExecute(r ApiXpanfilesearchRequest) (string, *_nethttp.Response, error)

Execute executes the request

@return string

type FilemanagerApiService

type FilemanagerApiService service

FilemanagerApiService FilemanagerApi service

func (*FilemanagerApiService) Filemanagercopy

Filemanagercopy Method for Filemanagercopy

filemanager copy

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

func (*FilemanagerApiService) FilemanagercopyExecute

func (a *FilemanagerApiService) FilemanagercopyExecute(r ApiFilemanagercopyRequest) (*_nethttp.Response, error)

Execute executes the request

func (*FilemanagerApiService) Filemanagerdelete

Filemanagerdelete Method for Filemanagerdelete

filemanager delete

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

func (*FilemanagerApiService) FilemanagerdeleteExecute

func (a *FilemanagerApiService) FilemanagerdeleteExecute(r ApiFilemanagerdeleteRequest) (*_nethttp.Response, error)

Execute executes the request

func (*FilemanagerApiService) Filemanagermove

Filemanagermove Method for Filemanagermove

filemanager move

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

func (*FilemanagerApiService) FilemanagermoveExecute

func (a *FilemanagerApiService) FilemanagermoveExecute(r ApiFilemanagermoveRequest) (*_nethttp.Response, error)

Execute executes the request

func (*FilemanagerApiService) Filemanagerrename

Filemanagerrename Method for Filemanagerrename

filemanager rename

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

func (*FilemanagerApiService) FilemanagerrenameExecute

func (a *FilemanagerApiService) FilemanagerrenameExecute(r ApiFilemanagerrenameRequest) (*_nethttp.Response, error)

Execute executes the request

type Fileprecreateresponse

type Fileprecreateresponse struct {
	Uploadid   *string `json:"uploadid,omitempty"`
	ReturnType *int32  `json:"return_type,omitempty"`
	BlockList  *[]int  `json:"block_list,omitempty"`
	Errno      *int32  `json:"errno,omitempty"`
	RequestId  *int64  `json:"request_id,omitempty"`
}

Fileprecreateresponse struct for Fileprecreateresponse

func NewFileprecreateresponse

func NewFileprecreateresponse() *Fileprecreateresponse

NewFileprecreateresponse instantiates a new Fileprecreateresponse 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 NewFileprecreateresponseWithDefaults

func NewFileprecreateresponseWithDefaults() *Fileprecreateresponse

NewFileprecreateresponseWithDefaults instantiates a new Fileprecreateresponse 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 (*Fileprecreateresponse) GetBlockList

func (o *Fileprecreateresponse) GetBlockList() []int

GetBlockList returns the BlockList field value if set, zero value otherwise.

func (*Fileprecreateresponse) GetBlockListOk

func (o *Fileprecreateresponse) GetBlockListOk() (*[]int, bool)

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

func (*Fileprecreateresponse) GetErrno

func (o *Fileprecreateresponse) GetErrno() int32

GetErrno returns the Errno field value if set, zero value otherwise.

func (*Fileprecreateresponse) GetErrnoOk

func (o *Fileprecreateresponse) GetErrnoOk() (*int32, bool)

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

func (*Fileprecreateresponse) GetRequestId

func (o *Fileprecreateresponse) GetRequestId() int64

GetRequestId returns the RequestId field value if set, zero value otherwise.

func (*Fileprecreateresponse) GetRequestIdOk

func (o *Fileprecreateresponse) GetRequestIdOk() (*int64, bool)

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

func (*Fileprecreateresponse) GetReturnType

func (o *Fileprecreateresponse) GetReturnType() int32

GetReturnType returns the ReturnType field value if set, zero value otherwise.

func (*Fileprecreateresponse) GetReturnTypeOk

func (o *Fileprecreateresponse) GetReturnTypeOk() (*int32, bool)

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

func (*Fileprecreateresponse) GetUploadid

func (o *Fileprecreateresponse) GetUploadid() string

GetUploadid returns the Uploadid field value if set, zero value otherwise.

func (*Fileprecreateresponse) GetUploadidOk

func (o *Fileprecreateresponse) GetUploadidOk() (*string, bool)

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

func (*Fileprecreateresponse) HasBlockList

func (o *Fileprecreateresponse) HasBlockList() bool

HasBlockList returns a boolean if a field has been set.

func (*Fileprecreateresponse) HasErrno

func (o *Fileprecreateresponse) HasErrno() bool

HasErrno returns a boolean if a field has been set.

func (*Fileprecreateresponse) HasRequestId

func (o *Fileprecreateresponse) HasRequestId() bool

HasRequestId returns a boolean if a field has been set.

func (*Fileprecreateresponse) HasReturnType

func (o *Fileprecreateresponse) HasReturnType() bool

HasReturnType returns a boolean if a field has been set.

func (*Fileprecreateresponse) HasUploadid

func (o *Fileprecreateresponse) HasUploadid() bool

HasUploadid returns a boolean if a field has been set.

func (Fileprecreateresponse) MarshalJSON

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

func (*Fileprecreateresponse) SetBlockList

func (o *Fileprecreateresponse) SetBlockList(v []int)

SetBlockList gets a reference to the given []string and assigns it to the BlockList field.

func (*Fileprecreateresponse) SetErrno

func (o *Fileprecreateresponse) SetErrno(v int32)

SetErrno gets a reference to the given int32 and assigns it to the Errno field.

func (*Fileprecreateresponse) SetRequestId

func (o *Fileprecreateresponse) SetRequestId(v int64)

SetRequestId gets a reference to the given int64 and assigns it to the RequestId field.

func (*Fileprecreateresponse) SetReturnType

func (o *Fileprecreateresponse) SetReturnType(v int32)

SetReturnType gets a reference to the given int32 and assigns it to the ReturnType field.

func (*Fileprecreateresponse) SetUploadid

func (o *Fileprecreateresponse) SetUploadid(v string)

SetUploadid gets a reference to the given string and assigns it to the Uploadid field.

type FileuploadApiService

type FileuploadApiService service

FileuploadApiService FileuploadApi service

func (*FileuploadApiService) Pcssuperfile2

Pcssuperfile2 Method for Pcssuperfile2

分片上传,这里是实际的文件内容传送部分。一般多为大于4MB的文件,需将文件以4MB为单位切分,对切分后得到的n个分片一一调用该接口进行传送,以实现对原文件的传送(当然若不大于4MB,则直接该对文件进行传送即可)。

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

func (*FileuploadApiService) Pcssuperfile2Execute

Execute executes the request

@return string

func (*FileuploadApiService) Xpanfilecreate

Xpanfilecreate Method for Xpanfilecreate

将多个文件分片合并成一个文件,生成文件基本信息,完成文件的上传最后一步。

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

func (*FileuploadApiService) XpanfilecreateExecute

Execute executes the request

@return Filecreateresponse

func (*FileuploadApiService) Xpanfileprecreate

Xpanfileprecreate Method for Xpanfileprecreate

文件预上传,用于获取上传任务id,既uploadid

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

func (*FileuploadApiService) XpanfileprecreateExecute

Execute executes the request

@return Fileprecreateresponse

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 MultimediafileApiService

type MultimediafileApiService service

MultimediafileApiService MultimediafileApi service

func (*MultimediafileApiService) Xpanfilelistall

Xpanfilelistall Method for Xpanfilelistall

listall

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

func (*MultimediafileApiService) XpanfilelistallExecute

Execute executes the request

@return string

func (*MultimediafileApiService) Xpanmultimediafilemetas

Xpanmultimediafilemetas Method for Xpanmultimediafilemetas

multimedia filemetas

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

func (*MultimediafileApiService) XpanmultimediafilemetasExecute

func (a *MultimediafileApiService) XpanmultimediafilemetasExecute(r ApiXpanmultimediafilemetasRequest) (string, *_nethttp.Response, error)

Execute executes the request

@return string

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 NullableFilecreateresponse

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

func NewNullableFilecreateresponse

func NewNullableFilecreateresponse(val *Filecreateresponse) *NullableFilecreateresponse

func (NullableFilecreateresponse) Get

func (NullableFilecreateresponse) IsSet

func (v NullableFilecreateresponse) IsSet() bool

func (NullableFilecreateresponse) MarshalJSON

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

func (*NullableFilecreateresponse) Set

func (*NullableFilecreateresponse) UnmarshalJSON

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

func (*NullableFilecreateresponse) Unset

func (v *NullableFilecreateresponse) Unset()

type NullableFileprecreateresponse

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

func (NullableFileprecreateresponse) Get

func (NullableFileprecreateresponse) IsSet

func (NullableFileprecreateresponse) MarshalJSON

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

func (*NullableFileprecreateresponse) Set

func (*NullableFileprecreateresponse) UnmarshalJSON

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

func (*NullableFileprecreateresponse) Unset

func (v *NullableFileprecreateresponse) 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 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 NullableOauthTokenAuthorizationCodeResponse

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

func (NullableOauthTokenAuthorizationCodeResponse) Get

func (NullableOauthTokenAuthorizationCodeResponse) IsSet

func (NullableOauthTokenAuthorizationCodeResponse) MarshalJSON

func (*NullableOauthTokenAuthorizationCodeResponse) Set

func (*NullableOauthTokenAuthorizationCodeResponse) UnmarshalJSON

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

func (*NullableOauthTokenAuthorizationCodeResponse) Unset

type NullableOauthTokenDeviceCodeResponse

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

func (NullableOauthTokenDeviceCodeResponse) Get

func (NullableOauthTokenDeviceCodeResponse) IsSet

func (NullableOauthTokenDeviceCodeResponse) MarshalJSON

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

func (*NullableOauthTokenDeviceCodeResponse) Set

func (*NullableOauthTokenDeviceCodeResponse) UnmarshalJSON

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

func (*NullableOauthTokenDeviceCodeResponse) Unset

type NullableOauthTokenDeviceTokenResponse

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

func (NullableOauthTokenDeviceTokenResponse) Get

func (NullableOauthTokenDeviceTokenResponse) IsSet

func (NullableOauthTokenDeviceTokenResponse) MarshalJSON

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

func (*NullableOauthTokenDeviceTokenResponse) Set

func (*NullableOauthTokenDeviceTokenResponse) UnmarshalJSON

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

func (*NullableOauthTokenDeviceTokenResponse) Unset

type NullableOauthTokenRefreshTokenResponse

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

func (NullableOauthTokenRefreshTokenResponse) Get

func (NullableOauthTokenRefreshTokenResponse) IsSet

func (NullableOauthTokenRefreshTokenResponse) MarshalJSON

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

func (*NullableOauthTokenRefreshTokenResponse) Set

func (*NullableOauthTokenRefreshTokenResponse) UnmarshalJSON

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

func (*NullableOauthTokenRefreshTokenResponse) Unset

type NullableQuotaresponse

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

func NewNullableQuotaresponse

func NewNullableQuotaresponse(val *Quotaresponse) *NullableQuotaresponse

func (NullableQuotaresponse) Get

func (NullableQuotaresponse) IsSet

func (v NullableQuotaresponse) IsSet() bool

func (NullableQuotaresponse) MarshalJSON

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

func (*NullableQuotaresponse) Set

func (v *NullableQuotaresponse) Set(val *Quotaresponse)

func (*NullableQuotaresponse) UnmarshalJSON

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

func (*NullableQuotaresponse) Unset

func (v *NullableQuotaresponse) Unset()

type NullableString

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

func NewNullableString

func NewNullableString(val *string) *NullableString

func (NullableString) Get

func (v NullableString) Get() *string

func (NullableString) IsSet

func (v NullableString) IsSet() bool

func (NullableString) MarshalJSON

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

func (*NullableString) Set

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

func (*NullableString) UnmarshalJSON

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

func (*NullableString) Unset

func (v *NullableString) Unset()

type NullableTime

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

func NewNullableTime

func NewNullableTime(val *time.Time) *NullableTime

func (NullableTime) Get

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

func (NullableTime) IsSet

func (v NullableTime) IsSet() bool

func (NullableTime) MarshalJSON

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

func (*NullableTime) Set

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

func (*NullableTime) UnmarshalJSON

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

func (*NullableTime) Unset

func (v *NullableTime) Unset()

type NullableUinforesponse

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

func NewNullableUinforesponse

func NewNullableUinforesponse(val *Uinforesponse) *NullableUinforesponse

func (NullableUinforesponse) Get

func (NullableUinforesponse) IsSet

func (v NullableUinforesponse) IsSet() bool

func (NullableUinforesponse) MarshalJSON

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

func (*NullableUinforesponse) Set

func (v *NullableUinforesponse) Set(val *Uinforesponse)

func (*NullableUinforesponse) UnmarshalJSON

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

func (*NullableUinforesponse) Unset

func (v *NullableUinforesponse) Unset()

type OauthTokenAuthorizationCodeResponse

type OauthTokenAuthorizationCodeResponse struct {
	ExpiresIn     *int32  `json:"expires_in,omitempty"`
	RefreshToken  *string `json:"refresh_token,omitempty"`
	AccessToken   *string `json:"access_token,omitempty"`
	SessionSecret *string `json:"session_secret,omitempty"`
	SessionKey    *string `json:"session_key,omitempty"`
	Scope         *string `json:"scope,omitempty"`
}

OauthTokenAuthorizationCodeResponse struct for OauthTokenAuthorizationCodeResponse

func NewOauthTokenAuthorizationCodeResponse

func NewOauthTokenAuthorizationCodeResponse() *OauthTokenAuthorizationCodeResponse

NewOauthTokenAuthorizationCodeResponse instantiates a new OauthTokenAuthorizationCodeResponse 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 NewOauthTokenAuthorizationCodeResponseWithDefaults

func NewOauthTokenAuthorizationCodeResponseWithDefaults() *OauthTokenAuthorizationCodeResponse

NewOauthTokenAuthorizationCodeResponseWithDefaults instantiates a new OauthTokenAuthorizationCodeResponse 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 (*OauthTokenAuthorizationCodeResponse) GetAccessToken

func (o *OauthTokenAuthorizationCodeResponse) GetAccessToken() string

GetAccessToken returns the AccessToken field value if set, zero value otherwise.

func (*OauthTokenAuthorizationCodeResponse) GetAccessTokenOk

func (o *OauthTokenAuthorizationCodeResponse) GetAccessTokenOk() (*string, bool)

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

func (*OauthTokenAuthorizationCodeResponse) GetExpiresIn

func (o *OauthTokenAuthorizationCodeResponse) GetExpiresIn() int32

GetExpiresIn returns the ExpiresIn field value if set, zero value otherwise.

func (*OauthTokenAuthorizationCodeResponse) GetExpiresInOk

func (o *OauthTokenAuthorizationCodeResponse) GetExpiresInOk() (*int32, bool)

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

func (*OauthTokenAuthorizationCodeResponse) GetRefreshToken

func (o *OauthTokenAuthorizationCodeResponse) GetRefreshToken() string

GetRefreshToken returns the RefreshToken field value if set, zero value otherwise.

func (*OauthTokenAuthorizationCodeResponse) GetRefreshTokenOk

func (o *OauthTokenAuthorizationCodeResponse) GetRefreshTokenOk() (*string, bool)

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

func (*OauthTokenAuthorizationCodeResponse) GetScope

GetScope returns the Scope field value if set, zero value otherwise.

func (*OauthTokenAuthorizationCodeResponse) GetScopeOk

func (o *OauthTokenAuthorizationCodeResponse) 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 (*OauthTokenAuthorizationCodeResponse) GetSessionKey

func (o *OauthTokenAuthorizationCodeResponse) GetSessionKey() string

GetSessionKey returns the SessionKey field value if set, zero value otherwise.

func (*OauthTokenAuthorizationCodeResponse) GetSessionKeyOk

func (o *OauthTokenAuthorizationCodeResponse) GetSessionKeyOk() (*string, bool)

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

func (*OauthTokenAuthorizationCodeResponse) GetSessionSecret

func (o *OauthTokenAuthorizationCodeResponse) GetSessionSecret() string

GetSessionSecret returns the SessionSecret field value if set, zero value otherwise.

func (*OauthTokenAuthorizationCodeResponse) GetSessionSecretOk

func (o *OauthTokenAuthorizationCodeResponse) GetSessionSecretOk() (*string, bool)

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

func (*OauthTokenAuthorizationCodeResponse) HasAccessToken

func (o *OauthTokenAuthorizationCodeResponse) HasAccessToken() bool

HasAccessToken returns a boolean if a field has been set.

func (*OauthTokenAuthorizationCodeResponse) HasExpiresIn

func (o *OauthTokenAuthorizationCodeResponse) HasExpiresIn() bool

HasExpiresIn returns a boolean if a field has been set.

func (*OauthTokenAuthorizationCodeResponse) HasRefreshToken

func (o *OauthTokenAuthorizationCodeResponse) HasRefreshToken() bool

HasRefreshToken returns a boolean if a field has been set.

func (*OauthTokenAuthorizationCodeResponse) HasScope

HasScope returns a boolean if a field has been set.

func (*OauthTokenAuthorizationCodeResponse) HasSessionKey

func (o *OauthTokenAuthorizationCodeResponse) HasSessionKey() bool

HasSessionKey returns a boolean if a field has been set.

func (*OauthTokenAuthorizationCodeResponse) HasSessionSecret

func (o *OauthTokenAuthorizationCodeResponse) HasSessionSecret() bool

HasSessionSecret returns a boolean if a field has been set.

func (OauthTokenAuthorizationCodeResponse) MarshalJSON

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

func (*OauthTokenAuthorizationCodeResponse) SetAccessToken

func (o *OauthTokenAuthorizationCodeResponse) SetAccessToken(v string)

SetAccessToken gets a reference to the given string and assigns it to the AccessToken field.

func (*OauthTokenAuthorizationCodeResponse) SetExpiresIn

func (o *OauthTokenAuthorizationCodeResponse) SetExpiresIn(v int32)

SetExpiresIn gets a reference to the given int32 and assigns it to the ExpiresIn field.

func (*OauthTokenAuthorizationCodeResponse) SetRefreshToken

func (o *OauthTokenAuthorizationCodeResponse) SetRefreshToken(v string)

SetRefreshToken gets a reference to the given string and assigns it to the RefreshToken field.

func (*OauthTokenAuthorizationCodeResponse) SetScope

SetScope gets a reference to the given string and assigns it to the Scope field.

func (*OauthTokenAuthorizationCodeResponse) SetSessionKey

func (o *OauthTokenAuthorizationCodeResponse) SetSessionKey(v string)

SetSessionKey gets a reference to the given string and assigns it to the SessionKey field.

func (*OauthTokenAuthorizationCodeResponse) SetSessionSecret

func (o *OauthTokenAuthorizationCodeResponse) SetSessionSecret(v string)

SetSessionSecret gets a reference to the given string and assigns it to the SessionSecret field.

type OauthTokenDeviceCodeResponse

type OauthTokenDeviceCodeResponse struct {
	DeviceCode      *string `json:"device_code,omitempty"`
	UserCode        *string `json:"user_code,omitempty"`
	VerificationUrl *string `json:"verification_url,omitempty"`
	QrcodeUrl       *string `json:"qrcode_url,omitempty"`
	ExpiresIn       *int32  `json:"expires_in,omitempty"`
	Interval        *int32  `json:"interval,omitempty"`
}

OauthTokenDeviceCodeResponse struct for OauthTokenDeviceCodeResponse

func NewOauthTokenDeviceCodeResponse

func NewOauthTokenDeviceCodeResponse() *OauthTokenDeviceCodeResponse

NewOauthTokenDeviceCodeResponse instantiates a new OauthTokenDeviceCodeResponse 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 NewOauthTokenDeviceCodeResponseWithDefaults

func NewOauthTokenDeviceCodeResponseWithDefaults() *OauthTokenDeviceCodeResponse

NewOauthTokenDeviceCodeResponseWithDefaults instantiates a new OauthTokenDeviceCodeResponse 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 (*OauthTokenDeviceCodeResponse) GetDeviceCode

func (o *OauthTokenDeviceCodeResponse) GetDeviceCode() string

GetDeviceCode returns the DeviceCode field value if set, zero value otherwise.

func (*OauthTokenDeviceCodeResponse) GetDeviceCodeOk

func (o *OauthTokenDeviceCodeResponse) GetDeviceCodeOk() (*string, bool)

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

func (*OauthTokenDeviceCodeResponse) GetExpiresIn

func (o *OauthTokenDeviceCodeResponse) GetExpiresIn() int32

GetExpiresIn returns the ExpiresIn field value if set, zero value otherwise.

func (*OauthTokenDeviceCodeResponse) GetExpiresInOk

func (o *OauthTokenDeviceCodeResponse) GetExpiresInOk() (*int32, bool)

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

func (*OauthTokenDeviceCodeResponse) GetInterval

func (o *OauthTokenDeviceCodeResponse) GetInterval() int32

GetInterval returns the Interval field value if set, zero value otherwise.

func (*OauthTokenDeviceCodeResponse) GetIntervalOk

func (o *OauthTokenDeviceCodeResponse) GetIntervalOk() (*int32, bool)

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

func (*OauthTokenDeviceCodeResponse) GetQrcodeUrl

func (o *OauthTokenDeviceCodeResponse) GetQrcodeUrl() string

GetQrcodeUrl returns the QrcodeUrl field value if set, zero value otherwise.

func (*OauthTokenDeviceCodeResponse) GetQrcodeUrlOk

func (o *OauthTokenDeviceCodeResponse) GetQrcodeUrlOk() (*string, bool)

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

func (*OauthTokenDeviceCodeResponse) GetUserCode

func (o *OauthTokenDeviceCodeResponse) GetUserCode() string

GetUserCode returns the UserCode field value if set, zero value otherwise.

func (*OauthTokenDeviceCodeResponse) GetUserCodeOk

func (o *OauthTokenDeviceCodeResponse) GetUserCodeOk() (*string, bool)

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

func (*OauthTokenDeviceCodeResponse) GetVerificationUrl

func (o *OauthTokenDeviceCodeResponse) GetVerificationUrl() string

GetVerificationUrl returns the VerificationUrl field value if set, zero value otherwise.

func (*OauthTokenDeviceCodeResponse) GetVerificationUrlOk

func (o *OauthTokenDeviceCodeResponse) GetVerificationUrlOk() (*string, bool)

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

func (*OauthTokenDeviceCodeResponse) HasDeviceCode

func (o *OauthTokenDeviceCodeResponse) HasDeviceCode() bool

HasDeviceCode returns a boolean if a field has been set.

func (*OauthTokenDeviceCodeResponse) HasExpiresIn

func (o *OauthTokenDeviceCodeResponse) HasExpiresIn() bool

HasExpiresIn returns a boolean if a field has been set.

func (*OauthTokenDeviceCodeResponse) HasInterval

func (o *OauthTokenDeviceCodeResponse) HasInterval() bool

HasInterval returns a boolean if a field has been set.

func (*OauthTokenDeviceCodeResponse) HasQrcodeUrl

func (o *OauthTokenDeviceCodeResponse) HasQrcodeUrl() bool

HasQrcodeUrl returns a boolean if a field has been set.

func (*OauthTokenDeviceCodeResponse) HasUserCode

func (o *OauthTokenDeviceCodeResponse) HasUserCode() bool

HasUserCode returns a boolean if a field has been set.

func (*OauthTokenDeviceCodeResponse) HasVerificationUrl

func (o *OauthTokenDeviceCodeResponse) HasVerificationUrl() bool

HasVerificationUrl returns a boolean if a field has been set.

func (OauthTokenDeviceCodeResponse) MarshalJSON

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

func (*OauthTokenDeviceCodeResponse) SetDeviceCode

func (o *OauthTokenDeviceCodeResponse) SetDeviceCode(v string)

SetDeviceCode gets a reference to the given string and assigns it to the DeviceCode field.

func (*OauthTokenDeviceCodeResponse) SetExpiresIn

func (o *OauthTokenDeviceCodeResponse) SetExpiresIn(v int32)

SetExpiresIn gets a reference to the given int32 and assigns it to the ExpiresIn field.

func (*OauthTokenDeviceCodeResponse) SetInterval

func (o *OauthTokenDeviceCodeResponse) SetInterval(v int32)

SetInterval gets a reference to the given int32 and assigns it to the Interval field.

func (*OauthTokenDeviceCodeResponse) SetQrcodeUrl

func (o *OauthTokenDeviceCodeResponse) SetQrcodeUrl(v string)

SetQrcodeUrl gets a reference to the given string and assigns it to the QrcodeUrl field.

func (*OauthTokenDeviceCodeResponse) SetUserCode

func (o *OauthTokenDeviceCodeResponse) SetUserCode(v string)

SetUserCode gets a reference to the given string and assigns it to the UserCode field.

func (*OauthTokenDeviceCodeResponse) SetVerificationUrl

func (o *OauthTokenDeviceCodeResponse) SetVerificationUrl(v string)

SetVerificationUrl gets a reference to the given string and assigns it to the VerificationUrl field.

type OauthTokenDeviceTokenResponse

type OauthTokenDeviceTokenResponse struct {
	ExpiresIn     *int32  `json:"expires_in,omitempty"`
	RefreshToken  *string `json:"refresh_token,omitempty"`
	AccessToken   *string `json:"access_token,omitempty"`
	SessionSecret *string `json:"session_secret,omitempty"`
	SessionKey    *string `json:"session_key,omitempty"`
	Scope         *string `json:"scope,omitempty"`
}

OauthTokenDeviceTokenResponse struct for OauthTokenDeviceTokenResponse

func NewOauthTokenDeviceTokenResponse

func NewOauthTokenDeviceTokenResponse() *OauthTokenDeviceTokenResponse

NewOauthTokenDeviceTokenResponse instantiates a new OauthTokenDeviceTokenResponse 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 NewOauthTokenDeviceTokenResponseWithDefaults

func NewOauthTokenDeviceTokenResponseWithDefaults() *OauthTokenDeviceTokenResponse

NewOauthTokenDeviceTokenResponseWithDefaults instantiates a new OauthTokenDeviceTokenResponse 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 (*OauthTokenDeviceTokenResponse) GetAccessToken

func (o *OauthTokenDeviceTokenResponse) GetAccessToken() string

GetAccessToken returns the AccessToken field value if set, zero value otherwise.

func (*OauthTokenDeviceTokenResponse) GetAccessTokenOk

func (o *OauthTokenDeviceTokenResponse) GetAccessTokenOk() (*string, bool)

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

func (*OauthTokenDeviceTokenResponse) GetExpiresIn

func (o *OauthTokenDeviceTokenResponse) GetExpiresIn() int32

GetExpiresIn returns the ExpiresIn field value if set, zero value otherwise.

func (*OauthTokenDeviceTokenResponse) GetExpiresInOk

func (o *OauthTokenDeviceTokenResponse) GetExpiresInOk() (*int32, bool)

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

func (*OauthTokenDeviceTokenResponse) GetRefreshToken

func (o *OauthTokenDeviceTokenResponse) GetRefreshToken() string

GetRefreshToken returns the RefreshToken field value if set, zero value otherwise.

func (*OauthTokenDeviceTokenResponse) GetRefreshTokenOk

func (o *OauthTokenDeviceTokenResponse) GetRefreshTokenOk() (*string, bool)

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

func (*OauthTokenDeviceTokenResponse) GetScope

func (o *OauthTokenDeviceTokenResponse) GetScope() string

GetScope returns the Scope field value if set, zero value otherwise.

func (*OauthTokenDeviceTokenResponse) GetScopeOk

func (o *OauthTokenDeviceTokenResponse) 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 (*OauthTokenDeviceTokenResponse) GetSessionKey

func (o *OauthTokenDeviceTokenResponse) GetSessionKey() string

GetSessionKey returns the SessionKey field value if set, zero value otherwise.

func (*OauthTokenDeviceTokenResponse) GetSessionKeyOk

func (o *OauthTokenDeviceTokenResponse) GetSessionKeyOk() (*string, bool)

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

func (*OauthTokenDeviceTokenResponse) GetSessionSecret

func (o *OauthTokenDeviceTokenResponse) GetSessionSecret() string

GetSessionSecret returns the SessionSecret field value if set, zero value otherwise.

func (*OauthTokenDeviceTokenResponse) GetSessionSecretOk

func (o *OauthTokenDeviceTokenResponse) GetSessionSecretOk() (*string, bool)

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

func (*OauthTokenDeviceTokenResponse) HasAccessToken

func (o *OauthTokenDeviceTokenResponse) HasAccessToken() bool

HasAccessToken returns a boolean if a field has been set.

func (*OauthTokenDeviceTokenResponse) HasExpiresIn

func (o *OauthTokenDeviceTokenResponse) HasExpiresIn() bool

HasExpiresIn returns a boolean if a field has been set.

func (*OauthTokenDeviceTokenResponse) HasRefreshToken

func (o *OauthTokenDeviceTokenResponse) HasRefreshToken() bool

HasRefreshToken returns a boolean if a field has been set.

func (*OauthTokenDeviceTokenResponse) HasScope

func (o *OauthTokenDeviceTokenResponse) HasScope() bool

HasScope returns a boolean if a field has been set.

func (*OauthTokenDeviceTokenResponse) HasSessionKey

func (o *OauthTokenDeviceTokenResponse) HasSessionKey() bool

HasSessionKey returns a boolean if a field has been set.

func (*OauthTokenDeviceTokenResponse) HasSessionSecret

func (o *OauthTokenDeviceTokenResponse) HasSessionSecret() bool

HasSessionSecret returns a boolean if a field has been set.

func (OauthTokenDeviceTokenResponse) MarshalJSON

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

func (*OauthTokenDeviceTokenResponse) SetAccessToken

func (o *OauthTokenDeviceTokenResponse) SetAccessToken(v string)

SetAccessToken gets a reference to the given string and assigns it to the AccessToken field.

func (*OauthTokenDeviceTokenResponse) SetExpiresIn

func (o *OauthTokenDeviceTokenResponse) SetExpiresIn(v int32)

SetExpiresIn gets a reference to the given int32 and assigns it to the ExpiresIn field.

func (*OauthTokenDeviceTokenResponse) SetRefreshToken

func (o *OauthTokenDeviceTokenResponse) SetRefreshToken(v string)

SetRefreshToken gets a reference to the given string and assigns it to the RefreshToken field.

func (*OauthTokenDeviceTokenResponse) SetScope

func (o *OauthTokenDeviceTokenResponse) SetScope(v string)

SetScope gets a reference to the given string and assigns it to the Scope field.

func (*OauthTokenDeviceTokenResponse) SetSessionKey

func (o *OauthTokenDeviceTokenResponse) SetSessionKey(v string)

SetSessionKey gets a reference to the given string and assigns it to the SessionKey field.

func (*OauthTokenDeviceTokenResponse) SetSessionSecret

func (o *OauthTokenDeviceTokenResponse) SetSessionSecret(v string)

SetSessionSecret gets a reference to the given string and assigns it to the SessionSecret field.

type OauthTokenRefreshTokenResponse

type OauthTokenRefreshTokenResponse struct {
	ExpiresIn     *int32  `json:"expires_in,omitempty"`
	RefreshToken  *string `json:"refresh_token,omitempty"`
	AccessToken   *string `json:"access_token,omitempty"`
	SessionSecret *string `json:"session_secret,omitempty"`
	SessionKey    *string `json:"session_key,omitempty"`
	Scope         *string `json:"scope,omitempty"`
}

OauthTokenRefreshTokenResponse struct for OauthTokenRefreshTokenResponse

func NewOauthTokenRefreshTokenResponse

func NewOauthTokenRefreshTokenResponse() *OauthTokenRefreshTokenResponse

NewOauthTokenRefreshTokenResponse instantiates a new OauthTokenRefreshTokenResponse 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 NewOauthTokenRefreshTokenResponseWithDefaults

func NewOauthTokenRefreshTokenResponseWithDefaults() *OauthTokenRefreshTokenResponse

NewOauthTokenRefreshTokenResponseWithDefaults instantiates a new OauthTokenRefreshTokenResponse 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 (*OauthTokenRefreshTokenResponse) GetAccessToken

func (o *OauthTokenRefreshTokenResponse) GetAccessToken() string

GetAccessToken returns the AccessToken field value if set, zero value otherwise.

func (*OauthTokenRefreshTokenResponse) GetAccessTokenOk

func (o *OauthTokenRefreshTokenResponse) GetAccessTokenOk() (*string, bool)

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

func (*OauthTokenRefreshTokenResponse) GetExpiresIn

func (o *OauthTokenRefreshTokenResponse) GetExpiresIn() int32

GetExpiresIn returns the ExpiresIn field value if set, zero value otherwise.

func (*OauthTokenRefreshTokenResponse) GetExpiresInOk

func (o *OauthTokenRefreshTokenResponse) GetExpiresInOk() (*int32, bool)

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

func (*OauthTokenRefreshTokenResponse) GetRefreshToken

func (o *OauthTokenRefreshTokenResponse) GetRefreshToken() string

GetRefreshToken returns the RefreshToken field value if set, zero value otherwise.

func (*OauthTokenRefreshTokenResponse) GetRefreshTokenOk

func (o *OauthTokenRefreshTokenResponse) GetRefreshTokenOk() (*string, bool)

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

func (*OauthTokenRefreshTokenResponse) GetScope

func (o *OauthTokenRefreshTokenResponse) GetScope() string

GetScope returns the Scope field value if set, zero value otherwise.

func (*OauthTokenRefreshTokenResponse) GetScopeOk

func (o *OauthTokenRefreshTokenResponse) 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 (*OauthTokenRefreshTokenResponse) GetSessionKey

func (o *OauthTokenRefreshTokenResponse) GetSessionKey() string

GetSessionKey returns the SessionKey field value if set, zero value otherwise.

func (*OauthTokenRefreshTokenResponse) GetSessionKeyOk

func (o *OauthTokenRefreshTokenResponse) GetSessionKeyOk() (*string, bool)

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

func (*OauthTokenRefreshTokenResponse) GetSessionSecret

func (o *OauthTokenRefreshTokenResponse) GetSessionSecret() string

GetSessionSecret returns the SessionSecret field value if set, zero value otherwise.

func (*OauthTokenRefreshTokenResponse) GetSessionSecretOk

func (o *OauthTokenRefreshTokenResponse) GetSessionSecretOk() (*string, bool)

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

func (*OauthTokenRefreshTokenResponse) HasAccessToken

func (o *OauthTokenRefreshTokenResponse) HasAccessToken() bool

HasAccessToken returns a boolean if a field has been set.

func (*OauthTokenRefreshTokenResponse) HasExpiresIn

func (o *OauthTokenRefreshTokenResponse) HasExpiresIn() bool

HasExpiresIn returns a boolean if a field has been set.

func (*OauthTokenRefreshTokenResponse) HasRefreshToken

func (o *OauthTokenRefreshTokenResponse) HasRefreshToken() bool

HasRefreshToken returns a boolean if a field has been set.

func (*OauthTokenRefreshTokenResponse) HasScope

func (o *OauthTokenRefreshTokenResponse) HasScope() bool

HasScope returns a boolean if a field has been set.

func (*OauthTokenRefreshTokenResponse) HasSessionKey

func (o *OauthTokenRefreshTokenResponse) HasSessionKey() bool

HasSessionKey returns a boolean if a field has been set.

func (*OauthTokenRefreshTokenResponse) HasSessionSecret

func (o *OauthTokenRefreshTokenResponse) HasSessionSecret() bool

HasSessionSecret returns a boolean if a field has been set.

func (OauthTokenRefreshTokenResponse) MarshalJSON

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

func (*OauthTokenRefreshTokenResponse) SetAccessToken

func (o *OauthTokenRefreshTokenResponse) SetAccessToken(v string)

SetAccessToken gets a reference to the given string and assigns it to the AccessToken field.

func (*OauthTokenRefreshTokenResponse) SetExpiresIn

func (o *OauthTokenRefreshTokenResponse) SetExpiresIn(v int32)

SetExpiresIn gets a reference to the given int32 and assigns it to the ExpiresIn field.

func (*OauthTokenRefreshTokenResponse) SetRefreshToken

func (o *OauthTokenRefreshTokenResponse) SetRefreshToken(v string)

SetRefreshToken gets a reference to the given string and assigns it to the RefreshToken field.

func (*OauthTokenRefreshTokenResponse) SetScope

func (o *OauthTokenRefreshTokenResponse) SetScope(v string)

SetScope gets a reference to the given string and assigns it to the Scope field.

func (*OauthTokenRefreshTokenResponse) SetSessionKey

func (o *OauthTokenRefreshTokenResponse) SetSessionKey(v string)

SetSessionKey gets a reference to the given string and assigns it to the SessionKey field.

func (*OauthTokenRefreshTokenResponse) SetSessionSecret

func (o *OauthTokenRefreshTokenResponse) SetSessionSecret(v string)

SetSessionSecret gets a reference to the given string and assigns it to the SessionSecret field.

type Quotaresponse

type Quotaresponse struct {
	Errno     *int32 `json:"errno,omitempty"`
	Total     *int64 `json:"total,omitempty"`
	Free      *int64 `json:"free,omitempty"`
	RequestId *int64 `json:"request_id,omitempty"`
	Expire    *bool  `json:"expire,omitempty"`
	Used      *int64 `json:"used,omitempty"`
}

Quotaresponse struct for Quotaresponse

func NewQuotaresponse

func NewQuotaresponse() *Quotaresponse

NewQuotaresponse instantiates a new Quotaresponse 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 NewQuotaresponseWithDefaults

func NewQuotaresponseWithDefaults() *Quotaresponse

NewQuotaresponseWithDefaults instantiates a new Quotaresponse 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 (*Quotaresponse) GetErrno

func (o *Quotaresponse) GetErrno() int32

GetErrno returns the Errno field value if set, zero value otherwise.

func (*Quotaresponse) GetErrnoOk

func (o *Quotaresponse) GetErrnoOk() (*int32, bool)

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

func (*Quotaresponse) GetExpire

func (o *Quotaresponse) GetExpire() bool

GetExpire returns the Expire field value if set, zero value otherwise.

func (*Quotaresponse) GetExpireOk

func (o *Quotaresponse) GetExpireOk() (*bool, bool)

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

func (*Quotaresponse) GetFree

func (o *Quotaresponse) GetFree() int64

GetFree returns the Free field value if set, zero value otherwise.

func (*Quotaresponse) GetFreeOk

func (o *Quotaresponse) GetFreeOk() (*int64, bool)

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

func (*Quotaresponse) GetRequestId

func (o *Quotaresponse) GetRequestId() int64

GetRequestId returns the RequestId field value if set, zero value otherwise.

func (*Quotaresponse) GetRequestIdOk

func (o *Quotaresponse) GetRequestIdOk() (*int64, bool)

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

func (*Quotaresponse) GetTotal

func (o *Quotaresponse) GetTotal() int64

GetTotal returns the Total field value if set, zero value otherwise.

func (*Quotaresponse) GetTotalOk

func (o *Quotaresponse) 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 (*Quotaresponse) GetUsed

func (o *Quotaresponse) GetUsed() int64

GetUsed returns the Used field value if set, zero value otherwise.

func (*Quotaresponse) GetUsedOk

func (o *Quotaresponse) 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 (*Quotaresponse) HasErrno

func (o *Quotaresponse) HasErrno() bool

HasErrno returns a boolean if a field has been set.

func (*Quotaresponse) HasExpire

func (o *Quotaresponse) HasExpire() bool

HasExpire returns a boolean if a field has been set.

func (*Quotaresponse) HasFree

func (o *Quotaresponse) HasFree() bool

HasFree returns a boolean if a field has been set.

func (*Quotaresponse) HasRequestId

func (o *Quotaresponse) HasRequestId() bool

HasRequestId returns a boolean if a field has been set.

func (*Quotaresponse) HasTotal

func (o *Quotaresponse) HasTotal() bool

HasTotal returns a boolean if a field has been set.

func (*Quotaresponse) HasUsed

func (o *Quotaresponse) HasUsed() bool

HasUsed returns a boolean if a field has been set.

func (Quotaresponse) MarshalJSON

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

func (*Quotaresponse) SetErrno

func (o *Quotaresponse) SetErrno(v int32)

SetErrno gets a reference to the given int32 and assigns it to the Errno field.

func (*Quotaresponse) SetExpire

func (o *Quotaresponse) SetExpire(v bool)

SetExpire gets a reference to the given bool and assigns it to the Expire field.

func (*Quotaresponse) SetFree

func (o *Quotaresponse) SetFree(v int64)

SetFree gets a reference to the given int64 and assigns it to the Free field.

func (*Quotaresponse) SetRequestId

func (o *Quotaresponse) SetRequestId(v int64)

SetRequestId gets a reference to the given int64 and assigns it to the RequestId field.

func (*Quotaresponse) SetTotal

func (o *Quotaresponse) SetTotal(v int64)

SetTotal gets a reference to the given int64 and assigns it to the Total field.

func (*Quotaresponse) SetUsed

func (o *Quotaresponse) SetUsed(v int64)

SetUsed gets a reference to the given int64 and assigns it to the Used 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 Uinforesponse

type Uinforesponse struct {
	Errno       *int32  `json:"errno,omitempty"`
	Errmsg      *string `json:"errmsg,omitempty"`
	Uk          *int32  `json:"uk,omitempty"`
	RequestId   *string `json:"request_id,omitempty"`
	AvatarUrl   *string `json:"avatar_url,omitempty"`
	BaiduName   *string `json:"baidu_name,omitempty"`
	NetdiskName *string `json:"netdisk_name,omitempty"`
	VipType     *int32  `json:"vip_type,omitempty"`
}

Uinforesponse struct for Uinforesponse

func NewUinforesponse

func NewUinforesponse() *Uinforesponse

NewUinforesponse instantiates a new Uinforesponse 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 NewUinforesponseWithDefaults

func NewUinforesponseWithDefaults() *Uinforesponse

NewUinforesponseWithDefaults instantiates a new Uinforesponse 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 (*Uinforesponse) GetAvatarUrl

func (o *Uinforesponse) GetAvatarUrl() string

GetAvatarUrl returns the AvatarUrl field value if set, zero value otherwise.

func (*Uinforesponse) GetAvatarUrlOk

func (o *Uinforesponse) GetAvatarUrlOk() (*string, bool)

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

func (*Uinforesponse) GetBaiduName

func (o *Uinforesponse) GetBaiduName() string

GetBaiduName returns the BaiduName field value if set, zero value otherwise.

func (*Uinforesponse) GetBaiduNameOk

func (o *Uinforesponse) GetBaiduNameOk() (*string, bool)

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

func (*Uinforesponse) GetErrmsg

func (o *Uinforesponse) GetErrmsg() string

GetErrmsg returns the Errmsg field value if set, zero value otherwise.

func (*Uinforesponse) GetErrmsgOk

func (o *Uinforesponse) GetErrmsgOk() (*string, bool)

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

func (*Uinforesponse) GetErrno

func (o *Uinforesponse) GetErrno() int32

GetErrno returns the Errno field value if set, zero value otherwise.

func (*Uinforesponse) GetErrnoOk

func (o *Uinforesponse) GetErrnoOk() (*int32, bool)

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

func (*Uinforesponse) GetNetdiskName

func (o *Uinforesponse) GetNetdiskName() string

GetNetdiskName returns the NetdiskName field value if set, zero value otherwise.

func (*Uinforesponse) GetNetdiskNameOk

func (o *Uinforesponse) GetNetdiskNameOk() (*string, bool)

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

func (*Uinforesponse) GetRequestId

func (o *Uinforesponse) GetRequestId() string

GetRequestId returns the RequestId field value if set, zero value otherwise.

func (*Uinforesponse) GetRequestIdOk

func (o *Uinforesponse) GetRequestIdOk() (*string, bool)

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

func (*Uinforesponse) GetUk

func (o *Uinforesponse) GetUk() int32

GetUk returns the Uk field value if set, zero value otherwise.

func (*Uinforesponse) GetUkOk

func (o *Uinforesponse) GetUkOk() (*int32, bool)

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

func (*Uinforesponse) GetVipType

func (o *Uinforesponse) GetVipType() int32

GetVipType returns the VipType field value if set, zero value otherwise.

func (*Uinforesponse) GetVipTypeOk

func (o *Uinforesponse) GetVipTypeOk() (*int32, bool)

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

func (*Uinforesponse) HasAvatarUrl

func (o *Uinforesponse) HasAvatarUrl() bool

HasAvatarUrl returns a boolean if a field has been set.

func (*Uinforesponse) HasBaiduName

func (o *Uinforesponse) HasBaiduName() bool

HasBaiduName returns a boolean if a field has been set.

func (*Uinforesponse) HasErrmsg

func (o *Uinforesponse) HasErrmsg() bool

HasErrmsg returns a boolean if a field has been set.

func (*Uinforesponse) HasErrno

func (o *Uinforesponse) HasErrno() bool

HasErrno returns a boolean if a field has been set.

func (*Uinforesponse) HasNetdiskName

func (o *Uinforesponse) HasNetdiskName() bool

HasNetdiskName returns a boolean if a field has been set.

func (*Uinforesponse) HasRequestId

func (o *Uinforesponse) HasRequestId() bool

HasRequestId returns a boolean if a field has been set.

func (*Uinforesponse) HasUk

func (o *Uinforesponse) HasUk() bool

HasUk returns a boolean if a field has been set.

func (*Uinforesponse) HasVipType

func (o *Uinforesponse) HasVipType() bool

HasVipType returns a boolean if a field has been set.

func (Uinforesponse) MarshalJSON

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

func (*Uinforesponse) SetAvatarUrl

func (o *Uinforesponse) SetAvatarUrl(v string)

SetAvatarUrl gets a reference to the given string and assigns it to the AvatarUrl field.

func (*Uinforesponse) SetBaiduName

func (o *Uinforesponse) SetBaiduName(v string)

SetBaiduName gets a reference to the given string and assigns it to the BaiduName field.

func (*Uinforesponse) SetErrmsg

func (o *Uinforesponse) SetErrmsg(v string)

SetErrmsg gets a reference to the given string and assigns it to the Errmsg field.

func (*Uinforesponse) SetErrno

func (o *Uinforesponse) SetErrno(v int32)

SetErrno gets a reference to the given int32 and assigns it to the Errno field.

func (*Uinforesponse) SetNetdiskName

func (o *Uinforesponse) SetNetdiskName(v string)

SetNetdiskName gets a reference to the given string and assigns it to the NetdiskName field.

func (*Uinforesponse) SetRequestId

func (o *Uinforesponse) SetRequestId(v string)

SetRequestId gets a reference to the given string and assigns it to the RequestId field.

func (*Uinforesponse) SetUk

func (o *Uinforesponse) SetUk(v int32)

SetUk gets a reference to the given int32 and assigns it to the Uk field.

func (*Uinforesponse) SetVipType

func (o *Uinforesponse) SetVipType(v int32)

SetVipType gets a reference to the given int32 and assigns it to the VipType field.

type UserinfoApiService

type UserinfoApiService service

UserinfoApiService UserinfoApi service

func (*UserinfoApiService) Apiquota

Apiquota Method for Apiquota

api quota

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

func (*UserinfoApiService) ApiquotaExecute

Execute executes the request

@return Quotaresponse

func (*UserinfoApiService) Xpannasuinfo

Xpannasuinfo Method for Xpannasuinfo

user info

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

func (*UserinfoApiService) XpannasuinfoExecute

Execute executes the request

@return Uinforesponse

Jump to

Keyboard shortcuts

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