Skip to content
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
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
import com.fasterxml.jackson.annotation.JsonProperty;

/**
* The AS2 agreement acknowledegment connection settings.
* The AS2 agreement acknowledgement connection settings.
*/
public class AS2AcknowledgementConnectionSettings {
/**
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
import com.fasterxml.jackson.annotation.JsonProperty;

/**
* The integration account AS2 oneway agreement.
* The integration account AS2 one-way agreement.
*/
public class AS2OneWayAgreement {
/**
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,43 @@
/**
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the MIT License. See License.txt in the project root for
* license information.
*
* Code generated by Microsoft (R) AutoRest Code Generator.
*/

package com.microsoft.azure.management.logic;

import com.fasterxml.jackson.annotation.JsonProperty;

/**
* The AccessKeyRegenerateActionDefinition model.
*/
public class AccessKeyRegenerateActionDefinition {
/**
* Possible values include: 'NotSpecified', 'Primary', 'Secondary'.
*/
@JsonProperty(value = "keyType", required = true)
private AccessKeyType keyType;

/**
* Get the keyType value.
*
* @return the keyType value
*/
public AccessKeyType keyType() {
return this.keyType;
}

/**
* Set the keyType value.
*
* @param keyType the keyType value to set
* @return the AccessKeyRegenerateActionDefinition object itself.
*/
public AccessKeyRegenerateActionDefinition withKeyType(AccessKeyType keyType) {
this.keyType = keyType;
return this;
}

}
Original file line number Diff line number Diff line change
@@ -0,0 +1,56 @@
/**
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the MIT License. See License.txt in the project root for
* license information.
*
* Code generated by Microsoft (R) AutoRest Code Generator.
*/

package com.microsoft.azure.management.logic;

import com.fasterxml.jackson.annotation.JsonCreator;
import com.fasterxml.jackson.annotation.JsonValue;

/**
* Defines values for AccessKeyType.
*/
public enum AccessKeyType {
/** Enum value NotSpecified. */
NOT_SPECIFIED("NotSpecified"),

/** Enum value Primary. */
PRIMARY("Primary"),

/** Enum value Secondary. */
SECONDARY("Secondary");

/** The actual serialized value for a AccessKeyType instance. */
private String value;

AccessKeyType(String value) {
this.value = value;
}

/**
* Parses a serialized value to a AccessKeyType instance.
*
* @param value the serialized value to parse.
* @return the parsed AccessKeyType object, or null if unable to parse.
*/
@JsonCreator
public static AccessKeyType fromString(String value) {
AccessKeyType[] items = AccessKeyType.values();
for (AccessKeyType item : items) {
if (item.toString().equalsIgnoreCase(value)) {
return item;
}
}
return null;
}

@JsonValue
@Override
public String toString() {
return this.value;
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,95 @@
/**
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the MIT License. See License.txt in the project root for
* license information.
*
* Code generated by Microsoft (R) AutoRest Code Generator.
*/

package com.microsoft.azure.management.logic;

import com.fasterxml.jackson.annotation.JsonProperty;

/**
* The artifact content properties definition.
*/
public class ArtifactContentPropertiesDefinition extends ArtifactProperties {
/**
* The content property.
*/
@JsonProperty(value = "content")
private Object content;

/**
* The content type.
*/
@JsonProperty(value = "contentType")
private String contentType;

/**
* The content link.
*/
@JsonProperty(value = "contentLink")
private ContentLink contentLink;

/**
* Get the content value.
*
* @return the content value
*/
public Object content() {
return this.content;
}

/**
* Set the content value.
*
* @param content the content value to set
* @return the ArtifactContentPropertiesDefinition object itself.
*/
public ArtifactContentPropertiesDefinition withContent(Object content) {
this.content = content;
return this;
}

/**
* Get the contentType value.
*
* @return the contentType value
*/
public String contentType() {
return this.contentType;
}

/**
* Set the contentType value.
*
* @param contentType the contentType value to set
* @return the ArtifactContentPropertiesDefinition object itself.
*/
public ArtifactContentPropertiesDefinition withContentType(String contentType) {
this.contentType = contentType;
return this;
}

/**
* Get the contentLink value.
*
* @return the contentLink value
*/
public ContentLink contentLink() {
return this.contentLink;
}

/**
* Set the contentLink value.
*
* @param contentLink the contentLink value to set
* @return the ArtifactContentPropertiesDefinition object itself.
*/
public ArtifactContentPropertiesDefinition withContentLink(ContentLink contentLink) {
this.contentLink = contentLink;
return this;
}

}
Original file line number Diff line number Diff line change
@@ -0,0 +1,96 @@
/**
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the MIT License. See License.txt in the project root for
* license information.
*
* Code generated by Microsoft (R) AutoRest Code Generator.
*/

package com.microsoft.azure.management.logic;

import org.joda.time.DateTime;
import com.fasterxml.jackson.annotation.JsonProperty;

/**
* The artifact properties definition.
*/
public class ArtifactProperties {
/**
* The artifact creation time.
*/
@JsonProperty(value = "createdTime")
private DateTime createdTime;

/**
* The artifact changed time.
*/
@JsonProperty(value = "changedTime")
private DateTime changedTime;

/**
* The metadata property.
*/
@JsonProperty(value = "metadata")
private Object metadata;

/**
* Get the createdTime value.
*
* @return the createdTime value
*/
public DateTime createdTime() {
return this.createdTime;
}

/**
* Set the createdTime value.
*
* @param createdTime the createdTime value to set
* @return the ArtifactProperties object itself.
*/
public ArtifactProperties withCreatedTime(DateTime createdTime) {
this.createdTime = createdTime;
return this;
}

/**
* Get the changedTime value.
*
* @return the changedTime value
*/
public DateTime changedTime() {
return this.changedTime;
}

/**
* Set the changedTime value.
*
* @param changedTime the changedTime value to set
* @return the ArtifactProperties object itself.
*/
public ArtifactProperties withChangedTime(DateTime changedTime) {
this.changedTime = changedTime;
return this;
}

/**
* Get the metadata value.
*
* @return the metadata value
*/
public Object metadata() {
return this.metadata;
}

/**
* Set the metadata value.
*
* @param metadata the metadata value to set
* @return the ArtifactProperties object itself.
*/
public ArtifactProperties withMetadata(Object metadata) {
this.metadata = metadata;
return this;
}

}
Loading