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

public class ListFile extends VdmEntity<ListFile>
Prepared Files

Original entity name from the Odata EDM: ListFile

  • Field Details

    • ALL_FIELDS

      public static final ListFileSelectable ALL_FIELDS
      Selector for all available fields of ListFile.
    • PACKAGE_NAME

      public static final ListFileField<String> PACKAGE_NAME
      Use with available fluent helpers to apply the PackageName field to query operations.
    • FILE_NAME

      public static final ListFileField<String> FILE_NAME
      Use with available fluent helpers to apply the FileName field to query operations.
    • OBJECT_NAME

      public static final ListFileField<String> OBJECT_NAME
      Use with available fluent helpers to apply the ObjectName field to query operations.
    • SCENARIO

      public static final ListFileField<String> SCENARIO
      Use with available fluent helpers to apply the Scenario field to query operations.
    • FILE_SIZE

      public static final ListFileField<Long> FILE_SIZE
      Use with available fluent helpers to apply the FileSize field to query operations.
  • Constructor Details

    • ListFile

      public ListFile()
    • ListFile

      public ListFile(@Nullable String packageName, @Nullable String fileName, @Nullable String objectName, @Nullable String scenario, @Nullable Long fileSize)
  • Method Details

    • getType

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

      public void setPackageName(@Nullable String packageName)
      (Key Field) Constraints: Not nullable, Maximum length: 32

      Original property name from the Odata EDM: PackageName

      Parameters:
      packageName - Package Name
    • setFileName

      public void setFileName(@Nullable String fileName)
      (Key Field) Constraints: Not nullable, Maximum length: 60

      Original property name from the Odata EDM: FileName

      Parameters:
      fileName - ZIP File Name
    • setObjectName

      public void setObjectName(@Nullable String objectName)
      Constraints: Not nullable, Maximum length: 24

      Original property name from the Odata EDM: ObjectName

      Parameters:
      objectName - Object Name
    • setScenario

      public void setScenario(@Nullable String scenario)
      Constraints: Not nullable, Maximum length: 5

      Original property name from the Odata EDM: Scenario

      Parameters:
      scenario - Scenario
    • setFileSize

      public void setFileSize(@Nullable Long fileSize)
      Constraints: none

      Original property name from the Odata EDM: FileSize

      Parameters:
      fileSize - File Size
    • getEntityCollection

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

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

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

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

      @Nonnull public static <T> ListFileField<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> ListFileField<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<ListFile>
    • setServicePathForFetch

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

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

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

      @Nonnull public static ListFile.ListFileBuilder builder()
    • getPackageName

      @Nullable public String getPackageName()
      (Key Field) Constraints: Not nullable, Maximum length: 32

      Original property name from the Odata EDM: PackageName

      Returns:
      Package Name
    • getFileName

      @Nullable public String getFileName()
      (Key Field) Constraints: Not nullable, Maximum length: 60

      Original property name from the Odata EDM: FileName

      Returns:
      ZIP File Name
    • getObjectName

      @Nullable public String getObjectName()
      Constraints: Not nullable, Maximum length: 24

      Original property name from the Odata EDM: ObjectName

      Returns:
      Object Name
    • getScenario

      @Nullable public String getScenario()
      Constraints: Not nullable, Maximum length: 5

      Original property name from the Odata EDM: Scenario

      Returns:
      Scenario
    • getFileSize

      @Nullable public Long getFileSize()
      Constraints: none

      Original property name from the Odata EDM: FileSize

      Returns:
      File Size
    • toString

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

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

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

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