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 Details

    • FarmBeatsSolutionProperties

      public FarmBeatsSolutionProperties()
      Creates an instance of FarmBeatsSolutionProperties class.
  • Method Details

    • partnerId

      public String partnerId()
      Get the partnerId property: Solution Partner Id.
      Returns:
      the partnerId value.
    • partnerTenantId

      public String partnerTenantId()
      Get the partnerTenantId property: Solution Partner Tenant Id.
      Returns:
      the partnerTenantId value.
    • dataAccessScopes

      public List<String> 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

      public MarketplaceOfferDetails 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

      public List<ResourceParameter> 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

      public Map<String,Object> 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

      public Map<String,SolutionEvaluatedOutput> 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

      public UUID 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

      public UUID saaSApplicationId()
      Get the saaSApplicationId property: Application id of the SaaS multi tenant application.
      Returns:
      the saaSApplicationId value.
    • actionIds

      public List<String> 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

      public String roleId()
      Get the roleId property: Role Id of the SaaS multi tenant application to access relevant fb data.
      Returns:
      the roleId value.
    • roleName

      public String roleName()
      Get the roleName property: Role Name of the SaaS multi tenant application to access relevant fb data.
      Returns:
      the roleName value.
    • accessFBApplicationName

      public String 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

      public com.azure.json.JsonWriter toJson(com.azure.json.JsonWriter jsonWriter) throws IOException
      Specified by:
      toJson in interface com.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.