Skip to content

Commit

Permalink
updated type and format for createTime and updateTime (#32)
Browse files Browse the repository at this point in the history
  • Loading branch information
stkr89 authored Feb 10, 2023
1 parent c371c1a commit 16aeb48
Show file tree
Hide file tree
Showing 5 changed files with 45 additions and 49 deletions.
16 changes: 8 additions & 8 deletions api/openapi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4697,11 +4697,11 @@ components:
updatedBy:
type: string
createTime:
format: date-time
type: string
format: int64
type: integer
updateTime:
format: date-time
type: string
format: int64
type: integer
version:
format: int64
type: integer
Expand Down Expand Up @@ -4831,11 +4831,11 @@ components:
updatedBy:
type: string
createTime:
format: date-time
type: string
format: int64
type: integer
updateTime:
format: date-time
type: string
format: int64
type: integer
version:
format: int64
type: integer
Expand Down
4 changes: 2 additions & 2 deletions docs/TagDef.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@ Name | Type | Description | Notes
**Guid** | **string** | | [optional]
**CreatedBy** | **string** | | [optional]
**UpdatedBy** | **string** | | [optional]
**CreateTime** | [**time.Time**](time.Time.md) | | [optional]
**UpdateTime** | [**time.Time**](time.Time.md) | | [optional]
**CreateTime** | **int64** | | [optional]
**UpdateTime** | **int64** | | [optional]
**Version** | **int64** | | [optional]
**Name** | **string** | | [optional]
**Description** | **string** | | [optional]
Expand Down
4 changes: 2 additions & 2 deletions docs/TagDefResponse.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@ Name | Type | Description | Notes
**Guid** | **string** | | [optional]
**CreatedBy** | **string** | | [optional]
**UpdatedBy** | **string** | | [optional]
**CreateTime** | [**time.Time**](time.Time.md) | | [optional]
**UpdateTime** | [**time.Time**](time.Time.md) | | [optional]
**CreateTime** | **int64** | | [optional]
**UpdateTime** | **int64** | | [optional]
**Version** | **int64** | | [optional]
**Name** | **string** | | [optional]
**Description** | **string** | | [optional]
Expand Down
34 changes: 16 additions & 18 deletions model_tag_def.go
Original file line number Diff line number Diff line change
Expand Up @@ -8,25 +8,23 @@
*/

package schemaregistry
import (
"time"
)

// TagDef struct for TagDef
type TagDef struct {
Category string `json:"category,omitempty"`
Guid string `json:"guid,omitempty"`
CreatedBy string `json:"createdBy,omitempty"`
UpdatedBy string `json:"updatedBy,omitempty"`
CreateTime time.Time `json:"createTime,omitempty"`
UpdateTime time.Time `json:"updateTime,omitempty"`
Version int64 `json:"version,omitempty"`
Name string `json:"name,omitempty"`
Description string `json:"description,omitempty"`
TypeVersion string `json:"typeVersion,omitempty"`
ServiceType string `json:"serviceType,omitempty"`
Options map[string]string `json:"options,omitempty"`
Category string `json:"category,omitempty"`
Guid string `json:"guid,omitempty"`
CreatedBy string `json:"createdBy,omitempty"`
UpdatedBy string `json:"updatedBy,omitempty"`
CreateTime int64 `json:"createTime,omitempty"`
UpdateTime int64 `json:"updateTime,omitempty"`
Version int64 `json:"version,omitempty"`
Name string `json:"name,omitempty"`
Description string `json:"description,omitempty"`
TypeVersion string `json:"typeVersion,omitempty"`
ServiceType string `json:"serviceType,omitempty"`
Options map[string]string `json:"options,omitempty"`
AttributeDefs []AtlasAttributeDef `json:"attributeDefs,omitempty"`
SuperTypes []string `json:"superTypes,omitempty"`
EntityTypes []string `json:"entityTypes,omitempty"`
SubTypes []string `json:"subTypes,omitempty"`
SuperTypes []string `json:"superTypes,omitempty"`
EntityTypes []string `json:"entityTypes,omitempty"`
SubTypes []string `json:"subTypes,omitempty"`
}
36 changes: 17 additions & 19 deletions model_tag_def_response.go
Original file line number Diff line number Diff line change
Expand Up @@ -8,26 +8,24 @@
*/

package schemaregistry
import (
"time"
)

// TagDefResponse struct for TagDefResponse
type TagDefResponse struct {
Category string `json:"category,omitempty"`
Guid string `json:"guid,omitempty"`
CreatedBy string `json:"createdBy,omitempty"`
UpdatedBy string `json:"updatedBy,omitempty"`
CreateTime time.Time `json:"createTime,omitempty"`
UpdateTime time.Time `json:"updateTime,omitempty"`
Version int64 `json:"version,omitempty"`
Name string `json:"name,omitempty"`
Description string `json:"description,omitempty"`
TypeVersion string `json:"typeVersion,omitempty"`
ServiceType string `json:"serviceType,omitempty"`
Options map[string]string `json:"options,omitempty"`
Category string `json:"category,omitempty"`
Guid string `json:"guid,omitempty"`
CreatedBy string `json:"createdBy,omitempty"`
UpdatedBy string `json:"updatedBy,omitempty"`
CreateTime int64 `json:"createTime,omitempty"`
UpdateTime int64 `json:"updateTime,omitempty"`
Version int64 `json:"version,omitempty"`
Name string `json:"name,omitempty"`
Description string `json:"description,omitempty"`
TypeVersion string `json:"typeVersion,omitempty"`
ServiceType string `json:"serviceType,omitempty"`
Options map[string]string `json:"options,omitempty"`
AttributeDefs []AtlasAttributeDef `json:"attributeDefs,omitempty"`
SuperTypes []string `json:"superTypes,omitempty"`
EntityTypes []string `json:"entityTypes,omitempty"`
SubTypes []string `json:"subTypes,omitempty"`
Error ErrorMessage `json:"error,omitempty"`
SuperTypes []string `json:"superTypes,omitempty"`
EntityTypes []string `json:"entityTypes,omitempty"`
SubTypes []string `json:"subTypes,omitempty"`
Error ErrorMessage `json:"error,omitempty"`
}

0 comments on commit 16aeb48

Please sign in to comment.