diff --git a/net/server/internal/model_group.go b/net/server/internal/model_group.go deleted file mode 100644 index 018514b3..00000000 --- a/net/server/internal/model_group.go +++ /dev/null @@ -1,25 +0,0 @@ -/* - * DataBag - * - * DataBag provides storage for decentralized identity based self-hosting apps. It is intended to support sharing of personal data and hosting group conversations. - * - * API version: 0.0.1 - * Contact: roland.osborne@gmail.com - * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) - */ -package databag - -type Group struct { - - GroupId string `json:"groupId"` - - GroupRevision int64 `json:"groupRevision"` - - Type_ string `json:"type"` - - Data string `json:"data"` - - Created int32 `json:"created"` - - Modified int32 `json:"modified"` -} diff --git a/net/server/internal/model_groups_group_id_body.go b/net/server/internal/model_groups_group_id_body.go deleted file mode 100644 index 635ee78d..00000000 --- a/net/server/internal/model_groups_group_id_body.go +++ /dev/null @@ -1,17 +0,0 @@ -/* - * DataBag - * - * DataBag provides storage for decentralized identity based self-hosting apps. It is intended to support sharing of personal data and hosting group conversations. - * - * API version: 0.0.1 - * Contact: roland.osborne@gmail.com - * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) - */ -package databag - -type GroupsGroupIdBody struct { - - Type_ string `json:"type"` - - Data string `json:"data"` -} diff --git a/net/server/internal/model_inline_response_200.go b/net/server/internal/model_inline_response_200.go deleted file mode 100644 index 9501c7ab..00000000 --- a/net/server/internal/model_inline_response_200.go +++ /dev/null @@ -1,17 +0,0 @@ -/* - * DataBag - * - * DataBag provides storage for decentralized identity based self-hosting apps. It is intended to support sharing of personal data and hosting group conversations. - * - * API version: 0.0.1 - * Contact: roland.osborne@gmail.com - * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) - */ -package databag - -type InlineResponse200 struct { - - Token string `json:"token,omitempty"` - - Status string `json:"status"` -} diff --git a/net/server/internal/model_inline_response_200_1.go b/net/server/internal/model_inline_response_200_1.go deleted file mode 100644 index c858be8b..00000000 --- a/net/server/internal/model_inline_response_200_1.go +++ /dev/null @@ -1,17 +0,0 @@ -/* - * DataBag - * - * DataBag provides storage for decentralized identity based self-hosting apps. It is intended to support sharing of personal data and hosting group conversations. - * - * API version: 0.0.1 - * Contact: roland.osborne@gmail.com - * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) - */ -package databag - -type InlineResponse2001 struct { - - Id string `json:"id,omitempty"` - - Revision int64 `json:"revision,omitempty"` -} diff --git a/net/server/internal/model_inline_response_200_2.go b/net/server/internal/model_inline_response_200_2.go deleted file mode 100644 index 9f02b3b1..00000000 --- a/net/server/internal/model_inline_response_200_2.go +++ /dev/null @@ -1,19 +0,0 @@ -/* - * DataBag - * - * DataBag provides storage for decentralized identity based self-hosting apps. It is intended to support sharing of personal data and hosting group conversations. - * - * API version: 0.0.1 - * Contact: roland.osborne@gmail.com - * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) - */ -package databag - -type InlineResponse2002 struct { - - BlockId string `json:"blockId,omitempty"` - - BlockRevision int64 `json:"blockRevision,omitempty"` - - Tag *Tag `json:"tag,omitempty"` -} diff --git a/net/server/internal/model_inline_response_201.go b/net/server/internal/model_inline_response_201.go deleted file mode 100644 index 9fb4b7e1..00000000 --- a/net/server/internal/model_inline_response_201.go +++ /dev/null @@ -1,19 +0,0 @@ -/* - * DataBag - * - * DataBag provides storage for decentralized identity based self-hosting apps. It is intended to support sharing of personal data and hosting group conversations. - * - * API version: 0.0.1 - * Contact: roland.osborne@gmail.com - * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) - */ -package databag - -type InlineResponse201 struct { - - BlockId string `json:"blockId,omitempty"` - - BlockRevision int64 `json:"blockRevision,omitempty"` - - Article *Article `json:"article,omitempty"` -} diff --git a/net/server/internal/model_inline_response_201_1.go b/net/server/internal/model_inline_response_201_1.go deleted file mode 100644 index 092f6a27..00000000 --- a/net/server/internal/model_inline_response_201_1.go +++ /dev/null @@ -1,19 +0,0 @@ -/* - * DataBag - * - * DataBag provides storage for decentralized identity based self-hosting apps. It is intended to support sharing of personal data and hosting group conversations. - * - * API version: 0.0.1 - * Contact: roland.osborne@gmail.com - * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) - */ -package databag - -type InlineResponse2011 struct { - - BlockId string `json:"blockId,omitempty"` - - BlockRevision int64 `json:"blockRevision,omitempty"` - - Topic *Topic `json:"topic,omitempty"` -} diff --git a/net/server/internal/models.go b/net/server/internal/models.go index ae8fdbb1..f214e3b8 100644 --- a/net/server/internal/models.go +++ b/net/server/internal/models.go @@ -148,3 +148,46 @@ type Disconnect struct { RequestedId string `json:"requestedId"` Timestamp int32 `json:"timestamp"` } + +type Group struct { + GroupId string `json:"groupId"` + GroupRevision int64 `json:"groupRevision"` + Type_ string `json:"type"` + Data string `json:"data"` + Created int32 `json:"created"` + Modified int32 `json:"modified"` +} + +type GroupsGroupIdBody struct { + Type_ string `json:"type"` + Data string `json:"data"` +} + +type InlineResponse200 struct { + Token string `json:"token,omitempty"` + Status string `json:"status"` +} + +type InlineResponse2001 struct { + Id string `json:"id,omitempty"` + Revision int64 `json:"revision,omitempty"` +} + +type InlineResponse2002 struct { + BlockId string `json:"blockId,omitempty"` + BlockRevision int64 `json:"blockRevision,omitempty"` + Tag *Tag `json:"tag,omitempty"` +} + +type InlineResponse201 struct { + BlockId string `json:"blockId,omitempty"` + BlockRevision int64 `json:"blockRevision,omitempty"` + Article *Article `json:"article,omitempty"` +} + +type InlineResponse2011 struct { + BlockId string `json:"blockId,omitempty"` + BlockRevision int64 `json:"blockRevision,omitempty"` + Topic *Topic `json:"topic,omitempty"` +} +