Documentation
¶
Index ¶
- type Client
- func (a *Client) GetCourseForSection(params *GetCourseForSectionParams, authInfo runtime.ClientAuthInfoWriter) (*GetCourseForSectionOK, error)
- func (a *Client) GetDistrictForSection(params *GetDistrictForSectionParams, authInfo runtime.ClientAuthInfoWriter) (*GetDistrictForSectionOK, error)
- func (a *Client) GetResourcesForSection(params *GetResourcesForSectionParams, authInfo runtime.ClientAuthInfoWriter) (*GetResourcesForSectionOK, error)
- func (a *Client) GetSchoolForSection(params *GetSchoolForSectionParams, authInfo runtime.ClientAuthInfoWriter) (*GetSchoolForSectionOK, error)
- func (a *Client) GetSection(params *GetSectionParams, authInfo runtime.ClientAuthInfoWriter) (*GetSectionOK, error)
- func (a *Client) GetSections(params *GetSectionsParams, authInfo runtime.ClientAuthInfoWriter) (*GetSectionsOK, error)
- func (a *Client) GetTermForSection(params *GetTermForSectionParams, authInfo runtime.ClientAuthInfoWriter) (*GetTermForSectionOK, error)
- func (a *Client) GetUsersForSection(params *GetUsersForSectionParams, authInfo runtime.ClientAuthInfoWriter) (*GetUsersForSectionOK, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- type ClientService
- type GetCourseForSectionNotFound
- type GetCourseForSectionOK
- type GetCourseForSectionParams
- func NewGetCourseForSectionParams() *GetCourseForSectionParams
- func NewGetCourseForSectionParamsWithContext(ctx context.Context) *GetCourseForSectionParams
- func NewGetCourseForSectionParamsWithHTTPClient(client *http.Client) *GetCourseForSectionParams
- func NewGetCourseForSectionParamsWithTimeout(timeout time.Duration) *GetCourseForSectionParams
- func (o *GetCourseForSectionParams) SetContext(ctx context.Context)
- func (o *GetCourseForSectionParams) SetDefaults()
- func (o *GetCourseForSectionParams) SetHTTPClient(client *http.Client)
- func (o *GetCourseForSectionParams) SetID(id string)
- func (o *GetCourseForSectionParams) SetTimeout(timeout time.Duration)
- func (o *GetCourseForSectionParams) WithContext(ctx context.Context) *GetCourseForSectionParams
- func (o *GetCourseForSectionParams) WithDefaults() *GetCourseForSectionParams
- func (o *GetCourseForSectionParams) WithHTTPClient(client *http.Client) *GetCourseForSectionParams
- func (o *GetCourseForSectionParams) WithID(id string) *GetCourseForSectionParams
- func (o *GetCourseForSectionParams) WithTimeout(timeout time.Duration) *GetCourseForSectionParams
- func (o *GetCourseForSectionParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetCourseForSectionReader
- type GetDistrictForSectionNotFound
- type GetDistrictForSectionOK
- type GetDistrictForSectionParams
- func NewGetDistrictForSectionParams() *GetDistrictForSectionParams
- func NewGetDistrictForSectionParamsWithContext(ctx context.Context) *GetDistrictForSectionParams
- func NewGetDistrictForSectionParamsWithHTTPClient(client *http.Client) *GetDistrictForSectionParams
- func NewGetDistrictForSectionParamsWithTimeout(timeout time.Duration) *GetDistrictForSectionParams
- func (o *GetDistrictForSectionParams) SetContext(ctx context.Context)
- func (o *GetDistrictForSectionParams) SetDefaults()
- func (o *GetDistrictForSectionParams) SetHTTPClient(client *http.Client)
- func (o *GetDistrictForSectionParams) SetID(id string)
- func (o *GetDistrictForSectionParams) SetTimeout(timeout time.Duration)
- func (o *GetDistrictForSectionParams) WithContext(ctx context.Context) *GetDistrictForSectionParams
- func (o *GetDistrictForSectionParams) WithDefaults() *GetDistrictForSectionParams
- func (o *GetDistrictForSectionParams) WithHTTPClient(client *http.Client) *GetDistrictForSectionParams
- func (o *GetDistrictForSectionParams) WithID(id string) *GetDistrictForSectionParams
- func (o *GetDistrictForSectionParams) WithTimeout(timeout time.Duration) *GetDistrictForSectionParams
- func (o *GetDistrictForSectionParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetDistrictForSectionReader
- type GetResourcesForSectionNotFound
- type GetResourcesForSectionOK
- type GetResourcesForSectionParams
- func NewGetResourcesForSectionParams() *GetResourcesForSectionParams
- func NewGetResourcesForSectionParamsWithContext(ctx context.Context) *GetResourcesForSectionParams
- func NewGetResourcesForSectionParamsWithHTTPClient(client *http.Client) *GetResourcesForSectionParams
- func NewGetResourcesForSectionParamsWithTimeout(timeout time.Duration) *GetResourcesForSectionParams
- func (o *GetResourcesForSectionParams) SetContext(ctx context.Context)
- func (o *GetResourcesForSectionParams) SetDefaults()
- func (o *GetResourcesForSectionParams) SetEndingBefore(endingBefore *string)
- func (o *GetResourcesForSectionParams) SetHTTPClient(client *http.Client)
- func (o *GetResourcesForSectionParams) SetID(id string)
- func (o *GetResourcesForSectionParams) SetLimit(limit *int64)
- func (o *GetResourcesForSectionParams) SetStartingAfter(startingAfter *string)
- func (o *GetResourcesForSectionParams) SetTimeout(timeout time.Duration)
- func (o *GetResourcesForSectionParams) WithContext(ctx context.Context) *GetResourcesForSectionParams
- func (o *GetResourcesForSectionParams) WithDefaults() *GetResourcesForSectionParams
- func (o *GetResourcesForSectionParams) WithEndingBefore(endingBefore *string) *GetResourcesForSectionParams
- func (o *GetResourcesForSectionParams) WithHTTPClient(client *http.Client) *GetResourcesForSectionParams
- func (o *GetResourcesForSectionParams) WithID(id string) *GetResourcesForSectionParams
- func (o *GetResourcesForSectionParams) WithLimit(limit *int64) *GetResourcesForSectionParams
- func (o *GetResourcesForSectionParams) WithStartingAfter(startingAfter *string) *GetResourcesForSectionParams
- func (o *GetResourcesForSectionParams) WithTimeout(timeout time.Duration) *GetResourcesForSectionParams
- func (o *GetResourcesForSectionParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetResourcesForSectionReader
- type GetSchoolForSectionNotFound
- type GetSchoolForSectionOK
- type GetSchoolForSectionParams
- func NewGetSchoolForSectionParams() *GetSchoolForSectionParams
- func NewGetSchoolForSectionParamsWithContext(ctx context.Context) *GetSchoolForSectionParams
- func NewGetSchoolForSectionParamsWithHTTPClient(client *http.Client) *GetSchoolForSectionParams
- func NewGetSchoolForSectionParamsWithTimeout(timeout time.Duration) *GetSchoolForSectionParams
- func (o *GetSchoolForSectionParams) SetContext(ctx context.Context)
- func (o *GetSchoolForSectionParams) SetDefaults()
- func (o *GetSchoolForSectionParams) SetHTTPClient(client *http.Client)
- func (o *GetSchoolForSectionParams) SetID(id string)
- func (o *GetSchoolForSectionParams) SetTimeout(timeout time.Duration)
- func (o *GetSchoolForSectionParams) WithContext(ctx context.Context) *GetSchoolForSectionParams
- func (o *GetSchoolForSectionParams) WithDefaults() *GetSchoolForSectionParams
- func (o *GetSchoolForSectionParams) WithHTTPClient(client *http.Client) *GetSchoolForSectionParams
- func (o *GetSchoolForSectionParams) WithID(id string) *GetSchoolForSectionParams
- func (o *GetSchoolForSectionParams) WithTimeout(timeout time.Duration) *GetSchoolForSectionParams
- func (o *GetSchoolForSectionParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetSchoolForSectionReader
- type GetSectionNotFound
- type GetSectionOK
- type GetSectionParams
- func (o *GetSectionParams) SetContext(ctx context.Context)
- func (o *GetSectionParams) SetDefaults()
- func (o *GetSectionParams) SetHTTPClient(client *http.Client)
- func (o *GetSectionParams) SetID(id string)
- func (o *GetSectionParams) SetTimeout(timeout time.Duration)
- func (o *GetSectionParams) WithContext(ctx context.Context) *GetSectionParams
- func (o *GetSectionParams) WithDefaults() *GetSectionParams
- func (o *GetSectionParams) WithHTTPClient(client *http.Client) *GetSectionParams
- func (o *GetSectionParams) WithID(id string) *GetSectionParams
- func (o *GetSectionParams) WithTimeout(timeout time.Duration) *GetSectionParams
- func (o *GetSectionParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetSectionReader
- type GetSectionsOK
- type GetSectionsParams
- func (o *GetSectionsParams) SetContext(ctx context.Context)
- func (o *GetSectionsParams) SetCount(count *string)
- func (o *GetSectionsParams) SetDefaults()
- func (o *GetSectionsParams) SetEndingBefore(endingBefore *string)
- func (o *GetSectionsParams) SetHTTPClient(client *http.Client)
- func (o *GetSectionsParams) SetLimit(limit *int64)
- func (o *GetSectionsParams) SetStartingAfter(startingAfter *string)
- func (o *GetSectionsParams) SetTimeout(timeout time.Duration)
- func (o *GetSectionsParams) WithContext(ctx context.Context) *GetSectionsParams
- func (o *GetSectionsParams) WithCount(count *string) *GetSectionsParams
- func (o *GetSectionsParams) WithDefaults() *GetSectionsParams
- func (o *GetSectionsParams) WithEndingBefore(endingBefore *string) *GetSectionsParams
- func (o *GetSectionsParams) WithHTTPClient(client *http.Client) *GetSectionsParams
- func (o *GetSectionsParams) WithLimit(limit *int64) *GetSectionsParams
- func (o *GetSectionsParams) WithStartingAfter(startingAfter *string) *GetSectionsParams
- func (o *GetSectionsParams) WithTimeout(timeout time.Duration) *GetSectionsParams
- func (o *GetSectionsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetSectionsReader
- type GetTermForSectionNotFound
- type GetTermForSectionOK
- type GetTermForSectionParams
- func NewGetTermForSectionParams() *GetTermForSectionParams
- func NewGetTermForSectionParamsWithContext(ctx context.Context) *GetTermForSectionParams
- func NewGetTermForSectionParamsWithHTTPClient(client *http.Client) *GetTermForSectionParams
- func NewGetTermForSectionParamsWithTimeout(timeout time.Duration) *GetTermForSectionParams
- func (o *GetTermForSectionParams) SetContext(ctx context.Context)
- func (o *GetTermForSectionParams) SetDefaults()
- func (o *GetTermForSectionParams) SetHTTPClient(client *http.Client)
- func (o *GetTermForSectionParams) SetID(id string)
- func (o *GetTermForSectionParams) SetTimeout(timeout time.Duration)
- func (o *GetTermForSectionParams) WithContext(ctx context.Context) *GetTermForSectionParams
- func (o *GetTermForSectionParams) WithDefaults() *GetTermForSectionParams
- func (o *GetTermForSectionParams) WithHTTPClient(client *http.Client) *GetTermForSectionParams
- func (o *GetTermForSectionParams) WithID(id string) *GetTermForSectionParams
- func (o *GetTermForSectionParams) WithTimeout(timeout time.Duration) *GetTermForSectionParams
- func (o *GetTermForSectionParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetTermForSectionReader
- type GetUsersForSectionNotFound
- type GetUsersForSectionOK
- type GetUsersForSectionParams
- func NewGetUsersForSectionParams() *GetUsersForSectionParams
- func NewGetUsersForSectionParamsWithContext(ctx context.Context) *GetUsersForSectionParams
- func NewGetUsersForSectionParamsWithHTTPClient(client *http.Client) *GetUsersForSectionParams
- func NewGetUsersForSectionParamsWithTimeout(timeout time.Duration) *GetUsersForSectionParams
- func (o *GetUsersForSectionParams) SetContext(ctx context.Context)
- func (o *GetUsersForSectionParams) SetDefaults()
- func (o *GetUsersForSectionParams) SetEndingBefore(endingBefore *string)
- func (o *GetUsersForSectionParams) SetHTTPClient(client *http.Client)
- func (o *GetUsersForSectionParams) SetID(id string)
- func (o *GetUsersForSectionParams) SetLimit(limit *int64)
- func (o *GetUsersForSectionParams) SetPrimary(primary *string)
- func (o *GetUsersForSectionParams) SetRole(role *string)
- func (o *GetUsersForSectionParams) SetStartingAfter(startingAfter *string)
- func (o *GetUsersForSectionParams) SetTimeout(timeout time.Duration)
- func (o *GetUsersForSectionParams) WithContext(ctx context.Context) *GetUsersForSectionParams
- func (o *GetUsersForSectionParams) WithDefaults() *GetUsersForSectionParams
- func (o *GetUsersForSectionParams) WithEndingBefore(endingBefore *string) *GetUsersForSectionParams
- func (o *GetUsersForSectionParams) WithHTTPClient(client *http.Client) *GetUsersForSectionParams
- func (o *GetUsersForSectionParams) WithID(id string) *GetUsersForSectionParams
- func (o *GetUsersForSectionParams) WithLimit(limit *int64) *GetUsersForSectionParams
- func (o *GetUsersForSectionParams) WithPrimary(primary *string) *GetUsersForSectionParams
- func (o *GetUsersForSectionParams) WithRole(role *string) *GetUsersForSectionParams
- func (o *GetUsersForSectionParams) WithStartingAfter(startingAfter *string) *GetUsersForSectionParams
- func (o *GetUsersForSectionParams) WithTimeout(timeout time.Duration) *GetUsersForSectionParams
- func (o *GetUsersForSectionParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetUsersForSectionReader
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 sections API
func (*Client) GetCourseForSection ¶
func (a *Client) GetCourseForSection(params *GetCourseForSectionParams, authInfo runtime.ClientAuthInfoWriter) (*GetCourseForSectionOK, error)
GetCourseForSection Returns the course for a section
func (*Client) GetDistrictForSection ¶
func (a *Client) GetDistrictForSection(params *GetDistrictForSectionParams, authInfo runtime.ClientAuthInfoWriter) (*GetDistrictForSectionOK, error)
GetDistrictForSection Returns the district for a section
func (*Client) GetResourcesForSection ¶
func (a *Client) GetResourcesForSection(params *GetResourcesForSectionParams, authInfo runtime.ClientAuthInfoWriter) (*GetResourcesForSectionOK, error)
GetResourcesForSection Returns the resources for a section
func (*Client) GetSchoolForSection ¶
func (a *Client) GetSchoolForSection(params *GetSchoolForSectionParams, authInfo runtime.ClientAuthInfoWriter) (*GetSchoolForSectionOK, error)
GetSchoolForSection Returns the school for a section
func (*Client) GetSection ¶
func (a *Client) GetSection(params *GetSectionParams, authInfo runtime.ClientAuthInfoWriter) (*GetSectionOK, error)
GetSection Returns a specific section
func (*Client) GetSections ¶
func (a *Client) GetSections(params *GetSectionsParams, authInfo runtime.ClientAuthInfoWriter) (*GetSectionsOK, error)
GetSections Returns a list of sections
func (*Client) GetTermForSection ¶
func (a *Client) GetTermForSection(params *GetTermForSectionParams, authInfo runtime.ClientAuthInfoWriter) (*GetTermForSectionOK, error)
GetTermForSection Returns the term for a section
func (*Client) GetUsersForSection ¶
func (a *Client) GetUsersForSection(params *GetUsersForSectionParams, authInfo runtime.ClientAuthInfoWriter) (*GetUsersForSectionOK, error)
GetUsersForSection Returns the student and/or teacher users for a section
func (*Client) SetTransport ¶
func (a *Client) SetTransport(transport runtime.ClientTransport)
SetTransport changes the transport on the client
type ClientService ¶
type ClientService interface {
GetCourseForSection(params *GetCourseForSectionParams, authInfo runtime.ClientAuthInfoWriter) (*GetCourseForSectionOK, error)
GetDistrictForSection(params *GetDistrictForSectionParams, authInfo runtime.ClientAuthInfoWriter) (*GetDistrictForSectionOK, error)
GetResourcesForSection(params *GetResourcesForSectionParams, authInfo runtime.ClientAuthInfoWriter) (*GetResourcesForSectionOK, error)
GetSchoolForSection(params *GetSchoolForSectionParams, authInfo runtime.ClientAuthInfoWriter) (*GetSchoolForSectionOK, error)
GetSection(params *GetSectionParams, authInfo runtime.ClientAuthInfoWriter) (*GetSectionOK, error)
GetSections(params *GetSectionsParams, authInfo runtime.ClientAuthInfoWriter) (*GetSectionsOK, error)
GetTermForSection(params *GetTermForSectionParams, authInfo runtime.ClientAuthInfoWriter) (*GetTermForSectionOK, error)
GetUsersForSection(params *GetUsersForSectionParams, authInfo runtime.ClientAuthInfoWriter) (*GetUsersForSectionOK, 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 sections API client.
type GetCourseForSectionNotFound ¶
GetCourseForSectionNotFound describes a response with status code 404, with default header values.
Entity Not Found
func NewGetCourseForSectionNotFound ¶
func NewGetCourseForSectionNotFound() *GetCourseForSectionNotFound
NewGetCourseForSectionNotFound creates a GetCourseForSectionNotFound with default headers values
func (*GetCourseForSectionNotFound) Error ¶
func (o *GetCourseForSectionNotFound) Error() string
func (*GetCourseForSectionNotFound) GetPayload ¶
func (o *GetCourseForSectionNotFound) GetPayload() *models.NotFound
type GetCourseForSectionOK ¶
type GetCourseForSectionOK struct {
Payload *models.CourseResponse
}
GetCourseForSectionOK describes a response with status code 200, with default header values.
OK Response
func NewGetCourseForSectionOK ¶
func NewGetCourseForSectionOK() *GetCourseForSectionOK
NewGetCourseForSectionOK creates a GetCourseForSectionOK with default headers values
func (*GetCourseForSectionOK) Error ¶
func (o *GetCourseForSectionOK) Error() string
func (*GetCourseForSectionOK) GetPayload ¶
func (o *GetCourseForSectionOK) GetPayload() *models.CourseResponse
type GetCourseForSectionParams ¶
type GetCourseForSectionParams struct {
// ID.
ID string
Context context.Context
HTTPClient *http.Client
// contains filtered or unexported fields
}
GetCourseForSectionParams contains all the parameters to send to the API endpoint
for the get course for section operation. Typically these are written to a http.Request.
func NewGetCourseForSectionParams ¶
func NewGetCourseForSectionParams() *GetCourseForSectionParams
NewGetCourseForSectionParams creates a new GetCourseForSectionParams 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 NewGetCourseForSectionParamsWithContext ¶
func NewGetCourseForSectionParamsWithContext(ctx context.Context) *GetCourseForSectionParams
NewGetCourseForSectionParamsWithContext creates a new GetCourseForSectionParams object with the ability to set a context for a request.
func NewGetCourseForSectionParamsWithHTTPClient ¶
func NewGetCourseForSectionParamsWithHTTPClient(client *http.Client) *GetCourseForSectionParams
NewGetCourseForSectionParamsWithHTTPClient creates a new GetCourseForSectionParams object with the ability to set a custom HTTPClient for a request.
func NewGetCourseForSectionParamsWithTimeout ¶
func NewGetCourseForSectionParamsWithTimeout(timeout time.Duration) *GetCourseForSectionParams
NewGetCourseForSectionParamsWithTimeout creates a new GetCourseForSectionParams object with the ability to set a timeout on a request.
func (*GetCourseForSectionParams) SetContext ¶
func (o *GetCourseForSectionParams) SetContext(ctx context.Context)
SetContext adds the context to the get course for section params
func (*GetCourseForSectionParams) SetDefaults ¶
func (o *GetCourseForSectionParams) SetDefaults()
SetDefaults hydrates default values in the get course for section params (not the query body).
All values with no default are reset to their zero value.
func (*GetCourseForSectionParams) SetHTTPClient ¶
func (o *GetCourseForSectionParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get course for section params
func (*GetCourseForSectionParams) SetID ¶
func (o *GetCourseForSectionParams) SetID(id string)
SetID adds the id to the get course for section params
func (*GetCourseForSectionParams) SetTimeout ¶
func (o *GetCourseForSectionParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get course for section params
func (*GetCourseForSectionParams) WithContext ¶
func (o *GetCourseForSectionParams) WithContext(ctx context.Context) *GetCourseForSectionParams
WithContext adds the context to the get course for section params
func (*GetCourseForSectionParams) WithDefaults ¶
func (o *GetCourseForSectionParams) WithDefaults() *GetCourseForSectionParams
WithDefaults hydrates default values in the get course for section params (not the query body).
All values with no default are reset to their zero value.
func (*GetCourseForSectionParams) WithHTTPClient ¶
func (o *GetCourseForSectionParams) WithHTTPClient(client *http.Client) *GetCourseForSectionParams
WithHTTPClient adds the HTTPClient to the get course for section params
func (*GetCourseForSectionParams) WithID ¶
func (o *GetCourseForSectionParams) WithID(id string) *GetCourseForSectionParams
WithID adds the id to the get course for section params
func (*GetCourseForSectionParams) WithTimeout ¶
func (o *GetCourseForSectionParams) WithTimeout(timeout time.Duration) *GetCourseForSectionParams
WithTimeout adds the timeout to the get course for section params
func (*GetCourseForSectionParams) WriteToRequest ¶
func (o *GetCourseForSectionParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetCourseForSectionReader ¶
type GetCourseForSectionReader struct {
// contains filtered or unexported fields
}
GetCourseForSectionReader is a Reader for the GetCourseForSection structure.
func (*GetCourseForSectionReader) ReadResponse ¶
func (o *GetCourseForSectionReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetDistrictForSectionNotFound ¶
GetDistrictForSectionNotFound describes a response with status code 404, with default header values.
Entity Not Found
func NewGetDistrictForSectionNotFound ¶
func NewGetDistrictForSectionNotFound() *GetDistrictForSectionNotFound
NewGetDistrictForSectionNotFound creates a GetDistrictForSectionNotFound with default headers values
func (*GetDistrictForSectionNotFound) Error ¶
func (o *GetDistrictForSectionNotFound) Error() string
func (*GetDistrictForSectionNotFound) GetPayload ¶
func (o *GetDistrictForSectionNotFound) GetPayload() *models.NotFound
type GetDistrictForSectionOK ¶
type GetDistrictForSectionOK struct {
Payload *models.DistrictResponse
}
GetDistrictForSectionOK describes a response with status code 200, with default header values.
OK Response
func NewGetDistrictForSectionOK ¶
func NewGetDistrictForSectionOK() *GetDistrictForSectionOK
NewGetDistrictForSectionOK creates a GetDistrictForSectionOK with default headers values
func (*GetDistrictForSectionOK) Error ¶
func (o *GetDistrictForSectionOK) Error() string
func (*GetDistrictForSectionOK) GetPayload ¶
func (o *GetDistrictForSectionOK) GetPayload() *models.DistrictResponse
type GetDistrictForSectionParams ¶
type GetDistrictForSectionParams struct {
// ID.
ID string
Context context.Context
HTTPClient *http.Client
// contains filtered or unexported fields
}
GetDistrictForSectionParams contains all the parameters to send to the API endpoint
for the get district for section operation. Typically these are written to a http.Request.
func NewGetDistrictForSectionParams ¶
func NewGetDistrictForSectionParams() *GetDistrictForSectionParams
NewGetDistrictForSectionParams creates a new GetDistrictForSectionParams 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 NewGetDistrictForSectionParamsWithContext ¶
func NewGetDistrictForSectionParamsWithContext(ctx context.Context) *GetDistrictForSectionParams
NewGetDistrictForSectionParamsWithContext creates a new GetDistrictForSectionParams object with the ability to set a context for a request.
func NewGetDistrictForSectionParamsWithHTTPClient ¶
func NewGetDistrictForSectionParamsWithHTTPClient(client *http.Client) *GetDistrictForSectionParams
NewGetDistrictForSectionParamsWithHTTPClient creates a new GetDistrictForSectionParams object with the ability to set a custom HTTPClient for a request.
func NewGetDistrictForSectionParamsWithTimeout ¶
func NewGetDistrictForSectionParamsWithTimeout(timeout time.Duration) *GetDistrictForSectionParams
NewGetDistrictForSectionParamsWithTimeout creates a new GetDistrictForSectionParams object with the ability to set a timeout on a request.
func (*GetDistrictForSectionParams) SetContext ¶
func (o *GetDistrictForSectionParams) SetContext(ctx context.Context)
SetContext adds the context to the get district for section params
func (*GetDistrictForSectionParams) SetDefaults ¶
func (o *GetDistrictForSectionParams) SetDefaults()
SetDefaults hydrates default values in the get district for section params (not the query body).
All values with no default are reset to their zero value.
func (*GetDistrictForSectionParams) SetHTTPClient ¶
func (o *GetDistrictForSectionParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get district for section params
func (*GetDistrictForSectionParams) SetID ¶
func (o *GetDistrictForSectionParams) SetID(id string)
SetID adds the id to the get district for section params
func (*GetDistrictForSectionParams) SetTimeout ¶
func (o *GetDistrictForSectionParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get district for section params
func (*GetDistrictForSectionParams) WithContext ¶
func (o *GetDistrictForSectionParams) WithContext(ctx context.Context) *GetDistrictForSectionParams
WithContext adds the context to the get district for section params
func (*GetDistrictForSectionParams) WithDefaults ¶
func (o *GetDistrictForSectionParams) WithDefaults() *GetDistrictForSectionParams
WithDefaults hydrates default values in the get district for section params (not the query body).
All values with no default are reset to their zero value.
func (*GetDistrictForSectionParams) WithHTTPClient ¶
func (o *GetDistrictForSectionParams) WithHTTPClient(client *http.Client) *GetDistrictForSectionParams
WithHTTPClient adds the HTTPClient to the get district for section params
func (*GetDistrictForSectionParams) WithID ¶
func (o *GetDistrictForSectionParams) WithID(id string) *GetDistrictForSectionParams
WithID adds the id to the get district for section params
func (*GetDistrictForSectionParams) WithTimeout ¶
func (o *GetDistrictForSectionParams) WithTimeout(timeout time.Duration) *GetDistrictForSectionParams
WithTimeout adds the timeout to the get district for section params
func (*GetDistrictForSectionParams) WriteToRequest ¶
func (o *GetDistrictForSectionParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetDistrictForSectionReader ¶
type GetDistrictForSectionReader struct {
// contains filtered or unexported fields
}
GetDistrictForSectionReader is a Reader for the GetDistrictForSection structure.
func (*GetDistrictForSectionReader) ReadResponse ¶
func (o *GetDistrictForSectionReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetResourcesForSectionNotFound ¶
GetResourcesForSectionNotFound describes a response with status code 404, with default header values.
Entity Not Found
func NewGetResourcesForSectionNotFound ¶
func NewGetResourcesForSectionNotFound() *GetResourcesForSectionNotFound
NewGetResourcesForSectionNotFound creates a GetResourcesForSectionNotFound with default headers values
func (*GetResourcesForSectionNotFound) Error ¶
func (o *GetResourcesForSectionNotFound) Error() string
func (*GetResourcesForSectionNotFound) GetPayload ¶
func (o *GetResourcesForSectionNotFound) GetPayload() *models.NotFound
type GetResourcesForSectionOK ¶
type GetResourcesForSectionOK struct {
Payload *models.ResourcesResponse
}
GetResourcesForSectionOK describes a response with status code 200, with default header values.
OK Response
func NewGetResourcesForSectionOK ¶
func NewGetResourcesForSectionOK() *GetResourcesForSectionOK
NewGetResourcesForSectionOK creates a GetResourcesForSectionOK with default headers values
func (*GetResourcesForSectionOK) Error ¶
func (o *GetResourcesForSectionOK) Error() string
func (*GetResourcesForSectionOK) GetPayload ¶
func (o *GetResourcesForSectionOK) GetPayload() *models.ResourcesResponse
type GetResourcesForSectionParams ¶
type GetResourcesForSectionParams struct {
// EndingBefore.
EndingBefore *string
// ID.
ID string
// Limit.
Limit *int64
// StartingAfter.
StartingAfter *string
Context context.Context
HTTPClient *http.Client
// contains filtered or unexported fields
}
GetResourcesForSectionParams contains all the parameters to send to the API endpoint
for the get resources for section operation. Typically these are written to a http.Request.
func NewGetResourcesForSectionParams ¶
func NewGetResourcesForSectionParams() *GetResourcesForSectionParams
NewGetResourcesForSectionParams creates a new GetResourcesForSectionParams 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 NewGetResourcesForSectionParamsWithContext ¶
func NewGetResourcesForSectionParamsWithContext(ctx context.Context) *GetResourcesForSectionParams
NewGetResourcesForSectionParamsWithContext creates a new GetResourcesForSectionParams object with the ability to set a context for a request.
func NewGetResourcesForSectionParamsWithHTTPClient ¶
func NewGetResourcesForSectionParamsWithHTTPClient(client *http.Client) *GetResourcesForSectionParams
NewGetResourcesForSectionParamsWithHTTPClient creates a new GetResourcesForSectionParams object with the ability to set a custom HTTPClient for a request.
func NewGetResourcesForSectionParamsWithTimeout ¶
func NewGetResourcesForSectionParamsWithTimeout(timeout time.Duration) *GetResourcesForSectionParams
NewGetResourcesForSectionParamsWithTimeout creates a new GetResourcesForSectionParams object with the ability to set a timeout on a request.
func (*GetResourcesForSectionParams) SetContext ¶
func (o *GetResourcesForSectionParams) SetContext(ctx context.Context)
SetContext adds the context to the get resources for section params
func (*GetResourcesForSectionParams) SetDefaults ¶
func (o *GetResourcesForSectionParams) SetDefaults()
SetDefaults hydrates default values in the get resources for section params (not the query body).
All values with no default are reset to their zero value.
func (*GetResourcesForSectionParams) SetEndingBefore ¶
func (o *GetResourcesForSectionParams) SetEndingBefore(endingBefore *string)
SetEndingBefore adds the endingBefore to the get resources for section params
func (*GetResourcesForSectionParams) SetHTTPClient ¶
func (o *GetResourcesForSectionParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get resources for section params
func (*GetResourcesForSectionParams) SetID ¶
func (o *GetResourcesForSectionParams) SetID(id string)
SetID adds the id to the get resources for section params
func (*GetResourcesForSectionParams) SetLimit ¶
func (o *GetResourcesForSectionParams) SetLimit(limit *int64)
SetLimit adds the limit to the get resources for section params
func (*GetResourcesForSectionParams) SetStartingAfter ¶
func (o *GetResourcesForSectionParams) SetStartingAfter(startingAfter *string)
SetStartingAfter adds the startingAfter to the get resources for section params
func (*GetResourcesForSectionParams) SetTimeout ¶
func (o *GetResourcesForSectionParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get resources for section params
func (*GetResourcesForSectionParams) WithContext ¶
func (o *GetResourcesForSectionParams) WithContext(ctx context.Context) *GetResourcesForSectionParams
WithContext adds the context to the get resources for section params
func (*GetResourcesForSectionParams) WithDefaults ¶
func (o *GetResourcesForSectionParams) WithDefaults() *GetResourcesForSectionParams
WithDefaults hydrates default values in the get resources for section params (not the query body).
All values with no default are reset to their zero value.
func (*GetResourcesForSectionParams) WithEndingBefore ¶
func (o *GetResourcesForSectionParams) WithEndingBefore(endingBefore *string) *GetResourcesForSectionParams
WithEndingBefore adds the endingBefore to the get resources for section params
func (*GetResourcesForSectionParams) WithHTTPClient ¶
func (o *GetResourcesForSectionParams) WithHTTPClient(client *http.Client) *GetResourcesForSectionParams
WithHTTPClient adds the HTTPClient to the get resources for section params
func (*GetResourcesForSectionParams) WithID ¶
func (o *GetResourcesForSectionParams) WithID(id string) *GetResourcesForSectionParams
WithID adds the id to the get resources for section params
func (*GetResourcesForSectionParams) WithLimit ¶
func (o *GetResourcesForSectionParams) WithLimit(limit *int64) *GetResourcesForSectionParams
WithLimit adds the limit to the get resources for section params
func (*GetResourcesForSectionParams) WithStartingAfter ¶
func (o *GetResourcesForSectionParams) WithStartingAfter(startingAfter *string) *GetResourcesForSectionParams
WithStartingAfter adds the startingAfter to the get resources for section params
func (*GetResourcesForSectionParams) WithTimeout ¶
func (o *GetResourcesForSectionParams) WithTimeout(timeout time.Duration) *GetResourcesForSectionParams
WithTimeout adds the timeout to the get resources for section params
func (*GetResourcesForSectionParams) WriteToRequest ¶
func (o *GetResourcesForSectionParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetResourcesForSectionReader ¶
type GetResourcesForSectionReader struct {
// contains filtered or unexported fields
}
GetResourcesForSectionReader is a Reader for the GetResourcesForSection structure.
func (*GetResourcesForSectionReader) ReadResponse ¶
func (o *GetResourcesForSectionReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetSchoolForSectionNotFound ¶
GetSchoolForSectionNotFound describes a response with status code 404, with default header values.
Entity Not Found
func NewGetSchoolForSectionNotFound ¶
func NewGetSchoolForSectionNotFound() *GetSchoolForSectionNotFound
NewGetSchoolForSectionNotFound creates a GetSchoolForSectionNotFound with default headers values
func (*GetSchoolForSectionNotFound) Error ¶
func (o *GetSchoolForSectionNotFound) Error() string
func (*GetSchoolForSectionNotFound) GetPayload ¶
func (o *GetSchoolForSectionNotFound) GetPayload() *models.NotFound
type GetSchoolForSectionOK ¶
type GetSchoolForSectionOK struct {
Payload *models.SchoolResponse
}
GetSchoolForSectionOK describes a response with status code 200, with default header values.
OK Response
func NewGetSchoolForSectionOK ¶
func NewGetSchoolForSectionOK() *GetSchoolForSectionOK
NewGetSchoolForSectionOK creates a GetSchoolForSectionOK with default headers values
func (*GetSchoolForSectionOK) Error ¶
func (o *GetSchoolForSectionOK) Error() string
func (*GetSchoolForSectionOK) GetPayload ¶
func (o *GetSchoolForSectionOK) GetPayload() *models.SchoolResponse
type GetSchoolForSectionParams ¶
type GetSchoolForSectionParams struct {
// ID.
ID string
Context context.Context
HTTPClient *http.Client
// contains filtered or unexported fields
}
GetSchoolForSectionParams contains all the parameters to send to the API endpoint
for the get school for section operation. Typically these are written to a http.Request.
func NewGetSchoolForSectionParams ¶
func NewGetSchoolForSectionParams() *GetSchoolForSectionParams
NewGetSchoolForSectionParams creates a new GetSchoolForSectionParams 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 NewGetSchoolForSectionParamsWithContext ¶
func NewGetSchoolForSectionParamsWithContext(ctx context.Context) *GetSchoolForSectionParams
NewGetSchoolForSectionParamsWithContext creates a new GetSchoolForSectionParams object with the ability to set a context for a request.
func NewGetSchoolForSectionParamsWithHTTPClient ¶
func NewGetSchoolForSectionParamsWithHTTPClient(client *http.Client) *GetSchoolForSectionParams
NewGetSchoolForSectionParamsWithHTTPClient creates a new GetSchoolForSectionParams object with the ability to set a custom HTTPClient for a request.
func NewGetSchoolForSectionParamsWithTimeout ¶
func NewGetSchoolForSectionParamsWithTimeout(timeout time.Duration) *GetSchoolForSectionParams
NewGetSchoolForSectionParamsWithTimeout creates a new GetSchoolForSectionParams object with the ability to set a timeout on a request.
func (*GetSchoolForSectionParams) SetContext ¶
func (o *GetSchoolForSectionParams) SetContext(ctx context.Context)
SetContext adds the context to the get school for section params
func (*GetSchoolForSectionParams) SetDefaults ¶
func (o *GetSchoolForSectionParams) SetDefaults()
SetDefaults hydrates default values in the get school for section params (not the query body).
All values with no default are reset to their zero value.
func (*GetSchoolForSectionParams) SetHTTPClient ¶
func (o *GetSchoolForSectionParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get school for section params
func (*GetSchoolForSectionParams) SetID ¶
func (o *GetSchoolForSectionParams) SetID(id string)
SetID adds the id to the get school for section params
func (*GetSchoolForSectionParams) SetTimeout ¶
func (o *GetSchoolForSectionParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get school for section params
func (*GetSchoolForSectionParams) WithContext ¶
func (o *GetSchoolForSectionParams) WithContext(ctx context.Context) *GetSchoolForSectionParams
WithContext adds the context to the get school for section params
func (*GetSchoolForSectionParams) WithDefaults ¶
func (o *GetSchoolForSectionParams) WithDefaults() *GetSchoolForSectionParams
WithDefaults hydrates default values in the get school for section params (not the query body).
All values with no default are reset to their zero value.
func (*GetSchoolForSectionParams) WithHTTPClient ¶
func (o *GetSchoolForSectionParams) WithHTTPClient(client *http.Client) *GetSchoolForSectionParams
WithHTTPClient adds the HTTPClient to the get school for section params
func (*GetSchoolForSectionParams) WithID ¶
func (o *GetSchoolForSectionParams) WithID(id string) *GetSchoolForSectionParams
WithID adds the id to the get school for section params
func (*GetSchoolForSectionParams) WithTimeout ¶
func (o *GetSchoolForSectionParams) WithTimeout(timeout time.Duration) *GetSchoolForSectionParams
WithTimeout adds the timeout to the get school for section params
func (*GetSchoolForSectionParams) WriteToRequest ¶
func (o *GetSchoolForSectionParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetSchoolForSectionReader ¶
type GetSchoolForSectionReader struct {
// contains filtered or unexported fields
}
GetSchoolForSectionReader is a Reader for the GetSchoolForSection structure.
func (*GetSchoolForSectionReader) ReadResponse ¶
func (o *GetSchoolForSectionReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetSectionNotFound ¶
GetSectionNotFound describes a response with status code 404, with default header values.
Entity Not Found
func NewGetSectionNotFound ¶
func NewGetSectionNotFound() *GetSectionNotFound
NewGetSectionNotFound creates a GetSectionNotFound with default headers values
func (*GetSectionNotFound) Error ¶
func (o *GetSectionNotFound) Error() string
func (*GetSectionNotFound) GetPayload ¶
func (o *GetSectionNotFound) GetPayload() *models.NotFound
type GetSectionOK ¶
type GetSectionOK struct {
Payload *models.SectionResponse
}
GetSectionOK describes a response with status code 200, with default header values.
OK Response
func NewGetSectionOK ¶
func NewGetSectionOK() *GetSectionOK
NewGetSectionOK creates a GetSectionOK with default headers values
func (*GetSectionOK) Error ¶
func (o *GetSectionOK) Error() string
func (*GetSectionOK) GetPayload ¶
func (o *GetSectionOK) GetPayload() *models.SectionResponse
type GetSectionParams ¶
type GetSectionParams struct {
// ID.
ID string
Context context.Context
HTTPClient *http.Client
// contains filtered or unexported fields
}
GetSectionParams contains all the parameters to send to the API endpoint
for the get section operation. Typically these are written to a http.Request.
func NewGetSectionParams ¶
func NewGetSectionParams() *GetSectionParams
NewGetSectionParams creates a new GetSectionParams 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 NewGetSectionParamsWithContext ¶
func NewGetSectionParamsWithContext(ctx context.Context) *GetSectionParams
NewGetSectionParamsWithContext creates a new GetSectionParams object with the ability to set a context for a request.
func NewGetSectionParamsWithHTTPClient ¶
func NewGetSectionParamsWithHTTPClient(client *http.Client) *GetSectionParams
NewGetSectionParamsWithHTTPClient creates a new GetSectionParams object with the ability to set a custom HTTPClient for a request.
func NewGetSectionParamsWithTimeout ¶
func NewGetSectionParamsWithTimeout(timeout time.Duration) *GetSectionParams
NewGetSectionParamsWithTimeout creates a new GetSectionParams object with the ability to set a timeout on a request.
func (*GetSectionParams) SetContext ¶
func (o *GetSectionParams) SetContext(ctx context.Context)
SetContext adds the context to the get section params
func (*GetSectionParams) SetDefaults ¶
func (o *GetSectionParams) SetDefaults()
SetDefaults hydrates default values in the get section params (not the query body).
All values with no default are reset to their zero value.
func (*GetSectionParams) SetHTTPClient ¶
func (o *GetSectionParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get section params
func (*GetSectionParams) SetID ¶
func (o *GetSectionParams) SetID(id string)
SetID adds the id to the get section params
func (*GetSectionParams) SetTimeout ¶
func (o *GetSectionParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get section params
func (*GetSectionParams) WithContext ¶
func (o *GetSectionParams) WithContext(ctx context.Context) *GetSectionParams
WithContext adds the context to the get section params
func (*GetSectionParams) WithDefaults ¶
func (o *GetSectionParams) WithDefaults() *GetSectionParams
WithDefaults hydrates default values in the get section params (not the query body).
All values with no default are reset to their zero value.
func (*GetSectionParams) WithHTTPClient ¶
func (o *GetSectionParams) WithHTTPClient(client *http.Client) *GetSectionParams
WithHTTPClient adds the HTTPClient to the get section params
func (*GetSectionParams) WithID ¶
func (o *GetSectionParams) WithID(id string) *GetSectionParams
WithID adds the id to the get section params
func (*GetSectionParams) WithTimeout ¶
func (o *GetSectionParams) WithTimeout(timeout time.Duration) *GetSectionParams
WithTimeout adds the timeout to the get section params
func (*GetSectionParams) WriteToRequest ¶
func (o *GetSectionParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetSectionReader ¶
type GetSectionReader struct {
// contains filtered or unexported fields
}
GetSectionReader is a Reader for the GetSection structure.
func (*GetSectionReader) ReadResponse ¶
func (o *GetSectionReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetSectionsOK ¶
type GetSectionsOK struct {
Payload *models.SectionsResponse
}
GetSectionsOK describes a response with status code 200, with default header values.
OK Response
func NewGetSectionsOK ¶
func NewGetSectionsOK() *GetSectionsOK
NewGetSectionsOK creates a GetSectionsOK with default headers values
func (*GetSectionsOK) Error ¶
func (o *GetSectionsOK) Error() string
func (*GetSectionsOK) GetPayload ¶
func (o *GetSectionsOK) GetPayload() *models.SectionsResponse
type GetSectionsParams ¶
type GetSectionsParams struct {
// Count.
Count *string
// EndingBefore.
EndingBefore *string
// Limit.
Limit *int64
// StartingAfter.
StartingAfter *string
Context context.Context
HTTPClient *http.Client
// contains filtered or unexported fields
}
GetSectionsParams contains all the parameters to send to the API endpoint
for the get sections operation. Typically these are written to a http.Request.
func NewGetSectionsParams ¶
func NewGetSectionsParams() *GetSectionsParams
NewGetSectionsParams creates a new GetSectionsParams 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 NewGetSectionsParamsWithContext ¶
func NewGetSectionsParamsWithContext(ctx context.Context) *GetSectionsParams
NewGetSectionsParamsWithContext creates a new GetSectionsParams object with the ability to set a context for a request.
func NewGetSectionsParamsWithHTTPClient ¶
func NewGetSectionsParamsWithHTTPClient(client *http.Client) *GetSectionsParams
NewGetSectionsParamsWithHTTPClient creates a new GetSectionsParams object with the ability to set a custom HTTPClient for a request.
func NewGetSectionsParamsWithTimeout ¶
func NewGetSectionsParamsWithTimeout(timeout time.Duration) *GetSectionsParams
NewGetSectionsParamsWithTimeout creates a new GetSectionsParams object with the ability to set a timeout on a request.
func (*GetSectionsParams) SetContext ¶
func (o *GetSectionsParams) SetContext(ctx context.Context)
SetContext adds the context to the get sections params
func (*GetSectionsParams) SetCount ¶
func (o *GetSectionsParams) SetCount(count *string)
SetCount adds the count to the get sections params
func (*GetSectionsParams) SetDefaults ¶
func (o *GetSectionsParams) SetDefaults()
SetDefaults hydrates default values in the get sections params (not the query body).
All values with no default are reset to their zero value.
func (*GetSectionsParams) SetEndingBefore ¶
func (o *GetSectionsParams) SetEndingBefore(endingBefore *string)
SetEndingBefore adds the endingBefore to the get sections params
func (*GetSectionsParams) SetHTTPClient ¶
func (o *GetSectionsParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get sections params
func (*GetSectionsParams) SetLimit ¶
func (o *GetSectionsParams) SetLimit(limit *int64)
SetLimit adds the limit to the get sections params
func (*GetSectionsParams) SetStartingAfter ¶
func (o *GetSectionsParams) SetStartingAfter(startingAfter *string)
SetStartingAfter adds the startingAfter to the get sections params
func (*GetSectionsParams) SetTimeout ¶
func (o *GetSectionsParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get sections params
func (*GetSectionsParams) WithContext ¶
func (o *GetSectionsParams) WithContext(ctx context.Context) *GetSectionsParams
WithContext adds the context to the get sections params
func (*GetSectionsParams) WithCount ¶
func (o *GetSectionsParams) WithCount(count *string) *GetSectionsParams
WithCount adds the count to the get sections params
func (*GetSectionsParams) WithDefaults ¶
func (o *GetSectionsParams) WithDefaults() *GetSectionsParams
WithDefaults hydrates default values in the get sections params (not the query body).
All values with no default are reset to their zero value.
func (*GetSectionsParams) WithEndingBefore ¶
func (o *GetSectionsParams) WithEndingBefore(endingBefore *string) *GetSectionsParams
WithEndingBefore adds the endingBefore to the get sections params
func (*GetSectionsParams) WithHTTPClient ¶
func (o *GetSectionsParams) WithHTTPClient(client *http.Client) *GetSectionsParams
WithHTTPClient adds the HTTPClient to the get sections params
func (*GetSectionsParams) WithLimit ¶
func (o *GetSectionsParams) WithLimit(limit *int64) *GetSectionsParams
WithLimit adds the limit to the get sections params
func (*GetSectionsParams) WithStartingAfter ¶
func (o *GetSectionsParams) WithStartingAfter(startingAfter *string) *GetSectionsParams
WithStartingAfter adds the startingAfter to the get sections params
func (*GetSectionsParams) WithTimeout ¶
func (o *GetSectionsParams) WithTimeout(timeout time.Duration) *GetSectionsParams
WithTimeout adds the timeout to the get sections params
func (*GetSectionsParams) WriteToRequest ¶
func (o *GetSectionsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetSectionsReader ¶
type GetSectionsReader struct {
// contains filtered or unexported fields
}
GetSectionsReader is a Reader for the GetSections structure.
func (*GetSectionsReader) ReadResponse ¶
func (o *GetSectionsReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetTermForSectionNotFound ¶
GetTermForSectionNotFound describes a response with status code 404, with default header values.
Entity Not Found
func NewGetTermForSectionNotFound ¶
func NewGetTermForSectionNotFound() *GetTermForSectionNotFound
NewGetTermForSectionNotFound creates a GetTermForSectionNotFound with default headers values
func (*GetTermForSectionNotFound) Error ¶
func (o *GetTermForSectionNotFound) Error() string
func (*GetTermForSectionNotFound) GetPayload ¶
func (o *GetTermForSectionNotFound) GetPayload() *models.NotFound
type GetTermForSectionOK ¶
type GetTermForSectionOK struct {
Payload *models.TermResponse
}
GetTermForSectionOK describes a response with status code 200, with default header values.
OK Response
func NewGetTermForSectionOK ¶
func NewGetTermForSectionOK() *GetTermForSectionOK
NewGetTermForSectionOK creates a GetTermForSectionOK with default headers values
func (*GetTermForSectionOK) Error ¶
func (o *GetTermForSectionOK) Error() string
func (*GetTermForSectionOK) GetPayload ¶
func (o *GetTermForSectionOK) GetPayload() *models.TermResponse
type GetTermForSectionParams ¶
type GetTermForSectionParams struct {
// ID.
ID string
Context context.Context
HTTPClient *http.Client
// contains filtered or unexported fields
}
GetTermForSectionParams contains all the parameters to send to the API endpoint
for the get term for section operation. Typically these are written to a http.Request.
func NewGetTermForSectionParams ¶
func NewGetTermForSectionParams() *GetTermForSectionParams
NewGetTermForSectionParams creates a new GetTermForSectionParams 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 NewGetTermForSectionParamsWithContext ¶
func NewGetTermForSectionParamsWithContext(ctx context.Context) *GetTermForSectionParams
NewGetTermForSectionParamsWithContext creates a new GetTermForSectionParams object with the ability to set a context for a request.
func NewGetTermForSectionParamsWithHTTPClient ¶
func NewGetTermForSectionParamsWithHTTPClient(client *http.Client) *GetTermForSectionParams
NewGetTermForSectionParamsWithHTTPClient creates a new GetTermForSectionParams object with the ability to set a custom HTTPClient for a request.
func NewGetTermForSectionParamsWithTimeout ¶
func NewGetTermForSectionParamsWithTimeout(timeout time.Duration) *GetTermForSectionParams
NewGetTermForSectionParamsWithTimeout creates a new GetTermForSectionParams object with the ability to set a timeout on a request.
func (*GetTermForSectionParams) SetContext ¶
func (o *GetTermForSectionParams) SetContext(ctx context.Context)
SetContext adds the context to the get term for section params
func (*GetTermForSectionParams) SetDefaults ¶
func (o *GetTermForSectionParams) SetDefaults()
SetDefaults hydrates default values in the get term for section params (not the query body).
All values with no default are reset to their zero value.
func (*GetTermForSectionParams) SetHTTPClient ¶
func (o *GetTermForSectionParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get term for section params
func (*GetTermForSectionParams) SetID ¶
func (o *GetTermForSectionParams) SetID(id string)
SetID adds the id to the get term for section params
func (*GetTermForSectionParams) SetTimeout ¶
func (o *GetTermForSectionParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get term for section params
func (*GetTermForSectionParams) WithContext ¶
func (o *GetTermForSectionParams) WithContext(ctx context.Context) *GetTermForSectionParams
WithContext adds the context to the get term for section params
func (*GetTermForSectionParams) WithDefaults ¶
func (o *GetTermForSectionParams) WithDefaults() *GetTermForSectionParams
WithDefaults hydrates default values in the get term for section params (not the query body).
All values with no default are reset to their zero value.
func (*GetTermForSectionParams) WithHTTPClient ¶
func (o *GetTermForSectionParams) WithHTTPClient(client *http.Client) *GetTermForSectionParams
WithHTTPClient adds the HTTPClient to the get term for section params
func (*GetTermForSectionParams) WithID ¶
func (o *GetTermForSectionParams) WithID(id string) *GetTermForSectionParams
WithID adds the id to the get term for section params
func (*GetTermForSectionParams) WithTimeout ¶
func (o *GetTermForSectionParams) WithTimeout(timeout time.Duration) *GetTermForSectionParams
WithTimeout adds the timeout to the get term for section params
func (*GetTermForSectionParams) WriteToRequest ¶
func (o *GetTermForSectionParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetTermForSectionReader ¶
type GetTermForSectionReader struct {
// contains filtered or unexported fields
}
GetTermForSectionReader is a Reader for the GetTermForSection structure.
func (*GetTermForSectionReader) ReadResponse ¶
func (o *GetTermForSectionReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetUsersForSectionNotFound ¶
GetUsersForSectionNotFound describes a response with status code 404, with default header values.
Entity Not Found
func NewGetUsersForSectionNotFound ¶
func NewGetUsersForSectionNotFound() *GetUsersForSectionNotFound
NewGetUsersForSectionNotFound creates a GetUsersForSectionNotFound with default headers values
func (*GetUsersForSectionNotFound) Error ¶
func (o *GetUsersForSectionNotFound) Error() string
func (*GetUsersForSectionNotFound) GetPayload ¶
func (o *GetUsersForSectionNotFound) GetPayload() *models.NotFound
type GetUsersForSectionOK ¶
type GetUsersForSectionOK struct {
Payload *models.UsersResponse
}
GetUsersForSectionOK describes a response with status code 200, with default header values.
OK Response
func NewGetUsersForSectionOK ¶
func NewGetUsersForSectionOK() *GetUsersForSectionOK
NewGetUsersForSectionOK creates a GetUsersForSectionOK with default headers values
func (*GetUsersForSectionOK) Error ¶
func (o *GetUsersForSectionOK) Error() string
func (*GetUsersForSectionOK) GetPayload ¶
func (o *GetUsersForSectionOK) GetPayload() *models.UsersResponse
type GetUsersForSectionParams ¶
type GetUsersForSectionParams struct {
// EndingBefore.
EndingBefore *string
// ID.
ID string
// Limit.
Limit *int64
// Primary.
Primary *string
// Role.
Role *string
// StartingAfter.
StartingAfter *string
Context context.Context
HTTPClient *http.Client
// contains filtered or unexported fields
}
GetUsersForSectionParams contains all the parameters to send to the API endpoint
for the get users for section operation. Typically these are written to a http.Request.
func NewGetUsersForSectionParams ¶
func NewGetUsersForSectionParams() *GetUsersForSectionParams
NewGetUsersForSectionParams creates a new GetUsersForSectionParams 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 NewGetUsersForSectionParamsWithContext ¶
func NewGetUsersForSectionParamsWithContext(ctx context.Context) *GetUsersForSectionParams
NewGetUsersForSectionParamsWithContext creates a new GetUsersForSectionParams object with the ability to set a context for a request.
func NewGetUsersForSectionParamsWithHTTPClient ¶
func NewGetUsersForSectionParamsWithHTTPClient(client *http.Client) *GetUsersForSectionParams
NewGetUsersForSectionParamsWithHTTPClient creates a new GetUsersForSectionParams object with the ability to set a custom HTTPClient for a request.
func NewGetUsersForSectionParamsWithTimeout ¶
func NewGetUsersForSectionParamsWithTimeout(timeout time.Duration) *GetUsersForSectionParams
NewGetUsersForSectionParamsWithTimeout creates a new GetUsersForSectionParams object with the ability to set a timeout on a request.
func (*GetUsersForSectionParams) SetContext ¶
func (o *GetUsersForSectionParams) SetContext(ctx context.Context)
SetContext adds the context to the get users for section params
func (*GetUsersForSectionParams) SetDefaults ¶
func (o *GetUsersForSectionParams) SetDefaults()
SetDefaults hydrates default values in the get users for section params (not the query body).
All values with no default are reset to their zero value.
func (*GetUsersForSectionParams) SetEndingBefore ¶
func (o *GetUsersForSectionParams) SetEndingBefore(endingBefore *string)
SetEndingBefore adds the endingBefore to the get users for section params
func (*GetUsersForSectionParams) SetHTTPClient ¶
func (o *GetUsersForSectionParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get users for section params
func (*GetUsersForSectionParams) SetID ¶
func (o *GetUsersForSectionParams) SetID(id string)
SetID adds the id to the get users for section params
func (*GetUsersForSectionParams) SetLimit ¶
func (o *GetUsersForSectionParams) SetLimit(limit *int64)
SetLimit adds the limit to the get users for section params
func (*GetUsersForSectionParams) SetPrimary ¶
func (o *GetUsersForSectionParams) SetPrimary(primary *string)
SetPrimary adds the primary to the get users for section params
func (*GetUsersForSectionParams) SetRole ¶
func (o *GetUsersForSectionParams) SetRole(role *string)
SetRole adds the role to the get users for section params
func (*GetUsersForSectionParams) SetStartingAfter ¶
func (o *GetUsersForSectionParams) SetStartingAfter(startingAfter *string)
SetStartingAfter adds the startingAfter to the get users for section params
func (*GetUsersForSectionParams) SetTimeout ¶
func (o *GetUsersForSectionParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get users for section params
func (*GetUsersForSectionParams) WithContext ¶
func (o *GetUsersForSectionParams) WithContext(ctx context.Context) *GetUsersForSectionParams
WithContext adds the context to the get users for section params
func (*GetUsersForSectionParams) WithDefaults ¶
func (o *GetUsersForSectionParams) WithDefaults() *GetUsersForSectionParams
WithDefaults hydrates default values in the get users for section params (not the query body).
All values with no default are reset to their zero value.
func (*GetUsersForSectionParams) WithEndingBefore ¶
func (o *GetUsersForSectionParams) WithEndingBefore(endingBefore *string) *GetUsersForSectionParams
WithEndingBefore adds the endingBefore to the get users for section params
func (*GetUsersForSectionParams) WithHTTPClient ¶
func (o *GetUsersForSectionParams) WithHTTPClient(client *http.Client) *GetUsersForSectionParams
WithHTTPClient adds the HTTPClient to the get users for section params
func (*GetUsersForSectionParams) WithID ¶
func (o *GetUsersForSectionParams) WithID(id string) *GetUsersForSectionParams
WithID adds the id to the get users for section params
func (*GetUsersForSectionParams) WithLimit ¶
func (o *GetUsersForSectionParams) WithLimit(limit *int64) *GetUsersForSectionParams
WithLimit adds the limit to the get users for section params
func (*GetUsersForSectionParams) WithPrimary ¶
func (o *GetUsersForSectionParams) WithPrimary(primary *string) *GetUsersForSectionParams
WithPrimary adds the primary to the get users for section params
func (*GetUsersForSectionParams) WithRole ¶
func (o *GetUsersForSectionParams) WithRole(role *string) *GetUsersForSectionParams
WithRole adds the role to the get users for section params
func (*GetUsersForSectionParams) WithStartingAfter ¶
func (o *GetUsersForSectionParams) WithStartingAfter(startingAfter *string) *GetUsersForSectionParams
WithStartingAfter adds the startingAfter to the get users for section params
func (*GetUsersForSectionParams) WithTimeout ¶
func (o *GetUsersForSectionParams) WithTimeout(timeout time.Duration) *GetUsersForSectionParams
WithTimeout adds the timeout to the get users for section params
func (*GetUsersForSectionParams) WriteToRequest ¶
func (o *GetUsersForSectionParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetUsersForSectionReader ¶
type GetUsersForSectionReader struct {
// contains filtered or unexported fields
}
GetUsersForSectionReader is a Reader for the GetUsersForSection structure.
func (*GetUsersForSectionReader) ReadResponse ¶
func (o *GetUsersForSectionReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
Source Files
¶
- get_course_for_section_parameters.go
- get_course_for_section_responses.go
- get_district_for_section_parameters.go
- get_district_for_section_responses.go
- get_resources_for_section_parameters.go
- get_resources_for_section_responses.go
- get_school_for_section_parameters.go
- get_school_for_section_responses.go
- get_section_parameters.go
- get_section_responses.go
- get_sections_parameters.go
- get_sections_responses.go
- get_term_for_section_parameters.go
- get_term_for_section_responses.go
- get_users_for_section_parameters.go
- get_users_for_section_responses.go
- sections_client.go