test_class.file: sdk-libs/halo-content/src/test/java/com/mobgen/halo/android/content/models/SearchQueryTest.java
test_class.identifier: SearchQueryTest
test_class.superclass: extends HaloRobolectricTest
test_case.body: @Test
      public void thatCanSearchToFilterTargetRelationshipsWithAArrayGiven() {
          SearchQuery query = SearchQuery.builder()
                  .relatedInstances(new Relationship[]{Relationship.create("fieldname", "1"), Relationship.create("fieldname", "2")})
                  .build();
          assertThat(query.mRelationships.size()).isEqualTo(2);
          assertTrue(query.mRelationships.get(0).getFieldName().equals("fieldname"));
      }
test_case.class_method_signature: SearchQueryTest.thatCanSearchToFilterTargetRelationshipsWithAArrayGiven()
test_case.full_signature: @Test public void thatCanSearchToFilterTargetRelationshipsWithAArrayGiven()
test_case.identifier: thatCanSearchToFilterTargetRelationshipsWithAArrayGiven
test_case.invocations: build relatedInstances builder create create isEqualTo assertThat size assertTrue equals getFieldName get
test_case.modifiers: @Test public
test_case.parameters: ()
test_case.return: void
test_case.signature: void thatCanSearchToFilterTargetRelationshipsWithAArrayGiven()
focal_class.declarator: TOTAL_MATCH = "total"
focal_class.modifier: @Keep
      @Api(2.0)
      public static final
focal_class.original_string: @Keep
      @Api(2.0)
      public static final String TOTAL_MATCH = "total";
focal_class.type: String
focal_class.var_name: TOTAL_MATCH
focal_class.declarator: PARTIAL_MATCH = "partial"
focal_class.modifier: @Keep
      @Api(2.0)
      public static final
focal_class.original_string: @Keep
      @Api(2.0)
      public static final String PARTIAL_MATCH = "partial";
focal_class.type: String
focal_class.var_name: PARTIAL_MATCH
focal_class.declarator: mModuleIds
focal_class.modifier: @Nullable
      @JsonField(name = "moduleIds")
focal_class.original_string: @Nullable
      @JsonField(name = "moduleIds")
      List<String> mModuleIds;
focal_class.type: List<String>
focal_class.var_name: mModuleIds
focal_class.declarator: mInstanceIds
focal_class.modifier: @Nullable
      @JsonField(name = "instanceIds")
focal_class.original_string: @Nullable
      @JsonField(name = "instanceIds")
      List<String> mInstanceIds;
focal_class.type: List<String>
focal_class.var_name: mInstanceIds
focal_class.declarator: mRelationships
focal_class.modifier: @Nullable
      @JsonField(name = "relatedTo")
focal_class.original_string: @Nullable
      @JsonField(name = "relatedTo")
      List<Relationship> mRelationships;
focal_class.type: List<Relationship>
focal_class.var_name: mRelationships
focal_class.declarator: mFieldNames
focal_class.modifier: @Nullable
      @JsonField(name = "fields")
focal_class.original_string: @Nullable
      @JsonField(name = "fields")
      List<String> mFieldNames;
focal_class.type: List<String>
focal_class.var_name: mFieldNames
focal_class.declarator: mPopulateNames
focal_class.modifier: @Nullable
      @JsonField(name = "include")
focal_class.original_string: @Nullable
      @JsonField(name = "include")
      List<String> mPopulateNames;
focal_class.type: List<String>
focal_class.var_name: mPopulateNames
focal_class.declarator: mPagination
focal_class.modifier: @Nullable
      @JsonField(name = "pagination")
focal_class.original_string: @Nullable
      @JsonField(name = "pagination")
      PaginationCriteria mPagination;
focal_class.type: PaginationCriteria
focal_class.var_name: mPagination
focal_class.declarator: mTags
focal_class.modifier: @Nullable
      @JsonField(name = "segmentTags")
focal_class.original_string: @Nullable
      @JsonField(name = "segmentTags")
      List<HaloSegmentationTag> mTags;
focal_class.type: List<HaloSegmentationTag>
focal_class.var_name: mTags
focal_class.declarator: mSearch
focal_class.modifier: @Nullable
      @JsonField(name = "searchValues")
focal_class.original_string: @Nullable
      @JsonField(name = "searchValues")
      SearchExpression mSearch;
focal_class.type: SearchExpression
focal_class.var_name: mSearch
focal_class.declarator: mMetaSearch
focal_class.modifier: @Nullable
      @JsonField(name = "metaSearch")
focal_class.original_string: @Nullable
      @JsonField(name = "metaSearch")
      SearchExpression mMetaSearch;
