responses

package
v0.0.25 Latest Latest
Warning

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

Go to latest
Published: Feb 13, 2020 License: GPL-3.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type DeviceActionList

type DeviceActionList struct {
	// in:body
	Body struct {
		Items []*models.DeviceAction `json:"items"`
		Meta  struct {
			Limit       int64 `json:"limit"`
			ObjectCount int64 `json:"object_count"`
			Offset      int64 `json:"offset"`
		} `json:"meta"`
	}
}

swagger:response DeviceActionList

type DeviceActionSearch

type DeviceActionSearch struct {
	// in:body
	Body struct {
		DeviceActions []*models.DeviceAction `json:"device_actions"`
	}
}

swagger:response DeviceActionSearch

type DeviceList

type DeviceList struct {
	// in:body
	Body struct {
		Items []*models.Device `json:"items"`
		Meta  struct {
			Limit       int64 `json:"limit"`
			ObjectCount int64 `json:"object_count"`
			Offset      int64 `json:"offset"`
		} `json:"meta"`
	}
}

swagger:response DeviceList

type DeviceSearch

type DeviceSearch struct {
	// in:body
	Body struct {
		Devices []*models.DeviceShort `json:"devices"`
	}
}

swagger:response DeviceSearch

type Error

type Error struct {
	// in:body
	Body struct {
		m.Error
	}
}

Error response swagger:response Error

type FlowList

type FlowList struct {
	// in:body
	Body struct {
		Items []*models.FlowShort `json:"items"`
		Meta  struct {
			Limit       int64 `json:"limit"`
			ObjectCount int64 `json:"object_count"`
			Offset      int64 `json:"offset"`
		} `json:"meta"`
	}
}

swagger:response FlowList

type FlowSearch

type FlowSearch struct {
	// in:body
	Body struct {
		Flows []*models.Flow `json:"flows"`
	}
}

swagger:response FlowSearch

type ImageList

type ImageList struct {
	// in:body
	Body struct {
		Items []*models.Image `json:"items"`
		Meta  struct {
			Limit       int64 `json:"limit"`
			ObjectCount int64 `json:"object_count"`
			Offset      int64 `json:"offset"`
		} `json:"meta"`
	}
}

swagger:response ImageList

type LogList

type LogList struct {
	// in:body
	Body struct {
		Items []*models.Log `json:"items"`
		Meta  struct {
			Limit       int64 `json:"limit"`
			ObjectCount int64 `json:"object_count"`
			Offset      int64 `json:"offset"`
		} `json:"meta"`
	}
}

swagger:response LogList

type LogSearch

type LogSearch struct {
	// in:body
	Body struct {
		Logs []*models.Log `json:"logs"`
	}
}

swagger:response LogSearch

type MapElementList

type MapElementList struct {
	// in:body
	Body struct {
		Items []*models.MapElement `json:"items"`
		Meta  struct {
			Limit       int64 `json:"limit"`
			ObjectCount int64 `json:"object_count"`
			Offset      int64 `json:"offset"`
		} `json:"meta"`
	}
}

swagger:response MapElementList

type MapLayerList

type MapLayerList struct {
	// in:body
	Body struct {
		Items []*models.MapLayer `json:"items"`
		Meta  struct {
			Limit       int64 `json:"limit"`
			ObjectCount int64 `json:"object_count"`
			Offset      int64 `json:"offset"`
		} `json:"meta"`
	}
}

swagger:response MapLayerList

type MapList

type MapList struct {
	// in:body
	Body struct {
		Items []*models.Map `json:"items"`
		Meta  struct {
			Limit       int64 `json:"limit"`
			ObjectCount int64 `json:"object_count"`
			Offset      int64 `json:"offset"`
		} `json:"meta"`
	}
}

swagger:response MapList

type MapSearch

type MapSearch struct {
	// in:body
	Body struct {
		Maps []*models.Map `json:"maps"`
	}
}

swagger:response MapSearch

type MapZoneList added in v0.0.14

type MapZoneList struct {
	// in:body
	Body struct {
		Items []*models.MapZone `json:"items"`
		Meta  struct {
			Limit       int64 `json:"limit"`
			ObjectCount int64 `json:"object_count"`
			Offset      int64 `json:"offset"`
		} `json:"meta"`
	}
}

swagger:response MapZoneList

type MapZoneSearch added in v0.0.14

type MapZoneSearch struct {
	// in:body
	Body struct {
		MapZones []*models.MapZone `json:"zones"`
	}
}

swagger:response MapZoneSearch

type MessageDeliveryList added in v0.0.17

type MessageDeliveryList struct {
	// in:body
	Body struct {
		Items []*models.MessageDelivery `json:"items"`
		Meta  struct {
			Limit       int64 `json:"limit"`
			ObjectCount int64 `json:"object_count"`
			Offset      int64 `json:"offset"`
		} `json:"meta"`
	}
}

swagger:response MessageDeliveryList

type MqttClientList added in v0.0.20

type MqttClientList struct {
	// in:body
	Body struct {
		Items []*models.MqttClient `json:"items"`
		Meta  struct {
			Limit       int64 `json:"limit"`
			ObjectCount int64 `json:"object_count"`
			Offset      int64 `json:"offset"`
		} `json:"meta"`
	}
}

swagger:response MqttClientList

type MqttSearchSubscriptionResult added in v0.0.21

type MqttSearchSubscriptionResult struct {
	// in:body
	Body struct {
		Subscriptions []*models.MqttSubscription `json:"subscriptions"`
	}
}

swagger:response MqttSearchSubscriptionResult

