Class MCaptainOfThePortZoneType
A data type for a geographical area or zone where a Coast Guard Captain of the Port (COTP) enforces port safety and security.
Inheritance
Implements
Inherited Members
Namespace: NiemTypes
Assembly: EidoLib.dll
Syntax
[DataContract]
public class MCaptainOfThePortZoneType : IEquatable<MCaptainOfThePortZoneType>
Properties
Context
mCaptainOfThePortZoneType JSON-LD context
Declaration
[DataMember(Name = "@context")]
public MCaptainOfThePortZoneType.ContextEnum? Context { get; set; }
Property Value
Type | Description |
---|---|
System.Nullable<MCaptainOfThePortZoneType.ContextEnum> | mCaptainOfThePortZoneType JSON-LD context |
CotpZoneContactInformation
A point of contact (POC) for a Captain of the Port (COTP) zone. NIEM reference is m:COTPZoneContactInformation
Declaration
[DataMember(Name = "cotpZoneContactInformation")]
public List<NcContactInformationType> CotpZoneContactInformation { get; set; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.List<NcContactInformationType> | A point of contact (POC) for a Captain of the Port (COTP) zone. NIEM reference is m:COTPZoneContactInformation |
CotpZoneGoverningEntity
An organization that is responsible for a Captain of the Port (COTP) zone. NIEM reference is m:COTPZoneGoverningEntity
Declaration
[DataMember(Name = "cotpZoneGoverningEntity")]
public List<NcEntityType> CotpZoneGoverningEntity { get; set; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.List<NcEntityType> | An organization that is responsible for a Captain of the Port (COTP) zone. NIEM reference is m:COTPZoneGoverningEntity |
CotpZoneRegion
A region of a Captain of the Port (COTP) zone. NIEM reference is m:COTPZoneRegionText
Declaration
[DataMember(Name = "cotpZoneRegion")]
public List<NcTextType> CotpZoneRegion { get; set; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.List<NcTextType> | A region of a Captain of the Port (COTP) zone. NIEM reference is m:COTPZoneRegionText |
CotpZoneRegionCode
A Captain of the Port (COTP) zone code. NIEM reference is m:COTPZoneRegionCode
Declaration
[DataMember(Name = "cotpZoneRegionCode")]
public List<MCOTPRegionCodeType> CotpZoneRegionCode { get; set; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.List<MCOTPRegionCodeType> | A Captain of the Port (COTP) zone code. NIEM reference is m:COTPZoneRegionCode |
Methods
Equals(MCaptainOfThePortZoneType)
Returns true if MCaptainOfThePortZoneType instances are equal
Declaration
public bool Equals(MCaptainOfThePortZoneType other)
Parameters
Type | Name | Description |
---|---|---|
MCaptainOfThePortZoneType | other | Instance of MCaptainOfThePortZoneType to be compared |
Returns
Type | Description |
---|---|
System.Boolean | Boolean |
Equals(Object)
Returns true if objects are equal
Declaration
public override bool Equals(object obj)
Parameters
Type | Name | Description |
---|---|---|
System.Object | obj | Object to be compared |
Returns
Type | Description |
---|---|
System.Boolean | Boolean |
Overrides
GetHashCode()
Gets the hash code
Declaration
public override int GetHashCode()
Returns
Type | Description |
---|---|
System.Int32 | Hash code |
Overrides
ToJson()
Returns the JSON string presentation of the object
Declaration
public string ToJson()
Returns
Type | Description |
---|---|
System.String | JSON string presentation of the object |
ToString()
Returns the string presentation of the object
Declaration
public override string ToString()
Returns
Type | Description |
---|---|
System.String | String presentation of the object |
Overrides
Operators
Equality(MCaptainOfThePortZoneType, MCaptainOfThePortZoneType)
Declaration
public static bool operator ==(MCaptainOfThePortZoneType left, MCaptainOfThePortZoneType right)
Parameters
Type | Name | Description |
---|---|---|
MCaptainOfThePortZoneType | left | |
MCaptainOfThePortZoneType | right |
Returns
Type | Description |
---|---|
System.Boolean |
Inequality(MCaptainOfThePortZoneType, MCaptainOfThePortZoneType)
Declaration
public static bool operator !=(MCaptainOfThePortZoneType left, MCaptainOfThePortZoneType right)
Parameters
Type | Name | Description |
---|---|---|
MCaptainOfThePortZoneType | left | |
MCaptainOfThePortZoneType | right |
Returns
Type | Description |
---|---|
System.Boolean |