Class BaseService
Object representing a single service.
Inherited Members
Namespace: Oci.AnnouncementsService.Models
Assembly: OCI.DotNetSDK.Announcementsservice.dll
Syntax
[JsonConverter(typeof(BaseServiceModelConverter))]
public class BaseService
Properties
CommsManagerName
Declaration
[Required(ErrorMessage = "CommsManagerName is required.")]
[JsonProperty(PropertyName = "commsManagerName")]
[JsonConverter(typeof(ResponseEnumConverter))]
public CommsManagerName? CommsManagerName { get; set; }
Property Value
Type | Description |
---|---|
CommsManagerName? | Name of the comms manager team that manages Notifications to this service. |
Remarks
Required
ExcludedRealms
Declaration
[Required(ErrorMessage = "ExcludedRealms is required.")]
[JsonProperty(PropertyName = "excludedRealms")]
public List<string> ExcludedRealms { get; set; }
Property Value
Type | Description |
---|---|
List<string> | The list of realms where this service is not available to be used. |
Remarks
Required
Id
Declaration
[Required(ErrorMessage = "Id is required.")]
[JsonProperty(PropertyName = "id")]
public string Id { get; set; }
Property Value
Type | Description |
---|---|
string | ID of the service object. |
Remarks
Required
LifecycleState
Declaration
[JsonProperty(PropertyName = "lifecycleState")]
[JsonConverter(typeof(ResponseEnumConverter))]
public BaseService.LifecycleStateEnum? LifecycleState { get; set; }
Property Value
Type | Description |
---|---|
BaseService.LifecycleStateEnum? | Current state of the service object. |
PlatformType
Declaration
[Required(ErrorMessage = "PlatformType is required.")]
[JsonProperty(PropertyName = "platformType")]
[JsonConverter(typeof(ResponseEnumConverter))]
public PlatformType? PlatformType { get; set; }
Property Value
Type | Description |
---|---|
PlatformType? | The platform type this service object is related to. |
Remarks
Required
PreviousServiceNames
Declaration
[Required(ErrorMessage = "PreviousServiceNames is required.")]
[JsonProperty(PropertyName = "previousServiceNames")]
public List<string> PreviousServiceNames { get; set; }
Property Value
Type | Description |
---|---|
List<string> | The list of previously used names for this service object. |
Remarks
Required
ServiceName
Declaration
[Required(ErrorMessage = "ServiceName is required.")]
[JsonProperty(PropertyName = "serviceName")]
public string ServiceName { get; set; }
Property Value
Type | Description |
---|---|
string | Name of the service represented by this object. |
Remarks
Required
ShortName
Declaration
[Required(ErrorMessage = "ShortName is required.")]
[JsonProperty(PropertyName = "shortName")]
public string ShortName { get; set; }
Property Value
Type | Description |
---|---|
string | Short name of the team to whom this service object is related. |
Remarks
Required
TeamName
Declaration
[Required(ErrorMessage = "TeamName is required.")]
[JsonProperty(PropertyName = "teamName")]
public string TeamName { get; set; }
Property Value
Type | Description |
---|---|
string | Team name to which this service object is related. |
Remarks
Required
TimeCreated
Declaration
[JsonProperty(PropertyName = "timeCreated")]
public DateTime? TimeCreated { get; set; }
Property Value
Type | Description |
---|---|
DateTime? | The date and time when the service object was created. |
TimeUpdated
Declaration
[JsonProperty(PropertyName = "timeUpdated")]
public DateTime? TimeUpdated { get; set; }
Property Value
Type | Description |
---|---|
DateTime? | The date and time when the service object was updated. |