Class V1Attachment

java.lang.Object
com.clinia.model.common.V1Attachment

public class V1Attachment extends Object
Content in a format defined elsewhere.
  • Constructor Details

    • V1Attachment

      public V1Attachment()
  • Method Details

    • setId

      public V1Attachment setId(String id)
    • getId

      @Nullable public String getId()
      A sequence of Unicode characters.
    • setContentType

      public V1Attachment setContentType(String contentType)
    • getContentType

      @Nullable public String getContentType()
      A string which has at least one character and no leading or trailing whitespace and where there is no whitespace other than single spaces in the contents.
    • setLanguage

      public V1Attachment setLanguage(String language)
    • getLanguage

      @Nullable public String getLanguage()
      A string which has at least one character and no leading or trailing whitespace and where there is no whitespace other than single spaces in the contents.
    • setUrl

      public V1Attachment setUrl(String url)
    • getUrl

      @Nullable public String getUrl()
      A URI that is a literal reference.
    • setSize

      public V1Attachment setSize(BigDecimal size)
    • getSize

      @Nullable public BigDecimal getSize()
      A whole number.
    • setCreation

      public V1Attachment setCreation(String creation)
    • getCreation

      @Nullable public String getCreation()
      A date, date-time or partial date (e.g. just year or year + month). If hours and minutes are specified, a time zone SHALL be populated. The format is a union of the schema types gYear, gYearMonth, date and dateTime. Seconds must be provided due to schema type constraints but may be zero-filled and may be ignored. Dates SHALL be valid dates.
    • setTitle

      public V1Attachment setTitle(String title)
    • getTitle

      @Nullable public String getTitle()
      A sequence of Unicode characters.
    • 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