azure-resourcemanager-compute/src/main/java/bio/terra/cloudres/azure/resourcemanager/compute/data/BaseComputeRequestData.java
/**
   * Serializes this object to JSON. Not overriding {@link ResourceManagerRequestData#serialize()}
   * to ensure subclasses implement their own serialize method.
   */
Serializes this object to JSON. Not overriding  ResourceManagerRequestData#serialize()
to ensure subclasses implement their own serialize method.
Serializes this object to JSON . Not overriding ResourceManagerRequestData#serialize () to ensure subclasses implement their own serialize method .
protected JsonObject serializeCommon() {
    JsonObject requestData = new JsonObject();
    requestData.addProperty("tenantId", tenantId());
    requestData.addProperty("subscriptionId", subscriptionId());
    requestData.addProperty("resourceGroupName", resourceGroupName());
    requestData.addProperty("name", name());
    requestData.addProperty("region", region().name());
    return requestData;
  }
protected JsonObject serializeCommon ( ) { JsonObject requestData = new JsonObject ( ) ; requestData . addProperty ( "tenantId" , tenantId ( ) ) ; requestData . addProperty ( "subscriptionId" , subscriptionId ( ) ) ; requestData . addProperty ( "resourceGroupName" , resourceGroupName ( ) ) ; requestData . addProperty ( "name" , name ( ) ) ; requestData . addProperty ( "region" , region ( ) . name ( ) ) ; return requestData ; }
Serializes this object to JSON.
Serializes this object to JSON .