java.lang.Object
com.sap.cloud.sdk.datamodel.odata.helper.VdmObject<EntityT>
com.sap.cloud.sdk.datamodel.odata.helper.VdmEntity<IcmCacheResult>
com.sap.cloud.sdk.s4hana.datamodel.odata.namespaces.printqueueitem.IcmCacheResult

public class IcmCacheResult extends VdmEntity<IcmCacheResult>

Original entity name from the Odata EDM: IcmCacheResult

  • Field Details

    • ALL_FIELDS

      public static final IcmCacheResultSelectable ALL_FIELDS
      Selector for all available fields of IcmCacheResult.
    • URL

      public static final IcmCacheResultField<String> URL
      Use with available fluent helpers to apply the url field to query operations.
    • CONTENT

      public static final IcmCacheResultField<String> CONTENT
      Use with available fluent helpers to apply the content field to query operations.
  • Constructor Details

    • IcmCacheResult

      public IcmCacheResult()
    • IcmCacheResult

      public IcmCacheResult(@Nullable String url, @Nullable String content)
  • Method Details

    • getType

      @Nonnull public Class<IcmCacheResult> getType()
      Specified by:
      getType in class VdmObject<IcmCacheResult>
    • setUrl

      public void setUrl(@Nullable String url)
      (Key Field) Constraints: Not nullable

      Original property name from the Odata EDM: url

      Parameters:
      url - The url to set.
    • setContent

      public void setContent(@Nullable String content)
      Constraints: Not nullable

      Original property name from the Odata EDM: content

      Parameters:
      content - The content to set.
    • getEntityCollection

      protected String getEntityCollection()
      Specified by:
      getEntityCollection in class VdmEntity<IcmCacheResult>
    • getKey

      @Nonnull protected Map<String,Object> getKey()
      Overrides:
      getKey in class VdmObject<IcmCacheResult>
    • toMapOfFields

      @Nonnull protected Map<String,Object> toMapOfFields()
      Overrides:
      toMapOfFields in class VdmObject<IcmCacheResult>
    • fromMap

      protected void fromMap(Map<String,Object> inputValues)
      Overrides:
      fromMap in class VdmObject<IcmCacheResult>
    • field

      @Nonnull public static <T> IcmCacheResultField<T> field(@Nonnull String fieldName, @Nonnull Class<T> fieldType)
      Use with available fluent helpers to apply an extension field to query operations.
      Type Parameters:
      T - The type of the extension field when performing value comparisons.
      Parameters:
      fieldName - The name of the extension field as returned by the OData service.
      fieldType - The Java type to use for the extension field when performing value comparisons.
      Returns:
      A representation of an extension field from this entity.
    • field

      @Nonnull public static <T, DomainT> IcmCacheResultField<T> field(@Nonnull String fieldName, @Nonnull TypeConverter<T,DomainT> typeConverter)
      Use with available fluent helpers to apply an extension field to query operations.
      Type Parameters:
      T - The type of the extension field when performing value comparisons.
      DomainT - The type of the extension field as returned by the OData service.
      Parameters:
      typeConverter - A TypeConverter<T, DomainT> instance whose first generic type matches the Java type of the field
      fieldName - The name of the extension field as returned by the OData service.
      Returns:
      A representation of an extension field from this entity, holding a reference to the given TypeConverter.
    • getDestinationForFetch

      @Nullable public HttpDestinationProperties getDestinationForFetch()
      Overrides:
      getDestinationForFetch in class VdmEntity<IcmCacheResult>
    • setServicePathForFetch

      protected void setServicePathForFetch(@Nullable String servicePathForFetch)
      Overrides:
      setServicePathForFetch in class VdmEntity<IcmCacheResult>
    • attachToService

      public void attachToService(@Nullable String servicePath, @Nonnull HttpDestinationProperties destination)
      Overrides:
      attachToService in class VdmEntity<IcmCacheResult>
    • getDefaultServicePath

      protected String getDefaultServicePath()
      Overrides:
      getDefaultServicePath in class VdmEntity<IcmCacheResult>
    • builder

      @Nonnull public static IcmCacheResult.IcmCacheResultBuilder builder()
    • getUrl

      @Nullable public String getUrl()
      (Key Field) Constraints: Not nullable

      Original property name from the Odata EDM: url

      Returns:
      The url contained in this entity.
    • getContent

      @Nullable public String getContent()
      Constraints: Not nullable

      Original property name from the Odata EDM: content

      Returns:
      The content contained in this entity.
    • toString

      @Nonnull public String toString()
      Overrides:
      toString in class VdmObject<IcmCacheResult>
    • equals

      public boolean equals(@Nullable Object o)
      Overrides:
      equals in class VdmEntity<IcmCacheResult>
    • canEqual

      protected boolean canEqual(@Nullable Object other)
      Overrides:
      canEqual in class VdmEntity<IcmCacheResult>
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class VdmEntity<IcmCacheResult>