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

public class SmtpNumbers extends VdmEntity<SmtpNumbers>
E-mail Addresses

Original entity name from the Odata EDM: SmtpNumbers

  • Field Details

    • ALL_FIELDS

      public static final SmtpNumbersSelectable ALL_FIELDS
      Selector for all available fields of SmtpNumbers.
    • EMAIL_ADDRESS

      public static final SmtpNumbersField<String> EMAIL_ADDRESS
      Use with available fluent helpers to apply the EmailAddress field to query operations.
    • BRANCH

      public static final SmtpNumbersField<String> BRANCH
      Use with available fluent helpers to apply the Branch field to query operations.
    • COMPANY_CODE

      public static final SmtpNumbersField<String> COMPANY_CODE
      Use with available fluent helpers to apply the CompanyCode field to query operations.
  • Constructor Details

    • SmtpNumbers

      public SmtpNumbers()
    • SmtpNumbers

      public SmtpNumbers(@Nullable String emailAddress, @Nullable String branch, @Nullable String companyCode)
  • Method Details

    • getType

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

      public void setEmailAddress(@Nullable String emailAddress)
      Constraints: Not nullable, Maximum length: 241

      Original property name from the Odata EDM: EmailAddress

      Parameters:
      emailAddress - Email Address
    • setBranch

      public void setBranch(@Nullable String branch)
      (Key Field) Constraints: Not nullable, Maximum length: 4

      Original property name from the Odata EDM: Branch

      Parameters:
      branch - Business Place
    • setCompanyCode

      public void setCompanyCode(@Nullable String companyCode)
      (Key Field) Constraints: Not nullable, Maximum length: 4

      Original property name from the Odata EDM: CompanyCode

      Parameters:
      companyCode - Company Code
    • getEntityCollection

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

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

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

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

      @Nonnull public static <T> SmtpNumbersField<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> SmtpNumbersField<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<SmtpNumbers>
    • setServicePathForFetch

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

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

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

      @Nonnull public static SmtpNumbers.SmtpNumbersBuilder builder()
    • getEmailAddress

      @Nullable public String getEmailAddress()
      Constraints: Not nullable, Maximum length: 241

      Original property name from the Odata EDM: EmailAddress

      Returns:
      Email Address
    • getBranch

      @Nullable public String getBranch()
      (Key Field) Constraints: Not nullable, Maximum length: 4

      Original property name from the Odata EDM: Branch

      Returns:
      Business Place
    • getCompanyCode

      @Nullable public String getCompanyCode()
      (Key Field) Constraints: Not nullable, Maximum length: 4

      Original property name from the Odata EDM: CompanyCode

      Returns:
      Company Code
    • toString

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

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

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

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