Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

## [5.0.18] - 2023-11-14 #69

Merged
merged 1 commit into from
Nov 14, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,10 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

## [Unreleased]

## [5.0.18] - 2023-11-14
### Chaged
- `tag service` updated to `Items` to array of `object`.

## [5.0.17] - 2023-10-25
### Chaged
- `GetBorderDeviceDetailFromSdaFabric` doesn't returns a `payload` parameter.
Expand Down
62 changes: 42 additions & 20 deletions sdk/tag.go
Original file line number Diff line number Diff line change
Expand Up @@ -69,12 +69,19 @@ type ResponseTagGetTagResponseDynamicRules struct {
Rules *ResponseTagGetTagResponseDynamicRulesRules `json:"rules,omitempty"` //
}
type ResponseTagGetTagResponseDynamicRulesRules struct {
Values []string `json:"values,omitempty"` //
Items string `json:"items,omitempty"` //
Operation string `json:"operation,omitempty"` //
Name string `json:"name,omitempty"` //
Value string `json:"value,omitempty"` //
Values []string `json:"values,omitempty"` //
Items *[]ResponseTagGetTagResponseDynamicRulesRulesItems `json:"items,omitempty"` //
Operation string `json:"operation,omitempty"` //
Name string `json:"name,omitempty"` //
Value string `json:"value,omitempty"` //
}

type ResponseTagGetTagResponseDynamicRulesRulesItems struct {
Operation string `json:"operation,omitempty"` //
Name string `json:"name,omitempty"` //
Value string `json:"value,omitempty"` //
}

type ResponseTagCreateTag struct {
Version string `json:"version,omitempty"` //
Response *ResponseTagCreateTagResponse `json:"response,omitempty"` //
Expand Down Expand Up @@ -124,11 +131,17 @@ type ResponseTagGetTagByIDResponseDynamicRules struct {
Rules *ResponseTagGetTagByIDResponseDynamicRulesRules `json:"rules,omitempty"` //
}
type ResponseTagGetTagByIDResponseDynamicRulesRules struct {
Values []string `json:"values,omitempty"` //
Items string `json:"items,omitempty"` //
Operation string `json:"operation,omitempty"` //
Name string `json:"name,omitempty"` //
Value string `json:"value,omitempty"` //
Values []string `json:"values,omitempty"` //
Items *[]ResponseTagGetTagByIDResponseDynamicRulesRulesItems `json:"items,omitempty"` //
Operation string `json:"operation,omitempty"` //
Name string `json:"name,omitempty"` //
Value string `json:"value,omitempty"` //
}

type ResponseTagGetTagByIDResponseDynamicRulesRulesItems struct {
Operation string `json:"operation,omitempty"` //
Name string `json:"name,omitempty"` //
Value string `json:"value,omitempty"` //
}
type ResponseTagGetTagMembersByID struct {
Version string `json:"version,omitempty"` //
Expand Down Expand Up @@ -170,12 +183,19 @@ type RequestTagUpdateTagDynamicRules struct {
Rules *RequestTagUpdateTagDynamicRulesRules `json:"rules,omitempty"` //
}
type RequestTagUpdateTagDynamicRulesRules struct {
Values []string `json:"values,omitempty"` //
Items []string `json:"items,omitempty"` //
Operation string `json:"operation,omitempty"` //
Name string `json:"name,omitempty"` //
Value string `json:"value,omitempty"` //
Values []string `json:"values,omitempty"` //
Items *[]RequestTagUpdateTagDynamicRulesRulesItems `json:"items,omitempty"` //
Operation string `json:"operation,omitempty"` //
Name string `json:"name,omitempty"` //
Value string `json:"value,omitempty"` //
}

type RequestTagUpdateTagDynamicRulesRulesItems struct {
Operation string `json:"operation,omitempty"` //
Name string `json:"name,omitempty"` //
Value string `json:"value,omitempty"` //
}

type RequestTagCreateTag struct {
SystemTag *bool `json:"systemTag,omitempty"` //
Description string `json:"description,omitempty"` //
Expand All @@ -189,11 +209,13 @@ type RequestTagCreateTagDynamicRules struct {
Rules *RequestTagCreateTagDynamicRulesRules `json:"rules,omitempty"` //
}
type RequestTagCreateTagDynamicRulesRules struct {
Values []string `json:"values,omitempty"` //
Items string `json:"items,omitempty"` //
Operation string `json:"operation,omitempty"` //
Name string `json:"name,omitempty"` //
Value string `json:"value,omitempty"` //
Items *[]RequestTagCreateTagDynamicRulesRulesItems `json:"items,omitempty"` //
Operation string `json:"operation,omitempty"` //
}
type RequestTagCreateTagDynamicRulesRulesItems struct {
Operation string `json:"operation,omitempty"` //
Name string `json:"name,omitempty"` //
Value string `json:"value,omitempty"` //
}
type RequestTagUpdatesTagMembership struct {
MemberToTags map[string][]string `json:"memberToTags,omitempty"` //
Expand Down
Loading