focal_class.type: SearchExpression
focal_class.var_name: mMetaSearch
focal_class.declarator: mLocale
focal_class.modifier: @Nullable
      @JsonField(name = "locale")
focal_class.original_string: @Nullable
      @JsonField(name = "locale")
      String mLocale;
focal_class.type: String
focal_class.var_name: mLocale
focal_class.declarator: mModuleName
focal_class.modifier: @Nullable
      @JsonField(name = "moduleName")
focal_class.original_string: @Nullable
      @JsonField(name = "moduleName")
      String mModuleName;
focal_class.type: String
focal_class.var_name: mModuleName
focal_class.declarator: mSegmentMode
focal_class.modifier: @Nullable
      @JsonField(name = "segmentMode")
      @SegmentMode
focal_class.original_string: @Nullable
      @JsonField(name = "segmentMode")
      @SegmentMode
      String mSegmentMode;
focal_class.type: String
focal_class.var_name: mSegmentMode
focal_class.declarator: mSearchSort
focal_class.modifier: @Nullable
      @JsonField(name = "sort")
focal_class.original_string: @Nullable
      @JsonField(name = "sort")
      String mSearchSort;
focal_class.type: String
focal_class.var_name: mSearchSort
focal_class.declarator: mSegmentWithDevice
focal_class.modifier: private transient
focal_class.original_string: private transient boolean mSegmentWithDevice;
focal_class.type: boolean
focal_class.var_name: mSegmentWithDevice
focal_class.declarator: mTtl = TimeUnit.DAYS.toMillis(2)
focal_class.modifier: private transient
focal_class.original_string: private transient long mTtl = TimeUnit.DAYS.toMillis(2);
focal_class.type: long
focal_class.var_name: mTtl
focal_class.declarator: mSearchTag
focal_class.modifier: private transient
focal_class.original_string: private transient String mSearchTag;
focal_class.type: String
focal_class.var_name: mSearchTag
focal_class.declarator: mCacheTime
focal_class.modifier: private
focal_class.original_string: private int mCacheTime;
focal_class.type: int
focal_class.var_name: mCacheTime
focal_class.declarator: CREATOR = new Creator<SearchQuery>() {
          @Override
          public SearchQuery createFromParcel(Parcel source) {
              return new SearchQuery(source);
          }
  
          @Override
          public SearchQuery[] newArray(int size) {
              return new SearchQuery[size];
          }
      }
focal_class.modifier: public static final
focal_class.original_string: public static final Creator<SearchQuery> CREATOR = new Creator<SearchQuery>() {
          @Override
          public SearchQuery createFromParcel(Parcel source) {
              return new SearchQuery(source);
          }
  
          @Override
          public SearchQuery[] newArray(int size) {
              return new SearchQuery[size];
          }
      };
