Documentation ¶
Index ¶
- type ListRegion
- func (r *ListRegion) List(config *medusa.Config) (*ListRegionResponse, error)
- func (r *ListRegion) SetCreatedAt(date *common.DateComparison) *ListRegion
- func (r *ListRegion) SetLimit(limit uint) *ListRegion
- func (r *ListRegion) SetOffset(offset uint) *ListRegion
- func (r *ListRegion) SetUpdatedAt(date *common.DateComparison) *ListRegion
- type ListRegionData
- type ListRegionResponse
- type RetrieveRegionData
- type RetrieveRegionResponse
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ListRegion ¶
type ListRegion struct { // How many regions to skip in the result. Offset uint `json:"offset,omitempty" url:"offset,omitempty"` // Limit the number of regions returned. Limit uint `json:"limit,omitempty" url:"limit,omitempty"` // Date comparison for when resulting regions were created. CreatedAt *common.DateComparison `json:"created_at,omitempty" url:"created_at,omitempty"` // Date comparison for when resulting regions were updated. UpdatedAt *common.DateComparison `json:"updated_at,omitempty" url:"updated_at,omitempty"` }
func NewListRegion ¶
func NewListRegion() *ListRegion
func (*ListRegion) List ¶
func (r *ListRegion) List(config *medusa.Config) (*ListRegionResponse, error)
Retrieve a list of Regions.
func (*ListRegion) SetCreatedAt ¶
func (r *ListRegion) SetCreatedAt(date *common.DateComparison) *ListRegion
func (*ListRegion) SetLimit ¶
func (r *ListRegion) SetLimit(limit uint) *ListRegion
func (*ListRegion) SetOffset ¶
func (r *ListRegion) SetOffset(offset uint) *ListRegion
func (*ListRegion) SetUpdatedAt ¶
func (r *ListRegion) SetUpdatedAt(date *common.DateComparison) *ListRegion
type ListRegionData ¶
type ListRegionResponse ¶
type ListRegionResponse struct { // Success response Data *ListRegionData // Error response Error *response.Error // Errors in case of multiple errors Errors *response.Errors }
type RetrieveRegionData ¶
type RetrieveRegionResponse ¶
type RetrieveRegionResponse struct { // Success response Data *RetrieveRegionData // Error response Error *response.Error // Errors in case of multiple errors Errors *response.Errors }
Click to show internal directories.
Click to hide internal directories.