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 int
compareTo(B2WebhookCustomHeader c)
B2CustomHeaders are sorted (without case sensitivity) by name first, and then value.boolean
equals(java.lang.Object o)
java.lang.String
getName()
java.lang.String
getValue()
int
hashCode()
java.lang.String
toString()
-
-
-
Method Detail
-
getName
public java.lang.String getName()
-
getValue
public java.lang.String getValue()
-
equals
public boolean equals(java.lang.Object o)
- Overrides:
equals
in classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classjava.lang.Object
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
compareTo
public int compareTo(B2WebhookCustomHeader c)
B2CustomHeaders are sorted (without case sensitivity) by name first, and then value.- Specified by:
compareTo
in interfacejava.lang.Comparable<B2WebhookCustomHeader>
-
-