-
Notifications
You must be signed in to change notification settings - Fork 26
[artifact-manager] (#669) Fix failure during pull of vROPs Policies
#678
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
Merged
Merged
Changes from all commits
Commits
Show all changes
14 commits
Select commit
Hold shift + click to select a range
73d5ae8
[Task 669] fix: Fixed problem with exporting policies due to missing …
7650c0b
[Task 669] fix: Fixed linter issues.
b434a24
[Task 669] fix: Fixed formatting.
2371ef4
[Task 669] merge: Merged with main.
fbec6a8
[Task 669] fix: Fixed linter issues.
20636d3
[Task 669] merge: Merged with main.
53af19f
[Task 669] merge: merge with main.
ca408c5
[Task 669] merge: merge with main.
7f8769d
[Task 669] merge: merge with main.
5a5d885
[Task 669] merge: merge with main.
56f46ae
Merge branch 'main' into fix/669-vrops-pull-policy-failure
VenelinBakalov 12389cf
Merge branch 'main' into fix/669-vrops-pull-policy-failure
VenelinBakalov 2b9c43a
[Task 669] docs: Fixed release file.
365c1a1
[Task 669] merge: Merged from main.
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
118 changes: 96 additions & 22 deletions
118
...rc/main/java/com/vmware/pscoe/iac/artifact/aria/operations/models/CustomGroupTypeDTO.java
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,35 +1,109 @@ | ||
/* | ||
* #%L | ||
* artifact-manager | ||
* %% | ||
* Copyright (C) 2023 VMware | ||
* %% | ||
* Build Tools for VMware Aria | ||
* Copyright 2023 VMware, Inc. | ||
* #%L artifact-manager %% Copyright (C) 2023 VMware %% Build Tools for VMware Aria Copyright 2023 | ||
* VMware, Inc. | ||
* | ||
* This product is licensed to you under the BSD-2 license (the "License"). You may not use this product except in compliance with the BSD-2 License. | ||
* This product is licensed to you under the BSD-2 license (the "License"). You may not use this | ||
* product except in compliance with the BSD-2 License. | ||
* | ||
* This product may include a number of subcomponents with separate copyright notices and license terms. Your use of these subcomponents is subject to the terms and conditions of the subcomponent's license, as noted in the LICENSE file. | ||
* #L% | ||
* This product may include a number of subcomponents with separate copyright notices and license | ||
* terms. Your use of these subcomponents is subject to the terms and conditions of the | ||
* subcomponent's license, as noted in the LICENSE file. #L% | ||
*/ | ||
package com.vmware.pscoe.iac.artifact.aria.operations.models; | ||
|
||
import java.util.LinkedHashMap; | ||
import java.util.Map; | ||
import com.fasterxml.jackson.annotation.JsonAnyGetter; | ||
import com.fasterxml.jackson.annotation.JsonAnySetter; | ||
import com.fasterxml.jackson.annotation.JsonIgnore; | ||
import com.fasterxml.jackson.annotation.JsonInclude; | ||
import com.fasterxml.jackson.annotation.JsonProperty; | ||
import com.fasterxml.jackson.annotation.JsonPropertyOrder; | ||
|
||
@JsonPropertyOrder({ "name" }) | ||
public class CustomGroupTypeDTO { | ||
/** | ||
* Represents a Data Transfer Object (DTO) for a custom group type in VMware Aria Operations. This | ||
* class is used for serializing and de-serializing JSON data related to custom group types. | ||
*/ | ||
@JsonPropertyOrder({"name", "key"}) | ||
@JsonInclude(JsonInclude.Include.NON_NULL) | ||
public final class CustomGroupTypeDTO { | ||
|
||
/** | ||
* The name of the custom group type. | ||
*/ | ||
@JsonProperty("name") | ||
private String name; | ||
|
||
/** | ||
* The unique key of the custom group type. | ||
*/ | ||
@JsonProperty("key") | ||
private String key; | ||
|
||
/** | ||
* A map to hold additional properties that are not explicitly defined in this class. | ||
*/ | ||
@JsonIgnore | ||
private Map<String, Object> additionalProperties = new LinkedHashMap<>(); | ||
|
||
/** | ||
* Gets the name of the custom group type. | ||
* | ||
* @return the name of the custom group type. | ||
*/ | ||
@JsonProperty("name") | ||
public String getName() { | ||
return name; | ||
} | ||
|
||
/** | ||
* Sets the name of the custom group type. | ||
* | ||
* @param name the name to set. | ||
*/ | ||
@JsonProperty("name") | ||
public void setName(String name) { | ||
this.name = name; | ||
} | ||
|
||
/** | ||
* Gets the unique key of the custom group type. | ||
* | ||
* @return the key of the custom group type. | ||
*/ | ||
@JsonProperty("key") | ||
public String getKey() { | ||
return key; | ||
} | ||
|
||
@JsonProperty("name") | ||
private String name; | ||
/** | ||
* Sets the unique key of the custom group type. | ||
* | ||
* @param key the key to set. | ||
*/ | ||
@JsonProperty("key") | ||
public void setKey(String key) { | ||
this.key = key; | ||
} | ||
|
||
@JsonProperty("name") | ||
public String getName() { | ||
return name; | ||
} | ||
/** | ||
* Gets the additional properties that are not explicitly defined in this class. | ||
* | ||
* @return a map of additional properties. | ||
*/ | ||
@JsonAnyGetter | ||
public Map<String, Object> getAdditionalProperties() { | ||
return this.additionalProperties; | ||
} | ||
|
||
@JsonProperty("name") | ||
public void setName(String name) { | ||
this.name = name; | ||
} | ||
/** | ||
* Sets an additional property that is not explicitly defined in this class. | ||
* | ||
* @param name the name of the additional property. | ||
* @param value the value of the additional property. | ||
*/ | ||
@JsonAnySetter | ||
public void setAdditionalProperty(String name, Object value) { | ||
this.additionalProperties.put(name, value); | ||
} | ||
} |
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.