responses

package
v0.0.9 Latest Latest
Warning

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

Go to latest
Published: Jul 28, 2019 License: MIT Imports: 1 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 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 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.Workflow `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