Class FarmBeatsSolutionProperties
java.lang.Object
com.azure.resourcemanager.agrifood.models.FarmBeatsSolutionProperties
- All Implemented Interfaces:
com.azure.json.JsonSerializable<FarmBeatsSolutionProperties>
public final class FarmBeatsSolutionProperties
extends Object
implements com.azure.json.JsonSerializable<FarmBeatsSolutionProperties>
FarmBeatsSolution properties.
-
Constructor Summary
ConstructorsConstructorDescriptionCreates an instance of FarmBeatsSolutionProperties class. -
Method Summary
Modifier and TypeMethodDescriptionGet the accessFBApplicationId property: Application id of the multi tenant application to be used by partner to access FarmBeats data.Get the accessFBApplicationName property: Application name of the multi tenant application to be used by partner to access FarmBeatsData.Get the actionIds property: List of ActionIds needed to make the SaaS multi tenant application access relevant fb data.Get the dataAccessScopes property: Gets scope of the FarmBeats data access that's required for processing solution request to partner.Get the evaluatedOutputsDictionary property: Gets example name: insight sample response Dictionary to capture all variations of computed results ingested by partner.static FarmBeatsSolutionPropertiesfromJson(com.azure.json.JsonReader jsonReader) Reads an instance of FarmBeatsSolutionProperties from the JsonReader.Get the inputParametersValidationScopes property: Gets scope of the FarmBeats related parameters that need to be validated in apiInputParameters.Get the marketplaceOfferDetails property: The marketplaceOfferDetails property.Get the openApiSpecsDictionary property: Gets apiVersion: Swagger Document Dictionary to capture all api versions of swagger exposed by partner to farmbeats.Get the partnerId property: Solution Partner Id.Get the partnerTenantId property: Solution Partner Tenant Id.roleId()Get the roleId property: Role Id of the SaaS multi tenant application to access relevant fb data.roleName()Get the roleName property: Role Name of the SaaS multi tenant application to access relevant fb data.Get the saaSApplicationId property: Application id of the SaaS multi tenant application.com.azure.json.JsonWritertoJson(com.azure.json.JsonWriter jsonWriter) voidvalidate()Validates the instance.withMarketplaceOfferDetails(MarketplaceOfferDetails marketplaceOfferDetails) Set the marketplaceOfferDetails property: The marketplaceOfferDetails property.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
-
FarmBeatsSolutionProperties
public FarmBeatsSolutionProperties()Creates an instance of FarmBeatsSolutionProperties class.
-
-
Method Details
-
partnerId
Get the partnerId property: Solution Partner Id.- Returns:
- the partnerId value.
-
partnerTenantId
Get the partnerTenantId property: Solution Partner Tenant Id.- Returns:
- the partnerTenantId value.
-
dataAccessScopes
Get the dataAccessScopes property: Gets scope of the FarmBeats data access that's required for processing solution request to partner. Example: For gdd they might need weatherScope and satelliteScope.- Returns:
- the dataAccessScopes value.
-
marketplaceOfferDetails
Get the marketplaceOfferDetails property: The marketplaceOfferDetails property.- Returns:
- the marketplaceOfferDetails value.
-
withMarketplaceOfferDetails
public FarmBeatsSolutionProperties withMarketplaceOfferDetails(MarketplaceOfferDetails marketplaceOfferDetails) Set the marketplaceOfferDetails property: The marketplaceOfferDetails property.- Parameters:
marketplaceOfferDetails- the marketplaceOfferDetails value to set.- Returns:
- the FarmBeatsSolutionProperties object itself.
-
inputParametersValidationScopes
Get the inputParametersValidationScopes property: Gets scope of the FarmBeats related parameters that need to be validated in apiInputParameters. Example: For if 'FarmHierarchy' is the input scope for 'WeatherScope' data access For working with WeatherScope we need FarmHierarchy info implies 'farmerId', 'resourceId', 'resourceType' in request body.- Returns:
- the inputParametersValidationScopes value.
-
openApiSpecsDictionary
Get the openApiSpecsDictionary property: Gets apiVersion: Swagger Document Dictionary to capture all api versions of swagger exposed by partner to farmbeats.- Returns:
- the openApiSpecsDictionary value.
-
evaluatedOutputsDictionary
Get the evaluatedOutputsDictionary property: Gets example name: insight sample response Dictionary to capture all variations of computed results ingested by partner.- Returns:
- the evaluatedOutputsDictionary value.
-
accessFBApplicationId
Get the accessFBApplicationId property: Application id of the multi tenant application to be used by partner to access FarmBeats data.- Returns:
- the accessFBApplicationId value.
-
saaSApplicationId
Get the saaSApplicationId property: Application id of the SaaS multi tenant application.- Returns:
- the saaSApplicationId value.
-
actionIds
Get the actionIds property: List of ActionIds needed to make the SaaS multi tenant application access relevant fb data.- Returns:
- the actionIds value.
-
roleId
Get the roleId property: Role Id of the SaaS multi tenant application to access relevant fb data.- Returns:
- the roleId value.
-
roleName
Get the roleName property: Role Name of the SaaS multi tenant application to access relevant fb data.- Returns:
- the roleName value.
-
accessFBApplicationName
Get the accessFBApplicationName property: Application name of the multi tenant application to be used by partner to access FarmBeatsData.- Returns:
- the accessFBApplicationName 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<FarmBeatsSolutionProperties>- Throws:
IOException
-
fromJson
public static FarmBeatsSolutionProperties fromJson(com.azure.json.JsonReader jsonReader) throws IOException Reads an instance of FarmBeatsSolutionProperties from the JsonReader.- Parameters:
jsonReader- The JsonReader being read.- Returns:
- An instance of FarmBeatsSolutionProperties 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 FarmBeatsSolutionProperties.
-