operations

package
v0.0.0-...-626f0c1 Latest Latest
Warning

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

Go to latest
Published: Feb 24, 2018 License: MIT Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ActiveNowOK

type ActiveNowOK struct {
	Payload *models.ActiveNowOKBody
}

ActiveNowOK handles this case with default header values.

Report

func NewActiveNowOK

func NewActiveNowOK() *ActiveNowOK

NewActiveNowOK creates a ActiveNowOK with default headers values

func (*ActiveNowOK) Error

func (o *ActiveNowOK) Error() string

type ActiveNowParams

type ActiveNowParams struct {

	/*Authorization*/
	Authorization string
	/*AppID*/
	AppID string
	/*Build*/
	Build *string
	/*OrganizationID*/
	OrganizationID string

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

ActiveNowParams contains all the parameters to send to the API endpoint for the active now operation typically these are written to a http.Request

func NewActiveNowParams

func NewActiveNowParams() *ActiveNowParams

NewActiveNowParams creates a new ActiveNowParams object with the default values initialized.

func NewActiveNowParamsWithContext

func NewActiveNowParamsWithContext(ctx context.Context) *ActiveNowParams

NewActiveNowParamsWithContext creates a new ActiveNowParams object with the default values initialized, and the ability to set a context for a request

func NewActiveNowParamsWithHTTPClient

func NewActiveNowParamsWithHTTPClient(client *http.Client) *ActiveNowParams

NewActiveNowParamsWithHTTPClient creates a new ActiveNowParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewActiveNowParamsWithTimeout

func NewActiveNowParamsWithTimeout(timeout time.Duration) *ActiveNowParams

NewActiveNowParamsWithTimeout creates a new ActiveNowParams object with the default values initialized, and the ability to set a timeout on a request

func (*ActiveNowParams) SetAppID

func (o *ActiveNowParams) SetAppID(appID string)

SetAppID adds the appId to the active now params

func (*ActiveNowParams) SetAuthorization

func (o *ActiveNowParams) SetAuthorization(authorization string)

SetAuthorization adds the authorization to the active now params

func (*ActiveNowParams) SetBuild

func (o *ActiveNowParams) SetBuild(build *string)

SetBuild adds the build to the active now params

func (*ActiveNowParams) SetContext

func (o *ActiveNowParams) SetContext(ctx context.Context)

SetContext adds the context to the active now params

func (*ActiveNowParams) SetHTTPClient

func (o *ActiveNowParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the active now params

func (*ActiveNowParams) SetOrganizationID

func (o *ActiveNowParams) SetOrganizationID(organizationID string)

SetOrganizationID adds the organizationId to the active now params

func (*ActiveNowParams) SetTimeout

func (o *ActiveNowParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the active now params

func (*ActiveNowParams) WithAppID

func (o *ActiveNowParams) WithAppID(appID string) *ActiveNowParams

WithAppID adds the appID to the active now params

func (*ActiveNowParams) WithAuthorization

func (o *ActiveNowParams) WithAuthorization(authorization string) *ActiveNowParams

WithAuthorization adds the authorization to the active now params

func (*ActiveNowParams) WithBuild

func (o *ActiveNowParams) WithBuild(build *string) *ActiveNowParams

WithBuild adds the build to the active now params

func (*ActiveNowParams) WithContext

func (o *ActiveNowParams) WithContext(ctx context.Context) *ActiveNowParams

WithContext adds the context to the active now params

func (*ActiveNowParams) WithHTTPClient

func (o *ActiveNowParams) WithHTTPClient(client *http.Client) *ActiveNowParams

WithHTTPClient adds the HTTPClient to the active now params

func (*ActiveNowParams) WithOrganizationID

func (o *ActiveNowParams) WithOrganizationID(organizationID string) *ActiveNowParams

WithOrganizationID adds the organizationID to the active now params

func (*ActiveNowParams) WithTimeout

func (o *ActiveNowParams) WithTimeout(timeout time.Duration) *ActiveNowParams

WithTimeout adds the timeout to the active now params

func (*ActiveNowParams) WriteToRequest

func (o *ActiveNowParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error

WriteToRequest writes these params to a swagger request

type ActiveNowReader

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

ActiveNowReader is a Reader for the ActiveNow structure.

func (*ActiveNowReader) ReadResponse

func (o *ActiveNowReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type ActiveOK

type ActiveOK struct {
	Payload *models.ActiveOKBody
}

ActiveOK handles this case with default header values.

Report

func NewActiveOK

func NewActiveOK() *ActiveOK

NewActiveOK creates a ActiveOK with default headers values

func (*ActiveOK) Error

func (o *ActiveOK) Error() string

type ActiveParams

type ActiveParams struct {

	/*Authorization*/
	Authorization string
	/*AppID*/
	AppID string
	/*Build*/
	Build *string
	/*End*/
	End *int64
	/*OrganizationID*/
	OrganizationID string
	/*Period*/
	Period string
	/*Start*/
	Start *int64

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

ActiveParams contains all the parameters to send to the API endpoint for the active operation typically these are written to a http.Request

func NewActiveParams

func NewActiveParams() *ActiveParams

NewActiveParams creates a new ActiveParams object with the default values initialized.

func NewActiveParamsWithContext

func NewActiveParamsWithContext(ctx context.Context) *ActiveParams

NewActiveParamsWithContext creates a new ActiveParams object with the default values initialized, and the ability to set a context for a request

func NewActiveParamsWithHTTPClient

func NewActiveParamsWithHTTPClient(client *http.Client) *ActiveParams

NewActiveParamsWithHTTPClient creates a new ActiveParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewActiveParamsWithTimeout

func NewActiveParamsWithTimeout(timeout time.Duration) *ActiveParams

NewActiveParamsWithTimeout creates a new ActiveParams object with the default values initialized, and the ability to set a timeout on a request

func (*ActiveParams) SetAppID

func (o *ActiveParams) SetAppID(appID string)

SetAppID adds the appId to the active params

func (*ActiveParams) SetAuthorization

func (o *ActiveParams) SetAuthorization(authorization string)

SetAuthorization adds the authorization to the active params

func (*ActiveParams) SetBuild

func (o *ActiveParams) SetBuild(build *string)

SetBuild adds the build to the active params

func (*ActiveParams) SetContext

func (o *ActiveParams) SetContext(ctx context.Context)

SetContext adds the context to the active params

func (*ActiveParams) SetEnd

func (o *ActiveParams) SetEnd(end *int64)

SetEnd adds the end to the active params

func (*ActiveParams) SetHTTPClient

func (o *ActiveParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the active params

func (*ActiveParams) SetOrganizationID

func (o *ActiveParams) SetOrganizationID(organizationID string)

SetOrganizationID adds the organizationId to the active params

func (*ActiveParams) SetPeriod

func (o *ActiveParams) SetPeriod(period string)

SetPeriod adds the period to the active params

func (*ActiveParams) SetStart

func (o *ActiveParams) SetStart(start *int64)

SetStart adds the start to the active params

func (*ActiveParams) SetTimeout

func (o *ActiveParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the active params

func (*ActiveParams) WithAppID

func (o *ActiveParams) WithAppID(appID string) *ActiveParams

WithAppID adds the appID to the active params

func (*ActiveParams) WithAuthorization

func (o *ActiveParams) WithAuthorization(authorization string) *ActiveParams

WithAuthorization adds the authorization to the active params

func (*ActiveParams) WithBuild

func (o *ActiveParams) WithBuild(build *string) *ActiveParams

WithBuild adds the build to the active params

func (*ActiveParams) WithContext

func (o *ActiveParams) WithContext(ctx context.Context) *ActiveParams

WithContext adds the context to the active params

func (*ActiveParams) WithEnd

func (o *ActiveParams) WithEnd(end *int64) *ActiveParams

WithEnd adds the end to the active params

func (*ActiveParams) WithHTTPClient

func (o *ActiveParams) WithHTTPClient(client *http.Client) *ActiveParams

WithHTTPClient adds the HTTPClient to the active params

func (*ActiveParams) WithOrganizationID

func (o *ActiveParams) WithOrganizationID(organizationID string) *ActiveParams

WithOrganizationID adds the organizationID to the active params

func (*ActiveParams) WithPeriod

func (o *ActiveParams) WithPeriod(period string) *ActiveParams

WithPeriod adds the period to the active params

func (*ActiveParams) WithStart

func (o *ActiveParams) WithStart(start *int64) *ActiveParams

WithStart adds the start to the active params

func (*ActiveParams) WithTimeout

func (o *ActiveParams) WithTimeout(timeout time.Duration) *ActiveParams

WithTimeout adds the timeout to the active params

func (*ActiveParams) WriteToRequest

func (o *ActiveParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error

WriteToRequest writes these params to a swagger request

type ActiveReader

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

ActiveReader is a Reader for the Active structure.

func (*ActiveReader) ReadResponse

func (o *ActiveReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type AppOK

type AppOK struct {
	Payload *models.App
}

AppOK handles this case with default header values.

app details

func NewAppOK

func NewAppOK() *AppOK

NewAppOK creates a AppOK with default headers values

func (*AppOK) Error

func (o *AppOK) Error() string

type AppParams

type AppParams struct {

	/*Authorization*/
	Authorization string
	/*AppID*/
	AppID string

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

AppParams contains all the parameters to send to the API endpoint for the app operation typically these are written to a http.Request

func NewAppParams

func NewAppParams() *AppParams

NewAppParams creates a new AppParams object with the default values initialized.

func NewAppParamsWithContext

func NewAppParamsWithContext(ctx context.Context) *AppParams

NewAppParamsWithContext creates a new AppParams object with the default values initialized, and the ability to set a context for a request

func NewAppParamsWithHTTPClient

func NewAppParamsWithHTTPClient(client *http.Client) *AppParams

NewAppParamsWithHTTPClient creates a new AppParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewAppParamsWithTimeout

func NewAppParamsWithTimeout(timeout time.Duration) *AppParams

NewAppParamsWithTimeout creates a new AppParams object with the default values initialized, and the ability to set a timeout on a request

func (*AppParams) SetAppID

func (o *AppParams) SetAppID(appID string)

SetAppID adds the appId to the app params

func (*AppParams) SetAuthorization

func (o *AppParams) SetAuthorization(authorization string)

SetAuthorization adds the authorization to the app params

func (*AppParams) SetContext

func (o *AppParams) SetContext(ctx context.Context)

SetContext adds the context to the app params

func (*AppParams) SetHTTPClient

func (o *AppParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the app params

func (*AppParams) SetTimeout

func (o *AppParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the app params

func (*AppParams) WithAppID

func (o *AppParams) WithAppID(appID string) *AppParams

WithAppID adds the appID to the app params

func (*AppParams) WithAuthorization

func (o *AppParams) WithAuthorization(authorization string) *AppParams

WithAuthorization adds the authorization to the app params

func (*AppParams) WithContext

func (o *AppParams) WithContext(ctx context.Context) *AppParams

WithContext adds the context to the app params

func (*AppParams) WithHTTPClient

func (o *AppParams) WithHTTPClient(client *http.Client) *AppParams

WithHTTPClient adds the HTTPClient to the app params

func (*AppParams) WithTimeout

func (o *AppParams) WithTimeout(timeout time.Duration) *AppParams

WithTimeout adds the timeout to the app params

func (*AppParams) WriteToRequest

func (o *AppParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error

WriteToRequest writes these params to a swagger request

type AppReader

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

AppReader is a Reader for the App structure.

func (*AppReader) ReadResponse

func (o *AppReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type AppsOK

type AppsOK struct {
	Payload models.AppsOKBody
}

AppsOK handles this case with default header values.

all apps details

func NewAppsOK

func NewAppsOK() *AppsOK

NewAppsOK creates a AppsOK with default headers values

func (*AppsOK) Error

func (o *AppsOK) Error() string

type AppsParams

type AppsParams struct {

	/*Authorization*/
	Authorization string

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

AppsParams contains all the parameters to send to the API endpoint for the apps operation typically these are written to a http.Request

func NewAppsParams

func NewAppsParams() *AppsParams

NewAppsParams creates a new AppsParams object with the default values initialized.

func NewAppsParamsWithContext

func NewAppsParamsWithContext(ctx context.Context) *AppsParams

NewAppsParamsWithContext creates a new AppsParams object with the default values initialized, and the ability to set a context for a request

func NewAppsParamsWithHTTPClient

func NewAppsParamsWithHTTPClient(client *http.Client) *AppsParams

NewAppsParamsWithHTTPClient creates a new AppsParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewAppsParamsWithTimeout

func NewAppsParamsWithTimeout(timeout time.Duration) *AppsParams

NewAppsParamsWithTimeout creates a new AppsParams object with the default values initialized, and the ability to set a timeout on a request

func (*AppsParams) SetAuthorization

func (o *AppsParams) SetAuthorization(authorization string)

SetAuthorization adds the authorization to the apps params

func (*AppsParams) SetContext

func (o *AppsParams) SetContext(ctx context.Context)

SetContext adds the context to the apps params

func (*AppsParams) SetHTTPClient

func (o *AppsParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the apps params

func (*AppsParams) SetTimeout

func (o *AppsParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the apps params

func (*AppsParams) WithAuthorization

func (o *AppsParams) WithAuthorization(authorization string) *AppsParams

WithAuthorization adds the authorization to the apps params

func (*AppsParams) WithContext

func (o *AppsParams) WithContext(ctx context.Context) *AppsParams

WithContext adds the context to the apps params

func (*AppsParams) WithHTTPClient

func (o *AppsParams) WithHTTPClient(client *http.Client) *AppsParams

WithHTTPClient adds the HTTPClient to the apps params

func (*AppsParams) WithTimeout

func (o *AppsParams) WithTimeout(timeout time.Duration) *AppsParams

WithTimeout adds the timeout to the apps params

func (*AppsParams) WriteToRequest

func (o *AppsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error

WriteToRequest writes these params to a swagger request

type AppsReader

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

AppsReader is a Reader for the Apps structure.

func (*AppsReader) ReadResponse

func (o *AppsReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type Client

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

Client for operations API

func New

func New(transport runtime.ClientTransport, formats strfmt.Registry) *Client

New creates a new operations API client.

func (*Client) Active

func (a *Client) Active(params *ActiveParams) (*ActiveOK, error)

Active gets daily weekly or monthly active

func (*Client) ActiveNow

func (a *Client) ActiveNow(params *ActiveNowParams) (*ActiveNowOK, error)

ActiveNow gets active now

func (*Client) App

func (a *Client) App(params *AppParams) (*AppOK, error)

App gets single app

func (*Client) Apps

func (a *Client) Apps(params *AppsParams) (*AppsOK, error)

Apps gets all apps

func (*Client) DailyNew

func (a *Client) DailyNew(params *DailyNewParams) (*DailyNewOK, error)

DailyNew gets daily new

func (*Client) OAuth

func (a *Client) OAuth(params *OAuthParams) (*OAuthOK, error)

OAuth gets authorization token

func (*Client) Organizations

func (a *Client) Organizations(params *OrganizationsParams) (*OrganizationsOK, error)

Organizations gets organizations

func (*Client) SessionsCount

func (a *Client) SessionsCount(params *SessionsCountParams) (*SessionsCountOK, error)

SessionsCount gets sessions count

func (*Client) SetTransport

func (a *Client) SetTransport(transport runtime.ClientTransport)

SetTransport changes the transport on the client

func (*Client) TimeInApp

func (a *Client) TimeInApp(params *TimeInAppParams) (*TimeInAppOK, error)

TimeInApp times in app per user

type DailyNewOK

type DailyNewOK struct {
	Payload *models.DailyNewOKBody
}

DailyNewOK handles this case with default header values.

Report

func NewDailyNewOK

func NewDailyNewOK() *DailyNewOK

NewDailyNewOK creates a DailyNewOK with default headers values

func (*DailyNewOK) Error

func (o *DailyNewOK) Error() string

type DailyNewParams

type DailyNewParams struct {

	/*Authorization*/
	Authorization string
	/*AppID*/
	AppID string
	/*Build*/
	Build *string
	/*End*/
	End *int64
	/*OrganizationID*/
	OrganizationID string
	/*Start*/
	Start *int64

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

DailyNewParams contains all the parameters to send to the API endpoint for the daily new operation typically these are written to a http.Request

func NewDailyNewParams

func NewDailyNewParams() *DailyNewParams

NewDailyNewParams creates a new DailyNewParams object with the default values initialized.

func NewDailyNewParamsWithContext

func NewDailyNewParamsWithContext(ctx context.Context) *DailyNewParams

NewDailyNewParamsWithContext creates a new DailyNewParams object with the default values initialized, and the ability to set a context for a request

func NewDailyNewParamsWithHTTPClient

func NewDailyNewParamsWithHTTPClient(client *http.Client) *DailyNewParams

NewDailyNewParamsWithHTTPClient creates a new DailyNewParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewDailyNewParamsWithTimeout

func NewDailyNewParamsWithTimeout(timeout time.Duration) *DailyNewParams

NewDailyNewParamsWithTimeout creates a new DailyNewParams object with the default values initialized, and the ability to set a timeout on a request

func (*DailyNewParams) SetAppID

func (o *DailyNewParams) SetAppID(appID string)

SetAppID adds the appId to the daily new params

func (*DailyNewParams) SetAuthorization

func (o *DailyNewParams) SetAuthorization(authorization string)

SetAuthorization adds the authorization to the daily new params

func (*DailyNewParams) SetBuild

func (o *DailyNewParams) SetBuild(build *string)

SetBuild adds the build to the daily new params

func (*DailyNewParams) SetContext

func (o *DailyNewParams) SetContext(ctx context.Context)

SetContext adds the context to the daily new params

func (*DailyNewParams) SetEnd

func (o *DailyNewParams) SetEnd(end *int64)

SetEnd adds the end to the daily new params

func (*DailyNewParams) SetHTTPClient

func (o *DailyNewParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the daily new params

func (*DailyNewParams) SetOrganizationID

func (o *DailyNewParams) SetOrganizationID(organizationID string)

SetOrganizationID adds the organizationId to the daily new params

func (*DailyNewParams) SetStart

func (o *DailyNewParams) SetStart(start *int64)

SetStart adds the start to the daily new params

func (*DailyNewParams) SetTimeout

func (o *DailyNewParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the daily new params

func (*DailyNewParams) WithAppID

func (o *DailyNewParams) WithAppID(appID string) *DailyNewParams

WithAppID adds the appID to the daily new params

func (*DailyNewParams) WithAuthorization

func (o *DailyNewParams) WithAuthorization(authorization string) *DailyNewParams

WithAuthorization adds the authorization to the daily new params

func (*DailyNewParams) WithBuild

func (o *DailyNewParams) WithBuild(build *string) *DailyNewParams

WithBuild adds the build to the daily new params

func (*DailyNewParams) WithContext

func (o *DailyNewParams) WithContext(ctx context.Context) *DailyNewParams

WithContext adds the context to the daily new params

func (*DailyNewParams) WithEnd

func (o *DailyNewParams) WithEnd(end *int64) *DailyNewParams

WithEnd adds the end to the daily new params

func (*DailyNewParams) WithHTTPClient

func (o *DailyNewParams) WithHTTPClient(client *http.Client) *DailyNewParams

WithHTTPClient adds the HTTPClient to the daily new params

func (*DailyNewParams) WithOrganizationID

func (o *DailyNewParams) WithOrganizationID(organizationID string) *DailyNewParams

WithOrganizationID adds the organizationID to the daily new params

func (*DailyNewParams) WithStart

func (o *DailyNewParams) WithStart(start *int64) *DailyNewParams

WithStart adds the start to the daily new params

func (*DailyNewParams) WithTimeout

func (o *DailyNewParams) WithTimeout(timeout time.Duration) *DailyNewParams

WithTimeout adds the timeout to the daily new params

func (*DailyNewParams) WriteToRequest

func (o *DailyNewParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error

WriteToRequest writes these params to a swagger request

type DailyNewReader

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

DailyNewReader is a Reader for the DailyNew structure.

func (*DailyNewReader) ReadResponse

func (o *DailyNewReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type OAuthOK

type OAuthOK struct {
	Payload *models.OAuthOKBody
}

OAuthOK handles this case with default header values.

OAuth token and refresh token

func NewOAuthOK

func NewOAuthOK() *OAuthOK

NewOAuthOK creates a OAuthOK with default headers values

func (*OAuthOK) Error

func (o *OAuthOK) Error() string

type OAuthParams

type OAuthParams struct {

	/*Body*/
	Body *models.OAuthParamsBody

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

OAuthParams contains all the parameters to send to the API endpoint for the o auth operation typically these are written to a http.Request

func NewOAuthParams

func NewOAuthParams() *OAuthParams

NewOAuthParams creates a new OAuthParams object with the default values initialized.

func NewOAuthParamsWithContext

func NewOAuthParamsWithContext(ctx context.Context) *OAuthParams

NewOAuthParamsWithContext creates a new OAuthParams object with the default values initialized, and the ability to set a context for a request

func NewOAuthParamsWithHTTPClient

func NewOAuthParamsWithHTTPClient(client *http.Client) *OAuthParams

NewOAuthParamsWithHTTPClient creates a new OAuthParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewOAuthParamsWithTimeout

func NewOAuthParamsWithTimeout(timeout time.Duration) *OAuthParams

NewOAuthParamsWithTimeout creates a new OAuthParams object with the default values initialized, and the ability to set a timeout on a request

func (*OAuthParams) SetBody

func (o *OAuthParams) SetBody(body *models.OAuthParamsBody)

SetBody adds the body to the o auth params

func (*OAuthParams) SetContext

func (o *OAuthParams) SetContext(ctx context.Context)

SetContext adds the context to the o auth params

func (*OAuthParams) SetHTTPClient

func (o *OAuthParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the o auth params

func (*OAuthParams) SetTimeout

func (o *OAuthParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the o auth params

func (*OAuthParams) WithBody

func (o *OAuthParams) WithBody(body *models.OAuthParamsBody) *OAuthParams

WithBody adds the body to the o auth params

func (*OAuthParams) WithContext

func (o *OAuthParams) WithContext(ctx context.Context) *OAuthParams

WithContext adds the context to the o auth params

func (*OAuthParams) WithHTTPClient

func (o *OAuthParams) WithHTTPClient(client *http.Client) *OAuthParams

WithHTTPClient adds the HTTPClient to the o auth params

func (*OAuthParams) WithTimeout

func (o *OAuthParams) WithTimeout(timeout time.Duration) *OAuthParams

WithTimeout adds the timeout to the o auth params

func (*OAuthParams) WriteToRequest

func (o *OAuthParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error

WriteToRequest writes these params to a swagger request

type OAuthReader

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

OAuthReader is a Reader for the OAuth structure.

func (*OAuthReader) ReadResponse

func (o *OAuthReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type OAuthUnauthorized

type OAuthUnauthorized struct {
	Payload *models.OAuthUnauthorizedBody
}

OAuthUnauthorized handles this case with default header values.

Unauthorized

func NewOAuthUnauthorized

func NewOAuthUnauthorized() *OAuthUnauthorized

NewOAuthUnauthorized creates a OAuthUnauthorized with default headers values

func (*OAuthUnauthorized) Error

func (o *OAuthUnauthorized) Error() string

type OrganizationsOK

type OrganizationsOK struct {
	Payload models.OrganizationsOKBody
}

OrganizationsOK handles this case with default header values.

all organizations details

func NewOrganizationsOK

func NewOrganizationsOK() *OrganizationsOK

NewOrganizationsOK creates a OrganizationsOK with default headers values

func (*OrganizationsOK) Error

func (o *OrganizationsOK) Error() string

type OrganizationsParams

type OrganizationsParams struct {

	/*Authorization*/
	Authorization string

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

OrganizationsParams contains all the parameters to send to the API endpoint for the organizations operation typically these are written to a http.Request

func NewOrganizationsParams

func NewOrganizationsParams() *OrganizationsParams

NewOrganizationsParams creates a new OrganizationsParams object with the default values initialized.

func NewOrganizationsParamsWithContext

func NewOrganizationsParamsWithContext(ctx context.Context) *OrganizationsParams

NewOrganizationsParamsWithContext creates a new OrganizationsParams object with the default values initialized, and the ability to set a context for a request

func NewOrganizationsParamsWithHTTPClient

func NewOrganizationsParamsWithHTTPClient(client *http.Client) *OrganizationsParams

NewOrganizationsParamsWithHTTPClient creates a new OrganizationsParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewOrganizationsParamsWithTimeout

func NewOrganizationsParamsWithTimeout(timeout time.Duration) *OrganizationsParams

NewOrganizationsParamsWithTimeout creates a new OrganizationsParams object with the default values initialized, and the ability to set a timeout on a request

func (*OrganizationsParams) SetAuthorization

func (o *OrganizationsParams) SetAuthorization(authorization string)

SetAuthorization adds the authorization to the organizations params

func (*OrganizationsParams) SetContext

func (o *OrganizationsParams) SetContext(ctx context.Context)

SetContext adds the context to the organizations params

func (*OrganizationsParams) SetHTTPClient

func (o *OrganizationsParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the organizations params

func (*OrganizationsParams) SetTimeout

func (o *OrganizationsParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the organizations params

func (*OrganizationsParams) WithAuthorization

func (o *OrganizationsParams) WithAuthorization(authorization string) *OrganizationsParams

WithAuthorization adds the authorization to the organizations params

func (*OrganizationsParams) WithContext

WithContext adds the context to the organizations params

func (*OrganizationsParams) WithHTTPClient

func (o *OrganizationsParams) WithHTTPClient(client *http.Client) *OrganizationsParams

WithHTTPClient adds the HTTPClient to the organizations params

func (*OrganizationsParams) WithTimeout

func (o *OrganizationsParams) WithTimeout(timeout time.Duration) *OrganizationsParams

WithTimeout adds the timeout to the organizations params

func (*OrganizationsParams) WriteToRequest

func (o *OrganizationsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error

WriteToRequest writes these params to a swagger request

type OrganizationsReader

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

OrganizationsReader is a Reader for the Organizations structure.

func (*OrganizationsReader) ReadResponse

func (o *OrganizationsReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type SessionsCountOK

type SessionsCountOK struct {
	Payload *models.SessionsCountOKBody
}

SessionsCountOK handles this case with default header values.

Report

func NewSessionsCountOK

func NewSessionsCountOK() *SessionsCountOK

NewSessionsCountOK creates a SessionsCountOK with default headers values

func (*SessionsCountOK) Error

func (o *SessionsCountOK) Error() string

type SessionsCountParams

type SessionsCountParams struct {

	/*Authorization*/
	Authorization string
	/*AppID*/
	AppID string
	/*Build*/
	Build *string
	/*End*/
	End *int64
	/*OrganizationID*/
	OrganizationID string
	/*Start*/
	Start *int64

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

SessionsCountParams contains all the parameters to send to the API endpoint for the sessions count operation typically these are written to a http.Request

func NewSessionsCountParams

func NewSessionsCountParams() *SessionsCountParams

NewSessionsCountParams creates a new SessionsCountParams object with the default values initialized.

func NewSessionsCountParamsWithContext

func NewSessionsCountParamsWithContext(ctx context.Context) *SessionsCountParams

NewSessionsCountParamsWithContext creates a new SessionsCountParams object with the default values initialized, and the ability to set a context for a request

func NewSessionsCountParamsWithHTTPClient

func NewSessionsCountParamsWithHTTPClient(client *http.Client) *SessionsCountParams

NewSessionsCountParamsWithHTTPClient creates a new SessionsCountParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewSessionsCountParamsWithTimeout

func NewSessionsCountParamsWithTimeout(timeout time.Duration) *SessionsCountParams

NewSessionsCountParamsWithTimeout creates a new SessionsCountParams object with the default values initialized, and the ability to set a timeout on a request

func (*SessionsCountParams) SetAppID

func (o *SessionsCountParams) SetAppID(appID string)

SetAppID adds the appId to the sessions count params

func (*SessionsCountParams) SetAuthorization

func (o *SessionsCountParams) SetAuthorization(authorization string)

SetAuthorization adds the authorization to the sessions count params

func (*SessionsCountParams) SetBuild

func (o *SessionsCountParams) SetBuild(build *string)

SetBuild adds the build to the sessions count params

func (*SessionsCountParams) SetContext

func (o *SessionsCountParams) SetContext(ctx context.Context)

SetContext adds the context to the sessions count params

func (*SessionsCountParams) SetEnd

func (o *SessionsCountParams) SetEnd(end *int64)

SetEnd adds the end to the sessions count params

func (*SessionsCountParams) SetHTTPClient

func (o *SessionsCountParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the sessions count params

func (*SessionsCountParams) SetOrganizationID

func (o *SessionsCountParams) SetOrganizationID(organizationID string)

SetOrganizationID adds the organizationId to the sessions count params

func (*SessionsCountParams) SetStart

func (o *SessionsCountParams) SetStart(start *int64)

SetStart adds the start to the sessions count params

func (*SessionsCountParams) SetTimeout

func (o *SessionsCountParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the sessions count params

func (*SessionsCountParams) WithAppID

func (o *SessionsCountParams) WithAppID(appID string) *SessionsCountParams

WithAppID adds the appID to the sessions count params

func (*SessionsCountParams) WithAuthorization

func (o *SessionsCountParams) WithAuthorization(authorization string) *SessionsCountParams

WithAuthorization adds the authorization to the sessions count params

func (*SessionsCountParams) WithBuild

func (o *SessionsCountParams) WithBuild(build *string) *SessionsCountParams

WithBuild adds the build to the sessions count params

func (*SessionsCountParams) WithContext

WithContext adds the context to the sessions count params

func (*SessionsCountParams) WithEnd

func (o *SessionsCountParams) WithEnd(end *int64) *SessionsCountParams

WithEnd adds the end to the sessions count params

func (*SessionsCountParams) WithHTTPClient

func (o *SessionsCountParams) WithHTTPClient(client *http.Client) *SessionsCountParams

WithHTTPClient adds the HTTPClient to the sessions count params

func (*SessionsCountParams) WithOrganizationID

func (o *SessionsCountParams) WithOrganizationID(organizationID string) *SessionsCountParams

WithOrganizationID adds the organizationID to the sessions count params

func (*SessionsCountParams) WithStart

func (o *SessionsCountParams) WithStart(start *int64) *SessionsCountParams

WithStart adds the start to the sessions count params

func (*SessionsCountParams) WithTimeout

func (o *SessionsCountParams) WithTimeout(timeout time.Duration) *SessionsCountParams

WithTimeout adds the timeout to the sessions count params

func (*SessionsCountParams) WriteToRequest

func (o *SessionsCountParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error

WriteToRequest writes these params to a swagger request

type SessionsCountReader

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

SessionsCountReader is a Reader for the SessionsCount structure.

func (*SessionsCountReader) ReadResponse

func (o *SessionsCountReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type TimeInAppOK

type TimeInAppOK struct {
	Payload *models.TimeInAppOKBody
}

TimeInAppOK handles this case with default header values.

Report

func NewTimeInAppOK

func NewTimeInAppOK() *TimeInAppOK

NewTimeInAppOK creates a TimeInAppOK with default headers values

func (*TimeInAppOK) Error

func (o *TimeInAppOK) Error() string

type TimeInAppParams

type TimeInAppParams struct {

	/*Authorization*/
	Authorization string
	/*AppID*/
	AppID string
	/*Build*/
	Build *string
	/*End*/
	End *int64
	/*OrganizationID*/
	OrganizationID string
	/*Start*/
	Start *int64

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

TimeInAppParams contains all the parameters to send to the API endpoint for the time in app operation typically these are written to a http.Request

func NewTimeInAppParams

func NewTimeInAppParams() *TimeInAppParams

NewTimeInAppParams creates a new TimeInAppParams object with the default values initialized.

func NewTimeInAppParamsWithContext

func NewTimeInAppParamsWithContext(ctx context.Context) *TimeInAppParams

NewTimeInAppParamsWithContext creates a new TimeInAppParams object with the default values initialized, and the ability to set a context for a request

func NewTimeInAppParamsWithHTTPClient

func NewTimeInAppParamsWithHTTPClient(client *http.Client) *TimeInAppParams

NewTimeInAppParamsWithHTTPClient creates a new TimeInAppParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewTimeInAppParamsWithTimeout

func NewTimeInAppParamsWithTimeout(timeout time.Duration) *TimeInAppParams

NewTimeInAppParamsWithTimeout creates a new TimeInAppParams object with the default values initialized, and the ability to set a timeout on a request

func (*TimeInAppParams) SetAppID

func (o *TimeInAppParams) SetAppID(appID string)

SetAppID adds the appId to the time in app params

func (*TimeInAppParams) SetAuthorization

func (o *TimeInAppParams) SetAuthorization(authorization string)

SetAuthorization adds the authorization to the time in app params

func (*TimeInAppParams) SetBuild

func (o *TimeInAppParams) SetBuild(build *string)

SetBuild adds the build to the time in app params

func (*TimeInAppParams) SetContext

func (o *TimeInAppParams) SetContext(ctx context.Context)

SetContext adds the context to the time in app params

func (*TimeInAppParams) SetEnd

func (o *TimeInAppParams) SetEnd(end *int64)

SetEnd adds the end to the time in app params

func (*TimeInAppParams) SetHTTPClient

func (o *TimeInAppParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the time in app params

func (*TimeInAppParams) SetOrganizationID

func (o *TimeInAppParams) SetOrganizationID(organizationID string)

SetOrganizationID adds the organizationId to the time in app params

func (*TimeInAppParams) SetStart

func (o *TimeInAppParams) SetStart(start *int64)

SetStart adds the start to the time in app params

func (*TimeInAppParams) SetTimeout

func (o *TimeInAppParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the time in app params

func (*TimeInAppParams) WithAppID

func (o *TimeInAppParams) WithAppID(appID string) *TimeInAppParams

WithAppID adds the appID to the time in app params

func (*TimeInAppParams) WithAuthorization

func (o *TimeInAppParams) WithAuthorization(authorization string) *TimeInAppParams

WithAuthorization adds the authorization to the time in app params

func (*TimeInAppParams) WithBuild

func (o *TimeInAppParams) WithBuild(build *string) *TimeInAppParams

WithBuild adds the build to the time in app params

func (*TimeInAppParams) WithContext

func (o *TimeInAppParams) WithContext(ctx context.Context) *TimeInAppParams

WithContext adds the context to the time in app params

func (*TimeInAppParams) WithEnd

func (o *TimeInAppParams) WithEnd(end *int64) *TimeInAppParams

WithEnd adds the end to the time in app params

func (*TimeInAppParams) WithHTTPClient

func (o *TimeInAppParams) WithHTTPClient(client *http.Client) *TimeInAppParams

WithHTTPClient adds the HTTPClient to the time in app params

func (*TimeInAppParams) WithOrganizationID

func (o *TimeInAppParams) WithOrganizationID(organizationID string) *TimeInAppParams

WithOrganizationID adds the organizationID to the time in app params

func (*TimeInAppParams) WithStart

func (o *TimeInAppParams) WithStart(start *int64) *TimeInAppParams

WithStart adds the start to the time in app params

func (*TimeInAppParams) WithTimeout

func (o *TimeInAppParams) WithTimeout(timeout time.Duration) *TimeInAppParams

WithTimeout adds the timeout to the time in app params

func (*TimeInAppParams) WriteToRequest

func (o *TimeInAppParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error

WriteToRequest writes these params to a swagger request

type TimeInAppReader

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

TimeInAppReader is a Reader for the TimeInApp structure.

func (*TimeInAppReader) ReadResponse

func (o *TimeInAppReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

Jump to

Keyboard shortcuts

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