Class AASImportServiceClientOptions
The options to be used by a ImportServiceClient.
Inheritance
System.Object
AASImportServiceClientOptions
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ToString()
System.Object.ReferenceEquals(System.Object, System.Object)
Namespace: StoneCo.TransRep.AASImport.Host.Client.Options
Assembly: cs.temp.dll.dll
Syntax
public class AASImportServiceClientOptions
Examples
Representation on appsettings.json file.
{
"Clients": {
"AASImportServiceClientOptions": {
"Name": "AASImportServiceClientOptions",
"AuthorizationToken": "a07f5aa4d2654c0e91412ee7025de133",
"BaseAddress": "https://domain-of-api.com/"
}
}
}
Properties
AuthorizationToken
Key to authorize request on Microservices.
Declaration
public string AuthorizationToken { get; set; }
Property Value
Type | Description |
---|---|
System.String | a07f5aa4d2654c0e91412ee7025de133 |
BaseAddress
URL that identify host of the HTTP Rest API call.
Declaration
public string BaseAddress { get; set; }
Property Value
Type | Description |
---|---|
System.String |
Name
The logical name of the client to create.
Declaration
public string Name { get; set; }
Property Value
Type | Description |
---|---|
System.String | ImportServiceClient |