UserSourceInfo Class
- java.
lang. Object - com.
azure. resourcemanager. appplatform. models. UserSourceInfo
- com.
Implements
public class UserSourceInfo
implements JsonSerializable<UserSourceInfo>
Source information for a deployment.
Constructor Summary
Constructor | Description |
---|---|
UserSourceInfo() |
Creates an instance of User |
Method Summary
Modifier and Type | Method and Description |
---|---|
static
User |
fromJson(JsonReader jsonReader)
Reads an instance of User |
Json |
toJson(JsonWriter jsonWriter) |
String |
type()
Get the type property: Type of the source uploaded. |
void |
validate()
Validates the instance. |
String |
version()
Get the version property: Version of the source. |
User |
withVersion(String version)
Set the version property: Version of the source. |
Methods inherited from java.lang.Object
Constructor Details
UserSourceInfo
public UserSourceInfo()
Creates an instance of UserSourceInfo class.
Method Details
fromJson
public static UserSourceInfo fromJson(JsonReader jsonReader)
Reads an instance of UserSourceInfo from the JsonReader.
Parameters:
Returns:
Throws:
toJson
type
public String type()
Get the type property: Type of the source uploaded.
Returns:
validate
public void validate()
Validates the instance.
version
public String version()
Get the version property: Version of the source.
Returns:
withVersion
public UserSourceInfo withVersion(String version)
Set the version property: Version of the source.
Parameters:
Returns:
Applies to
Azure SDK for Java