Documentation ¶
Index ¶
- type BadRequest
- type Branch
- type Category
- type Deployment
- type Event
- type HealthCheckInput
- type InternalError
- type NoRangeThingWithCompositeAttributes
- type Object
- type SimpleThing
- type TeacherSharingRule
- type Thing
- type ThingWithCompositeAttributes
- type ThingWithCompositeEnumAttributes
- type ThingWithDateRange
- type ThingWithDateTimeComposite
- type ThingWithMatchingKeys
- type ThingWithRequiredFields
- type ThingWithRequiredFields2
- type ThingWithUnderscores
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BadRequest ¶
type BadRequest struct { // message Message string `json:"message,omitempty"` }
BadRequest bad request swagger:model BadRequest
func (BadRequest) Error ¶
func (o BadRequest) Error() string
func (*BadRequest) MarshalBinary ¶
func (m *BadRequest) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*BadRequest) UnmarshalBinary ¶
func (m *BadRequest) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type Deployment ¶
type Deployment struct { // application Application string `json:"application,omitempty"` // date Date strfmt.DateTime `json:"date,omitempty"` // environment Environment string `json:"environment,omitempty"` // version Version string `json:"version,omitempty"` }
Deployment deployment swagger:model Deployment
func (*Deployment) MarshalBinary ¶
func (m *Deployment) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*Deployment) UnmarshalBinary ¶
func (m *Deployment) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type Event ¶
type Event struct { // data Data strfmt.Base64 `json:"data,omitempty"` // pk Pk string `json:"pk,omitempty"` // sk Sk string `json:"sk,omitempty"` // ttl TTL int64 `json:"ttl,omitempty"` }
Event event swagger:model Event
func (*Event) MarshalBinary ¶
MarshalBinary interface implementation
func (*Event) UnmarshalBinary ¶
UnmarshalBinary interface implementation
type HealthCheckInput ¶
type HealthCheckInput struct { }
HealthCheckInput holds the input parameters for a healthCheck operation.
func (HealthCheckInput) Path ¶
func (i HealthCheckInput) Path() (string, error)
Path returns the URI path for the input.
func (HealthCheckInput) Validate ¶
func (i HealthCheckInput) Validate() error
Validate returns an error if any of the HealthCheckInput parameters don't satisfy the requirements from the swagger yml file.
type InternalError ¶
type InternalError struct { // message Message string `json:"message,omitempty"` }
InternalError internal error swagger:model InternalError
func (InternalError) Error ¶
func (o InternalError) Error() string
func (*InternalError) MarshalBinary ¶
func (m *InternalError) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*InternalError) UnmarshalBinary ¶
func (m *InternalError) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type NoRangeThingWithCompositeAttributes ¶
type NoRangeThingWithCompositeAttributes struct { // branch // Required: true Branch *string `json:"branch"` // date // Required: true Date *strfmt.DateTime `json:"date"` // name // Required: true Name *string `json:"name"` // version Version int64 `json:"version,omitempty"` }
NoRangeThingWithCompositeAttributes no range thing with composite attributes swagger:model NoRangeThingWithCompositeAttributes
func (*NoRangeThingWithCompositeAttributes) MarshalBinary ¶
func (m *NoRangeThingWithCompositeAttributes) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*NoRangeThingWithCompositeAttributes) UnmarshalBinary ¶
func (m *NoRangeThingWithCompositeAttributes) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type Object ¶
type Object struct { // bar Bar string `json:"bar,omitempty"` // foo Foo string `json:"foo,omitempty"` }
Object object swagger:model Object
func (*Object) MarshalBinary ¶
MarshalBinary interface implementation
func (*Object) UnmarshalBinary ¶
UnmarshalBinary interface implementation
type SimpleThing ¶
type SimpleThing struct { // id ID string `json:"id,omitempty"` // name Name string `json:"name,omitempty"` }
SimpleThing simple thing swagger:model SimpleThing
func (*SimpleThing) MarshalBinary ¶
func (m *SimpleThing) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*SimpleThing) UnmarshalBinary ¶
func (m *SimpleThing) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type TeacherSharingRule ¶ added in v1.12.0
type TeacherSharingRule struct { // app App string `json:"app,omitempty"` // district District string `json:"district,omitempty"` // id ID string `json:"id,omitempty"` // school School string `json:"school,omitempty"` // sections Sections []string `json:"sections"` // teacher Teacher string `json:"teacher,omitempty"` }
TeacherSharingRule teacher sharing rule swagger:model TeacherSharingRule
func (*TeacherSharingRule) MarshalBinary ¶ added in v1.12.0
func (m *TeacherSharingRule) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*TeacherSharingRule) UnmarshalBinary ¶ added in v1.12.0
func (m *TeacherSharingRule) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type Thing ¶
type Thing struct { // category Category Category `json:"category,omitempty"` // created at CreatedAt strfmt.DateTime `json:"createdAt,omitempty"` // id ID string `json:"id,omitempty"` // name Name string `json:"name,omitempty"` // nested object NestedObject *Object `json:"nestedObject,omitempty"` // version Version int64 `json:"version,omitempty"` }
Thing thing swagger:model Thing
func (*Thing) MarshalBinary ¶
MarshalBinary interface implementation
func (*Thing) UnmarshalBinary ¶
UnmarshalBinary interface implementation
type ThingWithCompositeAttributes ¶ added in v1.12.0
type ThingWithCompositeAttributes struct { // branch // Required: true Branch *string `json:"branch"` // date // Required: true Date *strfmt.DateTime `json:"date"` // name // Required: true Name *string `json:"name"` // version Version int64 `json:"version,omitempty"` }
ThingWithCompositeAttributes thing with composite attributes swagger:model ThingWithCompositeAttributes
func (*ThingWithCompositeAttributes) MarshalBinary ¶ added in v1.12.0
func (m *ThingWithCompositeAttributes) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ThingWithCompositeAttributes) UnmarshalBinary ¶ added in v1.12.0
func (m *ThingWithCompositeAttributes) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ThingWithCompositeEnumAttributes ¶ added in v1.14.0
type ThingWithCompositeEnumAttributes struct { // branch ID // Required: true BranchID Branch `json:"branchID"` // date // Required: true Date *strfmt.DateTime `json:"date"` // name // Required: true Name *string `json:"name"` }
ThingWithCompositeEnumAttributes thing with composite enum attributes swagger:model ThingWithCompositeEnumAttributes
func (*ThingWithCompositeEnumAttributes) MarshalBinary ¶ added in v1.14.0
func (m *ThingWithCompositeEnumAttributes) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ThingWithCompositeEnumAttributes) UnmarshalBinary ¶ added in v1.14.0
func (m *ThingWithCompositeEnumAttributes) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ThingWithDateRange ¶
type ThingWithDateRange struct { // date Date strfmt.DateTime `json:"date,omitempty"` // name Name string `json:"name,omitempty"` }
ThingWithDateRange thing with date range swagger:model ThingWithDateRange
func (*ThingWithDateRange) MarshalBinary ¶
func (m *ThingWithDateRange) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ThingWithDateRange) UnmarshalBinary ¶
func (m *ThingWithDateRange) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ThingWithDateTimeComposite ¶ added in v1.14.1
type ThingWithDateTimeComposite struct { // created Created strfmt.DateTime `json:"created,omitempty"` // id ID string `json:"id,omitempty"` // resource Resource string `json:"resource,omitempty"` // type Type string `json:"type,omitempty"` }
ThingWithDateTimeComposite thing with date time composite swagger:model ThingWithDateTimeComposite
func (*ThingWithDateTimeComposite) MarshalBinary ¶ added in v1.14.1
func (m *ThingWithDateTimeComposite) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ThingWithDateTimeComposite) UnmarshalBinary ¶ added in v1.14.1
func (m *ThingWithDateTimeComposite) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ThingWithMatchingKeys ¶
type ThingWithMatchingKeys struct { // assoc ID AssocID string `json:"assocID,omitempty"` // assoc type AssocType string `json:"assocType,omitempty"` // bear Bear string `json:"bear,omitempty"` // created Created strfmt.DateTime `json:"created,omitempty"` }
ThingWithMatchingKeys thing with matching keys swagger:model ThingWithMatchingKeys
func (*ThingWithMatchingKeys) MarshalBinary ¶
func (m *ThingWithMatchingKeys) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ThingWithMatchingKeys) UnmarshalBinary ¶
func (m *ThingWithMatchingKeys) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ThingWithRequiredFields ¶ added in v1.13.0
type ThingWithRequiredFields struct { // id // Required: true ID *string `json:"id"` // name // Required: true Name *string `json:"name"` }
ThingWithRequiredFields thing with required fields swagger:model ThingWithRequiredFields
func (*ThingWithRequiredFields) MarshalBinary ¶ added in v1.13.0
func (m *ThingWithRequiredFields) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ThingWithRequiredFields) UnmarshalBinary ¶ added in v1.13.0
func (m *ThingWithRequiredFields) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ThingWithRequiredFields2 ¶
type ThingWithRequiredFields2 struct { // id // Required: true ID *string `json:"id"` // name // Required: true Name *string `json:"name"` }
ThingWithRequiredFields2 thing with required fields2 swagger:model ThingWithRequiredFields2
func (*ThingWithRequiredFields2) MarshalBinary ¶
func (m *ThingWithRequiredFields2) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ThingWithRequiredFields2) UnmarshalBinary ¶
func (m *ThingWithRequiredFields2) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ThingWithUnderscores ¶ added in v1.7.1
type ThingWithUnderscores struct { // id app IDApp string `json:"id_app,omitempty"` }
ThingWithUnderscores thing with underscores swagger:model ThingWithUnderscores
func (*ThingWithUnderscores) MarshalBinary ¶ added in v1.7.1
func (m *ThingWithUnderscores) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ThingWithUnderscores) UnmarshalBinary ¶ added in v1.7.1
func (m *ThingWithUnderscores) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
Source Files ¶
- bad_request.go
- branch.go
- category.go
- deployment.go
- event.go
- inputs.go
- internal_error.go
- no_range_thing_with_composite_attributes.go
- object.go
- outputs.go
- simple_thing.go
- teacher_sharing_rule.go
- thing.go
- thing_with_composite_attributes.go
- thing_with_composite_enum_attributes.go
- thing_with_date_range.go
- thing_with_date_time_composite.go
- thing_with_matching_keys.go
- thing_with_required_fields.go
- thing_with_required_fields2.go
- thing_with_underscores.go