users

package
v4.0.0 Latest Latest
Warning

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

Go to latest
Published: Jul 24, 2025 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Client

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

Client for users API

func (*Client) GetContactsForUser

func (a *Client) GetContactsForUser(params *GetContactsForUserParams, authInfo runtime.ClientAuthInfoWriter) (*GetContactsForUserOK, error)

GetContactsForUser Returns the contact users for a student user

func (*Client) GetDistrictForUser

func (a *Client) GetDistrictForUser(params *GetDistrictForUserParams, authInfo runtime.ClientAuthInfoWriter) (*GetDistrictForUserOK, error)

GetDistrictForUser Returns the district for a user

func (*Client) GetResourcesForUser

func (a *Client) GetResourcesForUser(params *GetResourcesForUserParams, authInfo runtime.ClientAuthInfoWriter) (*GetResourcesForUserOK, error)

GetResourcesForUser Returns the resources for a user

func (*Client) GetSchoolsForUser

func (a *Client) GetSchoolsForUser(params *GetSchoolsForUserParams, authInfo runtime.ClientAuthInfoWriter) (*GetSchoolsForUserOK, error)

GetSchoolsForUser Returns the schools for a user

func (*Client) GetSectionsForUser

func (a *Client) GetSectionsForUser(params *GetSectionsForUserParams, authInfo runtime.ClientAuthInfoWriter) (*GetSectionsForUserOK, error)

GetSectionsForUser Returns the sections for a user

func (*Client) GetStudentsForUser

func (a *Client) GetStudentsForUser(params *GetStudentsForUserParams, authInfo runtime.ClientAuthInfoWriter) (*GetStudentsForUserOK, error)

GetStudentsForUser Returns the student users for a teacher or contact user

func (*Client) GetTeachersForUser

func (a *Client) GetTeachersForUser(params *GetTeachersForUserParams, authInfo runtime.ClientAuthInfoWriter) (*GetTeachersForUserOK, error)

GetTeachersForUser Returns the teacher users for a student user

func (*Client) GetUser

func (a *Client) GetUser(params *GetUserParams, authInfo runtime.ClientAuthInfoWriter) (*GetUserOK, error)

GetUser Returns a specific user

func (*Client) GetUsers

func (a *Client) GetUsers(params *GetUsersParams, authInfo runtime.ClientAuthInfoWriter) (*GetUsersOK, error)

GetUsers Returns a list of contact, district admin, staff, student, and/or teacher users

func (*Client) SetTransport

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

SetTransport changes the transport on the client

type ClientService

type ClientService interface {
	GetContactsForUser(params *GetContactsForUserParams, authInfo runtime.ClientAuthInfoWriter) (*GetContactsForUserOK, error)

	GetDistrictForUser(params *GetDistrictForUserParams, authInfo runtime.ClientAuthInfoWriter) (*GetDistrictForUserOK, error)

	GetResourcesForUser(params *GetResourcesForUserParams, authInfo runtime.ClientAuthInfoWriter) (*GetResourcesForUserOK, error)

	GetSchoolsForUser(params *GetSchoolsForUserParams, authInfo runtime.ClientAuthInfoWriter) (*GetSchoolsForUserOK, error)

	GetSectionsForUser(params *GetSectionsForUserParams, authInfo runtime.ClientAuthInfoWriter) (*GetSectionsForUserOK, error)

	GetStudentsForUser(params *GetStudentsForUserParams, authInfo runtime.ClientAuthInfoWriter) (*GetStudentsForUserOK, error)

	GetTeachersForUser(params *GetTeachersForUserParams, authInfo runtime.ClientAuthInfoWriter) (*GetTeachersForUserOK, error)

	GetUser(params *GetUserParams, authInfo runtime.ClientAuthInfoWriter) (*GetUserOK, error)

	GetUsers(params *GetUsersParams, authInfo runtime.ClientAuthInfoWriter) (*GetUsersOK, error)

	SetTransport(transport runtime.ClientTransport)
}

ClientService is the interface for Client methods

func New

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

New creates a new users API client.

type GetContactsForUserNotFound

type GetContactsForUserNotFound struct {
	Payload *models.NotFound
}
GetContactsForUserNotFound describes a response with status code 404, with default header values.

Entity Not Found

func NewGetContactsForUserNotFound

func NewGetContactsForUserNotFound() *GetContactsForUserNotFound

NewGetContactsForUserNotFound creates a GetContactsForUserNotFound with default headers values

func (*GetContactsForUserNotFound) Error

func (*GetContactsForUserNotFound) GetPayload

func (o *GetContactsForUserNotFound) GetPayload() *models.NotFound

type GetContactsForUserOK

type GetContactsForUserOK struct {
	Payload *models.UsersResponse
}
GetContactsForUserOK describes a response with status code 200, with default header values.

OK Response

func NewGetContactsForUserOK

func NewGetContactsForUserOK() *GetContactsForUserOK

NewGetContactsForUserOK creates a GetContactsForUserOK with default headers values

func (*GetContactsForUserOK) Error

func (o *GetContactsForUserOK) Error() string

func (*GetContactsForUserOK) GetPayload

func (o *GetContactsForUserOK) GetPayload() *models.UsersResponse

type GetContactsForUserParams

