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 ThingWithEnumHashKey
- type ThingWithMatchingKeys
- type ThingWithMultiUseCompositeAttribute
- type ThingWithRequiredCompositePropertiesAndKeysOnly
- 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 ¶
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 ¶
func (m *TeacherSharingRule) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*TeacherSharingRule) UnmarshalBinary ¶
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 ¶
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 ¶
func (m *ThingWithCompositeAttributes) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ThingWithCompositeAttributes) UnmarshalBinary ¶
func (m *ThingWithCompositeAttributes) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ThingWithCompositeEnumAttributes ¶
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 ¶
func (m *ThingWithCompositeEnumAttributes) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ThingWithCompositeEnumAttributes) UnmarshalBinary ¶
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 ¶
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 ¶
func (m *ThingWithDateTimeComposite) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ThingWithDateTimeComposite) UnmarshalBinary ¶
func (m *ThingWithDateTimeComposite) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ThingWithEnumHashKey ¶
type ThingWithEnumHashKey struct {
// branch
Branch Branch `json:"branch,omitempty"`
// date
Date strfmt.DateTime `json:"date,omitempty"`
// date2
Date2 strfmt.DateTime `json:"date2,omitempty"`
}
ThingWithEnumHashKey thing with enum hash key swagger:model ThingWithEnumHashKey
func (*ThingWithEnumHashKey) MarshalBinary ¶
func (m *ThingWithEnumHashKey) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ThingWithEnumHashKey) UnmarshalBinary ¶
func (m *ThingWithEnumHashKey) 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 ThingWithMultiUseCompositeAttribute ¶
type ThingWithMultiUseCompositeAttribute struct {
// four
// Required: true
Four *string `json:"four"`
// one
// Required: true
One *string `json:"one"`
// three
// Required: true
Three *string `json:"three"`
// two
// Required: true
Two *string `json:"two"`
}
ThingWithMultiUseCompositeAttribute thing with multi use composite attribute swagger:model ThingWithMultiUseCompositeAttribute
func (*ThingWithMultiUseCompositeAttribute) MarshalBinary ¶
func (m *ThingWithMultiUseCompositeAttribute) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ThingWithMultiUseCompositeAttribute) UnmarshalBinary ¶
func (m *ThingWithMultiUseCompositeAttribute) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ThingWithRequiredCompositePropertiesAndKeysOnly ¶
type ThingWithRequiredCompositePropertiesAndKeysOnly struct {
// property one
// Required: true
PropertyOne *string `json:"propertyOne"`
// property three
// Required: true
PropertyThree *string `json:"propertyThree"`
// property two
// Required: true
PropertyTwo *string `json:"propertyTwo"`
}
ThingWithRequiredCompositePropertiesAndKeysOnly thing with required composite properties and keys only swagger:model ThingWithRequiredCompositePropertiesAndKeysOnly
func (*ThingWithRequiredCompositePropertiesAndKeysOnly) MarshalBinary ¶
func (m *ThingWithRequiredCompositePropertiesAndKeysOnly) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ThingWithRequiredCompositePropertiesAndKeysOnly) UnmarshalBinary ¶
func (m *ThingWithRequiredCompositePropertiesAndKeysOnly) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ThingWithRequiredFields ¶
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 ¶
func (m *ThingWithRequiredFields) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ThingWithRequiredFields) UnmarshalBinary ¶
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 ¶
type ThingWithUnderscores struct {
// id app
IDApp string `json:"id_app,omitempty"`
}
ThingWithUnderscores thing with underscores swagger:model ThingWithUnderscores
func (*ThingWithUnderscores) MarshalBinary ¶
func (m *ThingWithUnderscores) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ThingWithUnderscores) UnmarshalBinary ¶
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_enum_hash_key.go
- thing_with_matching_keys.go
- thing_with_multi_use_composite_attribute.go
- thing_with_required_composite_properties_and_keys_only.go
- thing_with_required_fields.go
- thing_with_required_fields2.go
- thing_with_underscores.go