• Articles
  • Api Documentation
Show / Hide Table of Contents
  • Dapplo.Confluence
    • AttachmentDomain
    • ConfluenceClient
    • ConfluenceClientConfig
    • ConfluenceException
    • ContentExtensions
    • GroupDomain
    • IAttachmentDomain
    • IConfluenceClient
    • IConfluenceClientPlugins
    • IConfluenceDomain
    • IContentDomain
    • IGroupDomain
    • IMiscDomain
    • ISpaceDomain
    • IUserDomain
    • MiscExtensions
    • SpaceExtensions
    • UserDomain
    • UserIdentifierExtensions
  • Dapplo.Confluence.Entities
    • BaseEntity<TId>
    • Body
    • BodyContent
    • Children
    • Content
    • CopyContent
    • CopyDestinations
    • CopyPageRequestDestination
    • Description
    • Error
    • Group
    • History
    • IUserIdentifier
    • Label
    • LastUpdated
    • Links
    • LongRunningTask
    • Metadata
    • PagingInformation
    • Picture
    • Plain
    • Positions
    • Result<TResult>
    • SearchDetails
    • Space
    • SpaceContents
    • SystemInfoEntity
    • User
    • UserWatch
    • Version
  • Dapplo.Confluence.Query
    • ContentTypes
    • Fields
    • IContentClause
    • IDatetimeClause
    • IDatetimeClauseWithoutValue
    • IFinalClause
    • ISimpleValueClause
    • ISpaceClause
    • ITextClause
    • ITitleClause
    • ITypeClause
    • IUserClause
    • Operators
    • Where

Class BaseEntity<TId>

Base entity, defines things that are in every entity. Content, Space, Attachments are all entities.

Inheritance
System.Object
BaseEntity<TId>
Content
Space
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Dapplo.Confluence.Entities
Assembly: Dapplo.Confluence.dll
Syntax
public class BaseEntity<TId>
Type Parameters
Name Description
TId

Properties

| Improve this Doc View Source

Id

Unique ID for this entity

Declaration
[JsonIgnore]
public TId Id { get; set; }
Property Value
Type Description
TId
| Improve this Doc View Source

InternalId

Used internally to convert the string with the id to a typed value

Declaration
[JsonProperty("id", DefaultValueHandling = DefaultValueHandling.Ignore)]
protected string InternalId { get; set; }
Property Value
Type Description
System.String
| Improve this Doc View Source

Links

Different links for this entity, depending on the entity

Declaration
[JsonProperty("_links", DefaultValueHandling = DefaultValueHandling.Ignore)]
public Links Links { get; set; }
Property Value
Type Description
Links
| Improve this Doc View Source

Type

Type of the entity

Declaration
[JsonProperty("type", DefaultValueHandling = DefaultValueHandling.Ignore)]
[JsonConverter(typeof(StringEnumConverter))]
public ContentTypes Type { get; set; }
Property Value
Type Description
ContentTypes

Operators

| Improve this Doc View Source

Implicit(BaseEntity<TId> to TId)

Implicit cast of BaseEntity to the ID type (e.g. Content -> long for contentId)

Declaration
public static implicit operator TId(BaseEntity<TId> entity)
Parameters
Type Name Description
BaseEntity<TId> entity

BaseEntity of type TId

Returns
Type Description
TId

TId

  • Improve this Doc
  • View Source
In This Article
Back to top Copyright © 2017 Dapplo