Class B2WebhookCustomHeader
- java.lang.Object
-
- com.backblaze.b2.client.structures.B2WebhookCustomHeader
-
- All Implemented Interfaces:
java.lang.Comparable<B2WebhookCustomHeader>
public class B2WebhookCustomHeader extends java.lang.Object implements java.lang.Comparable<B2WebhookCustomHeader>
Custom headers for B2WebhookConfiguration
-
-
Constructor Summary
Constructors Constructor Description B2WebhookCustomHeader(java.lang.String name, java.lang.String value)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description intcompareTo(B2WebhookCustomHeader c)B2CustomHeaders are sorted (without case sensitivity) by name first, and then value.booleanequals(java.lang.Object o)java.lang.StringgetName()java.lang.StringgetValue()inthashCode()java.lang.StringtoString()
-
-
-
Method Detail
-
getName
public java.lang.String getName()
-
getValue
public java.lang.String getValue()
-
equals
public boolean equals(java.lang.Object o)
- Overrides:
equalsin classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCodein classjava.lang.Object
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
compareTo
public int compareTo(B2WebhookCustomHeader c)
B2CustomHeaders are sorted (without case sensitivity) by name first, and then value.- Specified by:
compareToin interfacejava.lang.Comparable<B2WebhookCustomHeader>
-
-