Class ReccomendGroupChunksRequest


  • @Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
               date="2024-03-29T12:34:27.506198300-05:00[America/Chicago]",
               comments="Generator version: 7.4.0")
    public class ReccomendGroupChunksRequest
    extends Object
    ReccomendGroupChunksRequest
    • Constructor Detail

      • ReccomendGroupChunksRequest

        public ReccomendGroupChunksRequest()
    • Method Detail

      • setFilters

        public void setFilters​(ChunkFilter filters)
      • getGroupSize

        @Nullable
        @Min(0L)
        public @Min(0L) Integer getGroupSize()
        The number of chunks to fetch for each group. This is the number of chunks which will be returned in the response for each group. The default is 10. minimum: 0
        Returns:
        groupSize
      • setGroupSize

        public void setGroupSize​(Integer groupSize)
      • getLimit

        @Nullable
        @Min(0L)
        public @Min(0L) Long getLimit()
        The number of groups to return. This is the number of groups which will be returned in the response. The default is 10. minimum: 0
        Returns:
        limit
      • setLimit

        public void setLimit​(Long limit)
      • getNegativeGroupIds

        @Nullable
        @Valid
        public @Valid List<UUID> getNegativeGroupIds()
        The ids of the groups to be used as negative examples for the recommendation. The groups in this array will be used to filter out similar groups.
        Returns:
        negativeGroupIds
      • setNegativeGroupIds

        public void setNegativeGroupIds​(List<UUID> negativeGroupIds)
      • getNegativeGroupTrackingIds

        @Nullable
        public List<String> getNegativeGroupTrackingIds()
        The ids of the groups to be used as negative examples for the recommendation. The groups in this array will be used to filter out similar groups.
        Returns:
        negativeGroupTrackingIds
      • setNegativeGroupTrackingIds

        public void setNegativeGroupTrackingIds​(List<String> negativeGroupTrackingIds)
      • getPositiveGroupIds

        @Nullable
        @Valid
        public @Valid List<UUID> getPositiveGroupIds()
        The ids of the groups to be used as positive examples for the recommendation. The groups in this array will be used to find similar groups.
        Returns:
        positiveGroupIds
      • setPositiveGroupIds

        public void setPositiveGroupIds​(List<UUID> positiveGroupIds)
      • getPositiveGroupTrackingIds

        @Nullable
        public List<String> getPositiveGroupTrackingIds()
        The ids of the groups to be used as positive examples for the recommendation. The groups in this array will be used to find similar groups.
        Returns:
        positiveGroupTrackingIds
      • setPositiveGroupTrackingIds

        public void setPositiveGroupTrackingIds​(List<String> positiveGroupTrackingIds)
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object
      • validateJsonElement

        public static void validateJsonElement​(com.google.gson.JsonElement jsonElement)
                                        throws IOException
        Validates the JSON Element and throws an exception if issues found
        Parameters:
        jsonElement - JSON Element
        Throws:
        IOException - if the JSON Element is invalid with respect to ReccomendGroupChunksRequest
      • fromJson

        public static ReccomendGroupChunksRequest fromJson​(String jsonString)
                                                    throws IOException
        Create an instance of ReccomendGroupChunksRequest given an JSON string
        Parameters:
        jsonString - JSON string
        Returns:
        An instance of ReccomendGroupChunksRequest
        Throws:
        IOException - if the JSON string is invalid with respect to ReccomendGroupChunksRequest
      • toJson

        public String toJson()
        Convert an instance of ReccomendGroupChunksRequest to an JSON string
        Returns:
        JSON string