Packages

class Immutable extends Block

The default read-only implementation of Block. You typically should not need to directly reference this class; instead, use the Block.apply method to construct new instances.

Linear Supertypes
Block, Serializable, ValidatingThriftStruct[Block], HasThriftStructCodec3[Block], Product14[String, String, String, Option[String], BlockAttributes, Boolean, Option[CapiDateTime], Option[CapiDateTime], Option[CapiDateTime], Option[CapiDateTime], Seq[String], Option[User], Option[User], Seq[BlockElement]], Product, Equals, ThriftStruct, ThriftStructIface, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. Immutable
  2. Block
  3. Serializable
  4. ValidatingThriftStruct
  5. HasThriftStructCodec3
  6. Product14
  7. Product
  8. Equals
  9. ThriftStruct
  10. ThriftStructIface
  11. AnyRef
  12. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Instance Constructors

  1. new Immutable(id: String, bodyHtml: String, bodyTextSummary: String, title: Option[String] = _root_.scala.None, attributes: BlockAttributes, published: Boolean, createdDate: Option[CapiDateTime] = _root_.scala.None, firstPublishedDate: Option[CapiDateTime] = _root_.scala.None, publishedDate: Option[CapiDateTime] = _root_.scala.None, lastModifiedDate: Option[CapiDateTime] = _root_.scala.None, contributors: Seq[String] = _root_.scala.collection.immutable.Nil, createdBy: Option[User] = _root_.scala.None, lastModifiedBy: Option[User] = _root_.scala.None, elements: Seq[BlockElement] = Seq())
  2. new Immutable(id: String, bodyHtml: String, bodyTextSummary: String, title: Option[String], attributes: BlockAttributes, published: Boolean, createdDate: Option[CapiDateTime], firstPublishedDate: Option[CapiDateTime], publishedDate: Option[CapiDateTime], lastModifiedDate: Option[CapiDateTime], contributors: Seq[String], createdBy: Option[User], lastModifiedBy: Option[User], elements: Seq[BlockElement], _passthroughFields: Map[Short, TFieldBlob])

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##: Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. def _1: String
    Definition Classes
    Block → Product14
  5. def _10: Option[CapiDateTime]
    Definition Classes
    Block → Product14
  6. def _11: Seq[String]
    Definition Classes
    Block → Product14
  7. def _12: Option[User]
    Definition Classes
    Block → Product14
  8. def _13: Option[User]
    Definition Classes
    Block → Product14
  9. def _14: Seq[BlockElement]
    Definition Classes
    Block → Product14
  10. def _2: String
    Definition Classes
    Block → Product14
  11. def _3: String
    Definition Classes
    Block → Product14
  12. def _4: Option[String]
    Definition Classes
    Block → Product14
  13. def _5: BlockAttributes
    Definition Classes
    Block → Product14
  14. def _6: Boolean
    Definition Classes
    Block → Product14
  15. def _7: Option[CapiDateTime]
    Definition Classes
    Block → Product14
  16. def _8: Option[CapiDateTime]
    Definition Classes
    Block → Product14
  17. def _9: Option[CapiDateTime]
    Definition Classes
    Block → Product14
  18. def _codec: ValidatingThriftStructCodec3[Block]
    Definition Classes
    Block → ValidatingThriftStruct → HasThriftStructCodec3
  19. val _passthroughFields: Map[Short, TFieldBlob]
    Definition Classes
    ImmutableBlock
  20. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  21. val attributes: BlockAttributes
    Definition Classes
    ImmutableBlock
  22. val bodyHtml: String
    Definition Classes
    ImmutableBlock
  23. val bodyTextSummary: String
    Definition Classes
    ImmutableBlock
  24. def canEqual(other: Any): Boolean
    Definition Classes
    Block → Equals
  25. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @IntrinsicCandidate() @native()
  26. val contributors: Seq[String]
    Definition Classes
    ImmutableBlock
  27. def copy(id: String = this.id, bodyHtml: String = this.bodyHtml, bodyTextSummary: String = this.bodyTextSummary, title: Option[String] = this.title, attributes: BlockAttributes = this.attributes, published: Boolean = this.published, createdDate: Option[CapiDateTime] = this.createdDate, firstPublishedDate: Option[CapiDateTime] = this.firstPublishedDate, publishedDate: Option[CapiDateTime] = this.publishedDate, lastModifiedDate: Option[CapiDateTime] = this.lastModifiedDate, contributors: Seq[String] = this.contributors, createdBy: Option[User] = this.createdBy, lastModifiedBy: Option[User] = this.lastModifiedBy, elements: Seq[BlockElement] = this.elements, _passthroughFields: Map[Short, TFieldBlob] = this._passthroughFields): Block
    Definition Classes
    Block
  28. val createdBy: Option[User]
    Definition Classes
    ImmutableBlock
  29. val createdDate: Option[CapiDateTime]
    Definition Classes
    ImmutableBlock
  30. val elements: Seq[BlockElement]
    Definition Classes
    ImmutableBlock
  31. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  32. def equals(other: Any): Boolean
    Definition Classes
    Block → Equals → AnyRef → Any
  33. val firstPublishedDate: Option[CapiDateTime]
    Definition Classes
    ImmutableBlock
  34. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @IntrinsicCandidate() @native()
  35. def getFieldBlob(_fieldId: Short): Option[TFieldBlob]

    Gets a field value encoded as a binary blob using TCompactProtocol.

    Gets a field value encoded as a binary blob using TCompactProtocol. If the specified field is present in the passthrough map, that value is returned. Otherwise, if the specified field is known and not optional and set to None, then the field is serialized and returned.

    Definition Classes
    Block
  36. def getFieldBlobs(ids: TraversableOnce[Short]): Map[Short, TFieldBlob]

    Collects TCompactProtocol-encoded field values according to getFieldBlob into a map.

    Collects TCompactProtocol-encoded field values according to getFieldBlob into a map.

    Definition Classes
    Block
  37. def hashCode(): Int
    Definition Classes
    Block → AnyRef → Any
  38. val id: String
    Definition Classes
    ImmutableBlock
  39. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  40. val lastModifiedBy: Option[User]
    Definition Classes
    ImmutableBlock
  41. val lastModifiedDate: Option[CapiDateTime]
    Definition Classes
    ImmutableBlock
  42. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  43. def newBuilder(): StructBuilder[Block]
    Definition Classes
    Block
  44. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @IntrinsicCandidate() @native()
  45. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @IntrinsicCandidate() @native()
  46. def productArity: Int
    Definition Classes
    Product14 → Product
  47. def productElement(n: Int): Any
    Definition Classes
    Product14 → Product
    Annotations
    @throws(classOf[java.lang.IndexOutOfBoundsException])
  48. def productElementName(n: Int): String
    Definition Classes
    Product
  49. def productElementNames: Iterator[String]
    Definition Classes
    Product
  50. def productIterator: Iterator[Any]
    Definition Classes
    Product
  51. def productPrefix: String
    Definition Classes
    Block → Product
  52. val published: Boolean
    Definition Classes
    ImmutableBlock
  53. val publishedDate: Option[CapiDateTime]
    Definition Classes
    ImmutableBlock
  54. def setField(_blob: TFieldBlob): Block

    Sets a field using a TCompactProtocol-encoded binary blob.

    Sets a field using a TCompactProtocol-encoded binary blob. If the field is a known field, the blob is decoded and the field is set to the decoded value. If the field is unknown and passthrough fields are enabled, then the blob will be stored in _passthroughFields.

    Definition Classes
    Block
  55. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  56. val title: Option[String]
    Definition Classes
    ImmutableBlock
  57. def toString(): String
    Definition Classes
    Block → AnyRef → Any
  58. def toTuple: (String, String, String, Option[String], BlockAttributes, Boolean, Option[CapiDateTime], Option[CapiDateTime], Option[CapiDateTime], Option[CapiDateTime], Seq[String], Option[User], Option[User], Seq[BlockElement])
    Definition Classes
    Block
  59. def unsetAttributes: Block
    Definition Classes
    Block
  60. def unsetBodyHtml: Block
    Definition Classes
    Block
  61. def unsetBodyTextSummary: Block
    Definition Classes
    Block
  62. def unsetContributors: Block
    Definition Classes
    Block
  63. def unsetCreatedBy: Block
    Definition Classes
    Block
  64. def unsetCreatedDate: Block
    Definition Classes
    Block
  65. def unsetElements: Block
    Definition Classes
    Block
  66. def unsetField(_fieldId: Short): Block

    If the specified field is optional, it is set to None.

    If the specified field is optional, it is set to None. Otherwise, if the field is known, it is reverted to its default value; if the field is unknown, it is removed from the passthroughFields map, if present.

    Definition Classes
    Block
  67. def unsetFirstPublishedDate: Block
    Definition Classes
    Block
  68. def unsetId: Block

    If the specified field is optional, it is set to None.

    If the specified field is optional, it is set to None. Otherwise, if the field is known, it is reverted to its default value; if the field is unknown, it is removed from the passthroughFields map, if present.

    Definition Classes
    Block
  69. def unsetLastModifiedBy: Block
    Definition Classes
    Block
  70. def unsetLastModifiedDate: Block
    Definition Classes
    Block
  71. def unsetPublished: Block
    Definition Classes
    Block
  72. def unsetPublishedDate: Block
    Definition Classes
    Block
  73. def unsetTitle: Block
    Definition Classes
    Block
  74. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  75. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  76. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  77. def write(_oprot: TProtocol): Unit
    Definition Classes
    Block → ThriftStruct

Deprecated Value Members

  1. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable]) @Deprecated
    Deprecated

    (Since version 9)

Inherited from Block

Inherited from Serializable

Inherited from ValidatingThriftStruct[Block]

Inherited from HasThriftStructCodec3[Block]

Inherited from Product14[String, String, String, Option[String], BlockAttributes, Boolean, Option[CapiDateTime], Option[CapiDateTime], Option[CapiDateTime], Option[CapiDateTime], Seq[String], Option[User], Option[User], Seq[BlockElement]]

Inherited from Product

Inherited from Equals

Inherited from ThriftStruct

Inherited from ThriftStructIface

Inherited from AnyRef

Inherited from Any

Ungrouped