Class AttachmentRefOrValue

java.lang.Object
de.hybris.platform.b2ctelcotmfwebservices.v2.dto.AttachmentRefOrValue

@Validated @Generated(value="de.hybris.platform.b2ctelcotmfwebservices.swagger.TelcoCodegen", date="2022-10-21T20:34:47.671Z") public class AttachmentRefOrValue extends Object
An attachment by value or by reference. For AttachmentRefOrValue, the attribute type,schemaLocation and referredType are related to the contained entity and not to AttchmentRefOrValue itself
  • Constructor Details

    • AttachmentRefOrValue

      public AttachmentRefOrValue()
  • Method Details

    • id

      public AttachmentRefOrValue id(String id)
    • getId

      public String getId()
      Unique identifier for this particular attachment
      Returns:
      id
    • setId

      public void setId(String id)
    • href

      public AttachmentRefOrValue href(String href)
    • getHref

      public String getHref()
      URI for this Attachment
      Returns:
      href
    • setHref

      public void setHref(String href)
    • attachmentType

      public AttachmentRefOrValue attachmentType(String attachmentType)
    • getAttachmentType

      public String getAttachmentType()
      Attachment type such as video, picture
      Returns:
      attachmentType
    • setAttachmentType

      public void setAttachmentType(String attachmentType)
    • content

      public AttachmentRefOrValue content(String content)
    • getContent

      public String getContent()
      The actual contents of the attachment object, if embedded, encoded as base64
      Returns:
      content
    • setContent

      public void setContent(String content)
    • description

      public AttachmentRefOrValue description(String description)
    • getDescription

      public String getDescription()
      A narrative text describing the content of the attachment
      Returns:
      description
    • setDescription

      public void setDescription(String description)
    • mimeType

      public AttachmentRefOrValue mimeType(String mimeType)
    • getMimeType

      public String getMimeType()
      Attachment mime type such as extension file for video, picture and document
      Returns:
      mimeType
    • setMimeType

      public void setMimeType(String mimeType)
    • name

      public AttachmentRefOrValue name(String name)
    • getName

      public String getName()
      The name of the attachment
      Returns:
      name
    • setName

      public void setName(String name)
    • url

      public AttachmentRefOrValue url(String url)
    • getUrl

      public String getUrl()
      Uniform Resource Locator, is a web page address (a subset of URI)
      Returns:
      url
    • setUrl

      public void setUrl(String url)
    • size

      public AttachmentRefOrValue size(Quantity size)
    • getSize

      @Valid public @Valid Quantity getSize()
      The size of the attachment.
      Returns:
      size
    • setSize

      public void setSize(Quantity size)
    • validFor

      public AttachmentRefOrValue validFor(TimePeriod validFor)
    • getValidFor

      @Valid public @Valid TimePeriod getValidFor()
      The period of time for which the attachment is valid
      Returns:
      validFor
    • setValidFor

      public void setValidFor(TimePeriod validFor)
    • atbaseType

      public AttachmentRefOrValue atbaseType(String atbaseType)
    • getAtbaseType

      public String getAtbaseType()
      When sub-classing, this defines the super-class
      Returns:
      atbaseType
    • setAtbaseType

      public void setAtbaseType(String atbaseType)
    • atschemaLocation

      public AttachmentRefOrValue atschemaLocation(String atschemaLocation)
    • getAtschemaLocation

      public String getAtschemaLocation()
      A URI to a JSON-Schema file that defines additional attributes and relationships
      Returns:
      atschemaLocation
    • setAtschemaLocation

      public void setAtschemaLocation(String atschemaLocation)
    • attype

      public AttachmentRefOrValue attype(String attype)
    • getAttype

      public String getAttype()
      When sub-classing, this defines the sub-class entity name
      Returns:
      attype
    • setAttype

      public void setAttype(String attype)
    • atreferredType

      public AttachmentRefOrValue atreferredType(String atreferredType)
    • getAtreferredType

      public String getAtreferredType()
      The actual type of the target instance when needed for disambiguation.
      Returns:
      atreferredType
    • setAtreferredType

      public void setAtreferredType(String atreferredType)
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

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

      public String toString()
      Overrides:
      toString in class Object