Class PersonInfo
This is the small Person stub that is attached to BaseItems
Inheritance
System.Object
PersonInfo
Implements
Namespace: MediaBrowser.Controller.Entities
Assembly: MediaBrowser.Controller.dll
Syntax
public sealed class PersonInfo : IHasProviderIds
Properties
Guid
Declaration
public Guid Guid { get; set; }
Property Value
Type | Description |
---|---|
System.Guid |
Id
Declaration
public long Id { get; set; }
Property Value
Type | Description |
---|---|
System.Int64 |
ImageInfos
Declaration
public ItemImageInfo[] ImageInfos { get; set; }
Property Value
Type | Description |
---|---|
ItemImageInfo[] |
ImageUrl
Declaration
public string ImageUrl { get; set; }
Property Value
Type | Description |
---|---|
System.String |
ItemId
Declaration
public long ItemId { get; set; }
Property Value
Type | Description |
---|---|
System.Int64 |
Name
Gets or sets the name.
Declaration
public string Name { get; set; }
Property Value
Type | Description |
---|---|
System.String | The name. |
ProviderIds
Declaration
public ProviderIdDictionary ProviderIds { get; set; }
Property Value
Type | Description |
---|---|
ProviderIdDictionary |
Role
Gets or sets the role.
Declaration
public string Role { get; set; }
Property Value
Type | Description |
---|---|
System.String | The role. |
Type
Gets or sets the type.
Declaration
public PersonType Type { get; set; }
Property Value
Type | Description |
---|---|
PersonType | The type. |
Methods
IsType(PersonType)
Declaration
public bool IsType(PersonType type)
Parameters
Type | Name | Description |
---|---|---|
PersonType | type |
Returns
Type | Description |
---|---|
System.Boolean |
ToString()
Returns a System.String that represents this instance.
Declaration
public override string ToString()
Returns
Type | Description |
---|---|
System.String | A System.String that represents this instance. |
Overrides
System.Object.ToString()