type GetContactsForUserParams struct {

	// EndingBefore.
	EndingBefore *string

	// ID.
	ID string

	// Limit.
	Limit *int64

	// StartingAfter.
	StartingAfter *string

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

GetContactsForUserParams contains all the parameters to send to the API endpoint

for the get contacts for user operation.

Typically these are written to a http.Request.

func NewGetContactsForUserParams

func NewGetContactsForUserParams() *GetContactsForUserParams

NewGetContactsForUserParams creates a new GetContactsForUserParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewGetContactsForUserParamsWithContext

func NewGetContactsForUserParamsWithContext(ctx context.Context) *GetContactsForUserParams

NewGetContactsForUserParamsWithContext creates a new GetContactsForUserParams object with the ability to set a context for a request.

func NewGetContactsForUserParamsWithHTTPClient

func NewGetContactsForUserParamsWithHTTPClient(client *http.Client) *GetContactsForUserParams

NewGetContactsForUserParamsWithHTTPClient creates a new GetContactsForUserParams object with the ability to set a custom HTTPClient for a request.

func NewGetContactsForUserParamsWithTimeout

func NewGetContactsForUserParamsWithTimeout(timeout time.Duration) *GetContactsForUserParams

NewGetContactsForUserParamsWithTimeout creates a new GetContactsForUserParams object with the ability to set a timeout on a request.

func (*GetContactsForUserParams) SetContext

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

SetContext adds the context to the get contacts for user params

func (*GetContactsForUserParams) SetDefaults

func (o *GetContactsForUserParams) SetDefaults()

SetDefaults hydrates default values in the get contacts for user params (not the query body).

All values with no default are reset to their zero value.

func (*GetContactsForUserParams) SetEndingBefore

func (o *GetContactsForUserParams) SetEndingBefore(endingBefore *string)

SetEndingBefore adds the endingBefore to the get contacts for user params

func (*GetContactsForUserParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get contacts for user params

func (*GetContactsForUserParams) SetID

func (o *GetContactsForUserParams) SetID(id string)

SetID adds the id to the get contacts for user params

func (*GetContactsForUserParams) SetLimit

func (o *GetContactsForUserParams) SetLimit(limit *int64)

SetLimit adds the limit to the get contacts for user params

func (*GetContactsForUserParams) SetStartingAfter

func (o *GetContactsForUserParams) SetStartingAfter(startingAfter *string)

SetStartingAfter adds the startingAfter to the get contacts for user params

func (*GetContactsForUserParams) SetTimeout

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

SetTimeout adds the timeout to the get contacts for user params

func (*GetContactsForUserParams) WithContext

WithContext adds the context to the get contacts for user params

func (*GetContactsForUserParams) WithDefaults

WithDefaults hydrates default values in the get contacts for user params (not the query body).

All values with no default are reset to their zero value.

func (*GetContactsForUserParams) WithEndingBefore

func (o *GetContactsForUserParams) WithEndingBefore(endingBefore *string) *GetContactsForUserParams

WithEndingBefore adds the endingBefore to the get contacts for user params

func (*GetContactsForUserParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the get contacts for user params

func (*GetContactsForUserParams) WithID

WithID adds the id to the get contacts for user params

func (*GetContactsForUserParams) WithLimit

WithLimit adds the limit to the get contacts for user params

func (*GetContactsForUserParams) WithStartingAfter

func (o *GetContactsForUserParams) WithStartingAfter(startingAfter *string) *GetContactsForUserParams

WithStartingAfter adds the startingAfter to the get contacts for user params

func (*GetContactsForUserParams) WithTimeout

WithTimeout adds the timeout to the get contacts for user params

func (*GetContactsForUserParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetContactsForUserReader

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

GetContactsForUserReader is a Reader for the GetContactsForUser structure.

func (*GetContactsForUserReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetDistrictForUserNotFound

type GetDistrictForUserNotFound struct {
	Payload *models.NotFound
}
GetDistrictForUserNotFound describes a response with status code 404, with default header values.

Entity Not Found

func NewGetDistrictForUserNotFound

func NewGetDistrictForUserNotFound() *GetDistrictForUserNotFound

NewGetDistrictForUserNotFound creates a GetDistrictForUserNotFound with default headers values

func (*GetDistrictForUserNotFound) Error

func (*GetDistrictForUserNotFound) GetPayload

func (o *GetDistrictForUserNotFound) GetPayload() *models.NotFound

type GetDistrictForUserOK

type GetDistrictForUserOK struct {
	Payload *models.DistrictResponse
}
GetDistrictForUserOK describes a response with status code 200, with default header values.

OK Response

func NewGetDistrictForUserOK

func NewGetDistrictForUserOK() *GetDistrictForUserOK

NewGetDistrictForUserOK creates a GetDistrictForUserOK with default headers values

func (*GetDistrictForUserOK) Error

func (o *GetDistrictForUserOK) Error() string

func (*GetDistrictForUserOK) GetPayload

func (o *GetDistrictForUserOK) GetPayload() *models.DistrictResponse

type GetDistrictForUserParams

type GetDistrictForUserParams struct {

	// ID.
	ID string

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

GetDistrictForUserParams contains all the parameters to send to the API endpoint

for the get district for user operation.

Typically these are written to a http.Request.

func NewGetDistrictForUserParams

func NewGetDistrictForUserParams() *GetDistrictForUserParams

NewGetDistrictForUserParams creates a new GetDistrictForUserParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewGetDistrictForUserParamsWithContext

func NewGetDistrictForUserParamsWithContext(ctx context.Context) *GetDistrictForUserParams

NewGetDistrictForUserParamsWithContext creates a new GetDistrictForUserParams object with the ability to set a context for a request.

func NewGetDistrictForUserParamsWithHTTPClient

func NewGetDistrictForUserParamsWithHTTPClient(client *http.Client) *GetDistrictForUserParams

NewGetDistrictForUserParamsWithHTTPClient creates a new GetDistrictForUserParams object with the ability to set a custom HTTPClient for a request.

func NewGetDistrictForUserParamsWithTimeout

func NewGetDistrictForUserParamsWithTimeout(timeout time.Duration) *GetDistrictForUserParams

NewGetDistrictForUserParamsWithTimeout creates a new GetDistrictForUserParams object with the ability to set a timeout on a request.

func (*GetDistrictForUserParams) SetContext

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

SetContext adds the context to the get district for user params

func (*GetDistrictForUserParams) SetDefaults

func (o *GetDistrictForUserParams) SetDefaults()

SetDefaults hydrates default values in the get district for user params (not the query body).

All values with no default are reset to their zero value.

func (*GetDistrictForUserParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get district for user params

func (*GetDistrictForUserParams) SetID

func (o *GetDistrictForUserParams) SetID(id string)

SetID adds the id to the get district for user params

func (*GetDistrictForUserParams) SetTimeout

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

SetTimeout adds the timeout to the get district for user params

func (*GetDistrictForUserParams) WithContext

WithContext adds the context to the get district for user params

func (*GetDistrictForUserParams) WithDefaults

WithDefaults hydrates default values in the get district for user params (not the query body).

All values with no default are reset to their zero value.

func (*GetDistrictForUserParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the get district for user params

func (*GetDistrictForUserParams) WithID

WithID adds the id to the get district for user params

func (*GetDistrictForUserParams) WithTimeout

WithTimeout adds the timeout to the get district for user params

func (*GetDistrictForUserParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetDistrictForUserReader

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

GetDistrictForUserReader is a Reader for the GetDistrictForUser structure.

func (*GetDistrictForUserReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetResourcesForUserNotFound

type GetResourcesForUserNotFound struct {
	Payload *models.NotFound
}
GetResourcesForUserNotFound describes a response with status code 404, with default header values.

Entity Not Found

func NewGetResourcesForUserNotFound

func NewGetResourcesForUserNotFound() *GetResourcesForUserNotFound

NewGetResourcesForUserNotFound creates a GetResourcesForUserNotFound with default headers values

func (*GetResourcesForUserNotFound) Error

func (*GetResourcesForUserNotFound) GetPayload

func (o *GetResourcesForUserNotFound) GetPayload() *models.NotFound

type GetResourcesForUserOK

type GetResourcesForUserOK struct {
	Payload *models.ResourcesResponse
}
GetResourcesForUserOK describes a response with status code 200, with default header values.

OK Response

func NewGetResourcesForUserOK

func NewGetResourcesForUserOK() *GetResourcesForUserOK

NewGetResourcesForUserOK creates a GetResourcesForUserOK with default headers values

func (*GetResourcesForUserOK) Error

func (o *GetResourcesForUserOK) Error() string

func (*GetResourcesForUserOK) GetPayload

type GetResourcesForUserParams

type GetResourcesForUserParams struct {

	// EndingBefore.
	EndingBefore *string

	// ID.
	ID string

	// Limit.
	Limit *int64

	// StartingAfter.
	StartingAfter *string

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

GetResourcesForUserParams contains all the parameters to send to the API endpoint

for the get resources for user operation.

Typically these are written to a http.Request.

func NewGetResourcesForUserParams

func NewGetResourcesForUserParams() *GetResourcesForUserParams

NewGetResourcesForUserParams creates a new GetResourcesForUserParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewGetResourcesForUserParamsWithContext

func NewGetResourcesForUserParamsWithContext(ctx context.Context) *GetResourcesForUserParams

NewGetResourcesForUserParamsWithContext creates a new GetResourcesForUserParams object with the ability to set a context for a request.

func NewGetResourcesForUserParamsWithHTTPClient

func NewGetResourcesForUserParamsWithHTTPClient(client *http.Client) *GetResourcesForUserParams

NewGetResourcesForUserParamsWithHTTPClient creates a new GetResourcesForUserParams object with the ability to set a custom HTTPClient for a request.

func NewGetResourcesForUserParamsWithTimeout

func NewGetResourcesForUserParamsWithTimeout(timeout time.Duration) *GetResourcesForUserParams

NewGetResourcesForUserParamsWithTimeout creates a new GetResourcesForUserParams object with the ability to set a timeout on a request.

func (*GetResourcesForUserParams) SetContext

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

SetContext adds the context to the get resources for user params

func (*GetResourcesForUserParams) SetDefaults

func (o *GetResourcesForUserParams) SetDefaults()

SetDefaults hydrates default values in the get resources for user params (not the query body).

All values with no default are reset to their zero value.

func (*GetResourcesForUserParams) SetEndingBefore

func (o *GetResourcesForUserParams) SetEndingBefore(endingBefore *string)

SetEndingBefore adds the endingBefore to the get resources for user params

func (*GetResourcesForUserParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get resources for user params

func (*GetResourcesForUserParams) SetID

func (o *GetResourcesForUserParams) SetID(id string)

SetID adds the id to the get resources for user params

func (*GetResourcesForUserParams) SetLimit

func (o *GetResourcesForUserParams) SetLimit(limit *int64)

SetLimit adds the limit to the get resources for user params

func (*GetResourcesForUserParams) SetStartingAfter

func (o *GetResourcesForUserParams) SetStartingAfter(startingAfter *string)

SetStartingAfter adds the startingAfter to the get resources for user params

func (*GetResourcesForUserParams) SetTimeout

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

SetTimeout adds the timeout to the get resources for user params

func (*GetResourcesForUserParams) WithContext

WithContext adds the context to the get resources for user params

func (*GetResourcesForUserParams) WithDefaults

WithDefaults hydrates default values in the get resources for user params (not the query body).

All values with no default are reset to their zero value.

func (*GetResourcesForUserParams) WithEndingBefore

func (o *GetResourcesForUserParams) WithEndingBefore(endingBefore *string) *GetResourcesForUserParams

WithEndingBefore adds the endingBefore to the get resources for user params

func (*GetResourcesForUserParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the get resources for user params

func (*GetResourcesForUserParams) WithID

WithID adds the id to the get resources for user params

func (*GetResourcesForUserParams) WithLimit

WithLimit adds the limit to the get resources for user params

func (*GetResourcesForUserParams) WithStartingAfter

func (o *GetResourcesForUserParams) WithStartingAfter(startingAfter *string) *GetResourcesForUserParams

WithStartingAfter adds the startingAfter to the get resources for user params

func (*GetResourcesForUserParams) WithTimeout

WithTimeout adds the timeout to the get resources for user params

func (*GetResourcesForUserParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetResourcesForUserReader

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

GetResourcesForUserReader is a Reader for the GetResourcesForUser structure.

func (*GetResourcesForUserReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetSchoolsForUserNotFound

type GetSchoolsForUserNotFound struct {
	Payload *models.NotFound
}
GetSchoolsForUserNotFound describes a response with status code 404, with default header values.

Entity Not Found

func NewGetSchoolsForUserNotFound

func NewGetSchoolsForUserNotFound() *GetSchoolsForUserNotFound

NewGetSchoolsForUserNotFound creates a GetSchoolsForUserNotFound with default headers values

func (*GetSchoolsForUserNotFound) Error

func (o *GetSchoolsForUserNotFound) Error() string

func (*GetSchoolsForUserNotFound) GetPayload

func (o *GetSchoolsForUserNotFound) GetPayload() *models.NotFound

type GetSchoolsForUserOK

type GetSchoolsForUserOK struct {
	Payload *models.SchoolsResponse
}
GetSchoolsForUserOK describes a response with status code 200, with default header values.

OK Response

func NewGetSchoolsForUserOK

func NewGetSchoolsForUserOK() *GetSchoolsForUserOK

NewGetSchoolsForUserOK creates a GetSchoolsForUserOK with default headers values

func (*GetSchoolsForUserOK) Error

func (o *GetSchoolsForUserOK) Error() string

func (*GetSchoolsForUserOK) GetPayload

func (o *GetSchoolsForUserOK) GetPayload() *models.SchoolsResponse

type GetSchoolsForUserParams

type GetSchoolsForUserParams struct {

	// EndingBefore.
	EndingBefore *string

	// ID.
	ID string

	// Limit.
	Limit *int64

	// Primary.
	Primary *string

	// StartingAfter.
	StartingAfter *string

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

GetSchoolsForUserParams contains all the parameters to send to the API endpoint

for the get schools for user operation.

Typically these are written to a http.Request.

func NewGetSchoolsForUserParams

func NewGetSchoolsForUserParams() *GetSchoolsForUserParams

NewGetSchoolsForUserParams creates a new GetSchoolsForUserParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewGetSchoolsForUserParamsWithContext

func NewGetSchoolsForUserParamsWithContext(ctx context.Context) *GetSchoolsForUserParams

NewGetSchoolsForUserParamsWithContext creates a new GetSchoolsForUserParams object with the ability to set a context for a request.

func NewGetSchoolsForUserParamsWithHTTPClient

func NewGetSchoolsForUserParamsWithHTTPClient(client *http.Client) *GetSchoolsForUserParams

NewGetSchoolsForUserParamsWithHTTPClient creates a new GetSchoolsForUserParams object with the ability to set a custom HTTPClient for a request.

func NewGetSchoolsForUserParamsWithTimeout

func NewGetSchoolsForUserParamsWithTimeout(timeout time.Duration) *GetSchoolsForUserParams

NewGetSchoolsForUserParamsWithTimeout creates a new GetSchoolsForUserParams object with the ability to set a timeout on a request.

func (*GetSchoolsForUserParams) SetContext

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

SetContext adds the context to the get schools for user params

func (*GetSchoolsForUserParams) SetDefaults

func (o *GetSchoolsForUserParams) SetDefaults()

SetDefaults hydrates default values in the get schools for user params (not the query body).

All values with no default are reset to their zero value.

func (*GetSchoolsForUserParams) SetEndingBefore

func (o *GetSchoolsForUserParams) SetEndingBefore(endingBefore *string)

SetEndingBefore adds the endingBefore to the get schools for user params

func (*GetSchoolsForUserParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get schools for user params

func (*GetSchoolsForUserParams) SetID

func (o *GetSchoolsForUserParams) SetID(id string)

SetID adds the id to the get schools for user params

func (*GetSchoolsForUserParams) SetLimit

func (o *GetSchoolsForUserParams) SetLimit(limit *int64)

SetLimit adds the limit to the get schools for user params

func (*GetSchoolsForUserParams) SetPrimary

func (o *GetSchoolsForUserParams) SetPrimary(primary *string)

SetPrimary adds the primary to the get schools for user params

func (*GetSchoolsForUserParams) SetStartingAfter

func (o *GetSchoolsForUserParams) SetStartingAfter(startingAfter *string)

SetStartingAfter adds the startingAfter to the get schools for user params

func (*GetSchoolsForUserParams) SetTimeout

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

SetTimeout adds the timeout to the get schools for user params

func (*GetSchoolsForUserParams) WithContext

WithContext adds the context to the get schools for user params

func (*GetSchoolsForUserParams) WithDefaults

WithDefaults hydrates default values in the get schools for user params (not the query body).

All values with no default are reset to their zero value.

func (*GetSchoolsForUserParams) WithEndingBefore

func (o *GetSchoolsForUserParams) WithEndingBefore(endingBefore *string) *GetSchoolsForUserParams

WithEndingBefore adds the endingBefore to the get schools for user params

func (*GetSchoolsForUserParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the get schools for user params

func (*GetSchoolsForUserParams) WithID

WithID adds the id to the get schools for user params

func (*GetSchoolsForUserParams) WithLimit

WithLimit adds the limit to the get schools for user params

func (*GetSchoolsForUserParams) WithPrimary

func (o *GetSchoolsForUserParams) WithPrimary(primary *string) *GetSchoolsForUserParams

WithPrimary adds the primary to the get schools for user params

func (*GetSchoolsForUserParams) WithStartingAfter

func (o *GetSchoolsForUserParams) WithStartingAfter(startingAfter *string) *GetSchoolsForUserParams

WithStartingAfter adds the startingAfter to the get schools for user params

func (*GetSchoolsForUserParams) WithTimeout

WithTimeout adds the timeout to the get schools for user params

func (*GetSchoolsForUserParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetSchoolsForUserReader

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

GetSchoolsForUserReader is a Reader for the GetSchoolsForUser structure.

func (*GetSchoolsForUserReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetSectionsForUserNotFound

type GetSectionsForUserNotFound struct {
	Payload *models.NotFound
}
GetSectionsForUserNotFound describes a response with status code 404, with default header values.

Entity Not Found

func NewGetSectionsForUserNotFound

func NewGetSectionsForUserNotFound() *GetSectionsForUserNotFound

NewGetSectionsForUserNotFound creates a GetSectionsForUserNotFound with default headers values

func (*GetSectionsForUserNotFound) Error

func (*GetSectionsForUserNotFound) GetPayload

func (o *GetSectionsForUserNotFound) GetPayload() *models.NotFound

type GetSectionsForUserOK

type GetSectionsForUserOK struct {
	Payload *models.SectionsResponse
}
GetSectionsForUserOK describes a response with status code 200, with default header values.

OK Response

func NewGetSectionsForUserOK

func NewGetSectionsForUserOK() *GetSectionsForUserOK

NewGetSectionsForUserOK creates a GetSectionsForUserOK with default headers values

func (*GetSectionsForUserOK) Error

func (o *GetSectionsForUserOK) Error() string

func (*GetSectionsForUserOK) GetPayload

func (o *GetSectionsForUserOK) GetPayload() *models.SectionsResponse

type GetSectionsForUserParams

type GetSectionsForUserParams struct {

	// EndingBefore.
	EndingBefore *string

	// ID.
	ID string

	// Limit.
	Limit *int64

	// StartingAfter.
	StartingAfter *string

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

GetSectionsForUserParams contains all the parameters to send to the API endpoint

for the get sections for user operation.

Typically these are written to a http.Request.

func NewGetSectionsForUserParams

func NewGetSectionsForUserParams() *GetSectionsForUserParams

NewGetSectionsForUserParams creates a new GetSectionsForUserParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewGetSectionsForUserParamsWithContext

func NewGetSectionsForUserParamsWithContext(ctx context.Context) *GetSectionsForUserParams

NewGetSectionsForUserParamsWithContext creates a new GetSectionsForUserParams object with the ability to set a context for a request.

func NewGetSectionsForUserParamsWithHTTPClient

func NewGetSectionsForUserParamsWithHTTPClient(client *http.Client) *GetSectionsForUserParams

NewGetSectionsForUserParamsWithHTTPClient creates a new GetSectionsForUserParams object with the ability to set a custom HTTPClient for a request.

func NewGetSectionsForUserParamsWithTimeout

func NewGetSectionsForUserParamsWithTimeout(timeout time.Duration) *GetSectionsForUserParams

NewGetSectionsForUserParamsWithTimeout creates a new GetSectionsForUserParams object with the ability to set a timeout on a request.

func (*GetSectionsForUserParams) SetContext

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

SetContext adds the context to the get sections for user params

func (*GetSectionsForUserParams) SetDefaults

func (o *GetSectionsForUserParams) SetDefaults()

SetDefaults hydrates default values in the get sections for user params (not the query body).

All values with no default are reset to their zero value.

func (*GetSectionsForUserParams) SetEndingBefore

func (o *GetSectionsForUserParams) SetEndingBefore(endingBefore *string)

SetEndingBefore adds the endingBefore to the get sections for user params

func (*GetSectionsForUserParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get sections for user params

func (*GetSectionsForUserParams) SetID

func (o *GetSectionsForUserParams) SetID(id string)

SetID adds the id to the get sections for user params

func (*GetSectionsForUserParams) SetLimit

func (o *GetSectionsForUserParams) SetLimit(limit *int64)

SetLimit adds the limit to the get sections for user params

func (*GetSectionsForUserParams) SetStartingAfter

func (o *GetSectionsForUserParams) SetStartingAfter(startingAfter *string)

SetStartingAfter adds the startingAfter to the get sections for user params

func (*GetSectionsForUserParams) SetTimeout

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

SetTimeout adds the timeout to the get sections for user params

func (*GetSectionsForUserParams) WithContext

WithContext adds the context to the get sections for user params

func (*GetSectionsForUserParams) WithDefaults

WithDefaults hydrates default values in the get sections for user params (not the query body).

All values with no default are reset to their zero value.

func (*GetSectionsForUserParams) WithEndingBefore

func (o *GetSectionsForUserParams) WithEndingBefore(endingBefore *string) *GetSectionsForUserParams

WithEndingBefore adds the endingBefore to the get sections for user params

func (*GetSectionsForUserParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the get sections for user params

func (*GetSectionsForUserParams) WithID

WithID adds the id to the get sections for user params

func (*GetSectionsForUserParams) WithLimit

WithLimit adds the limit to the get sections for user params

func (*GetSectionsForUserParams) WithStartingAfter

func (o *GetSectionsForUserParams) WithStartingAfter(startingAfter *string) *GetSectionsForUserParams

WithStartingAfter adds the startingAfter to the get sections for user params

func (*GetSectionsForUserParams) WithTimeout

WithTimeout adds the timeout to the get sections for user params

func (*GetSectionsForUserParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetSectionsForUserReader

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

GetSectionsForUserReader is a Reader for the GetSectionsForUser structure.

func (*GetSectionsForUserReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetStudentsForUserNotFound

type GetStudentsForUserNotFound struct {
	Payload *models.NotFound
}
GetStudentsForUserNotFound describes a response with status code 404, with default header values.

Entity Not Found

func NewGetStudentsForUserNotFound

func NewGetStudentsForUserNotFound() *GetStudentsForUserNotFound

NewGetStudentsForUserNotFound creates a GetStudentsForUserNotFound with default headers values

func (*GetStudentsForUserNotFound) Error

func (*GetStudentsForUserNotFound) GetPayload

func (o *GetStudentsForUserNotFound) GetPayload() *models.NotFound

type GetStudentsForUserOK

type GetStudentsForUserOK struct {
	Payload *models.UsersResponse
}
GetStudentsForUserOK describes a response with status code 200, with default header values.

OK Response

func NewGetStudentsForUserOK

func NewGetStudentsForUserOK() *GetStudentsForUserOK

NewGetStudentsForUserOK creates a GetStudentsForUserOK with default headers values

func (*GetStudentsForUserOK) Error

func (o *GetStudentsForUserOK) Error() string

func (*GetStudentsForUserOK) GetPayload

func (o *GetStudentsForUserOK) GetPayload() *models.UsersResponse

type GetStudentsForUserParams

type GetStudentsForUserParams struct {

	// EndingBefore.
	EndingBefore *string

	// ID.
	ID string

	// Limit.
	Limit *int64

	// StartingAfter.
	StartingAfter *string

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

GetStudentsForUserParams contains all the parameters to send to the API endpoint

for the get students for user operation.

Typically these are written to a http.Request.

func NewGetStudentsForUserParams

func NewGetStudentsForUserParams() *GetStudentsForUserParams

NewGetStudentsForUserParams creates a new GetStudentsForUserParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewGetStudentsForUserParamsWithContext

func NewGetStudentsForUserParamsWithContext(ctx context.Context) *GetStudentsForUserParams

NewGetStudentsForUserParamsWithContext creates a new GetStudentsForUserParams object with the ability to set a context for a request.

func NewGetStudentsForUserParamsWithHTTPClient

func NewGetStudentsForUserParamsWithHTTPClient(client *http.Client) *GetStudentsForUserParams

NewGetStudentsForUserParamsWithHTTPClient creates a new GetStudentsForUserParams object with the ability to set a custom HTTPClient for a request.

func NewGetStudentsForUserParamsWithTimeout

func NewGetStudentsForUserParamsWithTimeout(timeout time.Duration) *GetStudentsForUserParams

NewGetStudentsForUserParamsWithTimeout creates a new GetStudentsForUserParams object with the ability to set a timeout on a request.

func (*GetStudentsForUserParams) SetContext

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

SetContext adds the context to the get students for user params

func (*GetStudentsForUserParams) SetDefaults

func (o *GetStudentsForUserParams) SetDefaults()

SetDefaults hydrates default values in the get students for user params (not the query body).

All values with no default are reset to their zero value.

func (*GetStudentsForUserParams) SetEndingBefore

func (o *GetStudentsForUserParams) SetEndingBefore(endingBefore *string)

SetEndingBefore adds the endingBefore to the get students for user params

func (*GetStudentsForUserParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get students for user params

func (*GetStudentsForUserParams) SetID

func (o *GetStudentsForUserParams) SetID(id string)

SetID adds the id to the get students for user params

func (*GetStudentsForUserParams) SetLimit

func (o *GetStudentsForUserParams) SetLimit(limit *int64)

SetLimit adds the limit to the get students for user params

func (*GetStudentsForUserParams) SetStartingAfter

func (o *GetStudentsForUserParams) SetStartingAfter(startingAfter *string)

SetStartingAfter adds the startingAfter to the get students for user params

func (*GetStudentsForUserParams) SetTimeout

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

SetTimeout adds the timeout to the get students for user params

func (*GetStudentsForUserParams) WithContext

WithContext adds the context to the get students for user params

func (*GetStudentsForUserParams) WithDefaults

WithDefaults hydrates default values in the get students for user params (not the query body).

All values with no default are reset to their zero value.

func (*GetStudentsForUserParams) WithEndingBefore

func (o *GetStudentsForUserParams) WithEndingBefore(endingBefore *string) *GetStudentsForUserParams

WithEndingBefore adds the endingBefore to the get students for user params

func (*GetStudentsForUserParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the get students for user params

func (*GetStudentsForUserParams) WithID

WithID adds the id to the get students for user params

func (*GetStudentsForUserParams) WithLimit

WithLimit adds the limit to the get students for user params

func (*GetStudentsForUserParams) WithStartingAfter

func (o *GetStudentsForUserParams) WithStartingAfter(startingAfter *string) *GetStudentsForUserParams

WithStartingAfter adds the startingAfter to the get students for user params

func (*GetStudentsForUserParams) WithTimeout

WithTimeout adds the timeout to the get students for user params

func (*GetStudentsForUserParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetStudentsForUserReader

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

GetStudentsForUserReader is a Reader for the GetStudentsForUser structure.

func (*GetStudentsForUserReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetTeachersForUserNotFound

type GetTeachersForUserNotFound struct {
	Payload *models.NotFound
}
GetTeachersForUserNotFound describes a response with status code 404, with default header values.

Entity Not Found

func NewGetTeachersForUserNotFound

func NewGetTeachersForUserNotFound() *GetTeachersForUserNotFound

NewGetTeachersForUserNotFound creates a GetTeachersForUserNotFound with default headers values

func (*GetTeachersForUserNotFound) Error

func (*GetTeachersForUserNotFound) GetPayload

func (o *GetTeachersForUserNotFound) GetPayload() *models.NotFound

type GetTeachersForUserOK

type GetTeachersForUserOK struct {
	Payload *models.UsersResponse
}
GetTeachersForUserOK describes a response with status code 200, with default header values.

OK Response

func NewGetTeachersForUserOK

func NewGetTeachersForUserOK() *GetTeachersForUserOK

NewGetTeachersForUserOK creates a GetTeachersForUserOK with default headers values

func (*GetTeachersForUserOK) Error

func (o *GetTeachersForUserOK) Error() string

func (*GetTeachersForUserOK) GetPayload

func (o *GetTeachersForUserOK) GetPayload() *models.UsersResponse

type GetTeachersForUserParams

type GetTeachersForUserParams struct {

	// EndingBefore.
	EndingBefore *string

	// ID.
	ID string

	// Limit.
	Limit *int64

	// StartingAfter.
	StartingAfter *string

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

GetTeachersForUserParams contains all the parameters to send to the API endpoint

for the get teachers for user operation.

Typically these are written to a http.Request.

func NewGetTeachersForUserParams

func NewGetTeachersForUserParams() *GetTeachersForUserParams

NewGetTeachersForUserParams creates a new GetTeachersForUserParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewGetTeachersForUserParamsWithContext

func NewGetTeachersForUserParamsWithContext(ctx context.Context) *GetTeachersForUserParams

NewGetTeachersForUserParamsWithContext creates a new GetTeachersForUserParams object with the ability to set a context for a request.

func NewGetTeachersForUserParamsWithHTTPClient

func NewGetTeachersForUserParamsWithHTTPClient(client *http.Client) *GetTeachersForUserParams

NewGetTeachersForUserParamsWithHTTPClient creates a new GetTeachersForUserParams object with the ability to set a custom HTTPClient for a request.

func NewGetTeachersForUserParamsWithTimeout

func NewGetTeachersForUserParamsWithTimeout(timeout time.Duration) *GetTeachersForUserParams

NewGetTeachersForUserParamsWithTimeout creates a new GetTeachersForUserParams object with the ability to set a timeout on a request.

func (*GetTeachersForUserParams) SetContext

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

SetContext adds the context to the get teachers for user params

func (*GetTeachersForUserParams) SetDefaults

func (o *GetTeachersForUserParams) SetDefaults()

SetDefaults hydrates default values in the get teachers for user params (not the query body).

All values with no default are reset to their zero value.

func (*GetTeachersForUserParams) SetEndingBefore

func (o *GetTeachersForUserParams) SetEndingBefore(endingBefore *string)

SetEndingBefore adds the endingBefore to the get teachers for user params

func (*GetTeachersForUserParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get teachers for user params

func (*GetTeachersForUserParams) SetID

func (o *GetTeachersForUserParams) SetID(id string)

SetID adds the id to the get teachers for user params

func (*GetTeachersForUserParams) SetLimit

func (o *GetTeachersForUserParams) SetLimit(limit *int64)

SetLimit adds the limit to the get teachers for user params

func (*GetTeachersForUserParams) SetStartingAfter

func (o *GetTeachersForUserParams) SetStartingAfter(startingAfter *string)

SetStartingAfter adds the startingAfter to the get teachers for user params

func (*GetTeachersForUserParams) SetTimeout

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

SetTimeout adds the timeout to the get teachers for user params

func (*GetTeachersForUserParams) WithContext

WithContext adds the context to the get teachers for user params

func (*GetTeachersForUserParams) WithDefaults

WithDefaults hydrates default values in the get teachers for user params (not the query body).

All values with no default are reset to their zero value.

func (*GetTeachersForUserParams) WithEndingBefore

func (o *GetTeachersForUserParams) WithEndingBefore(endingBefore *string) *GetTeachersForUserParams

WithEndingBefore adds the endingBefore to the get teachers for user params

func (*GetTeachersForUserParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the get teachers for user params

func (*GetTeachersForUserParams) WithID

WithID adds the id to the get teachers for user params

func (*GetTeachersForUserParams) WithLimit

WithLimit adds the limit to the get teachers for user params

func (*GetTeachersForUserParams) WithStartingAfter

func (o *GetTeachersForUserParams) WithStartingAfter(startingAfter *string) *GetTeachersForUserParams

WithStartingAfter adds the startingAfter to the get teachers for user params

func (*GetTeachersForUserParams) WithTimeout

WithTimeout adds the timeout to the get teachers for user params

func (*GetTeachersForUserParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetTeachersForUserReader

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

GetTeachersForUserReader is a Reader for the GetTeachersForUser structure.

func (*GetTeachersForUserReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetUserNotFound

type GetUserNotFound struct {
	Payload *models.NotFound
}
GetUserNotFound describes a response with status code 404, with default header values.

Entity Not Found

func NewGetUserNotFound

func NewGetUserNotFound() *GetUserNotFound

NewGetUserNotFound creates a GetUserNotFound with default headers values

func (*GetUserNotFound) Error

func (o *GetUserNotFound) Error() string

func (*GetUserNotFound) GetPayload

func (o *GetUserNotFound) GetPayload() *models.NotFound

type GetUserOK

type GetUserOK struct {
	Payload *models.UserResponse
}
GetUserOK describes a response with status code 200, with default header values.

OK Response

func NewGetUserOK

func NewGetUserOK() *GetUserOK

NewGetUserOK creates a GetUserOK with default headers values

func (*GetUserOK) Error

func (o *GetUserOK) Error() string

func (*GetUserOK) GetPayload

func (o *GetUserOK) GetPayload() *models.UserResponse

type GetUserParams

type GetUserParams struct {

	// ID.
	ID string

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

GetUserParams contains all the parameters to send to the API endpoint

for the get user operation.

Typically these are written to a http.Request.

func NewGetUserParams

func NewGetUserParams() *GetUserParams

NewGetUserParams creates a new GetUserParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewGetUserParamsWithContext

func NewGetUserParamsWithContext(ctx context.Context) *GetUserParams

NewGetUserParamsWithContext creates a new GetUserParams object with the ability to set a context for a request.

func NewGetUserParamsWithHTTPClient

func NewGetUserParamsWithHTTPClient(client *http.Client) *GetUserParams

NewGetUserParamsWithHTTPClient creates a new GetUserParams object with the ability to set a custom HTTPClient for a request.

func NewGetUserParamsWithTimeout

func NewGetUserParamsWithTimeout(timeout time.Duration) *GetUserParams

NewGetUserParamsWithTimeout creates a new GetUserParams object with the ability to set a timeout on a request.

func (*GetUserParams) SetContext

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

SetContext adds the context to the get user params

func (*GetUserParams) SetDefaults

func (o *GetUserParams) SetDefaults()

SetDefaults hydrates default values in the get user params (not the query body).

All values with no default are reset to their zero value.

func (*GetUserParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get user params

func (*GetUserParams) SetID

func (o *GetUserParams) SetID(id string)

SetID adds the id to the get user params

func (*GetUserParams) SetTimeout

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

SetTimeout adds the timeout to the get user params

func (*GetUserParams) WithContext

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

WithContext adds the context to the get user params

func (*GetUserParams) WithDefaults

func (o *GetUserParams) WithDefaults() *GetUserParams

WithDefaults hydrates default values in the get user params (not the query body).

All values with no default are reset to their zero value.

func (*GetUserParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the get user params

func (*GetUserParams) WithID

func (o *GetUserParams) WithID(id string) *GetUserParams

WithID adds the id to the get user params

func (*GetUserParams) WithTimeout

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

WithTimeout adds the timeout to the get user params

func (*GetUserParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type GetUserReader

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

GetUserReader is a Reader for the GetUser structure.

func (*GetUserReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetUsersOK

type GetUsersOK struct {
	Payload *models.UsersResponse
}
GetUsersOK describes a response with status code 200, with default header values.

OK Response

func NewGetUsersOK

func NewGetUsersOK() *GetUsersOK

NewGetUsersOK creates a GetUsersOK with default headers values

func (*GetUsersOK) Error

func (o *GetUsersOK) Error() string

func (*GetUsersOK) GetPayload

func (o *GetUsersOK) GetPayload() *models.UsersResponse

type GetUsersParams

type GetUsersParams struct {

	// Count.
	Count *string

	// EndingBefore.
	EndingBefore *string

	// Limit.
	Limit *int64

	// Role.
	Role *string

	// StartingAfter.
	StartingAfter *string

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

GetUsersParams contains all the parameters to send to the API endpoint

for the get users operation.

Typically these are written to a http.Request.

func NewGetUsersParams

func NewGetUsersParams() *GetUsersParams

NewGetUsersParams creates a new GetUsersParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewGetUsersParamsWithContext

func NewGetUsersParamsWithContext(ctx context.Context) *GetUsersParams

NewGetUsersParamsWithContext creates a new GetUsersParams object with the ability to set a context for a request.

func NewGetUsersParamsWithHTTPClient

func NewGetUsersParamsWithHTTPClient(client *http.Client) *GetUsersParams

NewGetUsersParamsWithHTTPClient creates a new GetUsersParams object with the ability to set a custom HTTPClient for a request.

func NewGetUsersParamsWithTimeout

func NewGetUsersParamsWithTimeout(timeout time.Duration) *GetUsersParams

NewGetUsersParamsWithTimeout creates a new GetUsersParams object with the ability to set a timeout on a request.

func (*GetUsersParams) SetContext

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

SetContext adds the context to the get users params

func (*GetUsersParams) SetCount

func (o *GetUsersParams) SetCount(count *string)

SetCount adds the count to the get users params

func (*GetUsersParams) SetDefaults

func (o *GetUsersParams) SetDefaults()

SetDefaults hydrates default values in the get users params (not the query body).

All values with no default are reset to their zero value.

func (*GetUsersParams) SetEndingBefore

func (o *GetUsersParams) SetEndingBefore(endingBefore *string)

SetEndingBefore adds the endingBefore to the get users params

func (*GetUsersParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get users params

func (*GetUsersParams) SetLimit

func (o *GetUsersParams) SetLimit(limit *int64)

SetLimit adds the limit to the get users params

func (*GetUsersParams) SetRole

func (o *GetUsersParams) SetRole(role *string)

SetRole adds the role to the get users params

func (*GetUsersParams) SetStartingAfter

func (o *GetUsersParams) SetStartingAfter(startingAfter *string)

SetStartingAfter adds the startingAfter to the get users params

func (*GetUsersParams) SetTimeout

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

SetTimeout adds the timeout to the get users params

func (*GetUsersParams) WithContext

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

WithContext adds the context to the get users params

func (*GetUsersParams) WithCount

func (o *GetUsersParams) WithCount(count *string) *GetUsersParams

WithCount adds the count to the get users params

func (*GetUsersParams) WithDefaults

func (o *GetUsersParams) WithDefaults() *GetUsersParams

WithDefaults hydrates default values in the get users params (not the query body).

All values with no default are reset to their zero value.

func (*GetUsersParams) WithEndingBefore

func (o *GetUsersParams) WithEndingBefore(endingBefore *string) *GetUsersParams

WithEndingBefore adds the endingBefore to the get users params

func (*GetUsersParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the get users params

func (*GetUsersParams) WithLimit

func (o *GetUsersParams) WithLimit(limit *int64) *GetUsersParams

WithLimit adds the limit to the get users params

func (*GetUsersParams) WithRole

func (o *GetUsersParams) WithRole(role *string) *GetUsersParams

WithRole adds the role to the get users params

func (*GetUsersParams) WithStartingAfter

func (o *GetUsersParams) WithStartingAfter(startingAfter *string) *GetUsersParams

WithStartingAfter adds the startingAfter to the get users params

func (*GetUsersParams) WithTimeout

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

WithTimeout adds the timeout to the get users params

func (*GetUsersParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type GetUsersReader

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

GetUsersReader is a Reader for the GetUsers structure.

func (*GetUsersReader) ReadResponse

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