Documentation
¶
Index ¶
- type Client
- func (a *Client) GetContactsForUser(params *GetContactsForUserParams, authInfo runtime.ClientAuthInfoWriter) (*GetContactsForUserOK, error)
- func (a *Client) GetDistrictForUser(params *GetDistrictForUserParams, authInfo runtime.ClientAuthInfoWriter) (*GetDistrictForUserOK, error)
- func (a *Client) GetResourcesForUser(params *GetResourcesForUserParams, authInfo runtime.ClientAuthInfoWriter) (*GetResourcesForUserOK, error)
- func (a *Client) GetSchoolsForUser(params *GetSchoolsForUserParams, authInfo runtime.ClientAuthInfoWriter) (*GetSchoolsForUserOK, error)
- func (a *Client) GetSectionsForUser(params *GetSectionsForUserParams, authInfo runtime.ClientAuthInfoWriter) (*GetSectionsForUserOK, error)
- func (a *Client) GetStudentsForUser(params *GetStudentsForUserParams, authInfo runtime.ClientAuthInfoWriter) (*GetStudentsForUserOK, error)
- func (a *Client) GetTeachersForUser(params *GetTeachersForUserParams, authInfo runtime.ClientAuthInfoWriter) (*GetTeachersForUserOK, error)
- func (a *Client) GetUser(params *GetUserParams, authInfo runtime.ClientAuthInfoWriter) (*GetUserOK, error)
- func (a *Client) GetUsers(params *GetUsersParams, authInfo runtime.ClientAuthInfoWriter) (*GetUsersOK, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- type ClientService
- type GetContactsForUserNotFound
- type GetContactsForUserOK
- type GetContactsForUserParams
- func NewGetContactsForUserParams() *GetContactsForUserParams
- func NewGetContactsForUserParamsWithContext(ctx context.Context) *GetContactsForUserParams
- func NewGetContactsForUserParamsWithHTTPClient(client *http.Client) *GetContactsForUserParams
- func NewGetContactsForUserParamsWithTimeout(timeout time.Duration) *GetContactsForUserParams
- func (o *GetContactsForUserParams) SetContext(ctx context.Context)
- func (o *GetContactsForUserParams) SetDefaults()
- func (o *GetContactsForUserParams) SetEndingBefore(endingBefore *string)
- func (o *GetContactsForUserParams) SetHTTPClient(client *http.Client)
- func (o *GetContactsForUserParams) SetID(id string)
- func (o *GetContactsForUserParams) SetLimit(limit *int64)
- func (o *GetContactsForUserParams) SetStartingAfter(startingAfter *string)
- func (o *GetContactsForUserParams) SetTimeout(timeout time.Duration)
- func (o *GetContactsForUserParams) WithContext(ctx context.Context) *GetContactsForUserParams
- func (o *GetContactsForUserParams) WithDefaults() *GetContactsForUserParams
- func (o *GetContactsForUserParams) WithEndingBefore(endingBefore *string) *GetContactsForUserParams
- func (o *GetContactsForUserParams) WithHTTPClient(client *http.Client) *GetContactsForUserParams
- func (o *GetContactsForUserParams) WithID(id string) *GetContactsForUserParams
- func (o *GetContactsForUserParams) WithLimit(limit *int64) *GetContactsForUserParams
- func (o *GetContactsForUserParams) WithStartingAfter(startingAfter *string) *GetContactsForUserParams
- func (o *GetContactsForUserParams) WithTimeout(timeout time.Duration) *GetContactsForUserParams
- func (o *GetContactsForUserParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetContactsForUserReader
- type GetDistrictForUserNotFound
- type GetDistrictForUserOK
- type GetDistrictForUserParams
- func NewGetDistrictForUserParams() *GetDistrictForUserParams
- func NewGetDistrictForUserParamsWithContext(ctx context.Context) *GetDistrictForUserParams
- func NewGetDistrictForUserParamsWithHTTPClient(client *http.Client) *GetDistrictForUserParams
- func NewGetDistrictForUserParamsWithTimeout(timeout time.Duration) *GetDistrictForUserParams
- func (o *GetDistrictForUserParams) SetContext(ctx context.Context)
- func (o *GetDistrictForUserParams) SetDefaults()
- func (o *GetDistrictForUserParams) SetHTTPClient(client *http.Client)
- func (o *GetDistrictForUserParams) SetID(id string)
- func (o *GetDistrictForUserParams) SetTimeout(timeout time.Duration)
- func (o *GetDistrictForUserParams) WithContext(ctx context.Context) *GetDistrictForUserParams
- func (o *GetDistrictForUserParams) WithDefaults() *GetDistrictForUserParams
- func (o *GetDistrictForUserParams) WithHTTPClient(client *http.Client) *GetDistrictForUserParams
- func (o *GetDistrictForUserParams) WithID(id string) *GetDistrictForUserParams
- func (o *GetDistrictForUserParams) WithTimeout(timeout time.Duration) *GetDistrictForUserParams
- func (o *GetDistrictForUserParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetDistrictForUserReader
- type GetResourcesForUserNotFound
- type GetResourcesForUserOK
- type GetResourcesForUserParams
- func NewGetResourcesForUserParams() *GetResourcesForUserParams
- func NewGetResourcesForUserParamsWithContext(ctx context.Context) *GetResourcesForUserParams
- func NewGetResourcesForUserParamsWithHTTPClient(client *http.Client) *GetResourcesForUserParams
- func NewGetResourcesForUserParamsWithTimeout(timeout time.Duration) *GetResourcesForUserParams
- func (o *GetResourcesForUserParams) SetContext(ctx context.Context)
- func (o *GetResourcesForUserParams) SetDefaults()
- func (o *GetResourcesForUserParams) SetEndingBefore(endingBefore *string)
- func (o *GetResourcesForUserParams) SetHTTPClient(client *http.Client)
- func (o *GetResourcesForUserParams) SetID(id string)
- func (o *GetResourcesForUserParams) SetLimit(limit *int64)
- func (o *GetResourcesForUserParams) SetStartingAfter(startingAfter *string)
- func (o *GetResourcesForUserParams) SetTimeout(timeout time.Duration)
- func (o *GetResourcesForUserParams) WithContext(ctx context.Context) *GetResourcesForUserParams
- func (o *GetResourcesForUserParams) WithDefaults() *GetResourcesForUserParams
- func (o *GetResourcesForUserParams) WithEndingBefore(endingBefore *string) *GetResourcesForUserParams
- func (o *GetResourcesForUserParams) WithHTTPClient(client *http.Client) *GetResourcesForUserParams
- func (o *GetResourcesForUserParams) WithID(id string) *GetResourcesForUserParams
- func (o *GetResourcesForUserParams) WithLimit(limit *int64) *GetResourcesForUserParams
- func (o *GetResourcesForUserParams) WithStartingAfter(startingAfter *string) *GetResourcesForUserParams
- func (o *GetResourcesForUserParams) WithTimeout(timeout time.Duration) *GetResourcesForUserParams
- func (o *GetResourcesForUserParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetResourcesForUserReader
- type GetSchoolsForUserNotFound
- type GetSchoolsForUserOK
- type GetSchoolsForUserParams
- func NewGetSchoolsForUserParams() *GetSchoolsForUserParams
- func NewGetSchoolsForUserParamsWithContext(ctx context.Context) *GetSchoolsForUserParams
- func NewGetSchoolsForUserParamsWithHTTPClient(client *http.Client) *GetSchoolsForUserParams
- func NewGetSchoolsForUserParamsWithTimeout(timeout time.Duration) *GetSchoolsForUserParams
- func (o *GetSchoolsForUserParams) SetContext(ctx context.Context)
- func (o *GetSchoolsForUserParams) SetDefaults()
- func (o *GetSchoolsForUserParams) SetEndingBefore(endingBefore *string)
- func (o *GetSchoolsForUserParams) SetHTTPClient(client *http.Client)
- func (o *GetSchoolsForUserParams) SetID(id string)
- func (o *GetSchoolsForUserParams) SetLimit(limit *int64)
- func (o *GetSchoolsForUserParams) SetPrimary(primary *string)
- func (o *GetSchoolsForUserParams) SetStartingAfter(startingAfter *string)
- func (o *GetSchoolsForUserParams) SetTimeout(timeout time.Duration)
- func (o *GetSchoolsForUserParams) WithContext(ctx context.Context) *GetSchoolsForUserParams
- func (o *GetSchoolsForUserParams) WithDefaults() *GetSchoolsForUserParams
- func (o *GetSchoolsForUserParams) WithEndingBefore(endingBefore *string) *GetSchoolsForUserParams
- func (o *GetSchoolsForUserParams) WithHTTPClient(client *http.Client) *GetSchoolsForUserParams
- func (o *GetSchoolsForUserParams) WithID(id string) *GetSchoolsForUserParams
- func (o *GetSchoolsForUserParams) WithLimit(limit *int64) *GetSchoolsForUserParams
- func (o *GetSchoolsForUserParams) WithPrimary(primary *string) *GetSchoolsForUserParams
- func (o *GetSchoolsForUserParams) WithStartingAfter(startingAfter *string) *GetSchoolsForUserParams
- func (o *GetSchoolsForUserParams) WithTimeout(timeout time.Duration) *GetSchoolsForUserParams
- func (o *GetSchoolsForUserParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetSchoolsForUserReader
- type GetSectionsForUserNotFound
- type GetSectionsForUserOK
- type GetSectionsForUserParams
- func NewGetSectionsForUserParams() *GetSectionsForUserParams
- func NewGetSectionsForUserParamsWithContext(ctx context.Context) *GetSectionsForUserParams
- func NewGetSectionsForUserParamsWithHTTPClient(client *http.Client) *GetSectionsForUserParams
- func NewGetSectionsForUserParamsWithTimeout(timeout time.Duration) *GetSectionsForUserParams
- func (o *GetSectionsForUserParams) SetContext(ctx context.Context)
- func (o *GetSectionsForUserParams) SetDefaults()
- func (o *GetSectionsForUserParams) SetEndingBefore(endingBefore *string)
- func (o *GetSectionsForUserParams) SetHTTPClient(client *http.Client)
- func (o *GetSectionsForUserParams) SetID(id string)
- func (o *GetSectionsForUserParams) SetLimit(limit *int64)
- func (o *GetSectionsForUserParams) SetStartingAfter(startingAfter *string)
- func (o *GetSectionsForUserParams) SetTimeout(timeout time.Duration)
- func (o *GetSectionsForUserParams) WithContext(ctx context.Context) *GetSectionsForUserParams
- func (o *GetSectionsForUserParams) WithDefaults() *GetSectionsForUserParams
- func (o *GetSectionsForUserParams) WithEndingBefore(endingBefore *string) *GetSectionsForUserParams
- func (o *GetSectionsForUserParams) WithHTTPClient(client *http.Client) *GetSectionsForUserParams
- func (o *GetSectionsForUserParams) WithID(id string) *GetSectionsForUserParams
- func (o *GetSectionsForUserParams) WithLimit(limit *int64) *GetSectionsForUserParams
- func (o *GetSectionsForUserParams) WithStartingAfter(startingAfter *string) *GetSectionsForUserParams
- func (o *GetSectionsForUserParams) WithTimeout(timeout time.Duration) *GetSectionsForUserParams
- func (o *GetSectionsForUserParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetSectionsForUserReader
- type GetStudentsForUserNotFound
- type GetStudentsForUserOK
- type GetStudentsForUserParams
- func NewGetStudentsForUserParams() *GetStudentsForUserParams
- func NewGetStudentsForUserParamsWithContext(ctx context.Context) *GetStudentsForUserParams
- func NewGetStudentsForUserParamsWithHTTPClient(client *http.Client) *GetStudentsForUserParams
- func NewGetStudentsForUserParamsWithTimeout(timeout time.Duration) *GetStudentsForUserParams
- func (o *GetStudentsForUserParams) SetContext(ctx context.Context)
- func (o *GetStudentsForUserParams) SetDefaults()
- func (o *GetStudentsForUserParams) SetEndingBefore(endingBefore *string)
- func (o *GetStudentsForUserParams) SetHTTPClient(client *http.Client)
- func (o *GetStudentsForUserParams) SetID(id string)
- func (o *GetStudentsForUserParams) SetLimit(limit *int64)
- func (o *GetStudentsForUserParams) SetStartingAfter(startingAfter *string)
- func (o *GetStudentsForUserParams) SetTimeout(timeout time.Duration)
- func (o *GetStudentsForUserParams) WithContext(ctx context.Context) *GetStudentsForUserParams
- func (o *GetStudentsForUserParams) WithDefaults() *GetStudentsForUserParams
- func (o *GetStudentsForUserParams) WithEndingBefore(endingBefore *string) *GetStudentsForUserParams
- func (o *GetStudentsForUserParams) WithHTTPClient(client *http.Client) *GetStudentsForUserParams
- func (o *GetStudentsForUserParams) WithID(id string) *GetStudentsForUserParams
- func (o *GetStudentsForUserParams) WithLimit(limit *int64) *GetStudentsForUserParams
- func (o *GetStudentsForUserParams) WithStartingAfter(startingAfter *string) *GetStudentsForUserParams
- func (o *GetStudentsForUserParams) WithTimeout(timeout time.Duration) *GetStudentsForUserParams
- func (o *GetStudentsForUserParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetStudentsForUserReader
- type GetTeachersForUserNotFound
- type GetTeachersForUserOK
- type GetTeachersForUserParams
- func NewGetTeachersForUserParams() *GetTeachersForUserParams
- func NewGetTeachersForUserParamsWithContext(ctx context.Context) *GetTeachersForUserParams
- func NewGetTeachersForUserParamsWithHTTPClient(client *http.Client) *GetTeachersForUserParams
- func NewGetTeachersForUserParamsWithTimeout(timeout time.Duration) *GetTeachersForUserParams
- func (o *GetTeachersForUserParams) SetContext(ctx context.Context)
- func (o *GetTeachersForUserParams) SetDefaults()
- func (o *GetTeachersForUserParams) SetEndingBefore(endingBefore *string)
- func (o *GetTeachersForUserParams) SetHTTPClient(client *http.Client)
- func (o *GetTeachersForUserParams) SetID(id string)
- func (o *GetTeachersForUserParams) SetLimit(limit *int64)
- func (o *GetTeachersForUserParams) SetStartingAfter(startingAfter *string)
- func (o *GetTeachersForUserParams) SetTimeout(timeout time.Duration)
- func (o *GetTeachersForUserParams) WithContext(ctx context.Context) *GetTeachersForUserParams
- func (o *GetTeachersForUserParams) WithDefaults() *GetTeachersForUserParams
- func (o *GetTeachersForUserParams) WithEndingBefore(endingBefore *string) *GetTeachersForUserParams
- func (o *GetTeachersForUserParams) WithHTTPClient(client *http.Client) *GetTeachersForUserParams
- func (o *GetTeachersForUserParams) WithID(id string) *GetTeachersForUserParams
- func (o *GetTeachersForUserParams) WithLimit(limit *int64) *GetTeachersForUserParams
- func (o *GetTeachersForUserParams) WithStartingAfter(startingAfter *string) *GetTeachersForUserParams
- func (o *GetTeachersForUserParams) WithTimeout(timeout time.Duration) *GetTeachersForUserParams
- func (o *GetTeachersForUserParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetTeachersForUserReader
- type GetUserNotFound
- type GetUserOK
- type GetUserParams
- func (o *GetUserParams) SetContext(ctx context.Context)
- func (o *GetUserParams) SetDefaults()
- func (o *GetUserParams) SetHTTPClient(client *http.Client)
- func (o *GetUserParams) SetID(id string)
- func (o *GetUserParams) SetTimeout(timeout time.Duration)
- func (o *GetUserParams) WithContext(ctx context.Context) *GetUserParams
- func (o *GetUserParams) WithDefaults() *GetUserParams
- func (o *GetUserParams) WithHTTPClient(client *http.Client) *GetUserParams
- func (o *GetUserParams) WithID(id string) *GetUserParams
- func (o *GetUserParams) WithTimeout(timeout time.Duration) *GetUserParams
- func (o *GetUserParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetUserReader
- type GetUsersOK
- type GetUsersParams
- func (o *GetUsersParams) SetContext(ctx context.Context)
- func (o *GetUsersParams) SetCount(count *string)
- func (o *GetUsersParams) SetDefaults()
- func (o *GetUsersParams) SetEndingBefore(endingBefore *string)
- func (o *GetUsersParams) SetHTTPClient(client *http.Client)
- func (o *GetUsersParams) SetLimit(limit *int64)
- func (o *GetUsersParams) SetRole(role *string)
- func (o *GetUsersParams) SetStartingAfter(startingAfter *string)
- func (o *GetUsersParams) SetTimeout(timeout time.Duration)
- func (o *GetUsersParams) WithContext(ctx context.Context) *GetUsersParams
- func (o *GetUsersParams) WithCount(count *string) *GetUsersParams
- func (o *GetUsersParams) WithDefaults() *GetUsersParams
- func (o *GetUsersParams) WithEndingBefore(endingBefore *string) *GetUsersParams
- func (o *GetUsersParams) WithHTTPClient(client *http.Client) *GetUsersParams
- func (o *GetUsersParams) WithLimit(limit *int64) *GetUsersParams
- func (o *GetUsersParams) WithRole(role *string) *GetUsersParams
- func (o *GetUsersParams) WithStartingAfter(startingAfter *string) *GetUsersParams
- func (o *GetUsersParams) WithTimeout(timeout time.Duration) *GetUsersParams
- func (o *GetUsersParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetUsersReader
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 ¶
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 (o *GetContactsForUserNotFound) Error() string
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 ¶
func (o *GetContactsForUserParams) WithContext(ctx context.Context) *GetContactsForUserParams
WithContext adds the context to the get contacts for user params
func (*GetContactsForUserParams) WithDefaults ¶
func (o *GetContactsForUserParams) WithDefaults() *GetContactsForUserParams
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 ¶
func (o *GetContactsForUserParams) WithID(id string) *GetContactsForUserParams
WithID adds the id to the get contacts for user params
func (*GetContactsForUserParams) WithLimit ¶
func (o *GetContactsForUserParams) WithLimit(limit *int64) *GetContactsForUserParams
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 ¶
func (o *GetContactsForUserParams) WithTimeout(timeout time.Duration) *GetContactsForUserParams
WithTimeout adds the timeout to the get contacts for user params
func (*GetContactsForUserParams) WriteToRequest ¶
func (o *GetContactsForUserParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 ¶
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 (o *GetDistrictForUserNotFound) Error() string
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 ¶
func (o *GetDistrictForUserParams) WithContext(ctx context.Context) *GetDistrictForUserParams
WithContext adds the context to the get district for user params
func (*GetDistrictForUserParams) WithDefaults ¶
func (o *GetDistrictForUserParams) WithDefaults() *GetDistrictForUserParams
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 ¶
func (o *GetDistrictForUserParams) WithID(id string) *GetDistrictForUserParams
WithID adds the id to the get district for user params
func (*GetDistrictForUserParams) WithTimeout ¶
func (o *GetDistrictForUserParams) WithTimeout(timeout time.Duration) *GetDistrictForUserParams
WithTimeout adds the timeout to the get district for user params
func (*GetDistrictForUserParams) WriteToRequest ¶
func (o *GetDistrictForUserParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 ¶
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 (o *GetResourcesForUserNotFound) Error() string
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 ¶
func (o *GetResourcesForUserOK) GetPayload() *models.ResourcesResponse
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 ¶
func (o *GetResourcesForUserParams) WithContext(ctx context.Context) *GetResourcesForUserParams
WithContext adds the context to the get resources for user params
func (*GetResourcesForUserParams) WithDefaults ¶
func (o *GetResourcesForUserParams) WithDefaults() *GetResourcesForUserParams
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 ¶
func (o *GetResourcesForUserParams) WithID(id string) *GetResourcesForUserParams
WithID adds the id to the get resources for user params
func (*GetResourcesForUserParams) WithLimit ¶
func (o *GetResourcesForUserParams) WithLimit(limit *int64) *GetResourcesForUserParams
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 ¶
func (o *GetResourcesForUserParams) WithTimeout(timeout time.Duration) *GetResourcesForUserParams
WithTimeout adds the timeout to the get resources for user params
func (*GetResourcesForUserParams) WriteToRequest ¶
func (o *GetResourcesForUserParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 ¶
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 ¶
func (o *GetSchoolsForUserParams) WithContext(ctx context.Context) *GetSchoolsForUserParams
WithContext adds the context to the get schools for user params
func (*GetSchoolsForUserParams) WithDefaults ¶
func (o *GetSchoolsForUserParams) WithDefaults() *GetSchoolsForUserParams
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 ¶
func (o *GetSchoolsForUserParams) WithID(id string) *GetSchoolsForUserParams
WithID adds the id to the get schools for user params
func (*GetSchoolsForUserParams) WithLimit ¶
func (o *GetSchoolsForUserParams) WithLimit(limit *int64) *GetSchoolsForUserParams
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 ¶
func (o *GetSchoolsForUserParams) WithTimeout(timeout time.Duration) *GetSchoolsForUserParams
WithTimeout adds the timeout to the get schools for user params
func (*GetSchoolsForUserParams) WriteToRequest ¶
func (o *GetSchoolsForUserParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 ¶
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 (o *GetSectionsForUserNotFound) Error() string
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 ¶
func (o *GetSectionsForUserParams) WithContext(ctx context.Context) *GetSectionsForUserParams
WithContext adds the context to the get sections for user params
func (*GetSectionsForUserParams) WithDefaults ¶
func (o *GetSectionsForUserParams) WithDefaults() *GetSectionsForUserParams
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 ¶
func (o *GetSectionsForUserParams) WithID(id string) *GetSectionsForUserParams
WithID adds the id to the get sections for user params
func (*GetSectionsForUserParams) WithLimit ¶
func (o *GetSectionsForUserParams) WithLimit(limit *int64) *GetSectionsForUserParams
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 ¶
func (o *GetSectionsForUserParams) WithTimeout(timeout time.Duration) *GetSectionsForUserParams
WithTimeout adds the timeout to the get sections for user params
func (*GetSectionsForUserParams) WriteToRequest ¶
func (o *GetSectionsForUserParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 ¶
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 (o *GetStudentsForUserNotFound) Error() string
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 ¶
func (o *GetStudentsForUserParams) WithContext(ctx context.Context) *GetStudentsForUserParams
WithContext adds the context to the get students for user params
func (*GetStudentsForUserParams) WithDefaults ¶
func (o *GetStudentsForUserParams) WithDefaults() *GetStudentsForUserParams
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 ¶
func (o *GetStudentsForUserParams) WithID(id string) *GetStudentsForUserParams
WithID adds the id to the get students for user params
func (*GetStudentsForUserParams) WithLimit ¶
func (o *GetStudentsForUserParams) WithLimit(limit *int64) *GetStudentsForUserParams
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 ¶
func (o *GetStudentsForUserParams) WithTimeout(timeout time.Duration) *GetStudentsForUserParams
WithTimeout adds the timeout to the get students for user params
func (*GetStudentsForUserParams) WriteToRequest ¶
func (o *GetStudentsForUserParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 ¶
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 (o *GetTeachersForUserNotFound) Error() string
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 ¶
func (o *GetTeachersForUserParams) WithContext(ctx context.Context) *GetTeachersForUserParams
WithContext adds the context to the get teachers for user params
func (*GetTeachersForUserParams) WithDefaults ¶
func (o *GetTeachersForUserParams) WithDefaults() *GetTeachersForUserParams
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 ¶
func (o *GetTeachersForUserParams) WithID(id string) *GetTeachersForUserParams
WithID adds the id to the get teachers for user params
func (*GetTeachersForUserParams) WithLimit ¶
func (o *GetTeachersForUserParams) WithLimit(limit *int64) *GetTeachersForUserParams
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 ¶
func (o *GetTeachersForUserParams) WithTimeout(timeout time.Duration) *GetTeachersForUserParams
WithTimeout adds the timeout to the get teachers for user params
func (*GetTeachersForUserParams) WriteToRequest ¶
func (o *GetTeachersForUserParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 ¶
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) 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.
Source Files
¶
- get_contacts_for_user_parameters.go
- get_contacts_for_user_responses.go
- get_district_for_user_parameters.go
- get_district_for_user_responses.go
- get_resources_for_user_parameters.go
- get_resources_for_user_responses.go
- get_schools_for_user_parameters.go
- get_schools_for_user_responses.go
- get_sections_for_user_parameters.go
- get_sections_for_user_responses.go
- get_students_for_user_parameters.go
- get_students_for_user_responses.go
- get_teachers_for_user_parameters.go
- get_teachers_for_user_responses.go
- get_user_parameters.go
- get_user_responses.go
- get_users_parameters.go
- get_users_responses.go
- users_client.go