Skip to content

Commit 48e444a

Browse files
committed
2 parents 4a4a90a + ba78a86 commit 48e444a

File tree

1 file changed

+13
-11
lines changed

1 file changed

+13
-11
lines changed

Source/FikaAmazonAPI/AmazonSpApiSDK/Models/Upload/UploadDestination.cs

Lines changed: 13 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -26,16 +26,18 @@ public partial class UploadDestination : IEquatable<UploadDestination>, IValidat
2626
/// <summary>
2727
/// Initializes a new instance of the <see cref="UploadDestination" /> class.
2828
/// </summary>
29-
/// <param name="_uploadDestinationId">A Login with Amazon (LWA) authorization code that can be exchanged for a refresh token and access token that authorize you to make calls to a Selling Partner API..</param>
29+
/// <param name="UploadDestinationId">A Login with Amazon (LWA) authorization code that can be exchanged for a refresh token and access token that authorize you to make calls to a Selling Partner API..</param>
3030
public UploadDestination()
3131
{
3232
}
3333

3434

35-
[DataMember(Name = "_uploadDestinationId", EmitDefaultValue = false)]
36-
public string _uploadDestinationId { get; set; }
37-
public string url { get; set; }
38-
public object headers { get; set; }
35+
[DataMember(Name = "uploadDestinationId", EmitDefaultValue = false)]
36+
public string UploadDestinationId { get; set; }
37+
[DataMember(Name = "url", EmitDefaultValue = false)]
38+
public string Url { get; set; }
39+
[DataMember(Name = "headers", EmitDefaultValue = false)]
40+
public object Headers { get; set; }
3941

4042
/// <summary>
4143
/// Returns the string presentation of the object
@@ -45,7 +47,7 @@ public override string ToString()
4547
{
4648
var sb = new StringBuilder();
4749
sb.Append("class UploadDestination {\n");
48-
sb.Append(" _uploadDestinationId: ").Append(_uploadDestinationId).Append("\n");
50+
sb.Append(" uploadDestinationId: ").Append(UploadDestinationId).Append("\n");
4951
sb.Append("}\n");
5052
return sb.ToString();
5153
}
@@ -81,9 +83,9 @@ public bool Equals(UploadDestination input)
8183

8284
return
8385
(
84-
this._uploadDestinationId == input._uploadDestinationId ||
85-
(this._uploadDestinationId != null &&
86-
this._uploadDestinationId.Equals(input._uploadDestinationId))
86+
this.UploadDestinationId == input.UploadDestinationId ||
87+
(this.UploadDestinationId != null &&
88+
this.UploadDestinationId.Equals(input.UploadDestinationId))
8789
);
8890
}
8991

@@ -96,8 +98,8 @@ public override int GetHashCode()
9698
unchecked // Overflow is fine, just wrap
9799
{
98100
int hashCode = 41;
99-
if (this._uploadDestinationId != null)
100-
hashCode = hashCode * 59 + this._uploadDestinationId.GetHashCode();
101+
if (this.UploadDestinationId != null)
102+
hashCode = hashCode * 59 + this.UploadDestinationId.GetHashCode();
101103
return hashCode;
102104
}
103105
}

0 commit comments

Comments
 (0)