Skip to content

Commit 1ca66a2

Browse files
author
REDMOND\v-ajnava
committed
Added the set property
1 parent 9061a2c commit 1ca66a2

File tree

3 files changed

+11
-11
lines changed

3 files changed

+11
-11
lines changed

src/ResourceManager/EventHub/Commands.EventHub/Models/ConsumerGroupAttributes.cs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -50,12 +50,12 @@ public ConsumerGroupAttributes(ConsumerGroupResource consumerGroupResourceResour
5050
/// <summary>
5151
/// Exact time the Event was created.
5252
/// </summary>
53-
public DateTime? CreatedAt { get;}
54-
53+
public DateTime? CreatedAt { get; set; }
54+
5555
/// <summary>
5656
/// The exact time the message has been updated.
5757
/// </summary>
58-
public DateTime? UpdatedAt { get; }
58+
public DateTime? UpdatedAt { get; set; }
5959

6060
/// <summary>
6161
/// The path of the event hub.

src/ResourceManager/EventHub/Commands.EventHub/Models/EventHubsAttributes.cs

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ public EventHubAttributes(EventHubResource ehResource)
4646
/// <summary>
4747
/// Exact time the Event was created.
4848
/// </summary>
49-
public DateTime? CreatedAt { get;}
49+
public DateTime? CreatedAt { get; set; }
5050

5151
/// <summary>
5252
/// Number of days to retain the events for this Event Hub.
@@ -61,19 +61,19 @@ public EventHubAttributes(EventHubResource ehResource)
6161
/// <summary>
6262
/// Current number of shards on the Event Hub.
6363
/// </summary>
64-
public IList<int?> PartitionIds { get;}
64+
public IList<int?> PartitionIds { get; set; }
6565

6666
/// <summary>
6767
/// Enumerates the possible values for the status of the EventHub.
6868
/// Possible values include: 'Active', 'Disabled', 'Restoring',
6969
/// 'SendDisabled', 'ReceiveDisabled', 'Creating', 'Deleting',
7070
/// 'Renaming', 'Unknown'
7171
/// </summary>
72-
public EntityStatus? Status { get;}
72+
public EntityStatus? Status { get; set; }
7373

7474
/// <summary>
7575
/// The exact time the message has been updated.
7676
/// </summary>
77-
public DateTime? UpdatedAt { get;}
77+
public DateTime? UpdatedAt { get; set; }
7878
}
7979
}

src/ResourceManager/EventHub/Commands.EventHub/Models/NamespaceAttributes.cs

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -71,22 +71,22 @@ public NamespaceAttributes(NamespaceResource evResource)
7171
/// 'Disabling', 'Disabled', 'SoftDeleting', 'SoftDeleted',
7272
/// 'Removing', 'Removed', 'Failed'
7373
/// </summary>
74-
public Models.NamespaceState? Status { get; }
74+
public Models.NamespaceState? Status { get; set; }
7575

7676
/// <summary>
7777
/// The time the namespace was created.
7878
/// </summary>
79-
public DateTime? CreatedAt { get; }
79+
public DateTime? CreatedAt { get; set; }
8080

8181
/// <summary>
8282
/// The time the namespace was updated.
8383
/// </summary>
84-
public DateTime? UpdatedAt { get; }
84+
public DateTime? UpdatedAt { get; set; }
8585

8686
/// <summary>
8787
/// Endpoint you can use to perform ServiceBus operations.
8888
/// </summary>
89-
public string ServiceBusEndpoint { get;}
89+
public string ServiceBusEndpoint { get; set; }
9090

9191
/// <summary>
9292
/// Specifies whether this instance is enabled.

0 commit comments

Comments
 (0)