Object/Trait

com.gu.contentapi.client.model.v1

Block

Related Docs: trait Block | package v1

Permalink

object Block extends ValidatingThriftStructCodec3[Block] with StructBuilderFactory[Block] with Serializable

Linear Supertypes
Serializable, Serializable, StructBuilderFactory[Block], ValidatingThriftStructCodec3[Block], ThriftStructCodec3[Block], ThriftStructCodec[Block], AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. Block
  2. Serializable
  3. Serializable
  4. StructBuilderFactory
  5. ValidatingThriftStructCodec3
  6. ThriftStructCodec3
  7. ThriftStructCodec
  8. AnyRef
  9. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Type Members

  1. class Immutable extends Block

    Permalink

    The default read-only implementation of 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.

  2. trait Proxy extends Block

    Permalink

    This Proxy trait allows you to extend the Block trait with additional state or behavior and implement the read-only methods from Block using an underlying instance.

Value Members

  1. final def !=(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  4. val AttributesField: TField

    Permalink
  5. val AttributesFieldManifest: Manifest[BlockAttributes]

    Permalink
  6. val BodyHtmlField: TField

    Permalink
  7. val BodyHtmlFieldManifest: Manifest[String]

    Permalink
  8. val BodyTextSummaryField: TField

    Permalink
  9. val BodyTextSummaryFieldManifest: Manifest[String]

    Permalink
  10. val ContributorsField: TField

    Permalink
  11. val ContributorsFieldManifest: Manifest[Seq[String]]

    Permalink
  12. val CreatedByField: TField

    Permalink
  13. val CreatedByFieldManifest: Manifest[User]

    Permalink
  14. val CreatedDateField: TField

    Permalink
  15. val CreatedDateFieldManifest: Manifest[CapiDateTime]

    Permalink
  16. val ElementsField: TField

    Permalink
  17. val ElementsFieldManifest: Manifest[Seq[BlockElement]]

    Permalink
  18. val FirstPublishedDateField: TField

    Permalink
  19. val FirstPublishedDateFieldManifest: Manifest[CapiDateTime]

    Permalink
  20. val IdField: TField

    Permalink
  21. val IdFieldManifest: Manifest[String]

    Permalink
  22. object Immutable extends ThriftStructCodec3[Block] with Serializable

    Permalink
  23. val LastModifiedByField: TField

    Permalink
  24. val LastModifiedByFieldManifest: Manifest[User]

    Permalink
  25. val LastModifiedDateField: TField

    Permalink
  26. val LastModifiedDateFieldManifest: Manifest[CapiDateTime]

    Permalink
  27. val NoPassthroughFields: Map[Short, TFieldBlob]

    Permalink
  28. val PublishedDateField: TField

    Permalink
  29. val PublishedDateFieldManifest: Manifest[CapiDateTime]

    Permalink
  30. val PublishedField: TField

    Permalink
  31. val PublishedFieldManifest: Manifest[Boolean]

    Permalink
  32. val Struct: TStruct

    Permalink
  33. val TitleField: TField

    Permalink
  34. val TitleFieldManifest: Manifest[String]

    Permalink
  35. def apply(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] = ..., createdBy: Option[User] = _root_.scala.None, lastModifiedBy: Option[User] = _root_.scala.None, elements: Seq[BlockElement] = Seq()): Block

    Permalink
  36. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  37. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  38. def decode(_iprot: TProtocol): Block

    Permalink
    Definition Classes
    Block → ThriftStructCodec
  39. def encode(_item: Block, _oproto: TProtocol): Unit

    Permalink
    Definition Classes
    Block → ThriftStructCodec
  40. final def eq(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  41. def equals(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  42. lazy val fieldInfos: List[ThriftStructFieldInfo]

    Permalink

    Field information in declaration order.

  43. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  44. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
  45. def hashCode(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  46. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  47. lazy val metaData: ThriftStructMetaData[Block]

    Permalink
    Definition Classes
    Block → ThriftStructCodec
  48. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  49. def newBuilder(): StructBuilder[Block]

    Permalink
    Definition Classes
    Block → StructBuilderFactory
  50. final def notify(): Unit

    Permalink
    Definition Classes
    AnyRef
  51. final def notifyAll(): Unit

    Permalink
    Definition Classes
    AnyRef
  52. val structAnnotations: Map[String, String]

    Permalink
  53. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  54. def toString(): String

    Permalink
    Definition Classes
    AnyRef → Any
  55. def ttypeToString(byte: Byte): String

    Permalink
    Attributes
    protected
    Definition Classes
    ThriftStructCodec3
  56. def unapply(_item: Block): Option[(String, String, String, Option[String], BlockAttributes, Boolean, Option[CapiDateTime], Option[CapiDateTime], Option[CapiDateTime], Option[CapiDateTime], Seq[String], Option[User], Option[User], Seq[BlockElement])]

    Permalink
  57. def validate(_item: Block): Unit

    Permalink

    Checks that all required fields are non-null.

  58. final def validateField[U <: ValidatingThriftStruct[U]](any: Any): Seq[Issue]

    Permalink
    Attributes
    protected
    Definition Classes
    ValidatingThriftStructCodec3
  59. def validateNewInstance(item: Block): Seq[Issue]

    Permalink

    Checks that the struct is a valid as a new instance.

    Checks that the struct is a valid as a new instance. If there are any missing required or construction required fields, return a non-empty list.

    Definition Classes
    Block → ValidatingThriftStructCodec3
  60. final def wait(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  61. final def wait(arg0: Long, arg1: Int): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  62. final def wait(arg0: Long): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  63. def withoutPassthroughFields(original: Block): Block

    Permalink

Inherited from Serializable

Inherited from Serializable

Inherited from StructBuilderFactory[Block]

Inherited from ValidatingThriftStructCodec3[Block]

Inherited from ThriftStructCodec3[Block]

Inherited from ThriftStructCodec[Block]

Inherited from AnyRef

Inherited from Any

Ungrouped