focal_class.type: Creator<SearchQuery>
focal_class.var_name: CREATOR
focal_class.file: sdk-libs/halo-content/src/main/java/com/mobgen/halo/android/content/models/SearchQuery.java
focal_class.identifier: SearchQuery
focal_class.interfaces: implements Parcelable
focal_class.class_method_signature: SearchQuery.SearchQuery()
focal_class.full_signature: protected  SearchQuery()
focal_class.identifier: SearchQuery
focal_class.modifiers: protected
focal_class.parameters: ()
focal_class.signature:  SearchQuery()
focal_class.class_method_signature: SearchQuery.SearchQuery(Parcel in)
focal_class.full_signature: @SuppressWarnings("ResourceType") protected  SearchQuery(Parcel in)
focal_class.identifier: SearchQuery
focal_class.modifiers: @SuppressWarnings("ResourceType") protected
focal_class.parameters: (Parcel in)
focal_class.signature:  SearchQuery(Parcel in)
focal_class.class_method_signature: SearchQuery.writeToParcel(Parcel dest, int flags)
focal_class.full_signature: @Override public void writeToParcel(Parcel dest, int flags)
focal_class.identifier: writeToParcel
focal_class.modifiers: @Override public
focal_class.parameters: (Parcel dest, int flags)
focal_class.return: void
focal_class.signature: void writeToParcel(Parcel dest, int flags)
focal_class.class_method_signature: SearchQuery.SearchQuery(@NonNull Builder builder)
focal_class.full_signature: protected  SearchQuery(@NonNull Builder builder)
focal_class.identifier: SearchQuery
focal_class.modifiers: protected
focal_class.parameters: (@NonNull Builder builder)
focal_class.signature:  SearchQuery(@NonNull Builder builder)
focal_class.class_method_signature: SearchQuery.newBuilder()
focal_class.full_signature: @Keep @Api(2.0) @NonNull public Builder newBuilder()
focal_class.identifier: newBuilder
focal_class.modifiers: @Keep @Api(2.0) @NonNull public
focal_class.parameters: ()
focal_class.return: Builder
focal_class.signature: Builder newBuilder()
focal_class.class_method_signature: SearchQuery.getModuleIds()
focal_class.full_signature: @Api(2.0) @Nullable public List<String> getModuleIds()
focal_class.identifier: getModuleIds
focal_class.modifiers: @Api(2.0) @Nullable public
focal_class.parameters: ()
focal_class.return: List<String>
focal_class.signature: List<String> getModuleIds()
focal_class.class_method_signature: SearchQuery.getInstanceIds()
focal_class.full_signature: @Keep @Api(2.0) @Nullable public List<String> getInstanceIds()
focal_class.identifier: getInstanceIds
focal_class.modifiers: @Keep @Api(2.0) @Nullable public
focal_class.parameters: ()
focal_class.return: List<String>
focal_class.signature: List<String> getInstanceIds()
focal_class.class_method_signature: SearchQuery.getFieldNames()
focal_class.full_signature: @Keep @Api(2.0) @Nullable public List<String> getFieldNames()
focal_class.identifier: getFieldNames
focal_class.modifiers: @Keep @Api(2.0) @Nullable public
focal_class.parameters: ()
focal_class.return: List<String>
focal_class.signature: List<String> getFieldNames()
focal_class.class_method_signature: SearchQuery.getPopulateNames()
focal_class.full_signature: @Keep @Api(2.0) @Nullable public List<String> getPopulateNames()
focal_class.identifier: getPopulateNames
focal_class.modifiers: @Keep @Api(2.0) @Nullable public
focal_class.parameters: ()
focal_class.return: List<String>
focal_class.signature: List<String> getPopulateNames()
focal_class.class_method_signature: SearchQuery.getPagination()
focal_class.full_signature: @Keep @Api(2.0) @Nullable public PaginationCriteria getPagination()
focal_class.identifier: getPagination
focal_class.modifiers: @Keep @Api(2.0) @Nullable public
focal_class.parameters: ()
focal_class.return: PaginationCriteria
focal_class.signature: PaginationCriteria getPagination()
focal_class.class_method_signature: SearchQuery.getLocale()
focal_class.full_signature: @Keep @Api(2.0) @Nullable public String getLocale()
focal_class.identifier: getLocale
focal_class.modifiers: @Keep @Api(2.0) @Nullable public
focal_class.parameters: ()
focal_class.return: String
focal_class.signature: String getLocale()
focal_class.class_method_signature: SearchQuery.setLocale(@HaloLocale.LocaleDefinition String locale)
focal_class.full_signature: @Keep @Api(2.0) public void setLocale(@HaloLocale.LocaleDefinition String locale)
focal_class.identifier: setLocale
focal_class.modifiers: @Keep @Api(2.0) public
focal_class.parameters: (@HaloLocale.LocaleDefinition String locale)
focal_class.return: void
focal_class.signature: void setLocale(@HaloLocale.LocaleDefinition String locale)
focal_class.class_method_signature: SearchQuery.getModuleName()
focal_class.full_signature: @Keep @Api(2.0) @Nullable public String getModuleName()
focal_class.identifier: getModuleName
focal_class.modifiers: @Keep @Api(2.0) @Nullable public
focal_class.parameters: ()
focal_class.return: String
focal_class.signature: String getModuleName()
focal_class.class_method_signature: SearchQuery.setDevice(@Nullable Device device)
focal_class.full_signature: @Keep @Api(2.0) public void setDevice(@Nullable Device device)
focal_class.identifier: setDevice
focal_class.modifiers: @Keep @Api(2.0) public
focal_class.parameters: (@Nullable Device device)
focal_class.return: void
focal_class.signature: void setDevice(@Nullable Device device)
focal_class.class_method_signature: SearchQuery.createHash(@NonNull Parser.Factory parser)
focal_class.full_signature: @Keep @Api(2.0) @NonNull @SuppressWarnings("unchecked") public String createHash(@NonNull Parser.Factory parser)
focal_class.identifier: createHash
focal_class.modifiers: @Keep @Api(2.0) @NonNull @SuppressWarnings("unchecked") public
focal_class.parameters: (@NonNull Parser.Factory parser)
focal_class.return: String
focal_class.signature: String createHash(@NonNull Parser.Factory parser)
focal_class.class_method_signature: SearchQuery.isPaginated()
focal_class.full_signature: @Keep @Api(2.0) public boolean isPaginated()
focal_class.identifier: isPaginated
focal_class.modifiers: @Keep @Api(2.0) public
focal_class.parameters: ()
focal_class.return: boolean
focal_class.signature: boolean isPaginated()
focal_class.class_method_signature: SearchQuery.getTags()
focal_class.full_signature: @Keep @Api(2.0) @Nullable public List<HaloSegmentationTag> getTags()
focal_class.identifier: getTags
focal_class.modifiers: @Keep @Api(2.0) @Nullable public
focal_class.parameters: ()
focal_class.return: List<HaloSegmentationTag>
focal_class.signature: List<HaloSegmentationTag> getTags()
focal_class.class_method_signature: SearchQuery.getSearch()
focal_class.full_signature: @Keep @Api(2.0) @Nullable public SearchExpression getSearch()
focal_class.identifier: getSearch
focal_class.modifiers: @Keep @Api(2.0) @Nullable public
focal_class.parameters: ()
focal_class.return: SearchExpression
focal_class.signature: SearchExpression getSearch()
focal_class.class_method_signature: SearchQuery.getMetaSearch()
focal_class.full_signature: @Keep @Api(2.0) @Nullable public SearchExpression getMetaSearch()
focal_class.identifier: getMetaSearch
focal_class.modifiers: @Keep @Api(2.0) @Nullable public
focal_class.parameters: ()
focal_class.return: SearchExpression
focal_class.signature: SearchExpression getMetaSearch()
focal_class.class_method_signature: SearchQuery.getSegmentMode()
focal_class.full_signature: @Keep @Api(2.0) @Nullable @SegmentMode public String getSegmentMode()
focal_class.identifier: getSegmentMode
focal_class.modifiers: @Keep @Api(2.0) @Nullable @SegmentMode public
focal_class.parameters: ()
focal_class.return: String
focal_class.signature: String getSegmentMode()
focal_class.class_method_signature: SearchQuery.getSort()
focal_class.full_signature: @Keep @Api(2.4) public String getSort()
focal_class.identifier: getSort
focal_class.modifiers: @Keep @Api(2.4) public
focal_class.parameters: ()
focal_class.return: String
focal_class.signature: String getSort()
focal_class.class_method_signature: SearchQuery.getTTL()
focal_class.full_signature: @Keep @Api(2.0) public long getTTL()
focal_class.identifier: getTTL
focal_class.modifiers: @Keep @Api(2.0) public
focal_class.parameters: ()
focal_class.return: long
focal_class.signature: long getTTL()
focal_class.class_method_signature: SearchQuery.isSegmentedWithDevice()
focal_class.full_signature: @Keep @Api(2.0) public boolean isSegmentedWithDevice()
focal_class.identifier: isSegmentedWithDevice
focal_class.modifiers: @Keep @Api(2.0) public
focal_class.parameters: ()
focal_class.return: boolean
focal_class.signature: boolean isSegmentedWithDevice()
focal_class.class_method_signature: SearchQuery.builder()
focal_class.full_signature: @Keep @Api(2.0) @NonNull public static Builder builder()
focal_class.identifier: builder
focal_class.modifiers: @Keep @Api(2.0) @NonNull public static
focal_class.parameters: ()
focal_class.return: Builder
focal_class.signature: Builder builder()
focal_class.class_method_signature: SearchQuery.serializerFrom(Parser.Factory parser)
focal_class.full_signature: @Keep @Api(2.0) @SuppressWarnings("unchecked") public Parser<SearchQuery, String> serializerFrom(Parser.Factory parser)
focal_class.identifier: serializerFrom
focal_class.modifiers: @Keep @Api(2.0) @SuppressWarnings("unchecked") public
focal_class.parameters: (Parser.Factory parser)
focal_class.return: Parser<SearchQuery, String>
focal_class.signature: Parser<SearchQuery, String> serializerFrom(Parser.Factory parser)
focal_class.class_method_signature: SearchQuery.serverCache()
focal_class.full_signature: @Keep @Api(2.33) @NonNull public int serverCache()
focal_class.identifier: serverCache
focal_class.modifiers: @Keep @Api(2.33) @NonNull public
focal_class.parameters: ()
focal_class.return: int
focal_class.signature: int serverCache()
focal_class.class_method_signature: SearchQuery.describeContents()
focal_class.full_signature: @Override public int describeContents()
focal_class.identifier: describeContents
focal_class.modifiers: @Override public
focal_class.parameters: ()
focal_class.return: int
focal_class.signature: int describeContents()
focal_method.body: @Keep
      @Api(2.0)
      @NonNull
      public static Builder builder() {
          return new Builder();
      }
focal_method.class_method_signature: SearchQuery.builder()
focal_method.full_signature: @Keep @Api(2.0) @NonNull public static Builder builder()
focal_method.identifier: builder
focal_method.modifiers: @Keep @Api(2.0) @NonNull public static
focal_method.parameters: ()
focal_method.return: Builder
focal_method.signature: Builder builder()