Skip to content

Commit

Permalink
data: regenerating
Browse files Browse the repository at this point in the history
  • Loading branch information
tombuildsstuff committed Mar 4, 2022
1 parent eeadc62 commit 0f9035d
Show file tree
Hide file tree
Showing 14 changed files with 100 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -16,5 +16,16 @@ internal class CreateOrUpdateOperation : Operations.PutOperation

public override Type? ResponseObject() => typeof(RecordSetModel);

public override Type? OptionsObject() => typeof(CreateOrUpdateOperation.CreateOrUpdateOptions);

internal class CreateOrUpdateOptions
{
[HeaderName("If-Match")]
[Optional]
public string IfMatch { get; set; }

[HeaderName("If-None-Match")]
[Optional]
public string IfNoneMatch { get; set; }
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -18,5 +18,12 @@ internal class DeleteOperation : Operations.DeleteOperation

public override ResourceID? ResourceId() => new RecordTypeId();

public override Type? OptionsObject() => typeof(DeleteOperation.DeleteOptions);

internal class DeleteOptions
{
[HeaderName("If-Match")]
[Optional]
public string IfMatch { get; set; }
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -21,5 +21,12 @@ internal class UpdateOperation : Operations.PatchOperation

public override Type? ResponseObject() => typeof(RecordSetModel);

public override Type? OptionsObject() => typeof(UpdateOperation.UpdateOptions);

internal class UpdateOptions
{
[HeaderName("If-Match")]
[Optional]
public string IfMatch { get; set; }
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -16,5 +16,16 @@ internal class CreateOrUpdateOperation : Operations.PutOperation

public override Type? ResponseObject() => typeof(ZoneModel);

public override Type? OptionsObject() => typeof(CreateOrUpdateOperation.CreateOrUpdateOptions);

internal class CreateOrUpdateOptions
{
[HeaderName("If-Match")]
[Optional]
public string IfMatch { get; set; }

[HeaderName("If-None-Match")]
[Optional]
public string IfNoneMatch { get; set; }
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -21,5 +21,12 @@ internal class DeleteOperation : Operations.DeleteOperation

public override ResourceID? ResourceId() => new DnsZoneId();

public override Type? OptionsObject() => typeof(DeleteOperation.DeleteOptions);

internal class DeleteOptions
{
[HeaderName("If-Match")]
[Optional]
public string IfMatch { get; set; }
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -21,5 +21,12 @@ internal class UpdateOperation : Operations.PatchOperation

public override Type? ResponseObject() => typeof(ZoneModel);

public override Type? OptionsObject() => typeof(UpdateOperation.UpdateOptions);

internal class UpdateOptions
{
[HeaderName("If-Match")]
[Optional]
public string IfMatch { get; set; }
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -21,5 +21,12 @@ internal class CreateOrUpdateImmutabilityPolicyOperation : Operations.PutOperati

public override Type? ResponseObject() => typeof(ImmutabilityPolicyModel);

public override Type? OptionsObject() => typeof(CreateOrUpdateImmutabilityPolicyOperation.CreateOrUpdateImmutabilityPolicyOptions);

internal class CreateOrUpdateImmutabilityPolicyOptions
{
[HeaderName("If-Match")]
[Optional]
public string IfMatch { get; set; }
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -19,5 +19,11 @@ internal class DeleteImmutabilityPolicyOperation : Operations.DeleteOperation

public override Type? ResponseObject() => typeof(ImmutabilityPolicyModel);

public override Type? OptionsObject() => typeof(DeleteImmutabilityPolicyOperation.DeleteImmutabilityPolicyOptions);

internal class DeleteImmutabilityPolicyOptions
{
[HeaderName("If-Match")]
public string IfMatch { get; set; }
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,13 @@ internal class ExtendImmutabilityPolicyOperation : Operations.PostOperation

public override Type? ResponseObject() => typeof(ImmutabilityPolicyModel);

public override string? UriSuffix() => "/immutabilityPolicies/default/extend";
public override Type? OptionsObject() => typeof(ExtendImmutabilityPolicyOperation.ExtendImmutabilityPolicyOptions);

public override string? UriSuffix() => "/immutabilityPolicies/default/extend";

internal class ExtendImmutabilityPolicyOptions
{
[HeaderName("If-Match")]
public string IfMatch { get; set; }
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -14,5 +14,12 @@ internal class GetImmutabilityPolicyOperation : Operations.GetOperation

public override Type? ResponseObject() => typeof(ImmutabilityPolicyModel);

public override Type? OptionsObject() => typeof(GetImmutabilityPolicyOperation.GetImmutabilityPolicyOptions);

internal class GetImmutabilityPolicyOptions
{
[HeaderName("If-Match")]
[Optional]
public string IfMatch { get; set; }
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,13 @@ internal class LockImmutabilityPolicyOperation : Operations.PostOperation

public override Type? ResponseObject() => typeof(ImmutabilityPolicyModel);

public override string? UriSuffix() => "/immutabilityPolicies/default/lock";
public override Type? OptionsObject() => typeof(LockImmutabilityPolicyOperation.LockImmutabilityPolicyOptions);

public override string? UriSuffix() => "/immutabilityPolicies/default/lock";

internal class LockImmutabilityPolicyOptions
{
[HeaderName("If-Match")]
public string IfMatch { get; set; }
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -25,5 +25,9 @@ internal class DeleteOptions
[QueryStringName("$include")]
[Optional]
public string Include { get; set; }

[HeaderName("x-ms-snapshot")]
[Optional]
public string XMsSnapshot { get; set; }
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -21,5 +21,9 @@ internal class GetOptions
[QueryStringName("$expand")]
[Optional]
public string Expand { get; set; }

[HeaderName("x-ms-snapshot")]
[Optional]
public string XMsSnapshot { get; set; }
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,14 @@ internal class LeaseOperation : Operations.PostOperation

public override Type? ResponseObject() => typeof(LeaseShareResponseModel);

public override string? UriSuffix() => "/lease";
public override Type? OptionsObject() => typeof(LeaseOperation.LeaseOptions);

public override string? UriSuffix() => "/lease";

internal class LeaseOptions
{
[HeaderName("x-ms-snapshot")]
[Optional]
public string XMsSnapshot { get; set; }
}
}

0 comments on commit 0f9035d

Please sign in to comment.