Class CreateBlocklistDetails
The blocklist record details.
Inherited Members
Namespace: Oci.JmsService.Models
Assembly: OCI.DotNetSDK.Jms.dll
Syntax
public class CreateBlocklistDetails
Properties
Operation
Declaration
[Required(ErrorMessage = "Operation is required.")]
[JsonProperty(PropertyName = "operation")]
[JsonConverter(typeof(StringEnumConverter))]
public OperationType? Operation { get; set; }
Property Value
Type | Description |
---|---|
OperationType? | The operation type |
Remarks
Required
Reason
Declaration
[JsonProperty(PropertyName = "reason")]
public string Reason { get; set; }
Property Value
Type | Description |
---|---|
string | The reason why the operation is blocklisted |
Target
Declaration
[Required(ErrorMessage = "Target is required.")]
[JsonProperty(PropertyName = "target")]
public BlocklistTarget Target { get; set; }
Property Value
Type | Description |
---|---|
BlocklistTarget |
Remarks
Required