1
2
3
4
5 package com.azure.storage.blob.models;
6
7 import com.fasterxml.jackson.annotation.JsonProperty;
8 import com.fasterxml.jackson.dataformat.xml.annotation.JacksonXmlRootElement;
9
10
11
12
13 @JacksonXmlRootElement(localName = "StorageError")
14 public final class StorageError {
15
16
17
18 @JsonProperty(value = "Code")
19 private String code;
20
21
22
23
24 @JsonProperty(value = "Message")
25 private String message;
26
27
28
29
30
31
32 public String code() {
33 return this.code;
34 }
35
36
37
38
39
40
41
42 public StorageError code(String code) {
43 this.code = code;
44 return this;
45 }
46
47
48
49
50
51
52 public String message() {
53 return this.message;
54 }
55
56
57
58
59
60
61
62 public StorageError message(String message) {
63 this.message = message;
64 return this;
65 }
66 }