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

[AutoPR] adhybridhealthservice/resource-manager #3002

Closed
Closed
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
@@ -0,0 +1,121 @@
/**
* 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.adhybridhealthservice;

import com.fasterxml.jackson.annotation.JsonProperty;

/**
* The additional information for a property.
*/
public class AdditionalInformation {
/**
* The title name for the property.
*/
@JsonProperty(value = "titleName")
private String titleName;

/**
* The title value for the property.
*/
@JsonProperty(value = "titleValue")
private String titleValue;

/**
* The list of properties which are included in the additional information.
*/
@JsonProperty(value = "properties")
private Object properties;

/**
* Indicates if properties are present or not.
*/
@JsonProperty(value = "hasProperties")
private Boolean hasProperties;

/**
* Get the title name for the property.
*
* @return the titleName value
*/
public String titleName() {
return this.titleName;
}

/**
* Set the title name for the property.
*
* @param titleName the titleName value to set
* @return the AdditionalInformation object itself.
*/
public AdditionalInformation withTitleName(String titleName) {
this.titleName = titleName;
return this;
}

/**
* Get the title value for the property.
*
* @return the titleValue value
*/
public String titleValue() {
return this.titleValue;
}

/**
* Set the title value for the property.
*
* @param titleValue the titleValue value to set
* @return the AdditionalInformation object itself.
*/
public AdditionalInformation withTitleValue(String titleValue) {
this.titleValue = titleValue;
return this;
}

/**
* Get the list of properties which are included in the additional information.
*
* @return the properties value
*/
public Object properties() {
return this.properties;
}

/**
* Set the list of properties which are included in the additional information.
*
* @param properties the properties value to set
* @return the AdditionalInformation object itself.
*/
public AdditionalInformation withProperties(Object properties) {
this.properties = properties;
return this;
}

/**
* Get indicates if properties are present or not.
*
* @return the hasProperties value
*/
public Boolean hasProperties() {
return this.hasProperties;
}

/**
* Set indicates if properties are present or not.
*
* @param hasProperties the hasProperties value to set
* @return the AdditionalInformation object itself.
*/
public AdditionalInformation withHasProperties(Boolean hasProperties) {
this.hasProperties = hasProperties;
return this;
}

}
Original file line number Diff line number Diff line change
@@ -0,0 +1,200 @@
/**
* 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.adhybridhealthservice;

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

/**
* The agent details.
*/
public class Agent {
/**
* The tenant Id.
*/
@JsonProperty(value = "tenantId")
private String tenantId;

/**
* The machine Id.
*/
@JsonProperty(value = "machineId")
private String machineId;

/**
* The agent credential details.
*/
@JsonProperty(value = "credential")
private Object credential;

/**
* The machine name.
*/
@JsonProperty(value = "machineName")
private String machineName;

/**
* The agent version.
*/
@JsonProperty(value = "agentVersion")
private String agentVersion;

/**
* The date and time, in UTC, when the agent was created.
*/
@JsonProperty(value = "createdDate")
private DateTime createdDate;

/**
* The connector hash key.
*/
@JsonProperty(value = "key")
private String key;

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

/**
* Set the tenant Id.
*
* @param tenantId the tenantId value to set
* @return the Agent object itself.
*/
public Agent withTenantId(String tenantId) {
this.tenantId = tenantId;
return this;
}

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

/**
* Set the machine Id.
*
* @param machineId the machineId value to set
* @return the Agent object itself.
*/
public Agent withMachineId(String machineId) {
this.machineId = machineId;
return this;
}

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

/**
* Set the agent credential details.
*
* @param credential the credential value to set
* @return the Agent object itself.
*/
public Agent withCredential(Object credential) {
this.credential = credential;
return this;
}

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

/**
* Set the machine name.
*
* @param machineName the machineName value to set
* @return the Agent object itself.
*/
public Agent withMachineName(String machineName) {
this.machineName = machineName;
return this;
}

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

/**
* Set the agent version.
*
* @param agentVersion the agentVersion value to set
* @return the Agent object itself.
*/
public Agent withAgentVersion(String agentVersion) {
this.agentVersion = agentVersion;
return this;
}

/**
* Get the date and time, in UTC, when the agent was created.
*
* @return the createdDate value
*/
public DateTime createdDate() {
return this.createdDate;
}

/**
* Set the date and time, in UTC, when the agent was created.
*
* @param createdDate the createdDate value to set
* @return the Agent object itself.
*/
public Agent withCreatedDate(DateTime createdDate) {
this.createdDate = createdDate;
return this;
}

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

/**
* Set the connector hash key.
*
* @param key the key value to set
* @return the Agent object itself.
*/
public Agent withKey(String key) {
this.key = key;
return this;
}

}
Original file line number Diff line number Diff line change
@@ -0,0 +1,74 @@
/**
* 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.adhybridhealthservice;

import java.util.Collection;
import com.fasterxml.jackson.annotation.JsonCreator;
import com.microsoft.rest.ExpandableStringEnum;

/**
* Defines values for AlgorithmStepType.
*/
public final class AlgorithmStepType extends ExpandableStringEnum<AlgorithmStepType> {
/** Static value Undefined for AlgorithmStepType. */
public static final AlgorithmStepType UNDEFINED = fromString("Undefined");

/** Static value Staging for AlgorithmStepType. */
public static final AlgorithmStepType STAGING = fromString("Staging");

/** Static value ConnectorFilter for AlgorithmStepType. */
public static final AlgorithmStepType CONNECTOR_FILTER = fromString("ConnectorFilter");

/** Static value Join for AlgorithmStepType. */
public static final AlgorithmStepType JOIN = fromString("Join");

/** Static value Projection for AlgorithmStepType. */
public static final AlgorithmStepType PROJECTION = fromString("Projection");

/** Static value ImportFlow for AlgorithmStepType. */
public static final AlgorithmStepType IMPORT_FLOW = fromString("ImportFlow");

/** Static value Provisioning for AlgorithmStepType. */
public static final AlgorithmStepType PROVISIONING = fromString("Provisioning");

/** Static value ValidateConnectorFilter for AlgorithmStepType. */
public static final AlgorithmStepType VALIDATE_CONNECTOR_FILTER = fromString("ValidateConnectorFilter");

/** Static value Deprovisioning for AlgorithmStepType. */
public static final AlgorithmStepType DEPROVISIONING = fromString("Deprovisioning");

/** Static value ExportFlow for AlgorithmStepType. */
public static final AlgorithmStepType EXPORT_FLOW = fromString("ExportFlow");

/** Static value MvDeletion for AlgorithmStepType. */
public static final AlgorithmStepType MV_DELETION = fromString("MvDeletion");

/** Static value Recall for AlgorithmStepType. */
public static final AlgorithmStepType RECALL = fromString("Recall");

/** Static value MvObjectTypeChange for AlgorithmStepType. */
public static final AlgorithmStepType MV_OBJECT_TYPE_CHANGE = fromString("MvObjectTypeChange");

/**
* Creates or finds a AlgorithmStepType from its string representation.
* @param name a name to look for
* @return the corresponding AlgorithmStepType
*/
@JsonCreator
public static AlgorithmStepType fromString(String name) {
return fromString(name, AlgorithmStepType.class);
}

/**
* @return known AlgorithmStepType values
*/
public static Collection<AlgorithmStepType> values() {
return values(AlgorithmStepType.class);
}
}
Loading