sections

package
v4.0.0 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Client

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

Client for 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

type GetCourseForSectionNotFound struct {
	Payload *models.NotFound
}
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 (*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

WithContext adds the context to the get course for section params

func (*GetCourseForSectionParams) WithDefaults

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

WithID adds the id to the get course for section params

func (*GetCourseForSectionParams) WithTimeout

WithTimeout adds the timeout to the get course for section params

func (*GetCourseForSectionParams) WriteToRequest

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

type GetDistrictForSectionNotFound struct {
	Payload *models.NotFound
}
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 (*GetDistrictForSectionNotFound) GetPayload

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

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

WithContext adds the context to the get district for section params

func (*GetDistrictForSectionParams) WithDefaults

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

WithHTTPClient adds the HTTPClient to the get district for section params

func (*GetDistrictForSectionParams) WithID

WithID adds the id to the get district for section params

func (*GetDistrictForSectionParams) WithTimeout

WithTimeout adds the timeout to the get district for section params

func (*GetDistrictForSectionParams) WriteToRequest

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

type GetResourcesForSectionNotFound struct {
	Payload *models.NotFound
}
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 (*GetResourcesForSectionNotFound) GetPayload

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

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

WithContext adds the context to the get resources for section params

func (*GetResourcesForSectionParams) WithDefaults

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

WithHTTPClient adds the HTTPClient to the get resources for section params

func (*GetResourcesForSectionParams) WithID

WithID adds the id to the get resources for section params

func (*GetResourcesForSectionParams) WithLimit

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

WithTimeout adds the timeout to the get resources for section params

func (*GetResourcesForSectionParams) WriteToRequest

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

type GetSchoolForSectionNotFound struct {
	Payload *models.NotFound
}
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 (*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

WithContext adds the context to the get school for section params

func (*GetSchoolForSectionParams) WithDefaults

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

WithID adds the id to the get school for section params

func (*GetSchoolForSectionParams) WithTimeout

WithTimeout adds the timeout to the get school for section params

func (*GetSchoolForSectionParams) WriteToRequest

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

type GetSectionNotFound struct {
	Payload *models.NotFound
}
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

type GetTermForSectionNotFound struct {
	Payload *models.NotFound
}
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

WithContext adds the context to the get term for section params

func (*GetTermForSectionParams) WithDefaults

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

WithID adds the id to the get term for section params

func (*GetTermForSectionParams) WithTimeout

WithTimeout adds the timeout to the get term for section params

func (*GetTermForSectionParams) WriteToRequest

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

type GetUsersForSectionNotFound struct {
	Payload *models.NotFound
}
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 (*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

WithContext adds the context to the get users for section params

func (*GetUsersForSectionParams) WithDefaults

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

WithID adds the id to the get users for section params

func (*GetUsersForSectionParams) WithLimit

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

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

WithTimeout adds the timeout to the get users for section params

func (*GetUsersForSectionParams) WriteToRequest

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.

Jump to

Keyboard shortcuts

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