Class FarmBeatsExtensionProperties
java.lang.Object
com.azure.resourcemanager.agrifood.fluent.models.FarmBeatsExtensionProperties
- All Implemented Interfaces:
com.azure.json.JsonSerializable<FarmBeatsExtensionProperties>
public final class FarmBeatsExtensionProperties
extends Object
implements com.azure.json.JsonSerializable<FarmBeatsExtensionProperties>
FarmBeatsExtension properties.
-
Constructor Summary
ConstructorsConstructorDescriptionCreates an instance of FarmBeatsExtensionProperties class. -
Method Summary
Modifier and TypeMethodDescriptionGet the description property: Textual description.Get the detailedInformation property: Detailed information which shows summary of requested data.Get the extensionApiDocsLink property: FarmBeatsExtension api docs link.Get the extensionAuthLink property: FarmBeatsExtension auth link.Get the extensionCategory property: Category of the extension. e.g. weather/sensor/satellite.Get the farmBeatsExtensionId property: FarmBeatsExtension ID.Get the farmBeatsExtensionName property: FarmBeatsExtension name.Get the farmBeatsExtensionVersion property: FarmBeatsExtension version.static FarmBeatsExtensionPropertiesfromJson(com.azure.json.JsonReader jsonReader) Reads an instance of FarmBeatsExtensionProperties from the JsonReader.Get the publisherId property: Publisher ID.Get the targetResourceType property: Target ResourceType of the farmBeatsExtension.com.azure.json.JsonWritertoJson(com.azure.json.JsonWriter jsonWriter) voidvalidate()Validates the instance.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.azure.json.JsonSerializable
toJson, toJson, toJsonBytes, toJsonString
-
Constructor Details
-
FarmBeatsExtensionProperties
public FarmBeatsExtensionProperties()Creates an instance of FarmBeatsExtensionProperties class.
-
-
Method Details
-
targetResourceType
Get the targetResourceType property: Target ResourceType of the farmBeatsExtension.- Returns:
- the targetResourceType value.
-
farmBeatsExtensionId
Get the farmBeatsExtensionId property: FarmBeatsExtension ID.- Returns:
- the farmBeatsExtensionId value.
-
farmBeatsExtensionName
Get the farmBeatsExtensionName property: FarmBeatsExtension name.- Returns:
- the farmBeatsExtensionName value.
-
farmBeatsExtensionVersion
Get the farmBeatsExtensionVersion property: FarmBeatsExtension version.- Returns:
- the farmBeatsExtensionVersion value.
-
publisherId
Get the publisherId property: Publisher ID.- Returns:
- the publisherId value.
-
description
Get the description property: Textual description.- Returns:
- the description value.
-
extensionCategory
Get the extensionCategory property: Category of the extension. e.g. weather/sensor/satellite.- Returns:
- the extensionCategory value.
-
extensionAuthLink
Get the extensionAuthLink property: FarmBeatsExtension auth link.- Returns:
- the extensionAuthLink value.
-
extensionApiDocsLink
Get the extensionApiDocsLink property: FarmBeatsExtension api docs link.- Returns:
- the extensionApiDocsLink value.
-
detailedInformation
Get the detailedInformation property: Detailed information which shows summary of requested data. Used in descriptive get extension metadata call. Information for weather category per api included are apisSupported, customParameters, PlatformParameters and Units supported.- Returns:
- the detailedInformation value.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-
toJson
- Specified by:
toJsonin interfacecom.azure.json.JsonSerializable<FarmBeatsExtensionProperties>- Throws:
IOException
-
fromJson
public static FarmBeatsExtensionProperties fromJson(com.azure.json.JsonReader jsonReader) throws IOException Reads an instance of FarmBeatsExtensionProperties from the JsonReader.- Parameters:
jsonReader- The JsonReader being read.- Returns:
- An instance of FarmBeatsExtensionProperties if the JsonReader was pointing to an instance of it, or null if it was pointing to JSON null.
- Throws:
IOException- If an error occurs while reading the FarmBeatsExtensionProperties.
-