type MqttSessionList added in v0.0.20

type MqttSessionList struct {
	// in:body
	Body struct {
		Items []*models.MqttSession `json:"items"`
		Meta  struct {
			Limit       int64 `json:"limit"`
			ObjectCount int64 `json:"object_count"`
			Offset      int64 `json:"offset"`
		} `json:"meta"`
	}
}

swagger:response MqttSessionList

type MqttSubscriptionList added in v0.0.20

type MqttSubscriptionList struct {
	// in:body
	Body struct {
		Items []*models.MqttSubscription `json:"items"`
		Meta  struct {
			Limit       int64 `json:"limit"`
			ObjectCount int64 `json:"object_count"`
			Offset      int64 `json:"offset"`
		} `json:"meta"`
	}
}

swagger:response MqttSubscriptionList

type NewObjectSuccess

type NewObjectSuccess struct {
	// in:body
	Body struct {
		Id int64 `json:"id"`
	}
}

Success with id response swagger:response NewObjectSuccess

type NodeList

type NodeList struct {
	// in:body
	Body struct {
		Items []*models.Node `json:"items"`
		Meta  struct {
			Limit       int64 `json:"limit"`
			ObjectCount int64 `json:"object_count"`
			Offset      int64 `json:"offset"`
		} `json:"meta"`
	}
}

swagger:response NodeList

type NodeSearch

type NodeSearch struct {
	// in:body
	Body struct {
		Nodes []*models.Node `json:"nodes"`
	}
}

swagger:response NodeSearch

type RoleList

type RoleList struct {
	// in:body
	Body struct {
		Items []*models.Role `json:"items"`
		Meta  struct {
			Limit       int64 `json:"limit"`
			ObjectCount int64 `json:"object_count"`
			Offset      int64 `json:"offset"`
		} `json:"meta"`
	}
}

swagger:response RoleList

type RoleSearch

type RoleSearch struct {
	// in:body
	Body struct {
		Roles []*models.Role `json:"roles"`
	}
}

swagger:response RoleSearch

type ScriptExec

type ScriptExec struct {
	// in:body
	Body struct {
		Result string `json:"result"`
	}
}

swagger:response ScriptExec

type ScriptList

type ScriptList struct {
	// in:body
	Body struct {
		Items []*models.Script `json:"items"`
		Meta  struct {
			Limit       int64 `json:"limit"`
			ObjectCount int64 `json:"object_count"`
			Offset      int64 `json:"offset"`
		} `json:"meta"`
	}
}

swagger:response ScriptList

type ScriptSearch

type ScriptSearch struct {
	// in:body
	Body struct {
		Scripts []*models.Script `json:"scripts"`
	}
}

swagger:response ScriptSearch

type Success

type Success struct {
	// in:body
	Body struct {
	}
}

Success response swagger:response Success

type TemplateItemList added in v0.0.17

type TemplateItemList struct {
	// in:body
	Body struct {
		Items []*models.TemplateItem `json:"items"`
		Meta  struct {
			Limit       int64 `json:"limit"`
			ObjectCount int64 `json:"object_count"`
			Offset      int64 `json:"offset"`
		} `json:"meta"`
	}
}

swagger:response TemplateItemList

type TemplateItemSortedList added in v0.0.17

type TemplateItemSortedList struct {
	// in:body
	Body struct {
		Items []string `json:"items"`
		Total int      `json:"total"`
	}
}

swagger:response TemplateItemSortedList

type TemplateList added in v0.0.17

type TemplateList struct {
	// in:body
	Body struct {
		Items []*models.Template `json:"items"`
		Meta  struct {
			Limit       int64 `json:"limit"`
			ObjectCount int64 `json:"object_count"`
			Offset      int64 `json:"offset"`
		} `json:"meta"`
	}
}

swagger:response TemplateList

type TemplateSearch added in v0.0.17

type TemplateSearch struct {
	// in:body
	Body struct {
		Templates []*models.Template `json:"templates"`
	}
}

swagger:response TemplateSearch

type UserList

type UserList struct {
	// in:body
	Body struct {
		Items []*models.UserShot `json:"items"`
		Meta  struct {
			Limit       int64 `json:"limit"`
			ObjectCount int64 `json:"object_count"`
			Offset      int64 `json:"offset"`
		} `json:"meta"`
	}
}

swagger:response UserList

type UserSearch

type UserSearch struct {
	// in:body
	Body struct {
		Users []*models.UserShot `json:"users"`
	}
}

swagger:response UserSearch

type WorkflowList

type WorkflowList struct {
	// in:body
	Body struct {
		Items []*models.WorkflowShort `json:"items"`
		Meta  struct {
			Limit       int64 `json:"limit"`
			ObjectCount int64 `json:"object_count"`
			Offset      int64 `json:"offset"`
		} `json:"meta"`
	}
}

swagger:response WorkflowList

type WorkflowScenarioSearch

type WorkflowScenarioSearch struct {
	// in:body
	Body struct {
		Scenarios []*models.WorkflowScenario `json:"scenarios"`
	}
}

swagger:response WorkflowScenarioSearch

type WorkflowScenarios

type WorkflowScenarios struct {
	// in:body
	Body struct {
		Scenarios []*models.WorkflowScenario `json:"scenarios"`
	}
}

swagger:response WorkflowScenarios

type WorkflowSearch

type WorkflowSearch struct {
	// in:body
	Body struct {
		Workflows []*models.Workflow `json:"workflows"`
	}
}

swagger:response WorkflowSearch

Jump to

Keyboard shortcuts

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