Class Organization
Represents an organization
Inheritance
System.Object
Organization
Implements
System.IEquatable<Organization>
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: Simplic.TenantSystem
Assembly: Simplic.TenantSystem.dll
Syntax
public class Organization : IEquatable<Organization>
Properties
| Improve this Doc View SourceCloudOrganizationId
Gets or sets the cloud organization id
Declaration
public Guid? CloudOrganizationId { get; set; }
Property Value
Type | Description |
---|---|
System.Nullable<System.Guid> |
CloudQueueId
Gets or sets the cloud data hub queue id
Declaration
public Guid? CloudQueueId { get; set; }
Property Value
Type | Description |
---|---|
System.Nullable<System.Guid> |
Id
Gets or sets the organization id
Declaration
public Guid Id { get; set; }
Property Value
Type | Description |
---|---|
System.Guid |
IsActive
Gets or sets whether the organization is selectable
Declaration
public bool IsActive { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
IsGroup
Gets or sets whether the organization is a group
Declaration
public bool IsGroup { get; }
Property Value
Type | Description |
---|---|
System.Boolean |
MatchCode
Gets or sets the match code
Declaration
public string MatchCode { get; set; }
Property Value
Type | Description |
---|---|
System.String |
Name
Gets or sets the organization name
Declaration
public string Name { get; set; }
Property Value
Type | Description |
---|---|
System.String |
OAuthAppId
Gets or sets the App ID for OAuth authentication
Declaration
public string OAuthAppId { get; set; }
Property Value
Type | Description |
---|---|
System.String |
OAuthRedirect
Gets or sets the Redirect URI for OAuth authentication
Declaration
public string OAuthRedirect { get; set; }
Property Value
Type | Description |
---|---|
System.String |
OAuthTenantId
Gets or sets the Tenant ID for OAuth authentication
Declaration
public string OAuthTenantId { get; set; }
Property Value
Type | Description |
---|---|
System.String |
SubOrganizationCount
Gets the sub organization count
Declaration
public int SubOrganizationCount { get; }
Property Value
Type | Description |
---|---|
System.Int32 |
SubOrganizations
Gets or sets all sub items. Only available if this organization is a group of multiple organizations
Declaration
public IList<Guid> SubOrganizations { get; set; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.IList<System.Guid> |
Methods
| Improve this Doc View SourceEquals(Organization)
Compare by id
Declaration
public bool Equals(Organization other)
Parameters
Type | Name | Description |
---|---|---|
Organization | other | Other organization |
Returns
Type | Description |
---|---|
System.Boolean | True if equal |
Equals(Object)
Compare by id
Declaration
public override bool Equals(object obj)
Parameters
Type | Name | Description |
---|---|---|
System.Object | obj | organization |
Returns
Type | Description |
---|---|
System.Boolean | True if equal |
Overrides
System.Object.Equals(System.Object)
|
Improve this Doc
View Source
GetHashCode()
Gets the hash code of the id
Declaration
public override int GetHashCode()
Returns
Type | Description |
---|---|
System.Int32 | Hashcode |
Overrides
System.Object.GetHashCode()
Operators
| Improve this Doc View SourceEquality(Organization, Organization)
== Operator
Declaration
public static bool operator ==(Organization obj1, Organization obj2)
Parameters
Type | Name | Description |
---|---|---|
Organization | obj1 | |
Organization | obj2 |
Returns
Type | Description |
---|---|
System.Boolean |
Inequality(Organization, Organization)
!= Operator
Declaration
public static bool operator !=(Organization obj1, Organization obj2)
Parameters
Type | Name | Description |
---|---|---|
Organization | obj1 | |
Organization | obj2 |
Returns
Type | Description |
---|---|
System.Boolean |
Implements
System.IEquatable<T>